dafontem Posted January 5, 2018 Report Share 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. Quote Link to comment Share on other sites More sharing options...
Ofir Posted January 23, 2018 Report Share 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: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.