coassoftwaresystems / delphi-modbus

Delphi ModbusTCP components
MIT License
119 stars 64 forks source link

ModBusClient - cycle read ? #48

Closed faber33 closed 3 weeks ago

faber33 commented 3 years ago

Hi. I need to read the value of ReadHolding registers cyclically. I have tried to do this with the Timer. This works but makes the application very slow. How to do it correctly?

JensMertelmeyer commented 3 years ago

In a background thread, of course. I'm doing this with a dozen independent Modbus devices and it works flawlessly.