
58
IQ plus 710 Installation Manual
9.2.2
Example 2
The following example uses a combination of macros
and batch routines to control a filling operation. The
operation includes filling a container with two
ingredients, pausing the batch for a mixing operation,
then adding a third ingredient.
With the indicator in setup mode, the following EDP
commands are sent to program the setpoints and
assign prompts used by the macros.
SETPOINT=1
KIND=NETSP
VALUE=5
TRIP=HIGHER
BATCH=ON
DIGOUT=1
SETPOINT=2
KIND=NETSP
VALUE=10
TRIP=HIGHER
BATCH=ON
DIGOUT=2
SETPOINT=3
KIND=PAUSE
DIGOUT=3
SETPOINT=4
KIND=NETSP
VALUE=15
TRIP=HIGHER
BATCH=ON
DIGOUT=4
SETPOINT=5
KIND=WAITSS
PSHPRINT=ON
DIGOUT=NONE
SETPOINT=6
KIND=PAUSE
DIGOUT=5
SETPOINT=7
KIND=GROSSSP
VALUE=0
TRIP=HIGHER
BATCH=ON
DIGOUT=6
BATCHNG=MANUAL
PROMPT#1=ADD BUCKET
PROMPT#2=MIX PAINT
PROMPT#3=REMOVE BUCKET
Digital input 1 is connected to a batching switch and
configured as a BATRUN input. The batching switch
must be on to enable the STRTBAT (batch start)
commands in the macros.
Digital inputs 2–4 are wired from digital outputs 3, 5,
and 6: When the setpoints associated with the digital
outputs are tripped, the output activates the digital
input to start the next macro.
DIGIN1=BATRUN
DIGIN2=KF2
DIGIN3=KF3
DIGIN4=KF1
The macros shown below begin when the operator
presses the F1 macro key:
1. MACRO 1 displays the prompt
ADD BUCKET
on the secondary display and waits for scale
motion caused by the operator placing the
bucket on the scale. When scale motion stops,
the pause is released and the macro continues.
MACRO 1
MACRO1.STRTBAT=ON
MACRO1.K01=PAUSREL.MOTION
MACRO1.K01=NAME.1
MACRO1.K02=KTARE
2. The macro performs a tare operation, taring
the bucket weight and placing the indicator in
net mode.
3. The
STRTBAT=ON
macro statement starts the
batch once the tare operation is complete.
4. The batch starts, adding Ingredient A until the
b u c k e t n e t w e i g h t r e a c h e s 5 L B ( s e e
SETPOINT 1
configuration above). When
setpoint 1 trips,
DIGOUT 1
goes off and
Ingredient A stops filling.
5. Setpoint 2 adds Ingredient B until the bucket
net weight reaches 10 LB (see
SETPOINT 2
configuration above). When setpoint 2 trips,
DIGOUT 2
goes off and Ingredient B stops
filling.
6. Setpoint 3 is a pause setpoint used to activate
digital output 3. Digital output 3 is wired to
DIGIN2 as a KF2 (press MACRO key F2)
input and starts MACRO 2.