73
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
System configuration
Configure interfaces
>
via system configuration: CANopen device
23523
In the CODESYS device tree, you will find the following entry under each PLC:
[Communication] > [CAN]
These entries are equivalent.
Attach CAN bus
► In the CODESYS device tree: Right mouse click on [Communication] > [CAN].
► Select [Add Device...].
>
Window [Add Device] appears.
► Select [Vendor:] [ifm electronic].
► In the list below: Select [ifmCANbus].
► Confirm the selection with [Add device].
► Close the window [Add device] with the [Close] button.
Assign CAN interface
► In the CODESYS device tree: Double-click on [Communication] > [CAN] > [ifmCANBus].
► Tab [General] > [General] > [Network]:
assign this setting with
/
to a CAN interface.
permissible = 0...3
► Select the required value for baud rate [Baudrate (bit/s)] from the list field.
Attach CANopen device
► In the CODESYS device tree: Right mouse click on [Communication] > [CAN] > [ifmCANBus].
► [Add Device...] Select .
>
Window [Add Device] appears.
► Select [Vendor:] <All vendors>.
► In the list below: Select [Fieldbusses] > [CiA CANopen] > [Local Device] > [CANopenDevice].
► Confirm the selection with [Add Device].
► Close the window [Add Device] with the [Close] button.
Set CANopen device parameters
► In the CODESYS device tree: Double-click on [Communication] > [CAN] > [CANopenDevice].
► Tab [General] > [General] > [Node ID]:
assign a node ID to this interface using
/
.
permissible = 1...127
► Select the further parameters according to the requirements.
>
With the menu [File] > [Save Project], the values become valid.
When activating the option field [Werkseinstellungen]: Each time the controller is switched
on or the program is downloaded, the settings are reset to factory settings. Thereby, user
settings can be overwritten. The type and the scope of reset settings depend on the
CANopen device.
In the CANopen Device, the correct baud rate and the node ID must be set, so that the
CANopen master will recognise the device.