GSE 60 SERIES Technical Reference Manual page 404

Programmable process controllers
Table of Contents

Advertisement

9-156 Chapter 9
GSE Scale Systems
I
A
I
NVOKING
N
NTERRUPT
Interrupt macros can only be invoked for immediate execution An
interrupting macro is essentially 'called' when invoked, eventually returning
to the next macro command of interrupted macro. The following example
shows the sequence of macro execution if a macro is interrupted. Note
that the interruption could have occurred after any command in the
interrupted macro.
INTERRUPTED MACRO
80.1P=0.0P%o
80.2P=1.0P%o
80.3P=2.0P%o
<<<INTERRUPT>>>
80.4P=3.0P%o
80.5P=6.0P%o
INTERRUPTING MACRO
1%Q
2%A
Although a macro interrupt will stop the execution another macro, it will not
stop the execution of individual macro commands. In other words, the last
macro command will perform it's function before the interrupt macro is
executed. There are a few exceptions to this rule. For example, the %G
Get Operator Entry command halts macro execution until the [ENTER] key
is pressed. This would obviously be a problem if the operator walked
away from the scale without completing an entry in process. The %G
command would not have completed its function and the interrupt macro
would be put on hold indefinitely. To avoid this potential problem, entry
commands and various other operator interface and motion delayed macro
commands are allowed to be terminated before completing their function.
Table 9-10 lists all macro commands allowed to be interrupted
immediately without completing their functions.
Table 9-10: Interruptible Macro Commands
C
D
OMMAND
ESCRIPTION
%G
Get Entry
%K
Get Entry From 4X20 VFD
%n
Get Numeric Entry
%P
Pause
%Y
If Yes (Enter)
%W
Wait For Keypress
W%r
Wait For A/D Interval
%t
Tare
%z
Zero
%p
Print
M
ACRO

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents