Powertrain
Powertrain — motors, drives, gearboxes in industrial machinery. NodeIds only; the spec sits on top of Machinery and DI.
OPC UA companion specification for industrial powertrains — motors, variable-speed drives, gearboxes, couplings. Defines the shared identification and operational nodes every powertrain asset class extends.
What's in the package
| Artefact | Count |
|---|---|
| Enums | — |
| DTOs | — |
| Codecs | — |
| Registrars | 1 (PowertrainRegistrar) |
NodeIds-only. Operational vocabulary lives in DI and Machinery (reachable via the cascade).
Loading
use PhpOpcua\Client\ClientBuilder;
use PhpOpcua\Nodeset\Powertrain\PowertrainRegistrar;
$client = ClientBuilder::create()
->loadGeneratedTypes(new PowertrainRegistrar()) // pulls Machinery, DI, IA
->connect('opc.tcp://drive.local:4840');
Direct dependencies
What you typically use
PowertrainNodeIds::* for the spec's type-definition nodes —
useful when navigating a server that publishes typed motor /
drive instances rooted at Powertrain-defined parents.