31.12.2014 Views

TB19 Universal Driver Software Tool - Isco

TB19 Universal Driver Software Tool - Isco

TB19 Universal Driver Software Tool - Isco

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Universal</strong> <strong>Driver</strong> <strong>Software</strong> <strong>Tool</strong><br />

For Teledyne <strong>Isco</strong> D-Series Syringe Pumps<br />

Syringe Pump Technical Bulletin<br />

<strong>TB19</strong><br />

Overview<br />

The <strong>Universal</strong> <strong>Driver</strong> from Teledyne <strong>Isco</strong> is a<br />

serial software driver that can translate commands<br />

for a variety of compilers. When you are creating<br />

programs for D Series syringe pumps, the driver<br />

converts serial commands to DASNET<br />

communications protocol, sends them to the serial<br />

port, and waits for a serial response.<br />

ClosePort terminates the connection to the<br />

instrument.<br />

3. RemotePump.exe is an example of a simple program<br />

for controlling a syringe pump, created<br />

with an early version of a C compiler.<br />

Note<br />

Basic LabView operation is described in detail in TB06<br />

Basic Operation of LabView <strong>Tool</strong>kit.<br />

Where to Find the <strong>Driver</strong><br />

A copy of the driver can be found on the CD<br />

included in the back of your D-Series pump user<br />

manual. It can also be downloaded from:<br />

http://www.isco.com/products/<br />

appnotes.aspPL=105.<br />

Open the <strong>Software</strong> Utilities folder and select<br />

<strong>Universal</strong> D-Series Pump driver to download the<br />

utility to a zip folder. Extract the sub folder named<br />

"Remote Pump."<br />

Associated Files<br />

This folder contains the following three files:<br />

Figure 1: Example program RemotePump.exe<br />

Serial Commands<br />

A table of the serial commands recognized by<br />

Teledyne <strong>Isco</strong> syringe pumps is provided on the<br />

following pages.<br />

1. Dasnet.dll allows your serial commands to be<br />

entered into the compiler following DASNET protocol.<br />

Consult your compiler’s documentation or<br />

manufacturer for specific information about utilizing<br />

the driver.<br />

2. Dasnet Functions.txt provides the functions<br />

required for calling the driver.<br />

SendCommand is used prior to all serial commands,<br />

and contains the following instructions:<br />

❍ char *command<br />

opens the port and sends null terminated string<br />

❍ int pID<br />

refers to pump ID<br />

❍ int port<br />

refers to the COM port: 0 for port 1,<br />

1 for port 2, etc.<br />

❍ int rate<br />

refers to baud rate<br />

❍ int time_limit<br />

= time out interval for port opening<br />

❍ char *reply<br />

= reply buffer (reply [190] for longest response<br />

string)


Syringe Pump Technical Bulletin <strong>TB19</strong><br />

Serial Commands<br />

Table 1 is a list of the serial commands<br />

recognized by the pump. These commands are the<br />

message part of the DASNET protocol. The operand<br />

always follows the equals sign. Before any command<br />

that changes the operation of the pump can be<br />

accepted, the REMOTE command (listed in this<br />

table) must be sent once.<br />

When setting a value, the command will always<br />

be followed by the equal (=) sign.<br />

Table 1: Serial Commands<br />

Command<br />

%B=#<br />

ALOG1<br />

ALOG2<br />

ALOG3<br />

ALOG4<br />

ALOG5<br />

CLEAR<br />

CONTIN CONST FLOW<br />

CONTIN CONST PRESS<br />

CONST FLOW<br />

CONST FLOWB<br />

CONST FLOWC<br />

CONST PRESS<br />

CONST PRESSB<br />

CONST PRESSC<br />

DIGITAL<br />

DIGITAL = xxxxxxxx<br />

1 8<br />

Description<br />

Enter # for percentage of modifier.<br />

Status of the analog voltage input on pin 21, P114. See<br />

NOTE 1.<br />

Status of the analog voltage input on pin 15, P107 auxiliary<br />

DB25 connector and on analog input 3 of the<br />

accessory connector. See NOTE 1.<br />

Status of the analog voltage input on analog input 2 of<br />

the accessory connector.<br />

See NOTE 1.<br />

Status of the analog voltage on analog input 1 of the<br />

accessory connector.<br />

See NOTE 1.<br />

Status of the analog voltage input on pin 2, P107 auxiliary<br />

DB25 connector.<br />

See NOTE 1.<br />

Stops all motors, sets flow rate and pressure setpoints<br />

to zero.<br />

Puts pump in continuous flow under constant flow<br />

mode.<br />

Puts pump in continuous flow under constant pressure<br />

mode.<br />

Put pump in constant flow mode.<br />

Put pump in constant pressure mode.<br />

Returns the status (High or Low) of the digital outputs.<br />

Format is digital = xxxxxxxx, where “x” is either “H” or<br />

“L”. The status order returned corresponds with the<br />

outputs 1—8.<br />

Sets the digital output either High or Low, where “x” is<br />

either “H” or “L”. The order corresponds with the outputs<br />

1—8.<br />

Table 1: Serial Commands (Continued)<br />

Command<br />

DIG CONTROL<br />

DIG CONTROL =<br />

xxxxxxxx<br />

1 8<br />

FLOW<br />

FLOWA<br />

FLOWB<br />

FLOWC<br />

FLOW=#<br />

FLOWB=#<br />

FLOWC=#<br />

G<br />

G&<br />

IDENTIFY<br />

INDEPENDENT<br />

IPUMPA=1, IPUMPA=0<br />

IPUMPB=1, IPUMPB=0<br />

IPUMPC=1, IPUMPC=0<br />

Description<br />

Returns the status of the digital output control bits as<br />

either REMOTE (R) or INTERNAL (I). The return message<br />

format is DIG CONTROL=xxxxxx, where “x” is<br />

either “R” or “I”. “R” indicates the corresponding bit is<br />

controlled remotely; and “I” indicates the corresponding<br />

bit is controlled internally by pump software. The<br />

status order returned corresponds with the<br />

outputs 1—8.<br />

Sets the digital output control bits to either internal or<br />

remote, where “x” is either “R” for REMOTE or “I” for<br />

INTERNAL CONTROL. “R” indicates the corresponding<br />

bit will be controlled remotely (through the serial port).<br />

“I” indicates the corresponding bit will be controlled<br />

internally by pump software. The order corresponds<br />

with the outputs 1—8.<br />

Returns the delivering pump’s flow rate in continuous<br />

pumping mode and modifier addition mode. In INDE-<br />

PENDENT mode it returns the pump A flow rate.<br />

Returns the actual flow rate of the pump.<br />

Returns the actual flow rate of the pump Enter # for a<br />

flow rate setpoint (constant flow mode). Format is<br />

XXX.XXXXXXX ml/min. Only 5 figures are significant.<br />

Leading and trailing zeros are not required.<br />

Gets pump information. “G” returns a text string that<br />

contains current pressure, analog input, and digital<br />

input information. “G&” is the Get All command. This<br />

returns the same information as “G,” plus flow rates,<br />

units, operation status, and more. Refer to Section 6 of<br />

your manual for a complete description of this serial<br />

command.<br />

Pump responds “SERIES=1240-0___, MODEL ____D<br />

PUMP; REV__.” For each pump, REV__ is the internal<br />

pump program software revision. (For example, if the<br />

controller was attached to two 100DMs, the message<br />

would read “SERIES=1240-024, MODEL 100DM PUMP;<br />

SERIES=1240-024, MODEL 100DM; REV__.”) The series<br />

number is the original catalog number for the pump<br />

type. It may not match the production series number on<br />

the pump serial label.<br />

SERIES=1240-024, MODEL 100DM PUMP<br />

SERIES=1240-027, MODEL 100DX PUMP<br />

SERIES=1240-021, MODEL 260D PUMP<br />

SERIES=1240-025, MODEL 500D PUMP<br />

SERIES=1240-052, MODEL 1000D PUMP<br />

SERIES=1240-063, MODEL 65D PUMP<br />

Put pumps in Independent mode.<br />

Turns the pressure integral control On and Off for the<br />

pump indicated.<br />

1 = ON<br />

0 = OFF


Syringe Pump Technical Bulletin <strong>TB19</strong><br />

Table 1: Serial Commands (Continued)<br />

Table 1: Serial Commands (Continued)<br />

Command<br />

Description<br />

Command<br />

Description<br />

LGGO<br />

LGSL,F:xx<br />

LGDL,F:xx,S:xx<br />

LGUL,F:xx,S:xx<br />

LIMITS<br />

LIMITSB<br />

LIMITSC<br />

LOCAL<br />

MAXFLOWA=#<br />

MAXFLOWB=#<br />

MAXFLOWC=#<br />

MAXFLOWA<br />

MAXFLOWB<br />

MAXFLOWC<br />

MAXPRESSA=#<br />

MAXPRESSB=#<br />

MAXPRESSC=#<br />

MAXPRESSA<br />

MAXPRESSB<br />

MAXPRESSC<br />

MFLOWA=#<br />

MFLOWB=#<br />

MFLOWC=#<br />

MFLOWA<br />

MFLOWB<br />

MFLOWC<br />

MINFLOWA=#<br />

MINFLOWB=#<br />

MINFLOWC=#<br />

MINFLOWA<br />

MINFLOWB<br />

MINFLOWC<br />

MINPRESSA=#<br />

MINPRESSB=#<br />

MINPRESSC=#<br />

Start Gradient Command. This starts a gradient program<br />

(same as the “RUN” key). This command will<br />

check to see if there is a gradient running and respond<br />

with “RUNNING” if there is.<br />

Select Gradient File Command. This selects a gradient<br />

file to be run. This command will reset the controller to<br />

the saved file gradient type. If the selected gradient file<br />

does not exist, the controller will respond with “PROB-<br />

LEM=INVALID OPERAND.”<br />

Gradient Step Download command. This downloads a<br />

step from the pump to the PC. This command will<br />

respond with “PROBLEM=INVALID OPERAND” if the<br />

file or step does not exist. The controller will respond<br />

with step information if the command is valid. Refer to<br />

your manual for complete information on Gradient step<br />

download commands.<br />

Gradient Step Upload command. This transfers a step<br />

from the PC to the controller. Refer to your manual for<br />

complete information on Gradient step download commands.<br />

Returns the pressure and flow rate limits.<br />

Returns the instrument to local control. Front panel<br />

control is enabled and all motors are stopped (if control<br />

was previously remote).<br />

Enter # to designate the maximum flow rate setpoint.<br />

Returns the maximum flow rate setpoint.<br />

Enter # to designate the maximum pressure setpoint.<br />

Returns the maximum pressure setpoint.<br />

Enter # to designate the maximum flow limit in constant<br />

pressure mode.<br />

Returns the maximum flow limit setpoint.<br />

Enter # to designate the minimum flow rate setpoint.<br />

Returns the minimum flow rate setpoint.<br />

Returns the minimum flow rate setpoint.<br />

MINPRESSA<br />

MINPRESSB<br />

MINPRESSC<br />

MODIFIER<br />

PRESS=#<br />

PRESSB=#<br />

PRESSC=#<br />

PRESS<br />

PRESSA<br />

PRESSB<br />

PRESSC<br />

PRESSCNTRLDIFF1<br />

PRESSCNTRLDIFF1=XX<br />

XXX<br />

PRESSCNTRLDIFF2<br />

PRESSCNTRLDIFF3<br />

PRESSCNTRLNORM<br />

PRESSDIFF=XXXXX<br />

PRESSDIFF<br />

RANGEA<br />

RANGEB<br />

RANGEC<br />

RAPIDA<br />

RAPIDB<br />

RAPIDC<br />

REFILL<br />

REFILLB<br />

REFILLC<br />

REFILL=#<br />

REFILLB=#<br />

REFILLC=#<br />

REMOTE<br />

RLIMITA<br />

RLIMITB<br />

RLIMITC<br />

RSVP<br />

RSVPB<br />

RSVPC<br />

RUN<br />

RUNB<br />

RUNC<br />

Returns the minimum pressure setpoint.<br />

Put pumps in modifier addition mode.<br />

Enter # to designate pressure setpoint (constant pressure<br />

mode).<br />

Returns the delivering pump pressure in continuous<br />

pumping mode and modifier addition mode. In INDE-<br />

PENDENT mode it returns the pump A pressure.<br />

Returns the actual pressure of the pump.<br />

Sets the pressure control input to Analog input 1, with a<br />

pressure range of 50 psi.<br />

Sets the pressure control input to Analog input 1 and<br />

sets the pressure range. The range is 1 to 5000. the<br />

units are psi, with a value of 5000 representing 5000 psi<br />

at 5 volts.<br />

Sets the pressure control input to Analog input 2, with a<br />

pressure range of 500 psi at 5 volts.<br />

Sets the pressure control input to Analog input 2, with a<br />

pressure range of 5000 psi at 5 volts.<br />

Sets the pressure control input to the standard input.<br />

Differential pressure setpoint. (PSI*10) 0 to 50,000 maximum<br />

(0 to 5000 psi)<br />

Reads the differential pressure value. (PSI*10) The<br />

transducer can also be read via the “ANGLx” serial<br />

commands.<br />

Provides scaling information for the system parameters.<br />

See your manual for more information about this<br />

serial command.<br />

Activates the automatic rapid pressurization cycle<br />

(constant flow mode only).<br />

Move cylinder to bottom at preset refill rate.<br />

Enter # to designate refill rate.<br />

Disables controller front panel control and enables all<br />

serial commands. Stops all motors (if control was previously<br />

local).<br />

Returns the refill flow rate limit.<br />

Pump responds with “READY” message.<br />

Same as front panel. Initiates pumping.


Syringe Pump Technical Bulletin <strong>TB19</strong><br />

Table 1: Serial Commands (Continued)<br />

Command<br />

SETFLOWA<br />

SETFLOWB<br />

SETFLOWC<br />

SETPRESSA<br />

SETPRESSB<br />

SETPRESSC<br />

STATUSA<br />

STATUSB<br />

STATUSC<br />

STOP<br />

STOPB<br />

STOPC<br />

UNITSA=<br />

VOLA<br />

VOLB<br />

VOLC<br />

VOLTOT<br />

VOL RESET<br />

ZEROA<br />

ZEROB<br />

ZEROC<br />

ZERODIFF1<br />

ZERODIFF2<br />

ZERODIFF3<br />

Description<br />

Returns the flow rate setpoint.<br />

Returns the pressure setpoint.<br />

Returns with status of pump. May be any combination<br />

of responses listed below.<br />

STATUS=STOPPROBLEM=OVER PRESSURE<br />

RUNUNDER PRESSURE<br />

REFILLCYLINDER FULL<br />

HOLDCYLINDER EMPTY<br />

EQUIL.MOTOR FAILURE<br />

LOCAL<br />

REMOTE<br />

EXTERNAL<br />

Same as front panel, except that pump remains under<br />

remote serial control.<br />

Enter the desired flow or pressure units after the equal<br />

sign. Acceptable values are: ATM, BAR, KPA, PSI, ML/<br />

MIN, ML/HR, UL/MIN, UL/HR. (Sets all pumps.)<br />

Return the volume remaining in cylinder in ml. Format is<br />

“XXX.XXXX” ml.<br />

Returns the total volume delivered when using continuous<br />

flow or modifier.<br />

Will reset the volume total to zero.<br />

“Zeros” the pressure sensor offset for analog input 1.<br />

“Zeros” the pressure sensor offset for the respective<br />

analog input.<br />

NOTE 1: The analog input range is -1.5 to 11.6 volts. There is NO conversion of the<br />

returned number. The number returned (0 to 65535 decimal) will have an offset of<br />

7500 added to the number (7500 = 0 volts) and a scale of 5000 for every 1 volt, for<br />

example:<br />

number 7500<br />

= volts<br />

5000<br />

(32500 7500)<br />

5000<br />

= 5 volts<br />

NOTE 2: The only pump B commands accepted in continuous pumping mode or<br />

modifier addition mode are: %B, FLOWB, LIMITSB, PRESSB, REFILLB, REFILLB=,<br />

STATUSB, VOLB.<br />

%B=#<br />

Enter # for percentage of modifier.<br />

Teledyne <strong>Isco</strong><br />

P.O. Box 82531, Lincoln, Nebraska, 68501 USA<br />

Toll-free: (800) 775-2965 • Phone: (402) 464-0231 • Fax: (402) 465-3001<br />

E-mail: <strong>Isco</strong>Service@teledyne.com<br />

Teledyne <strong>Isco</strong> is continually improving its products and reserves the right to change product<br />

specifications, replacement parts, schematics, and instructions without notice.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!