F_BA_IsDateValChoiceValid

F_BA_IsDateValChoiceValid 1:

The F_BA_IsDateValChoiceValid function of return type BOOL checks whether the value of the enumeration applied to input eChoice is within the limits First and Last as defined at E_BA_DateValChoice.

Syntax

FUNCTION F_BA_IsDateValChoiceValid : BOOL
VAR_INPUT
  eChoice    : E_BA_DateValChoice;
END_VAR

F_BA_IsDateValChoiceValid 2: Inputs

Name

Type

Description

eChoice

E_BA_DateValChoice

Enumeration to be checked.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0