6 editing the ethercat i/o image, Editing the ethercat i/o image, Control technology | ethercat communication manual – Lenze EtherCAT control technology User Manual

Page 66

Advertising
background image

Control technology | EtherCAT communication manual

Commissioning of the system

Detailed commissioning steps

66

L

DMS 3.1 EN 01/2011 TD17

7.2.7.6

Editing the EtherCAT I/O image

 Assign non-ambiguous variable names to the input and output objects according to

IEC 61131 syntax (no blanks and leading digits in the variable name). After the import

of the EtherCAT configuration into the »PLC Designer« control configuration,

corresponding system variables are available for the PLC program.

 By double-clicking the corresponding fields, you can make the adjustments:

In the example, variable names have been assigned to the first three output objects.

Moreover, an offset of ’1000’ has been entered for the first output object (%QW...) and the

first input object (%IW...).

 The »EtherCAT Configurator« does not work with byte addresses. The objects are

addressed with the byte address in the control configuration:

Note!

• Always use the system variables within the PLC program in order to access the

input and output objects or assign values to them.

• When copying a device in the »EtherCAT Configurator«, you must rename the

variables for the device copy, otherwise there will be a compiler error during

the compilation in the »PLC Designer«.

Objects

Addresses in the

»EtherCAT Configurator«

Byte addresses

Output objects

%QX1000.0

%QB1000

%QB1000

%QB1000

%QW1000

%QB500

%QD1000

%QB250

Input objects

%IX1000.0

%IB1000

%IB1000

%IB1000

%IW1000

%IB500

%ID1000

%IB250

Advertising