| Type | Function | 
| Description | Concatenates (combines) the integer values (ANY_INT) for hour, minute, second, millisecond, microsecond and nanosecond to build a time of day. The result is stored to the output of the data type LTIME_OF_DAY.The function is an overloaded function. It can operate on all ANY_INT input data types. | 
| Parameters | Inputs  HOUR 
 
| Data type: | ANY_INT |  
| Permissible range: | 0 - 23 |   MINUTE 
 
| Data type: | ANY_INT |  
| Permissible range: | 0 - 59 |   SECOND 
 
| Data type: | ANY_INT |  
| Permissible range: | 0 - 59 |   MILLISECOND 
 
| Data type: | ANY_INT |  
| Permissible range: | 0 - 999 |   MICROSECOND 
 
| Data type: | ANY_INT |  
| Permissible range: | 0 - 999 |   NANOSECOND 
Output
 
| Data type: | ANY_INT |  
| Permissible range: | 0 - 999 |   OUT 
 
| Data type: | LTIME_OF_DAY |  
| Description: | Time of day |  | 
| Error behavior | If any of the input values for hour, minute, second, millisecond etc. is outside the permissible range, the function returns LDT#00:00:00. In addition, the 'Argument out of range' error is written to the Online Log  in the MESSAGES window. | 
| Examples | Example in ST
out := CONCAT_LTOD(23, 1, 55, 500, 660, 1);   (* results in LTOD#23:01:55.500 660 01 *) | 
| Additional information |  EN/ENO behavior 
The POU is only executed if TRUE  is applied to the EN input. If EN = FALSE, the POU is not executed and ENO = FALSE indicates the inactivity. If any of the  errors listed under  "Error behavior" occurs while executing the function, ENO is set to FALSE. 
 |