ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
CAN in the PDM360
CAN POUs to CANopen
256
Network states
Boot up of the CANopen master ............................................................................................... 256
Boot up of the CANopen slaves ................................................................................................ 257
Start-up of the network without [Automatic startup] .................................................................. 260
The object directory of the CANopen master............................................................................ 262
8031
Here you read how to interpret the states of the CANopen network and how to react.
For the
start-up
(
→
page
) of the CANopen network and during operation the individual functions of
the library pass different states.
To facilitate access CANOPEN_GETSTATE (
→
page
) from the library
ifm_CANopen_NT_Vxxyyzz.LIB
is available.
Boot up of the CANopen master
8469
During boot-up of the CAN network the master passes different states which can be read via the
output MASTERSTATE of CANOPEN_GETSTATE (
→
(Network state of the master
next chapter)
> Whenever a slave does not respond to an SDO request (upload or download), the request is
repeated.
> The master leaves state 3, as described above, but not before all SDOs have been transmitted
successfully or TIMEOUT setted in CANOPEN_NMTSERVICES (
→
page
) is up.
> Via output NMTSTATUS of CANOPEN_NMTSERVICES it can be detected whether a slave is
missing or whether the master has not correctly received all SDOs.
> The master goes to state 5. It is of no importance for the master whether a slave responds with an
acknowledgement or an abort. It is only important for the master whether he received a response
at all.
An exception is a slave marked as "optional".
> Optional slaves are asked for their 1000
h
object only once. If they do not respond within 0.5 s, the
slave is first ignored by the master and the master goes to state 5 without further reaction of this
slave.