152
6-2. Table of High-level Instructions
4. Data Comparison Instructions
• A: Available, N/A: Not available
• Specification of flag operation in the above tables:
[
↕
]
The flag (special relay) available for the instruction (turns ON/OFF according to the condition).
[ ](blank) The flag (special relay) not available for the instruction (keeps the state regardless of the instruction).
• Details about the instructions with a * mark are described in this manual.
Refer to the pages in the far right column of the above tables.
For high-level instructions without a * mark, refer to “FP-M/FP1 Programming Manual”.
F60
F61
F62
F63
F64
S1, S2
S1, S2
S1, S2,
S3
S1, S2,
S3
S1, S2,
S3
16-bit data
compare
32-bit data
compare
16-bit data band
compare
32-bit data band
compare
Block data
compare
CMP
DCMP
WIN
DWIN
BCMP
↕
↕
↕
↕
↕
5
9
7
13
7
A
A
A
A
A
A
A
A
A
A
A
A
A
A
N/A
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
181
184
—
—
—
Step
Page
Flag operation
Description
Operand
Boolean
Number
ER
R9007
R9008
CY
R9009
<
R900C
=
R900B
>
R900A
Availability
C56/
C72
C24/
C40
C14/
C16
*
*
F47
F48
F50
F51
F52
F53
F55
F56
F57
F58
S1, S2, D
S1, S2, D
S1, S2, D
S1, S2, D
S1, S2, D
S1, S2, D
D
D
D
D
4-digit BCD data
[S1 – S2
→
D]
8-digit BCD data
[(S1 + 1, S1) – (S2 + 1, S2)
→
(D + 1, D)]
4-digit BCD data
[S1
×
S2
→
(D + 1, D)]
8-digit BCD data
[(S1 + 1, S1)
×
(S2 + 1, S2)
→
(D + 3, D + 2, D + 1, D)]
4-digit BCD data
[S1/S2
→
D...(DT9015)]
8-digit BCD data
[(S1 + 1, S1)/(S2 + 1, S2)
→
(D + 1, D)...(DT9016, DT9015)]
4-digit BCD data increment
[D + 1
→
D]
8-digit BCD data increment
[(D + 1, D) + 1
→
(D + 1, D)]
4-digit BCD data decrement
[D – 1
→
D]
8-digit BCD data decrement
[(D + 1, D) – 1
→
(D + 1, D)]
B–
DB–
B
*
DB
*
B%
DB%
B+1
DB+1
B–1
DB–1
7
11
7
11
7
11
3
3
3
3
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
N/A
A
N/A
A
A
A
A
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
↕
—
—
—
—
—
—
—
—
—
—
Step
Page
Flag operation
Description
Operand
Boolean
Number
ER
R9007
R9008
CY
R9009
<
R900C
=
R900B
>
R900A
Availability
C56/
C72
C24/
C40
C14/
C16
Summary of Contents for FP1
Page 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Page 28: ...20 ...
Page 98: ...90 ...
Page 150: ...142 ...
Page 208: ...200 ...
Page 226: ...218 ...
Page 280: ...272 ...