Malfunction Indicator Light (MIL)

It's all about the code!
Post Reply
tobsec
Posts: 8
Joined: Thu Feb 02, 2023 10:16 am

Malfunction Indicator Light (MIL)

Post by tobsec »

I'm just wondering, is the MIL actively used in the software showing any issues? I would like to see any abnormal engine conditions but looking at the code I see that setError() in malfunction_central.cpp is not really used anywhere?! Or am I looking on the wrong spot?

What would be nice is the ability to configure conditions of the MIL in TS like turning on the warning light like for e.g. CLT over temperature conditions at a certain temperature, low oil pressure, ETB issues like TPS/PPS errors, etc.

However, the topic is kind of similar to this thread: Limp Home and Engine Protection

I also thought about some own implementation in LUA but currently accessing the MIL output is not possible from LUA as well. The only thing possible in LUA would be using a PWM output setting to 100% from my point of view?

Can someone give any insight on the current MIL concept?
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Malfunction Indicator Light (MIL)

Post by AndreyB »

tobsec wrote:
Mon Jun 26, 2023 12:55 pm
I'm just wondering, is the MIL actively used in the software showing any issues?
Looks like it's not :( I've clarified by https://github.com/rusefi/rusefi/commit/f10f6c6e38dc2152cfe21ca22add7a1ea07656e9
There is also https://github.com/rusefi/rusefi/issues/669
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Post Reply