Next Advance SP2200 User Manual

Page 32

Advertising
background image

NEXT>>>ADVANCE

www.nextadvance.com

SP2200Programmable Syringe

Pump

Publication #1200-02

27

04/29/10

8.3.1 RS-232 General Syntax Legend

The following syntax expansion legend is common to all syntax expansions:
Except where indicated, all command and response characters are ASCII data.

<float> => <f> [ <float> ]

Floating point number. Maximum of 4 digits plus 1
decimal point. Maximum of 3 digits to the right of the
decimal point.

<volume units> => UL

l (microliters)

ML

ml (milliliters)

<TTL level> => 1

TTL high level

0

TTL low level

<on-off> =>

1

On, enabled

0

Off, disabled

<expansion pin> => { 0 | 1 | 2 | 3 | 4 | 5 }

Expansion port pin. Valid values: 1 to 5

<phase data> => <n> [<n>]

Program Phase number. Valid values: 1 to 41

<count data> => <n> [<n>]

Valid values: 1 to 99

<number data> => <n> [<n>]

Valid values: 0 to 99

<text> => "any printable character" [<text>]

<f> => { <n> | . }

Floating point digits

<n> => { 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 }

Digits

<byte> => “one byte of any data”

( )

One byte of data expressed as (0xhh), where ‘hh’ is the
data in hexadecimal.

=>

Is defined by. Syntax expands to next level of
expansion.

< >

Non-terminal syntax expansion

[ ]

Optional syntax

{ }

Required syntax

|

Or. Choose one of the syntax options.

None. Syntax expands to nothing (lambda production).

" "

Description of syntax expansion

8.3.2 RS-232 Protocol: Basic Mode

Command syntax (to pump):

<basic command protocol> => <command data> <CR>

Response syntax (from pump):

<basic response protocol> => <STX> <response data> <ETX>

In the “Basic” communications mode, a master-slave protocol is used, whereby the pump will only transmit in
response to a received command.

When the pump receives the <basic command protocol>, <command data> will automatically be stripped of all
space and control characters, and all text will be converted to upper case. This simplifies communications with
the pump when commands are being manually typed in from a generic terminal emulator.

To return the pump to Basic mode when in the Safe mode, send the following packet to the pump:

(0x2) ( 0x8) SAF0 (0x55) (0x43) (0x3)

Advertising