Output not switching off

Discussion and support for MoTeC Power Distribution Modules

Output not switching off

Postby Scott Poxon on Tue Aug 15, 2023 12:31 am

Hi All,

New to this forum and MoTec generally, just in the process of commissioning my PDM's and have run into an odd behaviour I hope some one can help with?

This issue is with my Indicators:
2 x 8A outputs used - RH & LH each running 3 bulbs
3 x Inputs used - 1 LH Switch, 1 RH switch, 1 Hazard warning switch

Config is simple:
Flash (RH Switch = true, true time=0.44s False time=0.34s)
OR
Flash (Hazard Switch = true, true time=0.44s False time=0.34s)

Left hand duplicates this but references LH switch in the first statement.

The Issue:
When I activate the indicator switches each sides behaves as you would expect.
When I activate the Hazard warning switch the RH indicators flash but the LH comes on permanently (actually it dims slightly in time with the flash condition)
When I deactivate the Hazard warning the RH side switches off but the LH stays lit.
If I check PDM Monitor, it shows the channels to be inactive.

Full disclosure the first time I uploaded the config I had missed the Flash command on the LH Hazard condition. this makes me think some how the code has got corrupted and somehow embedded?

Thanks in advance.

Scott
Scott Poxon
 
Posts: 6
Joined: Fri Aug 11, 2023 8:15 pm

Re: Output not switching off

Postby Stephen Dean on Tue Aug 15, 2023 9:42 am

Hi Scott,

Can you post the configuration thanks.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1721
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Output not switching off

Postby David Ferguson on Tue Aug 15, 2023 3:27 pm

I would put your Hazard FLASH command into a function, and use the output from the function for the output conditions.

This would keep the lights synchronized when the hazards where on.
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1379
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: Output not switching off

Postby Scott Poxon on Tue Aug 15, 2023 4:59 pm

Thanks both, here are the files, I will send both as the inputs are split between two PDM's
Attachments
PDM 30 SER19662 Configuration Full Draft.pdm
This is the configuration with the indicator output and hazard input
(293.14 KiB) Downloaded 2447 times
Scott Poxon
 
Posts: 6
Joined: Fri Aug 11, 2023 8:15 pm

Re: Output not switching off

Postby Scott Poxon on Tue Aug 15, 2023 5:00 pm

2nd configuration
Attachments
PDM 15 SER19043 Configuration Full Draft.pdm
And the file with the Indicator switch inputs
(119.55 KiB) Downloaded 2438 times
Scott Poxon
 
Posts: 6
Joined: Fri Aug 11, 2023 8:15 pm

Re: Output not switching off

Postby Scott Poxon on Wed Aug 16, 2023 12:03 am

UPDATE: I have managed to figure out why the LH indicator was staying on, it was back feed from an alarm channel that hadn't been removed, so was outputting when the ignition was on.

Thanks for all the help, I would appreciate feedback on how to make the Hazards a function, and also how I can do a short flick on the indicators for 3 flashes?
Scott Poxon
 
Posts: 6
Joined: Fri Aug 11, 2023 8:15 pm

Re: Output not switching off

Postby Stephen Dean on Wed Aug 16, 2023 10:32 am

Hi Scott,

Try these settings.
Attachments
PDM 30 SER19662 Configuration Full Draf Modt.pdm
(307.19 KiB) Downloaded 2488 times
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1721
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Output not switching off

Postby Scott Poxon on Wed Aug 16, 2023 6:19 pm

Thanks Stephen, I will take a look.
Scott Poxon
 
Posts: 6
Joined: Fri Aug 11, 2023 8:15 pm

Re: Output not switching off

Postby Scott Poxon on Thu Aug 17, 2023 11:35 pm

Thanks Stephen, wanted to check a couple of details to see if my understanding is correct. Where you set Function.Hazard.Switch as Toggle, is this needed if using the factory latching switch?

If so how would you switch this function off?

If not then is this function needed at all? or would you replace this switch function with the actual switch in Function.Hazard?
Scott Poxon
 
Posts: 6
Joined: Fri Aug 11, 2023 8:15 pm

Re: Output not switching off

Postby Stephen Dean on Fri Aug 18, 2023 10:05 am

Hi Scott,

If you have a physical toggle switch, then you do not need to use the Toggle function in the PDM. Most of the configurations that I work on currently use either CAN keypads or momentary buttons to control functions, so you need to do the toggle functionality in the PDM to get them to work correctly.

You just need to change the Function.Hazard.Switch to use True as the condition, rather than Toggle.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1721
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne


Return to PDM15 PDM16 PDM30 and PDM32

Who is online

Users browsing this forum: No registered users and 0 guests