[== Indéfini ==]
// *****************************************************************************
// * Config_SIOC ver 4.5 - By Manuel Velez - www.opencockpits.com
// *****************************************************************************
// * FileName : sioc.txt
// * Date : 17/11/2017
Var 0000, Value 0
{
&6SUB_BLINK = 0
&6SUB_BLINK = TIMER 1 ,0 ,100
&8ENT_COM1 = 118
&8DEC_COM1 = 0
&8ACT_COM1 = 118000
&8ENC_COM1 = 1
&8ENT_COM2 = 118
&8DEC_COM2 = 0
&8ACT_COM2 = 118000
&8ENC_COM2 = 1
&8ENT_NAV1 = 108
&8DEC_NAV1 = 0
&8ACT_NAV1 = 10800
&8ENC_NAV1 = 1
&8ENT_NAV2 = 108
&8DEC_NAV2 = 0
&8ACT_NAV2 = 10800
&8ENC_NAV2 = 1
&8ENT_ADF1 = 10
&8DEC_ADF1 = 0
&8ACT_ADF1 = 1000
&8ENC_ADF1 = 1
&8DANTA_ADF1 = 1
&8DANTS_ADF1 = 1
&8DADFA_ADF1 = 0
&8DADFS_ADF1 = 0
&8ENT_ADF2 = 10
&8DEC_ADF2 = 0
&8ACT_ADF2 = 1000
&8ENC_ADF2 = 1
&8DANTA_ADF2 = 1
&8DANTS_ADF2 = 1
&8DADFA_ADF2 = 0
&8DADFS_ADF2 = 0
&8TIMERUP = 0
&8D_ACTIVE = 1200
&8LASTST = 0
&8DIG_POS_STATU = 5
&8DIS_ATC = 1
&8DIS_1 = 1
&8DIS_2 = 0
&8TIMERATC = 0
&8TIMERATC = TIMER 1 ,0 ,35
&5E2NAV1 = 0
&5E2NAV2 = 0
}
Var 0050, name 0CDUKEY, static, Link IOCARD_KEYS, Device 13 // #SC#Script B737 ProSim CD# KEYBOARD READ
Var 0051, name 0CDUEXEC, static, Link IOCARD_OUT, Device 13, Output 2 // #SC#Script B737 ProSim CD# EXEC LED
Var 0052, name 0CDUFAIL, static, Link IOCARD_OUT, Device 13, Output 4 // #SC#Script B737 ProSim CD# FAIL LED
Var 0053, name 0CDUMSG, static, Link IOCARD_OUT, Device 13, Output 1 // #SC#Script B737 ProSim CD# MSG LED
Var 0054, name 1CDUKEYFO, static, Link IOCARD_KEYS, Device 14 // #SC#Script B737 ProSim CD# KEYBOARD READ
Var 0055, name 1CDUEXECFO, static, Link IOCARD_OUT, Device 14, Output 2 // #SC#Script B737 ProSim CD# EXEC LED
Var 0056, name 1CDUFAILFO, static, Link IOCARD_OUT, Device 14, Output 4 // #SC#Script B737 ProSim CD# FAIL LED
Var 0057, name 1CDUMSGFO, static, Link IOCARD_OUT, Device 14, Output 1 // #SC#Script B737 ProSim CD# MSG LED
Var 2301, name 2SW_CHR, static, Link IOCARD_SW, Device 15, Input 0 // #SC#Script B737 ProSim Ch# BOTà³N CHR DEC
Var 2302, name 2SW_TIMDAT, static, Link IOCARD_SW, Device 15, Input 1 // #SC#Script B737 ProSim Ch# BOTà³N TIME-DA
Var 2305, name 2SW_SET, static, Link IOCARD_SW, Device 15, Input 2 // #SC#Script B737 ProSim Ch# BOTà³N SET DEC
Var 2306, name 2SW_PLUS, static, Link IOCARD_SW, Device 15, Input 3 // #SC#Script B737 ProSim Ch# BOTà³N + DECLA
Var 2309, name 2SW_LESS, static, Link IOCARD_SW, Device 15, Input 4 // #SC#Script B737 ProSim Ch# BOTà³N - DECLA
Var 2310, name 2SW_RESET, static, Link IOCARD_SW, Device 15, Input 5 // #SC#Script B737 ProSim Ch# BOTà³N RST DEC
Var 2313, name 2SW_ET, static, Link IOCARD_SW, Device 15, Input 6 // #SC#Script B737 ProSim Ch# BOTà³N ET DECL
Var 2314, name 2CR_UPRIGHT, static, Link IOCARD_DISPLAY, Device 15, Digit 0, Numbers 2 // #SC#Script B737 ProSim Ch#
Var 2317, name 2CR_UPLEFT, static, Link IOCARD_DISPLAY, Device 15, Digit 2, Numbers 2 // #SC#Script B737 ProSim Ch#
Var 2319, name 2CR_DWRIGHT, static, Link IOCARD_DISPLAY, Device 15, Digit 4, Numbers 2 // #SC#Script B737 ProSim Ch#
Var 2321, name 2CR_DWLEFT, static, Link IOCARD_DISPLAY, Device 15, Digit 6, Numbers 2 // #SC#Script B737 ProSim Ch#
Var 2325, name 2CR_UPLEFT_P, static // UPPER LEFT DIGITS DECLARE THIS VARIABLE
{
&2INT_UPLEFT = &2CR_UPLEFT_P
}
Var 0001, name 2INT_UPLEFT
{
IF &2INT_UPLEFT = -1
{
&2CR_UPLEFT = -999999
}
ELSE
{
&2CR_UPLEFT = &2INT_UPLEFT
}
}
Var 2328, name 2CR_UPRIGHT_P, static // UPPER RIGHT DIGITS DECLARE THIS VARIABLE
{
IF &2CR_UPRIGHT_P = -1
{
&2CR_UPRIGHT = -999999
IF &2CR_UPLEFT_P = -1
{
&2INT_UPLEFT = &2CR_UPLEFT_P
}
}
ELSE
{
IF &2CR_UPRIGHT_P > 99
{
L0 = DIV &2CR_UPRIGHT_P ,100
&2INT_UPLEFT = L0
L0 = MOD &2CR_UPRIGHT_P ,100
&2CR_UPRIGHT = L0
}
ELSE
{
&2CR_UPRIGHT = &2CR_UPRIGHT_P
}
}
}
Var 2330, name 2CR_DWRIGHT_P, static // LOWER RIGHT DISPLAYS DECLARE THIS VARIAB
{
IF &2CR_DWRIGHT_P = -1
{
&2CR_DWRIGHT = -999999
}
ELSE
{
&2CR_DWRIGHT = &2CR_DWRIGHT_P
&2AGUJASEG = &2CR_DWRIGHT_P
}
}
Var 2332, name 2CR_DWLEFT_P, static // LOWER LEFT DISPLAYS DECLARE THIS VARIABL
{
IF &2CR_DWLEFT_P = -1
{
&2CR_DWLEFT = -999999
}
ELSE
{
&2CR_DWLEFT = &2CR_DWLEFT_P
}
}
Var 2334, name 2DECIMAL_U, static, Link IOCARD_OUT, Device 15, Output 20 // #SC#Script B737 ProSim Ch# UPPER DOT DEC
Var 2337, name 2DECIMAL_D, static, Link IOCARD_OUT, Device 15, Output 21 // #SC#Script B737 ProSim Ch# DOT ET ACTIVE
Var 2339, name 2DECIMAL_C, static, Link IOCARD_OUT, Device 15, Output 22 // #SC#Script B737 ProSim Ch# DOT CHR ACTIV
Var 2340, name 2TIME1, static // DECLARE THIS VARIABLE IN PROSIM GATES
{
&2DECIMAL_U = &2TIME1
}
Var 0002, name 2M_MOTOR, Link IOCARD_MOTOR, Device 15, Output 1, Aceleration 200 // #SC#Script B737 ProSim Ch#
Var 0003, name 2AGUJASEG
{
L0 = 4065 / 60
L0 = L0 * &2AGUJASEG
&2M_MOTOR = ROUND L0
}
Var 0500, name 4I_E1_DISPMODE, static
Var 0501, name 4I_E1_ZOOM, static
Var 0502, name 4I_E1_NAV1, static
Var 0503, name 4I_E1_NAV2, static
Var 0504, name 4I_E1_STA, static, Link IOCARD_SW, Device 1, Input 28 // #SC#Script B737 ProSim EF#
Var 0505, name 4I_E1_WPT, static, Link IOCARD_SW, Device 1, Input 29 // #SC#Script B737 ProSim EF#
Var 0507, name 4I_E1_ARPT, static, Link IOCARD_SW, Device 1, Input 30 // #SC#Script B737 ProSim EF#
Var 0509, name 4I_E1_DATA, static, Link IOCARD_SW, Device 1, Input 31 // #SC#Script B737 ProSim EF#
Var 0510, name 4I_E1_POS, static, Link IOCARD_SW, Device 1, Input 32 // #SC#Script B737 ProSim EF#
Var 0511, name 4I_E1_FPV, static, Link IOCARD_SW, Device 1, Input 34 // #SC#Script B737 ProSim EF#
Var 0512, name 4I_E1_MTR, static, Link IOCARD_SW, Device 1, Input 38 // #SC#Script B737 ProSim EF#
Var 0513, name 4I_E1_MINRST, static
Var 0514, name QNH1, static, Link IOCARD_SW, Device 1, Input 22, Type P
Var 0515, name 4I_E1_MINRADIO, static
Var 0516, name 4I_E1_MINBARO, static
Var 0517, name 4I_E1_CHANGEMI, static
Var 0518, name 4I_E1_BAROHPA, static
Var 0519, name 4I_E1_BAROINCH, static
Var 0520, name baro1, static, Link IOCARD_SW, Device 1, Input 25, Type P
Var 0521, name terr1, static, Link IOCARD_SW, Device 1, Input 33
Var 0522, name wxr1, static, Link IOCARD_SW, Device 1, Input 27
Var 0523, static, Link IOCARD_SW, Device 1, Input 10 // #SC#Script B737 ProSim EF# VOR MODE
{
IF V0523 = 1
{
&4I_E1_DISPMODE = 2
}
}
Var 0524, static, Link IOCARD_SW, Device 1, Input 11 // #SC#Script B737 ProSim EF# MAP MODE
{
IF V0524 = 1
{
&4I_E1_DISPMODE = 3
}
}
Var 0525, static, Link IOCARD_SW, Device 1, Input 12 // #SC#Script B737 ProSim EF# PLAN MODE
{
IF V0525 = 1
{
&4I_E1_DISPMODE = 4
}
}
Var 0526, static, Link IOCARD_SW, Device 1, Input 0 // #SC#Script B737 ProSim EF# RANGE 5
{
IF V0526 = 1
{
&4I_E1_ZOOM = 1
}
}
Var 0527, static, Link IOCARD_SW, Device 1, Input 1 // #SC#Script B737 ProSim EF# RANGE 10
{
IF V0527 = 1
{
&4I_E1_ZOOM = 2
}
}
Var 0528, static, Link IOCARD_SW, Device 1, Input 2 // #SC#Script B737 ProSim EF# RANGE 20
{
IF V0528 = 1
{
&4I_E1_ZOOM = 3
}
}
Var 0529, static, Link IOCARD_SW, Device 1, Input 3 // #SC#Script B737 ProSim EF# RANGE 40
{
IF V0529 = 1
{
&4I_E1_ZOOM = 4
}
}
Var 0530, static, Link IOCARD_SW, Device 1, Input 4 // #SC#Script B737 ProSim EF# RANGE 80
{
IF V0530 = 1
{
&4I_E1_ZOOM = 5
}
}
Var 0531, static, Link IOCARD_SW, Device 1, Input 5 // #SC#Script B737 ProSim EF# RANGE 160
{
IF V0531 = 1
{
&4I_E1_ZOOM = 6
}
}
Var 0532, static, Link IOCARD_SW, Device 1, Input 6 // #SC#Script B737 ProSim EF# RANGE 320
{
IF V0532 = 1
{
&4I_E1_ZOOM = 7
}
}
Var 0533, static, Link IOCARD_SW, Device 1, Input 7 // #SC#Script B737 ProSim EF# RANGE 640
{
IF V0533 = 1
{
&4I_E1_ZOOM = 8
}
}
Var 0535, static, Link IOCARD_SW, Device 1, Input 36 // #SC#Script B737 ProSim EF# NAV 1 VOR
{
CALL &4E1NAV1
}
Var 0536, static, Link IOCARD_SW, Device 1, Input 37 // #SC#Script B737 ProSim EF# NAV 1 ADF
{
CALL &4E1NAV1
}
Var 0537, name 4E1NAV1, static, Link SUBRUTINE
{
IF V0535 = 1
{
&4I_E1_NAV1 = 1
}
ELSE
{
IF V0536 = 1
{
&4I_E1_NAV1 = 2
}
ELSE
{
&4I_E1_NAV1 = 0
}
}
}
Var 0538, static, Link IOCARD_SW, Device 1, Input 18 // #SC#Script B737 ProSim EF# NAV 2 VOR
{
CALL &4E1NAV2
}
Var 0539, static, Link IOCARD_SW, Device 1, Input 19 // #SC#Script B737 ProSim EF# NAV 2 ADF
{
CALL &4E1NAV2
}
Var 0540, name 4E1NAV2, static, Link SUBRUTINE
{
IF V0538 = 1
{
&4I_E1_NAV2 = 1
}
ELSE
{
IF V0539 = 1
{
&4I_E1_NAV2 = 2
}
ELSE
{
&4I_E1_NAV2 = 0
}
}
}
Var 0541, static, Link IOCARD_SW, Device 1, Input 9 // #SC#Script B737 ProSim EF# APP MODE
{
IF V0541 = 1
{
&4I_E1_DISPMODE = 1
}
}
Var 0550, name 4MIN1MOVED, static
Var 0551, name 4BAR1MOVED, static
Var 0552, static, Link IOCARD_SW, Device 1, Input 25 // #SC#Script B737 ProSim EF#
{
IF V0552 = 1
{
&4MIN1MOVED = 0
}
ELSE
{
IF &4MIN1MOVED = 0
{
&4I_E1_MINRST = TOGGLE 0
}
}
}
Var 0553, static, Link IOCARD_SW, Device 1, Input 22 // #SC#Script B737 ProSim EF#
{
IF V0553 = 1
{
&4BAR1MOVED = 0
}
ELSE
{
IF &4BAR1MOVED = 0
{
&QNH1 = TOGGLE 0
}
}
}
Var 0554, static, Link IOCARD_ENCODER, Device 1, Input 23, Aceleration 4, Type 2 // #SC#Script B737 ProSim EF#
{
&4MIN1MOVED = 1
IF V0552 = 1
{
IF V0554 > 0
{
&4I_E1_MINRADIO = TOGGLE 0
}
ELSE
{
&4I_E1_MINBARO = TOGGLE 0
}
}
ELSE
{
&4I_E1_CHANGEMI = V0554 * -1
&4I_E1_CHANGEMI = 0
}
}
Var 0555, static, Link IOCARD_ENCODER, Device 1, Input 20, Aceleration 4, Type 2 // #SC#Script B737 ProSim EF#
{
&4BAR1MOVED = 1
IF V0553 = 1
{
IF V0555 > 0
{
&4I_E1_BAROINCH = TOGGLE 0
}
ELSE
{
&4I_E1_BAROHPA = TOGGLE 0
}
}
ELSE
{
&baro1 = V0555 * -1
&baro1 = 0
}
}
Var 0600, name 5I_E2_DISPMODE, static
Var 0601, name 5I_E2_ZOOM, static
Var 0602, name 5I_E2_NAV1, static
Var 0603, name 5I_E2_NAV2, static
Var 0604, name 5I_E2_STA, static, Link IOCARD_SW, Device 2, Input 28 // #SC#Script B737 ProSim EF#
Var 0605, name 5I_E2_WPT, static, Link IOCARD_SW, Device 2, Input 29 // #SC#Script B737 ProSim EF#
Var 0607, name 5I_E2_ARPT, static, Link IOCARD_SW, Device 2, Input 30 // #SC#Script B737 ProSim EF#
Var 0609, name 5I_E2_DATA, static, Link IOCARD_SW, Device 2, Input 31 // #SC#Script B737 ProSim EF#
Var 0610, name 5I_E2_POS, static, Link IOCARD_SW, Device 2, Input 32 // #SC#Script B737 ProSim EF#
Var 0611, name 5I_E2_FPV, static, Link IOCARD_SW, Device 2, Input 34 // #SC#Script B737 ProSim EF#
Var 0612, name 5I_E2_MTR, static, Link IOCARD_SW, Device 2, Input 38 // #SC#Script B737 ProSim EF#
Var 0613, name 5I_E2_MINRST, static
Var 0614, name qnh2, static, Link IOCARD_SW, Device 2, Input 22, Type P
Var 0615, name 5I_E2_MINRADIO, static
Var 0616, name 5I_E2_MINBARO, static
Var 0617, name 5I_E2_CHANGEMI, static
Var 0618, name 5I_E2_BAROHPA, static
Var 0619, name 5I_E2_BAROINCH, static
Var 0620, name baro2, static, Link IOCARD_SW, Device 2, Input 25, Type P
Var 0621, name 5l_E2TERR, static, Link IOCARD_SW, Device 2, Input 33
Var 0622, name 5l_E2WXR, static, Link IOCARD_SW, Device 2, Input 27
Var 0623, static, Link IOCARD_SW, Device 2, Input 10 // #SC#Script B737 ProSim EF# VOR MODE
{
IF V0623 = 1
{
&5I_E2_DISPMODE = 2
}
}
Var 0624, static, Link IOCARD_SW, Device 2, Input 11 // #SC#Script B737 ProSim EF# MAP MODE
{
IF V0624 = 1
{
&5I_E2_DISPMODE = 3
}
}
Var 0625, static, Link IOCARD_SW, Device 2, Input 12 // #SC#Script B737 ProSim EF# PLAN MODE
{
IF V0625 = 1
{
&5I_E2_DISPMODE = 4
}
}
Var 0626, static, Link IOCARD_SW, Device 2, Input 0 // #SC#Script B737 ProSim EF# RANGE 5
{
IF V0626 = 1
{
&5I_E2_ZOOM = 1
}
}
Var 0627, static, Link IOCARD_SW, Device 2, Input 1 // #SC#Script B737 ProSim EF# RANGE 10
{
IF V0627 = 1
{
&5I_E2_ZOOM = 2
}
}
Var 0628, static, Link IOCARD_SW, Device 2, Input 2 // #SC#Script B737 ProSim EF# RANGE 20
{
IF V0628 = 1
{
&5I_E2_ZOOM = 3
}
}
Var 0629, static, Link IOCARD_SW, Device 2, Input 3 // #SC#Script B737 ProSim EF# RANGE 40
{
IF V0629 = 1
{
&5I_E2_ZOOM = 4
}
}
Var 0630, static, Link IOCARD_SW, Device 2, Input 4 // #SC#Script B737 ProSim EF# RANGE 80
{
IF V0630 = 1
{
&5I_E2_ZOOM = 5
}
}
Var 0631, static, Link IOCARD_SW, Device 2, Input 5 // #SC#Script B737 ProSim EF# RANGE 160
{
IF V0631 = 1
{
&5I_E2_ZOOM = 6
}
}
Var 0632, static, Link IOCARD_SW, Device 2, Input 6 // #SC#Script B737 ProSim EF# RANGE 320
{
IF V0632 = 1
{
&5I_E2_ZOOM = 7
}
}
Var 0633, static, Link IOCARD_SW, Device 2, Input 7 // #SC#Script B737 ProSim EF# RANGE 640
{
IF V0633 = 1
{
&5I_E2_ZOOM = 8
}
}
Var 0635, static, Link IOCARD_SW, Device 2, Input 36 // #SC#Script B737 ProSim EF# NAV 1 VOR
{
CALL &5E2NAV1
}
Var 0636, static, Link IOCARD_SW, Device 2, Input 37 // #SC#Script B737 ProSim EF# NAV 1 ADF
{
CALL &5E2NAV1
}
Var 0637, name 5E2NAV1, static, Link SUBRUTINE
{
IF V0635 = 1
{
&5I_E2_NAV1 = 1
}
ELSE
{
IF V0636 = 1
{
&5I_E2_NAV1 = 2
}
ELSE
{
&5I_E2_NAV1 = 0
}
}
}
Var 0638, static, Link IOCARD_SW, Device 2, Input 18 // #SC#Script B737 ProSim EF# NAV 2 VOR
{
CALL &5E2NAV2
}
Var 0639, static, Link IOCARD_SW, Device 2, Input 19 // #SC#Script B737 ProSim EF# NAV 2 ADF
{
CALL &5E2NAV2
}
Var 0640, name 5E2NAV2, static, Link SUBRUTINE
{
IF V0638 = 1
{
&5I_E2_NAV2 = 1
}
ELSE
{
IF V0639 = 1
{
&5I_E2_NAV2 = 2
}
ELSE
{
&5I_E2_NAV2 = 0
}
}
}
Var 0641, static, Link IOCARD_SW, Device 2, Input 9 // #SC#Script B737 ProSim EF# APP MODE
{
IF V0641 = 1
{
&5I_E2_DISPMODE = 1
}
}
Var 0650, name 5MIN2MOVED, static
Var 0651, name 5BAR2MOVED, static
Var 0652, static, Link IOCARD_SW, Device 2, Input 25 // #SC#Script B737 ProSim EF#
{
IF V0652 = 1
{
&5MIN2MOVED = 0
}
ELSE
{
IF &5MIN2MOVED = 0
{
&5I_E2_MINRST = TOGGLE 0
}
}
}
Var 0653, static, Link IOCARD_SW, Device 2, Input 22 // #SC#Script B737 ProSim EF#
{
IF V0653 = 1
{
&5BAR2MOVED = 0
}
ELSE
{
IF &5BAR2MOVED = 0
{
&qnh2 = TOGGLE 0
}
}
}
Var 0654, static, Link IOCARD_ENCODER, Device 2, Input 23, Aceleration 4, Type 2 // #SC#Script B737 ProSim EF#
{
&5MIN2MOVED = 1
IF V0652 = 1
{
IF V0654 > 0
{
&5I_E2_MINRADIO = TOGGLE 0
}
ELSE
{
&5I_E2_MINBARO = TOGGLE 0
}
}
ELSE
{
&5I_E2_CHANGEMI = V0654 * -1
&5I_E2_CHANGEMI = 0
}
}
Var 0655, static, Link IOCARD_ENCODER, Device 2, Input 20, Aceleration 4, Type 2 // #SC#Script B737 ProSim EF#
{
&5BAR2MOVED = 1
IF V0653 = 1
{
IF V0655 > 0
{
&5I_E2_BAROINCH = TOGGLE 0
}
ELSE
{
&5I_E2_BAROHPA = TOGGLE 0
}
}
ELSE
{
&baro2 = V0655 * -1
&baro2 = 0
}
}
Var 0100, name 6D_COURSE1, static, Link IOCARD_DISPLAY, Digit 0, Numbers 3 // #SC#Script B737 ProSim MC#
Var 0102, name 6D_IAS, static, Link IOCARD_DISPLAY, Digit 3, Numbers 3 // #SC#Script B737 ProSim MC#
Var 0104, name 6D_HDG, static, Link IOCARD_DISPLAY, Digit 6, Numbers 3 // #SC#Script B737 ProSim MC#
Var 0106, name 6D_ALT, static, Link IOCARD_DISPLAY, Digit 9, Numbers 5 // #SC#Script B737 ProSim MC#
Var 0108, name 6D_VS, static, Link IOCARD_DISPLAY, Digit 14, Numbers 5 // #SC#Script B737 ProSim MC#
Var 0110, name 6D_COURSE2, static, Link IOCARD_DISPLAY, Digit 19, Numbers 3 // #SC#Script B737 ProSim MC#
Var 0112, name 6VS_TRIGGER, static // VERTICAL SPEED TRIGGER
Var 0114, name 6BRIGHT, static, Link IOCARD_DISPLAY, Digit 32, Numbers 3 // #SC#Script B737 ProSim MC# BRIGHT CONTRO
Var 0116, name 6D_IAS_IND, static, Link IOCARD_DISPLAY, Digit 22, Numbers 1 // #SC#Script B737 ProSim MC#
Var 0118, name 6SUB_BLINK, static, Link SUBRUTINE
{
IF &6INHIBIT_IAS = 0
{
IF &6O_IASSYMB = 0
{
&6D_IAS_IND = -999999
}
ELSE
{
IF &6O_IASSYMB = 1
{
&6D_IAS_IND = -999996
&6D_IAS_IND = DELAY -999999 ,80
}
IF &6O_IASSYMB = 2
{
&6D_IAS_IND = 8
&6D_IAS_IND = DELAY -999999 ,80
}
}
}
}
Var 0004, name 6HDG_TEMP
Var 0006, name 6BANK_ACT
Var 0200, name 6DECIMAL, static
{
IF &6INHIBIT_IAS = 0 // DO NOT PLACE THE DECIMAL IF THE DISPLAY
{
&6IAS_DOT = &6DECIMAL
}
}
Var 0201, name 6IAS_DOT, static, Link IOCARD_OUT, Output 20 // #SC#Script B737 ProSim MC#
Var 0202, name 6O_N1, static, Link IOCARD_OUT, Output 21 // #SC#Script B737 ProSim MC#
Var 0204, name 6O_AT, static, Link IOCARD_OUT, Output 22 // #SC#Script B737 ProSim MC#
Var 0206, name 6O_SPEED, static, Link IOCARD_OUT, Output 23 // #SC#Script B737 ProSim MC#
Var 0208, name 6O_LVLCHG, static, Link IOCARD_OUT, Output 24 // #SC#Script B737 ProSim MC#
Var 0210, name 6O_VNAV, static, Link IOCARD_OUT, Output 25 // #SC#Script B737 ProSim MC#
Var 0212, name 6O_HDGSEL, static, Link IOCARD_OUT, Output 26 // #SC#Script B737 ProSim MC#
Var 0214, name 6O_APP, static, Link IOCARD_OUT, Output 27 // #SC#Script B737 ProSim MC#
Var 0216, name 6O_VORLOC, static, Link IOCARD_OUT, Output 28 // #SC#Script B737 ProSim MC#
Var 0218, name 6O_LNAV, static, Link IOCARD_OUT, Output 29 // #SC#Script B737 ProSim MC#
Var 0220, name 6O_ALTHLD, static, Link IOCARD_OUT, Output 30 // #SC#Script B737 ProSim MC#
Var 0222, name 6O_VS, static, Link IOCARD_OUT, Output 31 // #SC#Script B737 ProSim MC#
Var 0224, name 6O_CWSA, static, Link IOCARD_OUT, Output 32 // #SC#Script B737 ProSim MC#
Var 0226, name 6O_CMDA, static, Link IOCARD_OUT, Output 33 // #SC#Script B737 ProSim MC#
Var 0228, name 6O_CWSB, static, Link IOCARD_OUT, Output 34 // #SC#Script B737 ProSim MC#
Var 0230, name 6O_CMDB, static, Link IOCARD_OUT, Output 35 // #SC#Script B737 ProSim MC#
Var 0232, name 6O_FD1, static, Link IOCARD_OUT, Output 37 // #SC#Script B737 ProSim MC#
Var 0234, name 6O_FD2, static, Link IOCARD_OUT, Output 36 // #SC#Script B737 ProSim MC#
Var 0236, name 6O_IASSYMB, static // FLASHING A/B IN IAS WINDOW 0=NO WARNING
Var 0238, name 6O_BACKLIGHT, static // BACKLIGHT: 1 = ON 0 = OFF
Var 0300, name 6E_IAS, static, Link IOCARD_ENCODER, Input 0, Aceleration 4, Type 2 // #SC#Script B737 ProSim MC#
{
IF &6INHIBIT_IAS = 0
{
L0 = -1 * &6E_IAS
IF &6DECIMAL = 1
{
&6D_IAS = LIMIT 50 ,90 ,L0
}
ELSE
{
&6D_IAS = LIMIT 110 ,400 ,L0
}
}
}
Var 0302, name 6E_ALT, static, Link IOCARD_ENCODER, Input 2, Aceleration 4, Type 2 // #SC#Script B737 ProSim MC#
{
IF &6INHIBIT_ALT = 0
{
L0 = -100 * &6E_ALT
&6D_ALT = LIMIT 0 ,50000 ,L0
}
}
Var 0304, name 6E_COURSE1, static, Link IOCARD_ENCODER, Input 4, Aceleration 4, Type 2 // #SC#Script B737 ProSim MC#
{
IF &6INHIBIT_OBS1 = 0
{
L0 = &6E_COURSE1 * -1
&6D_COURSE1 = ROTATE 0 ,359 ,L0
}
}
Var 0306, name 6E_HDG, static, Link IOCARD_ENCODER, Input 6, Aceleration 4, Type 2 // #SC#Script B737 ProSim MC#
{
IF &6INHIBIT_HDG = 0
{
IF &6BANK_ACT = 0
{
L0 = &6E_HDG * -1
&6D_HDG = ROTATE 0 ,359 ,L0
&6HDG_TEMP = &6D_HDG
}
IF &6I_BANK_SW = 1
{
&6D_HDG = &6I_BANK_LIMIT
L1 = &6E_HDG * -5
&6D_HDG = LIMIT 10 ,30 ,L1
&6I_BANK_LIMIT = &6D_HDG
}
ELSE
{
&6D_HDG = &6HDG_TEMP
}
}
}
Var 0308, name 6E_COURSE2, static, Link IOCARD_ENCODER, Input 9, Aceleration 4, Type 2 // #SC#Script B737 ProSim MC#
{
IF &6INHIBIT_OBS2 = 0
{
L0 = &6E_COURSE2 * -1
&6D_COURSE2 = ROTATE 0 ,359 ,L0
}
}
Var 0310, name 6E_VS, static, Link IOCARD_ENCODER, Input 11, Aceleration 4, Type 2 // #SC#Script B737 ProSim MC#
{
IF &6INHIBIT_VS = 0
{
L0 = &6E_VS * -50
&6D_VS = LIMIT -7000 ,7000 ,L0
}
ELSE
{
&6VS_TRIGGER = 1
}
}
Var 0320, name 6INHIBIT_IAS, static
{
IF &6INHIBIT_IAS = 1
{
&6D_IAS = -999999
&6IAS_DOT = 0
}
ELSE
{
&6IAS_DOT = &6DECIMAL
}
}
Var 0322, name 6INHIBIT_ALT, static
{
IF &6INHIBIT_ALT = 1
{
&6D_ALT = -999999
}
}
Var 0324, name 6INHIBIT_OBS1, static
{
IF &6INHIBIT_OBS1 = 1
{
&6D_COURSE1 = -999999
}
}
Var 0326, name 6INHIBIT_HDG, static
{
IF &6INHIBIT_HDG = 1
{
&6D_HDG = -999999
}
}
Var 0328, name 6INHIBIT_OBS2, static
{
IF &6INHIBIT_OBS2 = 1
{
&6D_COURSE2 = -999999
}
}
Var 0330, name 6INHIBIT_VS, static
{
IF &6INHIBIT_VS = 1
{
&6D_VS = -999999
}
}
Var 0400, name 6I_CO, static, Link IOCARD_SW, Input 13 // #SC#Script B737 ProSim MC#
Var 0402, name 6I_FD2, static, Link IOCARD_SW, Input 14 // #SC#Script B737 ProSim MC#
Var 0404, name 6I_DISENGAGE, static, Link IOCARD_SW, Input 15 // #SC#Script B737 ProSim MC#
Var 0406, name 6I_FD1, static, Link IOCARD_SW, Input 16 // #SC#Script B737 ProSim MC#
Var 0408, name 6I_CWSB, static, Link IOCARD_SW, Input 18 // #SC#Script B737 ProSim MC#
Var 0410, name 6I_CMDB, static, Link IOCARD_SW, Input 19 // #SC#Script B737 ProSim MC#
Var 0412, name 6I_CWSA, static, Link IOCARD_SW, Input 20 // #SC#Script B737 ProSim MC#
Var 0414, name 6I_CMDA, static, Link IOCARD_SW, Input 21 // #SC#Script B737 ProSim MC#
Var 0416, name 6I_VS, static, Link IOCARD_SW, Input 22 // #SC#Script B737 ProSim MC#
Var 0418, name 6I_ALTHLD, static, Link IOCARD_SW, Input 23 // #SC#Script B737 ProSim MC#
Var 0420, name 6I_APP, static, Link IOCARD_SW, Input 24 // #SC#Script B737 ProSim MC#
Var 0422, name 6I_VORLOC, static, Link IOCARD_SW, Input 25 // #SC#Script B737 ProSim MC#
Var 0424, name 6I_LNAV, static, Link IOCARD_SW, Input 27 // #SC#Script B737 ProSim MC#
Var 0426, name 6I_HDGSEL, static, Link IOCARD_SW, Input 28 // #SC#Script B737 ProSim MC#
Var 0428, name 6I_LVLCHG, static, Link IOCARD_SW, Input 29 // #SC#Script B737 ProSim MC#
Var 0430, name 6I_VNAV, static, Link IOCARD_SW, Input 30 // #SC#Script B737 ProSim MC#
Var 0432, name 6I_SPEED, static, Link IOCARD_SW, Input 31 // #SC#Script B737 ProSim MC#
Var 0434, name 6I_N1, static, Link IOCARD_SW, Input 32 // #SC#Script B737 ProSim MC#
Var 0436, name 6I_AT, static, Link IOCARD_SW, Input 33 // #SC#Script B737 ProSim MC#
Var 0438, name 6I_SPD_INTER, static, Link IOCARD_SW, Input 37 // #SC#Script B737 ProSim MC#
Var 0440, name 6I_ALT_INTER, static, Link IOCARD_SW, Input 36 // #SC#Script B737 ProSim MC#
Var 0442, name 6I_BANK_LIMIT, static, Value 10
Var 0444, name 6I_BANK_SW, static, Link IOCARD_SW, Input 34 // ACTIVATE BANK LIMIT // #SC#Script B737 P
{
IF &6I_BANK_SW = 1
{
&6BANK_ACT = 1
&6D_HDG = &6I_BANK_LIMIT
}
ELSE
{
&6BANK_ACT = 0
&6D_HDG = &6HDG_TEMP
}
}
Var 0005, static
{
&7SERVO_YAW = 530 // SET THE CORRECT VALUES FOR YOUR OWN SERV
&7SERVO_FLAPL = 130 // SET THE CORRECT VALUES FOR YOUR OWN SERV
&7SERVO_FLAPR = 215 // SET THE CORRECT VALUES FOR YOUR OWN SERV
&7SERVO_BRAKE = 160 // SET THE CORRECT VALUES FOR YOUR OWN SERV
}
Var 2020, name 7MIproblèmeRAKEDIS_O, static, Link IOCARD_OUT, Device 17, Output 21 // #SC#Script B737 ProSim MI# AUTO BRAK
Var 2022, name 7MIPANTI_SKID_, static, Link IOCARD_OUT, Device 17, Output 22 // #SC#Script B737 ProSim MI# ANTI SKID
Var 2024, name 7MIPFLAPTRANS_, static, Link IOCARD_OUT, Device 17, Output 23 // #SC#Script B737 ProSim MI# LE FLAPS
Var 2026, name 7MIPFLAPSEXT_O, static, Link IOCARD_OUT, Device 17, Output 24 // #SC#Script B737 ProSim MI# LE FLAPS
Var 2028, name 7N1SET2_I, static, Link IOCARD_SW, Device 17, Input 36 // #SC#Script B737 ProSim MI# N1 SET ROTARY
Var 2030, name 7N1SET1_I, static, Link IOCARD_SW, Device 17, Input 37 // #SC#Script B737 ProSim MI# N1 SET ROTARY
Var 2032, name 7N1SETAUTO_I, static, Link IOCARD_SW, Device 17, Input 38 // #SC#Script B737 ProSim MI# N1 SET ROTARY
Var 2034, name 7N1SETBOTH_I, static, Link IOCARD_SW, Device 17, Input 39 // #SC#Script B737 ProSim MI# N1 SET ROTARY
Var 2036, name 7N1SETENC_I, static, Link IOCARD_ENCODER, Device 17, Input 40, Aceleration 4, Type 2 // #SC#Script B7
Var 2038, name 7FUEL_USED_I, static, Link IOCARD_SW, Device 17, Input 42 // #SC#Script B737 ProSim MI# FUEL FLOW SWI
Var 2040, name 7FUEL_RESET_I, static, Link IOCARD_SW, Device 17, Input 43 // #SC#Script B737 ProSim MI# FUEL FLOW SW
Var 2042, name 7SPD_AUTO_I, static, Link IOCARD_SW, Device 17, Input 45 // #SC#Script B737 ProSim MI# SPD REF ROTAR
Var 2044, name 7SPD_V1_I, static, Link IOCARD_SW, Device 17, Input 46 // #SC#Script B737 ProSim MI# SPD REF ROTAR
Var 2046, name 7SPD_VR_I, static, Link IOCARD_SW, Device 17, Input 47 // #SC#Script B737 ProSim MI# SPD REF ROTAR
Var 2048, name 7SPD_WT_I, static, Link IOCARD_SW, Device 17, Input 48 // #SC#Script B737 ProSim MI# SPD REF ROTAR
Var 2050, name 7SPD_VREF_I, static, Link IOCARD_SW, Device 17, Input 49 // #SC#Script B737 ProSim MI# SPD REF ROTAR
Var 2052, name 7SPD_A_I, static, Link IOCARD_SW, Device 17, Input 50 // #SC#Script B737 ProSim MI# SPD REF ROTAR
Var 2054, name 7SPD_SET_I, static, Link IOCARD_SW, Device 17, Input 51 // #SC#Script B737 ProSim MI# SPD REF ROTAR
Var 2056, name 7SPD_ENC_I, static, Link IOCARD_ENCODER, Device 17, Input 52, Aceleration 4, Type 2 // #SC#Script B73
Var 2058, name 7BRAKE_RTO_I, static, Link IOCARD_SW, Device 17, Input 54 // #SC#Script B737 ProSim MI# AUTO BRAKE RO
Var 2060, name 7BRAKE_OFF_I, static, Link IOCARD_SW, Device 17, Input 55 // #SC#Script B737 ProSim MI# AUTO BRAKE RO
Var 2062, name 7BRAKE_1_I, static, Link IOCARD_SW, Device 17, Input 56 // #SC#Script B737 ProSim MI# AUTO BRAKE RO
Var 2064, name 7BRAKE_2_I, static, Link IOCARD_SW, Device 17, Input 57 // #SC#Script B737 ProSim MI# AUTO BRAKE RO
Var 2066, name 7BRAKE_3_I, static, Link IOCARD_SW, Device 17, Input 58 // #SC#Script B737 ProSim MI# AUTO BRAKE RO
Var 2068, name 7BRAKE_MAX_I, static, Link IOCARD_SW, Device 17, Input 59 // #SC#Script B737 ProSim MI# AUTO BRAKE RO
Var 2070, name 7MFD_ENG_I, static, Link IOCARD_SW, Device 17, Input 60 // #SC#Script B737 ProSim MI# MFD ENG MOMEN
Var 2072, name 7MFD_SYS_I, static, Link IOCARD_SW, Device 17, Input 61 // #SC#Script B737 ProSim MI# MFD SYS MOMEN
Var 2074, name 7SERVO_YAW, static, Link USB_SERVOS, Device 18, Output 1, PosL 300, PosC 530, PosR 700, Type 1 // #SC
Var 2075, name 7SERVO_FLAPL, static, Link USB_SERVOS, Device 18, Output 2, PosL 120, PosC 540, PosR 840, Type 1 // #
Var 2076, name 7SERVO_FLAPR, static, Link USB_SERVOS, Device 18, Output 3, PosL 215, PosC 670, PosR 1010, Type 1
Var 2077, name 7SERVO_BRAKE, static, Link USB_SERVOS, Device 18, Output 4, PosL 200, PosC 600, PosR 972, Type 1 // #
Var 2078, name 7NOSEWHEEL_I, static, Link IOCARD_SW, Device 17, Input 66 // #SC#Script B737 ProSim MI# NOSE WHEEL SW
Var 2080, name 7DUL_OUTBD_I, static, Link IOCARD_SW, Device 17, Input 0 // #SC#Script B737 ProSim MI# DU LEFT ROTAR
Var 2082, name 7DUL_MAINNORM_, static, Link IOCARD_SW, Device 17, Input 1 // #SC#Script B737 ProSim MI# DU LEFT ROTA
Var 2084, name 7DUL_MAINENG_I, static, Link IOCARD_SW, Device 17, Input 2 // #SC#Script B737 ProSim MI# DU LEFT ROTA
Var 2086, name 7DUL_MAINPFD_I, static, Link IOCARD_SW, Device 17, Input 3 // #SC#Script B737 ProSim MI# DU LEFT ROTA
Var 2088, name 7DUL_MAINMFD_I, static, Link IOCARD_SW, Device 17, Input 4 // #SC#Script B737 ProSim MI# DU LEFT ROTA
Var 2090, name 7DUL_LOWENG_I, static, Link IOCARD_SW, Device 17, Input 5 // #SC#Script B737 ProSim MI# DU LEFT ROTAR
Var 2092, name 7DUL_LOWNORM_I, static, Link IOCARD_SW, Device 17, Input 6 // #SC#Script B737 ProSim MI# DU LEFT ROTA
Var 2094, name 7DUL_LOWND_I, static, Link IOCARD_SW, Device 17, Input 7 // #SC#Script B737 ProSim MI# DU LEFT ROTAR
Var 2096, name 7DUR_LOWND_I, static, Link IOCARD_SW, Device 17, Input 9 // #SC#Script B737 ProSim MI# DU RIGHT ROTA
Var 2098, name 7DUR_LOWNORM_I, static, Link IOCARD_SW, Device 17, Input 10 // #SC#Script B737 ProSim MI# DU RIGHT RO
Var 2100, name 7DUR_LOWENG_I, static, Link IOCARD_SW, Device 17, Input 11 // #SC#Script B737 ProSim MI# DU RIGHT ROT
Var 2102, name 7DUR_MAINMFD_I, static, Link IOCARD_SW, Device 17, Input 12 // #SC#Script B737 ProSim MI# DU RIGHT RO
Var 2104, name 7DUR_MAINPFD_I, static, Link IOCARD_SW, Device 17, Input 13 // #SC#Script B737 ProSim MI# DU RIGHT RO
Var 2106, name 7DUR_MAINENG_I, static, Link IOCARD_SW, Device 17, Input 14 // #SC#Script B737 ProSim MI# DU RIGHT RO
Var 2108, name 7DUR_MAINNORM_, static, Link IOCARD_SW, Device 17, Input 15 // #SC#Script B737 ProSim MI# DU RIGHT RO
Var 2110, name 7DUR_OUTBD_I, static, Link IOCARD_SW, Device 17, Input 16 // #SC#Script B737 ProSim MI# DU RIGHT ROTA
Var 2112, name 7AFDSAP_L_I, static, Link IOCARD_SW, Device 17, Input 18 // #SC#Script B737 ProSim MI# AFDS LEFT SWI
Var 2114, name 7AFDSAT_L_I, static, Link IOCARD_SW, Device 17, Input 19 // #SC#Script B737 ProSim MI# AFDS LEFT SWI
Var 2116, name 7AFDSFMC_L_I, static, Link IOCARD_SW, Device 17, Input 20 // #SC#Script B737 ProSim MI# AFDS LEFT SWI
Var 2120, name 7AFDST1_L_I, static, Link IOCARD_SW, Device 17, Input 21 // #SC#Script B737 ProSim MI# AFDS LEFT SWI
Var 2122, name 7AFDST2_L_I, static, Link IOCARD_SW, Device 17, Input 22 // #SC#Script B737 ProSim MI# AFDS LEFT SWI
Var 2124, name 7AFDSAP_R_I, static, Link IOCARD_SW, Device 17, Input 27 // #SC#Script B737 ProSim MI# AFDS RIGHT SW
Var 2126, name 7AFDSAT_R_I, static, Link IOCARD_SW, Device 17, Input 28 // #SC#Script B737 ProSim MI# AFDS RIGHT SW
Var 2128, name 7AFDSFMC_R_I, static, Link IOCARD_SW, Device 17, Input 29 // #SC#Script B737 ProSim MI# AFDS RIGHT SW
Var 2130, name 7AFDST1_R_I, static, Link IOCARD_SW, Device 17, Input 30 // #SC#Script B737 ProSim MI# AFDS RIGHT SW
Var 2132, name 7AFDST2_R_I, static, Link IOCARD_SW, Device 17, Input 31 // #SC#Script B737 ProSim MI# AFDS RIGHT SW
Var 2134, name 7FIREW_L_I, static, Link IOCARD_SW, Device 17, Input 63 // #SC#Script B737 ProSim MI# LEFT FIRE WAR
Var 2136, name 7FIREW_R_I, static, Link IOCARD_SW, Device 17, Input 23 // #SC#Script B737 ProSim MI# RIGHT FIRE WA
Var 2138, name 7MASTERC_L_I, static, Link IOCARD_SW, Device 17, Input 64 // #SC#Script B737 ProSim MI# LEFT MASTER C
Var 2140, name 7MASTERC_R_I, static, Link IOCARD_SW, Device 17, Input 17 // #SC#Script B737 ProSim MI# RIGHT MASTER
Var 2142, name 7SIXPACK_L_I, static, Link IOCARD_SW, Device 17, Input 65 // #SC#Script B737 ProSim MI# LEFT SIXPACK
Var 2144, name 7SIXPACK_R_I, static, Link IOCARD_SW, Device 17, Input 8 // #SC#Script B737 ProSim MI# RIGHT SIXPACK
Var 2146, name 7MIPDIMTEST_I, static, Link IOCARD_SW, Device 17, Input 67 // #SC#Script B737 ProSim MI# MIP LIGHTS T
Var 2148, name 7MIPTESTTEST_I, static, Link IOCARD_SW, Device 17, Input 68 // #SC#Script B737 ProSim MI# MIP LIGHTS
Var 2150, name 7GEARL_UP_I, static, Link IOCARD_SW, Device 17, Input 69 // #SC#Script B737 ProSim MI# LANDING GEAR
{
IF &7GEARL_UP_I = 1
{
IF &7GEARL_DW_I = 0
{
&7GEARL_OFF_I = 0
}
}
ELSE
{
IF &7GEARL_DW_I = 0
{
&7GEARL_OFF_I = 1
}
}
}
Var 2151, name 7GEARL_OFF_I, static // LANDING GEAR SWITCH "OFF" POSITION
Var 2152, name 7GEARL_DW_I, static, Link IOCARD_SW, Device 17, Input 70 // #SC#Script B737 ProSim MI# LANDING GEAR
{
IF &7GEARL_DW_I = 1
{
IF &7GEARL_UP_I = 0
{
&7GEARL_OFF_I = 0
}
}
ELSE
{
IF &7GEARL_UP_I = 0
{
&7GEARL_OFF_I = 1
}
}
}
Var 2166, name 7GRDPROXSYST_I, static, Link IOCARD_SW, Device 17, Input 32 // #SC#Script B737 ProSim MI# GROUND PROX
Var 2168, name 7GRDPROXFLAP_I, static, Link IOCARD_SW, Device 17, Input 33 // #SC#Script B737 ProSim MI# GROUND PROX
Var 2170, name 7GRDPROXGEAR_I, static, Link IOCARD_SW, Device 17, Input 34 // #SC#Script B737 ProSim MI# GROUND PROX
Var 2172, name 7GRDPROXTERR_I, static, Link IOCARD_SW, Device 17, Input 35 // #SC#Script B737 ProSim MI# GROUND PROX
Var 0007, name 7FREE_1_I, Link IOCARD_SW, Device 17, Input 24 // #SC#Script B737 ProSim MI# FREE INPUT
Var 0008, name 7FREE_2_I, Link IOCARD_SW, Device 17, Input 25 // #SC#Script B737 ProSim MI# FREE INPUT
Var 0009, name 7FREE_3_I, Link IOCARD_SW, Device 17, Input 26 // #SC#Script B737 ProSim MI# FREE INPUT
Var 0010, name 7FREE_4_I, Link IOCARD_SW, Device 17, Input 44 // #SC#Script B737 ProSim MI# FREE INPUT
Var 0011, name 7FREE_5_I, Link IOCARD_SW, Device 17, Input 62 // #SC#Script B737 ProSim MI# FREE INPUT
Var 0012, name 7FREE_6_I, Link IOCARD_SW, Device 17, Input 71 // #SC#Script B737 ProSim MI# FREE INPUT
Var 2180, name 7AFDSAPG_L_O, static, Link IOCARD_OUT, Device 17, Output 11 // #SC#Script B737 ProSim MI# AFDS LEFT G
Var 2182, name 7AFDSAPR_L_O, static, Link IOCARD_OUT, Device 17, Output 12 // #SC#Script B737 ProSim MI# AFDS LEFT "
Var 2184, name 7AFDSATG_L_O, static, Link IOCARD_OUT, Device 17, Output 13 // #SC#Script B737 ProSim MI# AFDS LEFT "
Var 2186, name 7AFDSATR_L_O, static, Link IOCARD_OUT, Device 17, Output 14 // #SC#Script B737 ProSim MI# AFDS LEFT "
Var 2188, name 7AFDSFMCG_L_O, static, Link IOCARD_OUT, Device 17, Output 15 // #SC#Script B737 ProSim MI# AFDS LEFT
Var 2190, name 7AFDSAPG_R_O, static, Link IOCARD_OUT, Device 17, Output 16 // #SC#Script B737 ProSim MI# AFDS RIGHT
Var 2192, name 7AFDSAPR_R_O, static, Link IOCARD_OUT, Device 17, Output 17 // #SC#Script B737 ProSim MI# AFDS RIGHT
Var 2194, name 7AFDSATG_R_O, static, Link IOCARD_OUT, Device 17, Output 18 // #SC#Script B737 ProSim MI# AFDS RIGHT
Var 2196, name 7AFDSATR_R_O, static, Link IOCARD_OUT, Device 17, Output 19 // #SC#Script B737 ProSim MI# AFDS RIGHT
Var 2198, name 7AFDSFMCG_R_O, static, Link IOCARD_OUT, Device 17, Output 20 // #SC#Script B737 ProSim MI# AFDS RIGHT
Var 2200, name 7FIREW_L_O, static, Link IOCARD_OUT, Device 17, Output 25 // #SC#Script B737 ProSim MI# LEFT FIRE WAR
Var 2202, name 7FIREW_R_O, static, Link IOCARD_OUT, Device 17, Output 50 // #SC#Script B737 ProSim MI# RIGHT FIRE WA
Var 2204, name 7MASTERC_L_O, static, Link IOCARD_OUT, Device 17, Output 26 // #SC#Script B737 ProSim MI# LEFT MASTER
Var 2206, name 7MASTERC_R_O, static, Link IOCARD_OUT, Device 17, Output 49 // #SC#Script B737 ProSim MI# RIGHT MASTE
Var 2208, name 7SIXPFLT_L_O, static, Link IOCARD_OUT, Device 17, Output 27 // #SC#Script B737 ProSim MI# LEFT SIXPAC
Var 2210, name 7SIXPELE_L_O, static, Link IOCARD_OUT, Device 17, Output 28 // #SC#Script B737 ProSim MI# LEFT SIXPAC
Var 2212, name 7SIXPIRS_L_O, static, Link IOCARD_OUT, Device 17, Output 29 // #SC#Script B737 ProSim MI# LEFT SIXPAC
Var 2214, name 7SIXPAPU_L_O, static, Link IOCARD_OUT, Device 17, Output 30 // #SC#Script B737 ProSim MI# LEFT SIXPAC
Var 2216, name 7SIXPFUEL_L_O, static, Link IOCARD_OUT, Device 17, Output 31 // #SC#Script B737 ProSim MI# LEFT SIXPA
Var 2218, name 7SIXPOVHT_L_O, static, Link IOCARD_OUT, Device 17, Output 32 // #SC#Script B737 ProSim MI# LEFT SIXPA
Var 2220, name 7SIXPICE_R_O, static, Link IOCARD_OUT, Device 17, Output 43 // #SC#Script B737 ProSim MI# RIGHT LEFT
Var 2222, name 7SIXPENG_R_O, static, Link IOCARD_OUT, Device 17, Output 44 // #SC#Script B737 ProSim MI# RIGHT SIXPA
Var 2224, name 7SIXPHYD_R_O, static, Link IOCARD_OUT, Device 17, Output 45 // #SC#Script B737 ProSim MI# RIGHT SIXPA
Var 2226, name 7SIXPOVE_R_O, static, Link IOCARD_OUT, Device 17, Output 46 // #SC#Script B737 ProSim MI# RIGHT SIXPA
Var 2228, name 7SIXPDOO_R_O, static, Link IOCARD_OUT, Device 17, Output 47 // #SC#Script B737 ProSim MI# RIGHT SIXPA
Var 2230, name 7SIXPAIR_R_O, static, Link IOCARD_OUT, Device 17, Output 48 // #SC#Script B737 ProSim MI# RIGHT SIXPA
Var 2232, name 7BELOW_L_O, static, Link IOCARD_OUT, Device 17, Output 33 // #SC#Script B737 ProSim MI# LEFT BELOW G/
Var 2234, name 7SPDBKARM_O, static, Link IOCARD_OUT, Device 17, Output 34 // #SC#Script B737 ProSim MI# SPEED BRAKE
Var 2236, name 7SPDBKNARM_O, static, Link IOCARD_OUT, Device 17, Output 35 // #SC#Script B737 ProSim MI# SPEED BRAKE
Var 2238, name 7STABOUT_O, static, Link IOCARD_OUT, Device 17, Output 36 // #SC#Script B737 ProSim MI# STAB OUT OF T
Var 2240, name 7NOSEG_UP_O, static, Link IOCARD_OUT, Device 17, Output 37 // #SC#Script B737 ProSim MI# NOSE GEAR UP
Var 2242, name 7NOSEG_DW_O, static, Link IOCARD_OUT, Device 17, Output 38 // #SC#Script B737 ProSim MI# NOSE GEAR DW
Var 2244, name 7LEFTG_UP_O, static, Link IOCARD_OUT, Device 17, Output 39 // #SC#Script B737 ProSim MI# LEFT GEAR UP
Var 2246, name 7RIGHTG_UP_O, static, Link IOCARD_OUT, Device 17, Output 40 // #SC#Script B737 ProSim MI# RIGHT GEAR
Var 2248, name 7LEFTG_DW_O, static, Link IOCARD_OUT, Device 17, Output 41 // #SC#Script B737 ProSim MI# LEFT GEAR DW
Var 2250, name 7RIGHTG_DW_O, static, Link IOCARD_OUT, Device 17, Output 42 // #SC#Script B737 ProSim MI# RIGHT GEAR
Var 2252, name 7SPDBKEXT_O, static, Link IOCARD_OUT, Device 17, Output 51 // #SC#Script B737 ProSim MI# SPEED BRAKE
Var 2254, name 7BELOW_R_O, static, Link IOCARD_OUT, Device 17, Output 52 // #SC#Script B737 ProSim MI# RIGHT-F/O BEL
Var 2256, name 7GPWSINOP_O, static, Link IOCARD_OUT, Device 17, Output 53 // #SC#Script B737 ProSim MI# GPWS INOP IN
Var 0013, name 7FREE_1_O, Link IOCARD_OUT, Device 17, Output 54 // #SC#Script B737 ProSim MI# FREE OUTPUT
Var 0014, name 7FREE_2_O, Link IOCARD_OUT, Device 17, Output 55 // #SC#Script B737 ProSim MI# FREE OUTPUT
Var 2300, name 8ENC_COM1_PRO, static
{
IF &8ENC_COM1_PRO = -1
{
&8ENC_COM1 = 0
}
ELSE
{
&8ENC_COM1 = 1
}
}
Var 2308, name 8ENC_COM2_PRO, static
{
IF &8ENC_COM2_PRO = -1
{
&8ENC_COM2 = 0
}
ELSE
{
&8ENC_COM2 = 1
}
}
Var 2316, name 8ENC_NAV1_PRO, static
{
IF &8ENC_NAV1_PRO = -1
{
&8ENC_NAV1 = 0
}
ELSE
{
&8ENC_NAV1 = 1
}
}
Var 2320, name 8ENC_NAV2_PRO, static
{
IF &8ENC_NAV2_PRO = -1
{
&8ENC_NAV2 = 0
}
ELSE
{
&8ENC_NAV2 = 1
}
}
Var 2324, name 8ENC_ADF1_PRO, static
{
IF &8ENC_ADF1_PRO = -1
{
&8ENC_ADF1 = 0
}
ELSE
{
&8ENC_ADF1 = 1
}
}
Var 2336, name 8ENC_ADF2_PRO, static
{
IF &8ENC_ADF2_PRO = -1
{
&8ENC_ADF2 = 0
}
ELSE
{
&8ENC_ADF2 = 1
}
}
Var 0015, name 8ENC_COM1
{
IF &8ENC_COM1 = 1
{
&8IO_PT_COM1 = 1
&8IO_PT2_COM1 = 1
CALL &8SUB_D_COM1
&8ID2_COM1 = &8ACT_COM1
}
ELSE
{
&8IO_PT_COM1 = 0
&8IO_PT2_COM1 = 0
&8ID_COM1 = -999999
&8ID2_COM1 = -999999
}
}
Var 0016, name 8ENT_COM1
Var 0017, name 8DEC_COM1
Var 0018, name 8IE_DEC_COM1, Link IOCARD_ENCODER, Device 20, Input 0, Aceleration 1, Type 2 // #SC#Script B737 ProSi
{
IF &8ENC_COM1 = 1
{
L0 = &8IE_DEC_COM1 * 25
L1 = &8DEC_COM1 + L0
IF L1 < 0
{
L1 = 975
}
IF L1 > 975
{
L1 = 0
}
&8DEC_COM1 = L1
CALL &8SUB_D_COM1
}
}
Var 0019, name 8IE_ENT_COM1, Link IOCARD_ENCODER, Device 20, Input 2, Aceleration 1, Type 2 // #SC#Script B737 ProSi
{
IF &8ENC_COM1 = 1
{
L0 = &8IE_ENT_COM1 * -1
&8ENT_COM1 = ROTATE 118 ,135 ,L0
CALL &8SUB_D_COM1
}
}
Var 0020, name 8ID_COM1, Link IOCARD_DISPLAY, Device 20, Digit 6, Numbers 6 // #SC#Script B737 ProSim Pe#
Var 0021, name 8SUB_D_COM1, Link SUBRUTINE
{
L0 = &8ENT_COM1 * 1000
&8ID_COM1 = L0 + &8DEC_COM1
}
Var 0022, name 8IO_PT_COM1, Link IOCARD_OUT, Device 20, Output 11 // #SC#Script B737 ProSim Pe#
Var 0023, name 8II_SW_COM1, Link IOCARD_SW, Device 20, Input 5 // #SC#Script B737 ProSim Pe#
{
IF &8II_SW_COM1 = 1
{
IF &8ENC_COM1 = 1
{
L0 = &8ENT_COM1 * 1000
L0 = L0 + &8DEC_COM1
L1 = DIV &8ACT_COM1 ,1000
L2 = MOD &8ACT_COM1 ,1000
&8ACT_COM1 = L0
&8ENT_COM1 = L1
&8DEC_COM1 = L2
CALL &8SUB_D_COM1
&8ID2_COM1 = &8ACT_COM1
}
}
}
Var 0024, name 8ACT_COM1
Var 0025, name 8ID2_COM1, Link IOCARD_DISPLAY, Device 20, Digit 0, Numbers 6 // #SC#Script B737 ProSim Pe#
{
IF &8ID2_COM1 > 0
{
&8XP_COM1 = DIV &8ID2_COM1 ,10
}
}
Var 0026, name 8IO_PT2_COM1, Link IOCARD_OUT, Device 20, Output 11 // #SC#Script B737 ProSim Pe#
Var 0027, name 8XP_COM1, Value 11800
{
L0 = &8XP_COM1 - 10000
&8FCOM1 = TOBCD L0
}
Var 0028, name 8ENC_COM2
{
IF &8ENC_COM2 = 1
{
&8IO_PT_COM2 = 1
&8IO_PT2_COM2 = 1
CALL &8SUB_D_COM2
&8ID2_COM2 = &8ACT_COM2
}
ELSE
{
&8IO_PT_COM2 = 0
&8IO_PT2_COM2 = 0
&8ID_COM2 = -999999
&8ID2_COM2 = -999999
}
}
Var 0029, name 8ENT_COM2
Var 0030, name 8DEC_COM2
Var 0031, name 8IE_DEC_COM2, Link IOCARD_ENCODER, Device 20, Input 72, Aceleration 1, Type 2 // #SC#Script B737 ProS
{
IF &8ENC_COM2 = 1
{
L0 = &8IE_DEC_COM2 * 25
L1 = &8DEC_COM2 + L0
IF L1 < 0
{
L1 = 975
}
IF L1 > 975
{
L1 = 0
}
&8DEC_COM2 = L1
CALL &8SUB_D_COM2
}
}
Var 0032, name 8IE_ENT_COM2, Link IOCARD_ENCODER, Device 20, Input 74, Aceleration 1, Type 2 // #SC#Script B737 ProS
{
IF &8ENC_COM2 = 1
{
L0 = &8IE_ENT_COM2 * -1
&8ENT_COM2 = ROTATE 118 ,135 ,L0
CALL &8SUB_D_COM2
}
}
Var 0033, name 8ID_COM2, Link IOCARD_DISPLAY, Device 20, Digit 70, Numbers 6 // #SC#Script B737 ProSim Pe#
Var 0034, name 8SUB_D_COM2, Link SUBRUTINE
{
L0 = &8ENT_COM2 * 1000
&8ID_COM2 = L0 + &8DEC_COM2
}
Var 0035, name 8IO_PT_COM2, Link IOCARD_OUT, Device 20, Output 75 // #SC#Script B737 ProSim Pe#
Var 0036, name 8II_SW_COM2, Link IOCARD_SW, Device 20, Input 77 // #SC#Script B737 ProSim Pe#
{
IF &8II_SW_COM2 = 1
{
IF &8ENC_COM2 = 1
{
L0 = &8ENT_COM2 * 1000
L0 = L0 + &8DEC_COM2
L1 = DIV &8ACT_COM2 ,1000
L2 = MOD &8ACT_COM2 ,1000
&8ACT_COM2 = L0
&8ENT_COM2 = L1
&8DEC_COM2 = L2
CALL &8SUB_D_COM2
&8ID2_COM2 = &8ACT_COM2
}
}
}
Var 0037, name 8ACT_COM2
Var 0038, name 8ID2_COM2, Link IOCARD_DISPLAY, Device 20, Digit 64, Numbers 6 // #SC#Script B737 ProSim Pe#
{
IF &8ID2_COM2 > 0
{
&8XP_COM2 = DIV &8ID2_COM2 ,10
}
}
Var 0039, name 8IO_PT2_COM2, Link IOCARD_OUT, Device 20, Output 75 // #SC#Script B737 ProSim Pe#
Var 0040, name 8XP_COM2, Value 11800
{
L0 = &8XP_COM2 - 10000
&8FCOM2 = TOBCD L0
}
Var 0041, name 8ENC_NAV1
{
IF &8ENC_NAV1 = 1
{
&8IO_PT_NAV1 = 1
&8IO_PT2_NAV1 = 1
CALL &8SUB_D_NAV1
&8ID2_NAV1 = &8ACT_NAV1
}
ELSE
{
&8IO_PT_NAV1 = 0
&8IO_PT2_NAV1 = 0
&8ID_NAV1 = -999999
&8ID2_NAV1 = -999999
}
}
Var 0042, name 8ENT_NAV1
Var 0043, name 8DEC_NAV1
Var 0044, name 8IE_DEC_NAV1, Link IOCARD_ENCODER, Device 20, Input 9, Aceleration 1, Type 2 // #SC#Script B737 ProSi
{
IF &8ENC_NAV1 = 1
{
L0 = &8IE_DEC_NAV1 * 25
L1 = &8DEC_NAV1 + L0
IF L1 < 0
{
L1 = 975
}
IF L1 > 975
{
L1 = 0
}
&8DEC_NAV1 = L1
CALL &8SUB_D_NAV1
}
}
Var 0045, name 8IE_ENT_NAV1, Link IOCARD_ENCODER, Device 20, Input 11, Aceleration 1, Type 2 // #SC#Script B737 ProS
{
IF &8ENC_NAV1 = 1
{
L0 = &8IE_ENT_NAV1 * -1
&8ENT_NAV1 = ROTATE 108 ,117 ,L0
CALL &8SUB_D_NAV1
}
}
Var 0046, name 8ID_NAV1, Link IOCARD_DISPLAY, Device 20, Digit 21, Numbers 5 // #SC#Script B737 ProSim Pe#
Var 0047, name 8SUB_D_NAV1, Link SUBRUTINE
{
L0 = &8ENT_NAV1 * 100
L1 = DIV &8DEC_NAV1 ,10
&8ID_NAV1 = L0 + L1
}
Var 0048, name 8IO_PT_NAV1, Link IOCARD_OUT, Device 20, Output 12 // #SC#Script B737 ProSim Pe#
Var 0049, name 8II_SW_NAV1, Link IOCARD_SW, Device 20, Input 14 // #SC#Script B737 ProSim Pe#
{
IF &8II_SW_NAV1 = 1
{
IF &8ENC_NAV1 = 1
{
L0 = &8ENT_NAV1 * 100
L1 = DIV &8DEC_NAV1 ,10
L0 = L0 + L1
L1 = DIV &8ACT_NAV1 ,100
L2 = MOD &8ACT_NAV1 ,100
&8ACT_NAV1 = L0
&8ENT_NAV1 = L1
L0 = MOD L2 ,10
L2 = L2 * 10
IF L0 > 0
{
L2 = L2 + 5
}
&8DEC_NAV1 = L2
CALL &8SUB_D_NAV1
&8ID2_NAV1 = &8ACT_NAV1
}
}
}
Var 0058, name 8ACT_NAV1
Var 0059, name 8ID2_NAV1, Link IOCARD_DISPLAY, Device 20, Digit 16, Numbers 5 // #SC#Script B737 ProSim Pe#
{
IF &8ID2_NAV1 > 0
{
&8XP_NAV1 = &8ID2_NAV1
}
}
Var 0060, name 8IO_PT2_NAV1, Link IOCARD_OUT, Device 20, Output 12 // #SC#Script B737 ProSim Pe#
Var 0061, name 8XP_NAV1, Value 10800
{
L0 = &8XP_NAV1 - 10000
&8FNAV1 = TOBCD L0
}
Var 0062, name 8ENC_NAV2
{
IF &8ENC_NAV2 = 1
{
&8IO_PT_NAV2 = 1
&8IO_PT2_NAV2 = 1
CALL &8SUB_D_NAV2
&8ID2_NAV2 = &8ACT_NAV2
}
ELSE
{
&8IO_PT_NAV2 = 0
&8IO_PT2_NAV2 = 0
&8ID_NAV2 = -999999
&8ID2_NAV2 = -999999
}
}
Var 0063, name 8ENT_NAV2
Var 0064, name 8DEC_NAV2
Var 0065, name 8IE_DEC_NAV2, Link IOCARD_ENCODER, Device 20, Input 81, Aceleration 1, Type 2 // #SC#Script B737 ProS
{
IF &8ENC_NAV2 = 1
{
L0 = &8IE_DEC_NAV2 * 25
L1 = &8DEC_NAV2 + L0
IF L1 < 0
{
L1 = 975
}
IF L1 > 975
{
L1 = 0
}
&8DEC_NAV2 = L1
CALL &8SUB_D_NAV2
}
}
Var 0066, name 8IE_ENT_NAV2, Link IOCARD_ENCODER, Device 20, Input 83, Aceleration 1, Type 2 // #SC#Script B737 ProS
{
IF &8ENC_NAV2 = 1
{
L0 = &8IE_ENT_NAV2 * -1
&8ENT_NAV2 = ROTATE 108 ,117 ,L0
CALL &8SUB_D_NAV2
}
}
Var 0067, name 8ID_NAV2, Link IOCARD_DISPLAY, Device 20, Digit 85, Numbers 5 // #SC#Script B737 ProSim Pe#
Var 0068, name 8SUB_D_NAV2, Link SUBRUTINE
{
L0 = &8ENT_NAV2 * 100
L1 = DIV &8DEC_NAV2 ,10
&8ID_NAV2 = L0 + L1
}
Var 0069, name 8IO_PT_NAV2, Link IOCARD_OUT, Device 20, Output 76 // #SC#Script B737 ProSim Pe#
Var 0070, name 8II_SW_NAV2, Link IOCARD_SW, Device 20, Input 86 // #SC#Script B737 ProSim Pe#
{
IF &8II_SW_NAV2 = 1
{
IF &8ENC_NAV2 = 1
{
L0 = &8ENT_NAV2 * 100
L1 = DIV &8DEC_NAV2 ,10
L0 = L0 + L1
L1 = DIV &8ACT_NAV2 ,100
L2 = MOD &8ACT_NAV2 ,100
&8ACT_NAV2 = L0
&8ENT_NAV2 = L1
L0 = MOD L2 ,10
L2 = L2 * 10
IF L0 > 0
{
L2 = L2 + 5
}
&8DEC_NAV2 = L2
CALL &8SUB_D_NAV2
&8ID2_NAV2 = &8ACT_NAV2
}
}
}
Var 0071, name 8ACT_NAV2
Var 0072, name 8ID2_NAV2, Link IOCARD_DISPLAY, Device 20, Digit 80, Numbers 5 // #SC#Script B737 ProSim Pe#
{
IF &8ID2_NAV2 > 0
{
&8XP_NAV2 = &8ID2_NAV2
}
}
Var 0073, name 8IO_PT2_NAV2, Link IOCARD_OUT, Device 20, Output 76 // #SC#Script B737 ProSim Pe#
Var 0074, name 8XP_NAV2, Value 10800
{
L0 = &8XP_NAV2 - 10000
&8FNAV2 = TOBCD L0
}
Var 0075, name 8ENC_ADF1
{
IF &8ENC_ADF1 = 1
{
&8IO_PT_ADF1 = 1
CALL &8SUB_D_ADF1
&8ID2_ADF1 = &8ACT_ADF1
&8O_ADF1 = 1
IF &8ANT_ADF1 = 1
{
&8DANTA_ADF1 = 0
&8DANTS_ADF1 = 0
&8DADFA_ADF1 = 1
&8DADFS_ADF1 = 1
}
ELSE
{
&8DANTA_ADF1 = 1
&8DANTS_ADF1 = 1
&8DADFA_ADF1 = 0
&8DADFS_ADF1 = 0
}
}
ELSE
{
&8IO_PT_ADF1 = 0
&8ID_ADF1 = -999999
&8ID2_ADF1 = -999999
&8O_ADF1 = 0
&8DANTA_ADF1 = 1
&8DANTS_ADF1 = 1
&8DADFA_ADF1 = 1
&8DADFS_ADF1 = 1
}
}
Var 0076, name 8ENT_ADF1
Var 0077, name 8DEC_ADF1
Var 0078, name 8IE_DEC_ADF1, Link IOCARD_ENCODER, Device 20, Input 18, Aceleration 5, Type 2 // #SC#Script B737 ProS
{
IF &8ENC_ADF1 = 1
{
L0 = &8IE_DEC_ADF1 * 1
L1 = &8DEC_ADF1 + L0
IF L1 < 0
{
L1 = 99
}
IF L1 > 99
{
L1 = 0
}
&8DEC_ADF1 = L1
CALL &8SUB_D_ADF1
}
}
Var 0079, name 8IE_ENT_ADF1, Link IOCARD_ENCODER, Device 20, Input 20, Aceleration 4, Type 2 // #SC#Script B737 ProS
{
IF &8ENC_ADF1 = 1
{
L0 = &8IE_ENT_ADF1 * -1
L1 = &8ENT_ADF1 + L0
IF L1 < 10
{
L1 = 179
}
IF L1 > 179
{
L1 = 10
}
&8ENT_ADF1 = L1
CALL &8SUB_D_ADF1
}
}
Var 0080, name 8ID_ADF1, Link IOCARD_DISPLAY, Device 20, Digit 37, Numbers 5 // #SC#Script B737 ProSim Pe#
Var 0081, name 8SUB_D_ADF1, Link SUBRUTINE
{
L0 = &8ENT_ADF1 * 100
L1 = &8DEC_ADF1
&8ID_ADF1 = L0 + L1
}
Var 0082, name 8II_SW_ADF1, Link IOCARD_SW, Device 20, Input 23 // #SC#Script B737 ProSim Pe#
{
IF &8II_SW_ADF1 = 1
{
IF &8ENC_ADF1 = 1
{
L0 = &8ENT_ADF1 * 100
L1 = &8DEC_ADF1
L0 = L0 + L1
L1 = DIV &8ACT_ADF1 ,100
L2 = MOD &8ACT_ADF1 ,100
&8ACT_ADF1 = L0
&8ENT_ADF1 = L1
&8DEC_ADF1 = L2
CALL &8SUB_D_ADF1
&8ID2_ADF1 = &8ACT_ADF1
}
}
}
Var 0083, name 8ACT_ADF1
Var 0084, name 8ID2_ADF1, Link IOCARD_DISPLAY, Device 20, Digit 32, Numbers 5 // #SC#Script B737 ProSim Pe#
{
IF &8ID2_ADF1 > 0
{
&8XP_ADF1 = &8ID2_ADF1
}
}
Var 0085, name 8IO_PT_ADF1, Link IOCARD_OUT, Device 20, Output 13 // #SC#Script B737 ProSim Pe#
Var 0086, name 8O_ADF1
Var 0087, name 8XP_ADF1
{
L0 = DIV &8XP_ADF1 ,10000
L1 = L0 * 10000
L2 = &8XP_ADF1 - L1
L2 = DIV L2 ,10
&8FADF1A = TOBCD L2
L0 = L0 * 100
L1 = DIV &8XP_ADF1 ,10
L1 = L1 * 10
L2 = &8XP_ADF1 - L1
L2 = L2 + L0
&8FADF1B = TOBCD L2
}
Var 0088, name 8ANT_ADF1, Link IOCARD_SW, Device 20, Input 22 // #SC#Script B737 ProSim Pe#
{
IF &8ENC_ADF1 = 1
{
IF &8ANT_ADF1 = 1
{
&8DANTA_ADF1 = 0
&8DANTS_ADF1 = 0
&8DADFA_ADF1 = 1
&8DADFS_ADF1 = 1
}
ELSE
{
&8DANTA_ADF1 = 1
&8DANTS_ADF1 = 1
&8DADFA_ADF1 = 0
&8DADFS_ADF1 = 0
}
}
}
Var 0089, name 8DANTA_ADF1, Link IOCARD_DISPLAY, Device 20, Digit 43, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0090, name 8DANTS_ADF1, Link IOCARD_DISPLAY, Device 20, Digit 44, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0091, name 8DADFA_ADF1, Link IOCARD_DISPLAY, Device 20, Digit 42, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0092, name 8DADFS_ADF1, Link IOCARD_DISPLAY, Device 20, Digit 45, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0093, name 8S_ADF1TONE, Link IOCARD_SW, Device 20, Input 24 // #SC#Script B737 ProSim Pe#
{
&8TONEADF1 = CHANGEBITN 0 ,&8S_ADF1TONE
}
Var 0094, name 8ENC_ADF2
{
IF &8ENC_ADF2 = 1
{
&8IO_PT_ADF2 = 1
CALL &8SUB_D_ADF2
&8ID2_ADF2 = &8ACT_ADF2
&8O_ADF2 = 1
IF &8ANT_ADF2 = 1
{
&8DANTA_ADF2 = 0
&8DANTS_ADF2 = 0
&8DADFA_ADF2 = 1
&8DADFS_ADF2 = 1
}
ELSE
{
&8DANTA_ADF2 = 1
&8DANTS_ADF2 = 1
&8DADFA_ADF2 = 0
&8DADFS_ADF2 = 0
}
}
ELSE
{
&8IO_PT_ADF2 = 0
&8ID_ADF2 = -999999
&8ID2_ADF2 = -999999
&8O_ADF2 = 0
&8DANTA_ADF2 = 1
&8DANTS_ADF2 = 1
&8DADFA_ADF2 = 1
&8DADFS_ADF2 = 1
}
}
Var 0095, name 8ENT_ADF2
Var 0096, name 8DEC_ADF2
Var 0097, name 8IE_DEC_ADF2, Link IOCARD_ENCODER, Device 20, Input 90, Aceleration 5, Type 2 // #SC#Script B737 ProS
{
IF &8ENC_ADF2 = 1
{
L0 = &8IE_DEC_ADF2 * 1
L1 = &8DEC_ADF2 + L0
IF L1 < 0
{
L1 = 99
}
IF L1 > 99
{
L1 = 0
}
&8DEC_ADF2 = L1
CALL &8SUB_D_ADF2
}
}
Var 0098, name 8IE_ENT_ADF2, Link IOCARD_ENCODER, Device 20, Input 92, Aceleration 4, Type 2 // #SC#Script B737 ProS
{
IF &8ENC_ADF2 = 1
{
L0 = &8IE_ENT_ADF2 * -1
L1 = &8ENT_ADF2 + L0
IF L1 < 10
{
L1 = 179
}
IF L1 > 179
{
L1 = 10
}
&8ENT_ADF2 = L1
CALL &8SUB_D_ADF2
}
}
Var 0099, name 8ID_ADF2, Link IOCARD_DISPLAY, Device 20, Digit 101, Numbers 5 // #SC#Script B737 ProSim Pe#
Var 0101, name 8SUB_D_ADF2, Link SUBRUTINE
{
L0 = &8ENT_ADF2 * 100
L1 = &8DEC_ADF2
&8ID_ADF2 = L0 + L1
}
Var 0103, name 8II_SW_ADF2, Link IOCARD_SW, Device 20, Input 95 // #SC#Script B737 ProSim Pe#
{
IF &8II_SW_ADF2 = 1
{
IF &8ENC_ADF2 = 1
{
L0 = &8ENT_ADF2 * 100
L1 = &8DEC_ADF2
L0 = L0 + L1
L1 = DIV &8ACT_ADF2 ,100
L2 = MOD &8ACT_ADF2 ,100
&8ACT_ADF2 = L0
&8ENT_ADF2 = L1
&8DEC_ADF2 = L2
CALL &8SUB_D_ADF2
&8ID2_ADF2 = &8ACT_ADF2
}
}
}
Var 0105, name 8ACT_ADF2
Var 0107, name 8ID2_ADF2, Link IOCARD_DISPLAY, Device 20, Digit 96, Numbers 5 // #SC#Script B737 ProSim Pe#
{
IF &8ID2_ADF2 > 0
{
&8XP_ADF2 = &8ID2_ADF2
}
}
Var 0109, name 8IO_PT_ADF2, Link IOCARD_OUT, Device 20, Output 77 // #SC#Script B737 ProSim Pe#
Var 0111, name 8O_ADF2
Var 0113, name 8XP_ADF2
{
L0 = DIV &8XP_ADF2 ,10000
L1 = L0 * 10000
L2 = &8XP_ADF2 - L1
L2 = DIV L2 ,10
&8FADF2A = TOBCD L2
L0 = L0 * 100
L1 = DIV &8XP_ADF2 ,10
L1 = L1 * 10
L2 = &8XP_ADF2 - L1
L2 = L2 + L0
&8FADF2B = TOBCD L2
}
Var 0115, name 8ANT_ADF2, Link IOCARD_SW, Device 20, Input 94 // #SC#Script B737 ProSim Pe#
{
IF &8ENC_ADF2 = 1
{
IF &8ANT_ADF2 = 1
{
&8DANTA_ADF2 = 0
&8DANTS_ADF2 = 0
&8DADFA_ADF2 = 1
&8DADFS_ADF2 = 1
}
ELSE
{
&8DANTA_ADF2 = 1
&8DANTS_ADF2 = 1
&8DADFA_ADF2 = 0
&8DADFS_ADF2 = 0
}
}
}
Var 0117, name 8DANTA_ADF2, Link IOCARD_DISPLAY, Device 20, Digit 107, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0119, name 8DANTS_ADF2, Link IOCARD_DISPLAY, Device 20, Digit 108, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0120, name 8DADFA_ADF2, Link IOCARD_DISPLAY, Device 20, Digit 106, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0121, name 8DADFS_ADF2, Link IOCARD_DISPLAY, Device 20, Digit 109, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0122, name 8S_ADF2TONE, Link IOCARD_SW, Device 20, Input 96 // #SC#Script B737 ProSim Pe#
{
&8TONEADF2 = CHANGEBITN 0 ,&8S_ADF2TONE
}
Var 0123, name 8DIG_POS_STATU
{
&8FINATC = 0
IF &8DIG_POS_STATU = 5
{
&8TIMERUP = 0
CALL &8DIGITS2_SUB
}
ELSE
{
&8TIMERUP = 1
CALL &8DIGITS2_SUB
}
}
Var 0124, name 8DIG_1_SUB, Value 0
{
CALL &8DIGITS_SUB
}
Var 0125, name 8DIG_2_SUB, Value 0
{
CALL &8DIGITS_SUB
}
Var 0126, name 8DIG_3_SUB, Value 2
{
CALL &8DIGITS_SUB
}
Var 0127, name 8DIG_4_SUB, Value 1
{
CALL &8DIGITS_SUB
}
Var 0128, name 8D_ACTIVE, Link IOCARD_DISPLAY, Device 20, Digit 90, Numbers 4 // #SC#Script B737 ProSim Pe#
Var 0129, name 8D_FAIL, Link IOCARD_DISPLAY, Device 20, Digit 94, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0130, name 8DIS_ATC, Link IOCARD_OUT, Device 20, Output 99 // #SC#Script B737 ProSim Pe#
Var 0131, name 8DIS_1, Link IOCARD_OUT, Device 20, Output 100 // #SC#Script B737 ProSim Pe#
Var 0132, name 8DIS_2, Link IOCARD_OUT, Device 20, Output 101 // #SC#Script B737 ProSim Pe#
Var 0133, name 8LED_FAIL, Link IOCARD_OUT, Device 20, Output 98 // #SC#Script B737 ProSim Pe#
Var 0134, name 8E_LEFT, Link IOCARD_ENCODER, Device 20, Input 113, Aceleration 0, Type 2 // #SC#Script B737 ProSim P
{
IF &8ENC_ATC = 1
{
L0 = &8E_LEFT * 1
&8DIG_POS_STATU = ROTATE 1 ,5 ,L0
}
}
Var 0135, name 8E_RIGHT, Link IOCARD_ENCODER, Device 20, Input 115, Aceleration 1, Type 2 // #SC#Script B737 ProSim
{
IF &8ENC_ATC = 1
{
IF &8DIG_POS_STATU = 1
{
L0 = &8E_RIGHT * -1
&8DIG_1_SUB = ROTATE 0 ,7 ,L0
}
IF &8DIG_POS_STATU = 2
{
L0 = &8E_RIGHT * -1
&8DIG_2_SUB = ROTATE 0 ,7 ,L0
}
IF &8DIG_POS_STATU = 3
{
L0 = &8E_RIGHT * -1
&8DIG_3_SUB = ROTATE 0 ,7 ,L0
}
IF &8DIG_POS_STATU = 4
{
L0 = &8E_RIGHT * -1
&8DIG_4_SUB = ROTATE 0 ,7 ,L0
}
}
}
Var 0136, name 8I_IDENT, Link IOCARD_SW, Device 20, Input 78 // #SC#Script B737 ProSim Pe#
{
IF &8ENC_ATC = 1
{
IF &8I_IDENT = 1
{
&8IVAP_SB_IDENT = 1
}
}
}
Var 0137, name 8I_XPNDR, Link IOCARD_SW, Device 20, Input 79 // #SC#Script B737 ProSim Pe#
{
IF &8ENC_ATC = 1
{
IF &8STANDBY = 0
{
CALL &8CHECK_XP
}
}
}
Var 0138, name 8CHECK_XP, Link SUBRUTINE
{
IF &8I_XPNDR = 1
{
&8DIS_1 = 0
&8DIS_2 = 1
}
ELSE
{
&8DIS_1 = 1
&8DIS_2 = 0
}
}
Var 0139, name 8STANDBY, Link IOCARD_SW, Device 20, Input 139 // #SC#Script B737 ProSim Pe#
{
IF &8ENC_ATC = 1
{
IF &8STANDBY = 1
{
&8IVAP_SB_MODE = 1
&8DIS_1 = 0
&8DIS_2 = 0
&8DIS_ATC = 0
}
ELSE
{
CALL &8CHECK_XP
}
}
}
Var 0140, name 8I_R_ALT, Link IOCARD_SW, Device 20, Input 140 // #SC#Script B737 ProSim Pe#
Var 0141, name 8I_R_XPN, Link IOCARD_SW, Device 20, Input 141 // #SC#Script B737 ProSim Pe#
{
IF &8ENC_ATC = 1
{
IF &8I_R_XPN = 1
{
&8IVAP_SB_MODE = 0
}
}
}
Var 0142, name 8I_R_TAO, Link IOCARD_SW, Device 20, Input 142 // #SC#Script B737 ProSim Pe#
{
IF &8ENC_ATC = 1
{
IF &8I_R_TAO = 1
{
&8TCAS_MAGENTA = 51
}
}
}
Var 0143, name 8I_R_TAR, Link IOCARD_SW, Device 20, Input 143 // #SC#Script B737 ProSim Pe#
{
IF &8ENC_ATC = 1
{
IF &8I_R_TAR = 1
{
&8TCAS_MAGENTA = 51
}
}
}
Var 2348, name 8ENC_ATC_PROSI, static
{
IF &8ENC_ATC_PROSI = -1
{
&8ENC_ATC = 0
}
ELSE
{
&8ENC_ATC = 1
}
}
Var 0144, name 8ENC_ATC
{
IF &8ENC_ATC = 0
{
&8D_ACTIVE = -999999
&8D_FAIL = -999999
&8DIG_POS_STATU = 5
&8DIS_1 = 0
&8DIS_2 = 0
&8DIS_ATC = 0
}
ELSE
{
&8DIS_ATC = 1
CALL &8DIGITS_SUB
&8DIG_POS_STATU = 5
IF &8STANDBY <> 1
{
CALL &8CHECK_XP
}
IF &8XPDER_FAIL = 1
{
&8D_FAIL = -999997
&8LED_FAIL = 1
}
ELSE
{
&8D_FAIL = -999999
&8LED_FAIL = 0
}
}
}
Var 0145, name 8DIGITS_SUB, Link SUBRUTINE
{
L0 = &8DIG_4_SUB * 1000
L1 = &8DIG_3_SUB * 100
L0 = L0 + L1
L1 = &8DIG_2_SUB * 10
L0 = L0 + L1
L0 = L0 + &8DIG_1_SUB
&8D_ACTIVE = L0
&8FS_XPDER_ID = TOBCD &8D_ACTIVE
}
Var 0146, name 8LOCKCOUNT, Value 0
Var 0147, name 8TIMERATC, Link SUBRUTINE
{
IF &8TIMERUP = 0
{
&8LASTST = 0
}
ELSE
{
IF &8DIG_POS_STATU = 1
{
IF &8LASTST = 0
{
&8D_ATC1 = -999999
}
ELSE
{
&8D_ATC1 = &8DIG_1_SUB
}
}
IF &8DIG_POS_STATU = 2
{
IF &8LASTST = 0
{
&8D_ATC2 = -999999
}
ELSE
{
&8D_ATC2 = &8DIG_2_SUB
}
}
IF &8DIG_POS_STATU = 3
{
IF &8LASTST = 0
{
&8D_ATC3 = -999999
}
ELSE
{
&8D_ATC3 = &8DIG_3_SUB
}
}
IF &8DIG_POS_STATU = 4
{
IF &8LASTST = 0
{
&8D_ATC4 = -999999
}
ELSE
{
&8D_ATC4 = &8DIG_4_SUB
}
}
IF &8LASTST = 0
{
&8LASTST = 1
}
ELSE
{
&8LASTST = 0
}
IF &8FINATC = 50
{
&8DIG_POS_STATU = 5
}
ELSE
{
&8FINATC = &8FINATC + 1
}
}
IF &8LOCKCOUNT > 0
{
&8LOCKCOUNT = &8LOCKCOUNT - 1
&8STBAUTOL = CHANGEBITN 0 ,&8STBAUTOL
}
ELSE
{
&8STBAUTOL = 0
}
}
Var 0148, name 8LASTST
Var 0149, name 8TIMERUP
Var 0150, name 8D_ATC1, Link IOCARD_DISPLAY, Device 20, Digit 90, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0151, name 8D_ATC2, Link IOCARD_DISPLAY, Device 20, Digit 91, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0152, name 8D_ATC3, Link IOCARD_DISPLAY, Device 20, Digit 92, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0153, name 8D_ATC4, Link IOCARD_DISPLAY, Device 20, Digit 93, Numbers 1 // #SC#Script B737 ProSim Pe#
Var 0154, name 8DIGITS2_SUB, Link SUBRUTINE
{
&8D_ATC1 = &8DIG_1_SUB
&8D_ATC2 = &8DIG_2_SUB
&8D_ATC3 = &8DIG_3_SUB
&8D_ATC4 = &8DIG_4_SUB
}
Var 0155, name 8FINATC, Value 0
Var 0156, name 8STBLCKL, Link IOCARD_OUT, Device 20, Output 96 // #SC#Script B737 ProSim Pe# STAB TRIM LOC
Var 0157, name 8STBAUTOL, Link IOCARD_OUT, Device 20, Output 97 // #SC#Script B737 ProSim Pe# STAB TRIM AUT
Var 0158, name 8S_STBOVRD, Link IOCARD_SW, Device 20, Input 135 // #SC#Script B737 ProSim Pe# STAB TRIM OVE
Var 0159, name 8R_STBDUNLK, Link IOCARD_SW, Device 20, Input 136 // #SC#Script B737 ProSim Pe# STAB TRIM DOO
Var 0160, name 8R_STBDAUTO, Link IOCARD_SW, Device 20, Input 137 // #SC#Script B737 ProSim Pe# STAB TRIM DOO
Var 0161, name 8R_STBDDENY, Link IOCARD_SW, Device 20, Input 138 // #SC#Script B737 ProSim Pe# STAB TRIM DOO
Var 0162, name 8S_RDAILUL, Link IOCARD_SW, Device 20, Input 63 // #SC#Script B737 ProSim Pe# RUDDER TRIM A
Var 0163, name 8S_RDAILUR, Link IOCARD_SW, Device 20, Input 64 // #SC#Script B737 ProSim Pe# RUDDER TRIM A
Var 0164, name 8S_RDAILDL, Link IOCARD_SW, Device 20, Input 65 // #SC#Script B737 ProSim Pe# RUDDER TRIM A
Var 0165, name 8S_RDAILDR, Link IOCARD_SW, Device 20, Input 66 // #SC#Script B737 ProSim Pe# RUDDER TRIM A
Var 0166, name 8E_RUDDER, Link IOCARD_ENCODER, Device 20, Input 67, Aceleration 1, Type 2 // #SC#Script B737 ProSim
{
L0 = &8E_RUDDER * 500
&8RUDDERT_O = LIMIT -16000 ,16000 ,L0
}
Var 0167, name 8GRUDTRIM, Link USB_SERVOS, Device 21, Output 1, PosL 0, PosC 511, PosR 1023 // #SC#Script B737 ProSi
Var 0168, name 8LEFTSERVO, Value 623 // ***** CHANGE DE VALUE FOR YOUR LEFT EXTR
Var 0169, name 8CENTERSERVO, Value 510 // ***** CHANGE DE VALUE FOR YOUR CENTER VA
Var 0170, name 8RIGHTSERVO, Value 387 // ***** CHANGE DE VALUE FOR YOUR RIGHT EXT
Var 0171, name 8RUNINDICATOR, Link SUBRUTINE
{
IF &8RUDDERT_O = 0
{
L0 = &8CENTERSERVO
}
ELSE
{
IF &8RUDDERT_O < 0 // LEFT
{
L0 = &8CENTERSERVO - &8LEFTSERVO
}
ELSE // RIGHT
{
L0 = &8RIGHTSERVO - &8CENTERSERVO
}
L0 = L0 * &8RUDDERT_O
L0 = L0 / 16384
L0 = L0 + &8CENTERSERVO
}
&8GRUDTRIM = L0
}
Var 2686, name 8R_RADTST, static, Link IOCARD_SW, Device 20, Input 69 // #SC#Script B737 ProSim Pe# RADAR TEST RO
{
IF &8R_RADTST = 0
{
IF &8R_RADWX = 0
{
IF &8R_RADTURB = 0
{
&8R_RADMAP = 1
}
}
}
ELSE
{
&8R_RADMAP = 0
}
}
Var 2688, name 8R_RADWX, static, Link IOCARD_SW, Device 20, Input 70 // #SC#Script B737 ProSim Pe# RADAR WX ROTA
{
IF &8R_RADWX = 0
{
IF &8R_RADTST = 0
{
IF &8R_RADTURB = 0
{
&8R_RADMAP = 1
}
}
}
ELSE
{
&8R_RADMAP = 0
}
}
Var 2690, name 8R_RADTURB, static, Link IOCARD_SW, Device 20, Input 71 // #SC#Script B737 ProSim Pe# RADAR TURB RO
{
IF &8R_RADTURB = 0
{
IF &8R_RADWX = 0
{
IF &8R_RADTST = 0
{
&8R_RADMAP = 1
}
}
}
ELSE
{
&8R_RADMAP = 0
}
}
Var 2692, name 8R_RADMAP, static // RADAR MAP ROTARY SWITCH
Var 0172, name 8A_RADGAIN, Link IOCARD_ANALOGIC, Device 20, Input 2, PosL 0, PosC 127, PosR 255 // #SC#Script B737 P
Var 2700, name 8A_RADGAINI, static
Var 0173, name 8A_RADTILT, Link IOCARD_ANALOGIC, Device 20, Input 3, PosL 0, PosC 127, PosR 255 // #SC#Script B737 P
{
L0 = &8A_RADTILT * 2
L0 = L0 - 255
&8A_RADTILTI = L0
}
Var 2702, name 8A_RADTILTI, static
Var 2410, name 8ENG1_OVHL, static, Link IOCARD_OUT, Device 20, Output 23 // #SC#Script B737 ProSim Pe# ENGINE 1 OVER
Var 2412, name 8APUBOTDISL, static, Link IOCARD_OUT, Device 20, Output 24 // #SC#Script B737 ProSim Pe# APU BOTTLE D
Var 2414, name 8APUDETINOPL, static, Link IOCARD_OUT, Device 20, Output 25 // #SC#Script B737 ProSim Pe# APU DET INO
Var 2416, name 8FIREFAULTL, static, Link IOCARD_OUT, Device 20, Output 26 // #SC#Script B737 ProSim Pe# FIRE ENGINES
Var 2418, name 8FIREWHELLL, static, Link IOCARD_OUT, Device 20, Output 27 // #SC#Script B737 ProSim Pe# FIRE WHELL W
Var 2420, name 8ENG2_OVHL, static, Link IOCARD_OUT, Device 20, Output 28 // #SC#Script B737 ProSim Pe# ENGINE 2 OVER
Var 2422, name 8LBOTDISL, static, Link IOCARD_OUT, Device 20, Output 29 // #SC#Script B737 ProSim Pe# ENGINE 1 BOTT
Var 2424, name 8RBOTDISL, static, Link IOCARD_OUT, Device 20, Output 30 // #SC#Script B737 ProSim Pe# ENGINE 2 BOTT
Var 2426, name 8FIRE1L, static, Link IOCARD_OUT, Device 20, Output 31 // #SC#Script B737 ProSim Pe# ENGINE 1 FIRE
Var 2428, name 8FIREAL, static, Link IOCARD_OUT, Device 20, Output 32 // #SC#Script B737 ProSim Pe# APU FIRE HAND
Var 2430, name 8FIRE2L, static, Link IOCARD_OUT, Device 20, Output 33 // #SC#Script B737 ProSim Pe# ENGINE 2 FIRE
Var 2432, name 8FIREG1L, static, Link IOCARD_OUT, Device 20, Output 34 // #SC#Script B737 ProSim Pe# FIRE ENGINE 1
Var 2434, name 8FIREGAL, static, Link IOCARD_OUT, Device 20, Output 35 // #SC#Script B737 ProSim Pe# FIRE APU GREE
Var 2436, name 8FIREG2L, static, Link IOCARD_OUT, Device 20, Output 36 // #SC#Script B737 ProSim Pe# FIRE ENGINE 2
Var 2614, name 8S_OVHTDET1A, static, Link IOCARD_SW, Device 20, Input 46 // #SC#Script B737 ProSim Pe# FIRE ENGINE 1
Var 2616, name 8S_OVHTDET1B, static, Link IOCARD_SW, Device 20, Input 45 // #SC#Script B737 ProSim Pe# FIRE ENGINE 1
Var 2618, name 8S_FETSTOVH, static, Link IOCARD_SW, Device 20, Input 47 // #SC#Script B737 ProSim Pe# FIRE ENGINES
Var 2620, name 8S_FETSTFAULT, static, Link IOCARD_SW, Device 20, Input 48 // #SC#Script B737 ProSim Pe# FIRE ENGINES
Var 2622, name 8S_BELLCOUT, static, Link IOCARD_SW, Device 20, Input 49 // #SC#Script B737 ProSim Pe# FIRE ENGINES
Var 2624, name 8S_OVHTDET2A, static, Link IOCARD_SW, Device 20, Input 51 // #SC#Script B737 ProSim Pe# FIRE ENGINE 2
Var 2626, name 8S_OVHTDET2B, static, Link IOCARD_SW, Device 20, Input 50 // #SC#Script B737 ProSim Pe# FIRE ENGINE 2
Var 2628, name 8S_EXT1TEST, static, Link IOCARD_SW, Device 20, Input 53 // #SC#Script B737 ProSim Pe# FIRE ENGINE E
Var 2630, name 8S_EXT2TEST, static, Link IOCARD_SW, Device 20, Input 52 // #SC#Script B737 ProSim Pe# FIRE ENGINE E
Var 2632, name 8S_HND1DW, static, Link IOCARD_SW, Device 20, Input 55 // #SC#Script B737 ProSim Pe# FIRE ENGINE H
Var 2634, name 8S_HND1L, static, Link IOCARD_SW, Device 20, Input 54 // #SC#Script B737 ProSim Pe# FIRE ENGINE H
Var 2636, name 8S_HND1R, static, Link IOCARD_SW, Device 20, Input 56 // #SC#Script B737 ProSim Pe# FIRE ENGINE H
Var 2638, name 8S_HNDADW, static, Link IOCARD_SW, Device 20, Input 58 // #SC#Script B737 ProSim Pe# FIRE ENGINE H
Var 2640, name 8S_HNDAL, static, Link IOCARD_SW, Device 20, Input 57 // #SC#Script B737 ProSim Pe# FIRE ENGINE H
Var 2642, name 8S_HNDAR, static, Link IOCARD_SW, Device 20, Input 59 // #SC#Script B737 ProSim Pe# FIRE ENGINE H
Var 2644, name 8S_HND2DW, static, Link IOCARD_SW, Device 20, Input 61 // #SC#Script B737 ProSim Pe# FIRE ENGINE H
Var 2646, name 8S_HND2L, static, Link IOCARD_SW, Device 20, Input 60 // #SC#Script B737 ProSim Pe# FIRE ENGINE H
Var 2648, name 8S_HND2R, static, Link IOCARD_SW, Device 20, Input 62 // #SC#Script B737 ProSim Pe# FIRE ENGINE H
Var 2438, name 8FCDISCL, static, Link IOCARD_OUT, Device 20, Output 87 // #SC#Script B737 ProSim Pe# FIRE CARGO KO
Var 2440, name 8FCDISCBARL, static, Link IOCARD_OUT, Device 20, Output 88 // #SC#Script B737 ProSim Pe# FIRE CARGO K
Var 2442, name 8FCAFTL, static, Link IOCARD_OUT, Device 20, Output 89 // #SC#Script B737 ProSim Pe# FIRE CARGO KO
Var 2444, name 8FCAFTARML, static, Link IOCARD_OUT, Device 20, Output 90 // #SC#Script B737 ProSim Pe# FIRE CARGO KO
Var 2446, name 8FCFWDL, static, Link IOCARD_OUT, Device 20, Output 91 // #SC#Script B737 ProSim Pe# FIRE CARGO KO
Var 2448, name 8FCFWDARML, static, Link IOCARD_OUT, Device 20, Output 92 // #SC#Script B737 ProSim Pe# FIRE CARGO KO
Var 2450, name 8FCDETFAULT, static, Link IOCARD_OUT, Device 20, Output 93 // #SC#Script B737 ProSim Pe# FIRE CARGO D
Var 2452, name 8FCEXTFWDL, static, Link IOCARD_OUT, Device 20, Output 94 // #SC#Script B737 ProSim Pe# FIRE CARGO EX
Var 2454, name 8FCEXTAFTL, static, Link IOCARD_OUT, Device 20, Output 95 // #SC#Script B737 ProSim Pe# FIRE CARGO EX
Var 2650, name 8R_FDETFA, static, Link IOCARD_SW, Device 20, Input 123 // #SC#Script B737 ProSim Pe# FIRE CARGO DE
Var 2652, name 8R_FDETFNORM, static, Link IOCARD_SW, Device 20, Input 122 // #SC#Script B737 ProSim Pe# FIRE CARGO D
Var 2654, name 8R_FDETFB, static, Link IOCARD_SW, Device 20, Input 121 // #SC#Script B737 ProSim Pe# FIRE CARGO DE
Var 2656, name 8R_FDETAA, static, Link IOCARD_SW, Device 20, Input 120 // #SC#Script B737 ProSim Pe# FIRE CARGO DE
Var 2658, name 8R_FDETANORM, static, Link IOCARD_SW, Device 20, Input 119 // #SC#Script B737 ProSim Pe# FIRE CARGO D
Var 2660, name 8R_FDETAB, static, Link IOCARD_SW, Device 20, Input 118 // #SC#Script B737 ProSim Pe# FIRE CARGO DE
Var 2662, name 8S_FARMF, static, Link IOCARD_SW, Device 20, Input 128 // #SC#Script B737 ProSim Pe# FIRE CARGO FW
Var 2664, name 8S_FARMA, static, Link IOCARD_SW, Device 20, Input 127 // #SC#Script B737 ProSim Pe# FIRE CARGO AF
Var 2666, name 8S_FTEST, static, Link IOCARD_SW, Device 20, Input 117 // #SC#Script B737 ProSim Pe# FIRE CARGO TE
Var 2668, name 8S_FDISCH, static, Link IOCARD_SW, Device 20, Input 126 // #SC#Script B737 ProSim Pe# FIRE CARGO DI
Var 2392, name 8AU2VH1MI, static, Link IOCARD_OUT, Device 20, Output 78 // #SC#Script B737 ProSim Pe# AUDIO2 VHF1 M
Var 2394, name 8AU2VH2MI, static, Link IOCARD_OUT, Device 20, Output 79 // #SC#Script B737 ProSim Pe# AUDIO2 VHF2 M
Var 2396, name 8AU2VH1VO, static, Link IOCARD_OUT, Device 20, Output 80 // #SC#Script B737 ProSim Pe# AUDIO2 VHF1 V
Var 2398, name 8AU2VH2VO, static, Link IOCARD_OUT, Device 20, Output 81 // #SC#Script B737 ProSim Pe# AUDIO2 VHF2 V
Var 2400, name 8AU2NA1VO, static, Link IOCARD_OUT, Device 20, Output 82 // #SC#Script B737 ProSim Pe# AUDIO2 NAV1 V
Var 2402, name 8AU2NA2VO, static, Link IOCARD_OUT, Device 20, Output 83 // #SC#Script B737 ProSim Pe# AUDIO2 NAV2 V
Var 2404, name 8AU2AD1VO, static, Link IOCARD_OUT, Device 20, Output 84 // #SC#Script B737 ProSim Pe# AUDIO2 ADF1 V
Var 2406, name 8AU2AD2VO, static, Link IOCARD_OUT, Device 20, Output 85 // #SC#Script B737 ProSim Pe# AUDIO2 ADF2 V
Var 2408, name 8AU2MKRVO, static, Link IOCARD_OUT, Device 20, Output 86 // #SC#Script B737 ProSim Pe# AUDIO2 MARKER
Var 2584, name 8S_AU2VH1MI, static, Link IOCARD_SW, Device 20, Input 99 // #SC#Script B737 ProSim Pe# AUDIO2 VHF1 M
Var 2586, name 8S_AU2VH2MI, static, Link IOCARD_SW, Device 20, Input 100 // #SC#Script B737 ProSim Pe# AUDIO2 VHF2 M
Var 2588, name 8S_AU2VH1VO, static, Link IOCARD_SW, Device 20, Input 101 // #SC#Script B737 ProSim Pe# AUDIO2 VHF1 V
Var 2590, name 8S_AU2VH2VO, static, Link IOCARD_SW, Device 20, Input 102 // #SC#Script B737 ProSim Pe# AUDIO2 VHF2 V
Var 2592, name 8S_AU2NA1VO, static, Link IOCARD_SW, Device 20, Input 103 // #SC#Script B737 ProSim Pe# AUDIO2 NAV1 V
Var 2594, name 8S_AU2NA2VO, static, Link IOCARD_SW, Device 20, Input 104 // #SC#Script B737 ProSim Pe# AUDIO2 NAV2 V
Var 2596, name 8S_AU2AD1VO, static, Link IOCARD_SW, Device 20, Input 105 // #SC#Script B737 ProSim Pe# AUDIO2 ADF1 V
Var 2598, name 8S_AU2AD2VO, static, Link IOCARD_SW, Device 20, Input 106 // #SC#Script B737 ProSim Pe# AUDIO2 ADF2 V
Var 2600, name 8S_AU2MKRVO, static, Link IOCARD_SW, Device 20, Input 107 // #SC#Script B737 ProSim Pe# AUDIO2 MARKER
Var 2602, name 8S_AU2RT, static, Link IOCARD_SW, Device 20, Input 110 // #SC#Script B737 ProSim Pe# AUDIO2 R-T SW
Var 2604, name 8S_AU2IC, static, Link IOCARD_SW, Device 20, Input 111 // #SC#Script B737 ProSim Pe# AUDIO2 I-C SW
Var 2606, name 8R_AU2FILTV, static, Link IOCARD_SW, Device 20, Input 109 // #SC#Script B737 ProSim Pe# AUDIO2 FILTER
Var 2608, name 8R_AU2FILTR, static, Link IOCARD_SW, Device 20, Input 108 // #SC#Script B737 ProSim Pe# AUDIO2 FILTER
Var 2610, name 8S_AU2NORM, static, Link IOCARD_SW, Device 20, Input 112 // #SC#Script B737 ProSim Pe# AUDIO2 NORM S
{
IF &8S_AU2NORM <> 1
{
&8S_AU2ALT = 1
}
ELSE
{
&8S_AU2ALT = 0
}
}
Var 2612, name 8S_AU2ALT, static // DECLARE VARIABLE IN PROSIM SWITCHES
Var 2374, name 8AU1VH1MI, static, Link IOCARD_OUT, Device 20, Output 14 // #SC#Script B737 ProSim Pe# AUDIO1 VHF1 M
Var 2376, name 8AU1VH2MI, static, Link IOCARD_OUT, Device 20, Output 15 // #SC#Script B737 ProSim Pe# AUDIO1 VHF2 M
Var 2378, name 8AU1VH1VO, static, Link IOCARD_OUT, Device 20, Output 16 // #SC#Script B737 ProSim Pe# AUDIO1 VHF1 V
Var 2380, name 8AU1VH2VO, static, Link IOCARD_OUT, Device 20, Output 17 // #SC#Script B737 ProSim Pe# AUDIO1 VHF2 V
Var 2382, name 8AU1NA1VO, static, Link IOCARD_OUT, Device 20, Output 18 // #SC#Script B737 ProSim Pe# AUDIO1 NAV1 V
Var 2384, name 8AU1NA2VO, static, Link IOCARD_OUT, Device 20, Output 19 // #SC#Script B737 ProSim Pe# AUDIO1 NAV2 V
Var 2386, name 8AU1AD1VO, static, Link IOCARD_OUT, Device 20, Output 20 // #SC#Script B737 ProSim Pe# AUDIO1 ADF1 V
Var 2388, name 8AU1AD2VO, static, Link IOCARD_OUT, Device 20, Output 21 // #SC#Script B737 ProSim Pe# AUDIO1 ADF2 V
Var 2390, name 8AU1MKRVO, static, Link IOCARD_OUT, Device 20, Output 22 // #SC#Script B737 ProSim Pe# AUDIO1 MARKER
Var 2554, name 8S_AU1VH1MI, static, Link IOCARD_SW, Device 20, Input 27 // #SC#Script B737 ProSim Pe# AUDIO1 VHF1 M
Var 2556, name 8S_AU1VH2MI, static, Link IOCARD_SW, Device 20, Input 28 // #SC#Script B737 ProSim Pe# AUDIO1 VHF2 M
Var 2558, name 8S_AU1VH1VO, static, Link IOCARD_SW, Device 20, Input 29 // #SC#Script B737 ProSim Pe# AUDIO1 VHF1 V
Var 2560, name 8S_AU1VH2VO, static, Link IOCARD_SW, Device 20, Input 30 // #SC#Script B737 ProSim Pe# AUDIO1 VHF2 V
Var 2562, name 8S_AU1NA1VO, static, Link IOCARD_SW, Device 20, Input 31 // #SC#Script B737 ProSim Pe# AUDIO1 NAV1 V
Var 2564, name 8S_AU1NA2VO, static, Link IOCARD_SW, Device 20, Input 32 // #SC#Script B737 ProSim Pe# AUDIO1 NAV2 V
Var 2566, name 8S_AU1AD1VO, static, Link IOCARD_SW, Device 20, Input 33 // #SC#Script B737 ProSim Pe# AUDIO1 ADF1 V
Var 2568, name 8S_AU1AD2VO, static, Link IOCARD_SW, Device 20, Input 34 // #SC#Script B737 ProSim Pe# AUDIO1 ADF2 V
Var 2570, name 8S_AU1MKRVO, static, Link IOCARD_SW, Device 20, Input 35 // #SC#Script B737 ProSim Pe# AUDIO1 MARKER
Var 2572, name 8S_AU1RT, static, Link IOCARD_SW, Device 20, Input 38 // #SC#Script B737 ProSim Pe# AUDIO1 R-T SW
Var 2574, name 8S_AU1IC, static, Link IOCARD_SW, Device 20, Input 39 // #SC#Script B737 ProSim Pe# AUDIO1 I-C SW
Var 2576, name 8R_AU1FILTV, static, Link IOCARD_SW, Device 20, Input 37 // #SC#Script B737 ProSim Pe# AUDIO1 FILTER
Var 2578, name 8R_AU1FILTR, static, Link IOCARD_SW, Device 20, Input 36 // #SC#Script B737 ProSim Pe# AUDIO1 FILTER
Var 2580, name 8S_AU1NORM, static, Link IOCARD_SW, Device 20, Input 40 // #SC#Script B737 ProSim Pe# AUDIO1 NORM S
{
IF &8S_AU1NORM <> 1
{
&8S_AU1ALT = 1
}
ELSE
{
&8S_AU1ALT = 0
}
}
Var 2582, name 8S_AU1ALT, static
Var 0174, name 8FCOM1, Link FSUIPC_OUT, Offset $034E, Length 2 // COM1 ACTIVE
Var 0175, name 8FCOM2, Link FSUIPC_OUT, Offset $3118, Length 2 // COM2 ACTIVE
Var 0176, name 8FNAV1, Link FSUIPC_OUT, Offset $0350, Length 2 // NAV1 ACTIVE
Var 0177, name 8FNAV2, Link FSUIPC_OUT, Offset $0352, Length 2 // NAV2 ACTIVE
Var 0178, name 8FADF1A, Link FSUIPC_OUT, Offset $034C, Length 2 // ADF1 ACTIVE PART1
Var 0179, name 8FADF1B, Link FSUIPC_OUT, Offset $0356, Length 2 // ADF1 ACTIVE PART2
Var 0180, name 8FADF2A, Link FSUIPC_OUT, Offset $02D4, Length 2 // ADF2 ACTIVE PART1
Var 0181, name 8FADF2B, Link FSUIPC_OUT, Offset $02D6, Length 2 // ADF2 ACTIVE PART2
Var 0182, name 8TONEADF1, Link FSUIPC_OUT, Offset $3107, Length 2 // ADF1 TONE
Var 0183, name 8TONEADF2, Link FSUIPC_OUT, Offset $02FB, Length 2 // ADF2 TONE
Var 0184, name 8FS_XPDER_ID, Link FSUIPC_INOUT, Offset $0354, Length 2
Var 0185, name 8IVAP_SB_MODE, Link FSUIPC_INOUT, Offset $7B91, Length 1
Var 0186, name 8IVAP_SB_IDENT, Link FSUIPC_INOUT, Offset $7B93, Length 1
Var 0187, name 8XPDER_FAIL, Link FSUIPC_INOUT, Offset $0B6F, Length 1
{
IF &8XPDER_FAIL = 1
{
&8D_FAIL = -999997
&8LED_FAIL = 1
}
ELSE
{
&8D_FAIL = -999999
&8LED_FAIL = 0
}
}
Var 0188, name 8TCAS_MAGENTA, Link FSUIPC_INOUT, Offset $04F4, Length 2
Var 0189, name 8RUDDERT_O, Link FSUIPC_INOUT, Offset $0C04, Length 2, Type 1 // RUDDER TRIM
{
CALL &8RUNINDICATOR
}
Var 0190, name 8AILT_O, Link FSUIPC_INOUT, Offset $0C02, Length 2, Type 1 // AILERONS TRIM
Var 2360, name 3SW_CHR2, static, Link IOCARD_SW, Device 16, Input 0 // #SC#Script B737 ProSim Ch# BOTà³N CHR DEC
Var 2362, name 3SW_TIMDAT2, static, Link IOCARD_SW, Device 16, Input 1 // #SC#Script B737 ProSim Ch# BOTà³N TIME-DA
Var 2364, name 3SW_SET2, static, Link IOCARD_SW, Device 16, Input 2 // #SC#Script B737 ProSim Ch# BOTà³N SET DEC
Var 2366, name 3SW_PLUS2, static, Link IOCARD_SW, Device 16, Input 3 // #SC#Script B737 ProSim Ch# BOTà³N + DECLA
Var 2368, name 3SW_LESS2, static, Link IOCARD_SW, Device 16, Input 4 // #SC#Script B737 ProSim Ch# BOTà³N - DECLA
Var 2370, name 3SW_RESET2, static, Link IOCARD_SW, Device 16, Input 5 // #SC#Script B737 ProSim Ch# BOTà³N RST DEC
Var 2372, name 3SW_ET2, static, Link IOCARD_SW, Device 16, Input 6 // #SC#Script B737 ProSim Ch# BOTà³N ET DECL
Var 2375, name 3CR_UPRIGHT2, static, Link IOCARD_DISPLAY, Device 16, Digit 0, Numbers 2 // #SC#Script B737 ProSim Ch
Var 2377, name 3CR_UPLEFT2, static, Link IOCARD_DISPLAY, Device 16, Digit 2, Numbers 2 // #SC#Script B737 ProSim Ch#
Var 2379, name 3CR_DWRIGHT2, static, Link IOCARD_DISPLAY, Device 16, Digit 4, Numbers 2 // #SC#Script B737 ProSim Ch
Var 2381, name 3CR_DWLEFT2, static, Link IOCARD_DISPLAY, Device 16, Digit 6, Numbers 2 // #SC#Script B737 ProSim Ch#
Var 2385, name 3CR_UPLEFT_P2, static // UPPER LEFT DIGITS DECLARE THIS VARIABLE
{
&3INT_UPLEFT2 = &3CR_UPLEFT_P2
}
Var 0191, name 3INT_UPLEFT2
{
IF &3INT_UPLEFT2 = -1
{
&3CR_UPLEFT2 = -999999
}
ELSE
{
&3CR_UPLEFT2 = &3INT_UPLEFT2
}
}
Var 2389, name 3CR_UPRIGHT_P2, static // UPPER RIGHT DIGITS DECLARE THIS VARIABLE
{
IF &3CR_UPRIGHT_P2 = -1
{
&3CR_UPRIGHT2 = -999999
IF &3CR_UPLEFT_P2 = -1
{
&3INT_UPLEFT2 = &3CR_UPLEFT_P2
}
}
ELSE
{
IF &3CR_UPRIGHT_P2 > 99
{
L0 = DIV &3CR_UPRIGHT_P2 ,100
&3INT_UPLEFT2 = L0
L0 = MOD &3CR_UPRIGHT_P2 ,100
&3CR_UPRIGHT2 = L0
}
ELSE
{
&3CR_UPRIGHT2 = &3CR_UPRIGHT_P2
}
}
}
Var 2391, name 3CR_DWRIGHT_P2, static // LOWER RIGHT DISPLAYS DECLARE THIS VARIAB
{
IF &3CR_DWRIGHT_P2 = -1
{
&3CR_DWRIGHT2 = -999999
}
ELSE
{
&3CR_DWRIGHT2 = &3CR_DWRIGHT_P2
&3AGUJASEG2 = &3CR_DWRIGHT_P2
}
}
Var 2393, name 3CR_DWLEFT_P2, static // LOWER LEFT DISPLAYS DECLARE THIS VARIABL
{
IF &3CR_DWLEFT_P2 = -1
{
&3CR_DWLEFT2 = -999999
}
ELSE
{
&3CR_DWLEFT2 = &3CR_DWLEFT_P2
}
}
Var 2395, name 3DECIMAL_U2, static, Link IOCARD_OUT, Device 16, Output 20 // #SC#Script B737 ProSim Ch# UPPER DOT DE
Var 2397, name 3DECIMAL_D2, static, Link IOCARD_OUT, Device 16, Output 21 // #SC#Script B737 ProSim Ch# DOT ET ACTIV
Var 2399, name 3DECIMAL_C2, static, Link IOCARD_OUT, Device 16, Output 22 // #SC#Script B737 ProSim Ch# DOT CHR ACTI
Var 2401, name 3TIME2, static // DECLARE THIS VARIABLE IN PROSIM GATES
{
&3DECIMAL_U2 = &3TIME2
}
Var 0192, name 3M_MOTOR2, Link IOCARD_MOTOR, Device 16, Output 1, Aceleration 200 // #SC#Script B737 ProSim Ch#
Var 0193, name 3AGUJASEG2
{
L0 = 4065 / 60
L0 = L0 * &3AGUJASEG2
&3M_MOTOR2 = ROUND L0
}