180
$=, $<>, $>, $<=, $<, $>=
(b) If the character strings are different, the character string with the larger character code will be the larger.
(c) If the character strings are different, the first different sized character code will determine whether the character
string is larger or smaller.
(4) If the character strings designated by and are of different lengths, the data with the longer character string will be
larger.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Instruction Symbol in
Comparison Operation Result
Instruction Symbol in
Comparison Operation Result
$=
Non-continuity
$<=
Non-continuity
$<>
Continuity
$<
Non-continuity
$>
Continuity
$>=
Continuity
Instruction Symbol in
Comparison Operation Result
Instruction Symbol in
Comparison Operation Result
$=
Non-continuity
$<=
Continuity
$<>
Continuity
$<
Continuity
$>
Non-continuity
$>=
Non-continuity
Instruction Symbol in
Comparison Operation Result
Instruction Symbol in
Comparison Operation Result
$=
Non-continuity
$<=
Non-continuity
$<>
Continuity
$<
Non-continuity
$>
Continuity
$>=
Continuity
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4101
The code "00
H
" does not exist within the range of the relevant device,
starting from the device specified by and .
The number of character strings of and exceeds 16383.
––
4
2
H
(
B
)
b15
b8
4
1
H
(
A
)
b7
b0
+
1
4
3
H
(
C
)
+
2
44
H
(
D
)
4
6
H
(F)
00
H
"
ABCD
F"
S1
4
2
H
(
B
)
b15
b8
4
1
H
(
A
)
b7
b0
4
3
H
(
C
)
44
H
(
D
)
4
5
H
(E)
00
H
"
ABCD
E"
S1
S1
+
1
+
2
S2
S2
S2
32
H
(
2
)
b15
b8
31
H
(
1
)
b7
b0
34
H
(
4
)
+2
33
H
(
3
)
35
H
(
5
)
00
H
"12435"
32
H
(
2
)
b15
b8
31
H
(
1
)
b7
b0
33
H
(
3
)
34
H
(
4
)
35
H
(
5
)
00
H
"12345"
+1
S2
S2
S2
+2
+1
S1
S1
S1
S1
S2
32
H
(
2
)
b15
b8
31
H
(
1
)
b7
b0
33
H
(
3
)
34
H
(
4
)
35
H
(
5
)
36
H
"1234567"
b15
b8 b7
b0
37
H
(
7
)
00
H
(
6
)
32
H
(
2
)
31
H
(
1
)
33
H
(
3
)
34
H
(
4
)
35
H
(
5
)
36
H
"123456"
00
H
00
H
(
6
)
+2
+1
S1
S1
S1
+3
S1
+2
+1
S2
S2
S2
+3
S2
S1
S2
S1
S2