Ignition switch

Discussion and support for MoTeC's previous generation ECUs.

Ignition switch

Postby larsendk on Fri Mar 18, 2022 6:29 pm

Is it possible to receive the ignition switch signal over CAN from the PDM ?
We have a 2 step ignition counter in the PDM.
Just like a normal car.
We are using step 1 to ensure oilpress before we start the engine.
And step 2 to power ignition coil, injectors, and for now the fuel pump.
The power to the ECU is always on, and I want to control the fuel pump from the ECU aux output over CAN as well.
To prime the fuel when entering step 2, and to ensure the pump stops if the engine does.

BR. Brian
larsendk
 
Posts: 11
Joined: Wed Nov 10, 2021 12:13 am

Re: Ignition switch

Postby David Ferguson on Sat Mar 19, 2022 10:35 am

I think you can do this. First use Adjust->General Setup->Communications->CAN Setup to setup CAN x Data (where x is >=1) for "4: ADL Receive". Then choose an CAN Address that the PDM will send the data (note the value id Decimal in the Mx000 and Hex in the PDM you might use 1312/0x520). On the PDM send the ignition state to that CAN address in Byte 0.

Using Adjust->Digital Inputs Functions->Sw In 3, set the function to be 8 (Ignition Switch), Set Setup->Source to be 3 (MoTeC ADL), Setup->Channel to 1 (first byte I believe).

You might need to play around with the scaling of the value to send from the PDM, this should give you an idea of how you would do this.

Good Luck!
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1394
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: Ignition switch

Postby larsendk on Wed Mar 23, 2022 6:37 pm

Thanks David

Of cause the SW input, and not the Digi input.

Stupid Larsen :D :D :D
larsendk
 
Posts: 11
Joined: Wed Nov 10, 2021 12:13 am


Return to M400, M600, M800 and M880 ECUs

Who is online

Users browsing this forum: No registered users and 8 guests