Abhidada10
Member
Hello,
I am using Omron PLC: NX1P2 Software:-Sysmac Studio Plc in which I have to read data from an energy meter over Modbus RTU
The data that I receive is in 2-word registers
1) 40157:- 4248H
2) 40158:- 7A68H
want to convert this received value into Float/Real in PLC logic i.e. 50.11
Any suggestion or method to do this?
I have tried merging 2 words and converting them into Real by using
Dword_To_LReal but it didn't work it just simply converted those values to integers.
I am using Omron PLC: NX1P2 Software:-Sysmac Studio Plc in which I have to read data from an energy meter over Modbus RTU
The data that I receive is in 2-word registers
1) 40157:- 4248H
2) 40158:- 7A68H
want to convert this received value into Float/Real in PLC logic i.e. 50.11
Any suggestion or method to do this?
I have tried merging 2 words and converting them into Real by using
Dword_To_LReal but it didn't work it just simply converted those values to integers.