Do you have a question about the TRP-C37M and is the answer not in the manual?
Questions and answers
Summary of Contents for UNION Market TRP-C37M
Page 1
MODBUS TCP to RTU/ASCII Gateway User’s Manual Printed September 1 2015 Rev 1.6 UNION Market Enterprise Company LTD. 1F., No.2, Alley 6, Lane 423, Zhuangjing Rd., Xinyi District, Taipei City 110, Taiwan Tel : 02-2722-1198 Fax: 02-2722-1120 Web: www.umarket.com.tw / www.smartmeter.com.tw...
Page 2
Modscan32 and Modbus Poll many application uses Virtual-COM mode and Pair Mode. In network security, the TRP-C37M is able to set up 8 sets host IP, only these host IP can access the TRP-C37M. The TRP-C37M provides a watchdog timer function, The Watchdog timer allows the system to automatically recover from a system crash.
Page 3
Auto switching RS-232/422/485 signal interface. Fully compatible with Ethernet and TCP/IP protocol. Supports 10/100 Mbps Ethernet. Power/Link/UART RX/UART TX mode LED indicator. Heart Beat function ensures a reliable communicating connection. Auto reconnection when power or Ethernet fail. ...
2. Hardware Description The following information is provided to give the user an understanding of how to connect the TRP-C37M to the LAN and serial device. A review of the switch settings and the functionality of the LED’s are also provided.
Page 5
2-3. Power Input DC Jack: Power Input DC +10V to +30V. (Please use the 5.5*2.1mm DC JACK). There are two types power input. a. Use the plug of power adaptor than plug in the DC jack on the side. This approach also allows the user to provide additional power to other devices using the terminal from EU regulation.
Page 7
The DB-9 serial port is DTE interface. A null modem cable is required to make a connection between the COM port on a PC and the TRP-C37M serial port. A straight through cable is required to connect the TRP-C37M serial port to a DCE device.
Page 8
Signals are single ended and referenced to Ground. To use handshaking, Flow Control must be set to RTS/CTS during Configuration. Refer to the Pin out table for connections. 4. How to configure TRP-C37M There are 3 ways to access the Server Properties and program the TRP-C37M. a.TRP-C37X DSM utility.
Page 11
4-1. Using TRP-C37X DSM Utility. The “TRP-C37X DSM” software performs several functions: A: Searching for TRP-C37M connected to the network. B: Displaying and changing the configuration of TRP-C37M. C: Upgrading the TRP-C37M firmware.
Page 12
D: Saving and Loading Configuration from external log File or EEPROM. 4-2. Searching LAN for TRP-C37M Once TRP-C37M is connected to the LAN the TRP-C37X DSM software will search it and display it in a window by name , IP address, Mac….Information.
Page 13
If DHCP is enabled ,the IP address, Subnet mask, Gateway address will be dynamically configuration by DHCP server such router. When “DHCP” is enabled ,but the DHCP server is not available on the network, the TRP-C37M will timeout then back to factory setting IP=192.168.1.1.
Page 14
LAN communications between Host PC Client and gateway devices. Maximum Connection: 1~16 The function allows the user to configure the TRP-C37M Serial Gateway to have up to 16 TCP client connections. TCP Keep Alive: 1~7 /Minute When TRP-C37M in Server mode, the TRP-C37M without data over the 1~7 Min setting value, The TRP-C37M will be disconnecting TCP.
Page 15
Upgrade the firmware 4-4 using the WEB Server mode The Web Server can be used to configure the TRP-C37M Serial Gateway from any web browser software (such as I.E). In Internet Explorer type the IP Address of the Serial Gateway into the address field and press the Enter key.
Page 16
Insert the TRP-Serial CD then find the CONSOLE.exe, The CONSOLE file support all windows O.S include MS-DOS, Run the CONSOLE file and Re-boot the TRP-C37M then select correct host COM port number and data format.
Page 17
TRP-C37M. The TRP-C37M actually can make connections with any Host IP, Once the user has filled in the Host IP, these IP are valid, the TRP-C37M will be pass with them. Other host IP will not pass. Refer to the following example illustrates.
Page 18
Maximum 512~1024 virtual-com port, Support Server、Client、UDP mode, Support all Windows O.S include Win98/Win2000/WinXP/Vista/Win2003/WIN7,Support Multi-virtual com at different PC to one Serial Gateway; Support Ethernet and Internet , If TRP-C37M off line or power fail, The Virtual-Com utility will try to Reconnection.
Page 19
Step6. Run VCOMM.exe then click right button select “New Virtual COM” Step7. Select “Select Serial Port” and input TRP-C37M IP and port then press “OK”. Step8. If Virtual-Com setting success, the display will appear bellow. Step9. Run TRPCOM utility then select virtual-com port make a TRP-C37M loop test.
Page 20
*If in VCOMM‘s configuration select “Boot with windows”, the virtual-com will Auto-connection when windows start.
Page 21
6. Application 6-1 Modbus TCP Master to Modbus RTU/ASCII Serial Slave Mod *Notice: If TRP-C37M is MODBUS RTU protocol, Please turn the switch 1,2 to OFF,OFF. OR if TRP-C37M device is MODBUS ASCII, Please turn the switch1,2 to OFF,ON. Example:...
Page 22
Step4.the modscan32 will be response below. 6-2 Modbus TCP Slave to Serial Master *Notice: If TRP-C37M is MODBUS RTU protocol, Please turn the switch 1,2 to OFF,OFF. OR if TRP-C37M device is MODBUS ASCII, Please turn the switch1,2 to OFF,ON.
Page 23
Step1: Connect Serial Master PC-----RS232-----TRP-C37M-----Ethernet---Multi TCP Slave PC. Step2: Run DSM Search the TRP-C37M and change the setting. Step3: Run Modbus Poll utility from serial master PC. *The Modbus Poll and Modbus Slave utility copyright belong the Witte Communications Company Design; user can find it from the...
Page 24
Step4: Run Modbus Slave utility from TCP Slave PC and setting the function code as same as the Modbus poll. 6-3 Virtual COM Mode *Bridge Mode *Notice: Please turn the switch 1,2 to ON,OFF for Virtual-COM Mode.
Page 25
Example: Step1. Connect PC-----Ethernet------TRP-C37M-----RS232/422/485---MODBUS RTU/ASCII device. Step2. Run Virtual-COM utility and make a virtual-COM port, Run modscan32 utility and input com port number, press “OK”. Step3.Select function code which you need.
Page 26
Step4.the modscan32 will be response below. 6-4 Paired Mode *Bridge Mode *Notice: Please turn the switch 1,2 to ON,OFF for Paired Mode. Example: Step1. Connect PC---RS232/422/485---TRP-C37M-----Ethernet------TRP-C37M----MODBUS RTU/ASCII slave device. Step2.Run DSM set up TRP-C37M as Client, Input destination IP and Port.
Page 27
Step3.Run DSM set up TRP-C37M as Server and be sure the IP and port as same as client setting.
Page 28
Same step3 and step4 same refer above. 6-5 Multi-Client to 1 TRP-C37M Server Example: *Running at Multi-Direct IP Mode Step1.Connect Multi-PC ---Ethernet----TRP-C37M Server----TRP-C28 (RS485 ID=1) Step2.Run DSM Set up TRP-C37M Maximum connection=16.
Page 29
6-6 Heart Beat The heart Beat function help customer detection the TRP-C37M LAN on–line or off-line, User can open one 5300 port, if TRP-C37M on line, the 5300 port will send a char staring period of 5 sec.
Page 30
Step1: Run TRP-C37X DSM utility to set up the heart beat enable. Step2: RUN TRPCOM then click “Link” button Wait until the Response screen appear the message...
Page 31
We recommend use the virtual-com mode test all RS232/422/485 function. *Please turn the switch 1,2 to ON,OFF *Support all ASCII and Binary code includes MODBUS RTU/ASCII Protocol in Virtual-com Mode. TRPCOM Utility is demo utility which may help to test TRP-C37M UART interface .User may...
Page 32
TRP-C37M support CD. Double click “TRPCOM Utility”, the installShield Wizard will guide you complete installation. User can directly link TRP-C37M to TRP-Serial Remote IO Modules by RS485, The basic wiring connect. RS485 Test DATA+ to DATA+, DATA- to DATA- How to operator please see the diagram below.
Page 33
STEP1.RUN Virtual COM utility and set up the TRP-C37M IP and PORT. STEP2.RUN TRPCOM test utility then select virtual-com port number. STEP3.Select terminal and key-in some word at “send command” text filed. STEP4.Click “Send Command” and get response.
Page 36
This means that no matter what it received any data that can only be responsible for two-way Transmission. TRP-C37M Modbus TCP to RTU/ASCII Gateway The TRP-C37M which is able to analyzes the protocols between Modbus TCP and Modbus RTU / ASCII. The TRP-C37M can assign the UID of Modbus TCP slave from Modbus Serial Master.
Need help?
Do you have a question about the TRP-C37M and is the answer not in the manual?
Questions and answers