The PNIOStatus
is an 8-place hexadecimal code which is not part of the PROFINET diagnosis in the actual sense. The PNIOStatus
is an error/abort code of failed services and is issued for example in the case of
log errors or failed connection attempts. The user usually comes in contact with it
only in the case of an acyclic read/write service (RDREC / WRREC
) or establishing a connection with a device.
The value is interpreted as a 4-byte array with the following elements: |
|||
|
0x40 |
CODESYS |
CODESYS-specific errors, see: |
0x81 |
PNIO |
Errors which are not otherwise described here |
|
0xCF |
RTA error |
Error, connection termination |
|
0xDA |
AlarmAck |
Error in alarm handling |
|
0xDB |
IODConnectRes |
RPC-PDU1 |
|
0xDC |
IODReleaseRes |
RPC-PDU1 |
|
0xDD |
IODControlRes |
IOXControlRes (RPC-PDU1) |
|
0xDE |
IODReadRes |
Errors in acyclic reading (RPC2, only with ErrorDecode=PNIORW) |
|
0xDF |
IODWriteRes |
Errors in acyclic writing (RPC2, only with ErrorDecode=PNIORW) |
|
|
0x80 |
PNIORW |
Used in the context of errors in acyclic reading. Equivalent to IEC 61158-6-3 (DPV1). |
0x81 |
PNIO |
In the context of remaining services or for internal errors such as RPC2 errors. |
|
|
Value of |
||
|
Value of |
||
1Remote Procedure Call - Protocol Data Units 2Remote Procedure Call |
For |
|
For |
|
0x01–0x0D |
Connect parameter error |
0x14–0x38 |
Other PDU related errors |
0x3D |
Device protocol machine |
0x3E |
Controller protocol machine |
0x3F |
Controller protocol machine for discovery, IP, and name assignment |
0x40–0xD3 |
Other state machine errors |
0xFD |
Protocol errors: Abort reason See table |
For |
|
|
AR consumer DHT expired |
|
AR CMI timeout |
|
AR alarm.ind (err) |
|
AR abort.req |
|
DCP1, reset to factory or factory reset |
|
Remote application ready timeout expired |
1discovery and configuration protocol |
The lists of ErrorCode1 and ErrorCode2 are incomplete and show only the most important error codes.
0x81813F02 |
DCP no RealStationname The device with the specified station name was not found. |
0x81813F03 |
DCP multiple RealStationName Multiple devices with the same station name were found. |
0x81813F06 |
DCP set error The DCP set command has failed (for example, IP address or station name). |
0x81813F07 |
ARP multiple IP addresses The IP address is assigned multiple times: network error. |
0xCF81FD05 |
AR consumer DHT expired The send clock could not be maintained: connection termination. |