Hello, regarding the send commands in Modbus, point 1 described below is originally built-in. Can points 2 and 3 be achieved using custom function codes? How can they be implemented?
1.The original data block is Holding Registers (4x), the read function code is 0x03, and the write command function code is 0x06.
2.Modify it so that the data block remains Holding Registers (4x), the read function code is 0x03, and the write command uses a custom function code of 0x07.
3.Change the data block to Input Registers (3x), the read function code to 0x04, and the write command to a custom function code of 0x06.