F_BA_IsDataTypeValid

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
Inputs
Name | Type | Description |
---|---|---|
eType |
Enumeration to be checked. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |