450
BINHA, BINHAP, DBINHA, DBINHAP
F
unct
i
on
BINHA
(1) Converts the individual digit numbers of hexadecimal 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 02A6
H
has been designated by , it will be stored as follows:
(2) The BIN data designated by can be in the range from 0
H
to FFFF
H
.
(3) The operation results stored at are processed as 4-digit hexadecimal values.
For this reason, zeros which are significant digits on the left side of the value are processed as "0". (No zero suppression
is conducted.)
(4) The data to be stored at the device designated by +2 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
DBINHA
(1) Converts the individual digit numbers of hexadecimal 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 03AC625E
H
has been designated by , it would be stored following in the following manner:
(2) The BIN data designated by can be in the range from 0
H
to FFFFFFFF
H
.
(3) The operation results stored at are processed as 8-digit hexadecimal values.
For this reason, zeros which are significant digits on the left side of the value are processed as "0". (No zero suppression
is conducted.)
(4) The data to be stored at the device designated by +2 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
S
D
+
1
ASC
II
code
for
the
4
th
d
i
g
i
t
ASC
II
code
for
the
3rd
d
i
g
i
t
ASC
II
code
for
the
2nd
d
i
g
i
t
ASC
II
code
for
the
1st
d
i
g
i
t
b15
b8b7
b0
+
2
0
b15
b0
B
IN
16
-
b
i
t
data
S
D
D
D
On
l
y
w
hen
SM701
i
s
O
FF
S
D
+
1
30
H
(0)
32
H
(2)
4
1
H
(A)
36
H
(6)
b15
b8 b7
b0
+
2
00
H
b15
b0
02A6
H
S
D
D
D
S
D
D
S
D
+
1
ASC
II
code
for
the
8th
d
i
g
i
t
ASC
II
code
for
the
7th
d
i
g
i
t
ASC
II
code
for
the
6th
d
i
g
i
t
ASC
II
code
for
the
5th
d
i
g
i
t
b15
b8b7
b0
+
2
ASC
II
code
for
the
4
th
d
i
g
i
t
ASC
II
code
for
the
3rd
d
i
g
i
t
ASC
II
code
for
the
2nd
d
i
g
i
t
ASC
II
code
for
the
1st
d
i
g
i
t
+
3
+
1
0
U
pper
16
b
i
ts
L
o
w
er
16
b
i
ts
B
IN
32
-
b
i
t
data
+4
S
D
S
D
D
D
D
(On
l
y
w
hen
SM701
i
s
O
FF
)
S
D
+
1
30
H
(0)
33
H
(3)
4
1
H
(A)
4
3
H
(C)
b15
b8 b7
b0
+
2
36
H
(6)
32
H
(2)
35
H
(5)
4
5
H
(
E
)
+
3
00
H
+4
+
1
0 3 A C 6 2 5
E
H
S
D
S
D
D
D
D
S
D
D