Date&Time

The two input signals with date & time at IN1 and IN2 are compared with each other.

The bit locations 0 to 3 are set in the status byte according to the result. Bits 4 to 7 are not changed.

Status byte

Bit 0 = 1           IN1  =  IN2

Bit 1 = 1           IN1 !=  IN2

Bit 2 = 1           IN1  >  IN2

Bit 3 = 1           IN1  <  IN2

Signals

Name I/O Type(s) Function
IN1 I DT Date&Time 1
IN2 I DT Date&Time 2
Q O BYTE Status byte