6 - 9 6 - 9
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
(b) If the character strings are different, the character string with the larger character code will
be the larger.
42
H
(B) 41
H
(A)
43
H
(C)
44
H
(D)
46
H
(F)00
H
"ABCDF"
42
H
(B) 41
H
(A)
43
H
(C)
44
H
(D)
45
H
(E)00
H
"ABCDE"
+1
+2
S1
S1
+1
+2
S2
S2
S2
S1
b15- - - -b8 b7- - - - b0 b15- - - -b8 b7- - - - b0
Instruction Symbol
in
Comparison Operation
Result
Instruction Symbol
in
Comparison Operation
Result
$ Non-continuity $
Non-continuity
$
Continuity $ Non-continuity
$ Continuity $
Continuity
(c) If the character strings are different, the first different sized character code will determine
whether the character string is larger or smaller.
32
H
(2)
31
H
(1)
34
H
(4)33
H
(3)
35
H
(5)00
H
"12435"
32
H
(2)
31
H
(1)
33
H
(3)34
H
(4)
35
H
(5)00
H
"12345"
+1
+2
S1
S1
+1
+2
S2
S2
S2
S1
b15- - - -b8 b7- - - - b0 b15- - - -b8 b7- - - - b0
Instruction Symbol
in
Comparison Operation
Result
Instruction Symbol
in
Comparison Operation
Result
$ Non-continuity $
Non-continuity
$
Continuity $ Non-continuity
$ Continuity $
Continuity
(4) If the character strings designated by
S1
and
S2
are of different lengths, the data with the
longer character string will be larger.
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)
+1
+2
S1
S1
+1
+2
S2
S2
S2
S1
+3
+3
S2
S1
Instruction Symbol
in
Comparison Operation
Result
Instruction Symbol
in
Comparison Operation
Result
$ Non-continuity $
Continuity
$
Continuity $ Continuity
$ Non-continuity $
Non-continuity
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com