hit counter script

Mitsubishi Electric MELSEC Q Series Programming Manual page 182

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU
[Error]
(2) Conversion from BIN to BCD (32 bits) (DBCD)
• Converts BIN data (0 to 99999999) at the device designated by (S) to BCD data,
and stores it at the device designated by (D).
2
(S) BIN 99999999
(D) BCD 99999999
The data of (S) is other than (0 to 9999 at BCD instruction, or 0 to 99999999 at DBCD
instruction), a sequence program error occurs.
Safety observation warnings (SM24) are turned ON and error code (SD32): 10, detail
code (SD33): 8001H are stored.
(S)+1 (Upper 16bits)
31
30
29
28
27
26
25
24
23
22
21
2
2
2
2
2
2
2
2
2
2
0
0
0
0
0
1
0
1
1
1
1
1
Must always be "0"
(upper 5 digits).
7
6
5
10
10
10
8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1
1
0
0
1
1
0
0
1
1
0
0
1
Ten
Millions
Hundred
millions
digits
thousands
digits
digits
(D)+1 (Upper 4digits)
5 - 41
(S) (Lower 16bits)
20
19
18
17
16
15
14
13
12
11
2
2
2
2
2
2
2
2
2
2
2
0
1
0
1
1
1
1
0
0
0
0
0
BCD conversion
4
3
2
10
10
10
1
0
0
1
1
0
0
1
1
0
0
1
Ten
thousands
Hundreds
thousands
digits
digits
digits
(D) (Loewr 4digits)
10
9
8
7
6
5
4
3
2
1
0
2
2
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
0
10
10
1
0
0
1
1
0
0
1
Tens
Ones
digits
digits

Advertisement

Table of Contents
loading

Table of Contents