![Beckhoff EP6224 Documentation Download Page 50](http://html1.mh-extra.com/html/beckhoff/ep6224/ep6224_documentation_2719259050.webp)
Diagnosis
EP6224 and EP6228
50
Version: 1.5
6.2
ADS Error Codes
Error codes are generated in the event of an error during ADS access to an IO-Link device.
The error code contains information about the error category, origin and instance. The possible error codes
are listed in table „Error Codes“.
Additional information about a certain error (S_APP_DEV) is listed in table „Additional Code“:
Example of an AdsReturnCode
AdsReturnCode 0x
80110700
80
: Device Application Error (IO-Link Spec),
11
: Index not Available (IO-Link Spec),
0700
: General ADS Error
Error Codes (IO-Link Spec)
Type
Origin
Name
Category
Mode
Instance
Value (Hi
Byte, hex)
Comment
PDU buffer overflow
remote
S_PDU_BUFFER
ERROR
SiNGLE
SHOT
DL
52
Device buffer is too small for
storing the complete PDU
PDU checksum error
(master)
local
M_PDU_CHECK
ERROR
SiNGLE
SHOT
DL
56
Calculated PDU checksum in
master does not match actual
received SPDU
PDU checksum error
(device)
remote
S_PDU_CHECK
ERROR
SiNGLE
SHOT
DL
56
Calculated PDU checksum in
device does not match actual
received SPDU
PDU flow control error remote
S_PDU_FLOW
ERROR
SiNGLE
SHOT
DL
56
Violation of flow control rule
during transfer of SPDU be-
tween master and device
Illegal PDU service
primitive (master)
local
M_PDU_ILLEGAL
ERROR
SiNGLE
SHOT
AL
57
Unknown service primitive or
wrong response e.g. Read Re-
sponse on Write Request
Illegal PDU service
primitive (device)
local /
remote
S_PDU_ILLEGAL
ERROR
SiNGLE
SHOT
AL
58
Unknown service primitive e.g.
different protocol revision
Communication error
remote
COM_ERR
SiNGLE
SHOT
unknown
10
Negative service response initi-
ated by a communication error,
e.g.. IO-Link connection inter-
rupted
Device application er-
ror
remote
S_APP_DEV**
ERROR
SiNGLE
SHOT
APP
80
Service PDU transferred, but
not processed due to device er-
ror. See error details in Addi-
tional Code**
Summary of Contents for EP6224
Page 2: ......