This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Combine Modbus High Byte and Low Byte
#1
Hi,
We are trying to read a float 4 byte temperature point from a modbus tcp device. We can read via other modbus plc's like 32, 11 degree. 
But when we use LM we are getting high byte and low byte from different registers. Our temperature registers are 0 , 2, 4. But we are getting values from both 0 and 1. 
Example :
Register 0 : 16896
Register 1 : 30915
We realized that those are high and low byte of our  4 byte point. If we combine them as a float manually in excel, it's : 3,2117931E+01 and that is our temperature.

In our profile , point type float32 and point type register.

What we can do ? How we can read as a single point ?

Regards,
Reply


Messages In This Thread
Combine Modbus High Byte and Low Byte - by savaskorkmaz - 07.10.2020, 06:33

Forum Jump: