Status and Ctrl. flags
PnIoBoxState
The PnIoBoxState can be used to monitor the current status of PROFINET communication.

PnIoBoxState | Comment | Meaning |
---|---|---|
0x0001 (Bit 0) | Device is in I/O exchange | PROFINET Device is exchanging data |
0x0002 (Bit 1) | Device is blinking | PROFINET Device is being searched for by identification |
0x0004 (Bit 2) | Provider State 0=STOP, 1=RUN | The PROFINET Controller is stopped |
0x0008 (Bit 3) | Problem indicator 0=OK, 1=Error | The PROFINET Device has encountered problems |
In the absence of an error, the value of PnIoBoxState is "5" - in other words, bits 0 and 2 are set.
PnIoBoxCtrl
PnIoBoxCtrl can be used for assigning names; only the low byte is to be used for this. The high byte must be 0x00.

PnIoBoxCtrl | Comment | Meaning |
---|---|---|
0x0001 | EBusReset | EBusReset on the EK9300/EP9300 |