Notes on operation EL1262-0000, EL1262-0050, EL1264

Table of contents

Delivery state

No special settings are required when commissioning the EL126x for the first time. The EL126x operates as a normal 2/4-channel digital input terminal.

Notes on operation EL1262-0000, EL1262-0050, EL1264 1:

XML Device Description

If the XML description of the EL126x is not available in your system you can download the latest XML file from the download area of the Beckhoff website and install it according to the installation instructions.

Operating principle

The EL126x is a digital input terminal with 2/4 channels. It can read the voltage level not only cyclically with the EtherCAT cycle, but also several times in between. The distributed clocks support of the EL126x is used for this purpose. In the EL126x the ESC (EtherCAT Slave Controller) handles the data transmission to the EtherCAT fieldbus and supports the distributed clock functionality. This enables the ESC to read the inputs of the EL126x cyclically and equidistantly with high precision and store the values in the memory. When the EtherCAT frame fetches the data from the EL126x, a whole set of process data is ready for transfer. The inputs can be sampled with significantly higher frequency than the fieldbus cycle. Hence the term oversampling.

Distributed Clock

Distributed Clock Oversampling requires a clock generator in the terminal that triggers the individual data sampling events. The local clock in the terminal, referred to as distributed clock, is used for this purpose.

The distributed clock represents a local clock in the ESC with the following characteristics:

The EL126x only offers 32-bit support.

Notes on operation EL1262-0000, EL1262-0050, EL1264 2:

EtherCAT and distributed clocks

A basic introduction into EtherCAT and distributed clocks is available for download from the Beckhoff website.

Example:

The fieldbus/EtherCAT master is operated with a cycle time of 1 ms to match the higher-level PLC cycle time of 1 ms, for example. This means that every 1 ms an EtherCAT frame is sent to collect the process data from the EL126x. The local terminal clock therefore triggers an interrupt in the ESC every 1 ms (1 kHz), in order to make the process data available in time for collection by the EtherCAT frame. This first interrupt is called SYNC1.

As an example, the EL126x is set to oversampling n = 1000 in the TwinCAT System Manager, see Oversampling factor selection dialog for the EL1262 in the TwinCAT System Manager. This causes the ESC to generate a second interrupt in the terminal with an n-times higher frequency, in this case 1 MHz or 1 µs period. This interrupt is called SYNC0. With each SYNC0 signal the voltage is sampled as a digital value (0/1) and the corresponding values are sequentially stored in a buffer.

Generation of the SYNC0 pulse from the local synchronized clock within the distributed clock network ensures that the input values are sampled at highly equidistant intervals with the period of the SYNC1 pulse.

The maximum oversampling factor depends on the memory size of the used ESC and in the KKYY0200 version of the EL126x, it is n = 1000.

The values accumulated in the buffer are sent as a packet to the higher-level controller. For example, with 2 channels (EL1262) and n = 1000, 2 x 1000 bits = 2000 bits = 250 bytes of process data are transferred per EtherCAT cycle.

The oversampling factor of the EL126x can be set from 1 to 1000 in predefined values.

Notes on operation EL1262-0000, EL1262-0050, EL1264 3:Fig.172: EL1262 oversampling factor selection dialog in the TwinCAT System Manager

Please note that the EL126x process image characteristics change depending on the oversampling factor, see Process data description.

Notes on operation EL1262-0000, EL1262-0050, EL1264 4:

Oversampling factor

Regarding the calculation of SYNC0 from the SYNC1 pulse based on manual specification of an oversampling factor, please note that for SYNC0 only integer values are calculated at nanosecond intervals. Example: 187.500 µs is permitted, 333.333 333 is not.  Values other than those offered in the dialog are not possible. If implausible values are used, the terminal will reach the OP state, but its behavior will correspond to an oversampling factor of 1, and only the first bit will contain valid data. Example: For SYNC1/EtherCAT cycle = 1 ms oversampling factors such as 1, 2, 5 or 100 are permitted, but not 3.

Input characteristics

The input characteristics of the EL126x meet the requirements of EN61131-2:2003 Type 1.

Notes on operation EL1262-0000, EL1262-0050, EL1264 5:Fig.173: Typical EL1262 input characteristics. Beckhoff reserves the right to make unannounced changes.

The input circuit of the EL12xx is optimized for fast signal changes and for the fastest possible signal acquisition. The duration required by a signal change (a rising or falling edge) to propagate from the terminal point at the front through to the logic of the central evaluation unit (ESC) is specified for the EL12xx series as Ton/Toff < 1 µs, for both rising (Ton) and falling edges (Toff). Because of this low absolute lead time, the temperature drift of the lead time is also very low.

It should be borne in mind that the input circuit does not include any filtering. It has been optimized for the fastest possible signal transmission from the input to the evaluation unit. Fast level changes or pulses in the µs range therefore reach the evaluation unit unfiltered or unattenuated. It may be necessary to use shielded cables in order to eliminate interference from the surroundings.

The sensor/signal transducer must be able to generate sufficiently steep signal edges. The power supply used should have sufficient buffer reserves to ensure that the signal reaches the terminal with a sufficiently steep edge in spite of capacitive or inductive cable losses.

Start-up behavior

From the start of the EtherCAT fieldbus, the EL126x requires around 60 bus cycles until it supplies continuous process data for the first time in the OP state.

Process data

The EL126x offers a range of process data for transmission,

Example EL1262: in the default state, the terminal is displayed in the System Manager as in EL1262 default state.

Notes on operation EL1262-0000, EL1262-0050, EL1264 6:Fig.174: EL1262 default state
Notes on operation EL1262-0000, EL1262-0050, EL1264 7:

Chx Input presentation

The Chx Input process data must cover a large range of values from 1 to 1000 bits. In order to maintain a clear display of the configuration tree and the task variable links, the Chx input variables are shown either as bit or byte. Oversampling factor <= 100: individual bits are displayed. Oversampling factor > 100: bits are consolidated as bytes.
The task receiving the EL126x process data therefore has to offer bit or byte arrays as appropriate.

Tips for operation

Distributed Clocks settings

In the advanced settings of the EL126x for the distributed clocks, the time of the SYNC1 interrupt can be shifted forward slightly, see example advanced settings EL1262, Distributed Clocks. By activating the "Based on Input Reference" checkbox the SYNC1 interrupt is shifted forward by a few µs. For further information please refer to the Distributed Clock system description.

Notes on operation EL1262-0000, EL1262-0050, EL1264 8:Fig.175: EL1262 Advanced Settings, Distributed Clocks

Linking large variables

The option “Change Multi Link” can be used to link larger memory areas with continuous variables. Proceed as follows:

Notes on operation EL1262-0000, EL1262-0050, EL1264 9:Fig.176: Select the variables in the terminal with the mouse
Notes on operation EL1262-0000, EL1262-0050, EL1264 10:Fig.177: Right-click, Change Multi Link
Notes on operation EL1262-0000, EL1262-0050, EL1264 11:Fig.178: Select the variable range from the task