GSE 60 SERIES Technical Reference Manual page 356

Programmable process controllers
Table of Contents

Advertisement

9-108 Chapter 9
GSE Scale Systems
80.2P=1.1P+1.2P%o
1.1P+1.2P=80.2P%o
are equivalent statements that copies the sum of the net weights for scales
1 and 2 to VAR#2.
A = A + B (Modify Original Value)
A math operator can be used in the assignment location of a math
operation to modify the original value of a parameter. For example,
80.3P+=1%o
is equivalent to
80.3P=80.3P+1%o
which increments the original value of VAR#3 by one. Likewise,
80.3P^=.5%o
will calculate the square root of VAR#3.
A = A + (B + C) (Modify Original Value)
Two parameters and/or constants can be used when modifying the original
value of another parameter. For example,
80.3P+=0.1P+0.2P%o
is equivalent to
80.3P=80.3P+0.1P+0.2P%o
which adds the gross weights of scales 1 and 2 to the original value of
VAR#3. Note that the second macro statement could not be used as a
valid command because a math operation may not contain more than two
parameters and/or constants.
Entry Buffer = A + B (Equation Assignment)
Performing a math operation without an assignment parameter will copy
the result of the operation to the entry buffer. For example,
6.1P+6.2P%o
copies the sum of the net totals for scales 1 and 2 to the entry buffer.
Copy A to Entry Buffer
Performing a math operation without an assignment or math operation will
copy the contents of a parameter to the entry buffer. For example,
80.1P%o
copies the contents of VAR#1 to the entry buffer.
(invalid syntax)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents