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.
Input | Type | Description |
---|---|---|
IN1 | DT | Input value |
Output | Type | Description |
---|---|---|
⇒ | TOD | Output value |