PN/CAN Gateway, PROFINET/CANopen Slave | Version 2 | 1/26/2021 30
7.3 Read/write random SDO
With the pluggable modules for reading and writing SDOs a cyclic I/O access to the SDO data with a
size of up to 4 bytes can be performed. In case SDOs with more than 4 bytes of data are to be read or
written or SDOs are to be accessed only rarely, the module "read/write any SDO" can be used.
With this module an SDO can be accessed randomly on a command based exchanged.
Control SDO transfer (9 bytes outputs):
Byte/Bit 7 6 5 4 3 2 1 0
Out 0
1 = Enable
SDO transfer
-
Length for SDO write:
0 = 1 Byte … 3 = 4 Bytes
1= swap
byte order
0 = read SDO
1 = write SDO
1 = start
transfer
1 = Freeze
Out 1
SDO-Index
Out 2
Out 3
SDO-Subindex
Out 4
Byte offset for SDOs with length > 4 bytes
Data
Out 7
Status of SDO transfer (9 bytes inputs):
Byte/Bit 7 6 5 4 3 2 1 0
In 0
1 = SDO
transfer
enabled
1 = SDO
error
Read length for SDO:
0 = 1 Byte … 3 = 4 Bytes
Mirror of
“swap
byte order”
0 = read SDO
1 = write SDO
1 = transfer
running
1 = Freezed
SDO Data
SDO Abort code
As long as the freeze – bit is set, the access from the CAN bus of the corresponding SDO is blocked.