Timestamp function

The timestamp is made possible by the distributed clocks technology in the EtherCAT system. This local clock can be used to synchronize the data acquisition.

Timestamps on the following input signals are available:

Timestamp function 1:

Note on using the timestamp function

In order to be able to use the timestamp function, the terminal must be operated in "DC Synchronous" or "DC Synchronous (input based)" mode.

The timestamp is provided in a range of 64 bits, optionally also with only 32 bits. The timestamps are contained in the following "Predefined PDO Assignment":

Predefined PDO Assignment

1.Ch Standard, extended DC mode, 32 Bit time stamp

1.Ch Standard, extended DC mode, 64 Bit time stamp

1.Ch Standard, extended DC mode, 64 Bit time stamp, Output

They can be selected or deselected as optional PDOs.

PDO assignment

Name

Description

0x1A08

ENC Timestamp Channel 1

Contains timestamps in the 64 bit range for channel 1

0x1A09

ENC Timestamp Compact Channel 1

Contains timestamps in the 32 bit range for channel 1

0x1A0A

ENC Timestamp Output Channel 1

Contains timestamps in the 64-bit range for output 1

0x1A15

ENC Timestamp Output Channel 2

Contains timestamps in the 64-bit range for output 2

Timestamp for the last counter change in the PLC cycle

The process data index 0x6000:16 "Timestamp" indicates the timestamp of the last registered counting pulse in the PLC cycle. This means, depending on the counter evaluation mode (index 0x8000:06 "Evaluation mode") the timestamp is output based on:

0x8000:06 "Evaluation mode"

0x6000:16 "Timestamp“

0

4-fold (default)

last rising or falling edge on track A or B

1

1-fold

last rising edge on track A

2

2-fold

last rising or falling edge on track A

Timestamp on input zero pulse C

The process data index 0x60p0:1F "Timestamp C" outputs the timestamp of the last registered positive edge of the zero pulse C when the counter value is saved.

Parameterization of the zero pulse C input

0x60p0:1F: "Timestamp C" issues the timestamp based on:

0x70p0:01

Enable Latch C

the positive edge of the zero pulse C at which the counter value was stored in index 0x60p0:12 "Latch value"

Depending on the number of channels applies: p = 0 for Ch1, p = 1 for Ch2

Timestamp for the Latch extern input

The process data index 0x60p0:20 "Timestamp latch" indicates the timestamp on the selected edge of the Latch extern input. This means that, depending on the parameterization of the Latch extern input, the timestamp is valid for:

Parameterization of the Latch input

0x60p0:20 "Timestamp latch" issues the timestamp based on:

0x70p0:02

Enable latch extern on positive edge

the last rising edge at the Latch extern input at which the counter value was stored in index 0x60p0:12 "Latch value"

0x70p0:04

Enable Latch extern on negative edge

the last falling edge at the Latch extern input at which the counter value was stored in index 0x60p0:12 "Latch value"

Depending on the number of channels applies: p = 0 for Ch1, p = 1 for Ch2

Timestamp for Gate/Latch input

The process data 0x60p0:21 "Timestamp latch 2" indicates the timestamp on the selected edge of the Gate/Latch input. The Gate/Latch input can also be used as Latch extern 2 input. Depending on the parameterization of the Latch extern 2 input the timestamp is valid for:

Parameterization of the Latch 2 input

0x60p0:21 "Timestamp latch 2" issues the timestamp based on:

0x70p0:0C

Enable Latch extern 2 on positive edge

the last rising edge at the Gate/Latch input at which the counter value was stored in index 0x60p0:22 "Latch value 2"

0x70p0:0D

Enable Latch extern 2 on negative edge

the last falling edge at the Gate/Latch input at which the counter value was stored in index 0x60p0:22 "Latch value 2"

Depending on the number of channels applies: p = 0 for Ch1, p = 1 for Ch2

Timestamp function for outputs

The process date 0x6004 "ENC Timestamps Output Ch.1" / 0x6014 "ENC Timestamps Output Ch.2" provides the timestamp when the threshold (Threshold n) was reached and the output switched. The size of the timestamp is 64 bits.

Parameterization of the timestamp for the outputs

0x60p4:1n "Timestamp n" provides the timestamp based on:

0x70p1:02

Control_Enable thresholds output = TRUE

the reaching of the threshold values (Threshold n), which are enabled via 0x70p2:11 "Number of output events".

0x70p2:11

Number of output events = n

Dependent on the number of channels applies: p = 0 for Ch1, p = 1 for Ch2)
Dependent on the number of activated thresholds "Number of output events": 1 ≤ n ≤ 8