How to receive CAN data word larger than 4 bytes

Advanced Central Logging System including Versatile Input Modules

How to receive CAN data word larger than 4 bytes

Postby oz_olly on Sat Mar 24, 2012 7:43 pm


I have been setting up a custom CAN template for an INSGPS device. The lattitude and longitude are each 6 byte singed integers, 1 count=180/2^39 degrees. The ACL will not allow me to receive a word longer than 4 bytes. I have looked for a concatenate function within both the ACL manager and i2 Pro but can't find one. I am thinking I will have to write a custom function or plug in to concatenate and then apply the scaling. My plan would be to receive the 6 byte word as qty 3, 2 byte unsigned words. I would then have my plugin convert the numbers back to binary and concatenate the the words together then convert to decimal and scale to give the ouput as a channel.

Has anyone had experience with this, if not does my approach sound sensible and feasible. I am not very familiar with VB but I work with some data acquisition software engineers who may be able to help me write the script.


Posts: 3
Joined: Mon Sep 01, 2008 9:57 pm

Re: How to receive CAN data word larger than 4 bytes

Postby Hugh on Fri Apr 06, 2012 12:10 am


It might not be exactly the same problem, but on this thread there is a discussion on how to get the long GPS word into the original ADL dash.

The answer was to break the GPS words down into degrees minutes and seconds then recombine.

Somewhere about reply 6 the interesting reading starts.


Posts: 21
Joined: Thu Jul 10, 2008 9:34 pm

Return to ACL and VIM

Who is online

Users browsing this forum: No registered users and 1 guest