Jump to content

UniStream byte order


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

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...