179
$=, $<>, $>, $<=, $<, $>=
1
2
3
4
6
7
8
6.1
C
ompar
ison Operat
ion In
str
uctions
6.1.5
$=, $<>, $>, $<=
, $<
,
$>
=
When judging the mismatch of E1.2345678910 (Number of significant digits is 16) and the
double-precision floating-point data.
,
: Data for comparison or head number of the devices where the data for comparison is stored (character string)
Function
(1) Compares the character string data designated by with the character string data designated by as a normally-open
contact.
(2) A comparison operation involves the character-by-character comparison of the ASCII code of the first character in the
character string.
(3) The character string data of and for comparison refers to the data stored at the range from the designated device
number to the device number where "00
H
" code is stored.
(a) If all character strings match, the comparison result will be matched.
$=, $<>, $>, $<=, $<,
Character string data comparisons
$>=
6.1.5
$=, $<>, $>, $<=, $<, $>=
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
$
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
Instruction Symbol in
Comparison Operation Result
Instruction Symbol in
Comparison Operation Result
$=
Continuity
$<=
Continuity
$<>
Non-continuity
$<
Non-continuity
$>
Non-continuity
$>=
Continuity
Example
E
1
.
23
4
567890123
4
56
+
10
W
hether
D0
to
D3
i
s
w
i
th
i
n
th
i
s
range
i
s
chec
k
ed
.(
Va
l
ues
on
boundar
i
es
are
i
nc
l
uded
.)
E
1
.
23
4
567890123
4
5
+
10
E
1
.
23
4
567890123
4
6
+
10
Process
High
performance
Redundant Universal
LCPU
Basic
LD
AND
OR
S1
S1
S2
S1
S2
S2
$
$
$
$
$
$
/
/
/
/
/
Command
Command
Command
indicates an instruction s
y
mbol of .
S1
S2
S1
S2
S1
S2
S1
S2
42
H
(
B
)
b15
b8
41
H
(
A
)
b7
b0
+1
43
H
(
C
)
+2
44
H
(
D
)
45
H
(
E
)
00
H
"ABCDE"
S1
42
H
(
B
)
b15
b8
41
H
(
A
)
b7
b0
43
H
(
C
)
44
H
(
D
)
45
H
(
E
)
00
H
"ABCDE"
S1
S1
+1
+2
S2
S2
S2