FB_QRC_ChangeGroup

FB_QRC_ChangeGroup 1:

This function block enables the coding of the QRC frames that are used to edit or poll a change group.

Syntax

FUNCTION_BLOCK FB_QRC_ChangeGroup
VAR_OUTPUT
    bError                       : BOOL;
    ipResultMessage              : I_TcMessage;
END_VAR

FB_QRC_ChangeGroup 2: Outputs

Name

Type

Description

bError

BOOL

Set when an error has occurred. Error details are located in the Error List window.

ipResultMessage

I_TcMessage

Enables error handling with the Tc3_EventLogger.

FB_QRC_ChangeGroup 3: Methods

Name

Description

FB_init

Initialization method

AddControl

Add one or more controls to a change group via Named Controls.

AddComponent
Control

Add one or more controls to a change group via Named Component.

Remove

Remove one or more controls from a change group.

Poll

Poll a change group to get its changes.

Destroy

Delete a change group.

Clear

Delete all controls from a change group.

Invalidate

Specify to all controllers to report their properties in the next polling round.

AutoPoll

Set up automatic polling.

AddSnapshot
Control

Add one or more snapshots to a change group via Named Snapshot Component.

FB_QRC_ChangeGroup 4:

1. A change group is a grouping of Named Controls or Named Components. This function block is used to get more control properties with only one QRC frame.

2. If there is no target change group, it will be created automatically after the first AddControl, AddComponentControl or AddSnapshotControl command is received from the Q-SYS device.