Nmt - Network Management - Wieland samos PRO COMPACT Manual

Hide thumbs Also See for samos PRO COMPACT:
Table of Contents

Advertisement

10.4
NMT – network management
910835595
The broadcast object NMT is used to start, stop or initialize CANopen devices. A device in the
CANopen network must take on the role of the NMT master for this purpose. This is usually
the PLC. All other devices are regarded as NMT slaves. NMT services are broadcast services to
which the slaves do not generate responses.
All NMT objects start with the CAN-ID 00h.
Broadcast service for an NMT slave with the address N:
Table 84: Network management for an NMT slave with the address N
CAN-ID
00h
Broadcast service for all NMT slaves:
Table 85: Network management for all NMT slaves:
CAN-ID
OP
00h
80h
01h
02h
81h
82h
Example for resetting all communication:
The following NMT object (CAN-ID = 00h) contains 2 data bytes (DLC = 2). Data byte 1 con-
tains the command "Reset communication" (82h), data byte 2 addresses this command to all
devices in the CANopen network (address = 0):
Table 86: Example of an NMT object for resetting all communication
CAN-ID
00h
Wieland Electric GmbH | BA000970 | 11/2016 (Rev. F)
DLC
DATA
2
OP
N
DLC
DATA
NMT command
2
OP
0
Go to "Pre-Operational"
Go to "Operational"
Go to "Prepared/Stopped"
Go to "Reset node"
Go to "Reset communication" This will trigger a re-initialization of the CANopen
DLC
DATA
2
82h
0
CANopen gateway
Explanation
After booting, an NMT slave will automatically go
into the pre-operational state. In this state,
communication via SDOs is permitted, but not via
PDOs. The NMT slave can be set to this state from
another state.
The operational state is reached from the "pre-
operational" state. Communication via PDOs is
possible in this state and the CANopen slave res-
ponds to sync commands.
Note: During the transition to the NMT operational
state, each slave sends a TxPDO with the transmis-
sion type = 255, so that the NMT master is infor-
med about the current input configuration.
Communication via SDO or PDO is not possible in
this state and the device also does not respond to
sync commands.
This will trigger a re-initialization of the CANopen
function in the NMT slave.
function in the NMT slave; the toggle bit for node
guarding is set to 0.
138

Advertisement

Table of Contents
loading

Table of Contents