Yokogawa Standalone MW100 User Manual
Page 217
5-4
IM MW100-01E
Calculations:
Basic math (+, –, Ч, ч, exponentiation)
Relational operators (>, ≥, =, ≤, <, ≠)
Logical operators (AND, OR, XOR, NOT)
Arithmetic operators (SQR, ABS, LOG, EXP)
TLOG computations (max, min, max-min, average,
integration, pulse integration)
CLOG computations (max, min, max-min, average)
Conditional expressions ([EXPR1?EXPR2:EXPR3])
Order of precedence in expressions:
The order of precedence of operators is given below.
Type
Operator
(High order of precedence)
Arithmetic, TLOG, and CLOG functions ABS(), SQR(), LOG(), EXP(), TLOG.MAX(), TLOG.MIN(),
TLOG.P-P(), TLOG.SUM(), TLOG.AVE(), TLOG.PSUM(),
CLOG.MAX(), CLOG.MIN(), CLOG.P-P(), CLOG.AVE()
Conditional operation
[expression 1?expression 2:expression 3]
Power
**
Logical negation
NOT
Multiplication and division
*, /
Addition and subtraction
+, –
Relational computation
.GT., .LT., .GE., .LE.
Equal and not equal
.EQ., .NE.
Logical product
AND
Logical sum and exclusive logical sum OR, XOR
(Low order of precedence)
Calculation order:
Performs calculation in ascending order by channel number.
Characters used in expressions:
Up to 120 per channel
For communication input channels only, a maximum of
10 characters
*
can be used per channel. Four arithmetic
operations and calculation constants can be written in
addition to the communication input channel number.
* Or “8 characters” on models with firmware version R3.02 or earlier.
Number of stacks:
35 or fewer per expression
Conditional expression:
Other expressions can be nested in conditional expressions.
Conditional expressions can be nested together.
Operators cannot be used to combine conditional
expressions.
MATH span:
When displaying waveforms on the Web, set the upper and
lower limit values.
The setting range is –9,999,999 to 99,999,999.
Decimal place setting:
0 to 4
Computation range:
A given result during computation must be within ± 1.7 ×
10
308
.
Math output value:
Data output by the computation (for binary output)
Data Type
Description
–9,999,999 to 99,999,999
Normal output range
2,147,450,879 (7FFF7FFFh)
Plus over
–2,147,385,343 (80018001h)
Minus over
–2,147,319,806 (80028002h)
Skip
* If the computation fails, the previous value is output.
MATH constants:
60
Precision: Mantissa, 5 digits; exponent, 2 digits
Range: –9.9999E+29 to –1.0000E-30,0,1.0000E-30 to
9.9999E+29
5.2 Main Module (MW100-E) Specifications