Skip to content
Advertisement

Tag: modbus

Problem with communication via Modbus RTU with MultiCONT PRD-28-2 – Raspberry Pi 4

I have a problem with communication via Modbus RTU. First of all sorry for my English ;): I’m using RS485 Pi SN65HVD72 to connect with MultiCONT PRD-28-2. I made everything like is in this instruction: https://www.abelectronics.co.uk/kb/article/1035/raspberry-pi-3-serial-port-usage config.txt changes: toverlay=pi3-miniuart-bt enable_uart=1 After this steps the config of my /dev looks like this: lrwxrwxrwx 1 root root 7 gru 30 15:03 serial0

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