F_BA_DateMerge

The function F_BA_DateMerge of the return type ST_BA_Date replaces those subcomponents of input date stDate1 which are evaluated as not specified (16#FF) with the corresponding components of input date stDate2.
Syntax
FUNCTION F_BA_DateMerge : ST_BA_Date
VAR_INPUT
stDate1 : ST_BA_Date;
stDate2 : ST_BA_Date;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
stDate1 |
The input date, which is checked if parts need to be replaced. | |
stDate2 |
Input date, which is used to replace stDate1. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |