Update holding registers of Virtual Modbus Slave device

Topics about the Software of Revolution Pi
Post Reply
matdog
Posts: 2
Joined: 20 Jan 2022, 11:27

Update holding registers of Virtual Modbus Slave device

Post by matdog »

Hi. I'm using a RevPi compact as a Modbus Slave Device. It's supposed to simulate a slave device.

However, I am unsuccessful in updating the holding registers of the virtual slave device locally. When updating the variables with PiTest, the values appear to the master as Input_registers, not Holding_registers.
I'd like to update the holding_registers of the slave device locally. Is there any command for that?
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Update holding registers of Virtual Modbus Slave device

Post by dirk »

Hi The holding registers can only be read not written.
https://revolutionpi.com/tutorials/modb ... verwenden/
Post Reply