Results 1 to 4 of 4
  1. #1
    75+ Posting Member
    Join Date
    Jan 2009
    Location
    Austria
    Posts
    120
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    SIOC script for Fuel Temp Servo ?

    Hi guys,

    iam trying to find a sioc script that works for the Servo cards to display the actual Fuel Temperature.
    How can i calculate this?
    I can use the OAT temp to calcualte the fuel temp. But therefore i would need a good formula.
    Any ideas? I think the positive is not the problem. When we have an OAT of 20C the fuel has also 20. But the negative would be the interesting one.
    When i have -40C how cold is the Fuel in the Tank??

    Or if this is too complex, i would go for the first one with the OAT i have figured out the following:
    C(in FS) = varibale $0E8C = variable $0E8C/256 ( variables from FSUIPC Guide)
    75C = 19247 = 50
    60C = 15407 = 40
    30C = 7727 = 30
    20C = 5167 = 20
    10C = 2607 = 10
    0C = 47 = 0
    -10C = 63024 = 246
    -20C = 60464 = 236
    -30C = 57904 = 226
    -60C = 50224 = 196
    -95C = 41264 = 161

    But how i can control the servos, when the values are going from + toward 0C down to 0 and than jumping back up to 63024 and going further down to 41264 ???

    Hopefully you can understand my description...
    Would appreciate any ideas from you.

    Thanks,
    Mark

  2. #2
    75+ Posting Member
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    75
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: SIOC script for Fuel Temp Servo ?

    Marc,
    please sent me a private message as reminder. I will send you my SIOC script for the fuel temperature in a couple of days.

    Rueidger

  3. Thanks markusr thanked for this post
  4. #3
    300+ Forum Addict



    Join Date
    Mar 2009
    Location
    Body in Netherlands, Hart in the Fairest Cape!
    Posts
    402
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: SIOC script for Fuel Temp Servo ?

    This is interesting, .. I'd like to take a look at your script too, .. not that I am that far in my project yet.,.... but I like to jump around from one thing to another

  5. #4
    75+ Posting Member
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    75
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: SIOC script for Fuel Temp Servo ?

    Hi folks,
    SIOC code for the PM fuel temperature gauge:

    /////////// Fuel Temperature Gauge /////////////

    var 0215, name Servo2, Link USB_SERVOS, Output 2, PosL 1023, PosC 436, PosR 150, Type 2 // Servo Motor
    Var 0218, name FuelTemp, Link FSUIPC_INOUT, Offset $56B6, Length 2 // Fuel Temperature + 60 in 10th of C
    {
    L0 = &FuelTemp / 10
    L1 = L0 - 60
    L2 = L1 * 6.4 // servo slope
    L0 = 550 - L2 // Center 0 Grad Celsius
    &Servo2 = L0
    }

    Regards
    Ruediger

Similar Threads

  1. IRS/FUEL/COMP TEMP DISPLAY ON LCD
    By shoumi in forum lekseecon Q&A and Discussions
    Replies: 3
    Last Post: 01-12-2011, 03:59 AM
  2. SIOC script for the Brake Pressure gauge with servo?
    By HondaCop in forum OpenCockpits General Discussion
    Replies: 10
    Last Post: 08-03-2009, 10:31 AM
  3. Flaps with servo script
    By Abrupto in forum OpenCockpits General Discussion
    Replies: 2
    Last Post: 07-06-2009, 08:28 AM
  4. Servo fuel gauge
    By Frank in forum FS2Phidget Users
    Replies: 0
    Last Post: 01-11-2005, 04:25 PM
  5. fuel temp offset?
    By Rob Archer in forum PM General Q & A
    Replies: 2
    Last Post: 11-27-2004, 07:37 PM