opcua-client-nodeset · master
Docs · Spec · CranesHoists

CranesHoists

Cranes & Hoists — overhead cranes, gantries, jib cranes, hoists. Four enums, no DTOs, but a fully-loaded dependency cascade through Robotics + Machinery.

OPC UA companion specification for industrial lifting equipment — overhead bridge cranes, gantry cranes, jib cranes, hoists. Reuses Robotics' motion model for axis state.

What's in the package

Artefact Count
Enums 4
DTOs
Codecs
Registrars 1 (CranesHoistsRegistrar)

Loading

php examples/cranes-hoists/load.php
use PhpOpcua\Client\ClientBuilder;
use PhpOpcua\Nodeset\CranesHoists\CranesHoistsRegistrar;

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

Direct dependencies

  • Robotics — for axis motion
  • Machinery — for the machinery-item base type
  • DI — comes via the cascade

Notable enums

  • OperationalState_CraneEnum
  • CraneTypeEnum
  • LoadStateEnum
  • HookStateEnum

For motion-related state, the auto-cast also surfaces Robotics' own enums (OperationalModeEnumeration, MotionDeviceCategoryEnumeration) on nodes inherited from Robotics types.