IFM Electronic CR0403 Programming Manual page 93

Hide thumbs Also See for CR0403:
Table of Contents

Advertisement

ifm
Programming Manual
ecomatmobile
ifm function elements
>
CANOPEN_ENABLE
Unit type = function block (FB)
Unit is contained in the library ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
CANOPEN_ENABLE allows to switch the CANopen master on or off.
In the application program always call an own instance of the FB
(→ page 93) for every CAN interface!
To avoid guarding or heartbeat errors the nodes must be "shut down" via an appropriate sequence
first.
If the master is restarted after a stop, all other connected nodes also have to be re-initialised.
Without CANOPEN_ENABLE, the CANopen master is started automatically, as far as this has been
selected in the configuration.
The configured baud rate is only adopted if
>
Parameters of the inputs
Parameter
ENABLE
CHANNEL
Baud rate
(optional use of the parameter)
BasicController (CR0403) Runtime System V03.02
CAN_ENABLE
Data type
BOOL := TRUE
BYTE
WORD := 0
93
ifm function elements for the device CR0403
CANOPEN_ENABLE
(→ page 67) has not been activated before.
Description
TRUE:
• Enable CANopen for the selected channel
• Start CANopen manager or CANopen device according to the
configuration settings
FALSE:
• Disable CANopen for the selected channel
• Terminate CANopen manager or CANopen device
CAN interface (1...n) depending on the device
Baud rate [kbits/s]
permissible values = 20, 50, 100, 125, 250, 500, 800, 1 000
0 = use setting from the PLC configuration
2015-04-01
7785
7787
7788

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents