Timestamp function

EL1252

For each channel and for each fieldbus cycle, the terminal can only store one edge event as rising or falling together with its timestamp. If more than one signal change occurs at the terminal input between two fieldbus cycles, a setting can be made on the DC tab “Advanced Settings -> Distributed Clocks ->Latch” to determine whether the first or last signal change occurring within an interrogation cycle is to be stored in the LatchPosXXXY variable. This value is then fetched by the EtherCAT frame.

Timestamp function 1:
Advanced settings - latch

EL1254

The LatchControl registers of the EL1254 cannot be set via TwinCAT-specific dialogs as with the EL1252. The registers must be set after startup from the controller via ESC register access, e.g. with FB_EcPhysicalWriteCmd in Tc2_EtherCAT.lib (not to be confused with KL register access), the addresses of the latch control registers are: