I have another question if you don’t mind.
The RPi (TCP server) is connected to a servo motor and some relay switches. The Pi automates these equipment based on the values it has in some of its holding register addresses.
The question is now the communication line is active and I can read from the holding register, how can I set values in some of the register’s addresses ?