EasyManua.ls Logo

Delta AH500 - Chapter 14 Remote I;O Communication Module AHRTU-PFBS

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...
Chapter 6 Applied Instructions
6-463
API Instruction code Operand
Function
2108 D $VAL P
S, D
1
, D
2
Converting the string into the binary
number
Device
X Y M S T C HC D L SM SR E PR K 16# $” DF
S
D
1
D
2
Pulse
i t ti
16-bit instruction (7-13 steps)
32-bit instruction (7-13 steps)
AH500
AH500
AH500
Symbol:
S
Source value Word
D
1
Device in which the number
of characters is stored
Word/Double word
D
2
Device in which the binary
number is stored
Word/Double word
Explanation:
1. The string in S is converted into binary number. The number of characters is stored in D
1
, the
number of decimal places is stored in D
1
+1, and the binary number is stored in D
2
.
2. $VAL:
The operand S occupies five word devices at most.
The number of characters contained in the string in S should be within the range between 2
and 8.
If there is a decimal point in the string in S, 16#2E should be stored between the first character
after the sign character and the last character.
b15
b0
b7 b8
16#00
S+1
S+2
S+3
S+
4
D1+1
.
....................
D1
D2
S
Seventh ASCII code
Second ASCII code
Sixth ASCII code
Fifth ASCII code
Third ASCII code
Fourth ASCII code
First ASCII code
Sign
Seventh ASCII code
First ASCII code
Sign
Number of characters
Number of decimal places
Binary number

Table of Contents

Other manuals for Delta AH500

Related product manuals