Message Timing Chart
The Message Timing Chart draws each batch of raw messages sent and received by the device on a time axis. The upper lane is TX (sent), shown in orange. The lower lane is RX (received), shown in green. Each message is a vertical bar, and its horizontal position matches the time it was sent or received.
It suits checking request and response timing between a master and a slave, checking the gaps between messages, or seeing whether a slave answers on time. With Modbus monitor mode on, the plugin also identifies master requests and slave responses on the bus and marks abnormal frames.
Data Requirements
This plugin does not require numeric values or a specific text format. It only needs the raw bytes the device sends and receives. When Modbus monitor mode is on, the plugin splits the data into Modbus RTU frames, and content it cannot recognize is marked as an error. For general rules, see Plugins Overview.
Data Source
- Receive (RX): The raw bytes received in each batch from the device. The plugin gets these bytes before the frame processing script runs, so frames dropped by the script are still shown.
- Send (TX): The data the device sends, including manual sends, timed sends, quick sends, auto answers, process execution, and data bridging.
- The plugin always receives raw bytes. The receive display mode (Text or HEX) does not affect it.
- When the Stop Receive button in the device window is on, received data is not sent to this plugin.
- The Clear button in the device window also clears this plugin.
Text Split (Default)
This plugin does not use text split. The device data is passed in as raw bytes and is not split into values by separator. The text split notes in the Plugins Overview do not apply to this plugin.
Variable Rendering
This plugin does not use variable rendering, and the toolbar has no Variable button.
Channel Settings
This plugin has no channel settings. The TX and RX lane names are fixed. When Modbus monitor mode is on, the lane names change to "Master (TX)" and "Slave (RX)".
Display
Lanes and Messages
- Each message is drawn as a vertical bar. Its horizontal position matches the time it was sent or received.
- The bar width depends on the time window. When you shorten the window (zoom in), the bars get wider. When you lengthen it (zoom out), the bars get narrower. The width is based on 30 ms, with a minimum of 1 pixel and a maximum of 40 pixels.
Time Axis
The time axis is at the bottom of the chart. Its labels use the format hours:minutes:seconds.milliseconds. The tick spacing is chosen automatically from the length of the time window, in steps of 1, 2, and 5.
Time Window and Zoom
- The default time window is 5 seconds. It can be set from 200 ms to 10 minutes.
- The Zoom In and Zoom Out buttons halve and double the time window. You can also zoom with the mouse wheel: scroll up to zoom in, and scroll down to zoom out.
- By default, the right edge of the time window follows the newest message.
- The chart keeps up to 5000 messages. When the limit is reached, the oldest messages are removed.
Mouse Hover
Hovering over a bar shows a tooltip with the time, the direction, the byte count, and the hexadecimal content. In monitor mode, the direction shows Master, Slave, or Unknown, and the tooltip also lists the diagnostics for that message.
Average Interval
The Average Interval label on the left of the toolbar shows the average gap between all stored messages. It is calculated as (time of the last message minus time of the first message) divided by (message count minus 1). Values under 1 second are shown in milliseconds. Other values are shown in seconds. It is not calculated when there are fewer than 2 messages.
Toolbar
From left to right, the toolbar contains: the Average Interval label, the Modbus Monitor button, the response timeout control (shown in monitor mode only), Pause, Clear, Zoom In, Zoom Out, and Help.
| Icon | Button | Description |
|---|---|---|
| Modbus Monitor | Checkable. When checked, turns on Modbus monitor mode. The plugin splits the data into Modbus RTU frames and identifies master and slave automatically. Master requests are drawn in the TX lane, and slave responses and unrecognized data are drawn in the RX lane. When unchecked, messages are shown by their original direction. See "Modbus Monitor Mode" below. | |
| Pause | Checkable. When checked, the chart stops scrolling and stays on the current time window. New messages are still stored but do not appear on screen, and the button icon changes to | |
| Clear | Removes all messages from the chart. The Average Interval label keeps its old value, and the monitor mode parser state is not reset. | |
| Zoom In | Halves the time window, down to a minimum of 200 ms. | |
| Zoom Out | Doubles the time window, up to a maximum of 10 minutes. | |
| Help | Opens this plugin's online help page in your browser. |
The following toolbar items are controls, not buttons:
- Average Interval (control, label): Shows the average interval described above.
- Response Timeout (control, numeric box): Shown in monitor mode only. The unit is milliseconds. The range is 10 to 10000, the step is 50, and the default is 500.
Modbus Monitor Mode
When this software acts as a bus listener, messages from both the master and the slave arrive as received data. To handle this, turn on the Modbus Monitor button in the toolbar. The plugin then processes data as follows:
- The plugin uses the same parser as the Modbus RTU plugin. It splits the byte stream into Modbus RTU frames and checks each CRC. Monitor mode ignores the TX and RX direction, and all data is processed together.
- A frame is drawn only after it is complete. If the bus stays idle for 100 ms, incomplete data that cannot be split is drawn in the RX lane as unrecognized data and marked as an error.
- Each frame is identified as a master request or a slave response. Master requests are drawn in the upper TX lane. Slave responses and unrecognized data are drawn in the lower RX lane.
- The lane names change to "Master (TX)" and "Slave (RX)".
- Messages with diagnostics are colored by severity: red for errors and yellow for warnings. Information-level diagnostics do not change the color.
The response timeout is the time to wait for a slave response after a master request is sent. The setting ranges from 10 to 10000 ms, and the default is 500 ms. If no response arrives within that time, or another request is sent before the response arrives, the request is marked "Slave N no response" with the reason, and it is shown in red.
The role detection rules, the diagnostic items, and their severity levels are the same as in the Modbus RTU plugin. See that page for details. When you switch monitor mode, the parser clears its buffers and request pairing state. Messages already drawn stay on the chart.
Notes
- In monitor mode, each frame uses the time at which the first byte of its receive batch arrived. Frames from the same batch therefore have the same time and are drawn at the same position.
- The toolbar Clear button clears only the messages on the chart. It does not reset the monitor mode parser. The Clear button in the device window clears the chart and resets the parser.
- The toolbar Clear button does not update the Average Interval label. The label keeps its old value until the second message arrives. The Clear button in the device window resets the label to "--".
- When neither text split nor variable rendering is enabled, the plugin splits received text by English commas. This plugin is an exception: it always receives raw bytes and does not split them by commas.
