F_TimeToSeconds()
Converts a time in milliseconds of type TIME to seconds of type LREAL.
Syntax:
FUNCTION F_SecondsToTime : LREAL
VAR_INPUT
tTime: TIME;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
tTime | TIME | Time value in milliseconds |
Outputs
Name | Type | Description |
---|---|---|
F_TimeToSeconds | LREAL | Time value in seconds as floating point number |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.0) |