Speed Limit Request from ADL2 to M880 via CAN

Discussion and support for MoTeC's previous generation ECUs.

Speed Limit Request from ADL2 to M880 via CAN

Postby Robin Poenisch on Tue Apr 17, 2012 6:20 am

Hey,

I tried to send a Speed Limit Request Signal from ADL2 to M880 via CAN. I configured Digital Input Function 1 to receive the signal from ADL on channel 6. But the switch input does not change when I press the button.
For checking if CAN setup works, I configured User Channel 1 to recevie data from ADL 6 and that works perfekt. I can see the value change from 0 to 1 when I press the button.
What else do I need to setup that the Speed Limiter can be controlled by CAN??

thanks
Robin
Robin Poenisch Motorsport
Engineering Services
Electronic Systems

http://www.facebook.com/Poenisch.Motorsport
http://www.poenisch-motorsport.de
Robin Poenisch
 
Posts: 53
Joined: Tue Aug 05, 2008 5:16 pm
Location: Weinstadt/Germany

Re: Speed Limit Request from ADL2 to M880 via CAN

Postby AVR Performance on Thu Apr 19, 2012 8:05 pm

Are you using a Switch/AT input or one of the digital inputs?
User avatar
AVR Performance
 
Posts: 3
Joined: Tue Aug 16, 2011 1:57 pm
Location: Ashburton New Zealand

Re: Speed Limit Request from ADL2 to M880 via CAN

Postby Robin Poenisch on Thu Apr 19, 2012 10:33 pm

Hey,

I'm using an AT-Input which is not physically wired.
Robin Poenisch Motorsport
Engineering Services
Electronic Systems

http://www.facebook.com/Poenisch.Motorsport
http://www.poenisch-motorsport.de
Robin Poenisch
 
Posts: 53
Joined: Tue Aug 05, 2008 5:16 pm
Location: Weinstadt/Germany

Re: Speed Limit Request from ADL2 to M880 via CAN

Postby AVR Performance on Fri Apr 20, 2012 7:42 am

Go to "view", "raw input values", "ADL" to see what the actual values are when the switch is operated (ie the raw values via CAN from the switch connected to the ADL).

Using these values set the "Lo Level" & "High Level" in the switch setup.

You may have to alter the multiplier/deviser values in the ADL CAN template so that the M880 receives suitable values that the Lo level/high level range of settings can work with.
User avatar
AVR Performance
 
Posts: 3
Joined: Tue Aug 16, 2011 1:57 pm
Location: Ashburton New Zealand

Re: Speed Limit Request from ADL2 to M880 via CAN

Postby Robin Poenisch on Fri Apr 20, 2012 10:08 am

okay, thanks for that advise.
but as i wrote, i receive the same CAN channel (just for double checking) in a user channel and there I can see that the M880 receives the correct data.
Robin Poenisch Motorsport
Engineering Services
Electronic Systems

http://www.facebook.com/Poenisch.Motorsport
http://www.poenisch-motorsport.de
Robin Poenisch
 
Posts: 53
Joined: Tue Aug 05, 2008 5:16 pm
Location: Weinstadt/Germany

Re: Speed Limit Request from ADL2 to M880 via CAN

Postby Holmz on Fri Apr 20, 2012 10:27 am

Robin Poenisch wrote:...
I tried to send a Speed Limit Request Signal from ADL2 to M880 via CAN. I configured Digital Input Function 1 to receive the signal from ADL on channel 6. But the switch input does not change when I press the button.


So the switch input does not change in the M880?


Robin Poenisch wrote:...
For checking if CAN setup works, I configured User Channel 1 to recevie data from ADL 6 and that works perfekt. I can see the value change from 0 to 1 when I press the button.
What else do I need to setup that the Speed Limiter can be controlled by CAN??
...


So you can see the switch change in the ADL?


Robin Poenisch wrote:okay, thanks for that advise.
But as I wrote, I receive the same CAN channel (just for double checking) in a user channel and there I can see that the M880 receives the correct data.


So you see the speed as OK in the both the M880 and the ADL, but the binary switch is NOT ok in the M880, but it is OK in the ADL?
User avatar
Holmz
 
Posts: 521
Joined: Fri Dec 19, 2008 6:19 pm
Location: Australia and the USoA

Re: Speed Limit Request from ADL2 to M880 via CAN

Postby Robin Poenisch on Fri Apr 20, 2012 6:26 pm

yes, the button is wired to the ADL and I can see it change in the ADL.
I can also see the button change when I receive the value via CAN in a user channel in the M880.
But i can't see the digital input change in the M880.

And the digital input is configured to receive the same data like the user channel. CAN data comes from ADL on channel 6.

regards
Robin
Robin Poenisch Motorsport
Engineering Services
Electronic Systems

http://www.facebook.com/Poenisch.Motorsport
http://www.poenisch-motorsport.de
Robin Poenisch
 
Posts: 53
Joined: Tue Aug 05, 2008 5:16 pm
Location: Weinstadt/Germany

Re: Speed Limit Request from ADL2 to M880 via CAN

Postby AVR Performance on Fri Apr 20, 2012 8:10 pm

What values to you see in the "raw input values" screen in the M880 when the switch is at rest, and also when the switch is activated?

What is the setting for the "Lo Level" and the setting for the "Hi Level" in the switch setup in the M880?
User avatar
AVR Performance
 
Posts: 3
Joined: Tue Aug 16, 2011 1:57 pm
Location: Ashburton New Zealand

Re: Speed Limit Request from ADL2 to M880 via CAN

Postby Robin Poenisch on Mon Apr 23, 2012 5:40 am

I tried different setups:
- I sent "0" and "1" from ADL and tried different hi/lo setups in M880
- I sent "0" and "10" and tried different hi/lo setups
- I sent "5" and "10" and tried different hi/lo setups

attached find 2 screenshots where you can see the setup, the raw values and the "Sw In 1" state (on the right)
Attachments
02_k.JPG
02_k.JPG (54.19 KiB) Viewed 14605 times
01_k.JPG
01_k.JPG (53.77 KiB) Viewed 14605 times
Robin Poenisch Motorsport
Engineering Services
Electronic Systems

http://www.facebook.com/Poenisch.Motorsport
http://www.poenisch-motorsport.de
Robin Poenisch
 
Posts: 53
Joined: Tue Aug 05, 2008 5:16 pm
Location: Weinstadt/Germany

Re: Speed Limit Request from ADL2 to M880 via CAN

Postby AlanB on Mon Apr 23, 2012 6:12 pm

Hi Robin, if you send the channel from the dash as 0 or 5000 (ie use a 5000 mulitplier on the CAN scaling) you should find it works fine.

The reason you need to do this is that the ECU is expecting a voltage channel to have 3 decimal places, so if you send a channel which goes from 0 to 1, the ECU will think this is 0.000V and 0.001V.

Cheers
Alan Bell
MoTeC Europe Ltd
User avatar
AlanB
 
Posts: 104
Joined: Tue May 20, 2008 11:25 pm

Next

Return to M400, M600, M800 and M880 ECUs

Who is online

Users browsing this forum: No registered users and 24 guests