Special offers from our partners!
Find Replacement BBQ Parts for 20,308 Models. Repair your BBQ today.
7-196
HABIN(P),DHABIN(P)
DHABIN
(1) Converts hexadecimal ASCII data stored in the area starting from the device number
designated by into BIN 32-bit data, and stores it in the device number designated by .
For example, if the ASCII code of 5CB807E1
H is designated for the area starting from ,
the operation result would be stored at +1 and in the following manner:
(2) The ASCII data designated by to +3 can be in the range of from 00000000
H to
FFFFFFFF
H.
(3) The ASCII codes can be in the range of "30
H" to "39H" and from "41H" to "46H".
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.
• The ASCII codes for the individual numbers designated by to +3 are outside the
range of from "30
H" to "39H" and from "41H" to "46H". (Error code: 4100)
• The device specified by exceeds the range of the corresponding device.
(For the Universal model QCPU only.) (Error code: 4101)
S
D
+1
ASCII code for the 8th digitASCII code for the 7th digit
ASCII code for the 6th digitASCII code for the 5th digit
b15 b8b7 b0
+2
ASCII code for the 4th digitASCII code for the 3rd digit
ASCII code for the 2nd digit
ASCII code for the 1st digit
+3
Upper 16 bits Lower 16 bits
BIN 32 bits
+1
b31 b16 b15 b0
S
D
S
S
S
D
S
D D
35
H
(5)43
H
(C)
42
H
(B)38
H
(8)
b8b7 b0
30
H
(0)37
H
(7)
45
H
(E)31
H
(1)
5CB8H 07E1H
+1
b31 b15 b0
D
b15
D
b16
+1
+2
+3
S
S
S
S
S S
S S
S