EL1202-0100 - EtherCAT settings

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.

“EtherCAT” tab

“EtherCAT” tab: the EL1202-0100 terminal appears as a 2-channel digital input terminal with further process data:

EL1202-0100 - EtherCAT settings  1:
EL1202-0100 - EtherCAT settings  2:
EtherCAT tab, terminal EL1202-0100
DC is normally switched on, and the EL1202-0100 can therefore be used as a DC master clock.

“Input Channel 1” and “Input Channel 2”

The state of the inputs at the time of the last query is given here (0/1). The two inputs can only be latched at the same time.

“Reserved”

Reserved for future use.

“NextLatchTime”

Gives the next time when the two inputs will be latched. The status of “Input Channel0” and “Input Channel1” given in the process data image is therefore determined at the previously specified “NextLatchTime”.

Example:

  • The process data of an EL1202-0100 in an EtherCAT cycle is:
    “Input Channel1” = 1
  • “Input Channel2” = 0
  • “NextLatchTime” = 288.230.376.151.711.744 (ns)

    With a SYNC0 cycle time of 1 ms (= 1,000,000 ns) the quoted status of “Input Channel 1” and “Input Channel 2” is determined for time 237,628,613,985,878,208 - 1,000,000 = 237,628,613,984,878,208 (64-bit processing).