// ************************************************** *************************** // * Config_SIOC ver 3.5 - By Manolo VÈlez - www.opencockpits.com // ************************************************** *************************** // * FileName : 737_AFT_OVER_LEDEVICES.txt by Dogtanian // * Date : 19/02/2009 Var 1801, name LOB_TRANS_OFF, Link SUBRUTINE { CALL &A1_OFF CALL &A2_OFF CALL &A3_OFF CALL &A4_OFF } Var 1802, name LOB_TRANS_ON, Link SUBRUTINE { &AFT_LED_A1 = 1 &AFT_LED_A2 = 1 &AFT_LED_A3 = 1 &AFT_LED_A4 = 1 } Var 1803, name LOB_EXT_OFF, Link SUBRUTINE { &AFT_LED_B1 = 0 &AFT_LED_B2 = 0 &AFT_LED_B3 = 0 &AFT_LED_B4 = 0 } Var 1804, name LOB_EXT_ON, Link SUBRUTINE { &AFT_LED_B1 = 1 &AFT_LED_B2 = 1 &AFT_LED_B3 = 1 &AFT_LED_B4 = 1 } Var 1805, name LOB_FULEX_OFF, Link SUBRUTINE { &AFT_LED_C1 = 0 &AFT_LED_C2 = 0 &AFT_LED_C3 = 0 &AFT_LED_C4 = 0 } Var 1806, name LOB_FULEX_ON, Link SUBRUTINE { &AFT_LED_C1 = 1 &AFT_LED_C2 = 1 &AFT_LED_C3 = 1 &AFT_LED_C4 = 1 } Var 1807, name LIB_TRANS_OFF, Link SUBRUTINE { L0 = RANDOM 0 ,50 L1 = RANDOM 0 ,50 &AFT_LED_A5 = DELAY 0 ,L0 &AFT_LED_A6 = DELAY 0 ,L1 } Var 1808, name LIB_TRANS_ON, Link SUBRUTINE { &AFT_LED_A5 = 1 &AFT_LED_A6 = 1 } Var 1809, name LIB_FLEX_OFF, Link SUBRUTINE { &AFT_LED_B5 = 0 &AFT_LED_C5 = 0 &AFT_LED_B6 = 0 &AFT_LED_C6 = 0 } Var 1810, name LIB_FLEX_ON, Link SUBRUTINE { &AFT_LED_B5 = 1 &AFT_LED_C5 = 1 &AFT_LED_B6 = 1 &AFT_LED_C6 = 1 } Var 1811, name ROB_TRANS_OFF, Link SUBRUTINE { CALL &A9_OFF CALL &A10_OFF CALL &A11_OFF CALL &A12_OFF } Var 1812, name ROB_TRANS_ON, Link SUBRUTINE { &AFT_LED_A9 = 1 &AFT_LED_A10 = 1 &AFT_LED_A11 = 1 &AFT_LED_A12 = 1 } Var 1813, name ROB_EXT_OFF, Link SUBRUTINE { &AFT_LED_B9 = 0 &AFT_LED_B10 = 0 &AFT_LED_B11 = 0 &AFT_LED_B12 = 0 } Var 1814, name ROB_EXT_ON, Link SUBRUTINE { &AFT_LED_B9 = 1 &AFT_LED_B10 = 1 &AFT_LED_B11 = 1 &AFT_LED_B12 = 1 } Var 1815, name ROB_FULEX_OFF, Link SUBRUTINE { &AFT_LED_C9 = 0 &AFT_LED_C10 = 0 &AFT_LED_C11 = 0 &AFT_LED_C12 = 0 } Var 1816, name ROB_FULEX_ON, Link SUBRUTINE { &AFT_LED_C9 = 1 &AFT_LED_C10 = 1 &AFT_LED_C11 = 1 &AFT_LED_C12 = 1 } Var 1817, name RIB_TRANS_OFF, Link SUBRUTINE { &AFT_LED_A7 = 0 &AFT_LED_A8 = 0 } Var 1818, name RIB_TRANS_ON, Link SUBRUTINE { &AFT_LED_A7 = 1 &AFT_LED_A8 = 1 } Var 1819, name RIB_FLEX_OFF, Link SUBRUTINE { &AFT_LED_B7 = 0 &AFT_LED_C7 = 0 &AFT_LED_B8 = 0 &AFT_LED_C8 = 0 } Var 1820, name RIB_FLEX_ON, Link SUBRUTINE { &AFT_LED_B7 = 1 &AFT_LED_C7 = 1 &AFT_LED_B8 = 1 &AFT_LED_C8 = 1 } Var 1821, name LE_LEFT_INB, Link FSUIPC_IN, Offset $30E8, Length 2 // LE Left Inboard { C0 = &LE_LEFT_INB > 0 C1 = &LE_LEFT_INB < 16384 C2 = C0 AND C1 IF &LE_LEFT_INB = 0 { CALL &LIB_TRANS_OFF CALL &LIB_FLEX_OFF } IF C2 { CALL &LIB_TRANS_ON CALL &LIB_FLEX_OFF } IF &LE_LEFT_INB = 16384 { CALL &LIB_FLEX_ON CALL &LIB_TRANS_OFF } } Var 1823, name LE_LEFT_OUTB, Link FSUIPC_IN, Offset $30EA, Length 2 // LE Left Outboard { C0 = &LE_LEFT_OUTB > 0 C1 = &LE_LEFT_OUTB < 8192 C2 = C0 AND C1 IF &LE_LEFT_OUTB = 0 { CALL &LOB_EXT_OFF CALL &LOB_TRANS_OFF CALL &LOB_FULEX_OFF } IF C2 { CALL &LOB_TRANS_ON } IF &LE_LEFT_OUTB = 8192 { CALL &LOTROFF_LOBEXT CALL &LOB_FULEX_OFF } IF &LE_LEFT_OUTB > 8192 { CALL &LOB_TRANS_ON } IF &LE_LEFT_OUTB = 16384 { CALL &B1234OFC1234ON CALL &LOB_TRANS_OFF } } Var 1825, name LE_RIGHT_INB, Link FSUIPC_IN, Offset $30EC, Length 2 // LE Right Inboard { C0 = &LE_RIGHT_INB > 0 C1 = &LE_RIGHT_INB < 16384 C2 = C0 AND C1 IF &LE_RIGHT_INB = 0 { CALL &RIB_TRANS_OFF CALL &RIB_FLEX_OFF } IF C2 { CALL &RIB_TRANS_ON CALL &RIB_FLEX_OFF } IF &LE_RIGHT_INB = 16384 { CALL &RIB_FLEX_ON CALL &RIB_TRANS_OFF } } Var 1827, name LE_RIGHT_OUTB, Link FSUIPC_IN, Offset $30EE, Length 2 // LE Right Outboard { C0 = &LE_RIGHT_OUTB > 0 C1 = &LE_RIGHT_OUTB < 8192 C2 = C0 AND C1 IF &LE_RIGHT_OUTB = 0 { CALL &ROB_EXT_OFF CALL &ROB_TRANS_OFF CALL &ROB_FULEX_OFF } IF C2 { CALL &ROB_TRANS_ON } IF &LE_RIGHT_OUTB = 8192 { CALL &ROTROFF_ROBEXT CALL &ROB_FULEX_OFF } IF &LE_RIGHT_OUTB > 8192 { CALL &ROB_TRANS_ON } IF &LE_RIGHT_OUTB = 16384 { CALL &B912OFFC912ON CALL &ROB_TRANS_OFF } } Var 1829, name TEST_SWITCH, Link IOCARD_SW, Input 73, Type I // PRESS TO TEST { IF &TEST_SWITCH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C8 = 0 &AFT_LED_C9 = 0 &AFT_LED_C10 = 0 &AFT_LED_C11 = 0 &AFT_LED_C12 = 0 } } Var 1830, name AFT_LED_A1, Link IOCARD_OUT, Output 110 // Slat 1 Transit Var 1831, name AFT_LED_A2, Link IOCARD_OUT, Output 108 // Slat 2 Transit Var 1832, name AFT_LED_A3, Link IOCARD_OUT, Output 106 // Slat 3 Transit Var 1833, name AFT_LED_A4, Link IOCARD_OUT, Output 104 // Slat 4 Transit Var 1834, name AFT_LED_A5, Link IOCARD_OUT, Output 102 // Flap 1 Transit Var 1835, name AFT_LED_A6, Link IOCARD_OUT, Output 100 // Flap 2 Transit Var 1836, name AFT_LED_A7, Link IOCARD_OUT, Output 99 // Flap 3 Transit Var 1837, name AFT_LED_A8, Link IOCARD_OUT, Output 101 // Flap 4 Transit Var 1838, name AFT_LED_A9, Link IOCARD_OUT, Output 103 // Slat 5 Transit Var 1839, name AFT_LED_A10, Link IOCARD_OUT, Output 105 // Slat 6 Transit Var 1840, name AFT_LED_A11, Link IOCARD_OUT, Output 107 // Slat 7 Transit Var 1841, name AFT_LED_A12, Link IOCARD_OUT, Output 109 // Flap 8 Transit Var 1842, name AFT_LED_B1, Link IOCARD_OUT, Output 98 // Slat 1 EXT Var 1843, name AFT_LED_B2, Link IOCARD_OUT, Output 96 // Slat 2 EXT Var 1844, name AFT_LED_B3, Link IOCARD_OUT, Output 94 // Slat 3 EXT Var 1845, name AFT_LED_B4, Link IOCARD_OUT, Output 92 // Slat 4 EXT Var 1846, name AFT_LED_B5, Link IOCARD_OUT, Output 90 // Flap 1 EXT & FULL EXT Var 1847, name AFT_LED_B6, Link IOCARD_OUT, Output 88 // Flap 2 EXT & FULL EXT Var 1848, name AFT_LED_B7, Link IOCARD_OUT, Output 87 // Flap 3 EXT& FULL EXT Var 1849, name AFT_LED_B8, Link IOCARD_OUT, Output 89 // Flap 4 EXT & FULL EXT Var 1850, name AFT_LED_B9, Link IOCARD_OUT, Output 91 // Slat 5 EXT Var 1851, name AFT_LED_B10, Link IOCARD_OUT, Output 93 // Slat 6 EXT Var 1852, name AFT_LED_B11, Link IOCARD_OUT, Output 95 // Slat 7 EXT Var 1853, name AFT_LED_B12, Link IOCARD_OUT, Output 97 // Slat 8 EXT Var 1854, name AFT_LED_C1, Link IOCARD_OUT, Output 86 // Flap 1 FULL EXT Var 1855, name AFT_LED_C2, Link IOCARD_OUT, Output 84 // Flap 2 FULL EXT Var 1856, name AFT_LED_C3, Link IOCARD_OUT, Output 82 // Flap 3 FULL EXT Var 1857, name AFT_LED_C4, Link IOCARD_OUT, Output 80 // Flap 4 FULL EXT Var 1858, name AFT_LED_C5, Link IOCARD_OUT, Output 78 Var 1859, name AFT_LED_C6, Link IOCARD_OUT, Output 76 Var 1860, name AFT_LED_C7, Link IOCARD_OUT, Output 75 Var 1861, name AFT_LED_C8, Link IOCARD_OUT, Output 77 Var 1862, name AFT_LED_C9, Link IOCARD_OUT, Output 79 // Slat 5 FULL EXT Var 1863, name AFT_LED_C10, Link IOCARD_OUT, Output 81 // Slat 6 FULL EXT Var 1864, name AFT_LED_C11, Link IOCARD_OUT, Output 83 // Slat 7 FULL EXT Var 1865, name AFT_LED_C12, Link IOCARD_OUT, Output 85 // Slat 8 FULL EXT Var 1866, name A1_ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A1 = DELAY 1 ,L0 } Var 1867, name A2_ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A2 = DELAY 1 ,L0 } Var 1868, name A3_ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A3 = DELAY 1 ,L0 } Var 1869, name A4_ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A4 = DELAY 1 ,L0 } Var 1870, name A1_OFF, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A1 = DELAY 0 ,L0 } Var 1871, name A2_OFF, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A2 = DELAY 0 ,L0 } Var 1872, name A3_OFF, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A3 = DELAY 0 ,L0 } Var 1873, name A4_OFF, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A4 = DELAY 0 ,L0 } Var 1874, name A1OFF_B1ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A1 = DELAY 0 ,L0 &AFT_LED_B1 = DELAY 1 ,L0 } Var 1875, name A2OFF_B2ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A2 = DELAY 0 ,L0 &AFT_LED_B2 = DELAY 1 ,L0 } Var 1876, name A3OFF_B3ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A3 = DELAY 0 ,L0 &AFT_LED_B3 = DELAY 1 ,L0 } Var 1877, name A4OFF_B4ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A4 = DELAY 0 ,L0 &AFT_LED_B4 = DELAY 1 ,L0 } Var 1878, name LOTROFF_LOBEXT, Link SUBRUTINE { CALL &A1OFF_B1ON CALL &A2OFF_B2ON CALL &A3OFF_B3ON CALL &A4OFF_B4ON } Var 1879, name B1OFFC1ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A1 = DELAY 0 ,L0 &AFT_LED_B1 = DELAY 0 ,L0 &AFT_LED_C1 = DELAY 1 ,L0 } Var 1880, name B2OFFC2ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A2 = DELAY 0 ,L0 &AFT_LED_B2 = DELAY 0 ,L0 &AFT_LED_C2 = DELAY 1 ,L0 } Var 1881, name B3OFFC3ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A3 = DELAY 0 ,L0 &AFT_LED_B3 = DELAY 0 ,L0 &AFT_LED_C3 = DELAY 1 ,L0 } Var 1882, name B4OFFC4ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A4 = DELAY 0 ,L0 &AFT_LED_B4 = DELAY 0 ,L0 &AFT_LED_C4 = DELAY 1 ,L0 } Var 1883, name B1234OFC1234ON, Link SUBRUTINE { CALL &B1OFFC1ON CALL &B2OFFC2ON CALL &B3OFFC3ON CALL &B4OFFC4ON } Var 1884, name A9_OFF, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A9 = DELAY 0 ,L0 } Var 1885, name A10_OFF, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A10 = DELAY 0 ,L0 } Var 1886, name A11_OFF, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A11 = DELAY 0 ,L0 } Var 1887, name A12_OFF, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A12 = DELAY 0 ,L0 } Var 1888, name A9OFF_B9ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A9 = DELAY 0 ,L0 &AFT_LED_B9 = DELAY 1 ,L0 } Var 1889, name A10OFF_B10ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A10 = DELAY 0 ,L0 &AFT_LED_B10 = DELAY 1 ,L0 } Var 1890, name A11OFF_B11ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A11 = DELAY 0 ,L0 &AFT_LED_B11 = DELAY 1 ,L0 } Var 1891, name A12OFF_B12ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A12 = DELAY 0 ,L0 &AFT_LED_B12 = DELAY 1 ,L0 } Var 1892, name ROTROFF_ROBEXT, Link SUBRUTINE { CALL &A9OFF_B9ON CALL &A10OFF_B10ON CALL &A11OFF_B11ON CALL &A12OFF_B12ON } Var 1893, name B9OFF_C9ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A9 = DELAY 0 ,L0 &AFT_LED_B9 = DELAY 0 ,L0 &AFT_LED_C9 = DELAY 1 ,L0 } Var 1894, name B10OFF_C10ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A10 = DELAY 0 ,L0 &AFT_LED_B10 = DELAY 0 ,L0 &AFT_LED_C10 = DELAY 1 ,L0 } Var 1895, name B11OFF_C11ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A11 = DELAY 0 ,L0 &AFT_LED_B11 = DELAY 0 ,L0 &AFT_LED_C11 = DELAY 1 ,L0 } Var 1896, name B12OFF_C12ON, Link SUBRUTINE { L0 = RANDOM 0 ,50 &AFT_LED_A12 = DELAY 0 ,L0 &AFT_LED_B12 = DELAY 0 ,L0 &AFT_LED_C12 = DELAY 1 ,L0 } Var 1897, name B912OFFC912ON, Link SUBRUTINE { CALL &B9OFF_C9ON CALL &B10OFF_C10ON CALL &B11OFF_C11ON CALL &B12OFF_C12ON } Var 1898, name ALL_ON, Link SUBRUTINE { &AFT_LED_A1 = 1 }