8-CH RS485 TO POE ETH (B)
Overview
| ||
| ||
Introduction
This is an industrial-grade multifunctional serial port device data collector / IoT gateway with 8-channel RS485 and Ethernet interfaces (optional PoE version). Its unique design, small size, easy installation, cost-effective, suitable for data collection, IoT gateway, security IoT and intelligent instrument monitoring and other fields, to meet the needs of various application scenarios.
Parameters Comparision
Model | 8-CH RS485 TO ETH (B) | 8-CH RS485 TO POE ETH (B) |
---|---|---|
Product Type | Serial server, Modbus Gateway, MQTT Gateway | |
Basic Function | Bi-directional transparent data transmission between RS485 and Ethernet | |
Communication Interface | RS485 × 8, Network port × 1 | |
Power supply mode | Screw terminal DC 7~36V | |
Without PoE port for power supply | With PoE port for power supply | |
Isolation Protection | Power isolation, signal isolation protection | |
Communication Interface | ||
Ethernet | Common network port | PoE port, supports IEEE 802.3af standard |
10/100M self-adaptive RJ45 interface, 2 KV surge protection | ||
Serial Port | Isolation type RS485 (4 channels can receive and transmit independently at the same time) | |
UART Specifications | ||
Baudrate | 300 ~ 115200 bps | |
Parity Bit | none, odd, even, mark, space | |
Data Bit | 5 ~ 9 bits | |
Flow Control | N/A | |
Software | ||
Protocol | ETHERNET, IP, TCP, UDP, HTTP, ARP, ICMP, DHCP, DNS | |
Configuration | Host, WEB browser, device management functions library | |
Communication Method | TCP/IP direct communication, VCOM | |
Operating Mode | TCP server, TCP client (coexisting with TCP server), UDP mode, UDP multicast | |
Other | ||
Operating Temperature | -40℃ ~ 85℃ | |
Humidity Range | 5% ~ 95% relative humidity | |
Dimensions | L × W × H: 93.0 × 103.5 × 29.7 mm |
Hardware Description
Software Features
- Supports TCP server, TCP client, UDP mode, and UDP multicast. When acting as a TCP client, it also supports TCP server-side functions. It supports 30 TCP connections as a TCP server and 7 destination IPs as a TCP client.
- The baud rate supports 1200~115200bps, the data bit supports 5~9 bits, and the check digit can be no check, odd check, even check, mark, or space.
- Supports the function of sending MAC address when the device is connected, which is convenient for cloud management of the device.
- Provides a secondary development kit DLL development library for searching for and configuring devices on the computer side.
- Supports Web browser configuration, obtaining dynamic IP via DHCP, DNS protocol connected domain server address.
- Supports cloud remote search for devices, the configuration of device parameters, and device program upgrades.
- Supports remote viewing of the device's TCP connection status, and serial port data sending and receiving status through software. The virtual serial port supports the data monitoring function.
- Note: This module is 8-channel, and each channel supports the above functions separately
Advanced Software Functions
- Supports Modbus gateway function, support Modbus RTU to Modbus TCP. It can support storage-type Modbus, and can automatically collect device data and store it; it also supports a non-storage mode Modbus gateway.
- Supports multi-host function: In the query mode of one question and one answer, supports that the network port allows multiple computers to access the same serial device at the same time.
- Supports MQTT gateway function.
- Supports JSON to Modbus RTU and 645 device protocols, and supports uploading data in HTTP POST and HTTP GET formats.
- Supports NTP protocol to obtain network time, which is used for serial output, and the latter is used for protocol content upload.
- Supports custom heartbeat package and registration package function: It is convenient to communicate with the cloud and identify devices.
- Supports the function that password authentication is required to establish a connection through TCP to ensure connection security.
- Supports the function of data submission and delivery in HTTP mode, and the cloud can directly use the HTTP GET command to interact with the serial port data of the device.
Applications
- As an IoT gateway, serving as a communication bridge between devices and the cloud
- Electricity, smart meters, and energy consumption monitoring
- Remote monitoring and program download of various automation PLCs
- Various configuration software and equipment communication interfaces
- Access control security field equipment networking
Quick Test
Hardware Connection
- Here 8-CH RS485 TO POE ETH (B) is taken as an example, and 8-CH RS485 TO ETH (B) is connected in the same way. The following connection diagram is for testing purposes only. If practical applications require consideration of the usage environment, ensure that the module can work properly.
Generally speaking, the serial server only needs to connect the power supply, serial port, and network cable. The power supply is directly connected to the positive and negative terminals. The serial port needs to be connected according to the user's serial port device. Connect 485-1 A to 485-2 A, and 485-1 B to 485-2 B. You can connect a network port with a regular network cable to a computer directly or through a switch to connect to the network.
Software Installation
Vircom can be used to configure parameters such as device IP and create virtual serial ports. If you don't need the virtual serial port function, you can download the installation-free version of the configuration software only.
- VirCom_en : English version of the configuration software
- Virtual-serial-port : Virtual serial port driver
To install the driver, you need to unzip it, double-click the software to install. If the virtual serial port is not displayed in Vircom, restart it and check again.
Example Demonstration
TCP Communication Test
Software Preparation
Operation Steps
After Vircom is installed and the device hardware connection is finished, the software is run as shown in the figure, and then you can click "Device Management" as shown in the figure. With Vircom, it is very convenient to search for and configure device parameters in different network segments, as long as the device and the computer running Vircom are under the same switch.
The serial port to network port and network port to serial port data transparent forwarding function of the serial port server. As shown in the figure below:
In addition, open two serial port debugging assistant windows, and as a TCP client, fill in the destination IP as the IP of the serial port server (currently 192.168.1.200 and 192.168.1.201), the destination port is 4196, and then click on the "Open" button, as shown below:
In the serial debugging assistant SSCOM1 set as TCPClient, enter "TCPClient: Waveshare_RS485_1" and click Send, then the data will be transferred to the RS485 interface through the serial server's network port, and then sent to another TCPClient, and then displayed in the serial debugging assistant SSCOM2; conversely, enter "TCPClient:Waveshare_RS485_2" in SSCOM1, click Send, it can also be sent to SSCOM2 and displayed.
Virtual Serial Port Test
The SSCOM2 in the diagram communicates directly with the serial port server via TCP. In order to allow users to communicate with the serial port server using their existing serial port software, a virtual serial port needs to be added between the user program and the serial port server. As shown in the diagram, Vircom and the user program run on the same computer. Vircom virtualizes a COM port that corresponds to the serial port server. When the user program opens the COM communication, it can send data to the user's serial port device through the Vircom serial port server. The following steps demonstrate this operation:
Click on "Serial Port & Device Management" on the Vircom main interface, then click "Add" and select to add COM2. Among them, COM2 is the newly emerging COM port on the computer.
Then enter the device management and double-click the device that needs to be bound to COM2. As shown in the diagram, select COM2 from the Virtual Serial Port list in the top left corner. Then click on "Modify Setting" and then click on "Restart Device". Return to the main interface of Vircom. It can be seen that COM2 has been connected to the device whose IP is 192.168.1.200. In this case, COM2 can be used instead of SSCOM2 for communication.
Open SSCOM to simulate the user's serial port program, open COM2 (the virtual serial port above), open another SSCOM to simulate a serial port device, and open COM3 (hardware serial port). At this time, the link for COM2 to send data is as follows: COM2 —> Vircom —> the network port of the serial server —> the serial port of the serial server —> COM3. Conversely, data can also be transmitted from COM3 to COM2: COM3 —> the serial port of the serial server —> the network port of the serial server —> Vircom —> COM2. As shown in the figure below, both parties send and receive data. If COM4 is replaced with the user serial device, then COM5 can realize the communication with the user device.
MODBUS TCP Test
By default, the data between the serial port and network port is transparently transmitted. If you need to implement Modbus TCP to RTU conversion, you need to select the Transfer protocol as "Modbus TCP<-->RTU" in the Device Settings dialog, as shown in the diagram below. In this case, the device port automatically changes to 502. Users can connect their Modbus TCP tool to the IP of the serial port server on port 502, and the Modbus TCP commands they send will be converted to RTU commands and outputted through the serial port. For example, if the serial server's Ethernet port receives a Modbus TCP command of 00 00 00 00 00 0601 03 00 00 0a, the serial port outputs the command of 01 03 00 00 00 0a c5 cd. Note: The serial port may send multiple 01 03 00 00 00 0a c5 cd commands because the default Modbus adopts the storage mode, which will automatically poll the query commands. How to switch to non-storage mode will be explained later.
If the user's Modbus TCP software is used as a slave station (Slave), it is necessary to select the conversion protocol, then change the working mode to the client, the destination IP to the IP of the computer where the Modbus TCP software is located, and the destination port to 502, as shown in the figure below.
WEB Configuration
Using Vircom, you can search for and configure device parameters in different network segments. For Web configuration, you must first ensure that the computer and the serial server are in the same IP segment, and you need to know the IP address of the serial server in advance. But Web configuration can be done on any computer without Vircom. (Different products have different web interfaces)
1. Enter the IP address of the serial server in the browser, such as http://192.168.1.200 to open the following web page:
2. Enter password in "Password": There is no login password set by default in the factory, you can enter a password at will, and click the Login button to log in. After setting the password to log in, the settings at "Modify Web Login Key" will take effect:
3. The serial server parameters can be modified on the web page that appears. For the relevant parameters, please refer to Table 4 for the meaning of the parameters.
4. After modifying the parameters, click the "Submit" button.
5. If the configuration web page files are overwritten during the configuration and downloading of MQTT and Jetson Modbus firmware, causing the configuration web page to be inaccessible, please follow these steps to re-download the web page files:
- ETH configuration interface Web file to 8-CH RS485 TO ETH (B)
- POE ETH configuration interface Web file to 8-CH RS485 TO POE ETH (B)
- The interface web files of the two devices are different, and the corresponding files need to be downloaded.
Resources
Documents
Softwares
Related Application Cases
RS485 TO ETH (B) Connect Alibaba Cloud and EMQX via MQTT
FAQ
Answer: 12V 145mA
Answer: Press RESET for 5 seconds to complete the reset. After the reset, the IP addresses of the two devices will change to 192.168.1.254 and the name will change to WSDEV0001, and then manually modify them
Other firmware, such as MQTT and Jetson Modbus, which are downloaded for configuration, overwrite the configuration page file, you need to re-download
- ETH configuration interface Web file to 8-CH RS485 TO ETH (B)
- POE ETH configuration interface Web file to 8-CH RS485 TO POE ETH (B)
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 PM GMT+8 (Monday to Friday)