CANopen gateway
Wieland Electric GmbH | BA000970 | 11/2016 (Rev. F)
CANopen diagnostic examples
910846859
Example 1: Secure IO module in position 1, output Q4 has a short-circuit to high
The gateway sends am Emergency message (see Table "
CANopen Emergency Messages [ch.
10.6, p. 140]
").
The CANopen address of the gateway is 12 (= C Hex). The secure IO module has position 1 in
the samosPRO system.
Data length code: This is followed by 8 bytes
Error code FF03: Device-specific error
Error register 01 of SDO 1001H
Module index M1: Module in position 1
40: Module state bit 30 (bit 6 of byte M2) = 1: Short-circuit to high at output 4 (see
Table "CANopen Emergency Messages" [ch. 10.6, p. 140]
)
Reading the current error from SDO 3100:
PLC requests:
Data length code: This is followed by 8 bytes
Expedited upload requirement
04: Subindex: Module to Position 1
(see table
"Content of SDO 3100" [ch. 10.10, p. 153]
)
Gateway response:
58C 8 42 00 31 04 BF FF FF FB
Data length code: This is followed by 8 bytes
Upload response, size of data set is not shown
04: Subindex: Module to Position 1
(see table
"Content of SDO 3100" [ch. 10.10, p. 153]
)
Error byte M5, Bit 2 = 0: external error
Error byte M2, Bit 30 = 0. Error: Short-circuit after high at output 4