EasyManua.ls Logo

GSE 672 - Current Scale

Default Icon
430 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...
Model 672/675 Technical Reference Manual
9-23
%
%
#
#
C
C
U
U
R
R
R
R
E
E
N
N
T
T
S
S
C
C
A
A
L
L
E
E
Syntax Get Current Scale
[ character ] %#
If Current Scale
< scale# > %#
Arguments
scale# Scale number (1 → 4).
character Any character except 1 → 4.
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.
%# 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, could
be used as the preceding character.
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 Copy the current scale number to VAR#8
80._%#=0.0P%o Stores the gross weight of the current scale in
variable 1, 2, 3, 4 as determined by the
current scale number.
80.2_%#=1.0P%o Stores the net weight of the current scale in
variable 21, 22, 23 or 24.
1,_%#%y Recall a row from database 1, 2, 3 or 4 as
determined by the current scale number.
3,1_%#%y Make a row in database 11, 12, 13 or 14.
%#%Q Send custom transmit 1, 2, 3 or 4 as
determined by the current scale number.
1._%#%Q Send custom transmit #1 out port 1, 2, 3 or 4
as determined by the current scale number.
If Current Scale
< scale# > %#
Determines if the specified scale# argument is the current scale number.
1%# Determine if the current scale is scale #1.
2%# Determine if the current scale is scale #2.
3%# Determine if the current scale is scale #3.
4%# Determine if the current scale is scale #4.
Example:
Restoring the Last Selected Scale
Number at Power-Up
80.8P=_%#%o save scale number
MACRO #250 – POWER-UP
80.8P%o get scale number
%` select scale
Example:
Branching Based on the Current Scale
1%# if scale = 1…
101%^ go to macro 101
%N else
2%# if scale = 2…
102%^ go to macro 102
%E end if

Table of Contents

Other manuals for GSE 672

Related product manuals