All,
I am trying to develop a Modbus Server application using Saphir GModbus over TCP toolkit. But I am seeing an error (screenshot attached) when trying to write Multiple Registers and Multiple Coils (screenshot attached). My requirement is to write the holding registers (analog data) and Coils (digital) continuously (let's say every second) based on the data coming from another data source. The purpose of this modbus server application is to read those data points and write to specific registers or a single register, without checking the client connections or read request. A dedicated client device can connect and consume the data any time.
Did anyone use "Write Single/Multiple Registers", "Write Single/Multiple Coils" APIs before for a modbus server functionality? Your feedback will be really appreciated.
Thanks,
Suresh