Siemens Simatic Operating Instructions Manual page 35

Network transitions
Hide thumbs Also See for Simatic:
Table of Contents

Advertisement

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
0
1
2 ... 3
4
5
6 ... 9
10 ... 11
12 ... <END>
RDREC access can be successful or return one of the following error codes.
Table 4- 5
Error code
(Hex)
DE80B200
DE80B000
DE80B500
DE80A900
DE80C300
DE80B700
SIMATIC PN/CAN LINK
Operating Instructions, 03/2018, A5E39895388-AB
Value for "Read SDO"
Command = 0x52 = 82 ('R')
Node ID
OD index (Big Endian, which means MSB of the value in byte 2 and LSB in byte 3)
OD subindex
Status code
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 )
Error codes
Meaning
Module is incorrect (data record must be called on the CANopen Manager
submodule)
Incorrect data record index (not 0x200 to 0x20F)
No completely and validly configured PROFINET connection (Application Relation) is
established
PN/CAN LINK is not CANopen Manager
No previous successful WRREC
Read buffer too small
Value for "Write SDO"
Command = 0x57 = 87 ('W')
<missing>
<missing>
Functions
4.1 CANopen
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents