TIMESTRUCT_TO_PackMLTime
This function converts a time in TIMESTRUCT format into the PackML-compliant array.
FUNCTION TIMESTRUCT_TO_PackMLTime : ARRAY [0..6] OF DINT;
Inputs
VAR_INPUT
Input : TIMESTRUCT;
END_VAR
Name | Type | Description |
---|---|---|
Input | TIMESTRUCT | The time to be converted |
Requirements
Development environment | Target system type | PLC libraries to include |
---|---|---|
TwinCAT v3.1 Build 4018 and higher | PC (i386) | Tc3_PackML_V2 |