The Dashboard displays the status of the relays and input channels in real time. The left-side log monitor shows operation records, and the navigation bar displays the current network and Ezdata service connection status.
The default StamPLC firmware supports Ezdata connectivity, enabling remote relay control and input status monitoring. Use Button A to return to the main menu, then press Button B to navigate to the Ezdata
option. Press Button C to confirm and enter the Ezdata configuration page. Then press Button B again to switch to the WIFI configuration option and confirm.
At this point, the device enters network configuration mode. Use your mobile phone to scan the QR code on the screen or manually connect to the AP hotspot M5StamPLC-WiFi-Config
, then use a browser (Chrome is recommended) to directly access 192.168.4.1
, which will redirect you to the WiFi configuration page. Click the drop-down menu to scan and fill in your WiFi information for configuration.
Select the Monitor Link
option to view the QR code for the remote access page. Use your phone to scan and access the remote page, then log in with your M5Stack account to enter the control panel.
To facilitate remote interactive control of StamPLC via other devices, the Ezdata service also provides an HTTP API for remote control of StamPLC. Click the ADVANCED
option at the bottom of the page to view and copy the corresponding URL, then use the specified request method for control.
The same StamPLC device allows multiple users to use it concurrently. When accessing the control panel page via the device's Monitor Link
QR code and logging in, the logged-in user will be added to the current StamPLC's authorized user list. Users who have already been added can log in and use the device directly through the device's device_id URL (
https://ezdata-stamplc.m5stack.com/`device_id`
).
The Ezdata
function menu provides a Clear Monitoring
option to clear all authorized users, thereby restricting access by other users. (This step will refresh all HTTP API tokens, and URLs based on the old tokens will become invalid.)
The StamPLC LogMonitor function is used to monitor the status of several communication interfaces and internal sensors.
StamPLC TimerRelay allows you to set the relays to operate with a specified on/off cycle. This function is for testing purposes only; it will automatically pause after the device is reset or when you exit the page.
StamPLC TriggerRelay is used to monitor the status of the 8-channel input signals. When the signal status meets the set trigger conditions, you can configure it to execute corresponding actions. For example, when an input signal is high, a specific relay can be triggered to close. It also supports saving trigger presets to the SD card. This function is for testing purposes only; it will automatically pause after the device is reset or when you exit the page.
View the device firmware version and configure the Modbus slave address, buzzer, and the timezone (UTC) displayed on the RTC clock.
After the StamPLC firmware starts by default, it will automatically initialize as a Modbus slave. External devices can control the device via the PWR-485 interface using the Modbus RTU protocol. The specific register protocol is as follows.
Register Map:
Coils (Read/Write)
Input Registers (Read-only)