waveshare RS485 to ETH RJ45 (B)

Waveshare RS485 to RJ45 Ethernet Module User Manual

Model: RS485 to ETH RJ45 (B)

1. تعارف

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. پروڈکٹ ختمview اور رابطے

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 مخصوص حد کے اندر ہے۔
  • RJ45 ایتھرنیٹ پورٹ: Standard 10/100M auto-negotiation Ethernet port for network connectivity. Features 2 KV surge protection.
  • RS485 پورٹ: Screw terminals for RS485 serial communication.
  • ایل ای ڈی اشارے:
    • پی ڈبلیو آر: پاور انڈیکیٹر۔
    • LNK: Link status indicator for Ethernet.
    • ایکٹ: Activity indicator for Ethernet data transmission.

3. سیٹ اپ اور انسٹالیشن

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

3.1 جسمانی تنصیب

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

شکل 3: سابقample of multiple modules installed on a DIN rail, demonstrating the rail-mount support.

3.2 وائرنگ رابطے

  1. پاور کنکشن: Connect a 9-24V DC power supply to the designated screw terminals (V+ and V-). Ensure correct polarity.
  2. RS485 کنکشن: Connect your RS485 device to the RS485 screw terminals (A and B). Refer to your RS485 device's documentation for specific wiring requirements.
  3. ایتھرنیٹ کنکشن: 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 Initial Network Configuration

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. کھولنا a web browser and enter the module's default IP address (e.g., http://192.168.1.254) ایڈریس بار میں۔
  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۔ آپریٹنگ موڈ

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 موڈ

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

UDP سرور

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 کلائنٹ

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 موڈبس گیٹ وے

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 سے 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

  • ملٹی ہوسٹ رول پولنگ: Different network devices are identified and responded to individually, preventing crosstalk issues when communicating with multiple network devices.
  • صارف کی طرف سے طے شدہ دل کی دھڑکن/رجسٹریشن پیکٹ: Facilitates cloud communication and device identification.
  • NTP پروٹوکول سپورٹ: Enables obtaining network time information for serial output or data upload.
  • ترتیب کے طریقے: حمایت کرتا ہے۔ web browser configuration, obtaining dynamic IP via DHCP, and DNS protocol for connecting to domain servers.

6. وضاحتیں

فیچرتفصیلات
پروڈکٹ کی قسمسیریل سرور، موڈبس گیٹ وے، ایم کیو ٹی ٹی گیٹ وے
بنیادی فنکشنRS485 اور ایتھرنیٹ کے درمیان دو طرفہ شفاف ڈیٹا ٹرانسمیشن
مواصلاتی انٹرفیسRS485 port x 1, Ethernet port x 1
بجلی کی فراہمی9 ~ 24V DC screw terminal
ایتھرنیٹ10 / 100M auto-negotiation RJ45 connector, 2 KV surge protection
سیریل پورٹRS485
حرکت نبض300 ~ 115200 بی پی ایس۔
برابری بٹکوئی بھی نہیں ، عجیب ، یہاں تک کہ ، مارک ، اسپیس
ڈیٹا بٹ5 ~ 9 بٹس
Software Protocolsایتھرنیٹ، آئی پی، ٹی سی پی، یو ڈی پی، ایچ ٹی ٹی پی، اے آر پی، آئی سی ایم پی، ڈی ایچ سی پی، ڈی این ایس
آپریٹنگ موڈزTCP Server, TCP Client (coexisting with TCP server), UDP, UDP Multicast
آپریٹنگ درجہ حرارت-40℃ ~ 85℃
اسٹوریج کا درجہ حرارت-45℃ ~ 125℃
نمی کی حد5% ~ 95% رشتہ دار نمی
طول و عرض (L x W x H)87 x 36 x 59 ملی میٹر (تقریباً 2.71 x 2.48 x 0.98 انچ)
ماڈل نمبرRS485 to ETH RJ45 (B)
بندرگاہوں کی تعداد2 (1x RS485, 1x ایتھرنیٹ)

7 خرابیوں کا سراغ لگانا

  • 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.

  • رسائی نہیں ہو سکتی Web انٹرفیس:

    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.

  • سیریل مواصلات کے مسائل:

    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 دیکھ بھال

  • فرم ویئر اپ ڈیٹس: وقتا فوقتا کارخانہ دار کی جانچ کریں۔ webبہترین کارکردگی اور نئی خصوصیات تک رسائی کو یقینی بنانے کے لیے فرم ویئر اپ ڈیٹس کے لیے سائٹ۔
  • ماحولیاتی حالات: Ensure the module operates within the specified temperature (-40℃ ~ 85℃) and humidity (5% ~ 95% RH) ranges to prevent damage and ensure longevity.
  • صفائی: Keep the module free from dust and debris. Use a soft, dry cloth for cleaning. Do not use liquid cleaners.
  • کنکشن کی سالمیت: Regularly inspect power, Ethernet, and RS485 connections for secure fit and signs of wear.

9. سپورٹ اور وارنٹی۔

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 وارنٹی کی معلومات

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 ویو شیئر۔ جملہ حقوق محفوظ ہیں۔

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.