Function library lenzedrive.lib – Lenze DDS Function library Drive User Manual

Page 71

Advertising
background image

Function library LenzeDrive.lib

Communication

2.6.5

Write codes (L_ParWrite)

2−61

L

LenzeDrive.lib EN 1.7

Selection of the bus participant and the parameter data channel for the bus participant

The bus participant whose codes are to be accessed is selected under wTargetAddress. The
parameter data channel (SOD1 or SDO2) to be used for the bus participant is also selected under
wTargetAddress:

·

For data transfer via parameter data channel SDO1 enter the corresponding CAN device
address (1 ... 64) of the bus participant under wTargetAddress.

·

For data transfer via parameter data channel SDP2 enter the corresponding CAN device
address (1 ... 64) of the bus participant incremented by 64, i.e. a value between 65 and 127
under wTargetAddress.

L

Node-ID 1

Target device

wTargetAddress = 2

L

Node-ID 2

SDO1

PLC

SDO2

wTargetAddress = 2 + 64 = 66

Note!

Please ensure that the bus participant is not at the same time accessed by other bus participants
via the same parameter data channel since the system bus changes to the state "bus off" if a
"collision" occurs.

Tip!

General information about the CAN objects and the system bus (CAN) can be found in the Manual
"System bus (CAN) for PLC devices".

Example

Transfer the value of the analog input AIN1 (terminal 1/2 for 9300 Servo PLC) to code C0472/1 of the
controller using the CAN device address 2:

Advertising