I_Connect
METHODS
Connect: Create a TCP connection.
Disconnect: Terminate a TCP connection.
Send: Send QRC frames.
M_Receive: Receive QRC frames.
PROPERTIES
Properties | Type | Access | Description |
---|---|---|---|
aRxFrame | ARRAY[0..QRC_NUMBER_OF_CONTROL] OF T_MaxString | Get | As soon as the falling edge of |
sTxFrame | STRING(QRC_BUFFER_SIZE) | Set | As soon as the falling edge of |
Connect
This method enables creating a TCP connection.
Method Connect : BOOL
This process is finished as soon as the return value is TRUE.
Disonnect
This method enables terminating a TCP connection.
Method Disonnect : BOOL
This process is finished as soon as the return value is TRUE.
Send
This method enables sending a QRC frame and to get the response frame from Q-SYS device automatically after sending.
Method Send : I_ResExtract
This method is finished as soon as the falling edge of bBusy
occurs and property aRxFrame
is not empty. The response frame can be fetched at property aRxFrame
.
Receive
This method enables receiving a QRC frame.
Method Receive : I_ResExtract
This method is finished as soon as the falling trigger of bBusy
is triggered and property. aRxFrame
is not empty. The response frame can be fetched at property aRxFrame
.
aRxFrame
List of received QRC response frames.
PROPERTY aRxFrame : ARRAY[0..QRC_NUMBER_OF_CONTROL] OF T_MaxString
sTxFrame
A QRC frame which is ready to send to Q-SYS device.
PROPERTY sTxFrame : STRING(QRC_BUFFER_SIZE)