Moderators: daxtojeiro, muythaibxr, jsmcortina





gslender wrote:OMGthe ego control seems to be only applying to PW1 and (therefore PW3 for seq inj) in which case it isn't working on the PW2 (& PW4) side of things!!??
outpc.egocor1 = egocor_100[0] / 100L;
if (flash4.dual_tble_optn) {
egocor_100[1] += ego2step;
if (egocor_100[1] > (100000 + ltmp)) {
egocor_100[1] = 100000 + ltmp;
} else if (egocor_100[1] < (100000 - ltmp)) {
egocor_100[1] = 100000 - ltmp;
}
outpc.egocor2 = egocor_100[1] / 100L;
}
/// this code below needs to be added to fix it
else outpc.egocor2 = outpc.egocor1;

outpc.egocor1 = outpc.egocor[0];
if ((ram4.EgoOption & 0x03) && (ram4.egonum > 1)) {
outpc.egocor2 = outpc.egocor[1];
} else {
outpc.egocor2 = outpc.egocor1;
}
jsmcortina wrote:Please post an MSQ.
I just tried this on the bench and with the settings I'm using I don't see a problem? (All four PW follow each other.)
James

lsum1 = (lsum * ((outpc.egocor1 * lsum2) / local_div)/100);
lsum1 = lsum1 * ((outpc.vecurr1 * (long)flash4.ReqFuel)/ 10000); // .01 usec
if (((flash8.seq_inj & 0x03) == 3) && (seq_inj_ctrl & SEQ_HYBRID)) {
lsum1 *= 2; // double the reqfuel do to the single pulse
}
lsum2 = (lsum * ((outpc.egocor2 * lsum2) / local_div)/100);
lsum2 = lsum2 * ((outpc.vecurr2 * (long)flash4.ReqFuel)/ 10000); // .01 usec
jsmcortina wrote:Yes, but normally egocorr2 = egocorr1
You do need to post an MSQ because only certain conditions highlight this.
I'm seeing it now - it happens if PID EGO, but not with "simple" which is how I tested.
James

jsmcortina wrote:Yes, but normally egocorr2 = egocorr1
You do need to post an MSQ because only certain conditions highlight this.
I'm seeing it now - it happens if PID EGO, but not with "simple" which is how I tested.
James
Return to MS2/Extra Development
Users browsing this forum: boofhead and 0 guests