PrototypePrototipeWorking prototype; single commit on 10 Jan 2026Prototipe berfungsi; satu commit pada 10 Jan 2026
Modbus RTU Tool – macOS
OverviewRingkasan
Lightweight serial tool for macOS to talk to Modbus RTU devices over a USB-RS485 adapter, where free tools like those on Windows are hard to find. You type a hex frame, the app can add the CRC16, and the reply is shown as hex.Tool serial ringan untuk macOS untuk berkomunikasi dengan perangkat Modbus RTU lewat adapter USB-RS485, karena tool gratis seperti di Windows sulit ditemukan. Pengguna mengetik frame hex, aplikasi bisa menambahkan CRC16, dan balasan ditampilkan dalam hex.
My RolePeran Saya
Designed and built the desktop app (Python, CustomTkinter, pyserial) for sending and inspecting raw RS485 / Modbus RTU framesMerancang dan membangun aplikasi desktop (Python, CustomTkinter, pyserial) untuk mengirim dan memeriksa frame RS485 / Modbus RTU mentah
How It WorksCara Kerja
- USB-RS485 adapter on the MacAdapter USB-RS485 di Mac
- pyserial port opened at the chosen baud ratePort pyserial dibuka pada baud rate pilihan
- Hex frame typed in the app (+ CRC16)Frame hex diketik di aplikasi (+ CRC16)
- RS485 bus → slave deviceBus RS485 → perangkat slave
- Reply read in a background thread and logged as hexBalasan dibaca di thread latar dan dicatat sebagai hex
Key FeaturesFitur Utama
- •Serial port list with refresh, baud rate choice (9600, 19200, 57600, 115200), connect and disconnectDaftar port serial dengan refresh, pilihan baud rate (9600, 19200, 57600, 115200), connect dan disconnect
- •Hex payload entry with optional automatic Modbus CRC16Input payload hex dengan CRC16 Modbus otomatis (opsional)
- •TX and RX hex log with auto-scroll and a clear buttonLog hex TX dan RX dengan auto-scroll dan tombol clear
- •Dark-themed single-window GUI (CustomTkinter)GUI satu jendela bertema gelap (CustomTkinter)