EasyManua.ls Logo

IFM Electronic CR0451 - Page 147

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...
147
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN POUs to CANopen
The following functions defined in CANopen are at present not supported by the CANopen 3S (Smart
Software Solutions) library:
Dynamic identifier assignment
Dynamic SDO connections
SDO transfer block by block, segmented SDO transfer
The functionality can be implemented via the following FBs in the corresponding ifm device
library:
- CANOPEN_SDOREAD (→ page 176
)
- CANOPEN_SDOREADMULTI (→ page 178
)
- CANOPEN_SDOWRITE (→ page 180
)
- CANOPEN_SDOWRITEMULTI (→ page 182
)
All options of the CANopen protocol which are not mentioned above.
Create a CANopen project
8513
Below the creation of a new project with a CANopen master is completely described step by step. It is
assumed that you have already installed CoDeSys on your processor and the Target and EDS files
have also been correctly installed or copied.
► A more detailed description for setting and using the dialogue [controller and CANopen
configuration] is given in the CoDeSys manual under [Resources] > [PLC Configuration] or in the
Online help.
> After creation of a new project ( chapter Setup the target (→ page 18
)) the CANopen master
must first be added to the controller configuration via [Insert] > [Append subelement]. For
controllers with 2 or more CAN interfaces interface 1 is automatically configured for the master.
> The following libraries and software modules are automatically integrated:
The Standard.LIB which provides the standard functions for the controller defined in IEC
61131.
The 3S_CanOpenManager.LIB which provides the CANopen basic functionalities
(possibly 3S_CanOpenManagerOptTable.LIB for the C167 controller)
One or several of the libraries 3S_CANopenNetVar.LIB, 3S_CANopenDevice.LIB and
3S_CANopenMaster.LIB (possibly 3S_...OptTable.LIB for the C167 controller)
depending on the requested functionality
The library ifm_CANopen_NT_Vxxyyzz.LIB .
The system libraries SysLibSem.LIB and SysLibCallback.LIB
> The following libraries and software modules must still be integrated:
The device library for the corresponding hardware, e.g. ifm_CR0403_Vxxyyzz.LIB. This
library provides all device-specific functions.
EDS files for all slaves to be operated on the network. The EDS files are provided for all
CANopen slaves by ifm electronic. chapter Set up programming system via templates
(→ page 21
)
For the EDS files of other manufacturers' nodes contact the corresponding
manufacturer.

Table of Contents