Some BMS controllers can only read Modbus Holding Registers, so the MelcoBEMS MINI (A1M) also exposes all Discrete, Coil and Input Registers as Holding Registers.
The Discrete Input registers and Input registers are not writable so their equivalent Holding Register is read only and marked [READ ONLY].
Some BMS controllers may not be able to read signed register values (i.e. values which can be negative in value), so the A1M also exposes an unsigned version of those
registers (these registers will not return a negative value).
12.1.
Holding registers
Holding Registers are read using function code 03 and written to using either function code 06 or 16. Function code 06 is used when writing to a single holding register,
function code 16 is used for writing to multiple holding registers in the same command.