Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-183
BINDA(P),DBINDA(P)
1
2
3
4
6
6
7
8
7
.11 Char
acter
 string processing inst
ructions
7
.11.1 Conversion from BIN
 16-bit or
 32-bi
t to decim
al ASCII (BINDA(P),DBINDA(P
))
7.11  
Character string processing instructions
7.11.1  
Conversion from BIN 16-bit or 32-bit to decimal ASCII 
(BINDA(P),DBINDA(P))
BINDA(P),DBINDA(P)
Function
BINDA
(1) Converts the individual digit numbers of decimal notation of the BIN 16-bit data designated 
by 
 into ASCII codes, and stores the results into the area starting from the device 
designated by 
.
For example, if  12345 has been designated at 
, the following will be stored from 
 
onward:
(2) The BIN data designated at 
 can be in the range from  32768 to 32767.
: BIN data to be converted to ASCII (BIN 16/32 bits)
: Head number of the devices where the conversion result will be stored (character string)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
––
Process
High
performance
Redundant Universal
Basic
Command
Command
P
S
D
S
D
BINDAP, DBINDAP
BINDA, DBINDA
indicates an instruction symbol of BINDA/DBINDA.
S
D
S
D
S
D
+1
Sign
ASCII code for ten-thousands place
ASCII code for thousands place
ASCII code for hundreds place
b15
b8 b7
b0
+2
b15
b0
BIN 16-bit data
0
ASCII code for tens place
ASCII code for units place
+3
S
D
D
D
D
Only when 
SM701 is OFF
S
D
+1
2D
H
  (   )
31
H
 (1)
32
H
 (2)
33
H
(3)
b15
b8 b7
b0
+2
b15
b0
34
H
 (4)
35
H
 (5)
00
H
+3
1
2
3
4
5
D
S
D
D
D
S