Back to Home

User Guide

Complete guide to using SerialRUN for serial port debugging.

Contents

Quick Start

  1. Connect your serial device to the computer via USB
  2. Click the refresh button in the left panel to detect ports
  3. Select a serial port from the dropdown (e.g., COM3)
  4. Set the baud rate (default 115200, supports custom values)
  5. Click the green Connect button
  6. Type commands in the bottom terminal input box and click Send
Tip: If you don't know the baud rate, click the Auto button to auto-detect (progress shown in status bar).

Interface Layout

Top Toolbar

15 function buttons. Click to open/close the corresponding window:

ButtonFunctionDescription
LogLog ViewerSend/receive records, export to CSV, auto-persisted
ChartData ChartReal-time data rate curve
PLCPLC ControllerSiemens, Mitsubishi, Delta, Omron presets
ModModbus DebugQuick register read/write, 8 function codes
TCPTCP/RTU BridgeBridge Modbus TCP to serial RTU
HMIHMI SimulatorVirtual Modbus slave (TCP/RTU)
FTFile TransferXMODEM/YMODEM/ZMODEM
FBFrame BuilderManual Modbus frame construction
CANCAN BusSLCAN frame capture and analysis
I2CI2C/SPIScan and read/write I2C/SPI devices
ScopeOscilloscopeReal-time waveform display
FlashFlasherSTM32/ESP32 firmware flashing
Note: All panels are independent OS windows — drag, resize, and arrange freely. Child windows always stay on top.

Left Panel

Bottom Status Bar

Terminal Features

The terminal displays all send/receive data with color-coded directions:

Toolbar Controls

Auto-Wrapping: The toolbar uses adaptive layout — controls automatically wrap when the window is narrow.

HEX Mode

Switch between TXT and HEX mode in the input box. HEX mode auto-strips spaces and 0x prefixes.

RX Timeout (T/O)

Controls how long to wait for more data after initial read:

Right-Click Menu

Modbus Debug

Quick register read/write with 8 function codes and configurable response timeout.

Quick Request

Function Codes

CodeNameType
01Read CoilsRead
02Read Discrete InputsRead
03Read Holding RegistersRead
04Read Input RegistersRead
05Write Single CoilWrite
06Write Single RegisterWrite
15Write Multiple CoilsWrite
16Write Multiple RegistersWrite

Register Monitor

Set poll interval (100-10000ms) and view register values in real-time with address, raw value, and formatted display.

PLC Control

Professional PLC monitoring with brand presets and batch register operations.

TCP/RTU Bridge

Bridge Modbus TCP clients to serial RTU devices. External SCADA/HMI software can communicate with serial devices via TCP.

MCP Server (AI Integration)

Built-in MCP server allows AI assistants to remotely control serial devices via TCP.

Setup

  1. In left panel, find MCP Server
  2. Check Enable MCP Server
  3. Set port (default 9527) and bind address
  4. Click Copy MCP Info to share with AI assistant

Available Tools (15)

ToolDescription
list_portsList available serial ports
connectConnect to serial port
disconnectDisconnect from current connection
sendSend data (text or hex)
readRead data from RX buffer
send_commandSend command and wait for response
modbus_readRead Modbus RTU registers
modbus_writeWrite Modbus RTU register
plc_readRead PLC preset registers
plc_writeWrite to PLC register
statusView connection status
get_configRead UI settings
set_configUpdate UI setting
get_access_logView access log
get_device_infoGet device identification
Warning: LAN mode allows network access to your serial ports. Use with caution.

Tips & Troubleshooting

Tips

FAQ

QuestionAnswer
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.

Data Persistence

FileContent
config.tomlTheme, language, baud rate settings
logs.jsonApplication logs (max 2000)
terminal.jsonTerminal history (max 5000)
warnings.jsonWarning/error history (max 1000)
mcp_access_log.jsonMCP access log (max 1000)