CONCAT_TIME
Type | Function |
Description | Concatenates (combines) the integer values (ANY_INT) for days, hours, minutes, seconds and milliseconds to build a duration. The result is stored to the output of the data type TIME.The function is an overloaded function. It can operate on all ANY_INT input data types. |
Parameters | Inputs
![]() ![]() |
Error behavior | If the resulted value is greater than DINT_MAX (overflow), the overflow value is returned. Note: Values outside the range of an input data type are allowed (for example, 25 hours). |
Examples | Example in ST out := CONCAT_TIME(1, 0, 70, 15, 1); (* results in TIME#1d1h10m15.001s *) |
Additional information | ![]() |