Home
tGW-700 Series User Manual Ver.1.9.2
Contents
1. ER gt m 0 Ss Tiny Gateway i M e Tiny Modbus Gateway tGW 71x Home Port Network Filter Monitor Password Logout Status amp Configuration ai Een v1 4 5 Feb 20 2014 O0 Od e0 80 0a 3f 4 TCP Port Timeout A 55 D deck 100 816 Socket Watchdog Seconds Ve system Timeout EI TT Network Watchdog Seconds ia Current port settings Portsetings Port ee Baud Rate bps Data Size bits Stop Bits bits Modbus Protocol Slave Timeout ms Char Timeout bytes Silent Time ms Read Cache ms Local TCP Port TCP Timeout Seconds 9600 8 None 1 RTU 300 A 0 980 502 1 80 TCP Slave ID Server M Copyright 2010 ICP DAS Co Ltd All rights reserved KSE Copyright 2014 ICP DAS CO Ltd All Rights Reserved SS Tiny Modbus TCP to RTU ASCII Gateway User Manu o Alf 1 2 Hardware Information This chapter provides a detailed description of the front panel the hardware specifications the pin assignments the wiring notes and the dimensions for the tGW 700 series modules 2 1 Specifications Model tGW 712 tGW 722 tGW 732 tGW 715 tGW 715i tGW 725 tGW 735 tGW 718 tGW 724 tGW 734 System CPU 32 bit ARM Communication Interface 10 100 Base TX 8 pin RJ 45 x 1 Auto negotiat
2. 56 5 3 ENEE 57 5 4 CLIENT MODE APPLICATIONS eegene 65 APPENDIX GLOSSARY 70 1 ARP ADDRESS RESOLUTION PROTOCOL ness a eene sss senes nnns 70 2i CLIENTS AND SE 70 ETHERNET E 71 7 CT 71 XE c vis 71 6 INTERNET CONTROL MESSAGE Pporocol 71 8i E P 71 8 IP INTERNET PROTOCOL ADDRESS eegenen 72 9 MAC MEDIA ACCESS CONTROL ADDRESS nnns 72 10 quis 72 11 PING 72 12 RARP REVERSE ADDRESS RESOLUTION PROTOCOL sssecccccesseeccccceseeccsceueecceseueecesseueeecessuueeecessuueeceessaugeeetes 73 13 73 14 SUBNET 73 15 TCP TRANSMISSION CONTROL PROTOCOL 73 16 OP 74 17 UDP USER DATAGRAM PROTOCOL snae resa 74 APPENDIX ACTUAL BAUD RATE MEASUREMENT ssscssssassetssvesnnsnsscsanvesnnsaventenssstnnessavassocsevessnensvessustensansnnnsasenneaserenis 75 APPENDIX C EXCEPTION CODES EE 76
3. System Setting Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu d 8 Enterthe IP address and TCP Port information for the tGW 700 series module in the Modbus TCP section and then click the Connect button to connect to the tGW 700 Ver 1 1 4 Protocol Description odbusTCP Read coss saus Deos DO Preise 6 es protect IP 10 0 8 246 Droe Transaction identifer copied bry parvar usus y 0 Erte 1 Trammaction sentier copied bry server usually 0 D n 7 Protocol Byte 3 Protocol Byta 4 Length fald upper byte Connect Disconnect Gen za 0 e TudPaketse Pocket Quart ent re Packet Quay received o H Polling or Times mode Datei me Poling Mode Tea mal revel 100 pee Siet re Stan Tire Max 000 Average gp ees pr ue e Pie Bum ute utm ae EE 20006 14000 amp 60 B1 2 063 Beet Ee Ite Eed 4 9 Refer to the Protocol Description field in the top right hand section of the Modbus Utility windows You can send a request command and confirm that the response is correct For example if the Modbus device ID for the M 7000 is 1 send the command 1 20006120004 to read the D I value the res
4. nent Figure 5 3 IY irn 3 Click the Port1 tab to display to the Port1 Settings page Tiny Device Server Microsoft Internet Explorer Ele Edt Tools Help ees gt El e po Search lt Favorites 3 8 Address KEREN Si us Tiny Modbus Gateway tGW 71x 3 ES Setting Change Password Logout E BEL EETIE LE ECT Internet Faplorar z Ek Ce Preka Ich th G O HEG eck eeng EM a ru ad puni Tiny Modbus Gateway tGW 71x Par Seng Change Password Logoct Status amp Configure Port 1 Settings ees 65502000 o 0c PP ores 25 2 Pep Commerd Sort ESS urira ths Barma estes Lo cles mui Re Gi Copyright 2009 CF DAS Co Lia AW rights reserved Figure 5 4 Copyright 2014 ICP DAS CO Ltd All Rights Reserved ee 4 Select the appropriate P VAS SES AU NUES settings from the relevant drop down options The following is an example Baud Rate bps 115200 Data Bits bits 8 Parity None Stop Bits bits 1 and Modbus Protocol Modbus ort Settings 1 15200 Data Size bits 8 Sch i None Stop Bits bits 1 300 Char Timeout bytes A Slave T
5. After the main login page is displayed enter a password the factory default password is admin and then click the Submit button to continue Tiny Modbus Gateway tGW 71v Home Port1 Network Filter Monito Wa ds The system is logged out Password admin To enter the web configuration please type password ing zi lo qj In Dasswor 4 Subm Note This web configuration requires JavaScript enabled in your browser Firefox E 1 If the web configuration does not work please check the Javascript settings first When using IE please disable its cache as follows Menu items Tools Internet Options General Temporary Internet Files Settings Every visit to the page Step 4 Log in to the tGW 700 Web Server After logging into the Kaz A Tiny Modbus Gateway tGW 71x Home Por Network Filter Monitor Password Logout tGW 700 web server the main page will be Status amp Configuration BIS 715 IEEE Tiny vi 4 5 20 2014 821228 00 0d e0 80 0a 3f displayed 010102519 10 08 16 OFF Current port settings PortSettings 980 502 180 Server Copyright 2014 ICP DAS CO Ltd All Rights Reserved g 2 VURAL SLU 815281111181 BEER Poet PREMIERE 1 4 2 Home Page After clicking the tab
6. 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu Step 3 Configuring the Pair connection Client Mode on the Web Server for tGW 700 1 1 Open the eSearch Utility to search for the tGW 700 modules connected to the network Click the name of the first tGW 715 module tGW 700 1 to select it and then click the Web button to launch a browser window to connect to the web server on the tGW 700 1 module Alternatively you can enter the URL for tGW 700 1 in the address bar of the browser 2 When the login screen is displayed enter the password use the default password admin in the Password field and then click the Submit button to display the configuration page Tiny Device Server Microsoft Internet Explorer Die LE er ex O O dr C A ESA cree REI te Ate So us Tiny Modbus Gateway tGW 700 Home Porti Network Seming Change Password Logout Ss esearch LOU ON Jalli 2010 The system is logged out To enter the web configuration please type Password in tre following meld Alias IP Address Sub net Mask tGW 715 Im 10 0 8 100 255 255 0 0 10 0 8 25 Mote This web configuration requres JaveScript enabled in your browser Firefox E If Are el configuration does not wore pease check the JavaScript settings first pnyright c 2009 CP DAS Lid All rights reserved
7. Modbus Device Figure 3 7 gt RS 485 Wiring N A N A N A N A GND RxD1 RxD1 TxD1 D1 TXD1 D14 Modbus Device Y DATA G DATA Y DATA 5 I G DATA R VS E B GND Figure 3 8 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Alf 1 2 1 Open web browser such as Google Chrome Internet Explorer Firefox enter the URL for the tGW 700 series module in the address bar of the browser or click the Web button in the eSearch Utility Tiny Device Server Microsoft Internet Explorer Edit View Favorites Tools Help pack 2 JO search lt 2 Favorites Address http 1 10 0 8 246 When the login screen is displayed enter the password use the default password admin in the login password field and then click the Submit button to enter the configuration web page The system is logged out enter the web configuration please type password in the following held Click the Port1 tab to display the Port1 Settings page Form the Modbus Protocol drop down menu select the protocol either Modbus or Modbus ASCII that is used by the attached Modbus devices Note Only one protocol can be used for each serial port Kaz Tiny Modbus Gateway tGW 71x
8. and restore the default settings for the tGW 700 module each of which will be described in more detail below 4 3 1 Network and Miscellaneous Settings The Network and Miscellaneous Settings page provides basic details of the tGW 700 module and other information related to the hardware and software Network and Miscellaneous Settings Miele 718 ainsi 1 4 6 Aug 05 2014 00 Od e0 80 00 6b TCP Port Timeout Socket Watchdog Seconds D Addrecc 10085 180 Suite System Timeout OFF Network Watchdog Seconds The software and hardware information section includes information related to the Model Name the current Firmware version the IP Address the current position of the Initial Switch the Alias the MAC Address and the TCP Port and the System Timeout values If you update the firmware for the tGW 700 module this page can be used to check the version information of the tGW 700 software Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manus 4 3 2 IP Address Selection The Address Type Static IP Address Subnet Mask and Default Gateway values are the most important network settings and should always correspond to the LAN configuration If they do not match the tGW 700 module will not operate correctly If the settings are changed while the module is operating any connection
9. module 1 Open the eSearch Utility to search for the tGW 700 modules connected to the network Click the name of the first tGW 700 module to select it and then click the Web button to launch a browser window to connect to the web server on the tGW 700 module Alternatively you can enter the URL for tGW 700 in the address bar of the browser 2 When the login screen is displayed enter the password use the default password admin in the Password field and then click the Submit button to display the configuration page p Q Tiny Gateway Windows Internet Explorer File Edit View Favorites Tools Help r D liny Device Server Microsolt Internet Explorer Mi E Ds en Foots en Address http 10 0 8 100 Gr 9 d fh donem O PEB e Tey Modbus gen Network Sening Change Fassword Logout The system logged out To enter the web conf guration please type password in t e following 1210 Submit Note This wab d avas Script in your br masar Firefox E If the web configuration does not work pease chack Ine JavaScript settings first Copyright 2009 DAS Co Ltd All rights reserved Figure 5 14 m Copyright 2014 ICP DAS CO Ltd All Rights Reserved de 4 ai Tiny Modbus TCP to RTU ASCII Gateway User Manu o Alf 1
10. 2 Click the Port tab to display the Port1 Settings page di Tiny Device Server Microsoft Internet Explorer Edt Wew Fortes Tools DA El Nues fr 8 2 8 Address 8 het pe 00 0 8 100 e flodbus Gateway tGW 71x He mef For keen Setting Change Fassword Logout E Ting Deria Server Microsoft Internet 13 L DN tis E Fester tp Qe O DEO dem 2 Status amp Configuratio Model Mame tGW 7 1 0 3 Tiny Modbus Gateway tGW 71x Hara Parr Sei Change Password Lot Port 1 Settings i N veris Gene 050m 242010 P dr 25 0 Saber ESS Settings remet shine bat d oce iin sn eme me L enz ee T nm 2009 CP DAS Co Cea reserved Figure 5 15 3 Select the appropriate Baud Rate Data Format and Modbus Protocol settings from the relevant drop down options The following is an example Baud Rate bps 115200 Data Bits bits 8 Parity None Stop Bits bits 1 and Modbus Protocol Modbus RTU Current Updated 1 9 115200 115200 v bits S Data Size bits 8 v bits character zii None None v Stop Bits bits 1 Slave
11. 27 5 SEPHNGUPTHETGW 700 MODULE 28 A Ce Tea el E 36 4 1 LOGGING IN TO THE TGVV 700 WEB SERVER meet 36 4 2 Elei 38 4 3 E 39 4 3 1 Network and Miscellaneous Settings ccccseccccseeeeccsesececcesececeeecsccusecscsusesssueecsssusecscsusestsusecssssessseesestseeeees 39 Ee E 40 ee e E ER Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu 4 3 4 Restore Factory Defaults c ccccccccceesecccesecccsesecccesesesusecscsusececeeeesssusecscsusesssuecsseusecsssusestsugecsssesesessesestseeeeees 44 rs ie EE 46 4 4 SERIAL PORT EE 47 4 4 1 POTO CS E EE EEE ee a io 47 Ee Ee e EE 48 4 4 3 Settings Pair Connection SCCtINGS cccseeccccccceeeecccceeeeecseccuceecssccueeecseccueeessscuuseecsscueeecssseuseessssuueeessssauseeeetes 50 4 5 AE c T 51 4 5 1 Accessible IP filter is disabled when all zero 0 csccseoscesccsvosccsccacossesccavcacesscacccesccsccacessescoacesssaceasessesseasesceas 51 4 6 MON OR EE 52 4 7 Wee c MM T 53 4 8 LOGOUT c 53 5 O Ie E Ate au el KE 54 5 1 leiert Cen GE 55 5 2 lgl a a to
12. Bypass No check 0 Same as RTU Sji BEB Sinn AIR Tiny Modbus TCP to RTU ASCII Gateway User SA Me Alf 1 1 4 4 2 Settings Port Settings The Settings Port Settings section allows configuration of parameters such as the Baud Rate Data Format Slave Timeout Char Timeout Silent Time Read Cache Time TCP Timeout and Modbus Protocol etc Amore detailed description of these parameters together with the default values is provided below Settings Slave Timeout ms 300 Sch i None None v Stop Bits bits 1 dv 300 Default 300 Char Timeout bytes 4 4 4 15 Default 4 Silent Time ms 0 8 115200 Data Size bits 2 Read Cache ms 980 Local 502 Timeout seconds 180 180 Modbus 115200 v bits S 8 v bits character eo 80 0 a Default 502 Modbus RTU 0 10 20 65530 Default 0 10 20 65530 Disable 0 1 65535 Default 180 Disable 0 The following is an overview of the parameters contained in the Settings Port Settings section Item Port Settings Baud Rate bps Data Size bits Parity Stop Bits bits Slave Timeout ms Description Default This parameter is used to set the Baud Rate for the COM ports 115200 This parameter is used to set the Data Size for the COM ports
13. RxD TxD GND 5 Wire RS 232 RxD TxD CTS RTS GND 2 Wire RS 485 DATA DATA GND 4 Wire RS 422 TxD TxD RxD RxD GND Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue 2 5 Appearance 1 Robust Insulated and Fire retardant Case 2 Serial COM Ports The number of serial COM Ports available depends on the type of tGW 700 module For more detailed information regarding the pin assignments for the Serial COM ports refer to Section 2 6 Pin Assignments Kon 3 51 System LED indicator tGW Once power is supplied to the tGW 700 COMI ew M module the system LED indicator will illuminate An overview of the LED 7 12 48 Voc RC functions is given below Function System LED Behavior Running Firmware Steady ON Slow flashing Network Ready Once every 3 seconds Rapid flashing Serial Port Busy Once every 0 2 seconds 4 Operating Mode Switch Init Mode Configuration mode Run Mode Firmware operation mode For tGW 700 series modules the operating mode switch is set to the Run position by default In order to update the firmware for the tGW 700 module the switch must be moved from the Run position to the Init position The switch must be returned to the Run position after the update is complete Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus
14. e This parameter is used to set the Parity for the COM ports This parameter is used to set the Stop Bits for the COM ports This parameter is used to set the waiting time that should elapse after last character of the request sent to the device before the timeout is activated The tGW 700 will report a exception code if there is no response from the slave device before the timeout period expires or will report a Ox4B exception code if the slave device is still sending data when the timeout is activated The Slave Timeout value must be set to less than the response timeout configured in the client software Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu This parameter is used to set the waiting time based bytes that should elapse after last byte of data of the response is received from the slave device is activated If no more data is received before the timeout period expires then the transmission of this packet is deemed to have been completed and the tGW 700 begins processing the packet Char Timeout bytes Valid range 4 to 15 bytes This parameter is used to set the idle time that should elapse before sending each request to the serial port This causes the serial bus to be silent for the specified period and allows Silent Time ms slower slave devices more time to process previous requests and responses thereby reducing communication p
15. Responses 8 Packet Size bytes Current Packet Size bytes 7 and then click the Open pen pee SE uge button ZER m Ge sent Packet Quantity received 0 Polling Timer mode Date Time Polling Mode Timing ms Start Stop Start time Time Start Max 000 Average Stop time Time Stop Min 100 000 Send Command Figure 5 10 5 Refer to the Protocol Description field in the top right hand section of the Modbus Utility window You can send a request command and confirm the response is correct For example if the remote Modbus device ID for the Modbus device M 7055D is 1 send the command 1 2 0 004 to reading value and the response shown in the Responses section will be 1 210 A1 88 Note that A1 88 is the CRC value MBRIU Y COM status Line control N81 Gel Polling mode wait imeout Commands Stat Stop 200 Packet Size bytes 1 0 7 COMS Protocol Description Read multiple coils status Oxxxx for DO Byte 0 Net ID Station number Byte 1 FC 01 Byte 2 3 Reference number Byte 4 5 Bit count r Statistics Packet Responses Quantity Current Packet Size mum Total Packet bytes Packet Que Total Packet bytes 0 Packet Quantity s
16. Tiny Modbus TCP to RTU ASCII Gateway User Manue ds 1 16 The Transmission Control Protocol TCP and the Internet Protocol IP are standard network protocols that are almost always implemented and used together in a formation is known as TCP IP TCP IP can be used to communicate across any set of interconnected networks 17 UDP User Datagram Protocol UDP is an internet protocol that provides a much simpler service to the application layer as it only sends packets of data from one host to an other but there is no guarantee that the packets will reach the destination host UDP is suitable for purposes where error checking and correction is either not necessary or is performed in the application Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue a ui 4 Appendix Actual Baud Rate Measurement Ideal Baud Rate bps Actual Baud Rate bps Error 50 50 0 00 110 109 92 0 07 300 298 48 0 51 597 04 0 49 230400 229920 0 21 250000 250000 0 00 256000 256400 0 15 460800 459760 0 22 921600 921600 0 00 Note Recommended max baud rate is 115200 bps or below Because the loading of the module we don t guarantee a proper operation if using a larger baud rate over 115200 bps Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu d Appendix C Exception Codes
17. each of which will be described in more detail below 4 4 1 Port 1 Settings The Port 1 Settings section provides basic information related to the hardware and software for the tGW 700 series module including the Firmware version and the IP Add Port 1 Settings 718 alumen vi 4 6 Aug 05 2014 ID Addrecc 10085 OFF ress etc fellt OO Od e0 80 00 6b TCP Port Timeout 180 Socket Watchdog Seconds System Timeout 300 Network Watchdog Seconds Settings Updated 5 115200 115200 v bits S Data Size bits ES 8 v bits character isum None None v Stop Bits bits 1 1 e Slave Timeout ms 300 300 Default 300 Char Timeout bytes 4 4 4 15 Default 4 Silent Time 0 0 10 20 65530 Default 0 Read Cache 950 980 110 20 65530 Disable 0 Local TCP Porth 502 Default 502 TCP Timeout seconds 180 180 1 65535 Default 180 Disable 0 Modbus RTU Modbus RTU v Pair Connection Settings Server Slave Client Master 1244 CES Server Sewer v E SCH via caer e TCP Slave ID 1 247 0 Submit 4 LOT CT TT d j 1 dra zk 7 LULES ICF f XH BESS PLUS ERS SI ESE SSS 01 IS i 0
18. of initiation to categorize whether a program is a client or server In general an application that initiates peer to peer communication is called a client End users usually invoke client programs when they use network services By comparison a server is any program that waits for incoming requests from a client program The server receives a request from a client performs the necessary actions and returns the result to the client Copyright 2014 ICP DAS CO Ltd All Rights Reserved Da d 4 Tiny Modbus TCP to RTU ASCII Gateway User Alf 4 4 e SOM 3 Ethernet The term Ethernet generally refers to a standard published in 1982 by Digital Equipment Corp Intel Corp and Xerox Corp Ethernet is the most popular physical layer Local Area Network LAN technology in use today 4 Firmware Firmware is an embedded software program or set of instructions programmed on a device that provides the necessary instructions for how the device communicated with other computer hardware and is located or stored in a semi permanent storage area e g ROM EEPROM or Flash memory Firmware can often be updated by downloading a file from the manufacturer s web site or FTP 5 Gateway Computers that interconnect two networks and pass packets from one to the other are called Internet Gateways or Internet Routers Gateways route packets that are based on the destination network
19. the search process is complete double click the name of the tGW 700 module to open the Configure Server dialog box eSearch Utility v1 00 00 Jnl 16 2010 EEK File server Tools Name Alias IP Address Sub net Mask Gateway Address tGW 715 Tiny 192 168 255 1 255 755 0 0 192 168 0 1 00 0d e0 80 00 00 search Servers Configuration UDP e Web ela Figure 3 5 3 Enter the network settings information including the IP Mask and Gateway addresses and then click OK button The new settings for the tGW 700 will take effect within 2 seconds If you don t know the correct network configuration information contact your Network Administrator to obtain the details Configure Server 7 DP Server Name tGW 715 DHCP 0 OFF Alias Tiny 7 Chars IP Address 10 0 8 246 00 04 0 80 02 02 Sub net Mask 255 255 255 0 Warning Contact your Metv Administrator to get Gateway f 0 0 8 254 correct conique QD den any changing Figure 3 6 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu Step 4 Testing the tGW 700 series module 1 Connect the tGW 700 series module with Modbus device e g M 7055D optional using the RS 485 bus For more detailed information related to wiring options for RS 232 422 485 refer to Section 2 7 Wiring Notes for RS 232 485 422 Interfaces RS 232 Wiring C4 e
20. 1 88 af 12 3e 0f 01 Ethernet hardware manufacturers purchase blocks of MAC addresses and assign them in sequence as they manufacture Ethernet interface hardware Thus no two hardware interfaces can have the same MAC address 10 Packet A packet is the unit of data sent across a physical network It consists of a series of bits containing data and control information including the source and the destination node host address and is formatted for transmission from one node to another 11 Ping Ping is a network administration utility used to test the whether a host on an Internet network is active and to measure the round trip time for messages sent from the originating host to a destination computer Ping operates by sending an ICMP echo request message to a host expecting an ICMP echo reply to be returned Normally if a host cannot be pinged Telnet or FTP cannot be used to connect to the host Conversely if Telnet or FTP cannot be used to connect to a host Ping is often the starting point to determine the nature of the problem Copyright 2014 ICP DAS CO Ltd All Rights Reserved a FT 1 12 RARP Reverse Address Resolution Protocol RARP provides a method of dynamically mapping 48 bit MAC address to the corresponding 32 bit IP address RARP has now been replaced by the Bootstrap Protocol BOOTP and the modern Dynamic Host Configuration Protocol DHCP Tiny Modbus TCP to RTU ASCII Gateway User Man
21. 2014 ICP DAS CO Ltd All Rights Reserved 5252 3 cows tGW 722 1 Ethernet 10 100 12 48 Voc pr E Lt A The CTS and RTS pins are reserve and have no function Copyright 2014 ICP DAS CO Ltd All Rights Reserved a 5 E uU com 2 d com 2 tGW 732 Fi Ethernet 10 100 HA 1 3 3 wire RS 232 12 48 Voc Copyright 2014 ICP DAS CO Ltd All Rights Reserved 7 A Vi GO AJ Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue 2 6 5 tGW 715i 1 Port Isolated 2 4 wire RS 485 422 Module ccb Su S8b Su Copyright 2014 ICP DAS CO Ltd All Rights Reserved tGW 725 Fi Ethernet 10 100 COM1 2 2 wire RS 485 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Won tGW 735 Ei Ethernet 10 100 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue 2 6 8 tGW 718 1 Port 3 wire RS 232 and 2 4 wire RS 485 422 Module 8558858888 45 2221 L 5 485 5 422 CCb Su S8t Su tGW 718 1 Ethernet 10 100 COMI RS 232 RS 485 RS 422 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue 2 6 9 tGW 724 1 Port 2 wire
22. 4 ICP DAS Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue a vill 1 1 Ethernet Solutions Nowadays the Ethernet protocol has become the foremost standard for local area networks Connectivity via the Internet is now common in many of the latest applications from home appliances to vending machines to testing equipment to UPS etc An Ethernet network can link office automation and industrial control networks access remote systems and share data and information between machines from multiple vendors and also provides a cost effective solution for industrial control networks Industrial Ethernet Switching Hub Copyright 2014 ICP DAS CO Ltd All Rights Reserved deif 4 Ia Tiny Modbus TCP RTU ASCII Gateway User o Alf 1 1 2 Web Server Technology Web server technology enables the tGW 700 to be configured via a standard web browser interface e g Google Chrome Internet Explorer or Firefox etc This means that it is easy to check the configuration of the tGW 700 via an Ethernet network without needing to install any other software tools thereby reducing the learning curve required for maintaining the device 2 Tiny Gateway Windows Internet Explorer Jv 185 1008 16 Google FR RHE RAO AREA KHH dr ROBE JL Fey Flow SRG SVICPDAS e Web maiipdas C
23. Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manus Packing List The shipping package includes the following items Note One tGW 700 series hardware module If any of these items are M One printed Quick Start Guide One software utility CD missing or damaged please contact the local distributor for more information Save Bomm the shipping materials and cartons in case you need to j EI ship the module in the future Week More Information Documentation CD NAPDOS tGW 700 Document http ftp icodas com pub cd tinymodules napdos tgw 700 document Firmware CD NAPDOS tGW 700 Firmware http ftp icpdas com pub cd tinymodules napdos tgw 700 firmware Software CD NAPDOS Software http ftp icodas com pub cd tinymodules napdos software Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu d 1 Introduction ana UP her Modbus TCP UDP Master to Modbus RTU ASCIT SIS Modbus RTU ASCII Master to Modbus TCP UDP Slave I E 2185 Modbus TCP UDP Master 1 gt mcthennet Sid 4 n CDU ENSE 2 L m w tan arme Modbus TCP UDP gt M RS 485 D d 1 Ke A 6 tGW 715 1 712 RS 23 1 M Leien ce mon Modbus has become the de facto standard prot
24. EH 0 0 0 0 2 0 0 0 0 0 0 0 0 Add The List Delete IP Number 0 4 O Delete ALL O Save Configuration finish The following is an overview of the parameters contained in the Accessible IP section Item Description Submit Clk tis button to save the revised settings to the tGW700 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu 4 6 Monitor Page After clicking the Monitor tab the Current Connection Status page will be displayed showing detailed information regarding the current status of the serial port connection settings for the tGW 700 module Tiny Modbus Gateway tGW 71x Home Port Network Fit Monitor Logout Current Connection Status Port Number Port 1 Clear Last Error Note 1 CLICK HERE for error codes and descriptions 2 The Busy Error can happen when too many Modbus requests are queued and waiting for process Set a larger timeout and scan time value on all master software clients for fixing this problem Copyright 2010 ICP DAS Co Ltd All rights reserved Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu 4 7 Password Page After clicking the Password tab the Change Password page will be displayed To change a password first enter the old password in the Current password field use the default p
25. HERNET a E ne eR on een eo 7 1 2 WEB SERVER TECHNOLOGY S 8 2 HARDWARE INFORMATION eege sees 9 2 1 sia Y 9 2 2 FEATURE T C ie 10 2 3 ee 10 2 4 S LECTION LELIE a ta ee te ee dote 11 2 5 jl UC 12 2 6 Bi zio c E Dco E E E A E 14 2 7 Mig m 16 2 6 1 tGW 712 1 Port 5 wire RS 232 Module 16 2 6 2 tGW 722 2 Port 5 wire RS 232 Module 17 2 6 3 tGW 732 3 Port 3 wire RS 232 Module AAA 18 2 6 4 tGW 715 1 Port 2 4 wire RS 485 422 Module 19 2 6 5 tGW 715i 1 Port Isolated 2 4 wire RS 485 422 Module 20 2 6 6 tGW 725 2 Port 2 wire RS 485 21 2 6 7 tGW 735 2 Port 3 wire RS 485 Module 22 2 6 8 tGW 718 1 Port 3 wire RS 232 2 4 wire RS 485 422 Module 23 2 6 9 tGW 724 1 Port 2 wire RS 485 1 Port 5 wire RS 232 Module 24 2 6 10 tGW 734 1 Port 2 wire RS 485 and 2 Port 3 wire RS 232 Module 25 2 8 WIRING NOTES FOR RS 232 485 422 INTERFACES ccsseccccseeccccesceccescceccucceecauececaucececaucececauececaacececauceeeseececaueeeenaes 26 26 le 27 E e ee ee en nn
26. If an exception occurs during Modbus communication the slave device will return an Exception Code in the response message The following is an explanation of the Exception Codes gt Exception Codes ILLEGAL_FUNCTION Indicates that the function code received in the query is not an allowable action for the slave If not an allowable action for the slave If a Poll Program Complete command was issued this code indicates that no program function preceded it ILLEGAL_DATA_ADDRESS 0 02 Indicates that the data address received in the query is not an allowable address for the slave ILLEGAL_DATA_VALUE 0x03 Indicates that a value contained in the query data field is not an allowable value for the slave 0x01 SLAVE_DEVICE_FAILURE 0x04 Indicates that an unrecoverable error occurred while the slave was attempting to perform the requested action ACKNOWLEDGE Indicates that the slave has accepted the request and is processing it but it will take an 0x05 extended period of time to do so This response is returned to prevent a timeout error from occurring in the master The master can issue a Poll Program Complete message later to determine whether the processing is complete SLAVE_DEVICE_BUSY 0x06 Indicates that the slave is engaged in processing a long duration program command The master should retransmit the message later when the slave is free NEGATIVE_ACKNOWLEDGE Indicates that the extended file area failed
27. Port Network Filter Monitor Password Logout Settings Current Updated SERRE 115200 115200 v bits S Data Size bits 8 bits character None None e Stop Bits bits 17 Slave Timeout ms 300 300 Default 300 Char Timeout bytes A 4 4 15 Default 4 Silent Time ms 0 0 10 20 65530 Default 0 Read Cache ms 950 980 10 20 65530 Disable 0 EgO sA 502 502 Default 502 TCP Timeout seconds 480 1 65535 Default 180 Disable D Modbus RTU Modbus RTU v Copyright 2014 ICP DAS CO Ltd All Rights Reserved de NE ai Okt SS Tiny Modbus TCP to RTU ASCII Gateway User Manu 6 Open the Modbus Utility and then click the Modbus TCP button to select the controller Choose Controller Kl MBus Please choose controller Modbus Utility 7 In the Modbus Utility select the Modbus TCP Client option from the Client tools menu Modbus Utility Yer 1 7 1 Beta 2008 05 27 eh Modbus Utility Verl 7 1 Beta 2008705 Fie Windows gt kd tting Pot Set d Modbus TCF Client Modbus 0 Client z EnableMode D it Timeout Baudrate DI Data Bit DataBit DI Restore E Stop Bit StopBit DI
28. RS 485 and 1 Port 5 wire RS 232 Module 0000000000 tGW 724 Fi Ethernet 10 100 COM1 2 wire 5 485 L COM2 5 wire RS 232 The CTS and RTS pins are reserved and have no function Copyright 2014 ICP DAS CO Ltd All Rights Reserved 2 6 10 tGW 734 1 Port 2 wire RS 485 and 2 Port 3 wire RS 232 Module tGW 734 E1 Ethernet 10 100 COM1 2 wire 5 485 COM2 3 3 wire RS 232 Copyright 2014 ICP DAS CO Ltd All Rights Reserved d Tiny Modbus TCP to RTU ASCII Gateway User Manue Alf 1 2 8 Wiring Notes for RS 232 485 422 Interfaces 2 7 1 RS 232 Wiring 5 wire RS 232 Connection DB 9 Computer Device 3 wire RS 232 Connection Device Device Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manus 2 7 2 RS 422 Wiring RS 422 Master RS 422 Device yyy ON s RxXD A mm EE AT TxD A So 1 is 2 7 3 RS 485 Wiring RS 422 485 Device 1 RS 485 Device 2 TST a lt E RS 485 Master DATA B DATA A GND 0000 2 wire Only Device Usually you have to connect all signal grounds of RS 422 485 devices together to reduce common mode voltage between devices Twisted pair cable must be used for the DATA wires Both two ends of the cable may require a termination resistor connected across the two
29. Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manus Step 5 Testing the Pair connection Functions 1 If necessary install the Modbus Utility Refer to more details Chapter 3 Setting up the tGW 700 Module for 2 Open the Modbus Utility and then click the Modbus TCP button to select the controller Choose Controller x MBus Please choose controller Modbus Utility Modbus ICP Modbus TCP Figure 5 8 3 Inthe Modbus Utility select the Modbus RTU Client option from the Client tools menu STEE SERRE h emm SE Modbus Yer 1 7 1 UE a3 42 vil 2 y t Setting Pot Set Load Mode EnableMode D neout Timeout E E udrate Baudrate vr Data Bit DataBit um Stop Bit StopB it 4 System Setting ations per COM Port Count Figure 5 9 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu d MBRTU Y 1 0 7 4 Select the appropriate COM Description COM status Read multiple cols status Oxxxx for DO h a COM l 1 et ID Station number 115200 Clg Line control Hoi port Baud Rate and Data Format e g COM1 115200 N 8 1 settings for the tGW 700 bp Clear Statistics de
30. TCP to RTU ASCII Gateway User Manue dh 2 12 to 48 Vp Jack The tGW 700 is equipped with a 12 Vpc to 48 Vpc jack that can be used to connect a power supply If no PoE switch is available on site a DC adapter can be used to power the tGW 700 module PoE and Ethernet RJ 45 Jack The tGW 700 module is equipped with an RJ 45 jack that is used as the 10 100 Base TX Ethernet port and features networking capabilities When an Ethernet link is detected and an Ethernet packet is received the Link Act LED Orange indicator will be illuminated When power is supplied via PoE Power over Ethernet the PoE LED Green indicator will be illuminated Copyright 2014 ICP DAS CO Ltd All Rights Reserved Si Tiny Modbus TCP RTU ASCII Gateway User Kl 4 2 6 Dimensions tGW 712 Units mm 90 0 Rear View Left Side View Right Side View Bottom View Copyright 2014 ICP DAS CO Ltd All Rights Reserved Units mm Rear View Left Side View Right Side View Bottom View Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue i 011 2 7 Pin Assignments 2 6 1 tGW 712 1 Port 5 wire RS 232 Module CON mill ul AJ tGW 7 1 The CTS and RTS pins are reserved E1 Ethernet 10 100 DI COMI 5 wire RS 232 and have no function Copyright
31. Timeout ms 300 Default 300 Char Timeout bytes 4 4 4 15 4 Silent Time ms 0 o X 0 10 20 65530 Default 0 Read Cache ms 980 980 10 20 65530 Disable 0 Local TCP Port 502 502 Default 502 TCP Timeout seconds 150 180 1 65535 Default 180 Disable 0 Modbus Modbus RTU e Figure 5 16 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu 4 In Pair connection Settings area of the Port1 Settings page check that the configuration details are the same as those shown below Server Modbus Remote Remote TCP Slave ID Slave ID Protocol Server Port 1 247 17247 dn e Connection Modbus Protocol address TCP port of the slave device e g tPET P6 5 Amend any details as required and then click the Submit button to complete the configuration Current Updated server Client Server Slave Client Maste Modbus Protocol T CF Remote Server FIBRES Es RE MR Disabled RT J Slave ID 1 24 0 Bypass No check SA 0 Same as RTU Subrnit Figure 5 17 X Refer to Figures 5 17 for an illustration of how to perform the procedure described above Step 4 Testing the Pair connection TCP Client Mode Functions X For more detailed information regarding the testin
32. a CRC error occurs 1 Reports a 0x43 exception code if a CRC error occurs 2 Drops the packet if a CRC error occurs This parameter is used to enable or disable whether a slave data timeout exception error is reported by the Gateway If There is no response from a slave device a exception error will be reported If serial data is being received a Ox4B exception will be reported Enable 1 Disable This parameter is used to enable or disable whether a busy exception code 0x06 is reported if the Gateway request queue is full Enable 21 Disable 0 This parameter is used to enable or disable the drop packet function when the Modbus TCP header is invalid Enable 1 Disable O Click this button to save the revised settings to the tGW 700 device DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue a vill 4 3 4 Restore Factory Defaults Restore Factory Defaults Restore all options to their factory default states Forced Reboot gt Use the following procedure to reset all parameters to their original factory default settings Step 1 Click the Restore Defaults button to reset the configuration Step 2 Click the OK button in the message dialog box Step 3 Check whether the module has been reset to the original factory default settings for use with the eSearch Utility Refer to Chapter 3 Setting up the tGW 700 Module for more det
33. ails Restore all options to their factory default states Restore Defaults Microsoft Internet Explorer 5 eSearch Utility v1 0 8 Mar 22 2013 9 This will erase all existing configuration changes and restore Factory default settings Click OK if you are sure you 5 want to do this or Cancel to retain existing settings Cancel The following is an overview of the factory default settings Factory Default Settings Network Settings IP Address 192 168 255 1 Gateway Address 192 168 0 1 Subnet Mask 255 255 0 0 DHCP Disabled Basic Settings Alias Tiny Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu gt The Forced Reboot function can be used to force the tGW 700 to reboot or to remotely reboot the device After the tGW 700 module has rebooted the original login screen will be displayed requesting that you enter your Login Password before continuing 1 DI Forced Reboot Reboot Tiny Modbus Gateway tGW 71x Home Port Network Filter Monitor Password Logou The system is logged out To enter the web configuration please type password in the following field Login password 201 Note This web configuration requires JavaScript enabled in your browser Firefox IE If the web configuration does not work please check the JavaScript settings fir
34. assword admin and then enter a new password in the New password field Re enter the new password in the Confirm new password field and then click the Submit button to update the password Tiny Modbus Gateway tGW 71x Home Port1 Network Filter Monito Change Password The length of the password 15 12 characters maximum Current password Confirm new password Em Copyright 2010 ICP DAS Co Ltd All rights reserved 4 8 Logout Page After clicking the Logout tab you will be immediately logged out from the system and be returned to the login page Tiny Modbus Gateway tGW 71x Home Port1 Network Filter Monitor The system is logged out To enter the web configuration please type password in the following field 0 Note This web configuration requires JavaScript enabled in your browser Firefox IE Ifthe web configuration does not work please check the Javascript settings first When using IE please disable its cache as follows Menu items Tools Internet Options General Temporary Internet Files Settings Every visit to the page Copyright 2010 ICP DAS Co Ltd All rights reserved Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu 5 Typical Applications This chapter provides some examples of typical scenarios for the tGW 700 module inclu
35. at the tGW 700 device is functioning correctly For detailed information regarding how to install configure and operate your tGW 700 series module refer to Chapter 3 Setting up the tGW 700 Module 2 Connect both the tGW 700 the Slave Device e g a tPET P6 module and your computer to the same sub network or the same Ethernet Switch For detailed information regarding RS 232 RS 422 485 wiring refer to Section 2 7 Wiring Notes for RS 232 422 485 The wiring diagram is as follows I 7520 ZET SU Ethernet tPET P6 TP PP 4 Ethernet Switch 543 Ethernet Figure 5 12 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu d Step 2 Configuring The Ethernet Settings Contact your Network Administrator to obtain a correct and functioning network configuration including the IP Address Mask and Gateway details for the tGW 700 module Also refer to Chapter 3 Setting up the tGW 700 Module for more details eSearch Utility v1 0 6 Oct 15 2012 SEES Name Alias IPAddress Sub net Mask Gateway MAC Address DHC tGW 715 0457 10 0 8 100 255 255 255 0 10 0 8 254 00 0d e0 80 09 2f tPET P6 0457 10 0 8 10 255 255 255 0 10 0 8 254 00 04 0 64 4 43 OFF Configuration UDP v eb Exit I Status Figure 5 13 Step 3 Configuring Pair connection TCP Client Mode on the Web Server for the tGW 700
36. ch Utility click the name of the second tGW 715 module tGW 700 2 to select it and then click the Web button to launch a browser window to connect to the web server on the tGW 700 2 module Alternatively you can enter the URL for tGW 700 2 in the address bar of the browser When the login screen is displayed enter the password use the default password admin in the Password field and then click the Submit button to display the configuration page Click the Port1 tab to display the Port1 Settings page Select the appropriate Baud Rate Data Format and Modbus Protocol settings from the relevant drop down options The following is an example Baud Rate bps 9600 Data Bits bits 8 Parity None Stop Bits bits 1 and Modbus Protocol Modbus RTU Refer to Figures 5 3 to 5 5 for an illustration of how to perform Steps 4 1 to 4 3 of the procedure described above In the Pair connection Settings area for Port1 select Server from the Server Mode drop down options Amend any details as required and then click the Submit button to complete the configuration Current Updated Server Serer v Server Slave Client Master 19190069 TCP BCR Disabled 244 Bie COS Disabled RTU Slave ID 1 24 74 0 0 Bypass No check TCP Slave ID 1 24 74 0 Same RTU er Figure 5 7 Copyright 2014 ICP DAS CO Ltd All
37. ction 2 7 Wiring Notes For detailed information related to the I 7520 module refer to http www icpdas com products Remote_10 i 7000 i 7520 htm 3 Connect the Modbus device e g M 7055D to COM1 of tGW 700 2 For detailed information related to the M 7055D module refer to http www icpdas com products Remote 10 m 7000 m 7055d htm X Refer to Figure 5 1 for an illustration of how to perform Steps 1 1 to 1 3 of the procedure described above Copyright 2014 ICP DAS CO Ltd All Rights Reserved ection test Figure 5 1 The image below shows an example of the setup for a pair conn tGW 715 1 7520 115200 8 1 Modbus Ethernet nan 348 M 7055D 115200 8 N 1 Modbus RTU Ethernet Step 2 Configuring the Ethernet Settings Contact your Network Administrator to obtain the correct and functioning network configuration for the tGW 700 modules including the IP Address Mask and Gateway details Also refer to Chapter 3 Setting up the tGW 700 Module for more details esearch Utility vl 00 00 Jnl 16 2010 Fie Server Took Alias IPAddress Sub net Mask Gateway Address IGW 715 Tiny 10 0 8 746 255 255 0 0 10 0 8 254 00 09 0 80 00 00 tGW 715 Tiny 10 0 8 100 255 255 0 0 10 0 8 254 00 0d e0 80 00 08 Search Servers Configuration ew Figure 5 2 Copyright
38. currently in use will be lost and an error will occur IP Address Selection MAC Address Format FF FF FF FF FF FF Gateway Net D Default 255 Note This is reserved for gateway NOT for slave devices Update Settings The following is an overview of the parameters contained in the IP Address configuration section Description Static IP If no DHCP server is installed on the network the network settings can be configured manually Refer to Section 4 3 2 1 Manual Configuration for more details Address Type DHCP The Dynamic Host Configuration Protocol DHCP is a network application protocol that automatically assigns an IP address to each device Refer to Section 4 3 2 2 Dynamic Configuration for more details Each tGW 700 connected to the network must have its own unique IP address This Static IP Address parameter is used to assign a specific IP address This parameter is used to assign the subnet mask for the tGW 700 The subnet mask indicates which portion of the IP address is used to identify the local network or subnet This parameter is used to assign the IP Address of the Gateway to be used by the tGW Default Gateway 700 A Gateway or router is a device that is used to connect an individual network to one or more additional networks MAC Address This parameter is used to set a user defined MAC address which must be in the format FF FF FF FF FF FF Modbus Net ID This parameter is used to set the device ID to b
39. d ad N e S 2 2 Eee stone o de E c E L 5 eeng Broadcast 4 RS 232 422 485 Broadcast L onm ct RS 232 RS 422 485 DCR 9 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue 5 2 Modbus Net ID The tGW 700 series module is a gateway that can be used to convert between the Modbus TCP UDP protocol and the Modbus RTU ASCII protocol Consequently SCADA HMI applications is able to access each Modbus RTU ASCII slave device via the tGW 700 gateway by specifying correct NetID of the intended slave device in each Modbus TCP request Note that the NetID of the tGW 700 gateway is reserved for specific control purposes and is not used to access slave devices Ja clos id Go CRAY d Ethernet Modbus TCP Copyright 2014 ICP DAS CO Ltd All Rights Reserved 5 3 Pair connection Applications The tGW 700 Modbus gateway can be used to create a pair connection applications as well as serial bridge or serial tunnel and then route Modbus messages between two serial devices via TCP IP which is useful when connecting Modbus RTU ASCII devices that do not themselves have Ethernet capability Virtual RS 485 bus through the pair connection Wir zs aegpggggsgnggneeegegengegegeeen LRS 485 RS 485 e 9 LI a EIER EES I bas Modbus AND Seral
40. ding applications focused on the Modbus Gateway Modbus Net ID Pair connection and TCP Client Mode etc 1 Modbus TCP to RTU ASCII Gateway application Modbus ASCII Mge Modbus TCP Master RS 232 amp ce Era M 7000 gt RS 485 gt Remote d Modbus RTU meer 2 Modbus TCP to RTU ASCII Gateway application dual port 45 TEP client RIU on A RS 485 Meter gt 10 100 502 1 Ethernet 503 2 5 485 Meter LA 3 Modbus RTU ASCII to TCP Gateway application like pair connection RS 232 422 485 Ethernet PETL 7000 Modbus TCP PET 7000 SCADAHM 4 Virtual RS 485 bus application through pair connection adi RS 485 Slave devices RS 485 Slave devices tG RS 485 TP gt Ethernet d lt gt e B Modbus S Tiny Modbus TCP to RTU ASCII Gateway User 5 1 Modbus Gateway The tGW 700 module is a Modbus TCP UDP to RTU ASCII gateway that enables a Modbus TCP UDP host to communicate with serial Modbus RTU ASCII devices through an Ethernet network and eliminates the inherent cable length limitations of legacy serial communication devices i 2 2 Send to Device 1 Send to Device 2 B5 OD lt lt
41. e used by the tGW 700 for SES The default value is 255 Update Settings Settings Click this button to save the revised settings to the tGW 700 Copyright 2014 ICP DAS CO Ltd All Rights Reserved de hd Dal Tiny Modbus TCP to RTU ASCII Gateway User Alf 1 ja 4 3 2 1 Manual Configuration When using manual configuration the network settings should be assigned in the following manner Step 1 Select the Static IP option from the Address Type drop down menu Step 2 Enter the relevant details in the respective network settings fields Step 3 Click the Update Settings button to complete the configuration WK Static IP 5 Static IP Address W D LE subneth isk 255 255 255 0 Default 2551 Note This is reserved for gateway NOT for slave devices Gateway Net ID 4 3 2 2 Dynamic Configuration Dynamic configuration is very easy to perform If a DHCP server is connected to you network a network address can be dynamically configured by using the following procedure Step 1 Select the DHCP option from the Address Type drop down menu Step 2 Click the Update Settings button to complete the configuration Address Typ DHCP SS Format FF FF FF FF FF FF 5 ateway IB Default 255 Note This 15 reserved for gateway NOT for slave devices Subnet Mask o lb p jb e le Defaul
42. ection component that diverts the potentially damaging charge away from sensitive circuit to protects the module and equipment from the sudden and momentary electric current The tGW 700 module features a powerful 32 bit MCU that enables efficient handling of network traffic and also has a built in web server that provides an intuitive web management interface that allows users to modify the configuration of the module including the DHCP Static IP the gateway mask settings and the serial port settings The tGW 700 module offers true IEEE 802 3af compliant classification Class 1 Power over Ethernet PoE functionality using a standard Category 5 Ethernet cable to receive power from a PoE switch such as the NS 205PSE If there is no PoE switch on site the module will also accept power input from a DC adapter e Low Power Consumption SS BE E tGW 700 module is designed for ultra low power consumption reducing the hidden costs resulting from increasing fuel and electricity prices especially when a large number of modules are installed Reducing the amount of electricity consumed by choosing energy efficient equipment can also have a positive impact on maintaining a green environment Comparison of Device Servers Series PPDS P DS tDS tGW NENNEN AN DS Features Modbus Gateway Isolation for Cost effective Cost effective Professional Powerful DS 715 Entry level Entry level Copyright 201
43. ent Type the command Command 120004 Commands M with Responses TS 01 0200000004 73 01 02 01 00 41 88 Response Data Fi gure 5 11 Clear Lists Exit Program Timer mode ited period Notes 1 The response will depend on which Modbus is device connected 2 The Baud Rate and Data Format values depend on the serial port settings configured for the web configuration described above Copyright 2014 ICP DAS CO Ltd All Rights Reserved SS 9 Tiny Modbus TCP to RTU ASCII Gateway User Manual a cp 5 4 TCP Client Mode Applications In TCP Client Mode the tGW 700 can actively establish a TCP connection to a specific Modbus TCP slave device An example of how the complete system should operate is shown below tGW 700 81233 ur Porti502 EIER Slavel Senven Masten Client The following are examples of TCP Client Mode tests TCP Client Mode Settings Port Settings default Pair connection Settings Model Baud Data Server Remote 1400810 0 8 10 tGW 700 115200 Client IP address and TCP m for the tPET P6 Slave Device tPET P6 Slave Device Copyright 2014 ICP DAS CO Ltd All Rights Reserved de h 4 Tiny Modbus TCP to RTU ASCII Gateway User SA Me Alf 1 Follow the procedure described below Step 1 Connecting to a network a PC and a Power Supply 1 Confirm th
44. er on the tGW 700 Refer to Figures 3 2 and 3 3 for illustrations of how to do this Copyright 2014 ICP DAS CO Ltd All Rights Reserved Ethernet Cable BE Figure 3 2 Ethernet Cable Figure 3 3 8822894 5 Verify that the System LED indicator is flashing omen im am e rz Figure 3 4 Copyright 2014 ICP DAS CO Ltd All Rights Reserved WI e ai Tiny Modbus TCP to RTU ASCII Gateway User E Alf 1 Step 2 Install the Modbus Utility and the eSearch Utility The Modbus Utility and eSearch Utility can be obtained from either the companion CD ROM the ICP DAS SS FTP site or the ICP DAS web site The location of the install files on the CD and the download addresses are shown below MBUS Modbus Utility Modbus Utility CD NAPDOS Software Modbus_Utility http ftp icodas com pub cd tinymodules napdos software modbus tility E 4 esearch Utility eSearch Utility CD NAPDOS Software eSearch http ftp icodas com pub cd tinymodules napdos software esearch Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu Step 3 Search for the tGW 700 series module on the Ethernet network 1 Open the eSearch Utility and then click the Search Servers button to search for the tGW 700 module 2 Once
45. g procedure refer to Step 5 Figures 5 8 to 5 11 in Section 5 3 Pair Connection Applications Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu Appendix A Glossary 1 ARP Address Resolution Protocol The Address Resolution Protocol ARP is a telecommunication protocol that is used to convert an IP address to a physical address such as an Ethernet address Consider two machines A and B that share the same physical network Each has an assigned IP address IP and and MAC address MAC and MAG goal 15 to devise a low level software application that hides the MAC addresses and allows higher level programs to work only with the IP addresses Ultimately however communication must be carried out by the physical networks using whatever MAC address scheme the hardware supplies Suppose machine A wants to send a packet to machine B across a physical network to which they are both attached but A only has the Internet address for B The question arises how does map that address to the MAC address for MAC ARP provides a method of dynamically mapping 32 bit IP address to the corresponding 48 bit MAC address The term dynamic is used since the mapping is performed automatically and is normally not a concern for either the application user or the system administrator 2 Clients and Servers The client server paradigm uses the direction
46. guration details can be retrieved or modified using either the eSearch Utility described above or via a standard web browser 4 1 Logging in to the tGW 700 Web Server The embedded tGW 700 series web server can be accessed from any computer that has an Internet connection Step 1 Open a new browser window Open a web browser for example Google Chrome Firefox or Internet Explorer which are reliable and popular Internet browsers that can be used Internet Explorer to configure tGW 700 series module Note that if you intend to use Internet Explorer ensure that the cache function is disabled in order to prevent browser access errors Detailed instructions for how to do this can be found in FAQ How to avoid a browser access error that causes a blank page to be displaved when using Internet Explorer Step 2 Enter the URL for the tGW 700 web server Ensure that you have correctly configured the network settings for the tGW 700 series module refer to Chapter 3 Setting up the tGW 700 module for detailed instructions and then enter the URL for the tGW 700 web server in the address bar of the browser Tiny Device Server Microsoft Internet Explorer File Edit View Favorites Tools Help Back ey x EI Search S Favorites Address E 10 0 8 246 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu Step 3 Enter the Password
47. imeout ms Silent Time ms 980 Local TCP Porn 502 180 Read Cache ms TCP Timeout seconds di as those shown below Pair TCP connection Client Modbus RTU Updated 115200 v bits S 8 v bits character None vj 1v 300 Default 300 4 104 15 Default 4 o 0 10 20 65530 Default 0 980 10 20 65530 Disable 0 502 Default 502 150 1 65535 Default 180 Disable 0 Modbus RTU v Figure 5 5 In the Pair connection Settings area for Port1 check that the configuration details are the same 10 0 8 246 502 Modbus Protocol IP address and TCP port for Settings 6 Amend and details as required and then click the configuration Pair Connection Settings Master Slave Mode erased Server Modbus Protocol CP Disabled acusa Disabled RTU Slave ID 1 247 TCP Slave ID 1 24 74 ID ss E PL USERS SUS SER EEE 01 IS ee i tGW 700 2 button to complete the Client v Server Slave Client Master TCP v 246 0 Bypass No check 0 Same as RTU Figure 5 6 ee ea Sinn eee WI Tiny Modbus TCP to RTU ASCII Gateway User Manue Step 4 Configuring the Pair connection Server Mode on the Web Server for tGW 700 2 In the eSear
48. ing Auto MDI MDIX LED indicator POE IEEE 802 3af Class 1 5 wire 5 wire 3 wire 2 wire RS 485 2 wire 2 wire 2 wire 2 wire RS 232 RS 232 RS 232 4 wire RS 422 RS 485 RS 485 RS 485 RS 485 5 wire 3 wire 2 wire 2 wire 5 wire 3 wire 3 wire 2 wire 3 wire Self Tuner Yes automatic RS 485 direction control Yes 1 254 max E E E db b b b rat NUM EE EN EE ER Ethernet 3 wire RS 232 COM1 RS Bias Resistor 485 UART Isolation 16c550 or compatible ESD Protection COM Port Format 115200 bps Max 5 6 7 8 None Odd Even Mark Space 1 2 PoE IEEE 802 3af Class 1 Power Input jack 12 48 Voc Power Consumption 0 07 A 24 Voc Male Connector 10 Pin Removable Terminal Block x 1 DB 9 x1 Mounting Flammability Fire Retardant Materials UL94 VO Level Operating Temperature 25 75 C Storage Temperature 30 80 C 10 90 RH non condensing Note 1 2 TCP Port 502 503 504 Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manus 2 2 Features Y VV VV VV VV VV ON ON ON ON ON WV Supports Modbus TCP UDP master and slave Supports Modbus RTU ASCII master and slave Max connections masters per serial port 32 tGW 71x 16 tGW 72x or 10 tGW 73x Read cache ensures faster Modbus TCP UDP response Supports UDP responder for device d
49. is Auto Auto 10 100 Mbps Auto negotiation This parameter is used to assign alias for each tGW 700 device Alias Name Tiny to assist with easy identification This parameter is used to configure the system timeout value If there is no activity on the network for a specific period of time the System Timeout system will be rebooted based on the configured system timeout 0 Network Watchdog value Timeout value range 30 to 65535 seconds Disable 0 This parameter is used to configure the automatic logout value If there is no activity on the web server for a certain period of time Web Auto logout the current user account will be automatically logged out 10 Range 1 to 65535 minutes Disable 0 Tiny Modbus TCP to RTU ASCII Gateway User Manue a UDP Configuration Protocol Exception CRC Exception Timeout Exception Busy Exception Check TCP Header Update Settings Copyright 2014 ICP dai d This parameter is used to enable or disable UDP configuration function This parameter is used to enable or disable whether the slave response is checked for compatibility with the Modbus RTU format If the slave response is an invalid Modbus message a Ox41 exception code will be reported Enable 1 Disable 0 This parameter is used to enable or disable whether the validity of the RTU ASCII CRC of the slave response is checked O Returns the raw data including the CRC if
50. iscovery UDP Search Static IP or DHCP network configuration Easy firmware update via the Ethernet BOOTP TFTP Tiny Web server for configuration HTTP Contains a 32 bit MCU that efficiently handles network traffic 10 100 Base TX Ethernet RJ 45 x1 Auto negotiating auto MDI MDIX LED Indicators Includes redundant power inputs PoE IEEE 802 3af Class 1 and DC jack Allows automatic RS 485 direction control 2500 Vpc isolation and 4 kV ESD protection for i versions Male DB 9 or terminal block connector for easy wiring Tiny form factor and low power consumption RoHS compliant with no Halogen Cost effective Modbus Gateway 2 3 Applications Factory Automation Building Automation Home Automation Remote Diagnosis and Management Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu d 2 4 Selection Guide Model Ethernet Baud Rate COM1 COM2 leen tk Swirers232 tGW 722 5 wire RS 232 5 wire RS 232 tGW 732 3 wire RS 232 3 wireRS 232 3 wire RS 232 2 wire RS 485 tGW 715 4 wire RS 422 Isolated tGW 715i 2 wire RS 485 10 100 Base TX 115200 4 wire RS 422 bps tGW 725 2 RS 485 2 wire RS 485 tGW 735 2 wire RS 485 2 wire RS 485 2 wire RS 485 3 wire RS 232 tGW 718 2 wire RS 485 4 wire RS 422 tGW 724 2 wire RS 485 5 wire RS 232 tGW 734 2 wire RS 485 3 wire RS 232 3 wire RS 232 3 Wire RS 232
51. lPortiPair Ce V 4 QU Throughithe Eer tGW 7725 tGW Ziel Baud Rate 115200 bps Baud Rate 115200 bps Modbus Modbus Virtual RS 232 485 bus through the pair connection OD 2 E Ei H 8 8 R RS 485 Eamets 89998p9 Gam Tae 9 bps edu IU 57 odbus Serial Port Pair Conn poan Mens att m Throughithe Ethernet r P e nr er Medios Row de 4 Tiny Modbus TCP to RTU ASCII Gateway User PA Me Alf 1 The following examples of pair connection tests Pair connection Settings Port Settings default Pair connection Settings Model Baud Data Server Remote Rate Format Mode Server IP default The Baud Rate and Data Format settings of the client and server tGW 700 1 and 2 depend on the COM ports of the PC or the connected device The serial port settings between tGW 700 1 and tGW 700 2 can be different tGW 700 2 115200 Follow the procedure described below Step 1 Connecting to a network PC and Power 1 Confirm that the tGW 700 modules are functioning correctly For detailed information regarding how to install configure and operate your tGW 700 series module refer to Chapter 3 Setting up the tGW 700 Module 2 Use 7520 module to connect COM1 on the PC to COM1 tGW 700 1 For detailed information regarding RS 422 485 wiring refer to Se
52. ocol for industrial communication and is now the most commonly available means of connecting industrial electronic devices Modbus allows for communication between many devices connected to the same RS 485 network for example a system that measures temperature and humidity and communicates the results to a computer Modbus is often used to connect a supervisory computer with a remote terminal unit RTU in supervisory control and data acquisition SCADA systems The tGW 700 module is a Modbus TCP UDP to RTU ASCII gateway that enables a Modbus TCP host to communicate with serial Modbus RTU ASCII devices through an Ethernet network and eliminates the inherent cable length limitations of legacy serial communication devices The module can be used to create pair w i connection applications as well as serial bridge or serial tunnel applications can then route data over a TCP IP connection between two serial Modbus RTU ASCII devices which is useful when connecting mainframe computers servers or other serial devices that use Modbus RTU ASCII protocols and do not themselves Ethernet mm PoE Power over Ethernet a have Ethernet capability ln Copyright 2014 ICP DAS CO Ltd All Rights Reserved de h 4 Tiny Modbus TCP to RTU ASCII Gateway User SA Me Alf 1 In harsh industrial environments the tGW 700 series for i version also adds 2500 Vpc 4 kV ESD prot
53. ponse will be 1200041210 MBICP Ver 114 ModbusTCF Protocol Description ip 10 0 6 246 FCT Reed multipla statue ooa for DO j 6 bytes of protocol Part 502 Byte 0 Transaction identifier copied by server usually Byte 1 Transaction identifier copied by server usualy Connact Disconnect EE EELU Byte X Protocol identitierz Data Log Byle 4 Length field upper byte 0 Polling Made na wat Statistic fla Soe E Start Stop Command Gescht Response TotalPacket bytes n KC Total Packet bytes Packet Quantity sent Q pm PacketQuantityreceived g Timer mode lined permadi Timer made Date Time Polling Mode Timing ms Interval 100 ms Set Slat tine 00 009 Average S Stop Stop ime Stoo Time Min 000 000 Byte Butel Bute2 Bytes Bytes Eutel Bute2 Bytes 01 02 00 00 00 06 gt 01 02 00 00 OD 04 01 02 aad 00 00 04 gt 01 02 01 00 J Response Data Clear Lists EXIT Program Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User SA Me Alf 1 SOM 4 Web Configuration Once the tGW 700 module has been correctly configured and is functioning normally on the network the confi
54. r Slave Mode Select the Modbus protocol Modbus TCP or UDP for Modbus Protocol the remote device Remote Server IP Disabled The IP address for the remote device A Notes 1 For more detailed information regarding pair connection applications settings refer to Section 5 3 Pair Connection Applications 2 For more detailed information regarding the mapping configuration for the Modbus RTU Slave ID and the TCP Slave ID refer to FAQ How to access multiple Modbus TCP slave devices from a single Modbus RTU ASCII master device Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue 4 5 Filter Page Tiny Modbus Gateway tGW 71x Home Port1 Network T Filter y onitor Password Logout After clicking the Filter tab the Accessible Settings page will be displayed allowing you configure the IP Filter list for the tGW 700 device which will be described in more detail below 4 5 1 Accessible IP filter is disabled when all zero The Accessible IP Settings page is used to query or edit the IP Filter List The IP Filter List restricts the access of packets based on the IP header If one or more IP address are saved to the IP Filter table only clients whose IP is specified in the IP Filter List can access the tGW 700 Accessible IP filter is disabled when all zero IP Filter Address 0000 1 0 0 0 0
55. rather than the destination host 6 ICMP Internet Control Message Protocol ICMP provides a method of communicating between the Internet Protocol software on one machine and the corresponding software on another It allows a gateway to send error or control messages to other gateways or allows a host to diagnose problems with the network communication 7 Internet Physically the Internet is a collection of packet switching networks interconnected by gateways that together with the TCP IP protocol allows them to perform logically as a single large and virtual network The Internet recognizes hosts using 32 bit IP address Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manue NR ui 4 8 IP Internet Protocol Address Each interface on the Internet must have a unique IP address also called an Internet address These addresses are 32 bit numbers and are normally written as four decimal numbers one for each byte of the address for example 192 168 41 1 This is called dotted decimal notation 9 MAC Media Access Control Address To allow a computer to determine which packets are meant for it each device attached to an Ethernet network is assigned a 48 bit integer known as its MAC address also called the Ethernet address the hardware address or the physical address A MAC address is normally written as eight hexadecimal numbers for example 00 7
56. roblems Valid range 10 20 to 65530 ms When sharing Modbus RTU ASCII device data between several master devices the read cache function can be used to reduce the loading on the serial communication and ensure faster TCP Read Cache ms responses Valid range 10 20 to 65530 ms Disable O This parameter is used to configure the Modbus TCP port Local TCP Port Note The default COM1 COM2 COM3 TCP Ports 502 503 504 If Modbus TCP communication is idle for a specified period of time the system will automatically terminate the connection TCP Timeout seconds y y Valid range 1 to 65535 seconds Disable 0 Modbus Protocol This parameter is used to configure the serial port that is used by Modbus the Modbus RTU or Modbus ASCII protocol RTU Copyright 2014 ICP DAS CO Ltd All Rights Reserved de hd Dal Tiny Modbus TCP to RTU ASCII Gateway User SA e Alf 1 4 4 3 Settings Pair Connection Settings Wa ee Server Server Slave ClientzMaster Sn Server erver v TCP v Disabled 10 0 28 244 i Disabled 502 RTU Virtual ID 1 247 0 0 Bypass No check TCP Slave ID 1 247 0 Same as RTU The following is an overview of the parameters contained in the Settings Pair Connection Settings Master Slave Mode section Pair Connection Settings Maste
57. st When using IE please disable its cache as follows Menu items Tools Internet Options General Temporary Internet Files Settings Copyright 2014 ICP DAS CO Ltd All Rights Reserved Tiny Modbus TCP to RTU ASCII Gateway User Manu 4 3 5 Update by Ethernet Update by Ethernet You may need to return the module for repair if the firmware update is failed The Firmware update function is only supported by the firmware version is v1 4 6 Aug 05 2014 or later and it can update firmware without any manual operation in the Init Run Switch and reboot For detailed information about how to update the Firmware in run mode for your tGW 700 series module refer to the tGW_Firmware_v146_and_later_Update_vxxx_en pdf The location of the user manual on the CD and the download address are shown below CD NAPDOS tGW 700 Firmware http ftp icodas com pub cd tinymodules napdos tgw 700 firmware Copyright 2014 ICP DAS CO Ltd All Rights Reserved gt Ah D 4 ET d ne ay 4 4 Serial Port Page Kr SEER SPU SSS at Tiny Modbus Gateway tGW 71x After clicking the tab the serial port settings page will be displayed allowing you to configure the settings for the tGW 700 including the Baud Rate Data Format Slave Timeout Char Timeout Silent Time Read Cache TCP Timeout Modbus Protocol and Pair connection parameters etc
58. t Gateway WAC Address Copyright 2014 ICP DAS CO Ltd All Rights Reserved 4 3 3 General Settings General Settings e Auto 10 100 Mbps Auto negotiation 18 chars 30 65535 seconds Default 300 Disable 0 1 65535 minutes Default 10 Disable 0 Enable Enable Disable the UDP Configuration Enable default Default 1 Disable 0 Enable 11 Reports exception Ox41 when slave response is Invalid Modbus message Default 1 0 Gateway returns raw data including CRE when CRC error 1 Gateway reports exception 0x43 when CRC error 2 Gateway drops packet when CRC error m a 1 Default 1 Disable 0 Enable 1 77 20056 65 Gateway reports exception OxOB for slave no response and Ox4B for data timeout 1 Default 1 Disable 0 Enable 11 Gateway reports exception 0x06 when queued requests are 1 Default 1 Disable 0 Enable 1 Drops packet when Modbus TCP header protocol ID length is wrong Update Settings Busy Exception Check TCP The following is an overview of the parameters contained in the General Settings section This parameter is used to set the Ethernet speed The default value Ethernet Speed Auto
59. tGW 700 Series User Manual WARRANTY All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser WARNING SUPPORT ICP DAS assumes no liability for damages consequent This manual relates to the following modules to the use of this product ICP DAS reserves the right tGW 712 tGW 722 tGW 732 to change this manual at any time without notice The tGW 715 tGW 725 tGW735 information furnished by ICP DAS is believed to be tGW 718 tGW 724 tGW 734 accurate and reliable However no responsibility is tGW 715i assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use LE COPYRIGHT S Copyright 2014 by ICP DAS All rights are reserved t6W 712 EI TRADEMARKS 45 12 re Names are used for identification purposes only and C Em may be registered trademarks of their respective companies CONTACT US If you have any questions please feel free to contact us via email at service icpdas com service icpdas gmail com g niale ZZ A b Lomas e 2 160 715 CI 1 COM A we he C Tiny Modbus TCP to RTU ASCII Gateway User Manu TABLE OF CONTENTS died Icio E 4 MORE INF ORMAHON c a 4 INTRODUCTION E 5 1 1 ET
60. the main page will be displayed which is divided into two sections Y P Tiny Modbus Gateway tGW 71x The upper section of the page provides basic information related to the hardware and software for the tGW 700 series module including the Firmware version and the IP Address etc Status amp Configuration Me B EET WW 15 v1 4 5 Feb 20 2014 TTE VEU 00 0d e0 80 0a 3f TCP Port Timeout 10 0 8 16 Socket Watchdog Seconds 10H System Timeout OFF Network Watchdog Seconds ge The lower section provides Current port settings information related to the port Port Settings settings and the pair connection Baud Rate bps 115200 settings Data Size wes 8 None Stop Bits bits 1 Modbus Protocol RTU Slave Timeout ms 300 Char Timeout bytes 4 Silent Time ms 0 Read Cache ms 980 Local TCP Port TCP Timeout Seconds Pair Connection Settings Master Slave Mode Remote Server IP Remote TCP Port RTU Slave ID lt TT PTT F Copyright 2014 ICP D Til CERN SEES SUS ESE i eee ee 8 1 Tiny Modbus Gateway tGW 71x Home Port Network jiter Monitor Password Logout After clicking the Network tab the Network and Miscellaneous Settings page will be displayed allowing you to verify the current settings configure the IP Address and the general parameters
61. to pass a consistency check and the slave cannot perform the program function received in the query This code is returned when a programming request using function code 13 or 14 decimal was unsuccessful The master should request diagnostic or error information from the slave 0x07 Copyright 2014 ICP DAS CO Ltd All Rights Reserved MEMORY Indicates that the slave attempted to read extended memory but detected a parity error in the memory The master can retransmit the request but maintenance may be required on the slave device gt Defined Exception Codes for tGW 700 ILLEGAL DATA VALUE 0x03 The Modbus request parameters are incomplete DEVICE BUSY 6 The tGW 700 will return this code when the Gateway busy or request buffer is full GATEWAY TARGET DEVICE FAILED TO RESPOND OxOB Timeout The slave device does not respond within the timeout value the tGW 700 will return this code GATEWAY TARGET DATA FAILED TO RESPOND Ox4B Timeout The slave device is still sending data when timed out the tGW 700 will return this code MODBUS PROTOCOL FORMAT ERROR Ox41 The tGW 700 will return this code when slave response is invalid Modbus message 0x43 CRC ERROR 0x52 Copyright 2014 ICP DAS CO Ltd All Rights Reserved
62. uali 32 bit IP Address ARP RARP 48 bit MAC Address 13 Socket Each TCP segment contains a source and destination port number that can be used to identify the sending and receiving application These two values along with the source and destination IP addresses in the IP header uniquely identify each connection The combination of an IP address and a port number is called a socket 14 Subnet Mask A Subnet mask often simply called the Mask is a 32 bit number that masks and IP address and divides the IP address into the network address and the host address Given its own IP address and its subnet mask a host can determine whether a TCP IP packet is destined for a host that is 1 on its own subnet or 2 on a different network If 1 the packet will be delivered directly otherwise it will be delivered via a gateway or a router 15 TCP Transmission Control Protocol TCP is a set of rules used in combination with the Internet Protocol to send data in the form of message units between computers over the Internet TCP provides a reliable flow of data between two hosts and is associated with tasks such as dividing the data passed to it from an application into appropriately sized chunks for the network layer below acknowledging received packets setting timeouts to make certain that the other end acknowledges packets that are sent and so on Copyright 2014 ICP DAS CO Ltd All Rights Reserved
63. wires DATA and DATA Typically 120 resisters are used The Data and B pins are positive voltage pins and Data and A pins are negative voltage pins in the above figure The B A pins may be defined in another way depending on devices please check it first Copyright 2014 ICP DAS CO Ltd All Rights Reserved db Tiny Modbus TCP to RTU ASCII Gateway User Manue a ul 3 Setting up the tGW 700 Module This chapter provides detailed information about the Self Test process which is used to confirm that the tGW 700 series module is operating correctly Before beginning the Self Test process the wiring test Ethernet configuration and search Modbus utility driver installation procedures must first be fully completed Follow the procedure described below Step 1 Connect the Power Supply and the Host PC 1 Ensure that the network settings on your PC are configured correctly 2 Ensure that the Windows firewall or any Anti Virus firewall software is correctly configured or temporarily disable these functions otherwise the Search Servers function in the eSearch Utility may not work as required You may need to contact your System Administrator for more details of how to do this 3 Check that the Init Run switch is in the Run position Figure 3 1 4 Connect both the tGW 700 and the Host computer to the same sub network or the same Ethernet Switch and then pow
Download Pdf Manuals
Related Search
Related Contents
カタログ(PDF 802KB) Zumo 500 deluxe & 550 : GPS spécialement conçus pour la moto User`s Manual Copyright © All rights reserved.
Failed to retrieve file