beautypg.com

4 command errors and alarms, 5 rs-232 command set – Next Advance SP2200 User Manual

Page 35

background image

NEXT>>>ADVANCE

www.nextadvance.com

SP2200Programmable Syringe

Pump

Publication #1200-02

30

04/29/10

Pump 2: 375 ml/hr

Assumes that the current pumping rate units of all 3 pumps are currently ml/hr.

Send the following command, followed by a carriage return , (spaces are optional):

0 rat 100 * 1 rat 250 * 2 rat 375 *

8.4 Command Errors and Alarms

If a command received by the pump is not recognized or the data is invalid, an error message will be in the
field of the response packet following the field. The following are the error responses:

=> ?

=>

Command is not recognized (‘?’ only)

NA

Command is not currently applicable

OOR

Command data is out of range

COM

Invalid communications packet received

IGN

Command ignored due to a simultaneous new Phase start

When an alarm occurs, the alarm must be acknowledged before any data is changed or the pump is started.
Alarms are acknowledged by the user clearing the alarm message on the keypad, or the alarm status being sent
in response to any valid RS-232 command. An alarm message sent automatically in the Safe Mode will not
clear the alarm condition. This is to verify that the alarm message was sent to a receptive host, such as after a
power failure when both the computer and the pump were reset. In this case, the pump will most likely send its
reset alarm message before the computer has finished booting.

8.5 RS-232 Command Set

All data changed from RS-232 is stored in the non-volatile memory, except for changes to the pumping rate
while pumping. All “Program Phase Data” refers to the currently selected Program Phase. Use the Phase
select command (‘PHN’) to query or select the current Phase. A Phase consists of the pumping rate, ‘Volume
to be Dispensed’, and the pumping direction.

A packet without a command is interpreted as a status query. The addressed pump responds with a status only
response packet.

Except where noted, a command without any parameters is a query command. The response packet data will
include the requested data. In general, the query response data will be in the same format as the parameters for
setting the command. For example, the query diameter command ‘DIA’ will respond with ‘‘ as the
response ‘‘.

Otherwise, the command is a set command. If the data was set, a status only response packet will be sent. If
the data was not set, the response packet will include an error () message indicating why the
data was not set.

All commands are upper case, but in Basic Mode, will be accepted as lower case, plus spaces and control
characters will be ignored. This facilitates manually entering commands using a terminal emulator.

=>

DIAMETER
DIA [ ]

Set/query inside diameter of syringe. Set is only valid when the Pumping Program is not operating.
Setting the syringe diameter also sets the units for “Volume to be Dispensed” and “Volume
Dispensed”.