tempo Posted December 7, 2016 Report Share Posted December 7, 2016 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! Quote Link to comment Share on other sites More sharing options...
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.