-

SUB_LDT_LTIME

Type Function
Description Subtracts the duration (LTIME) connected to IN2 from the point in time (LDATE_AND_TIME) connected to IN1 and delivers a point in time (LDATE_AND_TIME) as result.

Note
This function is not extendable, no further inputs can be added.

Notes
  • When the subtraction result exceeds the permissible range of the output value, an overflow occurs.
  • The function provides implicit data type conversion at its input and output parameters according to the rules defined by the IEC 61131 standard.
Parameters Inputs

IN1

IN2

Output

Out
Error behavior Error behavior
Additional information EN/ENO behavior