Mitsubishi MELSEC-Q/L Programming Manual page 39

Table of Contents

Advertisement

Category
LD$=
$
AND$=
$
OR$=
$
LD$<>
$
AND$<>
$
OR$<>
$
LD$>
$
AND$>
$
OR$>
Character
$
string data
LD$<=
comparisons
$
AND$<=
$
OR$<=
$
LD$<
$
AND$<
$
OR$<
$
LD$>=
$
AND$>=
$
OR$>=
$
*2:
The conditions under which character string comparisons can be made are as shown below:
• Match:
• Larger string: If character strings are different, determines the string with the largest number of character codes.
• Smaller string: If the character strings are different, determines the string with the smallest number of character codes.
Symbol
• Compares character string S1 and character
S1 S2
string S2 one character at a time. *2
• Conductive status when (character string S1)
S1 S2
• Non-Conductive status when (character string
S1 S2
S1)
• Compares character string S1 and character
S1 S2
string S2 one character at a time. *2
• Conductive status when (character string S1)
S1 S2
• Non-Conductive status when (character string
S1 S2
S1)
• Compares character string S1 and character
S1 S2
string S2 one character at a time. *2
• Conductive status when (character string S1)
S1 S2
• Non-Conductive status when (character string
S1 S2
S1)
• Compares character string S1 and character
S1 S2
string S2 one character at a time. *2
• Conductive status when (character string S1)
S1 S2
• Non-Conductive status when (character string
S1 S2
S1)
• Compares character string S1 and character
S1 S2
string S2 one character at a time. *2
• Conductive status when (character string S1)
S1 S2
• Non-Conductive status when (character string
S1 S2
S1)
• Compares character string S1 and character
S1 S2
string S2 one character at a time. *2
• Conductive status when (character string S1)
S1 S2
• Non-Conductive status when (character string
S1 S2
S1)
All characters in the strings must match
If the lengths of the character strings are different, determines the longest character string.
If the lengths of the character strings are different, determines the shortest character string.
Processing Details
(character string S2)
(character string S2)
(character string S2)
(character string S2)
(character string S2)
(character string S2)
(character string S2)
(character string S2)
(character string S2)
(character string S2)
(character string S2)
(character string S2)
Execution
Condition
3
-
3
-
3
-
Page
177
3
-
3
-
3
-
37
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents