Mitsubishi MELSEC-Q/L Programming Manual page 182

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents