Next Advance SP2200 User Manual

Page 20

Advertising
background image

NEXT>>>ADVANCE

www.nextadvance.com

SP2200Programmable Syringe

Pump

Publication #1200-02

15

04/29/10

7.3.12 Jump to Phase If External Trigger

Command: "FUN IF nn"

The ‘IF’ function conditionally alters the Pumping Program’s execution based on an external signal.

When executed, if the TTL I/O Program Input pin (pin 6) is low level, then the Pumping Program continues
operation with Phase number ‘nn’. Otherwise, the Pumping Program continues operation with the next Phase.

7.3.13 Setup Event Trigger Jump Phase

Command: "FUN EVN nn"

The ‘Event’ function sets a background event trap that is triggered by an external signal.

This one time background trap, or interrupt, stays set during the Pumping Program’s entire execution until it is
triggered or reset. This function has no other affect on the operation of the pump until it is triggered.

The event is triggered when either:

1) A falling edge (high to low TTL transition) occurs on the TTL ‘Event Trigger’ input (pin 4) or
2) A low level on the ‘Event Trigger’ input pin at the time when the function is executed.

When triggered, the current operation of the pump and the Pumping Program is interrupted, and the Pumping
Program immediately continues operation (jumps to) with Phase number ‘nn’.

After being triggered, the event trigger is reset. If an event trigger function is executed while another event trap
is still set, the new event trigger will replace the previous event trap.

7.3.14 Setup Event Square Wave Trigger Jump Phase

Command: "FUN EVS nn"

The 'Event Square Wave' function operates the same as the 'EVN' 'Event' function, with the exception of the
triggering conditions.

This function will trigger on either the rising or the falling edge of the TTL 'Event Trigger' input (pin 4).

Therefore, a square wave function on the inupt pin can be used to toggle the pump between 2 sections of a
Pumping Program. An example of this would be a Pumping Program that switched between a slow and fast
pumping rate, controlled by a square wave input.

7.3.15 Setup Expansion Port Event Trigger Jump Phase

Command: "FUN EVE <expansion pin>"

The ‘Event’ function sets a background event trap that is triggered by an external signal on a specific
Expansion Port connector pin. See sec. 9, “Logic Interface: TTL Input and Output” for detailed information
about the Expansion Port.

This command is used in conjunction with the “FUN EVN” command. After setting an event trap with the
“FUN EVN” function, the “FUN EVE” function re-directs the event trigger source to pin <expansion pin> on
the expansion port.

This one time background trap, or interrupt, stays set during the Pumping Program’s entire execution until it is
triggered or reset. This function has no other affect on the operation of the pump until it is triggered.

The event is triggered only when a falling edge (high to low TTL transition) is detected on the expansion port
pin <expansion pin>.

Advertising