TIMETOTALMILLISECONDS
PROGRAM TIMETOTALMILLISECONDS_DEMO
VAR
T1: TIME;
LR1:LREAL;
END_VAR
LR1 := DATETOTALMILLISECONDS(IN1 := T1);
END_PROGRAM
Returns value corresponding to the number of milliseconds for a particular time interval.
Input | Type | Description |
---|---|---|
IN1 | TIME | Input value |
Output | Type | Description |
---|---|---|
=> | LREAL | Output value |