Jump to content

CAN Messaging for generic display


Laminar

Recommended Posts

I have a generic display that I'm fooling around with to see if the Link can send it some data.

Messages look like this:

image.png.a510c84ff4ae66d99212beb731284a99.png

From the data byte, I know that:

2B is common to every message sent

05 is the element ID on the page

20 is common to every message sent

07 is common to every message sent

14 00 is the value for the gauge to display. If the data is AB CD hex then the decimal number is (CD in decimal)*256 + (AB in decimal)

ie 14 00 = 20, F7 02 = 759, etc.

Is this doable?

Link to comment
Share on other sites

If my brain isn't twisted around that's just Little Endian (LS First, Least significant bit first)  for byte 4/5.

What I do is create a math block for a base line zero, then use the offset (in decimal) for each byte to equal the hex i wanna send for static values.

What value are you trying to send it on byte 4/5?

image.png.a0383eea53f9c467b6f66eaa7de0c81e.png

 image.png.64ade0c7fa51e45fe6a1fe72aa5d7a23.png

Link to comment
Share on other sites

Guilty Garages set up would achieve what you want.  Just the start position for "MAP" or whatever you are sending to the gauge should be 39 rather than the 55 shown.  

The other way to do a constant rather than the mathblock is just to use any parameter, set the multi to 0 and offset to the static value you want.  

Link to comment
Share on other sites

Awesome, thanks guys. I was able to set up that configuration and it's still not talking, I need to ping the manufacturer and make sure I have the right ID and baud rate. And I should probably actually pick up the correct programmer for the screen so I can configure it.

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.

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