OTSTRUCT_TO_TIME
 
The function "OTSTRUCT_TO_TIME" can be used to convert a structure with resolved milliseconds, seconds, minutes, hours, days and weeks into a TIME variable.
FUNCTION OTSTRUCT_TO_TIME : TIME
 Inputs
VAR_INPUT
    OTIN : OTSTRUCT;
END_VARName  | Type  | Description  | 
|---|---|---|
OTIN  | The structure to be converted  | 
Requirements
Development environment  | Target platform  | PLC libraries to be integrated (category group)  | 
|---|---|---|
TwinCAT v3.1.0  | PC or CX (x86, x64, Arm®)  | Tc2_Utilities (System)  |