Справочник Пользователя для Mitsubishi Electronics QCPU
6-11
$=,$<>,$>,$<=,$<,$>=
1
2
3
4
4
6
7
8
6
.1 Compar
ison Operation Instru
ctions
6
.1.5 Char
acter
string data comparisons ($=,$<>,$>,$<=
,$
<
,$
>
=)
6.1.5
Character string data comparisons ($=,$<>,$>,$<=,$<,$>=)
$=,$<>,$>,$<=,$<,$>=
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.
,
: Data for comparison or head number of the devices where the data for comparison is stored
(character string)
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
Process
High
performance
Redundant Universal
Basic
LD
AND
OR
S1
S1
S2
S1
S2
S2
$
$
$
$
$
$
/
/
/
/
/
Command
Command
Command
indicates an instruction symbol 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