F_BA_IsDataTypeValid

F_BA_IsDataTypeValid 1:

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

Syntax

FUNCTION F_BA_IsDataTypeValid : BOOL
VAR_INPUT
  eType    : E_BA_DataType;
END_VAR

F_BA_IsDataTypeValid 2: Inputs

Name

Type

Description

eType

E_BA_DataType

Enumeration to be checked.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0