
Publication RA-UM003B-EN-P - February 2010 45
Navigate the Function Block Editor Interface Chapter 2
Comparison output for Infinity Input
Operation rules [Mask (MEQ) only]
The Mask process is outlined below.
IF (Source AND Mask) == (Compare AND Mask)
Output is Set
ELSE
Output is Clear
END
Data ranges [Mask (MEQ) only]
The valid data ranges for the MEQ instructions are as follows.
IMPORTANT
When data values are large, switching between REAL and DINT
data types may cause a minimal loss of accuracy. For example,
a value of 99999999 DINT will be rounded up to 100000000
REAL when you switch to a REAL data type and then back to a
DINT data type.
Value of
Source A
Value of
Source B
Comparison Output
GRT GEQ EQU NEQ LES LEQ
(+) Infinity(+) Infinity011001
(+) Infinity(-) Infinity110100
(+) Infinity Any finite
number
110100
(-) Infinity(+) Infinity000111
(-) Infinity(-) Infinity011001
(-) Infinity Any finite
number
000111
Any finite
number
(+) Infinity000111
Any finite
number
(-) Infinity110100
Any finite
number
Any finite
number
Refer to operation rules
Parameters Data Range
Source 16#0 ~ 16#FFFFFFFF
Mask 16#0 ~ 16#FFFFFFFF
Compare 16#0 ~ 16#FFFFFFFF
Komentarze do niniejszej Instrukcji