There is a lot of info around on configuring and datalogging JS4/ADC7 for a variety of sensors (knock/map and temp). The details always refer to ADC7 in the MS ini file. I however can not find in my ini file any reference to adc7 to configure the outputchannels and then datalogging sections. I am using vanilla MS 1.4.1 (MS3 Format 0524.050 )on old MS2 hardware using a MS3 dauhtercard ecu
I am running water injection (Aquamist) by configuring a PWM output channel to the Aquamist ECU...this inturn triggers a PWm valve to spray water. This works fine. Aquamist can send a signal to MS when it detects an error and goes into failsafe mode. I have configured this signal to JS4/ADC7 and used this to tableswitch my Ingition table. This too works fine and my advance table (3) is selected when the JS4 signal is grounded.
I would like to log this event (the status of JS4) so I can log the failsafe condition. or possibly as an alternative the tableswitch trigger triggered by JS4 state change.
Thanks..
Logging JS4/ADC7
Moderators: jsmcortina, muythaibxr
-
- Site Admin
- Posts: 39617
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Logging JS4/ADC7
When used as a digital input, that pin is connected internally to "PORTAD" it doesn't appear to be dataloggable currently.
The tableswitch status is one bit within status1 which is logged. See http://www.msextra.com/doc/pdf/html/Meg ... .4-61.html
James
The tableswitch status is one bit within status1 which is logged. See http://www.msextra.com/doc/pdf/html/Meg ... .4-61.html
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Logging JS4/ADC7
look for 'generic sensor inputs' in the manuals it will show you how to set them up
1990 bmw 320i daily driver with m20b25 ms3 sequential fuel, 380cc injectors, d585 coil near plug, home made cam sync, launch control, fan control, vss, homebrew egt logging what's next????
Re: Logging JS4/ADC7
Thank You!!!!..that has pointed me in the right direction..
Re: Logging JS4/ADC7
Just closing this off.
As per James' detail. status1 contains the bit value for which spark table is being used
indicator = { status1 & 64}, "SPK1/2", "SPK3/4", white, black, green, black
then a custom.ini mod logs this bit value
[OutputChannels]
Tableswitch = { status1 & 0x40 }
[Datalog]
entry = Tableswitch, "Tableswitch-Spark", int, "%d"
As per James' detail. status1 contains the bit value for which spark table is being used
indicator = { status1 & 64}, "SPK1/2", "SPK3/4", white, black, green, black
then a custom.ini mod logs this bit value
[OutputChannels]
Tableswitch = { status1 & 0x40 }
[Datalog]
entry = Tableswitch, "Tableswitch-Spark", int, "%d"