4 command errors and alarms – Next Advance SP570-M User Manual
Page 30
NEXT>>>ADVANCE
www.nextadvance.com
SP500 series OEM Programmable Syringe Pump
NE500 series manual
25
Revision 101101
Therefore, the pump will be in an Auto-Alarm only communications mode.
When power is applied to the pump, or if the system should reset, a system reset alarm occurs. The Auto-
Alarm feature, therefore, alerts the host computer that a pump reset has occurred.
8.3.4 RS-232 Protocol: Basic and Safe Mode Common Syntax
<transmitted data> => { <command data> | <response data> }
<command data> => [<address>] [<command>]
To pump
<response data> => <address> <status> [ <data> | <command error> ]
From pump
<status> => { <prompt> | <alarm> }
Operational state of pump
<prompt> =>
I
Infusing
W
Withdrawing
S
Pumping Program Stopped
P
Pumping Program Paused
T
Pause Phase
U
Operational trigger wait (user wait)
<alarm> => A ? <alarm type>
Alarm
<alarm type> =>
R
Pump was reset (power was interrupted)
S
Pump motor stalled
T
Safe mode communications time out
E
Pumping Program error
O
Pumping Program Phase is out of range
<address> => <n> [ <n> ]
Pump network address, 0 to 99
<data> => <text>
Response to command
<CR> => (0x0D)
Carriage return
<STX> => (0x02)
<ETX> => (0x03)
<CRC 16> => <byte> <byte>
16 bit CCITT CRC of <transmitted data> (high byte,
low byte)
<length> => <byte>
Number of bytes remaining in packet, including this
byte
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
<data> field of the response packet following the <prompt> field. The following are the error responses:
<command error> => ? <error>
<error> =>
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,