Hi, you can use node-red-contrib-modbus' Modbus Server or Modbus Flex Server nodes to do this. What is frequently confusing at first is that you need to use the Modbus write nodes to set register values (can't do it directly). You can inject to the server nodes to make them dump the registers so that you can read them, but to set register values you have to use the write nodes (TCP client nodes).
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Send data using modbus tcp protocol from node-red to a PLC | 21 | 2201 | 1 July 2022 | |
| Modbus TCP using Node-Red | 3 | 707 | 28 May 2021 | |
| Cannot Read Modbus TCP Data From Node-Red | 11 | 395 | 23 April 2025 | |
| Questions about Modbus - UI controls and forwarding signals? | 17 | 496 | 24 April 2023 | |
| Modbus tcp server | 1 | 297 | 8 May 2021 |