Attention

IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include structures and user defined function blocks.

SUB_TOD_TOD

Returns the difference between two time-of-day values as a duration.

IEC 61131-3

Section 2.5.1.5.8

Support

Supported

Signatures

#

Input (IN1)

Input (IN2)

Return Type

Support

1

TIME_OF_DAY

TIME_OF_DAY

TIME

Supported

Description

Returns the difference IN1 minus IN2 as a TIME duration. Both inputs and the result are in milliseconds.

Example

See Also