WaitOnSRQ
Object type
Method (Write-only)
Syntax
WaitOnSRQ Status, Timeout
Description
Suspends the program for specified time until the RQS/MSS bit (bit 6) of
the status byte register changes to 1. (No read)
Variable
Parameter
Description
Data type
Range
Parameter
Description
Data type
Range
Preset
value
Unit
Status
State of the RQS/MSS bit (read only)
Boolean type (Boolean)
One of the following is returned.
True or -1
•
1 has been received within the specified time.
False or 0
•
1 has not been received within the specified time due to
timeout or abort.
Timeout
Timeout time
Long integer type (Long)
0 to 2,147,483,647
-1 (infinity)
ms (millisecond)
Programming
1553