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

TMC — Tobacco Machinery

Tobacco Machinery — primary processing, cigarette making, packing for the tobacco industry. 11 enums, 20 typed structures. Depends on PackML and DI.

OPC UA companion specification for the tobacco industry — primary-processing equipment, cigarette-making machines, packaging lines. Standardised by CECCM.

What's in the package

Artefact Count
Enums 11
DTOs 20
Codecs 20
Registrars 1 (TMCRegistrar)

DTO-rich — one of the larger specs by structured-type count.

Loading

php examples/tmc/load.php
use PhpOpcua\Client\ClientBuilder;
use PhpOpcua\Nodeset\TMC\TMCRegistrar;

$client = ClientBuilder::create()
    ->loadGeneratedTypes(new TMCRegistrar())   // pulls PackML, DI
    ->connect('opc.tcp://tobacco-line.local:4840');

Direct dependencies

  • PackML — TMC extends the PackML state model
  • DI

Notable types

The 20 DTOs cover the breadth of tobacco-line reporting:

  • Production — batch records, brand changeovers, recipe switches
  • Quality — sampling records, reject statistics
  • Performance — OEE rollups, downtime classification
  • Maintenance — scheduled service, asset utilisation

For the field-level shapes, see the upstream NodeSet2.xml.

Notable enums

  • TMC-specific machine states, brand classes, defect categories, PackML-mode extensions.