Timestamp inputs (EPP1258)

Timestamp inputs are digital inputs that log the times of signal edges with high temporal resolution.

A timestamp input provides two timestamps in variables:

At each signal edge the corresponding variable is overwritten with the current timestamp.

Variables are always read in by the PLC at the beginning of a PLC cycle. If several signal edges occur within a PLC cycle, the PLC receives only the timestamps of the last rising and the last falling signal edge at the beginning of the following PLC cycle.

Application Note DK9222-0211-0021 contains further information on timestamp inputs.

Variables in the process image

Variable

Contents

Input X01

Input X02

Timestamp inputs (EPP1258) 1: Channel 1
Timestamp inputs (EPP1258) 2: Input

 

Timestamp inputs (EPP1258) 3: Channel 2
Timestamp inputs (EPP1258) 4: Input

Signal level that is currently present at the digital input

Timestamp inputs (EPP1258) 5: Latch
Timestamp inputs (EPP1258) 6: Status0

 

Timestamp inputs (EPP1258) 7: Latch
Timestamp inputs (EPP1258) 8: Status1

Information as to whether the last recorded signal edge was a rising or a falling signal edge:

Bit 3:

  • Bit 3 is set on rising signal edge
  • Bit 3 is cleared on falling signal edge

Timestamp inputs (EPP1258) 9: Latch
Timestamp inputs (EPP1258) 10: LatchPos0

 

Timestamp inputs (EPP1258) 11: Latch
Timestamp inputs (EPP1258) 12: LatchPos1

Timestamp of the last recorded rising signal edge.

Representation: 1 ns / LSB

Timestamp inputs (EPP1258) 13: Latch
Timestamp inputs (EPP1258) 14: LatchNeg0

 

Timestamp inputs (EPP1258) 15: Latch
Timestamp inputs (EPP1258) 16: LatchNeg1

Timestamp of the last recorded falling signal edge.

Representation: 1 ns / LSB