Arithmetic Operation Instructions - Mitsubishi Electric M800VW Series Programming Manual

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

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.1 Instruction List

6.1.4 Arithmetic Operation Instructions

Process
Instruction
Category
unit
sign
+
+P
16 bits
+
+P
+
(BIN)
D+
D+P
32 bits
D+
D+P
-
-P
16 bits
-
-P
-
(BIN)
D-
D-P
32 bits
D-
D-P
*
16 bits
*P
*
(BIN)
D*
32 bits
D*P
/
16 bits
/P
/
(BIN)
D/
32 bits
D/P
Symbol
Process details
+
(D)+(S) -> (D)
S
D
(BIN)
+P
S
D
(S1)+(S2) -> (D)
+
S1 S2 D
(BIN)
+P
S1 S2 D
(D+1,D)+(S+1,S) -> (D+1,D)
D+
S
D
(BIN)
S
D
D+P
(S1+1,S1)+(S2+1,S2) -> (D+1,D)
D+
S1 S2 D
(BIN)
S1 S2 D
D+P
-
(D) - (S) -> (D)
S
D
(BIN)
S
D
-P
(S1) - (S2) -> (D)
-
S1
S2 D
(BIN)
-P
S1
S2 D
S
D
(D+1,D) - (S+1,S) -> (D+1,D)
D-
(BIN)
D-P
S
D
(S1+1,S1) - (S2+1,S2) -> (D+1,D)
D-
S1
S2 D
(BIN)
D-P
S1
S2 D
(S1) × (S2) -> (D+1,D)
S1
S2 D
*
(BIN)
*P
S1
S2 D
(S1+1,S1) × (S2+1,S2) ->
D*
S1
S2 D
(D+3,D+2,D+1,D)
S1
S2 D
D*P
(BIN)
(S1) / (S2) -> Quotient(D), Remain-
/
S1
S2 D
der(D+1)
/P
S1
S2 D
(BIN)
(S1+1,S1) / (S2+1,S2) -> Quo-
D/
S1
S2 D
tient(D+1,D), Remainder(D+3,D+2)
D/P
S1
S2 D
(BIN)
71
Counting step
number
Execution
ST
condition
Execu-
Storage
tion
3
3
3
7
3/4 (*1)
4
3/4 (*1)
8
3/4 (*2) 3/4 (*2)
3/4 (*2) 7/8 (*2)
3 to 5
4/5 (*4)
(*3)
3 to 5
8/9 (*4)
(*3)
3
3
3
7
3/4 (*1)
4
3/4 (*1)
8
3/4 (*2) 3/4 (*1)
3/4 (*2) 7/8 (*1)
3 to 5
4/5 (*4)
(*3)
3 to 5
8/9 (*4)
(*3)
3/4 (*5)
4
3/4 (*5)
8
3 to 5
4/5 (*4)
(*6)
3 to 5
8/9 (*4)
(*6)
3/4 (*5)
4
3/4 (*5)
8
3 to 5
4/5 (*4)
(*6)
3 to 5
8/9 (*4)
(*6)
IB-1501667-B
Refer-
ence
-
-
173
175
-
-
-
-
177
179
-
-
-
-
173
175
-
-
-
-
177
179
-
-
-
181
-
-
184
-
-
181
-
-
184
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents