GSE 60 SERIES Technical Reference Manual page 291

Programmable process controllers
Table of Contents

Advertisement

Example:
Locking a Setpoint During a Weight
Surge
This setup operates a fill output with setpoint #1.
When [START] is pressed, setpoint #1 activates
and locks. This prevents the initial product surge
from deactivating the fill output prematurely.
After a 2-second delay, setpoint #200 deactivates
invoking macro #12. This unlocks the fill output
after the weight surge allowing the output to
eventually deactivate at the appropriate weight.
===================================
5099%s1%e
SPT #1
5100%s1%e
SPTyp Outpt
5101%sFILL%e
SPNam FILL
5110%s5%e
Activ Never
5111%s0.00%e
AcDly 0.00
5112%s0%e
AcMac None!
5130%s0%e
Deact Above
5131%s0.00%e
DeDly 0.00
5132%s13%e
DeMac Mc 13
5133%s0%e
DeMtn Ign'd
5134%s80.5%e
DLPar TARGET
5150%s1.0%e
CmPar Net
5099%s200%e
SPT #200
5100%s1%e
SPTyp Outpt
5101%sSPIKE%e
SPNam SPIKE
5110%s5%e
Activ Never
5111%s0.00%e
AcDly 0.00
5112%s0%e
AcMac None!
5130%s5%e
Deact Never
5131%s0.00%e
DeDly 0.00
5132%s12%e
DeMac Mc 12
MACRO #6 – START FILL
lock output
L1%A
200%A
activate timer
start spike delay
200:2%D
MACRO #12 – UNLOCK FILL OUTPUT
unlock output
U1%A
MACRO #13 – FILL COMPLETE
Fill Done!%S%P
prompt
i
Activating a setpoint with a delay of zero (0) does not guarantee that
the macro specified at P5112 will not be invoked. If an activation
delay was already in progress, the delay may have expired during
execution of the macro that is supposed to cancel the delay,
resulting in that macro being placed on the macro stack and invoked
upon completion of the cancellation macro. To prevent this, always
clear the unwanted macro from the stack immediately after
canceling the activation delay (see example – Canceling an
Activation Delay Without Invoking a Macro).
Setpoints can also be "locked" in an active state to prevent unwanted
deactivation. This technique is often used in filling applications where the
initial surge of product can actually spike the weight reading above the
target value, potentially deactivating the setpoint prematurely (see
example – Locking a Setpoint During a Weight Surge). An active-locked
setpoint cannot be deactivated outside the setup mode by any means. It
must first be unlocked before being deactivated. Note that unlocking a
setpoint does not automatically change its state.
1%A
Activates setpoint 1 immediately unless a delay is
specified at P5111. A macro specified at P5112 will not
be invoked unless a delay is specified at P5111.
1:10%A
Activates setpoint 1 in 10 seconds. A macro specified at
P5112 will be invoked after the 10 second delay
regardless of any delay specified at P5111.
5:0%A
Activates setpoint 5 immediately. A macro specified at
P5112 will not be invoked.
L1%A
Activate and lock setpoint 1 immediately without
invoking the macro specified at P5112.
U1%A
Unlock setpoint 1 without changing its state. No macros
are invoked as a direct result of this command.
17-32%A
Activates setpoints 17 through 32 immediately unless a
delay is specified at P5111. A macro specified at P5112
will not be invoked unless a delay is specified at P5111.
A group of setpoints can be activated by specifying a range and/or comma
delimited list of setpoint numbers. The criteria for activation delays,
invoking macros are the same as previously described.
1,3,5%A
Activates setpoints 1, 3 and 5.
1-8,15,16%A
Activates setpoints 1 through 8, 15 and 16.
1-4,5:10%A
Activates setpoints 1 through 4 immediately and
activates setpoint 5 after a 10 second delay.
When locking or unlocking a group of setpoints, only the setpoints listed
without a delay time will be locked or unlocked. Those with a specified
delay time will activate when the delay expires.
L1,3,5%A
Activates and locks setpoints 1, 3 and 5.
U1,3,5%A
Unlock setpoints 1, 3 and 5.
60 Series Technical Reference Manual
Macros 9-43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents