FB_QRC_ResExtract

FB_QRC_ResExtract 1:

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:

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

FB_QRC_ResExtract 2: 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
Message

I_TcMessage

Enables error handling with the Tc3_EventLogger.

FB_QRC_ResExtract 3: Methods

Name

Description

ResExtract

Extract received QRC response frames.

Clear

Clear the internal memory.

FB_QRC_ResExtract 4: 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.

FB_QRC_ResExtract 5: Interface

Name

Description

I_ResExtract

The interface that defines the extraction method.