Your first logging session
This tutorial walks you through a complete ModbusScope session from a fresh installation to a saved CSV file. You will connect to a Modbus TCP device, add three registers, log data, and export it.
What you need:
ModbusScope installed on your computer (download)
A Modbus TCP device reachable on your network (this tutorial uses
192.168.1.10, port502, slave ID1)Three holding registers at addresses
40001,40002,40003
If your device uses different values, substitute them at each step.
Step 1 — Add a connection
Open ModbusScope.
Go to Settings > Connection.
Set Protocol to
TCP.Set IP address to
192.168.1.10.Set Port to
502.Leave Timeout at the default.
Click OK.
Step 2 — Add a device
Go to Settings > Device.
Click Add device.
Set Name to
My device.Set Connection ID to
1(the connection you just created).Set Slave ID to
1(the Modbus slave ID of the device).Click OK.
Step 3 — Add registers
Click Register Settings in the toolbar.
Click Add to add a new row.
In the Expression column, type
${40001}. Set Name toRegister 1.Add a second row: expression
${40002}, nameRegister 2.Add a third row: expression
${40003}, nameRegister 3.Click OK.
Step 4 — Start logging
Click Start Logging.
The graph starts updating in real time. Each register appears as a line.
You can pan and zoom the live graph at any time: scroll to zoom, drag to pan. This is useful for inspecting recent samples while logging continues.
If the graph shows no data or the status bar shows connection errors, verify the IP address, port, and slave ID in Steps 1 and 2.
Step 6 — Stop logging
Click Stop Logging when you have collected enough data.
The graph stops updating. You can continue to pan and zoom the captured data before exporting it.
Step 7 — Export to CSV
Go to File > Save Data File As….
Choose a folder and file name.
Click Save.
Result: You have a .csv file containing timestamps and the values of all three registers, one column each.