FB_BA_SubEvtM

FB_BA_SubEvtM 1:

The FB_BA_SubEvtM function block allows to subscribe to a multistate input object. It does not have to be called explicitly. This description serves solely to explain the inheritance structure of the multi-state 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_SubM EXTENDS FB_BA_Subscriber
VAR_OUTPUT
  nPresentValue    : UDINT;
  bEvent           : BOOL;
END_VAR

FB_BA_SubEvtM 2: Outputs

Name

Type

Description

nPresentValue

UDINT

Present value of the subscribed 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