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_TIME¶
Subtracts a duration from a time-of-day value.
IEC 61131-3 |
Section 2.5.1.5.8 |
Support |
Supported |
Signatures¶
# |
Input (IN1) |
Input (IN2) |
Return Type |
Support |
|---|---|---|---|---|
1 |
|
|
|
Supported |
Description¶
Returns a new TIME_OF_DAY offset from IN1 by subtracting the
duration IN2. Both values are in milliseconds.
Example¶
See Also¶
ADD_TOD_TIME — add duration to time-of-day
SUB_TOD_TOD — difference between two times-of-day