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
Module is incorrect (data record must be called on "CANopen Manager"
submodule)
Data record index is incorrect (not 0x200 ... 0x20F)
Written size of data record from S7 controller is too small
"Code" field not "R" or "W"
"NodeID" invalid (node not configured)
"Number of bytes" field invalid (permitted: 1 ... 128)
No completely and validly configured PROFINET connection (Application Relation)
is established
PN/CAN LINK is not "CANopen Manager"
Node not completely booted or heartbeat/node guarding error after booting
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.
Command = 0x52 = 82 ('R')
Command = 0x57 = 87 ('W')
OD index (Big Endian, which means MSB of the value in byte 2 and LSB in byte 3)
Additional information error code (Big Endian, which means MSB of the value in byte
6 and LSB in byte 9)
Number of read bytes (Big Endian)
(only available when status code = OK )
Data
(only available when status code = OK )