DT_TO_TOD

DT_TO_TOD

PROGRAM DT_TO_TOD_DEMO
    VAR
        DT1: DT;
        TOD1: TOD;
    END_VAR
 
    TOD1:=DT_TO_TOD(DT1);
END_PROGRAM

The function brings the input value to the output as a time in a day.

InputTypeDescription
IN1 DT Input value
OutputTypeDescription
TOD Output value

  • © Energocentrum Plus, s.r.o. 2017 - 2024