TYPE ErrorCode :
The STATUS output has the data type DWORD which is interpreted as a packed array of four bytes.
Byte 0: Function_Num
Byte 1: Error_Decode
Byte 2: Error_Code_1
Byte 3: Error_Code_2
The Elements are used as specified in IEC 61158-6 (Profibus DP, Profinet IO)
Exception: If Function_Num has a value of 16#40, no protocol element is used. This is the case for example if the validation of one input parameter failed. In this case Error_Decode value of 16#82..16#8F reports an error at parameter number 2 - 15.
Other fixed error codes are defined in this enum.
Attributes:
|
|
InOut:
|
Name
|
Initial
|
Comment
|
NONE
|
0
|
No error
|
INVALID_ID
|
16#40820000
|
Invalid ID
|
UNKNOWN
|
16#40000100
|
Unknown error
|
NOT_IMPLEMENTED
|
16#40000101
|
Function not implemented
|
RDIAG_PROFINET
|
16#40000102
|
tried to use RDIAG on Profinet device
|
STACK_NOT_RUNNING
|
16#40000103
|
Stack not running.
|
NO_RESSOURCE
|
16#40000104
|
Out of ressources or ressource busy.
|
BUFFER_SIZE
|
16#40000105
|
specified local data-buffer size too small
|
INVALID_STATE
|
16#40000110
|
requested operation not possible in this state
|
ADDRESS_NOT_UNIQUE
|
16#40000111
|
target-address is not unique
|
ADDRESS_INVALID
|
16#40000112
|
address is invalid or unreachable (e.g. different IP subnet)
|
DEVICE_NOT_FOUND
|
16#40000113
|
unable to detect/address target-device
|
DEVICETYPE_MISMATCH
|
16#40000114
|
target device has wrong type for requested operation
|
TIMEOUT
|
16#40000115
|
Operation timed out
|
|