Difference between revisions of "RS485 TO ETH"

From Waveshare Wiki
Jump to: navigation, search
(Created page with "{{Infobox item |img=300px|alt=RS485-TO-ETH|link=http://www.waveshare.com/RS485-TO-ETH.htm | RS485 TO ETH |caption=RS485 to Ethernet Converter |...")
 
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{Note|This module does not support Modbus TCP, if you need to use this function, please purchase [https://www.waveshare.com/RS232-485-TO-ETH.htm RS232/RS485 TO ETH] }}
 +
<div class="wiki-pages jet-green-color">
 
{{Infobox item
 
{{Infobox item
|img=[[File:RS485-TO-ETH-intro.jpg|300px|alt=RS485-TO-ETH|link=http://www.waveshare.com/RS485-TO-ETH.htm | RS485 TO ETH]]
+
|img=[[File:RS485-TO-ETH-intro.jpg|300px|alt=RS485-TO-ETH|{{Amazon_nolink|default={{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}|url=link=http://www.waveshare.com/RS485-TO-ETH.htm}} | RS485 TO ETH]]
 
|caption=RS485 to Ethernet Converter
 
|caption=RS485 to Ethernet Converter
 
|category=[[:Category:Modules|Modules]], [[:Category:Ethernet|Ethernet]]
 
|category=[[:Category:Modules|Modules]], [[:Category:Ethernet|Ethernet]]
 
|brand=Waveshare
 
|brand=Waveshare
|{{#urlget:amazon|default}}=display
+
|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|website_cn=[http://www.waveshare.net/shop/RS485-TO-ETH.htm 官网]
 
|website_cn=[http://www.waveshare.net/shop/RS485-TO-ETH.htm 官网]
 
|website_en=[http://www.waveshare.com/product/RS485-TO-ETH.htm Website]
 
|website_en=[http://www.waveshare.com/product/RS485-TO-ETH.htm Website]
Line 12: Line 14:
 
{{Product List|Modules/Wired Communication/Ethernet to UART}}
 
{{Product List|Modules/Wired Communication/Ethernet to UART}}
 
}}
 
}}
== Introduction ==
+
= Introduction =
 
Stable Ethernet to RS485 convertor, High-speed, Low-power
 
Stable Ethernet to RS485 convertor, High-speed, Low-power
  
{{Amazon|{{#urlget:amazon|default}}=display
+
{{Amazon|{{#ifeq: {{#urlget:amazon|0}}|{{#urlget:Amazon|0}}| default|}}=display
 
|More = [http://www.waveshare.com/RS485-TO-ETH.htm More]}}
 
|More = [http://www.waveshare.com/RS485-TO-ETH.htm More]}}
==Resources==
+
=Resources=
*[[:File:RS485-TO-ETH-user-mannual-cn.pdf|User Manual]]
+
*[https://files.waveshare.com/upload/6/6d/RS485-TO-ETH-user-manual-en.pdf User Manual]
*[[:File:PC_Socket_Demo.zip|Code]]
+
*[https://files.waveshare.com/upload/8/8b/RS485-To-ETH-AT-Command_Manual.pdf AT Command manual]
 +
*[https://files.waveshare.com/upload/a/aa/PC_Socket_Demo.zip Code]
 
*[[RS485_TO_ETH_Software|Software]]
 
*[[RS485_TO_ETH_Software|Software]]
 +
=FAQ=
 +
{{FAQ|Does RS485 TO ETH support Modbus transmission?|
 +
*It does not support Modbus transmission.
 +
If you need the TCP Modbus function, please select the following modules:
 +
https://www.waveshare.com/RS232-485-TO-ETH.htm
 +
|||}}
  
==FAQ==
+
{{FAQ|How to restore factory settings?|
==Support==
+
After power-on, press the reload button for 5 seconds to restore the factory settings:
{{Service00}}
+
[[File:600px-Rs485_to_eth_reset.png|600px]]
 +
|||}}
 +
{{FAQ|Can you please provide me the MAC?
 +
|
 +
You can find the device MAC address from the web configuration page here: https://www.waveshare.com/wiki/RS485_TO_ETH_(B)#WEB_Configuration<br>
 +
[[File:RS485 TO ETH FAQ.png]]
 +
||}}
 +
{{FAQ|Why can't the configuration page open in the computer's browser and why can't TCP communicate?
 +
|
 +
Set the IP of RS232/485 TO ETH and computer to the same network address and different node address IP:<br>
 +
For example, RS232/485 TO ETH IP is 192.168.0.7; computer IP is 192.168.0.8.
 +
||}}
 +
{{FAQ|Why can I use USB TO RS232/RS485 to communicate normally, but I can't send/receive data when accessing sensors and other devices via 485/232?
 +
|
 +
After confirming that the network communication is normal, you can observe whether the 232RX (485RX) indicator is blinking or not, if it is not blinking, it means that there is no data in RS232/485 TO ETH, check whether the RS232/RS485 wiring is correct or not.<br>
 +
Some RS232 line RXD and TXD not cross-connected will not be able to communicate (measured with a multimeter, if 2 and 2 through, 3 and 3 through the straight serial line; if 2 and 3 through, 3 and 2 through the cross-serial line.), you can replace the crossover serial cable:<br>
 +
If the indicator light is normal, please turn off the tool and turn it on again to test.<br>
 +
[[File: RS232-RS485-TO-ETH-HEX.png]]
 +
||}}
 +
{{FAQ|What should I do if I can't receive data and the communication is abnormal?
 +
|
 +
*Check the network (ETH):
 +
Can the device IP be pinged (by default)? If pingable, it indicates the device is not dead. The host software should attempt to connect to the device's IP and port to verify normal connectivity.<br>
 +
In the case where a TCP connection is established but no data is received, following the assessment in 1), if the TCP channel is established but no data is received, further investigation is necessary.<br>
 +
Set RS485 TO ETH to 192.168.0.7 with port number 1111; Set the computer to 192.168.0.8 with port number 1111.<br>
 +
If the network host machine fails to send data normally, consider configuring network heartbeat packet verification. If normal, data will be periodically transmitted.<br>
 +
Ensure SSCOM is added to the firewall, otherwise the firewall may block TCP connections, or test by temporarily disabling all firewalls on the computer.<br>
 +
*Detecting RS485 Serial Port Issues
 +
Confirm hardware connections including serial port devices, and check if your gateway and energy meter are correctly connected. Ensure power and data lines are connected properly and there are no loose connections.<br>
 +
If the serial port terminal device receives data but does not respond properly, monitor the data from the serial port device. Use a 485 to USB serial cable, connect it to the interface of the 485 device and the computer's USB port, assign a COM port on the computer, open serial debugging assistant software, set the serial port parameters consistently, input the corresponding COM port, and monitor the data from the 485 device. 485 Wiring: T+ --A T- --B; Check if the instructions sent to 485 are correct; Are there proper responses from 485 after sending correct instructions?<br>
 +
Confirm serial port parameters such as baud rate, data bits, and stop bits: Baud rate should be configured according to the connected RS485 device, commonly used rates are 9600 and 115200; Refer to the device manual or contact RS485 device technical support for configuration, especially if set to Modbus mode, confirm if the function code matches.
 +
||}}
 +
{{FAQ|I can't connect to the device at address 192.168.0.7 to change the address and connect to my network. I tried connecting it directly to the computer either with a normal network cable or with a crossover cable but the web page doesn't open. Could I have detailed instructions on WIN 11?
 +
|
 +
1. Connect the RS485 and your PC/Laptop through a LAN cable.<br>
 +
2. Configure the IP of your RS485 and your computer to the same network address but different node address IP. For example, if your RS485 IP is 192.168.0.7, you can set your computer IP to 192.168.0.8.<br>
 +
Now check it again with the 192.168.0.7 address.
 +
||}}
 +
 
 +
=Support=
 +
{{Servicebox1}}

Latest revision as of 07:29, 20 March 2024

This module does not support Modbus TCP, if you need to use this function, please purchase RS232/RS485 TO ETH
RS485 TO ETH
RS485-TO-ETH

RS485 to Ethernet Converter
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

Stable Ethernet to RS485 convertor, High-speed, Low-power

More

Resources

FAQ

 Answer:
  • It does not support Modbus transmission.

If you need the TCP Modbus function, please select the following modules: https://www.waveshare.com/RS232-485-TO-ETH.htm


 Answer:

After power-on, press the reload button for 5 seconds to restore the factory settings: 600px-Rs485 to eth reset.png


 Answer:

You can find the device MAC address from the web configuration page here: https://www.waveshare.com/wiki/RS485_TO_ETH_(B)#WEB_Configuration
RS485 TO ETH FAQ.png

{{{5}}}


 Answer:

Set the IP of RS232/485 TO ETH and computer to the same network address and different node address IP:
For example, RS232/485 TO ETH IP is 192.168.0.7; computer IP is 192.168.0.8.

{{{5}}}


 Answer:

After confirming that the network communication is normal, you can observe whether the 232RX (485RX) indicator is blinking or not, if it is not blinking, it means that there is no data in RS232/485 TO ETH, check whether the RS232/RS485 wiring is correct or not.
Some RS232 line RXD and TXD not cross-connected will not be able to communicate (measured with a multimeter, if 2 and 2 through, 3 and 3 through the straight serial line; if 2 and 3 through, 3 and 2 through the cross-serial line.), you can replace the crossover serial cable:
If the indicator light is normal, please turn off the tool and turn it on again to test.
RS232-RS485-TO-ETH-HEX.png

{{{5}}}


 Answer:
  • Check the network (ETH):

Can the device IP be pinged (by default)? If pingable, it indicates the device is not dead. The host software should attempt to connect to the device's IP and port to verify normal connectivity.
In the case where a TCP connection is established but no data is received, following the assessment in 1), if the TCP channel is established but no data is received, further investigation is necessary.
Set RS485 TO ETH to 192.168.0.7 with port number 1111; Set the computer to 192.168.0.8 with port number 1111.
If the network host machine fails to send data normally, consider configuring network heartbeat packet verification. If normal, data will be periodically transmitted.
Ensure SSCOM is added to the firewall, otherwise the firewall may block TCP connections, or test by temporarily disabling all firewalls on the computer.

  • Detecting RS485 Serial Port Issues

Confirm hardware connections including serial port devices, and check if your gateway and energy meter are correctly connected. Ensure power and data lines are connected properly and there are no loose connections.
If the serial port terminal device receives data but does not respond properly, monitor the data from the serial port device. Use a 485 to USB serial cable, connect it to the interface of the 485 device and the computer's USB port, assign a COM port on the computer, open serial debugging assistant software, set the serial port parameters consistently, input the corresponding COM port, and monitor the data from the 485 device. 485 Wiring: T+ --A T- --B; Check if the instructions sent to 485 are correct; Are there proper responses from 485 after sending correct instructions?
Confirm serial port parameters such as baud rate, data bits, and stop bits: Baud rate should be configured according to the connected RS485 device, commonly used rates are 9600 and 115200; Refer to the device manual or contact RS485 device technical support for configuration, especially if set to Modbus mode, confirm if the function code matches.

{{{5}}}


 Answer:

1. Connect the RS485 and your PC/Laptop through a LAN cable.
2. Configure the IP of your RS485 and your computer to the same network address but different node address IP. For example, if your RS485 IP is 192.168.0.7, you can set your computer IP to 192.168.0.8.
Now check it again with the 192.168.0.7 address.

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 AM GMT+8 (Monday to Friday)