18
IM 04L51B11-01EN
Modbus client settings
Select Communication (Ethernet) settings, Modbus
client settings (
in figure 30), and then Basic settings
(
-1 in figure 31). Set Modbus client function to On
and Communication Interval to 2s. Then, save the
settings (figure 31).
-1
-2
-3
Figure 31
Next, select Modbus server settings (
-2 in figure 31)
under Modbus client settings. For the GX20W’s built-in
GW, set Server number to 1 (a unique number for each
server), Server name to 192.168.200.200, and Port
number to 502. Then save the settings (figure 32).
Figure 32
Next, select Command settings (
-3 in figure 31) under
Modbus client settings. Assign the register contents
of the GX20W’s built-in GW to the communication
channels (figure 33).
Command
No.
Type
Server Unit No. Data Type Register First
channel
1
Read
1
1
FLOAT_B
30005
0001
2
30008
0002
3
30011
0003
4
30014
0004
5
30017
0005
6
30020
0006
7
30023
0007
8
30026
0008
Figure 33