Guidance on configuring PDM 25
Hi there brains trust, I'm converting a car to electric and I want to use the PDM 25 to implement a few safety measures. I'm hoping someone can guide me on how to configure my outputs on a PDM 25 for the following:
I want to ensure that the High Voltage system can't be activated unless the driver has their foot on the brake pedal.
I want to ensure that the driver cannot select forward or reverse unless they have their foot on the brake pedal.
I've tried using an AND function where HV out can't be triggered unless the HV switch has been on and the brake pedal is also pressed, but when the brake pedal stops being pressed, the HV system shuts down. I looked at counters and general functions, but could not work it out. Sadly the user manual gives no example that would help.
Has anyone found a way to do this? Or a more detailed tutorial on programming the PDM 25?
Hi,
You could possible set a counter which has an increment logic of
Input x (hv switch) status AND input y (brake) status.
Then use that counter status in your output logic.
Reset can be when the counter gets to 2, or via some other means. If you can post your config file that would be awesome