Page 1 of 1

Ignition switch

PostPosted: Fri Mar 18, 2022 6:29 pm
by larsendk
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

Re: Ignition switch

PostPosted: Sat Mar 19, 2022 10:35 am
by David Ferguson
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!

Re: Ignition switch

PostPosted: Wed Mar 23, 2022 6:37 pm
by larsendk
Thanks David

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

Stupid Larsen :D :D :D