FB_BA_SubEvtA

The FB_BA_SubEvtA function block allows to subscribe to an analog input object. It does not have to be called explicitly. This description serves solely to explain the inheritance structure of the analog input function blocks. It passes output variables to the inheriting function blocks.
Syntax
FUNCTION_BLOCK ABSTRACT FB_BA_SubA EXTENDS FB_BA_Subscriber
VAR_OUTPUT
fPresentValue : REAL;
bEvent : BOOL;
END_VAR
Outputs
Name | Type | Description |
|---|---|---|
fPresentValue | REAL | Current analog output value of the object. |
bEvent | BOOL | Indicates an event or an error that has occurred. |
Requirements
Development environment | Required PLC library |
|---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |