Complete guide to using SerialRUN for serial port debugging.
↻ in the left panel to detect ports15 function buttons. Click to open/close the corresponding window:
| Button | Function | Description |
|---|---|---|
Log | Log Viewer | Send/receive records, export to CSV, auto-persisted |
Chart | Data Chart | Real-time data rate curve |
PLC | PLC Controller | Siemens, Mitsubishi, Delta, Omron presets |
Mod | Modbus Debug | Quick register read/write, 8 function codes |
TCP | TCP/RTU Bridge | Bridge Modbus TCP to serial RTU |
HMI | HMI Simulator | Virtual Modbus slave (TCP/RTU) |
FT | File Transfer | XMODEM/YMODEM/ZMODEM |
FB | Frame Builder | Manual Modbus frame construction |
CAN | CAN Bus | SLCAN frame capture and analysis |
I2C | I2C/SPI | Scan and read/write I2C/SPI devices |
Scope | Oscilloscope | Real-time waveform display |
Flash | Flasher | STM32/ESP32 firmware flashing |
↻ to refresh● Recording indicatorThe terminal displays all send/receive data with color-coded directions:
↓ RX — Received data↑ TX — Sent data⚙ SYS — System messagesSwitch between TXT and HEX mode in the input box. HEX mode auto-strips spaces and 0x prefixes.
Controls how long to wait for more data after initial read:
Quick register read/write with 8 function codes and configurable response timeout.
| Code | Name | Type |
|---|---|---|
| 01 | Read Coils | Read |
| 02 | Read Discrete Inputs | Read |
| 03 | Read Holding Registers | Read |
| 04 | Read Input Registers | Read |
| 05 | Write Single Coil | Write |
| 06 | Write Single Register | Write |
| 15 | Write Multiple Coils | Write |
| 16 | Write Multiple Registers | Write |
Set poll interval (100-10000ms) and view register values in real-time with address, raw value, and formatted display.
Professional PLC monitoring with brand presets and batch register operations.
Bridge Modbus TCP clients to serial RTU devices. External SCADA/HMI software can communicate with serial devices via TCP.
Built-in MCP server allows AI assistants to remotely control serial devices via TCP.
| Tool | Description |
|---|---|
list_ports | List available serial ports |
connect | Connect to serial port |
disconnect | Disconnect from current connection |
send | Send data (text or hex) |
read | Read data from RX buffer |
send_command | Send command and wait for response |
modbus_read | Read Modbus RTU registers |
modbus_write | Write Modbus RTU register |
plc_read | Read PLC preset registers |
plc_write | Write to PLC register |
status | View connection status |
get_config | Read UI settings |
set_config | Update UI setting |
get_access_log | View access log |
get_device_info | Get device identification |
0x prefixes~/.serialrun/ directory| Question | Answer |
|---|---|
| Port list empty? | Click refresh. Check device connection and drivers. Linux: sudo usermod -a -G dialout $USER |
| No data received? | Check baud rate matches device, verify TX/RX wiring, check flow control. |
| Auto baud detection fails? | Ensure device is sending data during detection. |
| Modbus no response? | Check slave address, function code, address range, and CRC. |
| File transfer fails? | Ensure both sides use same protocol, try lower baud rate. |
| File | Content |
|---|---|
config.toml | Theme, language, baud rate settings |
logs.json | Application logs (max 2000) |
terminal.json | Terminal history (max 5000) |
warnings.json | Warning/error history (max 1000) |
mcp_access_log.json | MCP access log (max 1000) |