F_BA_IsWeekdayValid

F_BA_IsWeekdayValid 1:

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

F_BA_IsWeekdayValid 2: Inputs

Name

Type

Description

eDay

E_BA_Weekday

Enumeration to be checked.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0