F_BA_IsDataClassValid

F_BA_IsDataClassValid 1:

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

Syntax

FUNCTION F_BA_IsDataClassValid : BOOL
VAR_INPUT
  eClass    : E_BA_DataClass;
END_VAR

F_BA_IsDataClassValid 2: Inputs

Name

Type

Description

eClass

E_BA_DataClass

Enumeration to be checked.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0