EasyManua.ls Logo

Delta AH500 - Page 692

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-524
API
Instruction code
Operand Function
2207 D IATON P
S, D
Converting the IP address of the string
type into the IP address of the integer type
Device
X Y M S T C HC D L SM SR E PR K 16#
“$” DF
S
D
Pulse instruction 16-bit instruction
32-bit instruction (5-11 steps)
AH500
-
AH500
Symbol:
S
Source value String
D
Conversion result Double word
Explanation:
1. The IP address of the string type in S is converted into the IP address of the integer type, and
the conversion result is stored in D.
2. The operand S occupies eight devices.
3. The IP address of the string type in S is divided into four sections. These sections are
separated by .” (16#2E), and there are three characters in every section.
4. The value converted from the characters in every section of the IP address of the string type in
S can not be larger than 255.
5. If S is a string, there are not necessarily three characters in every section of the IP address of
the string type. For example, users can enter “192.168.0.1” instead of “192.168.000.001”.
Example 1:

Table of Contents

Other manuals for Delta AH500

Related product manuals