F_BA_IsMeasuringElementValid

F_BA_IsMeasuringElementValid 1:

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

Syntax

FUNCTION F_BA_IsMeasuringElementValid : BOOL
VAR_INPUT
  eElement    : E_BA_MeasuringElement;
END_VAR

F_BA_IsMeasuringElementValid 2: Inputs

Name

Type

Description

eElement

E_BA_MeasuringElement

Enumeration to be checked.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0