FB_BA_SubEvtB

The FB_BA_SubEvtB function block allows to subscribe to a binary input object. It does not have to be called explicitly. This description serves solely to explain the inheritance structure of the binary input function blocks. It passes output variables to the inheriting function blocks.
Syntax
FUNCTION_BLOCK ABSTRACT FB_BA_SubB EXTENDS FB_BA_Subscriber
VAR_OUTPUT
bPresentValue : BOOL;
bEvent : BOOL;
END_VAR
Outputs
Name | Type | Description |
|---|---|---|
bPresentValue | BOOL | Present value of the subscribed binary value. |
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 |