DATE_TO_TOD

DATE_TO_TOD

PROGRAM DATE_TO_TOD_DEMO
    VAR
           DATE1: DATE; 
       TOD1: TOD;
    END_VAR
    TOD1:=DATE_TO_TOD(DATE1);
END_PROGRAM

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

InputTypeDescription
in1 DATEInput value
OutputTypeDescription
TOD Output value

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