Skip to content
Advertisement

Tag: plc

How to write to PLC input registers using pymodbus

I want to write to PLC input registers using pymodbus. I am able to read them : But I still did not found any way how to write any value to them. I appreciate any help. Thanks. Answer Input registers are read-only. You can write to holding registers, using Modbus functions Write Single Register or Write Multiple Registers (ModbusTcpClient.write_register or

Advertisement