Model 574 Programmable Counting System (PCS)
158 - GSE Scale Systems
For instance, if the next command following the "%G" is
a "%t" (assuming the instrument is in a mode where the
tare key is defined to store tare weights, ie modes 0-8,
12-14, and 30-37), then the operator's entry would be
stored away as the tare weight. If the operator had keyed
in nothing and pressed <ENTER>, the auto-tare
operation would take place instead since that is the way
the <TARE> key works.
Note that often some imagination is required to come up
with a prompt that will be understandable and fit into two
lines of 5 characters each! The limited prompt size does
have the advantage that short prompts may be read more
quickly. If a prompt of less than ten characters is used,
blank spaces will be added to the end of the prompt
before it is displayed.
Example:
80%s Select var #1.
KeyinTargt%G Prompt operator and wait for
response.
%e Store away operator entry.
Refer to the notes concerning the "%[" commands to see
how you can save an operator entry for use later in a
macro.
%I Perform weight conversion and update all
outputs
As previously discussed, in the weight conversion
process is normally suspended during macro execution.
The "%I" command will execute this process one time.
This command may be useful in a macro within a loop
which is checking a setpoint status in order to cause the
setpoint's status to be re-evaluated.
The weight conversion process includes calculating the
various current weight parameters and updating the
outputs to the setpoints, analog output, display, and
continuous transmits.
This command is required immediately after an
accumulate [.] command in order for the accumulate to
take place.
A message may precede the "%I" command, in which
case the normally displayed information such as units,
center-of-zero, and parameter name are suppressed.
Example:
1%A Activate setpoint 1.
%T Tag this position in the macro in order
to jump back to this point later on.
Fill-ing..%I Perform weight conversion process
once.
1%O If setpoint 1 is activated...
%J Jump to the tagged spot in this macro.
%N ELSE
DONE!%P 1 second prompt
%E End of the "IF" statement.
The ability to jump to a previous location within a macro
so as to continuously display a prompt is provided by the
commands %T and %J. The "%T" command must first
be used to TAG the location where the macro execution
is to proceed after it sees a JUMP.
%J Jump Command (see also %T)
The ability to jump to a previous location within a macro
is provided by this command, ā%Jā. The "%T"
command must first be used to TAG the location where
the macro execution is to proceed after it sees a JUMP.
Whenever a "%T" is encountered during macro
execution its location within the macro is noted. Then
when a "%J" command is encountered, the macro checks
if a "%T" command has been encountered in the current
macro. If so macro execution proceeds to the location
where the most recent "%T" was found. If a "%T" has
not occurred, the "%J" has no effect on macro execution.
TAGS occurring in other macros have no effect on
JUMPS within a given macro. In other words, a JUMP
will not occur from one macro to another macro. Also,
macro execution will not JUMP to a TAG which is not
executed due to its location within a macro's IF or ELSE
statements.
The Tag (%T) and Jump (%J) commands allow multiple
tagged locations to be used. This allows the looping
within a loop during a macro. Up to ten tagged locations
may be used. Previously, any entry preceding a Tag or
Jump command was ingnored and the entry would
remain in the 574's entry buffer. That is still the case
unless the entry preceding the Tag or Jump is a single
numeric character. For instance, if a location in a macro
is Tagged with a 1%T then to Jump back to that location
would require a 1%J. A zero preceding the Tag or Jump
is the same as the Tag or Jump without any entry.
Once a certain tag number is used in a macro, it should
not be used again in that macro or in any macro that is
called by first macro unless that tag will no longer need
to be jumped referenced. For example: