F_BA_ToDT

The function F_BA_ToDATE of return type DATE_AND_TIME converts a date stDate of type ST_BA_Date into a date of type DATE_AND_TIME.
Syntax
FUNCTION F_BA_ToDATE : DATE
VAR_INPUT
stDate : ST_BA_Date;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
stDate |
Date input value to be converted. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |