EasyManua.ls Logo

Delta AH500 - Page 610

Delta AH500
749 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AH500 Programming Manual
6-442
API Instruction code Operand
Function
2101 D BINHA P
S, D
Converting the binary hexadecimal
number into the hexadecimal ASCII code
Device
X Y M S T C HC D L SM SR E PR K 16#
“$” DF
S
D
Pulse instruction
16-bit instruction (5 steps)
32-bit instruction (5 steps)
AH500
AH500
AH500
Symbol:
S
Source value Word/Double word
D
Device in which the conversion
result is stored
Word
Explanation:
1. The hexadecimal binary number in S is converted into the ASCII code, and the conversion
result is stored in D.
2. The instruction supports SM690, which controls the ending character.
3. The value in S used in the 16-bit instruction should be within the range between 16#0000 and
16#FFFF, and should be a four-digit binary number. The operand D occupies three word
devices. The data is converted as follows.
b15
b0
b15
b0
b7 b8
S
D
D
D
+1
+2
16-bit binary number
Ending character
(16#0000 or unchanged)
F
irst ASCII code
Second ASCII code
Third ASCII code
Fourth ASCII code
If SM690 is OFF, 16#0000 is stored in D+2. If SM690 is ON, the value in D+2 is unchanged.
For example, if the value in S is 16#02A6 and SM690 is OFF, the conversion result is as
follows.
b15
b0
b15
b0
b7 b8
16#0000
S
16#02A6
16#32(2) 16#30(0)
16#36(6)
16#41(A)
4. The value in S used in the 32-bit instruction should be within the range between 16#00000000
and 16#FFFFFFFF, and should be an eight-digit binary number. The operand D occupies five
word devices. The data is converted as follows.
S
b15
b0
b7 b8
16#32(2)
16#0000
D
D
D
D
+1
+2
+3
16#45(E)
16#35(5)
03AC 625E
S
+1
16#33(3)
16#43(C)
16#36(6)
16#30(0)
16#41(A)
D
+4

Table of Contents

Other manuals for Delta AH500

Related product manuals