1.2 KiB
1.2 KiB
AD Modbus GUI
This is a local browser GUI for the AD Keil project Modbus RTU interface.
Install serial dependency
python -m pip install -r AD_Keil_Project\tools\requirements-ad-terminal.txt
Run
python -B AD_Keil_Project\tools\ad_gui.py
Or double-click:
run_ad_gui.bat
or:
AD_Keil_Project\tools\run_ad_gui.bat
For remote access from another PC, use:
run_ad_gui_remote.bat
Details:
AD_Keil_Project\tools\README_AD_REMOTE_GUI.md
Default URL:
http://127.0.0.1:8765/
Notes
- The GUI uses the same Modbus code as
ad_terminal.py. - The default connection is ST-LINK VCP
COM31,512000 8N1, slave1. - If port listing fails, install
pyserialusing the command above. - The
Statustab showsAD_PARAM_ID_STATUS_*andAD_PARAM_ID_FAULT_*bits as vertical square LED lists below the main status fields. Run Control -> Apply nowwrites changed control parameters, includingPole pairsandShunt ohm, to Modbus registers without pressingStart.Measurements -> Poll measurementscontinuously reads measurement registers at the selected interval.- CSV logging is generated in the browser and downloaded when you press
CSV stop.