Page 1 of 2

ADL2 to M130 Custom CAN Message (need help)

PostPosted: Wed May 09, 2018 2:40 am
by mr2andy
Hello all,
I have watch the Motec CAN youtube video but somehow I'm still missing something. I'm trying to send a few information from the ADL2 to M130 and keeps running into issue.

Information to be sent from ADL2 to M130
-GPS information
-Switches (Boost Trim and Calibration Trim)
-Wheel speed sensors

Re: ADL2 to M130 Custom CAN Message (need help)

PostPosted: Wed May 09, 2018 2:42 am
by mr2andy
Based on the setting I have in ADL2, in M130 under the front wheel speed sensor input, which CAN message and offsets should I be selecting? ;)

Re: ADL2 to M130 Custom CAN Message (need help)

PostPosted: Wed May 09, 2018 3:10 am
by David Ferguson
The GP Packages don't decode compound messages. You need to be transmitting individual messages with the appropriate address. Now 0x680 is aready in use with the GPS_to_M1 templates (posted on this forum, but I included them below), so for your wheelspeeds, and boost settings, you need to use something different. I chose 0x500 in the files attached to the next posting

Comms template files:
GPS_to_M1_0x680_Version 1.CC7
(8.12 KiB) Downloaded 970 times

GPS_to_M1_0x681_Version 1.CC7
(8.12 KiB) Downloaded 942 times

GPS_to_M1_0x682_Version 1.CC7
(8.12 KiB) Downloaded 968 times

Re: ADL2 to M130 Custom CAN Message (need help)

PostPosted: Wed May 09, 2018 3:12 am
by mr2andy
David,
Is there a documentation out there showing what CAN address has been predefined for the GP package?

Re: ADL2 to M130 Custom CAN Message (need help)

PostPosted: Wed May 09, 2018 3:13 am
by David Ferguson
Here are the templates for your wheelspeeds and boost settings

M1 Transmit Wheelspeeds 0x500.CC7
(8.12 KiB) Downloaded 1001 times

M1 Transmit Boost+Cal 0x501.CC7
(8.12 KiB) Downloaded 978 times

Re: ADL2 to M130 Custom CAN Message (need help)

PostPosted: Wed May 09, 2018 3:14 am
by David Ferguson
mr2andy wrote:David,
Is there a documentation out there showing what CAN address has been predefined for the GP package?


See the help in M1 Tune for "GPS CAN ID Base. In fact, open the Help->Firmware Help... and serach for "CAN ID", then look each of them -- you will see the PDM default is 0x500 (I transmit things from the dash to both the PDM and M1 on the same CAN ID.

Here is a MoTeC document (found under technical information on the motec.com.au website) on various CAN IDs used by their devices:

http://www.motec.com.au/filedownload.php/CTN0015_motec_can_addresses.pdf?docid=4602

Re: ADL2 to M130 Custom CAN Message (need help)

PostPosted: Wed May 09, 2018 3:21 am
by David Ferguson
Now to configure the M1 to receive the data at CAN ID 0x500, you configure the ECU Receive as follows:

M1 Tune CAN Setup.JPG
M1 Tune CAN Setup.JPG (43.69 KiB) Viewed 17326 times


To configure the Wheel Speed Front Left you would use CAN 0 Offset 0 as follows:

M1 Wheelspeed CAN Setup.JPG
M1 Wheelspeed CAN Setup.JPG (35.96 KiB) Viewed 17326 times


Similarly for the others:

Front Right CAN 0 Offset 2
Rear Left CAN 0 Offset 4
Rear Right CAN 0 Offset 6

Boost Trim will be at CAN 1 Offset 0
Calibration Switch CAN 1 Offset 2

Hope that helps.

Re: ADL2 to M130 Custom CAN Message (need help)

PostPosted: Wed May 09, 2018 4:10 am
by mr2andy
Absolutely! I will give it a try when I get home and report back. Thank you very much! :)

Re: ADL2 to M130 Custom CAN Message (need help)

PostPosted: Wed May 09, 2018 4:35 am
by mr2andy
Also.. what confused me is that when I was using the address x0680 fo send the GPS data from ADL2 to M1, within M130 for GPS, I can specified the CAN address so I managed to make it works.

What confused me is that when it comes to the wheel speed, I was expecting to be able to specify the Can address just for wheel speed as well.

Re: ADL2 to M130 Custom CAN Message (need help)

PostPosted: Thu May 10, 2018 2:23 am
by mr2andy
Reporting back.. all is working now. Thanks a bunch David.