waveshare RS485 to ETH RJ45 (B)

Waveshare RS485 to RJ45 Ethernet Module User Manual

Model: RS485 to ETH RJ45 (B)

1. Ifihan

The Waveshare RS485 to RJ45 Ethernet Module is an industrial-grade serial server and IoT gateway designed for robust data acquisition and communication in industrial environments. This versatile module integrates multiple functions, including serial server, Modbus gateway, MQTT gateway, and RS485 to JSON conversion. It facilitates bi-directional transparent data transmission between RS485 and Ethernet networks.

Featuring RS485 and Ethernet ports, the module utilizes screw terminals for a wide 9-24V DC power input. Its rail-mount, flame-retardant case design ensures easy installation and durability, making it suitable for applications such as data acquisition, IoT gateway solutions, safety and security IoT systems, and intelligent instrument monitoring.

Waveshare RS485 to RJ45 Ethernet Module with feature icons

Figure 1: Waveshare RS485 to RJ45 Ethernet Module highlighting key features like rail-mount, Modbus Gateway, multi-communications, terminal power, RJ45 Ethernet, MQTT & JSON, multi-host support, multi-features, host/webpage config, and industrial quality.

2. Ọja Ipariview ati Awọn isopọ

This section details the physical components and connection points of the RS485 to RJ45 Ethernet Module.

Outline dimensions and port details of the Waveshare RS485 to RJ45 Ethernet Module

Figure 2: Outline dimensions and detailed view of the DC 9-24V power supply, RJ45 Ethernet port, and RS485 port.

  • DC 9-24V Power Supply: Connect the power source to these screw terminals. Ensure the voltage wa laarin awọn pàtó kan ibiti o.
  • Ibudo Ethernet RJ45: Standard 10/100M auto-negotiation Ethernet port for network connectivity. Features 2 KV surge protection.
  • Ibudo RS485: Screw terminals for RS485 serial communication.
  • Awọn itọkasi LED:
    • PWR: Atọka agbara.
    • LNK: Link status indicator for Ethernet.
    • ÌṢE: Activity indicator for Ethernet data transmission.

3. Eto ati fifi sori

Follow these steps to set up and install your Waveshare RS485 to RJ45 Ethernet Module.

3.1 Fifi sori ti ara

The module is designed for rail-mount installation, allowing for easy integration into industrial control cabinets.

Multiple Waveshare RS485 to RJ45 Ethernet Modules mounted on a DIN rail

Olusin 3: Example of multiple modules installed on a DIN rail, demonstrating the rail-mount support.

3.2 Awọn isopọ onirin

  1. Asopọ agbara: Connect a 9-24V DC power supply to the designated screw terminals (V+ and V-). Ensure correct polarity.
  2. RS485 Asopọ: Connect your RS485 device to the RS485 screw terminals (A and B). Refer to your RS485 device's documentation for specific wiring requirements.
  3. Asopọmọra Ethernet: Connect a standard RJ45 Ethernet cable from the module's Ethernet port to your network switch or router.
Diagram showing RS485 and Ethernet connections to the module

Figure 4: Illustration of bi-directional transparent data transmission between RS485 and Ethernet connections.

3.3 Iṣeto Nẹtiwọọki Ibẹrẹ

By default, the module may have a static IP address (e.g., 192.168.1.254). To access the web-based configuration interface:

  1. Connect your computer directly to the module's Ethernet port or ensure both are on the same network segment.
  2. Configure your computer's IP address to be in the same subnet as the module (e.g., if the module is 192.168.1.254, set your computer to 192.168.1.X, where X is not 254, with a subnet mask of 255.255.255.0).
  3. Ṣii a web browser and enter the module's default IP address (e.g., http://192.168.1.254) sinu ọpa adirẹsi.
  4. Log in using the default credentials (refer to the online documentation or product packaging if not specified).
  5. Once logged in, you can configure network settings (static IP, DHCP), serial port parameters, and operating modes.

4. Awọn ọna ṣiṣe

The module supports various communication modes for flexible integration into different network architectures.

4.1 TCP Server Mode

In TCP Server mode, the module listens on a configured port for incoming TCP client connections. Data received from the serial device is then transferred to all connected TCP clients.

Diagram illustrating TCP Server mode operation

Figure 5: TCP Server mode. The module acts as a server, accepting connections from multiple TCP clients and forwarding serial data.

The module supports up to 30 concurrent TCP connections in this mode.

4.2 TCP Client Mode

In TCP Client mode, the module actively establishes a TCP connection with a configured target IP address and port. This mode enables bi-directional transparent data transfer between the serial device and the remote TCP server. The module will continuously retry if the connection fails.

Diagram illustrating TCP Client mode operation

Figure 6: TCP Client mode. The module initiates a connection to a TCP server and transfers serial data.

This mode allows concurrently connecting to up to 7 target IPs.

4.3 UDP Ipo

In UDP mode, the module can operate as a UDP Server or UDP Client.

UDP Server

The UDP Server automatically sends received data to the target of the previous communication. This is suitable for scenarios where multiple network devices communicate with a single UDP Server.

Diagram illustrating UDP Server mode operation

Figure 7: UDP Server mode. The module receives data from multiple UDP clients and responds to the last sender.

UDP onibara

The UDP Client communicates only with a specific IP and port number, enhancing data transfer accuracy by ensuring data is sent to a predefined destination.

Diagram illustrating UDP Client mode operation

Figure 8: UDP Client mode. The module sends data to a specific UDP server.

4.4 UDP Multicast Mode

This mode allows the module to send data to a group of recipients simultaneously, useful for broadcasting information within a local network.

5. Advanced Features and Protocols

5.1 Modbus Gateway

The module functions as a Modbus gateway, facilitating communication between Modbus TCP and Modbus RTU devices. This feature is ideal for upgrading Modbus gridding systems and can be integrated with 3D configuration software.

Diagram showing Modbus TCP to Modbus RTU conversion via the module

Figure 9: Modbus Gateway functionality, converting Modbus TCP commands from configuration software to Modbus RTU for user PLCs.

5.2 MQTT/JSON to Modbus

The module offers flexible protocol conversion, including MQTT and JSON to Modbus. This allows for seamless integration with IoT platforms and cloud services that utilize MQTT or JSON data formats, translating them into Modbus commands for industrial devices.

Flow diagram illustrating MQTT and JSON conversion to Modbus

Figure 10: Protocol conversion flow from MQTT to JSON, and then to Modbus.

5.3 Other Software Features

  • Multi-Host Roll-Polling: Different network devices are identified and responded to individually, preventing crosstalk issues when communicating with multiple network devices.
  • User-Defined Heartbeat/Registration Packet: Facilitates cloud communication and device identification.
  • NTP Protocol Support: Enables obtaining network time information for serial output or data upload.
  • Awọn ọna Iṣeto: Awọn atilẹyin web browser configuration, obtaining dynamic IP via DHCP, and DNS protocol for connecting to domain servers.

6. Awọn pato

Ẹya ara ẹrọSipesifikesonu
Ọja IruSerial server, Modbus Gateway, MQTT Gateway
Ipilẹ IšėBi-directional transparent data transmission between RS485 and Ethernet
Ibaraẹnisọrọ InterfaceRS485 port x 1, Ethernet port x 1
Ibi ti ina elekitiriki ti nwa9 ~ 24V DC screw terminal
Àjọlò10 / 100M auto-negotiation RJ45 connector, 2 KV surge protection
Serial PortRS485
Ṣàyẹ̀wò300 ~ 115200 bps
Bit ParityKo si, Odd, Paapaa, Samisi, Aaye
Bit data5 ~ 9 bits
Software ProtocolsETHERNET, IP, TCP, UDP, HTTP, ARP, ICMP, DHCP, DNS
Awọn ọna ṣiṣeTCP Server, TCP Client (coexisting with TCP server), UDP, UDP Multicast
Awọn iwọn otutu ti nṣiṣẹ-40℃ ~ 85℃
Ibi ipamọ otutu-45℃ ~ 125℃
Ibiti ọriniinitutu5% ~ 95% ọriniinitutu ojulumo
Awọn iwọn (L x W x H)87 x 36 x 59 mm (isunmọ 2.71 x 2.48 x 0.98 inches)
Nọmba awoṣeRS485 to ETH RJ45 (B)
Nọmba ti Ports2 (1x RS485, 1x Ethernet)

7. Laasigbotitusita

  • No Power / PWR LED Off:

    Ensure the 9-24V DC power supply is correctly connected to the screw terminals and is providing the specified voltage. Check for correct polarity.

  • No Ethernet Link / LNK LED Off:

    Verify the Ethernet cable is securely connected to both the module and the network device. Check if the network switch port is active. Try a different Ethernet cable.

  • Ko le Wiwọle Web Ni wiwo:

    Confirm your computer's IP address is in the same subnet as the module's default or configured IP. If the module's IP conflicts with your gateway (as noted in a review), connect directly to the module and temporarily change your computer's IP to match the subnet (e.g., 192.168.1.X for a default 192.168.1.254). Ensure no firewall is blocking access.

  • Serial Communication Issues:

    Check RS485 wiring (A/B polarity). Verify serial port parameters (baud rate, parity, data bits, stop bits) are correctly configured on both the module and the connected serial device. Some Modbus libraries or devices may require specific stop bit settings (e.g., 2 stop bits), as indicated in user feedback.

  • Data Transmission Errors:

    Ensure the operating mode (TCP Server, TCP Client, UDP) is correctly configured for your application. Check network connectivity and IP/port settings for remote devices. For Modbus, verify slave IDs and register addresses.

8. Itọju

  • Awọn imudojuiwọn famuwia: Lorekore ṣayẹwo olupese ká webaaye fun awọn imudojuiwọn famuwia lati rii daju iṣẹ ṣiṣe to dara julọ ati iraye si awọn ẹya tuntun.
  • Awọn ipo Ayika: Ensure the module operates within the specified temperature (-40℃ ~ 85℃) and humidity (5% ~ 95% RH) ranges to prevent damage and ensure longevity.
  • Ninu: Keep the module free from dust and debris. Use a soft, dry cloth for cleaning. Do not use liquid cleaners.
  • Iduroṣinṣin asopọ: Regularly inspect power, Ethernet, and RS485 connections for secure fit and signs of wear.

9. Atilẹyin ati Atilẹyin ọja

9.1 Online Documentation

For detailed technical documentation, software tools, and further support, please refer to the official Waveshare online resources:

Waveshare Wiki for RS485 TO ETH (B)

The provided product description also mentions a short URL: http://bit.ly/3rWrjyz

9.2 atilẹyin ọja Alaye

Specific warranty terms and conditions are typically provided with the product packaging or available on the manufacturer's official website. Please consult these resources for detailed warranty coverage and support procedures.

© 2024 Waveshare. Gbogbo ẹ̀tọ́ ni a fipamọ́.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.