PDA

View Full Version : {B4105} how do i link this table?



mr.prick
May 23rd, 2008, 11:22 AM
there doesn`t seem to be any PIDs associated with this table.
i am trying to make changes to my cal_link to update it with RTACS,
to rid myself of the slight richness i get in closed loop.

joecar
May 23rd, 2008, 02:01 PM
First off, in cal_link.txt for B4107, it appears you should replace GM.DYNCYLAIR_DMA with GM.DYNAIR or GM.MAF or SAE.MAF since the units should be g/s and not g/cyl:

B4107.ROW=GM.DYNAIR,CALC.CYLAIR
Then, take the values of B4107 and using the lookup() function make a calc pid that maps GM.DYNAIR to CALC.CLMODE (you can stop where the CL mode levels out at 64...):


*CLC-00-200
None 0 64 0.0 "lookup({GM.DYNAIR}, 0,0, 4,4, 8,12, 12,30, 16,36, 20,40, 24,44, 28,50, 32,54, 36,64)"

...

CALC.CLMODE F200 CLC-00-200 None Loop "Closed Loop Mode"
And then CALC.CLMODE becomes the link to B4105:


; O2 switch point
B4105.ROW=CALC.CLMODE

The lookup() function is explained in the scantool user manual.

mr.prick
May 24th, 2008, 03:22 AM
:jump:
:thankyou2:

JezzaB
May 24th, 2008, 09:06 PM
Thanks alot joe. I was thinking it would be great to have fuctions for use in calculated PIDs and was going to ask. This is great, page 94 of the manual. Very cool

:rockon:

Jez

mr.prick
June 7th, 2008, 07:17 PM
i have been looking into this and,
i have found that i can not set the look up value exactly the same as {B4107}
if you keep going so far an error will occur.
this
*CLC-00-200
None 0 64 0.0 "lookup({GM.DYNAIR}, 0,0, 4,4, 8,12, 12,30, 16,36, 20,40, 24,44, 28,50, 32,54, 36,64)"
is not how {B4107} is in my OS.
is there a limit to the text that can be inserted into the calc.pids.text?
or should i change {B4107}.
also this only tracks up and down, how do i track bank1 and bank2?

mr.prick
July 5th, 2008, 02:34 AM
i have been looking into this and,
i have found that i can not set the look up value exactly the same as {B4107}
if you keep going so far an error will occur.
this
*CLC-00-200
None 0 64 0.0 "lookup({GM.DYNAIR}, 0,0, 4,4, 8,12, 12,30, 16,36, 20,40, 24,44, 28,50, 32,54, 36,64)"
is not how {B4107} is in my OS.
is there a limit to the text that can be inserted into the calc.pids.text?
or should i change {B4107}.
also this only tracks up and down, how do i track bank1 and bank2?

i get this.......

Closed Loop Mode {CALC.CLMODE}

Expression:
= lookup({GM.DYNAIR}, 0,0, 4,4, 8,12, 12,30, 16,36, 20,40, 24,44, 28,50, 32,54, 36,54 40,54 44,54 48,54 53,54 56,56 60,64)
is NOT valid because:
Syntax error: "4", position 86.

PID value cannot be determined because
the following error would occur:
Expression not valid: Syntax error: "4", position 86.

.........when i match the "look up" values to what the table shows.

how do i match it properly?
is the calc.pid string value limited?
is this why the error occurs?

ds8
July 5th, 2008, 04:31 AM
Try adding in the appropriate commas. you started leaving them out.

mr.prick
July 5th, 2008, 05:20 AM
Try adding in the appropriate commas. you started leaving them out.

LOL :doh2:
thanks.