Skip to content

[Bug Report] Abnormal Polling Speed #62

@CWZ7605

Description

@CWZ7605

Steps to Reproduce:

  1. Create multiple Address Tables and set them to different MODBUS Point Types.
  2. Without connecting a Modbus Slave device, click "Connect", select the appropriate COM port, and proceed with the connection.
  3. At this point, OpenModScan will attempt to communicate with the Modbus Slave device. However, since the Modbus Slave device is not connected, the communication will time out.
  4. The Scan Rate set for the Address Table is 1 scan per second. Observe the "Number of Polls"—you will find that the value increases faster than once per second (starts at 40 second in the video).
  5. In this state, wait for a few seconds and then connect the Modbus Slave device. After OpenModScan successfully establishes communication with the Modbus Slave device, the value of "Number of Polls" grows rapidly, and you can also observe that the serial port converter is sending data very frequently. After a period of time, OpenModScan will resume sending data at the set Scan Rate (starts at 1 minute and 28 seconds in the video).

Video:
https://github.com/user-attachments/assets/18174c5c-8dcc-491d-8221-f3f80d8bb4cb

I hope this issue can be fixed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions