ST_BA_Date
Structure for the description of a date.
Syntax
TYPE ST_BA_Date :
STRUCT
nYear : BYTE := 16#FF;
eMonth : E_BA_Month := E_BA_Month.Unspecified;
nDay : E_BA_Day := E_BA_Day.Unspecified;
eDayOfWeek : E_BA_Weekday := E_BA_Weekday.Unspecified;
END_STRUCT
END_TYPE
Name | Type | Description |
---|---|---|
nYear | BYTE | Year specification, counting from the year 1900. |
eMonth | Month specification | |
nDay | Specification of the day in the month | |
eDayOfWeek | Specification of the day of the week |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |