opcua-client-nodeset · v4.3.x
Docs · Spec · MachineTool

MachineTool

MachineTool — the machine-side of CNC milling / turning centres. Ten enums for tool/spindle state, no DTOs at this level (operational content lives in CNC + CuttingTool). Pulls Machinery + IA + DI.

OPC UA companion specification for machine tools — milling machines, lathes, machining centres viewed from the mechanical side (vs CNC, which is the controller side). Defines tool magazines, spindle assemblies, axes, monitoring.

What's in the package

Artefact Count
Enums 10
DTOs
Codecs
Registrars 1 (MachineToolRegistrar)

Loading

php examples/machine-tool/load.php
use PhpOpcua\Client\ClientBuilder;
use PhpOpcua\Nodeset\MachineTool\MachineToolRegistrar;

$client = ClientBuilder::create()
    ->loadGeneratedTypes(new MachineToolRegistrar())   // pulls Machinery, IA, DI
    ->connect('opc.tcp://mill.local:4840');

Direct dependencies

Notable enums

The 10 enums describe tool-life, monitoring, and operational state specific to machine tools:

  • ToolLifeStateEnum — tool-life classification
  • ToolHolderStateEnum — installed / removed / faulted
  • AxisStateEnum, SpindleStateEnum — mechanical state
  • MonitoringLevelEnum — vibration / wear / load monitoring

Loaded by