FB_BA_SubEvtB

FB_BA_SubEvtB 1:

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.

Inheritance hierarchy

FB_BA_Base

    FB_BA_Subscriber

Syntax

FUNCTION_BLOCK ABSTRACT FB_BA_SubB EXTENDS FB_BA_Subscriber
VAR_OUTPUT
  bPresentValue    : BOOL;
  bEvent           : BOOL;
END_VAR

FB_BA_SubEvtB 2: 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