EasyManua.ls Logo

GSE 574 - Page 176

Default Icon
339 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GSE Scale Systems - 157
Chapter 16 Macro Programming Operations Technical Reference Manual
could be setup as 'disabled'.
%E End if
This statement is used at the end of an IF statement. It
defines where the macro will resume execution if the
statement was not true (if there was not an else clause) or
where the execution will resume if the original statement
was true and an ELSE clause is used.
x%f Check status of Preset Parameters
The macro command, x%f, has been created, where x is
one of the preset-able parameters as listed below. This
command performs an "IF parameter x is preset" which
allows a macro to check the "preset" status of the
specified parameter.
Preset-able Parameters
2 Tare
3 GrTOT
4 GrT+C
5 GrT-C
6 NtTOT
7 NtT+C
8 NtT-C
31 QtTOT
32 QtT+C
33 QtT-C
34 APW
35 APW*K
%F Test IF setpoint n is Deactivated
This is one of several IF statements. This command
allows macro execution to be conditional based on the
state of a specific setpoint.
Example:
1%F IF setpoint 1 is de-activated...
READY ??? %Y IF operator is ready...
1%A ACTIVATE setpoint 1.
%E END of IF statement. IE the next
command is where macro execution
would resume if setpoint 1 was active.
1%F IF setpoint 1 is de-activated...
%B ABORT macro execution.
%E END of IF statement. IE the next
command is where macro execution
would resume if setpoint 1 was active.
n%g IF sample error
This command will perform a branching operation IF a
specific sample error occurs. The following listing
shows the error number along with the error description.
IF the statement holds true then the macro falls through
to the next commands. If the statement doesn’t hold true
then the macro will branch to the ELSE portion of the
macro.
0 SAMPLE OK
1 SAMPLE TOO SMALL
2 SAMPLE NOT ACCURATE
3 SAMPLE SIZE ERROR
4 SAMPLE CAN’T BE COUNTED
5 SAMPLE ABORTED ACC
6 SAMPLE ABORTED CLR
7 ENTERED APW
8 SAMPLE ABORTED TARE
This macro command functions similar to the database
command n%_ , IF database error.
?%g Status error flag
This command when executed will place the sample
error flag number in the entry buffer. The error flag
numbers are shown above in the n%g section. Placing
this number in the entry buffer will allow it to be
transfered to a numeric register. Placed in a numeric
register the macro math capabilities can now perform
calculations on the flag value.
%G Get operator input
This command is used to accept operator input. A
prompt of up to 10 characters in length may precede the
"%G" command. This would normally be used to
request that the operator key in some data. When this
command is executed, the unit will display the preceding
prompt (if any) and then wait for the operator to key in
some data and then press <ENTER>. If the <CLR> key
is pressed after an entry is begun by the operator, the
original prompt is re-displayed. After the operator
presses the <ENTER> key, macro execution will
resume. Any entry that the operator had made is held in
the unit's entry buffer. Thus the next command in the
macro will be operating on the entry that the operator had
made.
SECTION - 16.8

Table of Contents