The AFX gives you Lambda but does the PCM?
You will need Lambda from the PCM to compare to actual Lambda.
This is the PID for Lambda for the AFX.
It's just a matter of converting voltage to a number you want.PHP Code:
#Units Low High Fmt Expression
#------------ ---------- ----------- -------- --------------------------------------------------------------
*CLC-00-027
lambda 0.00 1.60 .3 "({EXT.AD1}*0.096)+0.62"
#Code PRN SLOT Units System Description
#--------------------------------- ----------- ------------------- --------------- -------------------- -----------------------------------
CALC.LAM_NGK1 F027 CLC-00-027 lambda WO2-Analog "Wide Band Lambda 1 - NGK AFX"
If the PCM gives you commanded Lambda you can use that.
If it doesn't you can always make another PID for commanded Lambda (Stoich AFR/Commanded AFR) and
then another for the multiplier (CALC.LAM_NGK1/Commanded Lambda).
If you use AFR then you need to take the Lambda range of the WBO2 & the PCM stoich AFR value to make a new PID.
The Lambda expression is absolute.
i.e. this is the true conversion for data from the AFX.
The AFR expression: ({EXT.AD1}*1.4)+9 is to convert the Lambda output to an AFR value of choice.
Think of it like this
(1+1)=2 true or (1*x)+b=2 choice