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.
ADD_TOD_TIME¶
Adds a duration to 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 the duration IN2.
Both values are in milliseconds.
Example¶
See Also¶
SUB_TOD_TIME — subtract duration from time-of-day
SUB_TOD_TOD — difference between two times-of-day