EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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 #455 background imageLoading...
Page #455 background image
453
BCDDA, BCDDAP, DBCDDA, DBCDDAP
1
2
3
4
4
6
7
8
7.11 Character string processing instructions
7.11.3 BCDDA, BCDDAP, DBCDDA, DBCDDAP
DBCDDA
(1) Converts the individual digit numbers of hexadecimal notation of the BCD 8-digit data designated by into ASCII codes,
and stores the results into the area starting from the device designated by .
For example, if the value 01234056 is designated by , the operation result would be stored following in the following
manner:
(2) The BCD data designated by can be in the range of 0 to 99999999.
(3) The results of calculation stored in the device . All zeros on the left side of the "Number of significant digits" are zero-
suppressed.
(4) The data to be stored at the device designated by +4 differs depending on the ON/OFF status of SM701 (number of
characters to output select signal).
When SM701 is OFF.....Stores "0"
When SM701 is ON......Does not change
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100
During the operation of the BCDDA instruction, the data of is other
than 0 to 9999.
During the operation of the DBCDDA instruction, the data of is other
than 0 to 99999999.
––
4101
The range of the device specified in exceeds the range of the
corresponding device.
–– –– –– ––
S
D
+1
Ten
millions
place
ASCII code for ten-millions placeASCII code for millions place
ASCII code for ten-thousands place
b15 b8b7 b0
+2
(Only when
SM701 is OFF)
ASCII code for thousands place
ASCII code for hundreds place
ASCII code for tens placeASCII code for unit place
0
+3
Millions
place
Hundred
thou-
sands
place
Ten
thou-
sands
place
+1
Thou-
sands
place
Hundreds
place
Tens
place
Units
place
b31 b28 b24b27 b16b19b23 b20 b15 b12 b0b3b7 b4b8b11
S S
D
D
D
D
ASCII code for hundred-thousands place
S
D
+1
+2
+3
+1
+4
b31 b28 b24b27 b16b19b23 b20 b15 b12 b7 b4
20
H
31
H
(1)
32
H
(2)33
H
(3)
b15
b8b7
b0
34
H
(4)30
H
(0)
35
H
(5)36
H
(6)
00
H
b0b3b8b11
0123 4 056
S
D
S
D
D
D
D
S
D
0001
Number of significant digits
20
H
2098
D
S
S
D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals