Below are the supported function codes for reading Modbus registers:
- 01: Read Coil type registers
- 03: Read Holding type registers
- 04: Read Input type registers
Below are the supported function codes for writing to Modbus registers:
- 05: Write single Coil
- 06: Write single register
- 15: Write multiple coils
- 16: Write multiple registers