From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

SAPHIR - Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with Write Single/Multiple Registers, Coils APIs: Modbus Server Function

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

 

 

 

 

Download All
0 Kudos
Message 1 of 1
(2,620 Views)