Modbus configuration problem

Please format code correctly; but if that’s copy-pasted, note that you have slave-count rather than slave_count.