Results 1 to 7 of 7

Thread: PID Creation Help

  1. #1
    Junior Member
    Join Date
    Nov 2005
    Posts
    18

    Default PID Creation Help

    I must be doing something wrong but I cant get both of my calculated pids to work. I have the wideband working but I cant get the fuel pressure pid to show up. Here is my code any help is greatly appreciated.


    # ================================================== ============================
    # File details
    # ------------
    #
    # This section defines various details about the file format.
    *FILE
    #Parameter Value Description
    #---------- ---------------- ---------------------------------------------------
    VERSION 7.1.1 File version
    DECSEP . Decimal separator used in this file

    # ================================================== ============================
    # Units
    # -------------------
    # See sae_generic.txt for more information on the *UNITS section
    *UNITS
    #Code System Abbr Description
    #-------- ---------- -------- -------------------------------------------------------------
    AFR None AFR "Air Fuel Ratio"

    # ================================================== ============================
    # Add slot definitions here
    # --------------------------------
    # See sae_generic.txt for more information on "SLOT" formats
    #
    #Units Low High Fmt Expression
    #------------ ------------- ------------- ---- --------------------------------------------------------------
    *CLC-00-001
    AFR 10.0 18.0 .1 {EXT.AD1}*1.6+10
    # ================================================== ============================
    *PRN - Parameter Reference Numbers
    # --------------------------------
    # See sae_generic.txt for more information on the *PRN section
    #
    #Code PRN SLOT Units System Description
    #------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------
    CALC.AFR_WBC F001 CLC-00-001 AFR Fuel "Wide Band AFR"
    # ================================================== ============================
    # File details
    # ------------
    # This section defines various details about the file format.
    *FILE
    #Parameter Value Description
    #---------- ---------------- ---------------------------------------------------
    VERSION 7.1.1 File version
    DECSEP . Decimal separator used in this file
    # ================================================== ============================
    # Units
    # -------------------
    *UNITS
    #Code System Abbr Description
    #-------- ---------- -------- --------------------------------------------------
    psi Imperial PSI "Pounds Per Square Inch"
    # ================================================== ============================
    # Add slot definitions here
    # --------------------------------
    #Units Low High Fmt Expression
    #------------ ------------- ------------- ---- ---------------------------------
    *CLC-00-002
    psi 0.00 100.00 .2 "({EXT.AD2}*25)-12.5"
    # ================================================== ============================
    *PRN - Parameter Reference Numbers
    # --------------------------------
    #Code PRN SLOT Units System Description
    #------------- ---- ------------ ------------ ------------ ---------------------
    CALC.FP F002 CLC-00-002 psi Fuel "Fuel Pressure"


    The pid doesnt show up in the list of pids. I'm sure that there is something I'm missing I'm just not sure what it is.

    Thanks

    Tom

  2. #2
    EFILive Crew Site Admin Tordne's Avatar
    Join Date
    Oct 2004
    Posts
    3,870

    Default

    Is that all one file you posted cause it has duplicated sections.
    Andrew
    EFILive Crew


  3. #3
    Junior Member
    Join Date
    Nov 2005
    Posts
    18

    Default

    I think I fixed it. Here it is my revised code in case anyone else has the same problem. I'll test it tonight to make sure but the pid is there now.


    # ================================================== ============================
    # File details
    # ------------
    #
    # This section defines various details about the file format.
    *FILE
    #Parameter Value Description
    #---------- ---------------- ---------------------------------------------------
    VERSION 7.1.1 File version
    DECSEP . Decimal separator used in this file

    # ================================================== ============================
    # Units
    # -------------------
    # See sae_generic.txt for more information on the *UNITS section
    *UNITS
    #Code System Abbr Description
    #-------- ---------- -------- -------------------------------------------------------------
    AFR None AFR "Air Fuel Ratio"
    psi Imperial PSI "Pounds Per Square Inch"
    # ================================================== ============================
    # Add slot definitions here
    # --------------------------------
    # See sae_generic.txt for more information on "SLOT" formats
    #
    #Units Low High Fmt Expression
    #------------ ------------- ------------- ---- --------------------------------------------------------------
    *CLC-00-001
    AFR 10.0 18.0 .1 {EXT.AD1}*1.6+10
    *CLC-00-002
    psi 0.00 100.00 .2 "({EXT.AD2}*25)-12.5"
    # ================================================== ============================
    *PRN - Parameter Reference Numbers
    # --------------------------------
    # See sae_generic.txt for more information on the *PRN section
    #
    #Code PRN SLOT Units System Description
    #------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------
    CALC.AFR_WBC F001 CLC-00-001 AFR Fuel "Wide Band AFR"
    CALC.FP F002 CLC-00-002 psi Fuel "Fuel Pressure"

  4. #4
    Junior Member
    Join Date
    Nov 2005
    Posts
    18

    Default

    Quote Originally Posted by Tordne
    Is that all one file you posted cause it has duplicated sections.
    I think that was my problem. I'm still kind of new to this.

  5. #5
    EFILive Crew Site Admin Tordne's Avatar
    Join Date
    Oct 2004
    Posts
    3,870

    Default

    Thats looks better, not duplicated sections
    Andrew
    EFILive Crew


  6. #6
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    psi units are already pre-defined for you...

    if your definition of psi units causes a conflict or error message, you may want to delete that one line.

    Otherwise should all be fine as Andrew said.

  7. #7
    Junior Member
    Join Date
    Nov 2005
    Posts
    18

    Default

    Thanks guys. The only issue I have is the when the voltage is moving around alot when I monitor the pid but the input into the ext.ad2 is steady. I have a swing of about 5 psi or around .15 volts up or down while the pressure is steady and the input is steady. Any ideas? My situation is similar to the one in this post. http://forum.efilive.com/showpost.ph...6&postcount=46

Similar Threads

  1. Macro Creation
    By rebel7777 in forum Duramax LLY
    Replies: 7
    Last Post: January 21st, 2010, 05:50 AM
  2. Pid Creation / Calculated pids
    By Gelf VXR in forum General (Petrol, Gas, Ethanol)
    Replies: 19
    Last Post: June 26th, 2008, 03:19 AM
  3. PID creation Non-Linear
    By Naf in forum General
    Replies: 20
    Last Post: March 15th, 2007, 06:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •