GSE 60 SERIES Technical Reference Manual page 288

Programmable process controllers
Table of Contents

Advertisement

9-40 Chapter 9
Example:
Re-Prompt Entry if Macro Interrupted
tag 1
1%T
get entry
Enter ID%G
** INTERRUPT HERE AND RETURN **
if interrupted...
%/
1%J
jump to tag 1
end if
%E
GSE Scale Systems
Commands that normally accept arguments such as 'tare' can also pass
these arguments with the %- command.
`S3%-
Selects scale 3 as the current scale.
tS2%-
Performs an auto-tare on scale 2.
tS1;10%-
Establishes a tare weight of 10 on scale 1. This
operation is considered a manual tare entry. If preset
is enabled at P412, the preset status is considered
preset.
uS1%-
Toggles the units selection for scale 1.
uS2;2%-
Selects the third enabled units (P133) for scale 2. Note
that the first enabled unit (P131) is considered unit #0,
the second enabled unit (P132) is unit #1 and so on.
zS4%-
Zeros scale 4.
zS1;15R%-
Performs a relative zero offset of 15 for scale 1.
%/
I
M
I
F
ACRO
NTERRUPTED
Syntax
If Macro Interrupted
%/
See Also
Interrupt Macros
If Macro Interrupted
Determines if one macro was interrupted by another macro set for
Immed
at P9992. When a macro is configured as an interrupt macro at
P9992, an internal flag is set whenever the interrupt macro is invoked
during the execution of another macro. The %/ command will be true if
this flag is set. When the interrupt macro ends and the interrupted macro
resumes, it is possible to determine if there was an interruption. Thus if a
macro was interrupted during an entry as with the %G or %K command,
you can jump back to the beginning of the prompt routine as shown in
example – Re-Prompt Entry if Macro Interrupted.
The following is a list of operator interface commands that can be
interrupted that would otherwise suspend macro execution:
Invok

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents