OTSTRUCT_TO_TIME

OTSTRUCT_TO_TIME 1:

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

OTSTRUCT_TO_TIME 2: Inputs

VAR_INPUT
    OTIN : OTSTRUCT;
END_VAR

Name

Type

Description

OTIN

OTSTRUCT

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)