FB_QRC_ResExtract
This function block enables the extraction of the received QRC frames.
This extraction function block is only designed for QRC response frames of the following QRC commands:
- Command Status.Get
- Control-related commands (Control.Set & Control.Get)
- Component-related commands (Component.Set & Component.Get)
- "Change Control"-related commands (All methods of FB_QRC_ChangeGroup)
- Snapshot component (More information can be found at section Control button ‘Load’ of snapshot component and Snapshot state and related properties)
The response frames of other QRC commands can be directly fetched with the property aRxFrame
.
Syntax
FUNCTION_BLOCK FB_QRC_ResExtract IMPLEMENTS I_ResExtract
VAR_OUTPUT
bError : BOOL;
ipResultMessage : I_TcMessage;
END_VAR
Outputs
Name | Type | Description |
---|---|---|
bError | BOOL | Is set if an error occurs during the execution of the function block. Error details are located in the "Error List" window. |
ipResult | I_TcMessage | Enables error handling with the |
Methods
Name | Description |
---|---|
ResExtract | Extract received QRC response frames. |
Clear | Clear the internal memory. |
Properties
Properties | Type | Access | Description |
---|---|---|---|
aCtrlProp | ARRAY[0..QRC_NUMBER_OF_CONTROL] OF ST_ControlEx | Get | Extracted control properties can be get with this property. |
aRxFrame | ARRAY[0..QRC_NUMBER_OF_CONTROL] OF T_MaxString | Set, Get | Extracting QRC frames can be set or get with this property. |
sEngineStatus | T_MaxString | Get | Q-SYS device information can be get with this property. |
Interface
Name | Description |
---|---|
I_ResExtract | The interface that defines the extraction method. |