Watson-Marlow 505Di User Manual
Page 6

6
nZY
Show status if pump n STARTed 1 or STOPped 0
nTC
Clear tachometer counter
nRT
Read tachometer counter
For writing to pump number n display
nCA
Clear existing display; followed by:
nCH
"Home" cursor; followed by;
nW{text line 1}~{text line 2}@ ( @ = terminator )
Notes on control codes
1
n = pump number set in Set-up. For the command to operate on all networked pumps simultaneously, use # before
the command.
2
There are 800 tacho pulses per pumphead revolution on the 350rpm version, 1280 tacho pulse per revolution on the
220rpm version.
3
nDOxxxxxxxx where xxxxxxxx is any integer and is the target dose in tacho pulses. This can be extended to
nDOxxxxxxxx,yyy where yyy is a "kick back" in tacho pulses with a limit of 255 (about 1/5 of a revolution on a
220rpm drive or a 1/3 of a revolution on the 350rpm drive).
4
A show status command will prompt the 505Di to return a text string of the following layout:
[pump type] [ml/rev] [pumphead] [tube size] [speed] [cw/ccw] [P/N] [pump number] [tacho count as a single integer]
[stopped/running, 0 /1] [! = delimiter]
e.g. 505Di 0.7 505l 1.6mm 53.5 CW P/N 1 157810 1 !
5
All networked pumps with the same n will respond to the same command.
6
There should be at least 10mS between consecutive commands.
7
When using the # to address all pumps, ensure that it will not generate a reply, e.g. nSS, the result will be
unpredictable.
This is a typical short program for pump number 2:
OPEN "COM1:9600,N,8,2,CDO,CSO,DSO,OP10000" FOR RANDOM AS #1
PRINT #1, "2SP220" + CHR$(13)
DELAY
PRINT #1, "2GO" + CHR$(13)
DELAY 5000
PRINT #1, "2ST" + CHR$(13)
CLOSE #1.
RS232 Remote dosing
The following commands enable a remote dose to be requested and repeated.
Note that in accordance with the existing command set, the ‘nn’ field can be either one or two decimal numeric
characters in the range 01 to 16. Or the single character ‘#’ for a broadcast command.
All commands are terminated with Carriage Return (0x0D). All characters are ASCII.
Program Dose
The syntax of the command to program a dose into the pump is given below. No response is given. The programmer is
advised to check that the command has been correctly received by issuing the ‘nnPD?’ command.
nnPDdddddKRssssSED
where
PD
Program Dose Command Characters
ddddd
Five character dose size in the range .0001 to 99999 with leading and trailing zeros to form a fixed size
field. E.g. 10 is programmed 10.00
K
Dose size modifier. This determines the scale of the dose size 'ddddd'. The modifier may only consist of three
characters these are:
l
Dose size is in litres
m
Dose size in millilitres
u
Dose size in microlitres
R
Direction of rotation. This is a single character: