FDI — Field Device Integration
Field Device Integration — the FDI Cooperation's standard for unified field-device handling. Two registrars covering FDI 5 and FDI 7, three enums, six DTOs total.
OPC UA companion specification for FDI — the FDI Cooperation's device-integration standard for HART / FOUNDATION Fieldbus / PROFIBUS PA / PROFINET / Ethernet-APL field devices. The package ships two registrars covering FDI versions 5 and 7 (different NodeSet2.xml files in upstream).
What's in the package
| Artefact | Count |
|---|---|
| Enums | 3 |
| DTOs | 6 |
| Codecs | 6 |
| Registrars | 2 (Fdi5Registrar, Fdi7Registrar) |
Loading
Choose the registrar matching your target server's FDI version:
use PhpOpcua\Client\ClientBuilder;
use PhpOpcua\Nodeset\FDI\Fdi7Registrar;
$client = ClientBuilder::create()
->loadGeneratedTypes(new Fdi7Registrar()) // pulls DI
->connect('opc.tcp://fdi-host.local:4840');
Most servers implement only one FDI version. If yours implements both, load both registrars.
Direct dependencies
- DI — both Fdi5 and Fdi7 extend DI's device model.
Notable types
The six DTOs carry device-description metadata and command-result records — the typed shapes that flow between FDI hosts and device packages.
For details on the FDI shapes, refer to the FDI specification.