2 canopen master, 1 configuration, Canopen master – Lenze PLC Designer PLC Designer (R2-x) CANopen for Runtime Systems User Manual

Page 53

Advertising
background image

L-force | PLC Designer - CANopen for Runtime Systems

Appendix

52

DMS 2.0 EN 05/2009 TD29

5.3.2 CANopen Master

5.3.2.1 Configuration
In this chapter you find questions and answers on the CANopen-Master configuration.

F1: How do I get displayed the CAN Parameters options „Optional device“ and „No

initialization“ in the PLC Configuration dialog?

A:

The CAN Parameters options „Optional device“ and „No initialization“ can be activated via the
PLC configuration file (*.cfg). For this purpose you have to add the entries „OptionalDevice“ and
„NoInitialize” for the CANopen slave.


[Module.CanSlave]
Name=CanSlave
Id=693734

OptionalDevice=TRUE
NoInitialize=TRUE

Just the availability of the entries will effect that the options are displayed in the dialog. By
assigning FALSE or TRUE the default value can be set.


F2: How to use option "Reset node" in dialog "CAN Parameters" of the PLC configuration?

The tick of this option is deactivated and greyed.

Questions:
- Can I use this option to define that "NMT Reset Node" should be send to the node

before

configuration (otherwise "NMT Reset Communication" ) ?

-

How can I modify the option setting, i.e. how do I get editable the tick?

- How can I set a default value fort his option (activated, deactivated)?
- Is the current value of the option setting available in the download structure (structure

CCCanSlave in RTSCFG.H does not contain an appropriated entry)

A:

This option will be activated, if object 0x1011 is available in the EDS-file, resp. deactivated, if
this object is not listed in the file. You cannot set a default value there.

If SDOWrite is executed on this object, the default values will be stored back and ResetNode
will be executed.
In the download structure there is no direct variable indicating this value. However you can
check the list of SDOs for the object: If it is available the word “load” will be written in the 32-bit-
value.







Advertising