532
7 APPLICATION INSTRUCTIONS
7.11 Character String Processing Instructions
■DBINHA
• Converts the individual digit numbers of hexadecimal notation of the BIN 32-bit data designated by (S) into ASCII codes,
and stores the results into the area starting from the device designated by (D).
For example, if the value 03AC625EH has been designated by (S), it would be stored following (D) in the following manner:
• The BIN data designated by (S) can be in the range from 0H to FFFFFFFFH.
• The operation results stored at (D) 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.)
• The data to be stored at the device designated by (D)+2 differs depending on the ON/OFF status of SM701 (number of
characters to output select signal).
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
• When SM701 is OFF: Stores "0"
• When SM701 is ON: Does not change
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101 The range of the device specified in (D) exceeds the range of the
corresponding device.
+1
ASCII code for the 8th digit
ASCII code for the 7th digit
ASCII code for the 6th digit
ASCII code for the 5th digit
b15 b8
b7
b0
+2
ASCII code for the 4th digit
ASCII code for the 3rd digit
ASCII code for the 2nd digit
ASCII code for the 1st digit
+3
+1
0
Upper 16 bits Lower 16 bits
BIN 32-bit data
+4
S
D
S
D
D
D
D
(Only when
SM701 is OFF)
+1
30H (0)33H (3)
41
H (A)43H (C)
b15 b8 b7 b0
+2
36H
(6)32H (2)
35
H (5)45H (E)
+3
00H
+4
+1
03AC 62
5E
H
S
D
S
D
D
D
D