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 20°C the fuel has also 20°. But the negative would be the interesting one.
    When i have -40°C 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)
    75°C = 19247 = 50
    60°C = 15407 = 40
    30°C = 7727 = 30
    20°C = 5167 = 20
    10°C = 2607 = 10
    0°C = 47 = 0
    -10°C = 63024 = 246
    -20°C = 60464 = 236
    -30°C = 57904 = 226
    -60°C = 50224 = 196
    -95°C = 41264 = 161

    But how i can control the servos, when the values are going from + toward 0°C 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
    25+ Posting Member
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    73
    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
    387
    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
    25+ Posting Member
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    73
    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. SIOC script for the Brake Pressure gauge with servo?
    By HondaCop in forum OpenCockpits General Discussion
    Replies: 10
    Last Post: 08-03-2009, 09:31 AM
  2. Flaps with servo script
    By Abrupto in forum OpenCockpits General Discussion
    Replies: 2
    Last Post: 07-06-2009, 07:28 AM
  3. Servo fuel gauge
    By Frank in forum FS2Phidget Users
    Replies: 0
    Last Post: 01-11-2005, 04:25 PM
  4. fuel temp offset?
    By Rob Archer in forum PM General Q & A
    Replies: 2
    Last Post: 11-27-2004, 07:37 PM