2.4 Basic instructions
2.4.1 Comparison operation instructions
2-11
2
INSTRU
CTION
TABLES
Table 2.10 Comparison operation instructions (continued)
*2 : The following shows the comparison conditions when character strings are compared.
• Match condition: All character strings are matched.
• Conditions for greater character string: For different character strings, character strings with larger
character codes.
For different character string lengths, larger character string
lengths.
• Conditions for smaller character string:For different character strings, character strings with smaller
character codes.
For different character string lengths, smaller character string
lengths.
Category
Instruction name
Argument
Processing details
Executing
condition
Page
Character
string data
comparison
LD$=
,
• Compares the character string of with
the character string of character by
character.
*2
• Conduction state when (Character string of
)=(Character string of
)
• Non-conduction state when (Character
string of ) (Character string of )
AND$=
,
OR$=
,
LD$<>
,
• Compares the character string of with
the character string of character by
character.
*2
• Conduction state when (Character string of
) (Character string of )
• Non-conduction state when (Character
string of )=(Character string of )
AND$<>
,
OR$<>
,
LD$<=
,
• Compares the character string of with
the character string of character by
character.
*2
• Conduction state when (Character string of
) (Character string of )
• Non-conduction state when (Character
string of ) (Character string of )
AND$<=
,
OR$<=
,
LD$<
,
• Compares the character string of with
the character string of character by
character.
*2
• Conduction state when (Character string of
) (Character string of )
• Non-conduction state when (Character
string of ) (Character string of )
AND$<
,
OR$<
,
LD$>=
,
• Compares the character string of with
the character string of character by
character.
*2
• Conduction state when (Character string of
) (Character string of )
• Non-conduction state when (Character
string of ) (Character string of )
AND$>=
,
OR$>=
,
LD$>
,
• Compares the character string of with
the character string of character by
character.
*2
• Conduction state when (Character string of
) (Character string of )
• Non-conduction state when (Character
string of ) (Character string of )
AND$>
,
OR$>
,
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
s
1
s
2
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......