Model 574 Programmable Counting System (PCS)
162 - GSE Scale Systems
%T Tag (#0)
command
command
command
1%T Tag (#1)
command
command
4%_ IF row not found...
1;91%- Decrement counter (parameter 91).
1%R IF counter (parameter 91) is not 0...
%J Jump to Tag (#0)
%E END IF
4%_ IF row not found...
1%J Jump to Tag (#1)
%E END IF
PrintDONE%P prompt
%U IF TX Buffer Empty
The "%U command has been created. It performs an "IF
Current TX Buffer Empty" command. This allows
testing the currently selected transmit buffer (as specified
with the %" command) of the instrument to determine if
all characters put into the buffer have been sent. This
can be useful for error checking within macros on the
instrument. If a transmit command is a performed and
there are characters that continue to remain in the
transmit buffer then the connected device probably has
its handshake to the instrument deasserted.
This command can also be useful in applications where
the scale dealer has taken the initiative to further
multiplex the instrument transmission to 'talk' to a third
device.
In addition, the number of characters remaining in the
buffer may be determined by preceding the %U
command with a 1 (for comm port) or 2 (for print port).
The number of characters remaining in the buffer will be
put into the entry buffer. It may then be copied into a
parameter and then tested further. The size of each of the
transmit buffers is 127 bytes.
n%V Test IF setpoint input "n" is activated
This is one of several IF statements. This command
allows macro execution to be conditional based on the
state of a specific setpoint input. It provides a similar
test as that of the %O, except for a setpoint input as
opposed to an output. Setpoint inputs are available only
with the use of the GSE Process Control Interface (PCI).
Refer to the in-depth explanation of the IF statement
operations.
%W WAIT for keypress
This operator input type command is used to cause macro
operation to be suspended until the operator presses any
key. It can be used in situations where an operator must
decide when a process may continue, or where operator
acknowledgement of a prompt provided by instrument
must occur. Normally a prompt would be provided
before the %W command. The prompt would be
displayed on the dot matrix display while awaiting the
operator's key press.
Example:
WeighBox%W Prompt operator and WAIT for any
key.
1%Q Print 1st custom transmit.
%X Request current display from remote
Another new macro command is the %X command
which causes the displayed information to be echoed out
the instrument's COM port in a format that can be
processed by another 450 or 550 indicator that is setup as
a remote display.
....... More information pending ................
%Y IF yes
This is yet another IF type command. It allows
conditional operation of the macro based upon operator
input. A prompt, normally in the form of a question,
should precede the %Y command. The operator would
respond by pressing either the <ENTER> key as an
affirmative (YES) response or any other key for a
negative (NO) response.
If the <ENTER> key is pressed, the macro will proceed
to execute the subsequent commands up until the ELSE
command, if present.
If any other key is pressed, the macro will skip the
commands up until either the ELSE (%N) or ENDIF (%
E) commands.
Refer to the in-depth explanation of the IF statement
operations for additional discussion.
Example:
1%F IF setpoint 1 is de-activated...
READY ??? %Y IF operator is ready...