EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #557 background imageLoading...
Page #557 background image
7-183
BINDA(P),DBINDA(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.1 Conversion from BIN 16-bit or 32-bit to decimal ASCII (BINDA(P),DBINDA(P))
(3) The operation results stored at are as follows:
(a) The sign "20
H
" will be stored if the BIN data is positive, and the sign "2D
H
" will be stored
if it is negative.
(b) The sign "20
H
" will be stored for the leading zeros of effective digits. (Zero suppression
is conducted.)
(c) The storage of data at devices specified by +3 differs depending on the ON/OFF
status of SM701 (output number of characters conversion signal).
When SM701 is OFF......Stores "0"
When SM701 is ON ......Does not change
DBINDA
(1) Converts the individual digit numbers of decimal notation of the BIN 32-bit data designated
by into ASCII codes, and stores the results into the area starting from the device
designated by .
For example, if the value 12345678 has been designated by , the following would be
stored into the area starting from :
(2) BIN data designated by can be between 2147483648 to 2147483647.
(3) The operations results stored at will be stored in the following way:
(a) The sign "20
H
" will be stored if the BIN data is positive, and the sign "2D
H
" will be stored
if it is negative.
(b) The sign "20
H
" will be stored for the leading zeros of effective digits. (Zero suppression
is conducted.)
(c) The data stored at the upper 8 bits of the device designated by +5 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 .......Stores "20
H
"
D
0 0 3 2 5
Number of significant digits
20
H is set
D
S
D
+1
Sign
ASCII code for billions place
ASCII code for hundred-millions place
ASCII code for ten-millions place
b15 b8b7 b0
+2
When SM701 is OFF
When SM701 is ON
ASCII code for millions place
ASCII code for hundred-thousands place
ASCII code for ten-thousands place
ASCII code for thousands place
+3
+1
ASCII code for hundreds place
ASCII code for tens place
ASCII code for units place
0 or 20
H
0
20
H
Upper 16 bits Lower 16 bits
BIN 32-bit data
+4
+5
S
D
S
D
D
D
D
D
S
D
+1
2D
H
()20
H
(space)
20
H
(space)31
H
(1)
b15 b8b7 b0
+2
32
H
(2)33
H
(3)
34
H
(4)35
H
(5)
+3
36
H
(6)37
H
(7)
38
H
(8)
0 or 20
H
+4
+4
+1
12
3
4
5678
S S
D
D
D
D
D
D
S
D
0012
Number of significant digits20
H
034 560
D

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals