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

PNEM — PROFINET Energy Management

PROFINET Energy Management — energy-saving modes for PROFINET-attached devices. Four enums, five structured types. Depends on DI.

OPC UA companion specification for PROFINET Energy — the PROFINET-specific extensions for energy-saving modes on the network. A PROFINET device that supports pause / suspend / maintenance modes exposes those states through PNEM.

What's in the package

Artefact Count
Enums 4
DTOs 5
Codecs 5
Registrars 1 (PnEmRegistrar)

The registrar's class name is PnEmRegistrar — from the spec's URI casing.

Loading

php examples/pnem/load.php
use PhpOpcua\Client\ClientBuilder;
use PhpOpcua\Nodeset\PNEM\PnEmRegistrar;

$client = ClientBuilder::create()
    ->loadGeneratedTypes(new PnEmRegistrar())   // pulls DI
    ->connect('opc.tcp://profinet-device.local:4840');

Direct dependencies

Notable types

The five DTOs encode energy-pause-mode descriptors, transition timing, and power-consumption profiles for the various PROFINET energy-saving states.

Notable enums

  • Energy-mode classification, transition triggers, mode availability.