Sample FGP-State Broadcast Example

FGP Download this FGP

Description

This FGP will broadcast the current operating State to controllers on the Local Bus. It uses a single public point as the trigger handle. The OCC Broadcast index trigger passes through as the UNO Broadcast trigger handle.

Image

FGP Image

Sequence of Operation

When the trigger handle is set to non-zero, the OCC Broadcast index will be active. When the trigger handle is set to zero, the UNO Broadcast index will be active.

Table of Objects and Published Points

  • 2 Broadcast Objects
#
Object
Name
Description
Public Point Type
Public Point Handle
1
BRD
State is OCC
Sends OCC command to local bus controllers
Public Point
OCC Trigger
Should be non-zero when OCC is the active state
Input
Trigger Handle
2
BRD
State is UNO
Sends UNO command to local bus controllers

Tuning Help

Adjust the Broadcast Interval (19,X,14,BYTE) times as needed. Do not send these broadcast too often. It may be wise to take a "less is more" approach. If any controllers miss the broadcast message, they will get it the next time it is sent.

Alter the Destination Address (19,X,15,2 BYTES) as needed, to reach a single controller, a group of controllers or a global destination.