Jump to content

CANbus message storing


Recommended Posts

Hello!

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

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.