programable outputs qeustion

All questions about MS2/Microsquirt/Microsquirt module. See also MS2/Extra manuals

Moderators: jsmcortina, muythaibxr

programable outputs qeustion

Postby nathanhardy » Sun May 20, 2012 10:38 pm

I noticed today that the two programable outputs that i have on the car witch are shift light and an IC water sprayer work but don't work the why i'd understand them to work, i set the shift light to come on when rpm>6500 and tps>30 i noticed that it comes on when it just meets one of those setting and not both like i would think the (and) would make them both need to be met??

Its not a big deal to me but wanted to see if it me or something else!
nathanhardy
Experienced MS/Extra'er
 
Posts: 323
Joined: Sat Mar 17, 2012 10:13 pm

Re: programable outputs qeustion

Postby jsmcortina » Mon May 21, 2012 3:37 am

Post your MSQ.
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27919
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: programable outputs qeustion

Postby nathanhardy » Mon May 21, 2012 8:52 am

jsmcortina wrote:Post your MSQ.


Here you go! Thanks James, i hope i didn't find something broken in the firmware i dont want to make u work harder than you have too :D
nathanhardy
Experienced MS/Extra'er
 
Posts: 323
Joined: Sat Mar 17, 2012 10:13 pm

Re: programable outputs qeustion

Postby Matt Cramer » Mon May 21, 2012 9:25 am

nathanhardy wrote:i set the shift light to come on when rpm>6500 and tps>30


The MSQ is the opposite: You have set it to come on when RPM < 6500 and TPS < 50. However, the "Trigger Value" is zero - so that means turn the output off when these criteria are met, and on whenever they aren't.
Matt Cramer
Super MS/Extra'er
 
Posts: 8980
Joined: Thu Apr 16, 2009 8:08 pm

Re: programable outputs qeustion

Postby jsmcortina » Mon May 21, 2012 10:10 am

I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27919
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: programable outputs qeustion

Postby nathanhardy » Mon May 21, 2012 9:33 pm

So from what I read it seems that I need to have my trigger value set to 1??? My outputs work just not the and part.. So if I'm sitting in my drive and push the pedal past 50 engine off it turns the shift light on or if I rev past 6500 it comes on but the way I have it set it should only come on if both are met..
nathanhardy
Experienced MS/Extra'er
 
Posts: 323
Joined: Sat Mar 17, 2012 10:13 pm

Re: programable outputs qeustion

Postby jsmcortina » Tue May 22, 2012 3:51 am

You need to use a trigger of "1" and use ">" (greater than) for the conditions.

Presently you are using negative logic, in that case the "and" works like "or"
i.e."if rpm is LESS THAN your set point AND tps is LESS THAN than set point then turn light OFF."
That is the same as "if rpm is greater than your set point OR tps is greater than set point then turn light on."

What you actually want is
"if rpm is GREATER THAN your set point AND tps is GREATER THAN set point then turn light ON."

I'm not sure why you need the TPS element though.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 27919
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: programable outputs qeustion

Postby nathanhardy » Tue May 22, 2012 5:06 pm

I'm not sure why you need the TPS element though.


my CEL is my shift light just dont want the lady's getting scared if they see the light come on... like on a date or something!!!!!


Thanks for the clearing that up!!!
nathanhardy
Experienced MS/Extra'er
 
Posts: 323
Joined: Sat Mar 17, 2012 10:13 pm


Return to MS2/Extra, MS2, Microsquirt and Microsquirt module support

Who is online

Users browsing this forum: No registered users and 3 guests