dafontem Posted January 5, 2018 Report Posted January 5, 2018 I am reading values via rs-485, and am correctly reading and displaying these values on the unistream. However, I need to pass these values on to a building management system via Modbus tcp over ethernet. I have no issue communicating with the system, and I believe the system is correctly reading integer values from the unistream. The issue I run into is with real numbers. For one thing I can't seem to find anywhere that says what the default byte order is for real numbers (big endian, little endian) or how to change that, which I believe is at least a large part of the problem. I have been stuck on this problem for over a week so any feedback would be great.
Ofir Posted January 23, 2018 Report Posted January 23, 2018 Hello, If when the system reads the Real number you are not getting the correct value , you can swap the bytes to other register and then link this register to the MODBUS. you can find the swap ladder element in Logic menu:
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now