Mitsubishi MELSEC QCPU Programming Manual page 36

Programmable logic controller
Table of Contents

Advertisement

2 INSTRUCTION TABLES
Category
B+
B+P
B+
BCD 4-
digit
B+P
addition
and
B-
subtraction
operations
B-P
B-
B-P
DB+
DB+P
DB+
BCD 8-
digit
DB+P
addition
and
DB-
subtraction
operations
DB-P
DB-
DB-P
B
BCD 4-
digit multi-
B P
plication
and
B/
division
operations
B/P
DB
BCD 8-
digit multi-
DB P
plication
and
DB/
division
operations
DB/P
2 - 16
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Table 2.11 Arithmetic Operation Instructions (Continued)
Symbol
• (D)+(S)
B+
S
D
B+P
S D
• (S1)+(S2)
B+
S1 S2 D
B+P
S1 S2 D
• (D)-(S)
B
S
D
B P
S
D
• (S1)-(S2)
B
S1 S2 D
B P
S1 S2 D
• (D+1, D)+(S+1, S)
DB+
S D
DB+P
S D
• (S1+1, S1)+(S2+1, S2)
DB+
S1 S2 D
DB+P
S1 S2 D
• (D+1, D)-(S+1, S)
DB
S D
DB
P
S D
• (S1+1, S1)-(S2+1, S2)
DB
S1 S2 D
DB
P
S1 S2 D
• (S1)
B
S1 S2 D
B
P
S1 S2 D
• (S1)/(S2)
B/
S1 S2 D
B/P
S1 S2 D
• (S1+1, S1)
DB
S1 S2 D
DB
P
S1 S2 D
• (S1+1, S1)/(S2+1, S2)
DB/
S1 S2 D
DB/P
S1 S2 D
Processing Details
(D)
(D)
(D)
(D)
(D+1, D)
(D+1, D)
(D+1, D)
(D+1, D)
(S2)
(D+1, D)
Quotient(D), Remainder
(D+1)
(S2+1, S2)
(D+3, D+2,
D+1, D)
Quotient (D+1,
D), Remainder (D+3, D+2)
MELSEC-Q/QnA
Execution
Condition
3
6-28
4
6-30
3
6-28
4
6-30
3
6-32
4
6-34
3
6-32
4
6-34
4
6-36
4
6-36
4
6-38
4
6-38
2 - 16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents