Mitsubishi Electric M800VW Series Programming Manual page 191

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.1 Comparison Operation Instructions
$=, $<>, $>, $<=, $<, $>=: Character string data comparison
Setting
Bit devices
data
X
Y
M
L
F
S1
S2
△ : S1 and S2 cannot be specified as constant at the same time.
[Instruction symbol] [Execution condition]
LD
AND
OR
 Setting data
Setting data
S1
Comparative data, or the first number of the device where comparative data is
stored
S2
 Functions
 Treats the character string data designated by (S1) and the character string data designated by (S2) as an A contact, and
performs comparison operation.
 The comparison operation compares the ASCII code of character strings character by character starting from the first char-
acter of the character string.
 The character string data of (S1) and (S2) for comparison refers to the data stored within the range from the specified
device number to the device number where the NULL code "00H" is stored.
IB-1501667-B
Usable devices
B SB
T SM V
T
C
Meaning
Con-
Word devices
stant
D
R/ZR W SW SD
Z
indicates the signs "$=", "$<>", "$>", "$<=", "$<", "$>=".
S1
S1
S1
170
Digit
Pointer
designa-
Index
tion
E
P
S2
S2
S2
Data type
Character string

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents