Rs-232 communications, 1 connection and networking, 2 rs-232 pump network configuration – Next Advance SP570-M User Manual

Page 27: 3 rs-232 protocol

Advertising
background image

NEXT>>>ADVANCE

www.nextadvance.com

SP500 series OEM Programmable Syringe Pump

NE500 series manual

22

Revision 101101

8. RS-232 Communications

The SP500 series Syringe Pump can communicate with any computer, software
package, or device with an RS-232 communications port.

8.1 Connection and Networking

On the side of the pump are 2 square RJ-11 (“phone jack” style) sockets. Connect the RS-232

cable into the socket labeled “Computer”. Connect the other end to the serial port on the computer, or
other control device. Turn power off to the pump and the computer before connecting cables.

If the pump is part of a pump network, connect a pump network cable between the socket labeled “Pump
Network”, on the first pump, and the socket labeled “Computer” on the next pump in the network. Repeat
for each pump in the network, connecting the “Pump Network” socket of one pump to the “Computer”
socket on the next pump in the network. Up to 100 SP500 series pumps can be network together, along
with other pumps from the SP-1000 family of pumps, to one communications port on a computer. See
section 9, Logic Interface: TTL Input and Output, for a diagram of the rear of the pump. When
communicating with a pump in a multi-pump network, each preceding pump in the network must be
powered on.

Each pump in the network needs a unique network address to identify the pump to the computer. Network
addresses are from 00 to 99. If the network consists of only 1 pump, set the pump’s address to 0, the
factory default address. Also, each pump needs to be set to the same baud rate as the computer. The
default baud rate is 19,200.

8.2 RS-232 Pump Network Configuration

If only one pump is being used, leave the address at the default of 0.

Up to 100 pumps from the SP-1000 family of pumps can be attached to a computer in a single pump
network. The network address is set using the command *ADR nn", where "nn" is the pump's network
address from 0 to 99. If only one pump is in the network, leave the addres at the default address of 0.
This will simplify communications because the address can be left off the commands sent to the pump.

To set the network address, individually attach each pump to the computer. Disconnect the network cable
from the "Network" connector on the pump. Using the "*ADR nn" command, send a unique address to
each pump from 0 to 99. This operation only has to be performed once. The set address will be stored in
the pump's non-volatile memory and will take affect immediately. Once the set address command is sent,
the pump will only respond to commands sent to the set address.

To query a pump's current network address, send the command "*ADR" without any parameters. The
pump will respond with its current pump address in the response packet's data field.

8.3 RS-232 Protocol

When the pump is used in a multi-pump network configuration, precede each command with a pump
address. Pumps will ignore all commands that do not have their defined network address. If the network
address is not specified in the command, the address will default to 0.

After a command is sent to the pump, the pump will not accept any further communications until the
current command has been processed. Completion of the command processing is indicated when the first
byte of the response packet is transmitted

Advertising
This manual is related to the following products: