YOKOGAWA MuR10000 Manual page 194

Table of Contents

Advertisement

9.2 Setting the Computing Equation
Explanation
Computing Equation
Order of Precedence in Computations
Data That Can Be Used in Equations
9-4
Follow the rules below when writing computing equations.
• Use up to 120 characters to write equations.
• The precedence of computing terms can be specified using parentheses.
• Specify the channels in the equation using 2-digit channel numbers.
Example: 01, 0A
• Specify the constants (K), communication input data (C), and remote control input
terminal status (D) in the computing equation using 2-digit numbers.
Example: K01, C01, D01
• The data value for its own channel and channels that are greater in number than its
own channel are substituted with the data from the previous scan.
The order of precedence of computation in equations is as follows:
Type
Function
Power
Logical negation
Multiplication and division
Addition and subtraction
Greater than and less than
Equal and not equal
Logical product
Logical sum and exclusive logical sum
In TLOG computation, the measured values of measurement channels or computed
values of computation channels can only be used. For all other computations, all of the
data types below can be used.
• Measured Values on Measurement Channels
Specified by the channel number. For channels that have linear scaling enabled, the
scaled values are used in the computation.
Pen model: 01 to 04, dot model: 01 to 06
• Computed Values on Computation Channels
Specified by the channel number.
Pen model: 0A, 0B, 0C, 0D, 0E, 0F, 0G, 0J
Dot model: 0A, 0B, 0C, 0D, 0E, 0F, 0G, 0J, 0K, 0M, 0N, 0P
• Constants (K01 to K30)
Enter the values as K01 to K30 in the equations.
Range of values (maximum significant digits is 5):
–9.9999E+29 to –1.0000E–30, 0, 1.0000E–30 to 9.9999E+29
• Communication Input Data (Pen model: C01 to C08, dot model: C01 to
C12)
Enter the data as C01 to C12 in the equations.
Range of values (maximum significant digits is 5):
–9.9999E+29 to –1.0000E–30, 0, 1.0000E–30 to 9.9999E+29
For the procedure of setting the communication input data, see the µR10000/µR20000
Communication Interface User's Manual (IM04P01B01-17E).
Operator
(high order of precedence)
ABS(), SQR(), LOG(), EXP(), TLOG.MAX(),
TLOG.MIN(), TLOG.P-P(), TLOG.SUM(), TLOG.AVE()
**
NOT
*, /
+, –
.GT., .LT., GE., LE.
.EQ., .NE.
AND
OR, XOR
(low order of precedence)
IM 04P01B01-01E

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents