beautypg.com

2 ttl i/o control from the pumping program, 3 ttl i/o control from rs-232 – Next Advance SP2200 User Manual

Page 45

background image

NEXT>>>ADVANCE

www.nextadvance.com

SP2200Programmable Syringe

Pump

Publication #1200-02

40

04/29/10

9.2 TTL I/O Control from the Pumping Program

Various Pumping Program functions can define how the pump reacts to levels on the TTL I/O connector or set
output levels. These are summarized in the following table:

Pumping
Program
Function

TTL I/O Control Pin

Pin #

Action

FUN OUT

Program Output

5

Set logic level output to ‘n’

FUN EVN Event Trigger

4

Low level when executed or a falling edge afterward,
until canceled, causes a jump to Phase ‘nn’

FUN EVS

Event Square wave
Trigger

4

Rising or falling edge triggers a jump to Phase 'nn'

FUN IF

Program Input

6

Low level causes a jump to Phase ‘nn’

FUN PAS 00

Operational Trigger

2

Trigger activation resumes Program operation

The Following Program Functions refer to and only work with any of the Expansion Connecotr TTL pins::
Pumping Program
Function
FUN PRI

Sub-Program Selection

FUN PRL

Sub-Program Start Label

FUN OE0

Set pin low (0)

FUN OE1

Set pin high (1)

FUN EPL

Pause Pumping Program and wait for edge or level trigger

FUN EPE

Pause Pumping Program and wait for edge trigger

FUN EVE

Set event trap

9.3 TTL I/O Control from RS-232

The logic levels of pins 2, 3, 4, and 6, plus the 5 Expansion Connector pins, can be queried from an attached
computer using the RS-232 ‘IN’ command.

The output logic level of pin 5, plus the 5 Expansion Connecotr pins, can be set with the RS-232 ‘OUT’
command
The expansion I/O connector on the PCB can be queried or set.