4.2 Get/Set Data By using the MBTCP tool
The address of the Input/Output Data Area is form 0x00 to 0xFF, 256 words.
Users can get /set these two devices data by using Modbus/TCP function code
4 and 16 commands to set/get data to/from GW-7434D’s IO Data Area. The
following tables are the setting of the address mapping on the section 3, step7.
Device
Connection
Type
Data Type
Data
Length
Mapping Address of IO
Data Area
Input 2
Bytes
Input Area: 0x00~0x01
Device_1 Poll
Output
2Bytes
Output Area: 0x00~0x01
Input
16 Bytes
Input Area: 0x20~0x2F
Device_2 Poll
Output
8 Bytes
Output Area: 0x02~0x09
Note: Here the setting of the GW-7434D’s Net ID is 0x01.
Step1
: Using Modbus/TCP function code 4, read input registers, to read
devices’ input data from GW-7434D’s Input Data Area.
Input Data of
Device_1
Function code 4, Read
input registers
Input Data
of Device_2
GW-7434D Quick Start User Guide (Version 2.0, Aug/2010)
9