Model 574 Programmable Counting System (PCS)
172 - GSE Scale Systems
81%, Take the square root of parameter 81.
The result is stored in parameter 81.
3;81%, Raises the value of parameter 81 to the
third power, ie <81>
3
.
.33333;82%, Take the cube root of the value of
parameter 82, ie <82>.
33333
.
83,81%, Raises the value of parameter 81 to the
power specified by the value of
parameter 83, ie <81>
<83>
.
-1;84%, Takes the inverse of parameter 84, ie
<84>
-1
= 1/<84>
16.10 Rounding
Rounding Weight Data
When weight data is copied (using the %C command) or
used in any macro math operation, the data used is the
data after it has been rounded to the displayed increment
(in default units).
For example:
0,80%C places the rounded data into
parameter 80. This weight data is pre-
rounded to the default weight units
displayed increment (per P111).
The 80%
. command allows for rounding weight data (or
other parameters) to different increment sizes other than
the displayed increment (per P111).
Explicit Rounding
Any parameter, such as the vars or regs, may be rounded
in one of two manners. The parameter may be rounded
to the displayed increment or to any desired increment.
For example:
.02;80%
. rounds parameter 80's data to the
nearest multiple of 0.02
20;80%
. rounds parameter 80's data to the
nearest multiple of 20.
81,80%
. rounds parameter 80's data to the
nearest multiple of parameter 81's
data.
NOTE: If a weight parameter is added successively to a
var, after several additions, the resultant value may be
not be a multiple of the weight increment, therefore it is
recommended to use the "%." command after each
addition if standard rounding is required.
16.11 Using Alarms for Time/Date
Calculations
The recalled time and the four alarms may be used for
general purpose time/date calculations if the alarm is set
to off in the setup mode. This could be used to print
expiration dates or to perform longer term rate
calculations, such as pounds per hour. Note that short
term rate calculations (pounds per second) require more
resolution on the time scale than one second!
All time/date type parameters are stored as a numerical
value, the number of seconds elapsed since midnight on
Jan. 1, 1970. As of April 1, 1992, this value is around
702,086,400 and it increases at 86,400 seconds per day.
The alarm parameters are numbered parameter 51
through 54. If the alarms are set to be on (interval or
daily) in the setup mode, then a value may not be entered
(via a front panel entry) into that alarm. However the
alarm be manipulated using the macro math and copy
commands. If an enabled alarm is changed, then that
alarm will be invoked when the specified time occurs
(except alarm 4 which may only be set to invoke a macro
by using the "n%K" macro command).
The method of displaying these time/date type
parameters when they are selected in the weigh mode
may be set as required to be either a numeric value, a
time, a date, or a time and date by using setup parameters
P511 through P515, for recalled time, and alarms one
through four respectively. Please be aware that recalled
time is not saved during a power-down condition unless
the clock module or the database RAM module is
installed in the instrument. If neither is installed, the
value for Rtime will come up random upon power-up.
Expiration Date Example:
11,51%C Copy current time to alarm 1 (named
'expiration date').
864000;51%+ Add ten days worth of seconds to the
current time to get an expiration date
ten days from now.
A Rate Example (for a decreasing weight):