Box states

Directly below the PROFINET controller there are variables containing general information about the state of the PROFINET communication.

Box states 1:
Diagnostic variables DevState, PnIoError and PnIoDiag in the TwinCAT tree view.

This data is exchanged between the PROFINET driver and the System Manager.

DevState, PnIoError and PnIoDiag, description of the variables.

Variable

Description

DevState

The variable DevState contains information about the physical communication status of the PROFINET controller, such as the link status or whether the sender resources are still adequate.

PnIoError

The Error variable shows possible problems when establishing a connection and counts the PROFINET devices affected by an error.

PnIoDiag

The diagnostic variable provides status information about an existing connection. The variable counts the PROFINET device affected by a warning or diagnostics.

The ‘DevCtrl’ output variable currently has no function.