Qmodmaster Mac (2027)
Decision: To maintain continuity and speed of deployment, Qt 6 is selected. The UI will utilize the macintosh style plugin to ensure visual consistency with macOS.
./QModMaster
This is a spreadsheet-style interface where each row is a command. qmodmaster mac
Pro Tip for Mac Users: Use Cmd + C and Cmd + V to copy multiple transaction rows. The standard macOS shortcuts work perfectly here.
| Parameter | Value |
|-----------|-------|
| Mode | TCP/IP |
| IP Address | 192.168.1.100 (your slave device) |
| Port | 502 (default Modbus TCP) |
| Timeout | 1000 ms | Option B: Swift/SwiftUI
git clone https://github.com/yapid/QmodMaster.git cd QmodMaster
./QmodMaster
Copying to Applications: To keep the app accessible, run:
cp -r QmodMaster.app /Applications/
QModMaster is an open-source Qt-based GUI application for communicating with and testing Modbus slaves and masters. It supports Modbus RTU (serial) and Modbus TCP (network) protocols, providing tools to read/write registers/coils, monitor traffic, and script basic test sequences. The mac build typically runs as a native Qt application or via homebrew/compiled binaries. Decision: To maintain continuity and speed of deployment,
| Problem | Solution |
|---------|----------|
| App crashes on launch | Run from Terminal: ./QModMaster to see error logs. Likely missing Qt libraries → recompile. |
| "Serial port not found" | Adapter driver missing. For CH340/CP210x: install driver via brew install --cask silicon-labs-vcp-driver or WCH CH340 driver. |
| No response from slave | Check baud rate, parity, stop bits. Use a serial monitor (e.g., screen /dev/tty.usbserial 9600) to see raw data. |
| TCP connection refused | Disable macOS firewall temporarily: sudo pfctl -d. Or allow port 502 in System Settings > Network > Firewall. |
| UI looks broken/zoomed | Set Qt scaling: export QT_SCALE_FACTOR=1 before launching. Or right-click .app > Get Info > check "Open in Low Resolution". |