EasyManua.ls Logo

GSE 574 - Page 174

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 - 155
Chapter 16 Macro Programming Operations Technical Reference Manual
n%C Copy parameter to auxiliary display (entry
buffer)
The "n" can be any parameter 0 through 98. If this
command is used in a macro its usually during an entry
mode of some sort. For instance, if the displayed weight
were to be entered into VAR#0 the sequence of
commands would look something like the following.
80%s Select VAR#0
98%C Bring up displayed wt.
%e enter
0%s return to gross mode
or briefly display a parameter on the auxiliary display.
91%C Bring REG#1 to display
%P Pause for 1 second.
%c Clear display
This command can be used in many different ways for
data manipulation. There are other commands that can
same memory space by manipulating the data differently
but end up with the same results.
n,m%C Copy value of parameter n to m.
The value of the first parameter is copied into the second
parameter. Valid values for n and m are most parameter
IDs between 0 and 94 that are numeric parameters. The
copy command can be used to accomplish various tasks
such as saving away the current gross weight or
preparing for a mathematical operation.
Example:
0,80%C Copy gross weight to Var #0. Any
setpoint based on Var #0 would now
be effectively based on the gross
weight at that moment.
Caution: If a copy is done to a continually updated
parameter (ie gross, net, gross total + current, etc...) the
copied data will be overwritten by the newest current
data as soon as the next weight conversion process has
been completed.
Caution: If a copy of the gross or net is done, the value
copied is the rounded value of the parameter, not the
internal resolution. If the internal resolution value is
required, it is available by using the command “nU,m%
C”. This command is explained just ahead.
Another simple example would be to have a setpoint
which set to be active above, based on the Gross wt
exceeding the value of Var #0. When the setpoint is
activated, the gross weight is copied to Var #0. This is
effectively a peak capturing macro. The following
example will demonstrate this, heeding the caution note
provided above.
Example:
4,80%C Copy gross (gross total + current
equals gross if gross total = 0) to Var
#0.
80%s Select Var #0 to display peak.
n%C Copy parameter to the entry buffer.
Another variation of the copy command allows a
parameter to be copied into the entry buffer. In this case,
the parameter would be displayed and could then be
entered into another dissimilar parameter (such as
copying var #0 into ID #3), printed, or used in a prompt!
Example:
1%i Access ID #1.
2%C Copy tare weight to display.
%e Store current tare into ID 1.
fmt;nF%C Formatted Parameter Copy
When a parameter is copied into the entry buffer, it may
now be formatted with the same choices that are
available in the custom transmit. This is accomplished
by entering the desired format code, followed by a
semicolon (;), followed by the desired parameter number,
followed by the letter "F" or 'f', followed by the copy
command "%C". For example:
fmt = 3 digit format code.
n = 1 or 2 digit parameter number.
128;0F%C will format the gross weight (parameter 0)
format it per code 128 (without parameter name) and put
the result into the entry buffer.
This would normally be followed by another copy:
;21%C to copy the result to ID1.
or a transmit command:
%$ to send the result out the selected port.
Valuable uses for this command include allowing easy
conversion of time/date numeric values into strings,
copying a weight in the current units to another
parameter, and formatting data for a transmission without
SECTION - 16.8

Table of Contents