EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC QCPU

Mitsubishi MELSEC QCPU User Manual

Mitsubishi MELSEC QCPU
285 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #210 background imageLoading...
Page #210 background image
6 - 59 6 - 59
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.3.2 Conversion from BCD 4-digit and 8-digit data to BIN data
(BIN, BINP, DBIN, DBINP)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Other
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
K, H
U
S
D
[Instruction Symbol] [Execution Condition]
indicates BIN or DBIN
P
Command
Command
BIN, DBIN
BINP, DBINP
S
D
S D
[Set Data]
Set Data Meaning Data Type
S
BCD data or head number of device storing BCD data BCD 4/8 digits
D
Head number of device that will store BIN data BIN 16/32 bits
[Functions]
BIN
Converts BCD data (0 to 9999) at device designated by
S
to BIN data, and stores at the device
designated by
D
.
BIN conversions
8000
1
4000
0
2000
0
1000
1
800
1
400
0
200
0
100
1
80
1
40
0
20
0
10
1
8
1
4
0
2
0
1
1
BCD 9999
Thousands digits Hundreds digits Tens digits Ones digits
32768
0
16384
0
8192
1
4096
0
2048
0
1024
1
512
1
256
1
128
0
64
0
32
0
16
0
8
1
4
1
2
1
1
1
BIN 9999
Always set these to 0
S
D
DBIN
Converts BCD data (0 to 99999999) at device designated by
S
to BIN data, and stores at the
device designated by
D
.
0
Ten millions
digits
1
0
1 1
0 0
1 1
0 0
1 1
0 0
1 1
0 0
1 1
0 0
1 1
0 0
1 1
0 0
1
Millions
digits
Hundred
thousands
digits
Ten
thousands
digits
Thousands
digits
Hundreds
digits
Ten digits Ones digits
BIN conversions
+1
0
Always set these to 0
0
0 0 0 1 0 1 1 1 1 1 0 1 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 1 1
+1
1
2
4
8
1
2
4
8
1
2
4
8
1
2
4
8
1
2
4
8
1
2
4
8
1
2
4
8
1
2
4
8
BCD 99999999
S
BIN 99999999
D
10
7
10
6
10
5
10
4
10
3
10
2
10
1
10
0
2
31
2
30
2
29
2
28
2
27
2
26
2
25
2
24
2
23
2
22
2
21
2
20
2
19
2
18
2
17
2
16
2
15
2
14
2
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
S
S
D D
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC QCPU and is the answer not in the manual?

Mitsubishi MELSEC QCPU Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC QCPU
CategoryController
LanguageEnglish

Related product manuals