FB_BA_SubTrend

The FB_BA_SubTrend function block allows to subscribe to a trend object.
Syntax
FUNCTION_BLOCK FB_BA_SubTrend EXTENDS FB_BA_Subscriber
VAR_OUTPUT
bEvent : BOOL;
nRecordCount : UDINT;
nTotalRecordCount : UDINT;
END_VAR
Outputs
Name | Type | Description |
|---|---|---|
bEvent | BOOL | The variable signals an abnormal event of an object. The type of event, e.g. an alarm, a maintenance message, etc., is described within the event class associated with the object. |
nRecordCount | UDINT | Number of records. |
nTotalRecordCount | UDINT | Absolute number of records. |
Requirements
Development environment | Required PLC library |
|---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |
Further Information
Properties
Methods