I have a very simple, naive question ..
I'm new to using the modbus_tk library so I don't really understand the parameters passed to the read and write commands ..
#
logger.info(master.execute(1, cst.READ_COILS, 0, 10))
I know that "1" refers to the slave address .. and if the "0" refers to the coil's register address, so what does the "10" refer to ??
#
logger.info(master.execute(1, cst.WRITE_SINGLE_COIL, 7, output_value=1))
Does the "7" here refer to the address of the coil's register or to the bit number 7 in a specific register ??
Is there any documentation for this library that describes the parameters and options of each command ?
Thanks in advance ..