Functions
5.1 CANopen
SIMATIC PN/CAN LINK
50
Operating Instructions, 03/2022, A5E39895388-AC
These are standardized error codes in PROFINET, which are used in adapted form for
transmission of SDOs.
Table 5- 4
Error codes
Error code (Hex) Meaning
DF80B200
Module is incorrect (data record must be called on "CANopen Manager"
submodule)
DF80B000
Data record index is incorrect (not 0x200 ... 0x20F)
DF80B100
Written size of data record from S7 controller is too small
DF80B800
"Code" field not "R" or "W"
DF80B800
"NodeID" invalid (node not configured)
DF80B800
"Number of bytes" field invalid (permitted: 1 ... 128)
DF80B500
No completely and validly configured PROFINET connection (Application Relation)
is established
DF80A900
PN/CAN LINK is not "CANopen Manager"
DF80C300
Node not completely booted or heartbeat/node guarding error after booting
DF80C200
Communication channel (data record index) is already "busy". The PN/CAN LINK
first expects a RDREC before it permits a new WRREC.
When an error is recognized, SDO access is not even triggered.
RDREC: Read data record
Data record size: 12 + <data length> bytes for SDO read access, 10 bytes for SDO write access
The values of the SDO command, that is the prior WRREC operation, are returned in the first 5
bytes. This means S7 can ensure that a data record is not used in multiple locations of the S7
application at the same time.
Byte
Value for "Read SDO"
Value for "Write SDO"
0
Command = 0x52 = 82 ('R')
Command = 0x57 = 87 ('W')
1
Node ID
2 … 3
OD index (Big Endian, which means MSB of the value in byte 2 and LSB in byte 3)
4
OD subindex
5
Status code
6 … 9
Additional information error code (Big Endian, which means MSB of the value in byte
6 and LSB in byte 9)
10 ... 11
Number of read bytes (Big Endian)
(only available when status code = OK )
<missing>
12 ... <END> Data
(only available when status code = OK )
<missing>
Summary of Contents for SIMATIC PN/CAN LINK
Page 1: ......