7 CANopen Function and Operation
“reset communication” state.
The relation between the communication object and the state is shown below. The
communication object service can be executed only in a proper state. For example, SDO
can be executed only in the operational state and in the pre-operational state.
The format of the control message for the node state:
0 Command specifier (CS)
Slave address
(0: Broadcast)
The command specifiers are listed below.
Function
Enter the pre-operational state
Reset the application layer
Error control services
The error control service is used to detect the disconnection of the node in the network. The
error control services can be classified into two types, i.e. Heartbeat and Node Guarding.
The PLC only supports Heartbeat. For example, the master can detect the disconnection of
the slave only after the slave enables the Heartbeat service.
The Heartbeat principle is illustrated as follows. The Hearbeat producer transmits the
Heartbeat message according to the Heartbeat producing time which is set. One or many
Heartbeat consumers detect the message transmitted by the Heartbeat producer. If the
consumer does not receive the message transmitted by the producer within the timeout
period, the CANopen communication is abnormal.