FB_BA_SubSchedM

FB_BA_SubSchedM 1:

The FB_BA_SubSchedM function block allows to subscribe to a multi-state scheduler object.

Inheritance hierarchy

FB_BA_Base

    FB_BA_Subscriber

Syntax

FUNCTION_BLOCK FB_BA_SubSchedM EXTENDS FB_BA_Subscriber
VAR_OUTPUT
  nPresentValue             : UDINT;
  nPredictedValue           : UDINT;
END_VAR

FB_BA_SubSchedM 2: Outputs

Name

Type

Description

nPresentValue

UDINT

Analog output value.

nPredictedValue

UDINT

Value that is assumed after the next switching.

FB_BA_SubSchedM 3: Properties

Name

Type

Access

Description

StateCount

UDINT

Get

Number of possible states.

StateText

T_BA_StateTextArray

Get

Output of the state text.

FB_BA_SubSchedM 4: Methods

Name

Description

GetData

Contains the subscribed data.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0