FB_BA_RawPublisher

The FB_BA_RawPublisher function block is used to provide any information.
Example:
The data from a weather station is to be transmitted as raw data to a subscriber.
Publisher:


Subscriber:


The function block publishes the available data continuously, as the bEnPublish parameter is set to TRUE in FB_init. If this behavior is to be interrupted, this is possible via bEnPublish from the FB_BA_BasePublisher.
Syntax
FUNCTION_BLOCK FB_BA_RawPublisher EXTENDS FB_BA_Publisher
VAR_INPUT
xData : ANY;
END_VARRequirements
Development environment | Required PLC library |
|---|---|
TwinCAT from v3.1.4024.35 | Tc3_XBA from v5.3.0.0 |
Inputs