FB_BA_RawPublisher

FB_BA_RawPublisher 1:

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:

FB_BA_RawPublisher 2:
FB_BA_RawPublisher 3:

Subscriber:

FB_BA_RawPublisher 4:
FB_BA_RawPublisher 5:

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.

Inheritance hierarchy

FB_BA_Base

    FB_BA_BasePublisher

        FB_BA_Publisher

Syntax

FUNCTION_BLOCK FB_BA_RawPublisher EXTENDS FB_BA_Publisher
VAR_INPUT
  xData      : ANY;
END_VAR

FB_BA_RawPublisher 6: Inputs

Name

Type

Description

xData

ANY

Data to be published.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.35

Tc3_XBA from v5.3.0.0