6 getting started with rs-232 – Next Advance SP570-M User Manual
Page 36
NEXT>>>ADVANCE
www.nextadvance.com
SP500 series OEM Programmable Syringe Pump
NE500 series manual
31
Revision 101101
MASTER PROGRAM RESET
* RESET
Clears program memory and resets communication parameters to Basic mode and address 0.
This is a special system command that will be accepted by the pump regardless of its current address.
8.6 Getting Started With RS-232
Before beginning to develop pump control software for a computer, first setup and experiment with the
pump’s communication. After attaching the pump to the computer, run a terminal emulation Program on
the computer. A generic terminal emulator, supplied as standard software with many computers, can be
used to communicate with the pump in the Basic communications mode.
Next Advance Inc. supplies a terminal emulator, for demonstration purposes only, which allows more
complex control of the pump. Also, this terminal emulator contains a “Pump Programming Language”
(PPL™), which allows Pumping Programs to be developed using symbolic text, modified, and stored in
computer files, then downloaded to the pump.
With a generic terminal emulator, setup the terminal emulator with the same baud rate as the pump and
with an 8 bit data, no parity, and 1 stop bit (8N1) data frame. Set the communications port to the port that
is attached to the pump. Also enable local echo (half-duplex) and turn flow control off.
From the terminal emulator, you can interactively control the pump by typing in commands on your
computer and seeing the pump’s responses on your screen. This will give you a feel for how the
commands work in addition to allowing you to quickly develop the control sequence that will eventually
be coded into the software being developed.
The final benefit of using a terminal emulator is the elimination of several variables if the control software
does not work properly. If the pump works correctly with the terminal emulator, then this verifies that the
hardware is working properly and will work with any software. Any communications problems can then
be narrowed down to the control software.