background image

 

 

 

 

 

Shenzhen 3onedata Technology Co., Ltd. 

Address: 

3/B, Zone 1, Baiwangxin High Technology Industrial park, Nanshan District, Shenzhen, 518108 China 

Tel: 

+86-755-26702668 

E-mail: 

[email protected] 

Fax: 

+86-755-26703485 

Website: 

http://www.3onedata.com 

 

 

Summary of Contents for GW11 Series

Page 1: ...I GW11XX Series Modbus Gateway User Manual Document Version 03 Publication Date Oct 24 2017 Industrial Ethernet communication solutions experts Shenzhen 3onedata Technology Co Ltd...

Page 2: ...ponding companies Conventions Used in the Manual Technical or printing errors might exist in the product or the instruction manual therefore Shenzhen 3onedata Technology Co Ltd reserves the right to c...

Page 3: ...a Technology Co Ltd Address 3 B Zone 1 Baiwangxin High Technology Industrial park Nanshan District Shenzhen 518108 China Tel 86 755 26702668 E mail sales 3onedata com Fax 86 755 26703485 Website http...

Page 4: ...serial ports are different the interface functions and interface operations are the same Audience This manual applies to the following engineers Network administrators Technical support engineers Hard...

Page 5: ...lated to personal injury Ndicates a potentially hazardous situation which if not avoided could result in death or serious injury Calls attention to important information best practices and tips NOTE i...

Page 6: ...INTERFACE 3 1 4 WEB TIMEOUT PROCESSING 4 2 OVERVIEW 5 3 NETWORK SETTING 7 4 SERIAL SETTINGS 10 ABOUT THIS CHAPTER 10 4 1 COM SETTINGS 10 4 2 COM INFORMATION 12 5 MODBUS SETTINGS 14 ABOUT THIS CHAPTER...

Page 7: ...ODE 35 9 3 ASCII MASTER MODE 41 9 4 ASCII SLAVE MODE 46 10 CUSTOMER CASE 53 PART TWO PRINCIPLE 57 11 MODBUS OVERVIEW 57 ABOUT THIS CHAPTER 57 11 1 PROTOCOL IMPLEMENTATION 57 11 2 MASTER AND SLAVE WORK...

Page 8: ...t The products using EMC protection design Power has over current over voltage protection and can work in rugged environment Product Features Supports multiway serial ports Supports 1 or 2 10 100M Eth...

Page 9: ...ements 1 2 Set the IP address of the Computer 1 3 Login the WEB Configuration Interface 1 4 WEB Timeout Processing 1 1 System Requirements Using the Modbus Gataway device the system should meet the fo...

Page 10: ...reachable Before making a local configuration make sure that the IP address of the computer and the Gataway are on the same subnet Note When the switch is first configured if it is configured locally...

Page 11: ...gin the WEB Configuration Interface Operation steps Log in to the WEB configuration interface as follows Step 1 Run the computer browser Step 2 Enter the address of the switch http 192 168 1 254 in th...

Page 12: ...display Access denied to deny access to the information Please refresh the page and try again Step 5 Click OK Step 6 End After successful login you can configure the relevant parameters and informatio...

Page 13: ...ns in the Basic Settings interface Interface Elements Description Name Network mark of the device It is convenient for management tools to judge Module Network identification Description The descripti...

Page 14: ...dual port device displays the Lan1 and Lan2 columns The single port device displays only the Lan1 column Interface Elements Description IP mode Display how to get an IP Address of the Gateway device...

Page 15: ...ork setting Function Description On the Network settings page you can configure how to obtain IPv4 addresses Operation Path Main Menu Network settings Interface Description Network settings interface...

Page 16: ...nt network segment of the device to transmit from the default network port Note Single port devices do not support this function Lan1 Network port 1 network configuration column Note The default IP fo...

Page 17: ...to the corresponding section of Lan1 in this table for the description of interface elements IP Report IP Report configuration column Note When the Modbus gateway adopts the automatic IP address it r...

Page 18: ...n On the COM settings page you can configure basic parameters such as baud rate data bit stop bit and parity bit corresponding to the serial port number You can also configure whether the correspondin...

Page 19: ...responding serial number in the Alias text box Baud Rate Select the baud rate for the corresponding serial number The options are 300 600 1200 2400 4800 9600 19200 38400 57600 115200 Data Bits Select...

Page 20: ...e By hardware and software jointly decided there are three modes RS 232 RS 485 RS 422 Note Different types of products support different types of serial ports RTSCtrl RTS pin can be controlled the opt...

Page 21: ...er of serial ports are different the interftions are the same COM information interface the main elements of the configuration instructions Interface Elements Description Port Display device serial po...

Page 22: ...nt Hyperlink This chapter 5 1 Modbus Parameters 5 2 Slave ID 5 1 Modbus Parameters Function Description On the Modbus Parameters page you can configure Initial delay Response timeout and Interval Time...

Page 23: ...l number of the device Response Timeout Manually configure the time between the request and the response Inter character Timeout Manually configure the character interval Inter frame Delay Manually co...

Page 24: ...tion instructions in Slave ID interface Interface Elements Description Channel No Display channel number Channel Type Modbus gateway mode of operation the options are RTU Master mode RTU Slave mode AS...

Page 25: ...Chapter Content Hyperlink This chapter 6 1 COM State 6 1 COM State Function Description On the COM State page you can view the data transceiver status and pin status of the corresponding serial port...

Page 26: ...nd the number of network ports and the number of serial ports are different the interftions are the same Main element configuration instructions in COM State interface Interface Elements Description P...

Page 27: ...MAC Filtering 7 4 User Management 7 1 Device Security Function Description On the Device Security page you can enable or disable Web interface configuration Telnet remote control BlueEyes VSP software...

Page 28: ...the system configuration interface through the Telnet terminal Disable Disable the Telnet console feature Device Search Enable or disable the BlueEyes VSP software search device feature The options a...

Page 29: ...Allowed IP filtering rules 1 to 16 other than the IP address to allow access to the system Forbidden IP filtering rules 1 to 16 other than the IP address to forbidden access to the system Number Displ...

Page 30: ...cription MAC Filtering interface screenshot Main element configuration instructions in MAC Filtering interface Interface Elements Description MAC Filtering Enables or disables MAC address filtering ru...

Page 31: ...t and Administrator privileges Guest only has the rights to view the status of the Modbus gateway and the system administrator can configure the parameters of the Modbus gateway Operation Path Open Ma...

Page 32: ...onfiguration interface user permissions Operation Click Edit to modify the user name and password of the login WEB configuration interface Please remember the revised user name and password if acciden...

Page 33: ...is chapter 8 1 System Information 8 2 System File 8 3 Logout Reboot 8 1 System Information Function Description On the System Information page you can configure the device module name description seri...

Page 34: ...description in the Description text box A summary of the device no more than 32 bytes Serial NO Enter the device number in the Serial NO text box Describe the location of the device installation no m...

Page 35: ...e you are ready click Upload you can upload the existing configuration to the Modbus gateway Upgrade Firmware Click Choose File select your prepared software upgrade file click Upgrade you can achieve...

Page 36: ...eway system Operation Path Open in sequence Main Menu System Managment Logout Reboot Interface Description Logout Reboot interface screenshot Main element configuration instructions in Logout Reboot i...

Page 37: ...his Chapter Connect Hyperlink This Chapter 9 1 RTU Master Mode 9 2 RTU Slave Mode 9 3 ASCII Master Mode 9 4 ASCII Slave Mode 9 1 RTU Master Mode Background brief When the user needs to implement the M...

Page 38: ...tion port COM1 Baud rate 115200 Parity bit None Data bit 8 Stop bit 1 The parameters of the TCP slave are as follows IP address 192 168 1 80 Slave ID 1 TCP port number 501 Operation steps The screensh...

Page 39: ...s gateway 3 Other parameters remain the default click submit Configure the serial port parameter information Step 3 1 Log in to the Web configuration interface and select Serial Settings COM Settings...

Page 40: ...the Remote IP Address text box 4 Enter 501 in the TCP port text box 5 Enter 1 in the Slave ID Start and Slave ID End text boxes 6 Enter 0 in the Slave ID Offset text box 7 Click OK 8 Save the configur...

Page 41: ...drop down list box and select Modbus TCP IP 6 Enter the TCP slave IP address 192 168 1 80 in the IP Address text box of the TCP IP Server area 7 Enter the TCP slave port number 501 in the Port text bo...

Page 42: ...nnection Setup 13 Click the Connection drop down list box and select serial port 14 In the Serial Settings option box configure serial port information such as serial number baud rate data bit parity...

Page 43: ...tep 7 9 2 RTU Slave Mode Background brief When the user needs to implement the Modbus TCP master device to communicate with the Modbus RTU slave device use the Modbus gateway device and set the device...

Page 44: ...rs of the RTU slave are as follows Communication port COM 2 Baud rate 115200 Parity bit None Data bit 8 Stop bit 1 Operation steps The screenshot reference model for this manual is GW1108 8D 3IN1 Modb...

Page 45: ...ult click submit Configure the serial port parameter information Step 3 1 Log in to the Web configuration interface and select Serial Settings COM Settings 2 Select COM2 in the Port drop down list 3 S...

Page 46: ...ck OK Run mbpoll and mbslave software to simulate master and slave configuration Step 5 1 Run the mbslave exe software click Setup Slave Definition 2 Enter 2 in the Slave ID text box 3 Other parameter...

Page 47: ...RTU mode in the Mode option 8 Other parameters remain the default click OK 9 Run the mbpoll exe software click Setup Read Write Definition 10 Enter 2 in the Slave ID text box 11 Other parameters rema...

Page 48: ...henzhen 3onedata Technology Co Ltd 14 In the Remote Server check box configure the Modbus gateway IP address port number and connection timeout 15 Other parameters remain the default click OK Check th...

Page 49: ...ter device to communicate with the Modbus TCP slave device use the Modbus gateway device and set the device s operating mode to ASCII Master In ASCII Master Mode the ASCII master device accesses the T...

Page 50: ...S 422 RS 485 and the number of network ports and the number of serial ports are different the interftions are the same Connect the COM serial port of the computer and the COM3 serial port of the Modbu...

Page 51: ...p 4 Configure the working mode of the Modbus gateway 1 Log in to the Web configuration interface and select Main Menu Modbus Settings SlaveID 2 In the Channel NO is 3 click the channel Type drop down...

Page 52: ...er and slave configuration 1 Run the mbslave exe software click Setup Slave Definition 2 Enter 3 in the Slave ID text box 3 Other parameters remain the default click OK 4 Click Connection Connection S...

Page 53: ...l exe software click Setup Read Write Definition 10 Enter 3 in the Slave ID text box 11 Other parameters remain the default click OK 12 Click Connection Connection Setup 13 Click the Connection drop d...

Page 54: ...p 6 Check the normal communication between the ASCII master and the TCP slave Step 7 End 9 4 ASCII Slave Mode Background brief When the user needs to implement the Modbus TCP master device to communic...

Page 55: ...rough the gateway 1 TCP master device sends request to gateway 2 Gateway forwarding request to ASCII slave device 3 ASCII slave device returns a response 4 The gateway sends back the response The para...

Page 56: ...onnect the COM serial port of the computer and the COM4 serial port of the Modbus Step 1 gateway using a cable or a converter Configure the IP address of the Modbus gateway Step 2 1 Log in to the Web...

Page 57: ...he working mode of the Modbus gateway Step 4 1 Log in to the Web configuration interface and select Main Menu Modbus Settings SlaveID 2 In the Channel NO is 4 click the channel Type drop down list box...

Page 58: ...Slave ID text box 3 Other parameters remain the default click OK 4 Click Connection Connection Setup 5 Click the Connection drop down list box and select serial port 6 In the Serial Settings option b...

Page 59: ...ID text box 11 Other parameters remain the default click OK 12 Click Connection Connection Setup 13 Click the Connection drop down list box and select Modbus TCP IP 14 In the Remote Server check box...

Page 60: ...I GW11XX Modbus User Manual 3onedata proprietary and confidential 52 Copyright Shenzhen 3onedata Technology Co Ltd End Step 7...

Page 61: ...ent our MODBUS gateway product is not suitable for you please contact customer service We do our best for your service In the case the old control system of the client contains a plurality of subsyste...

Page 62: ...ADA can control them But Slave ID in the network cannot be duplicated so some devices need to change the ID so that the network can identify them Use TCP Master instead of serial port master do not ch...

Page 63: ...zhen 3onedata Technology Co Ltd Reserved serial port Master at the same time to join TCP Master In this case the serial port Master requires the direct control device and the waiting time is short it...

Page 64: ...ype equipment the instrument the manufacturing machine and the PLC controller To integrate these devices into the network it takes into account a variety of factors including different communication p...

Page 65: ...ine protocol is a Master Slaves protocol At the same time only one master node is connected to the bus and one or more child nodes the maximum number is 247 are connected to the same serial bus A MODB...

Page 66: ...tial 58 Copyright Shenzhen 3onedata Technology Co Ltd Multipoint structure diagrams in unicast mode are as follow Multipoint structure diagrams in broadcast mode are as follow 11 2 Master and slave wo...

Page 67: ...quest to the server The server analyzes and processes the client requests and sends the results to the client If an error occurs the server will return an exception code to the client The client sends...

Page 68: ...is no error associated with requesting the Modbus function After the host sends a data request the slave receives the request and checks the check code successfully indicating that the processing is e...

Page 69: ...me mode RTU or ASCII the default setting must be RTU mode The RTU message frame is as follows Modbus ASCII When devices are setup to communicate on a MODBUS serial line using ASCII American Standard C...

Page 70: ...mal character contains 4 bits of data within each ASCII character of the message Bits per Byte 1 start bit 1 start bit 8 data bits 7 8 data bits Odd even parity 1 bit No odd even parity check If there...

Page 71: ...Modbus requests and responses by verifying the completion of the message For a function code with a fixed length of the Modbus PDU only the function code is sufficient For a function code that carrie...

Page 72: ...bus server replicates the transaction identifier of the request Protocol identifier multiplexing within the system The Modbus protocol is recognized by a value of 0 Length The length field is the numb...

Page 73: ...I GW11XX Modbus User Manual 3onedata proprietary and confidential 65 Copyright Shenzhen 3onedata Technology Co Ltd Modbus Basic Architecture Figure is shown below...

Page 74: ...ion has not been completed before the request frame access so the gateway set the initialization delay time to decide to initialize the time to issue the first request frame Delay TCP Modbus exception...

Page 75: ...haracters time In some customer site the serial device does not have FIFO cache one by one to send and receive take a long time did not meet the Modbus protocol on the standard time But the character...

Page 76: ...al ID address and the real ID address The real ID exists in the slave device and the other device directly accesses the slave device via the real ID The virtual ID exists in the gateway the only acces...

Page 77: ...ping by setting the ID range and the ID offset The ID range starts from the slave start ID to the slave end ID Only channels with channel type slaves can be mapped including serial port RTU Slave or A...

Page 78: ...nzhen 3onedata Technology Co Ltd Shenzhen 3onedata Technology Co Ltd Address 3 B Zone 1 Baiwangxin High Technology Industrial park Nanshan District Shenzhen 518108 China Tel 86 755 26702668 E mail sal...

Reviews: