GSE 60 SERIES Technical Reference Manual page 301

Programmable process controllers
Table of Contents

Advertisement

Example:
Canceling a Deactivation Delay Without
Invoking a Macro
If the deactivation delay of setpoint #2 expires
precisely after the operator presses [STOP], macro
#9 will be pushed on the stack. Removing macro
#9 from the stack prevents it from being invoked
should this happen.
===================================
5099%s2%e
SPT #2
5100%s1%e
SPTyp Outpt
5101%sMIXER%e
SPNam MIXER
5110%s5%e
Activ Never
5111%s0.00%e
AcDly 0.00
5112%s0%e
AcMac None!
5130%s4%e
Deact Alwys
5131%s60.00%e
DeDly 60.00
5132%s9%e
DeMac
5133%s0%e
DeMtn Ing'd
MACRO #6 – MANUAL START
start mixer
2%A
Mixing...P4,1c%C
MACRO #7 – MANUAL STOP
stop mixer
2:0%D
9%B
clear macro from stack
Mixer Stopped!P4,1c%C
MACRO #9 – MIX COMPLETE
Mix Complete!P4,1c%C
See Also
Deactivate Setpoint
[ L | U ] < setpoint# > [ : delay ] %D
Deactivates any setpoint configured as an output or disabled.
A deactivation delay can be specified to postpone the deactivation of a
setpoint after the %D command is executed. Specifying a delay overrides
the deactivation delay setting at P5111. If a deactivation delay has not
expired before issuing another deactivation delay for the same setpoint,
the delay timer is reset to the new delay time. Macros assigned at P5112
to be invoked upon deactivation of a setpoint will not execute until the
deactivation delay time has expired. If delay is omitted from the
deactivation command, the macro assigned at P5112 will not be invoked
unless a delay time is specified at P5111. If delay is specified with a value
of zero (0), then any delay specified at P5111 is cancelled and the macro
assigned at P5112 will not be invoked.
i
Deactivating a setpoint with a delay of zero (0) does not guarantee
that the macro specified at P5112 will not be invoked. If a
9
deactivation delay was already in progress, the delay may have
expired during execution of the macro that is supposed to cancel the
delay, causing that macro to be placed on the macro stack and to be
invoked upon completion of the cancellation macro. To prevent this,
always clear the unwanted macro from the stack immediately after
canceling the deactivation delay (see example – Canceling a
Deactivation Delay Without Invoking a Macro).
Setpoints can also be "locked" in a deactive state to prevent unwanted
activation. This technique is often used in emergency stop routines to
prevent outputs from activating when the normal activation condition
occurs. A deactive-locked setpoint cannot be activated by any means. It
must first be unlocked before being activated. Note that unlocking a
setpoint does not automatically change its state.
1%D
1:10%D
5:0%D
L1%D
U1%D
%A Activate Setpoint
%F
If Setpoint Deactivated
Deactivates setpoint 1 immediately unless a delay is
specified at P5131. A macro specified at P5132 will
not be invoked unless a delay is specified at P5131.
Deactivates setpoint 1 in 10 seconds. A macro
specified at P5132 will be invoked after the 10
second delay regardless of any delay specified at
P5131.
Deactivates setpoint 5 immediately. A macro
specified at P5132 will not be invoked.
Deactivate and lock setpoint 1 immediately without
invoking the macro specified at P5132.
Unlock setpoint 1 without changing its state. No
macros are invoked as a direct result of this
command.
60 Series Technical Reference Manual
Macros 9-53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents