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 classificationToolHolderStateEnum— installed / removed / faultedAxisStateEnum,SpindleStateEnum— mechanical stateMonitoringLevelEnum— vibration / wear / load monitoring
Loaded by
- CuttingTool — tool-life records
- LaserSystems — laser-equipped machines
- MetalForming — forming machines extend the same base
Last updated · 2026-05-25