App index, Logical operations, Bit output (firmware version r3.03 or later) – Yokogawa Standalone MW100 User Manual
Page 77: Relational operations, Arithmetic functions
1-63
IM MW100-01E
Explanation of Functions
1
2
3
4
5
App
Index
Logical Operations
Type Operator Example
Explanation
Logical product AND
001AND002
When channel 001 = 0 and channel 002 = 0, 0
When channel 001 ≠ 0 and channel 002 = 0, 0
When channel 001 = 0 and channel 002 ≠ 0, 0
When channels 001 and 002 ≠ 0, 1
Logical sum OR
001OR002
When channel 001 = 0 and channel 002 = 0, 0
When channel 001 ≠ 0 and channel 002 = 0, 1
When channel 001 = 0 and channel 002 ≠ 0, 1
When channels 001 and 002 ≠ 0, 1
Exclusive OR XOR
001XOR002
When channel 001 = 0 and channel 002 = 0, 0
When channel 001 ≠ 0 and channel 002 = 0, 1
When channel 001 = 0 and channel 002 ≠ 0, 1
When channels 001 and 002 ≠ 0, 0
Logical negation NOT
NOT001
When channel 001 = 0, 1
When channel 001 ≠ 0, 0
Bit Output (Firmware version R3.03 or later)
Type
Operator
Example
Explanation
Bit output
*
BIT
C001BITB02
When bit 2 (LSB = 0) of communication input channel
C001 is 1, the computed result is 1. When bit 2 of
C001 is 0, the computed result is 0.
* If data is 0 or negative, the output value is 0.
Relational Operations
Type
Operators Example
Explanation
Equal
.EQ.
001.EQ.002
When channel 001 = channel 002, 1
When channel 001 ≠ channel 002, 0
Not equal
.NE.
002.NE.001
When channel 001 ≠ channel 002, 1
When channel 001 = channel 002, 0
Greater than
.GT.
003.GT.K01
When channel 003 > constant K01, 1
When channel 003 ≤ constant K01, 0
Less than
.LT.
004.LT.K10
When channel 004 < constant K10, 1
When channel 004 ≥ constant K10, 0
Greater than
.GE.
003.GE.K01
When channel 003 ≥ constant K01, 1
or equal to
When channel 003 < constant K01, 0
Less than
.LE.
004.LE.K10
When channel 004 ≤ constant K10, 1
or equal to
When channel 004 > constant K10, 0
Arithmetic Functions
Type
Operators Example Explanation
Absolute value
ABS()
ABS(001) Finds abs val of measured values on ch 001.
Square root
SQR()
SQR(002) Finds sqr rt of measured values on ch 002.
Common logarithm
LOG()
LOG(003) Finds common log of measured data on ch 003.
Exponent
EXP()
EXP(005) Finds e
x
where x is the measured data on ch 005.
1.15 MATH Function (/M1 Option)