
Software Communication
3-43
Error Codes and Query Status
The [Q] command reports error codes and pump status (ready or busy). The user should
send a [Q] command before sending a program string or individual command to ensure
that the pump has completed the previous command successfully.
NOTE
The Query command ([Q]) is the only valid method of obtaining status.
The response to the [Q] command (the status byte) provides two items of information:
Pump status (bit 5) and error code (bits 0-3).
S
TATUS
B
IT
Bit 5 is the status bit. It indicates when the pump is busy or not busy. The designations
for bit 5 are listed below.
Status Bit 5
Description
X = 1
Pump is ready to accept new commands.
X = 0
Pump is busy and will only accept Report and Terminate commands.
In response to uppercase Move commands ([A], [P] and [D]), the [Q] command reports
that the pump is busy. In response to lowercase Move commands ([a], [p] and [d]), the
[Q] command reports that the pump is not busy. Additionally, commands addressed to
multiple pumps at once cannot be used to obtain pump status; pumps must be queried
separately.
NOTE
Although the answer block for other commands contains a status bit, it should
not be used for determining pump status. A [Q] command is the only valid
method to determine if the pump is busy. The error information in the status
byte of the answer block is always valid.
E
RROR
C
ODES
Error codes describe problem conditions that may be detected in the XP 3000 (excluding
error code 0). Error codes are returned in the least significant four bits of the status byte.
If an error occurs, the pump stops executing commands, clears the command buffer, and
inserts the error code into the status byte. Some errors continue to appear, such as syringe
overloads, until they are cleared by the Initialization command. On a plunger overload,
the device will not execute another valve or syringe Move command until it is
reinitialized. The last error has precedence in the status byte. For example, if a command
overflow occurs, an error 15 results. If the next command causes an error #3, the status
byte reflects the error #3 (invalid operand).
Содержание XP 3000
Страница 21: ...Hardware Setup 2 5 RS 232 CABLING Figure 2 3 RS 232 Multi Pump Cabling nc ...
Страница 22: ...Hardware Setup 2 6 RS 485 CABLING Figure 2 4 RS 485 Multi Pump Cabling RS 485 A RS 485 B ...
Страница 23: ...Hardware Setup 2 7 CAN CABLING Figure 2 5 CAN Multi Pump Cabling ...
Страница 36: ...Hardware Setup 2 20 Figure 2 12 XP 3000 Threaded Mount Holes ...
Страница 134: ......