Jump to content

UniStream byte order


Vidmas30

Recommended Posts

Hi all,

 I use US5-B10-TR22 to read data from Modbus slaves. Technical documentation of slaves gives such information (see attached picture). Could someone tell if in US5 is the same byte order (didn't find that information). As for now everything looks OK, but I'm afraid that there could be a problem when there will be large numbers accumulated. Thank you in advance.

Byte order.png

Link to comment
Share on other sites

  • MVP 2023

What you've shown here is the standard Modbus definition for regular 16 bit integers.  This is old school Modbus for Unitronics and the US5 will be fine.  What it doesn't say is whether the return data is signed or unsigned.  In other words, is the maximum value 32,767 or 65,535. 

Do you have an idea of the magnitude of the data the slaves will return?

Joe T.  

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.