Ah, now I see the bigger picture. Ideally you should try to do the conversion in ST, but if that gets too hard, maybe a better approach would be to use PSM
instead of the Modbus Slave device driver. Using PSM you can retrieve the value from the slave device using PyModbus in Python. Just beware that PSM uses an older version of PyModbus (2.5.3) that has a different API when compared to the newer one. So just take that in consideration when you're looking for examples and documentation. If fact, here is the documentation specifically for the 2.5.3 version:
https://pymodbus-n.readthedocs.io/en/v2.5.3/source/library/pymodbus.html
Using PyModbus and PSM you can retrieve the value from your slave device in PSM and then convert that to a REAL value. Since PSM cannot access REAL locations, you can do a trick that makes it easier to pass along to the PLC side. Get the integer part and place it in one location, like %IW0, and then get the decimal part and place it at %IW1 (decimal part multiplied by 1000 so it becomes a regular integer). Then, on the PLC side you can simply retrieve %IW0 and IW1, convert them both to REAL, divide %IW1 by 1000, and finally sum them both together. This is a longer process than just using ST to convert the WORDS to REAL, but is definitely simpler to understand.
Perhaps in the end I should look to add a WORDS_TO_REAL conversion block on OpenPLC as many users need that and get confused on how to manually make it happen.