The only way is to multiply it and send as an integer and then divide on the robot side. That’s the same way UR does stuff such as joint angles in modbus. They send the angle in milliradians and then you need to divide by 1000 to convert to radians for consume them.
Just need to decide what your precision can be since the integer is limited in modbus.
If you’re using a PLC can you use Ethernet IP or Profinet instead? Then you have float registers you can write to
Let's say there's an encoder and PLC (for example) calculates distance the encoder moved.
The calculated distance is transmitted using MODBUS. Is it possible to UR to get the integer/float distance value using MODBUS?
Thank you