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”.
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
DescriptionOperandBooleanNumber
ER
R9007
R9008
CY
R9009
<
R900C
=
R900B
>
R900A
Availability
C56/
C72
C24/
C40
C14/
C16