Mitsubishi MELSEC QCPU Programming Manual page 160

Programmable logic controller
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents