Jump to content

CANbus message storing

Recommended Posts


I need to communicate with an external device using CANbus, Layer 2standard.

I have a question regarding the stored values.

The external device sends Unitronics PLC 8 bytes of data. Let's assume the data frame first two bytes are byte 0, (most significant bit) : AA BB  and byte1 CC DD. 

I will store the values in Mi's, starting with Mi0.  How is the data saved? Does the MSB stay as MSB, so that the  MI0 value would be AA BB (43707 in DEC) and MI1 would be CCDD( 52455 in DEC).

Or the outcome would be Mi0= CCDD, Mi1=AABB? 


Thanks in advance!


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...