GSE 60 SERIES Technical Reference Manual page 275

Programmable process controllers
Table of Contents

Advertisement

Example:
Selecting A Comm Port
get entry
Enter ID# ?%G
save entry
=80.5P%o
select comm1
1%"
Operator# %$
send text
send VAR#5
80.5P%o%$
13,10%&
send <CR><LF>
select comm2
2%"
send text
Operator# %$
send VAR#5
80.5P%o%$
Example:
Restoring the Last Selected Scale
Number at Power-Up
80.8P=_%#%o
save scale number
MACRO #250 – POWER-UP
get scale number
80.8P%o
select scale
%`
Select Comm Port
Used in conjunction with the %$ and %& macro commands to specify
which port macro text and control codes will be transmitted from. The port
specified by the %" command will remain in effect until changed by
another %" command. Comm port 1 is automatically selected upon
power-up.
C
S
%#
URRENT
CALE
Syntax
Get Current Scale
[ character ] %#
If Current Scale
< scale# > %#
Arguments
Scale number (1 à 8).
scale#
Any character except 1 à 8.
character
Get Current Scale
[ character ] %#
Copies the current scale number to the entry buffer. When used with the
optional character argument, the preceding character is replaced by the
current scale number.
%#
_%#
Using the character argument is especially useful for recording the current
scale number and for using the current scale number as an index within
other macro commands.
80.8P=_%#%o
80._%#=0.0P%o
80.2_%#=1.0P%o
1,_%#%y
Copies the current scale number to the entry
buffer.
Replaces the preceding character '_' with the
current scale number. Any character other
than 1, 2, 3, 4, 5, 6, 7 or 8 could be used as the
preceding character.
Copy the current scale number to VAR#8
Stores the gross weight of the current scale in
variable 1, 2, 3, 4, 5, 6, 7 or 8, as determined
by the current scale number.
Stores the net weight of the current scale in
variable 21, 22, 23, 24, 25, 26, 27 or 28.
Recall a row from database 1, 2, 3, 4, 5, 6, 7 or
8, as determined by the current scale number.
60 Series Technical Reference Manual
Macros 9-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents