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. |