Modbus POE ETH Relay Waveshare

From Waveshare Wiki
Jump to: navigation, search

Hardware Connection

  • Connect the Modbus POE ETH Relay to the LAN via a network cable, and supply power through the power port or the POE.

600px-Modbus-POE-ETH-Relay-details-3.jpg

Note: The above figure is powered by a PoE Ethernet port. If it is an ordinary network cable, it must be powered by an external power adapter, which can be powered by an external power supply in the range of 7~36V.

Software Preparation

Waveshare Cloud Configuration

Create Device

Waveshare Cloud provides exclusive device control examples for Modbus POE ETH Relay, and you can start by quickly creating devices.

Quick Start

The platform supports one-click quick start, go to Device Management ->Device List ->One-click Add:

1000px-Modbus POE ETH Relay WaveshareCloud images1.png

Detailed Steps (Skip to Device Settings for Quick Start)

When creating device properties, you can choose the HEX character type, enter the hex value of the corresponding switch, and select to display the chart

800px-Modbus POE ETH Relay WaveshareCloud images2.png

Device Settings

Open VirCom to configure device MQTT connection properties. Please note that if the device has already been configured with some information, it is recommended to load default parameters and restart the device before configuring, for example:

800px-Modbus POE ETH Relay WaveshareCloud images3.png

800px-Modbus POE ETH Relay WaveshareCloud images4.png

800px-Modbus POE ETH Relay WaveshareCloud images5.png

For the modified device, go to Firmware and Configuration

800px-Modbus POE ETH Relay WaveshareCloud images6.png

Modbus POE ETH Relay WaveshareCloud images7.png

Copy the device subscription address parameters of Waveshare IoT and fill them into the settings, save and download, and wait for a prompt indicating successful transmission

800px-Modbus POE ETH Relay WaveshareCloud images8.png

View the TCP connection in Device Management to see if the cloud device is online by displaying established connections

800px-Modbus POE ETH Relay WaveshareCloud images9.png

Device Control

Go to the console, view the device, and enter development

800px-Modbus POE ETH Relay WaveshareCloud images10.png

Enter the device details page to view the switch-type devices, click the button to set the status of the terminal hardware device

800px-Modbus POE ETH Relay WaveshareCloud images11.png

At this time, we check the trigger status of the Modbus PoE ETH Relay relay. Here, CH1 corresponds to relay 0, which is the relay set in the cloud

800px-Modbus POE ETH Relay WaveshareCloud images12.jpg