FB_BA_SubSchedM

The FB_BA_SubSchedM function block allows to subscribe to a multi-state scheduler object.
Syntax
FUNCTION_BLOCK FB_BA_SubSchedM EXTENDS FB_BA_Subscriber
VAR_OUTPUT
nPresentValue : UDINT;
nPredictedValue : UDINT;
END_VAR
Outputs
Name | Type | Description |
|---|---|---|
nPresentValue | UDINT | Analog output value. |
nPredictedValue | UDINT | Value that is assumed after the next switching. |
Properties
Name | Type | Access | Description |
|---|---|---|---|
StateCount | UDINT | Get | Number of possible states. |
StateText | Get | Output of the state text. |
Requirements
Development environment | Required PLC library |
|---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |
Further Information
Methods