background image

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

Summary of Contents for GW-7434D

Page 1: ...CD ROM or download it from the ICPDAS web site CAN_CD DeviceNet Gateway GW 7434D Manual or http www icpdas com products Remote_IO can_bus GW 7434D htm The goal of this manual is focused on helping use...

Page 2: ...25Kbps Produced connection size 2 bytes Consumed connection size 2 bytes Device 2 MACID 0x02 support Poll IO connection Baud rate 125Kbps Produced connection size 16 bytes Consumed connection size 8 b...

Page 3: ...of the GW 7434D s user s manual Step1 Configure the network parameters via Configuration Wizard To Use the Configuration Wizard you must first install PCDiag 8000CD Napdos 7188e TCP PCDiag Setup Setup...

Page 4: ...description and MAC ID then press OK button 1 Right click mouse button to insert device Step5 Now users need to configure the connection parameters between the GW 7434D and these two parameters by do...

Page 5: ...lly users need to map these two devices IO connection data path into GW 7434D s Input Output Data Area So that users can get set IO data from into IO Data Area via Modbus TCP function 16 command force...

Page 6: ...file is called MBTCPDNM ini You can run the GW 7434D Utility to load the record file to review all settings of specific GW 7434D If you forget to store these settings you can still obtain the informa...

Page 7: ...an get set the IO data of these devices via using Modbus TCP function code 4 and 16 commands to set get data to from GW 7434D s IO Data Area The details of this procedure are shown below 4 1 Get Set D...

Page 8: ...ng data on the Input Memory Table 0000 0001 and 0100 0115 after click the Get Data button or Auto button Step3 By pressing the Set Data button users also can set the data on the Output Memory Table in...

Page 9: ...ection 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...

Page 10: ...rce multiple registers to write output data into GW 7434D s Output Data Area Output Data of Device_2 Response Setting OK Function code 16 force multiple registers Output Data of Device_1 GW 7434D Quic...

Reviews: