EL1252 - Process data

The extent of the process data that is made available can be changed via the “Process data” tab (see Fig. Process data tab, EL1252).

EL1252 - Process data 1:
Process data tab, EL1252

Sync Manager (SM)

In order to configure the process data, select the required Sync Manager (SM0..SM2 are available) in the upper left-hand “Sync Manager” box (fig. Process data tab, EL1252). The process data assigned to this Sync Manager can then be switched on or off in the “PDO Assignment” box underneath. Restarting the EtherCAT system, or reloading the configuration in configuration mode (F4), causes the EtherCAT communication to restart, and the process data is transferred from the terminal.

It is of crucial importance that an optional PDO is assigned to the correct SyncManager, otherwise the EtherCAT start will result in incomplete data exchange or individual variables "do not work". In the following described by means of the example 0x1A15 (belonging to the SM0):

EL1252 - Process data 2:
Incorrect PDO assignment (left) and correct PDO assignment (right) by means of the example 0x1A15

SM0, PDO assignment 0x1C10 (not changeable)

Index

Size (byte.bit)

Name

PDO content

0x1A00 (default)

0.1

Channel 1

Input 1

0x1A01(default)

0.1

Channel 2

Input 2

0x1A02 (default)

0.6

Reserved

reserved

SM01, PDO assignment 0x1C11 (PDOs are mutually exclusive)

Index

Size (byte.bit)

Name

PDO content

0x1A10

2.0

Latch

Status1; Status2

0x1A11

6.0

Latch

Status1; LatchPos1

0x1A12

18.0

Latch

Status1; LatchPos1; LatchNeg1

0x1A13 (default)

34.0

Latch

Status1/Status2; LatchPos1/LatchPos2; LatchNeg1/LatchNeg2

0x1A16

34.0

Latch

LatchPos1/LatchPos2; LatchNeg1/LatchNeg2

0x1A17*

26.0

LatchPos64

LatchPos1/LatchPos2;

0x1A18*

34.0

LatchNeg64

LatchNeg1/LatchNeg2

*) from Rev. -0022

SM2, PDO assignment 0x1C12 (PDOs are mutually exclusive)

Index

Size (byte.bit)

Name

PDO content

0x1A14

4.0

SysTime

32 bit representation

0x1A15 (default)

8.0

SysTime

64 bit representation

Extent of process data

The standard configuration of the EL2152 is shown in Fig. Standard extent of process data, EL1252:

EL1252 - Process data 3:
Standard extent of process data EL1252
EL1252 - Process data 4:

Libraries for 64-bit processing

A selection of functions for handling 64-bit numbers is available under Beckhoff TwinCAT in the TcUtilities.lib library. Longer execution times are required here than is the case with standard, 32-bit data types. A data type with a width of 64-bits is defined in TcEthercat.lib as T_DCTIME or in TcUtilities.lib as T_LARGE_INTEGER.