// ***************************************************************************** // * Config_SIOC ver 3.7B1 - By Manolo Vélez - www.opencockpits.com // ***************************************************************************** // * FileName : Overhead_gaugesPMSystem.txt // * Date : 2011-09-23 Var 0002, name TXRX_APU, Link FSUIPC_INOUT, Offset $5604, Length 2 { L0 = &TXRX_APU / 10 // reads offset - reduces TXRX to 10% L0 = L0 * -1 // changes needle direction - now negative L0 = L0 * 0.8 // scales the needle movement down L0 = L0 + 1023 // turns output to positive &SERVO_APU = L0 // sends value to servo } Var 0004, name TXRX_CabAlt, Link FSUIPC_INOUT, Offset $56A6, Length 2 { L0 = &TXRX_CabAlt L0 = L0 * -1 L0 = L0 * 0.9 // scales the needle movement down L0 = L0 + 1023 // turns output to positive &SERVO_CabAlt = L0 } Var 0006, name TXRX_CabTemp, Link FSUIPC_INOUT, Offset $567E, Length 2 { L0 = &TXRX_CabTemp L0 = L0 * -1 L0 = L0 * 1.1 L0 = L0 + 1023 &SERVO_CabTemp = L0 } Var 0008, name TXRX_CabVSI, Link FSUIPC_INOUT, Offset $56A4, Length 2 { L0 = &TXRX_CabVSI L0 = L0 * -1 L0 = L0 * 1.1 L0 = L0 + 1023 &SERVO_CabVSI = L0 } Var 0010, name TXRX_FuelTemp, Link FSUIPC_INOUT, Offset $56B6, Length 2 { L0 = &TXRX_FuelTemp // clashes with cabintemp L0 = L0 * -1 L0 = L0 * 1 L0 = L0 + 1023 &SERVO_FuelTemp = 500 } Var 0012, name TXRX_PresDiff, Link FSUIPC_INOUT, Offset $56B8, Length 2 { L0 = &TXRX_PresDiff L0 = L0 * -1 L0 = L0 * 0.9 L0 = L0 + 1023 &SERVO_PresDiff = L0 } Var 0014, name TXRX_PressL, Link FSUIPC_INOUT, Offset $567A, Length 2 { L0 = &TXRX_PressL L0 = L0 * -1 L0 = L0 * 1.5 L0 = L0 + 1023 &SERVO_PressL = L0 } Var 0016, name TXRX_PressR, Link FSUIPC_INOUT, Offset $567C, Length 2 { L0 = &TXRX_PressR L0 = L0 * -1 L0 = L0 * 1.6 L0 = L0 + 950 &SERVO_PressR = L0 } Var 0018, name TXRX_BRKpress, Link FSUIPC_INOUT, Offset $6DCB, Length 2 { L0 = &TXRX_PressR L0 = L0 * -1 L0 = L0 * 1.6 L0 = L0 + 950 &SERVO_PressR = L0 } Var 0001, name SERVO_APU, Link USB_SERVOS, Device 1, Output 2, PosL 0, PosC 598, PosR 1023, Type 1 // APU EGT Var 0003, name SERVO_CabAlt, Link USB_SERVOS, Device 2, Output 5, PosL 187, PosC 324, PosR 1023, Type 1 // Cabin alt Var 0005, name SERVO_CabTemp, Link USB_SERVOS, Device 1, Output 1, PosL 0, PosC 511, PosR 1023, Type 1 // Cabin tem Var 0007, name SERVO_CabVSI, Link USB_SERVOS, Device 2, Output 6, PosL 0, PosC 511, PosR 1023, Type 1 // Cabin VSI Var 0009, name SERVO_FuelTemp, Link USB_SERVOS, Device 2, Output 1, PosL 0, PosC 511, PosR 1023, Type 1 // Fuel Tem Var 0011, name SERVO_PresDiff, Link USB_SERVOS, Device 2, Output 4, PosL 192, PosC 511, PosR 1023, Type 1 // Pressur Var 0013, name SERVO_PressL, Link USB_SERVOS, Device 2, Output 3, PosL 182, PosC 537, PosR 952, Type 1 // Pressure L Var 0015, name SERVO_PressR, Link USB_SERVOS, Device 2, Output 2, PosL 180, PosC 537, PosR 1003, Type 1 // Pressure Var 0017, name SERVO_BRKpress, Link USB_SERVOS, Device 1, Output 6, PosL 1003, PosC 496, PosR 80, Type 1 // TSR BRAK