Mitsubishi Electric MELDAS 60 Series Programming Manual page 33

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

Advertisement

(2) Arithmetic operation commands
Process
Command
Class
unit
sign
16-bit
+
D+
32-bit
16-bit
32-bit
16-bit
*
D*
32-bit
16-bit
/
32-bit
INC
16-bit
+1
DINC
32-bit
DEC
16-bit
–1
DDEC
32-bit
(3) BCD
BIN conversion commands
Process
Command
Class
unit
sign
BCD
16-bit
BCD
DBCD
32-bit
BIN
16-bit
BIN
DBIN
32-bit
Symbol
+
+
S1
S2 D
D +
S1
S2 D
-
-
S1
S2 D
D -
S1
S2 D
D-
*
*
S1
S2 D
D *
S1
S2 D
/
/
S1
S2 D
D/
D /
S1
S2 D
INC
DINC
DEC
DDEC
Symbol
BCD
S
DBCD S
BIN
S
DBIN S
Process details
(S1) + (S2)
(D)
(S1+1, S1) + (S2+1, S2)
(S1) – (S2)
(D)
(S1+1, S1) – (S2+1, S2)
(S1) x (S2)
(D+1, D)
(S1+1, S1) x (S2+1, S2)
(D+3, D+2, D+1, D)
.
=
(S1)
.
(S2)
(D)
Quotient (D) Remainder (D+1)
.
=
(S1+1, S1)
.
(S2+1, S2)
Quotient (D+1,D) Remainder (D+3, D+2)
D
(D) + 1
(D)
D
(D+1, D) + 1
(D + 1, D)
D
(D) – 1
(D)
D
(D + 1, D) – 1
(D + 1, D)
Process details
BCD conversion
(S)
D
BIN (0 to 9999)
BCD conversion
(S1+1,S1)
D
BIN (0 to 99999999)
BIN conversion
(S)
D
BIN (0 to 9999)
BIN conversion
(S1+1,S1)
D
BIN (0 to 99999999)
- 25 -
6. Explanation of Commands
No.
of
steps
4
(D+1, D)
4~5
4
(D+1, D)
4~5
4
5~6
5
5~6
2
2
2
2
No.
of
step
(D)
3
(D+1,D)
4
(D)
3
(D+1,D)
4
Page
82
84
86
88
90
92
94
96
98
100
102
104
Page
106
108
110
112

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents