Page 1 of 1
M1 to PDM ignition, fuel pump setup sequence

Posted:
Tue Jan 28, 2025 10:12 am
by Islandworks
I'm trying to get a good setup for the "ACC" between the motec can keypad, the PDM30 and the M150.
In have a killswitch that powers the CAN-devices and then 3 levels on the ACC.
0- Nothing
1- Light up dash and ECU
2- Ignition, inhjection on and prime fuel pump
All communication between PDM and ECU is via Can and the same network that has the keypads.
I'm however having an issue with how to setup so the ACC so that the fuel pumps only prime once I'm att ACC 2. As it is now the can message to run the pumps comes from the M150 as soon as the ECU lights up and that is too soon.
I was playing around with the engine run switch but could not get it to run over Can bus from PDM as that is not a button but rather a function in the PDM.
What's the best way to do this following other good examples?
Re: M1 to PDM ignition, fuel pump setup sequence

Posted:
Tue Jan 28, 2025 10:26 am
by Stephen Dean
Hi,
The M1 will send a Prime request for the Fuel Pump when the following conditions are met.
The fuel pump is activated as soon as the engine starts to turn.
Priming commences when the engine run switch is On and Fuel Pump Prime is > 0.
The pump will not run when the engine run switch is Off.
If the Engine Run Switch is defaulted to On (Base setting) then the Fuel Prime will prime each time the M! is powered up.
In my PDM, I have configured the Engine Run Switch from the Keypad Button using a Toggle Function.
Function.Master.On=
toggle(Button.Ignition.Main, edge=rising)
and Switch.Master = true.
This code checks that the Master switch is active and toggles the state of the function with each button press.
I then transmit the state of this Function into the M1 as a Driver Switch to control the Engine Run Switch.
Re: M1 to PDM ignition, fuel pump setup sequence

Posted:
Tue Jan 28, 2025 10:58 am
by Islandworks
Thanks! This would solve my issue.
I had a look at it and will have to figure out how to configure a drivers switch in the M150 to read a can output from the PDM I guess?
Re: M1 to PDM ignition, fuel pump setup sequence

Posted:
Tue Jan 28, 2025 11:14 am
by Stephen Dean
Hi,
If you post the configuration files from the PDM and M1 I can help with that.
Re: M1 to PDM ignition, fuel pump setup sequence

Posted:
Wed Jan 29, 2025 4:30 am
by Islandworks
Both files enclosed.
I'm trying to get the driver switch to be sent from PDM to ECU once master.acc.counter=2. This in turn makes master.acc.state_ignition=true.
I've tried to map engine run switch to driver switch 1, but cannot figure out the CAN -> ECU way of working.
Happy for any help I can get!
Re: M1 to PDM ignition, fuel pump setup sequence

Posted:
Wed Jan 29, 2025 9:58 am
by Stephen Dean
Hi,
I have made some changes to the attached files, can you load them and test them thanks.
I changed the Engine Capacity from 3800 litres to 3.8 litres as well.
Re: M1 to PDM ignition, fuel pump setup sequence

Posted:
Mon Dec 08, 2025 11:04 pm
by Islandworks
I'm still working on the same engine and now wanted to use a second driver switch controlled by the PDM.
What I want to achieve is to control a driver switch in the M1 from the PDM so that that driver switch can drive an auxiliary output in the M1 when activated from the PDM.
I have configured the "generator.start" in the PDM manager as per attached image.
In M1 tune I then do the following as per second image.
Somehow I cannot get this to run and I'm hoping someone here can help.
My end goal with this is to use a H-bridge in the M150 to activate the generator of the car via the PDM after the car has started. If there is a better way of doing this I would be happy to hear so!
Re: M1 to PDM ignition, fuel pump setup sequence

Posted:
Tue Dec 09, 2025 9:46 am
by Stephen Dean
When you look at the voltage signal for Driver Sw 2, does it change its voltage when triggered?