FB_BA_BaseAI
The function block FB_BA_BaseAI is the base of all analog input objects.
Inheritance hierarchy
FB_BA_Base
FB_BA_BasePublisher
Illustration
FUNCTION_BLOCK ABSTRACT FB_BA_BaseAI EXTENDS FB_BA_ComEventObject IMPLEMENTS I_BA_AnalogInObject, I_BA_AnyValue
VAR_OUTPUT
fPresentValue : REAL;
END_VAR
VAR_INPUT CONSTANT PERSISTENT
{region 'Variable Parameters'}
fResolution : REAL := BA_Param.fInput_DefResolution;
fScaleOffset : REAL := BA_Param.fInput_DefScaleOffset;
bEnOutOfService : BOOL;
eUnit : E_BA_Unit := E_BA_Unit.Invalid;
fCOVIncrement : REAL := BA_Param.fDefCOVIncrement;
stLowLimit : ST_BA_LimitParam;
stHighLimit : ST_BA_LimitParam;
fLimitDeadband : REAL := BA_Param.fDefLimitDeadband;
{endregion}
END_VAR
Inputs CONSTANT PERSISTENT
Name | Type | Description |
---|---|---|
REAL | Resolution of an analog signal for scaling a measured value. | |
REAL | Scaling offset | |
bEnOutOfService | BOOL | This variable sets an object out of service. It is thus OutOfService. |
eUnit | Unit of the input or output value of an analog object. | |
fCOVIncrement | REAL | The variable specifies the minimum change in present value that will cause a COV notification to be issued to subscribed COV clients. This property is required if COV reporting is supported by this object. |
stLowLimit | Parameterization of the lower limit value monitoring of an analog object. The variable bEnable must be TRUE to enable limit value monitoring. The variable fValue is used to parameterize the lower limit value. | |
stHighLimit | Parameterization of the upper limit value monitoring of an analog object. The variable bEnable must be TRUE to enable limit value monitoring. The variable fValue is used to parameterize the upper limit value. | |
fLimitDeadband | REAL | Dead band or hysteresis for the values HighLimit and LowLimit of the limit value monitoring of an analog object. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |