Download User manual

Transcript
8 CANopen Interface
8.3 COB-IDs
The CAN identifier of the communication objects is determined according to the Pre-defined connection set
at each reset (communication, application and hardware reset), depending on the selected Node-ID. Table
7 shows the calculation base with the default values (Node-ID = 10).
Communication object (COB)
Calculation of the COB-ID
Default value (Node-ID = 10)
NMT
0h
0h
SYNC
80h
80h
EMCY
80h + Node-ID
8Ah
TPDO1
180h + Node-ID
18Ah
Default SDO (Client > Server)
600h + Node-ID
60Ah
Default SDO (Server > Client)
580h + Node-ID
58Ah
Heartbeat
700h + Node-ID
70Ah
Table 7: Calculation of the COB-IDs for Pre-defined Connection Set
8.4 Network Management: NMT
Figure 12 shows the NMT state machine of a CANopen device. After Initialization the device automatically
goes into the state Pre-Operational. The device sends a Boot-Up Message. In this state it can be configured via the object dictionary. The service data objects (SDO) are already active. The process data ob jects, however, are still locked.
Initialization
Automatic
Baud Rate Detection
Boot-Up
Message
Pre-Operational
Stopped
Operational
Figure 12: NMT State diagram
By sending the CAN message "Start Remote Node" the unit will go into the state Operational. Now the process data objects are active. In Stopped state, no communication with the exception of Nodeguarding and
Heartbeat is possible.
Document: 231xx-HB-1-0-E-ISxxxxxx-O-xL
14