F_BA_IsWeekdayValid

The F_BA_IsWeekdayValid function of return type BOOL checks whether the value of the enumeration applied to input eDay is within the limits First and Last as defined at E_BA_Weekday.
Syntax
FUNCTION F_BA_IsWeekdayValid : BOOL
VAR_INPUT
eDay : E_BA_Weekday;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
eDay |
Enumeration to be checked. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |