
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
CAN in the PDM360
CAN POUs to CANopen
257
NMT state for CANopen master
9964
State
hex | dec
Description
00 0
not
defined
01 1
Master waits for a boot-up message of the node.
OR: Master waits for the expiry of the given guard time.
02 2
- Master waits for 300 ms.
- Master requests the object 1000
16
.
- Then the state is set to 3.
03 3
The master configures its slaves. To do so, all SDOs generated by the configurator are transmitted to the slaves
one after the other:
- The Master sends to the slave a SDO read request (index 1000
16
).
- The generated SDOs are compressed into a SDO array.
- The slave knows it's first SDO and the number of it's SDOs.
05 5
After transmission of all SDOs to the slaves the master goes to state 5 and remains in this state. State 5 is the
normal operating state for the master.
To read the node state out of the FB:
Used function block
Node state is found here
CANx_MASTER_STATUS
CANx_SLAVE_STATUS
output NODE_STATE
CANOPEN_GETSTATE output
NODESTATE
Boot up of the CANopen slaves
8032
You can read the states of a slave via the outputs of CANOPEN_GETSTATE (
→
).
(Network state of the slave
next chapter)