Programmable On/Off Outputs- FuelCons

General support questions and announcements for MS3. See also MS3 manuals.

Moderators: jsmcortina, muythaibxr

Post Reply
sedd
Experienced MS/Extra'er
Posts: 307
Joined: Sun Sep 18, 2011 5:55 pm

Programmable On/Off Outputs- FuelCons

Post by sedd »

Is the FuelCons listed as an Output Channel in Programmable On/Off Outputs the same as Fuel Consumption shown in the MegaLog Viewer? MegaLog viewer shows this as gallons per hour (GPH). Can I assume the values in programmable settings are also GPH?
1970 Chevelle, 540 big block, AFR heads, headers, mild cam
MS3 release 1.4.0, sequential fuel, LS2 coil per plug
Tuner Studio MS V3.0.05
sedd
Experienced MS/Extra'er
Posts: 307
Joined: Sun Sep 18, 2011 5:55 pm

Re: Programmable On/Off Outputs- FuelCons

Post by sedd »

I never did get a response on this one.

I set the sampling rate for the CC/MIN fuelflow at 100 milliseconds (ms) using special options screen under Can-bus testmodes drop down. I used portp megalog data to tell when the output was active. I used the output port named fuelflow on the programmable output selection.

Using the megalog viewer it appears the fuelflow selection I used triggers this programmable output with close response to the fuel flows and pulse width.
1970 Chevelle, 540 big block, AFR heads, headers, mild cam
MS3 release 1.4.0, sequential fuel, LS2 coil per plug
Tuner Studio MS V3.0.05
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Programmable On/Off Outputs- FuelCons

Post by jsmcortina »

sedd wrote:I never did get a response on this one.
Did you check the manual?

The available realtime data and logged fields are listing in the Datalogging section of the TunerStudio Reference Manual.

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".
sedd
Experienced MS/Extra'er
Posts: 307
Joined: Sun Sep 18, 2011 5:55 pm

Re: Programmable On/Off Outputs- FuelCons

Post by sedd »

I have Megasquirt3_TunerStudio_MS_Lite_Reference-1.4. I looked in that, and will look again.

I am using the full version of tuner studio. Is there another full version manual I need to get?
1970 Chevelle, 540 big block, AFR heads, headers, mild cam
MS3 release 1.4.0, sequential fuel, LS2 coil per plug
Tuner Studio MS V3.0.05
slow_hemi6
Super MS/Extra'er
Posts: 4122
Joined: Fri May 07, 2004 3:33 am
Location: Australia

Re: Programmable On/Off Outputs- FuelCons

Post by slow_hemi6 »

From here? http://www.msextra.com/doc/pdf/html/Meg ... .4-50.html
Fuelcons is not listed, as such.
Last edited by slow_hemi6 on Mon Mar 07, 2016 8:02 pm, edited 1 time in total.
Find the Manuals up top under Quick links: Manuals. :RTFM:
Cheers Luke
sedd
Experienced MS/Extra'er
Posts: 307
Joined: Sun Sep 18, 2011 5:55 pm

Re: Programmable On/Off Outputs- FuelCons

Post by sedd »

OK, I must be missing something? Could you note the page number that shows the info?

I looked again and only see Fuel flow cc/min listed in the manual I have and you have posted. Page 53 of 335 in the manual I have.

My Megalog shows data for Fuel flow cc/min, and also Fuel Consumption plus Fuel Flow. So there are 3 fuel flows in MegaLog and all provide data.
1970 Chevelle, 540 big block, AFR heads, headers, mild cam
MS3 release 1.4.0, sequential fuel, LS2 coil per plug
Tuner Studio MS V3.0.05
slow_hemi6
Super MS/Extra'er
Posts: 4122
Joined: Fri May 07, 2004 3:33 am
Location: Australia

Re: Programmable On/Off Outputs- FuelCons

Post by slow_hemi6 »

Yeah I don't know. I can't see Fuelcons either. So unless it already knows whether you are l/100 or MpgUS or MpgUK from Gauge Setting and Limits tab. But those are not output channels.
Find the Manuals up top under Quick links: Manuals. :RTFM:
Cheers Luke
slow_hemi6
Super MS/Extra'er
Posts: 4122
Joined: Fri May 07, 2004 3:33 am
Location: Australia

Re: Programmable On/Off Outputs- FuelCons

Post by slow_hemi6 »

sedd wrote: My Megalog shows data for Fuel flow cc/min, and also Fuel Consumption plus Fuel Flow. So there are 3 fuel flows in MegaLog and all provide data.
All of those would be calculated from your injector data, PW and time. For traditional fuel consumption l/100km or MPG you need a speed input. Thats still not really helping you out with what the fuelcons output channels value is. Might have a look in the ini file.
Find the Manuals up top under Quick links: Manuals. :RTFM:
Cheers Luke
slow_hemi6
Super MS/Extra'er
Posts: 4122
Joined: Fri May 07, 2004 3:33 am
Location: Australia

Re: Programmable On/Off Outputs- FuelCons

Post by slow_hemi6 »

Code: Select all

fuelflow         = scalar, U16,  220, "cc/min",   1, 0.0 
fuelcons         = scalar, U16,  222, "l/km",   1, 0.0
Looks like it is native l/km

Code: Select all

; calculate instantaneous economy from fuel flow (not calculated in firmware at this time)
    economy_l_km = { vss1_ms_1 ? (fuelflow / (vss1_ms_1 * 60)) : 0 }
;    economy_mpg_us  = { (1 / economy_l_km) * 3.800 / 1.609344 }
    economy_mpg_us  = { vss1_ms_1 ? (2.361 / economy_l_km) : 0 }
    economy_mpg_uk  = { vss1_ms_1 ? (2.825 / economy_l_km) : 0 }
    economy_l_100km = { economy_l_km * 100 }
Find the Manuals up top under Quick links: Manuals. :RTFM:
Cheers Luke
sedd
Experienced MS/Extra'er
Posts: 307
Joined: Sun Sep 18, 2011 5:55 pm

Re: Programmable On/Off Outputs- FuelCons

Post by sedd »

I have not had time to learn how to read the code. You guys are impressive to do all of this! Is this code in the section on the programmable outputs?

If I understand what you have shown, It looks like fuelflow is the one to use.

As you have noted the other fuelcons is based on speed and not what I want.

many thanks.
1970 Chevelle, 540 big block, AFR heads, headers, mild cam
MS3 release 1.4.0, sequential fuel, LS2 coil per plug
Tuner Studio MS V3.0.05
slow_hemi6
Super MS/Extra'er
Posts: 4122
Joined: Fri May 07, 2004 3:33 am
Location: Australia

Re: Programmable On/Off Outputs- FuelCons

Post by slow_hemi6 »

That is taken from the ms3 ini file. It is the file that configures tuner studio to work with a MS3. That first part is taken from the Output Channels section. The part in inverted comas is what the value is.
The second part is further in the ini but shows how the l/100, MpgUS and MpgUK are derived. They are translations. You can see that without a vss those do not work.
Find the Manuals up top under Quick links: Manuals. :RTFM:
Cheers Luke
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Programmable On/Off Outputs- FuelCons

Post by jsmcortina »

The TunerStudio Reference manual (written by me) in the main covers the settings and features related to the firmware. In addition TunerStudio provides other internal calculated fields, but I don't know much about them so they aren't documented. Likewise the "upgrade" features aren't documented. I'm not sure if there are plans from the authors to provide any additional documentation.

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".
Post Reply