Mitsubishi MELSEC Q Series Programming Manual page 557

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(3) The operation results stored at
(a) The sign "20
" will be stored if the BIN data is positive, and the sign "2D
H
if it is negative.
(b) The sign "20
" will be stored for the leading zeros of effective digits. (Zero suppression
H
is conducted.)
(c) The storage of data at devices specified by
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
S
designated by
.
D
S
+1
Upper 16 bits
Lower 16 bits
BIN 32-bit data
For example, if the value
stored into the area starting from
S
+1
S
1 2 3 4 5 6 7 8
(2) BIN data designated by
(3) The operations results stored at
(a) The sign "20
" will be stored if the BIN data is positive, and the sign "2D
H
if it is negative.
(b) The sign "20
" will be stored for the leading zeros of effective digits. (Zero suppression
H
is conducted.)
0 0 1 2
0 3 4 5 6 0
20
Number of significant digits
H
(c) The data stored at the upper 8 bits of the device designated by
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
are as follows:
D
0 0 3 2 5
Number of significant digits
20
is set
H
b15
D
ASCII code for billions place
D
+1
ASCII code for ten-millions place
S
D
+2
ASCII code for hundred-thousands pl a ce
D
+3
ASCII code for thousands place
D
+4
ASCII code for tens place
D
+5
12345678 has been designated by
:
D
b15
b8b7
D
20
(space)
H
D
+1
31
(1)
20
H
D
+2
33
(3)
H
D
+3
35
(5)
H
D
+4
37
(7)
H
D
+4
0 or 20
H
can be between
2147483648 to 2147483647.
S
will be stored in the following way:
D
"
H
BINDA(P),DBINDA(P)
+3 differs depending on the ON/OFF
D
b8b7
Sign
ASCII code for hundred-mi l l i o ns pl a ce
ASCII code for millions place
ASCII code for ten-thousands place
ASCII code for hundreds place
0 or 20
ASCII code for units place
H
When SM701 is OFF
When SM701 is ON
, the following would be
S
b0
2D
( )
H
(space)
H
32
(2)
H
34
(4)
H
36
(6)
H
38
(8)
H
+5 differs depending
D
1
" will be stored
H
2
3
4
6
6
b0
7
8
0
20
H
" will be stored
H
7-183

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents