Docs · Spec · Scales
Scales — Industrial Weighing
Industrial Scales — weighing equipment in production and logistics. Six enums, five typed structures, deep cascade through PackML + Machinery + IA + DI.
OPC UA companion specification for industrial weighing equipment — platform scales, hopper scales, conveyor scales, checkweighers. Common in food and beverage, logistics, chemicals.
What's in the package
| Artefact | Count |
|---|---|
| Enums | 6 |
| DTOs | 5 |
| Codecs | 5 |
| Registrars | 1 (ScalesRegistrar) |
Loading
php
examples/scales/load.php
use PhpOpcua\Client\ClientBuilder;
use PhpOpcua\Nodeset\Scales\ScalesRegistrar;
$client = ClientBuilder::create()
->loadGeneratedTypes(new ScalesRegistrar()) // pulls PackML, Machinery, IA, DI
->connect('opc.tcp://scale.local:4840');
Direct dependencies
Notable types
The five DTOs encode weighing records — gross / net / tare values, calibration reports, batch summaries, alibi-storage records (legal- for-trade audit trails).
Notable enums
- Weighing modes (gross / net / tare / counting)
- Calibration states, legal-for-trade indicators, alarm categories
Last updated · 2026-05-25