coassoftwaresystems / delphi-modbus

Delphi ModbusTCP components
114 stars 61 forks source link

ModBusClient - cycle read ? #48

Open faber33 opened 3 years 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.