Delta AS Series Programming Manual page 1099

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
2206
Device
X
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction converts the IP address in S and S+1 into a string IP address, and stores the conversion result in
D.
2.
The operand D occupies eight consecutive devices.
_6
_6
Example
D 0
16 #C0( 192)
D 1
16#00 ( 0)
Additional remarks
1.
If you declare the operand S in ISPSoft, the data type is ARRAY [2] of WORD/INT.
2.
If you declare the operand D in ISPSoft, the data type is ARRAY [8] of WORD/INT.
6 - 8 2 0
INTOA
P
Y
M
S
T
C
16#A8(16 8)
16 #01 (1)
Operand
S,D
HC
D
FR
SM
Pulse instruction
AS
: Source value
S
: Conversion result
D
" " 9
D 10
D 11
"."
D 12
" " 6
Afte r th e in struction
D1 3
"."
is exe cu ted
" " 0
D 14
"."
D 15
" " 0
D 16
16 00
D1 7
Function
Converting an integer IP address into a
string IP address
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
" " 1
" " 2
" " 1
" " 8
" 192.168.0.1"
" " 0
" " 0
" "
0
#
" "
1
"$"
F
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents