Function Code 102(0X65): Read Ip Address - ICP DAS USA GW-7472 User Manual

Ethernet/ip to modbus rtu/tcp gateway
Hide thumbs Also See for GW-7472:
Table of Contents

Advertisement

For example, If you want to set the following configuration into GW-7473 (Address = 1):
IP address: 192.168.255.1
Subnet mask: 255.255.0.0
Default gateway: 192.168.0.254
Net ID: 1
Baud rate: 115200
Data bits: 8
Stop bits: 1
Parity: None
Please send the command below:
Bytes
0
1
Item
Address
FC
Data
01
64
If the configuration is set successfully, the GW-7473 will reply you the same message.

5.4.2 Function Code 102(0x65): Read IP Address

Users can read the IP address and Modbus settings of GW-7473 with function code
0x65.For example, If you want to read the IP address and Modbus settings from GW-
7473 (Address = 1), please send the command below:
Bytes
0
1
2
Data
01
65
00
GW-7472 / GW-7473 User Manual, Version 2.5, June 2014
Table 5.7 parity index
Index
Parity
0
None
1
Odd
2
Even
Table 5.8 function code 0x64 command
2
3
4
5
6
IP Address
Subnet Mask
01
ff
a8
c0
00
Table 5.9 function code 0x65 request format
3
4
5
6
00
00
00
00
00
7
8
9
10
11
Default gateway
00
ff
ff
fe
00
7
8
9
10
11
00
00
00
00
12
13
14
15
Net
Baud
ID
rate
a8
c0
01
06
12
13
14
15
00
00
00
00
16
17
18
Data
Stop
Parity
bits
bits
08
01
00
16
17
18
00
00
00
--- 49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gw-7473

Table of Contents