EasyManua.ls Logo

IFM Electronic CR0451 - Page 154

IFM Electronic CR0451
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
154
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN POUs to CANopen
Network states
Boot up of the CANopen master ............................................................................................... 154
Boot up of the CANopen slaves ................................................................................................ 155
Start-up of the network without [Automatic startup] .................................................................. 157
The object directory of the CANopen master............................................................................ 158
8031
Here you read how to interpret the states of the CANopen network and how to react.
For the start-up (→ page 153
) of the CANopen network and during operation the individual functions
of the library pass different states.
To facilitate access CANOPEN_GETSTATE (→ page 190
) 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 (→ page 190
).
State Description
0 The master is booting.
3 State 3 of the master is maintained for some time. In state 3 the master configures its slaves. To do so, all SDOs
generated by the configurator are transmitted to the slaves one after the other.
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.
> 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 185
) 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.

Table of Contents