But Modbus is a communication protocol. The register belongs to a specific hardware PLC.
What PLC do you use?
For example here at the bottom of page is mentioned under Modbus function codes - Data Access 16bit, but then in Implementing is mentioned also floating and integer 32bit: https://en.wikipedia.org/wiki/Modbus
websss
ASKER
Thanks
I know about modbus and hardware
I'm create my own modbus simulated hardware... I won't bother going in why, but I need it
Thank you for the points and in the same time I hope my answer helps you and does not confuse you.
In microcontrollers for example, you may have data as float or 16bit integer, but the hardware registers, the memory cell, can be only 8bit. Then for one float or long or unsigned int we need more than 8 bits and it uses more memory locations.
The idea is that for Modbus you have 16bit registers, but also 32bit data, integer or float.
What PLC do you use?
For example here at the bottom of page is mentioned under Modbus function codes - Data Access 16bit, but then in Implementing is mentioned also floating and integer 32bit:
https://en.wikipedia.org/wiki/Modbus