Difference between revisions of "RS232/485 TO ETH"

From Waveshare Wiki
Jump to: navigation, search
Line 13: Line 13:
 
{{Product List|Modules/Wired Communication/Ethernet to UART}}
 
{{Product List|Modules/Wired Communication/Ethernet to UART}}
 
}}
 
}}
 +
 +
<div class="tabber">
 +
<div class="tabbertab" title="Instruction">
 
==Instruction==
 
==Instruction==
 
=== Internet login ===
 
=== Internet login ===
Line 36: Line 39:
 
*Start the server -> open the serial port assistant -> select the corresponding serial port
 
*Start the server -> open the serial port assistant -> select the corresponding serial port
 
[[File:RS232-RS485-NET(9).png]]
 
[[File:RS232-RS485-NET(9).png]]
 +
</div>
  
 +
<div class="tabbertab" title="Resources">
 
==Resources==
 
==Resources==
 
*[https://www.waveshare.com/w/upload/8/8e/RS232485-TO-ETH-user-manual-en.pdf User Manual]
 
*[https://www.waveshare.com/w/upload/8/8e/RS232485-TO-ETH-user-manual-en.pdf User Manual]
 
*[[:File:PC_Socket_Demo.zip|Code]]
 
*[[:File:PC_Socket_Demo.zip|Code]]
 
*[[RS232/485_TO_ETH_Software|Software]]
 
*[[RS232/485_TO_ETH_Software|Software]]
 +
</div>
 +
 +
 +
<div class="tabbertab" title="FAQ">
  
 
<h1>FAQ</h1>
 
<h1>FAQ</h1>
Line 56: Line 65:
 
[[File:RS232-RS485-TO-ETH-HEX.png|800px]]
 
[[File:RS232-RS485-TO-ETH-HEX.png|800px]]
 
|||}}
 
|||}}
 
+
</div>
 +
<div class="tabbertab" title="Supports">
 
==Support==
 
==Support==
 
{{Service00}}
 
{{Service00}}
 +
</div>

Revision as of 01:06, 14 April 2022

RS232/485 TO ETH
RS232/485 TO ETH

RS232/485 TO ETHernet Converter
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Instruction

Internet login

Method 1: Access router or switch test

  • Connect the RS232/485 TO ETH to the computer and the switch or router connected to the LAN respectively (in this way, firstly,the network cable of the computer does not need to be unplugged to avoid network disconnection; secondly, the RS232/485 TO ETH connected to the Internet can be connected to the public network TCP Server communication), fixed IP of RS232/485 TO ETH
  • Control Panel (File Explorer) -> Network Connections -> Double-click the network card -> Details -> See the computer IP (here is 192.168.11.121)

RS232-RS485 net.png

  • Click the device factory IP: 192.168.0.7->set the static IP to the same frequency band IP as the computer ()->subnet mask default->set the corresponding gateway->click set

RS232-RS485 net (1).png

  • Double-click the upper right corner of the webpage -> enter the account and password (the initial value is: admin)

RS232-RS485 net (3).png

Method 2: Test directly with the computer

If you only have one network cable and no router or switch, you can connect the computer and RS232/485 TO ETH through a single network cable (similar to one-to-one communication between two computers through a network cable)

  • Control Panel (File Explorer)->Network Connections->Double-click the network card->Properties->Internet Protocol Sakamoto 4 (TCP/IPV4)->Use the following IP address->Set the IP of the same frequency band as RS232/RS485 TO ETH -> OK

RS232-RS485 net (5).png

RS232 TCP communication

Hardware connection

RS232-RS485-NET(6).png

RS232-RS485-NET(8).png

  • Start the server -> open the serial port assistant -> select the corresponding serial port

RS232-RS485-NET(9).png


FAQ


 Answer:

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


 Answer:
  • After confirming that the network communication is normal, you can observe whether the 232RX (485RX) light is flashing. If it does not flash, it means that there is no data in the RS232/485 TO ETH. Check whether the RS232/RS485 wiring is correct.

If the RXD and TXD of some RS232 lines are not cross-connected, they cannot communicate (check with a multimeter, if 2 and 2 are connected, 3 and 3 are directly connected to the serial line; if 2 and 3 are connected, 3 and 2 are connected. .), you can replace the crossover serial cable:

  • If the indicator light is normal, please turn off the tool and then turn it on to test.


RS232-RS485-TO-ETH-HEX.png


Support

Support

If you require technical support, please go to the Support page and open a ticket.