
Macro Programming
59
MACRO 2
MACRO2.STRTBAT=ON
MACRO2.K01=PAUSREL.MOTION
MACRO2.K01=NAME.2
7. MACRO 2 displays the prompt
MIX PAINT
on
the secondary display and waits for scale
motion caused by the operator mixing the
paint. When scale motion stops, the pause is
released and the macro restarts the batch
sequence at Setpoint 4.
8. Setpoint 4 adds Ingredient C until the bucket
net weight reaches 15 LB (see
SETPOINT 4
configuration).When setpoint 4 trips,
DIGOUT
4
goes off and Ingredient C stops filling.
9. Setpoint 5 waits for standstill then prints
ticket using the SPFMT ticket format.
10. Setpoint 6 is a pause setpoint used to activate
digital output 5. Digital output 5 is wired to
DIGIN3 as a KF3 (press MACRO key F3
input and starts MACRO 3.
MACRO 3
MACRO3.STRTBAT=ON
MACRO3.K01=PAUSREL.COZ
MACRO3.K01=NAME.3
MACRO3.K02=KZERO
11. MACRO 3 displays the prompt
REMOVE
BUCKET
on the secondary display and waits
until the gross weight on the scale goes to
zero. When the scale reaches center of zero,
the pause is released and the macro zeroes the
scale (KZERO command) and restarts the
batch at Setpoint 7.
12. Setpoint 7 checks that the gross weight on the
scale is zero, then activates digital output 6.
Digital output 6 is wired to DIGIN4 as a KF1
(press MACRO key F1) input and starts
MACRO 1 again.