Delta AH500 Programming Manual page 687

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
2205
EMDRW
Device X
Y
M
S
1
S
2
S
3
S
n
Symbol:
Explanation:
1.
Before using the instruction, users have to accomplish the following setting in ISPSoft.
PLC Parameter Setting→Ethernet-Basic→Setting the IP addres and the netmask
address
2.
Setting S
:
1
Operand
Description
S
Station address
1
Remote IP address
S
+1
1
(high word)
Remote IP address
S
+2
1
(low word)
Whether to close the
S
+3
1
connection
S
: Function code
2
For example:
1 (16#01): The AH500 series PLC reads the data from several bit devices which are not
discrete input devices.
2 (16#02): The AH500 series PLC reads the data from several bit devices which are discrete
input devices.
3 (16#03): The AH500 series PLC reads the data from several word devices which are not
input registers.
4 (16#04): The AH500 series PLC reads the data from several word devices which are input
registers.
Operand
S
, S
, S
, S, n
P
1
2
3
S
T
C
HC
D
Pulse instruction 16-bit instruction (11 steps) 32-bit instruction
AH500
: Unit address
S
1
: Function code
S
2
: Device address
S
3
Register involved in the
S :
reading/writing of the data
n : Data length
The station address should be within the range between
0 and 255.
Example: The remote IP address is 172.16.144.230.
S
+1=16#AC10
1
S
+2=16#90E6
1
0: The connection is closed after the execution of the
instruction is complete.
1: The connection is persistent. (The closing of the
connection depends on the setting of the TCP
keepalive timer.)
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Function
Reading/Writing the Modbus TCP
data
L
SM SR
E
PR
AH500
Setting range
K
16# "$"
DF
-
Word
Word
Word
Bit/Word
Word
6 - 5 1 9

Advertisement

Table of Contents
loading

Table of Contents