EasyManuals Logo

Panasonic FP7 Series Command Reference Manual

Panasonic FP7 Series
1222 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #769 background imageLoading...
Page #769 background image
14.29 ESCMP (String Compare: With Storage Area Size)
Ladder diagram
List of operands
Operand Description
S1 String 1 to be compared (available range: 0 to 65534; for character constant: 0 to 256 characters)
S2 String 2 to be compared (available range: 0 to 65534; for character constant: 0 to 256 characters)
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
(Note 1)
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K H SF
D
F
" "
S1
S2
(Note 1) Only 16-bit devices can be modified. (Character constants cannot be specified.)
Outline of operation
This instruction compares the string specified by [S1] and the string specified by [S2]. The
comparison result is output to the system relays SRA to SRC (assessment flags for the
comparison instruction).
The size of the storage area is not included in the judgment conditions.
Comparison flags (system relays SRA to SRC) are operated as follows.
SRA SRB SRC
> = <
[S1] < [S2] OFF OFF ON
[S1] = [S2] OFF ON OFF
[S1] > [S2] ON OFF OFF
If the numbers of characters to be compared are different, they are processed as follows.
[S1] [S2]
"ABCDE" = "ABCDE"
“ABCD” < "ABCDE"
"B" > "ABCDE"
14.29 ESCMP (String Compare: With Storage Area Size)
WUME-FP7CPUPGR-12 14-119

Table of Contents

Other manuals for Panasonic FP7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP7 Series and is the answer not in the manual?

Panasonic FP7 Series Specifications

General IconGeneral
BrandPanasonic
ModelFP7 Series
CategoryController
LanguageEnglish

Related product manuals