Lenze PLC Designer PLC Designer (R2-x) CANopen for Runtime Systems User Manual
Page 2
![background image](/manuals/566298/2/background.png)
L-force | PLC Designer - CANopen for Runtime Systems
DMS 2.0 EN 05/2009 TD29
1
Content
About this documentation ___________________________________________ 3
Document history ____________________________________________ 3
Liability ____________________________________________________ 3
Trademarks ________________________________________________ 4
CANopen terms and Lenze implementation________________________ 4
CANopen-Master library ____________________________________________ 5
Differentiation from other CANopen libraries _______________________ 5
CANopen for the user_________________________________________ 6
Used modules________________________________________ 6
How to create a project with CANopen_____________________ 7
Functionality of the libraries at runtime____________________________ 9
Implicit services of the CANopen-Master library______________ 9
Explicit services of the CANopen library___________________ 10
Starting the CANopen network __________________________ 10
Working with the CANopen-Master part in the application ____________ 11
Structure of the CANopen-Master _______________________ 11
Structure of the CANopen-node (Slave)___________________ 14
Interpretation and reaction on the states of the library ________ 16
Examples for application-controlled actions of the libraries ____ 20
Implicit calls _______________________________________________ 27
Object dictionary of the CANopen-Master ________________________ 27
CanDevice ______________________________________________________ 29
Functionality _______________________________________________ 29
Configure CanDevice ________________________________________ 30
CanDevice Settings _________________________________________ 31
Generate EDS-file __________________________________________ 33
Modifying the default mapping by the master configuration ___________ 37
Working with the CanDevice in the application program _____________ 38
Module CanopenDevice _______________________________ 38
Changing the PDO properties at runtime __________________ 41
Sending emergency messages by the application program____ 42
CAN network variables ____________________________________________ 43