Control via PROFINET IO
6.2.1 Emergency Mapping
CANopen Emergency messages are mapped to Diagnosis Alarms of PROFINET IO according to
the following table:
Offset
Diagnosis Definition
Emergency Mapping
0
Block type
2
Block length
4
Version
6
Alarm-type
1 = Diagnosis
8
API
always 0x0000 0000
12
Slot
14
Subslot
16
Module Ident Number
always defined by the Composer
20
Submodule Ident Number
always defined by the Composer
24
Alarm Specifier
26
User Structure Identifier
always 0x00CA
28
User Data 1
Error Code; definition see table 6 and [2]
30
User Data 2
Error Register / Object 0x1001;
(see table 7 and [2])
31
User Data 3
Manufacturer Specific Emergency Data
(5 octets, see manual of the CANopen
device)
36
(Length of the data = 36)
--
Table 5:
Emergency Mapping
Alarm specifier shall be set to 0 in case of an error code of 0. This means that the CANopen node
is error free.
Please read the manual of the CANopen device for a detailed description of the error codes and
their meaning.
Error Code Description
(from [2])
0x0000
Error reset or no error
0x1000
Generic error
0x20xx
Current
0x21xx
Current, CANopen device input side
0x22xx
Current inside the CANopen device
0x23xx
Current, CANopen device output side
0x30xx
Voltage
0x31xx
Mains voltage
0x32xx
Voltage inside the CANopen device
CANopen-PN
Manual • Doc. No.: C.2921.21 / Rev. 1.6
Page 67 of 105