![IFM PDM360NG Series System Manual Download Page 247](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026247.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
CAN in the PDM360
CAN POUs to CANopen
247
Emergency
Reception of emergency messages from the configured slaves and message storage.
Set
Node-ID
and
baud rate
in the slaves
By calling a simple function, node ID and baud rate of a slave can be set at runtime of the
application.
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 (
→
)
- CANOPEN_SDOREADMULTI (
→
page
)
- CANOPEN_SDOWRITE (
→
page
- CANOPEN_SDOWRITEMULTI (
→
page
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
)) 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