Interfacer le simulateur de Jul50x

Juju au dela des branchements tu devrais savoir pour le backlight (connaissance basique 737NG)
Tu as certainement voler sur PMDG ou autre avant de commencer le simulateur, la c'est pareille.
Pour le backlight des panels du MIP, tu as deux potards "PANEL BRIGHT pour capt'ain et F/O...
 
madmax77 a dit:
c'est ecris sur les panels qui sont sous les ecrans, est ce que tu connais un minimum l'avion que tu veux simuler?

Pas forcément mais apprendre est justement le but du forum pour aider ceux qui savent moins ......!
 
Mouais pas convaincu, avoir un homecockpit à  plusieurs milliers dEuros et pas connaitre les potentiometres pour le backlight En plus ça ne demande pas de connaissance technique d'un pilote de ligne. ou alors Jul50x na peut etre jamais fait de vol la nuit.
 
Madmax77 na pas sa langue dans sa poche

Je suis aussi du meme avis que lui, meme si le ton (difficile derriere un ecran) peut paraitre un peu agressif...

Je pense qu'un constructeur de homecockpit doit se remettre en question sur certains points qui sont les bases de son avion simulé... Apprendre via les forums est une chose mais sur des points complexes, sur des choses que lon ne comprend pas, des choses qui nous depassent.

Maintenant faut aussi y mettre du sien, lapprentissage se fait aussi en autodidacte en lisant les manuels et essayant de chercher les informations basiques sois meme, ou via les nombreux tutoriels présents sur le forum, sinon les membres deviennent ultra dependants des forums. (ce que je ne souhaite pas, le forum n'est pas vouer à  faire du chiffre...)

Construire un cockpit est une aventure enrichissante et complexe mais pas uniquement lors de l'achats du materiel, connaitre un minimum son avion est primordinateurale...sinon on est constamment en attente d'une reponse, on sinscrit sur plein de forum pour maximiser les réponses mais on avance pas...etre autonome c'est poser des questions lorsqu'on est vraiment bloqué, quand ya plus choix et qu'on a besoin de laide dexperts.

Juju ne prends pas mal mes propos, on est là  pour t'aider a realiser ton projet...mais te laisser etre dépendant du forum ce n'est pas t'aidé. Ca fait plaisir de voir de la participation sur le forum, mais je ne cours pas apres le nombre de post/messages...

Je prefere que tu viennes quand tu n'as plus de solution ou pour nous donner des news, participer au autres sections plutot que tu demandes des choses simples que tu peux trouvé toi-meme en cherchant...tu verras avec le temps c'est quelquechose de bénéfique :)
 
madmax77 a dit:
Mouais pas convaincu, avoir un homecockpit à  plusieurs milliers dEuros et pas connaitre les potentiometres pour le backlight En plus ça ne demande pas de connaissance technique d'un pilote de ligne. ou alors Jul50x na peut etre jamais fait de vol la nuit.

Ok mais je ne vois pas ce que le prix du cockpit à  a voir ..... :/
 
Greg si tu passes dans le coin peux tu jeter un il au script de Julien :) :)

Je te joints les Scripts et XML dOC qu'il ont extrait de leur simu "usine"

Je te fais une liste de ce qui ne va pas!!! Pour mémoire TOUT répond avec SIOC MONITOR.

MIP

CHRONOS bloquent tout le MIP au bout de 5 minutes si branchés en USB
MAIN PANEL DUS côté F/O ne fonctionne pas (la partie LOWER DU fonctionne).
Light Test ne communique pas avec le pedestal. Les FIRE WARN ne s'allument pas et les 2 annonciateurs côté F/O non plus).
Les boutons en bas des EFIS ne correspondent pas aux actions sur les PFD/ND.

PEDESTAL:

FIRE PANEL ne fonctionne pas
CARGO ne fonctionne pas
RADAR ne fonctionne pas
ATC fonctionne partiellement (le bouton de sélection TCAS est inactif)
AUDIO MIC SELECTOR ne fonctionne pas
STAB TRIM et DOOR ne fonctionne pas
Les boutons "TEST" des NAV et VHF ne fonctionnent pas


Voilà  le Script...


Code:
// *****************************************************************************
// * Config_SIOC ver 5.1   -     By Manuel Velez    -    www.opencockpits.com
// *****************************************************************************
// * FileName : sioc.txt
// * Date : 02/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
}

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 27     // #SC#Script B737 ProSim EF#

Var 0505, name 4I_E1_WPT, static, Link IOCARD_SW, Device 1, Input 28     // #SC#Script B737 ProSim EF#

Var 0506, name 4I_E1_CTR, 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 0508, name 4I_E1_TFC, static, Link IOCARD_SW, Device 1, Input 31     // #SC#Script B737 ProSim EF#

Var 0509, name 4I_E1_DATA, static, Link IOCARD_SW, Device 1, Input 32     // #SC#Script B737 ProSim EF#

Var 0510, name 4I_E1_POS, static, Link IOCARD_SW, Device 1, Input 33     // #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 4I_E1_QNHSTD, static

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 4I_E1_CHGBARO, static

Var 0521, name 4I_E1_TERR, static

Var 0522, name 4I_E1_WXR, static

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
    {
      &4I_E1_QNHSTD = 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
  {
    &4I_E1_CHGBARO = V0555 * -1
    &4I_E1_CHGBARO = 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 27     // #SC#Script B737 ProSim EF#

Var 0605, name 5I_E2_WPT, static, Link IOCARD_SW, Device 2, Input 28     // #SC#Script B737 ProSim EF#

Var 0606, name 5I_E2_CTR, 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 0608, name 5I_E2_TFC, static, Link IOCARD_SW, Device 2, Input 31     // #SC#Script B737 ProSim EF#

Var 0609, name 5I_E2_DATA, static, Link IOCARD_SW, Device 2, Input 32     // #SC#Script B737 ProSim EF#

Var 0610, name 5I_E2_POS, static, Link IOCARD_SW, Device 2, Input 33     // #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 5I_E2_QNHSTD, static

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 5I_E2_CHGBARO, static

Var 0621, name 5I_E2_TERR, static

Var 0622, name 5I_E2_WXR, static

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
    {
      &5I_E2_QNHSTD = 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
  {
    &5I_E2_CHGBARO = V0655 * -1
    &5I_E2_CHGBARO = 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
}


Et les XML...!!!


Code:
[== XML ==]
<?xml version="1.0" encoding="UTF-8"?>

-<config>


-<hardware>

<s'ystem encoders="0" analog="0" numerical="false" lcd="false" gauge="false" outputs="0" inputs="1" serial="" type="[System]"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="8 bit U" type="FSUIPC"/>

<fsuipc encoders="1" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="8 bit S" type="FSUIPC"/>

<fsuipc encoders="1" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="16 bit S" type="FSUIPC"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="16 bit U" type="FSUIPC"/>

<fsuipc encoders="1" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="32 bit S" type="FSUIPC"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="32 bit U" type="FSUIPC"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="0" serial="Float 32" type="FSUIPC"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="0" serial="Float 64" type="FSUIPC"/>

<iocp encoders="9999" analog="9999" numerical="true" lcd="false" gauge="true" outputs="9999" inputs="9999" serial="0" type="IOCP"/>

<directinput encoders="0" analog="8" numerical="false" lcd="false" gauge="false" outputs="0" inputs="8" serial="003dcd20-b019-11e6-8002-444553540000" type="vJoy Device"/>

<directinput encoders="0" analog="3" numerical="false" lcd="false" gauge="false" outputs="0" inputs="0" serial="d4f01d30-e11b-11e4-8001-444553540000" type="CH PRO PEDALS USB "/>

<directinput encoders="0" analog="2" numerical="false" lcd="false" gauge="false" outputs="0" inputs="32" serial="30fec7d0-b0bd-11e6-8001-444553540000" type="737YOKE-LE by ACE"/>

<pokeys encoders="24" analog="7" numerical="true" lcd="true" gauge="false" outputs="55" inputs="55" serial="25740" type="Pokeys"/>

<genericCOMport encoders="9999" analog="9999" numerical="true" lcd="false" gauge="false" outputs="9999" inputs="9999" serial="TCP" type="Generic driver"/>

<genericCOMport encoders="9999" analog="9999" numerical="true" lcd="false" gauge="false" outputs="9999" inputs="9999" serial="COM3" type="Generic COM port "/>

<flightIllusion encoders="0" analog="0" numerical="false" lcd="false" gauge="true" outputs="0" inputs="0" serial="0" type="Flight Illusion"/>

<directinput encoders="0" analog="4" numerical="false" lcd="false" gauge="false" outputs="0" inputs="16" serial="ae3879b0-9eb7-11e7-8001-444553540000" type="T.16000M"/>

</hardware>


-<mappings>


-<mapping connection="Audio addon PMDG_737_Cockpit.wav input Active">

<gateInput serial="" type="SWITCH" port="621"/>

</mapping>


-<mapping connection="Audio addon PMDG_737_APUStartup.wav input Active">

<gateInput serial="" type="SWITCH" port="622"/>

</mapping>


-<mapping connection="ASA A/P reset Capt Pushed">

<iocp serial="0" port="2112"/>

</mapping>


-<mapping connection="ASA A/T reset Capt Pushed">

<iocp serial="0" port="2114"/>

</mapping>


-<mapping connection="ASA FMC reset Capt Pushed">

<iocp serial="0" port="2116"/>

</mapping>


-<mapping connection="ASA Test Capt 1">

<iocp serial="0" port="2120"/>

</mapping>


-<mapping connection="ASA Test Capt 2">

<iocp serial="0" port="2122"/>

</mapping>


-<mapping connection="ASA A/P Amber Capt">

<iocp serial="0" port="2180"/>

</mapping>


-<mapping connection="Fire warning 1">

<iocp serial="0" port="2200"/>

</mapping>


-<mapping connection="Master caution 1">

<iocp serial="0" port="2204"/>

</mapping>


-<mapping connection="Autobrake Off">

<iocp serial="0" port="2060"/>

</mapping>


-<mapping connection="Autobrake RTO">

<iocp serial="0" port="2058"/>

</mapping>


-<mapping connection="Autobrake 1">

<iocp serial="0" port="2062"/>

</mapping>


-<mapping connection="Autobrake 2">

<iocp serial="0" port="2064"/>

</mapping>


-<mapping connection="Autobrake 3">

<iocp serial="0" port="2066"/>

</mapping>


-<mapping connection="Autobrake Max">

<iocp serial="0" port="2068"/>

</mapping>


-<mapping connection="Fire warning 1 Pushed">

<iocp serial="0" port="2134"/>

</mapping>


-<mapping connection="Fuel flow Used">

<iocp serial="0" port="2038"/>

</mapping>


-<mapping connection="Fuel flow Reset">

<iocp serial="0" port="2040"/>

</mapping>


-<mapping connection="Gear Down">

<iocp serial="0" port="2152"/>

</mapping>


-<mapping connection="Gear Up">

<iocp serial="0" port="2150"/>

</mapping>


-<mapping connection="Light Test Dim">

<iocp serial="0" port="2146"/>

</mapping>


-<mapping connection="Light Test Test">

<iocp serial="0" port="2148"/>

</mapping>


-<mapping connection="Lower DU Capt Norm">

<iocp serial="0" port="2092"/>

</mapping>


-<mapping connection="Lower DU Capt ND">

<iocp serial="0" port="2094"/>

</mapping>


-<mapping connection="Lower DU Capt Eng Pri">

<iocp serial="0" port="2090"/>

</mapping>


-<mapping connection="Main Panel DUs Capt Norm">

<iocp serial="0" port="2082"/>

</mapping>


-<mapping connection="Main Panel DUs Capt Outbd PFD">

<iocp serial="0" port="2080"/>

</mapping>


-<mapping connection="Main Panel DUs Capt Eng Pri">

<iocp serial="0" port="2084"/>

</mapping>


-<mapping connection="Main Panel DUs Capt PFD">

<iocp serial="0" port="2086"/>

</mapping>


-<mapping connection="Main Panel DUs Capt MFD">

<iocp serial="0" port="2088"/>

</mapping>


-<mapping connection="Master caution 1 Pushed">

<iocp serial="0" port="2138"/>

</mapping>


-<mapping connection="MFD ENG Pushed">

<iocp serial="0" port="2070"/>

</mapping>


-<mapping connection="MFD SYS Pushed">

<iocp serial="0" port="2072"/>

</mapping>


-<mapping connection="N1 SET AUTO">

<iocp serial="0" port="2032"/>

</mapping>


-<mapping connection="N1 SET 1">

<iocp serial="0" port="2030"/>

</mapping>


-<mapping connection="N1 SET 2">

<iocp serial="0" port="2028"/>

</mapping>


-<mapping connection="N1 SET Both">

<iocp serial="0" port="2034"/>

</mapping>


-<mapping connection="Recall 1 Pushed">

<iocp serial="0" port="2142"/>

</mapping>


-<mapping connection="SPD REF AUTO">

<iocp serial="0" port="2042"/>

</mapping>


-<mapping connection="SPD REF V1">

<iocp serial="0" port="2044"/>

</mapping>


-<mapping connection="SPD REF VR">

<iocp serial="0" port="2046"/>

</mapping>


-<mapping connection="SPD REF WT">

<iocp serial="0" port="2048"/>

</mapping>


-<mapping connection="SPD REF VREF">

<iocp serial="0" port="2050"/>

</mapping>


-<mapping connection="SPD REF BUG">

<iocp serial="0" port="2052"/>

</mapping>


-<mapping connection="SPD REF SET">

<iocp serial="0" port="2054"/>

</mapping>


-<mapping connection="Anti skid INOP">

<iocp serial="0" port="2022"/>

</mapping>


-<mapping connection="ASA A/P Red Capt">

<iocp serial="0" port="2182"/>

</mapping>


-<mapping connection="ASA A/T Amber Capt">

<iocp serial="0" port="2184"/>

</mapping>


-<mapping connection="ASA A/T Red Capt">

<iocp serial="0" port="2186"/>

</mapping>


-<mapping connection="ASA FMC Capt">

<iocp serial="0" port="2188"/>

</mapping>


-<mapping connection="Autobrake disarm">

<iocp serial="0" port="2020"/>

</mapping>


-<mapping connection="Below GS CP">

<iocp serial="0" port="2232"/>

</mapping>


-<mapping connection="Gear left">

<iocp serial="0" port="2248"/>

</mapping>


-<mapping connection="Gear left transit">

<iocp serial="0" port="2244"/>

</mapping>


-<mapping connection="Gear nose">

<iocp serial="0" port="2242"/>

</mapping>


-<mapping connection="Gear nose transit">

<iocp serial="0" port="2240"/>

</mapping>


-<mapping connection="Gear right">

<iocp serial="0" port="2250"/>

</mapping>


-<mapping connection="Gear right transit">

<iocp serial="0" port="2246"/>

</mapping>


-<mapping connection="LE Flap Extend">

<iocp serial="0" port="2026"/>

</mapping>


-<mapping connection="LE Flap Transit">

<iocp serial="0" port="2024"/>

</mapping>


-<mapping connection="Speed brake do not arm">

<iocp serial="0" port="2236"/>

</mapping>


-<mapping connection="Spoiler Armed">

<iocp serial="0" port="2234"/>

</mapping>


-<mapping connection="Stab out of trim">

<iocp serial="0" port="2238"/>

</mapping>


-<mapping connection="Warn APU">

<iocp serial="0" port="2214"/>

</mapping>


-<mapping connection="Warn ELEC">

<iocp serial="0" port="2210"/>

</mapping>


-<mapping connection="Warn FLT_CONT">

<iocp serial="0" port="2208"/>

</mapping>


-<mapping connection="Warn FUEL">

<iocp serial="0" port="2216"/>

</mapping>


-<mapping connection="Warn IRS">

<iocp serial="0" port="2212"/>

</mapping>


-<mapping connection="Warn OVHT_DET">

<iocp serial="0" port="2218"/>

</mapping>


-<mapping connection="Flap">


-<iocp serial="0" port="2075">


-<calibrator>

<calibration margin="0" output="175" input="0"/>

<calibration margin="0" output="220" input="1"/>

<calibration margin="0" output="453" input="2"/>

<calibration margin="0" output="562" input="3"/>

<calibration margin="0" output="669" input="4"/>

<calibration margin="0" output="696" input="5"/>

<calibration margin="0" output="823" input="6"/>

<calibration margin="0" output="992" input="7"/>

<calibration margin="0" output="1011" input="8"/>

</calibrator>

</iocp>

</mapping>


-<mapping connection="Flap right">


-<iocp serial="0" port="2076">


-<calibrator>

<calibration margin="0" output="0" input="0"/>

<calibration margin="0" output="192" input="1"/>

<calibration margin="0" output="318" input="2"/>

<calibration margin="0" output="448" input="3"/>

<calibration margin="0" output="577" input="4"/>

<calibration margin="0" output="670" input="5"/>

<calibration margin="0" output="781" input="6"/>

<calibration margin="0" output="888" input="7"/>

<calibration margin="0" output="976" input="8"/>

</calibrator>

</iocp>

</mapping>


-<mapping connection="Yaw damper gauge">


-<iocp serial="0" port="2074">


-<calibrator>

<calibration margin="0" output="670" input="-10"/>

<calibration margin="0" output="412" input="0"/>

<calibration margin="0" output="226" input="10"/>

</calibrator>

</iocp>

</mapping>


-<mapping connection="ASA A/P reset F/O Pushed">

<iocp serial="0" port="2124"/>

</mapping>


-<mapping connection="ASA A/T reset F/O Pushed">

<iocp serial="0" port="2126"/>

</mapping>


-<mapping connection="ASA FMC reset F/O Pushed">

<iocp serial="0" port="2128"/>

</mapping>


-<mapping connection="ASA Test F/O 1">

<iocp serial="0" port="2130"/>

</mapping>


-<mapping connection="ASA Test F/O 2">

<iocp serial="0" port="2132"/>

</mapping>


-<mapping connection="ASA A/P Amber F/O">

<iocp serial="0" port="2190"/>

</mapping>


-<mapping connection="ASA A/P Red F/O">

<iocp serial="0" port="2192"/>

</mapping>


-<mapping connection="ASA A/T Amber F/O">

<iocp serial="0" port="2194"/>

</mapping>


-<mapping connection="ASA A/T Red F/O">

<iocp serial="0" port="2196"/>

</mapping>


-<mapping connection="ASA FMC F/O">

<iocp serial="0" port="2198"/>

</mapping>


-<mapping connection="Fire warning 2 Pushed">

<iocp serial="0" port="2136"/>

</mapping>


-<mapping connection="Flap inhibit Inhibit">

<iocp serial="0" port="2168"/>

</mapping>


-<mapping connection="Gear inhibit Inhibit">

<iocp serial="0" port="2170"/>

</mapping>


-<mapping connection="GPWS Sys test Pushed">

<iocp serial="0" port="2166"/>

</mapping>


-<mapping connection="Lower DU FO Norm">

<iocp serial="0" port="2098"/>

</mapping>


-<mapping connection="Lower DU FO ND">

<iocp serial="0" port="2096"/>

</mapping>


-<mapping connection="Lower DU FO Eng Pri">

<iocp serial="0" port="2100"/>

</mapping>


-<mapping connection="Main Panel DUs FO Norm">

<iocp serial="0" port="2098"/>

</mapping>


-<mapping connection="Main Panel DUs FO Outbd PFD">

<iocp serial="0" port="2110"/>

</mapping>


-<mapping connection="Main Panel DUs FO Eng Pri">

<iocp serial="0" port="2106"/>

</mapping>


-<mapping connection="Main Panel DUs FO PFD">

<iocp serial="0" port="2104"/>

</mapping>


-<mapping connection="Main Panel DUs FO MFD">

<iocp serial="0" port="2102"/>

</mapping>


-<mapping connection="Master caution 2 Pushed">

<iocp serial="0" port="2140"/>

</mapping>


-<mapping connection="Recall 2 Pushed">

<iocp serial="0" port="2144"/>

</mapping>


-<mapping connection="Terrain inhibit Inhibit">

<iocp serial="0" port="2172"/>

</mapping>


-<mapping connection="Fire warning 2">

<iocp serial="0" port="2202"/>

</mapping>


-<mapping connection="GPWS Inop">

<iocp serial="0" port="2256"/>

</mapping>


-<mapping connection="Master caution 2">

<iocp serial="0" port="2206"/>

</mapping>


-<mapping connection="Warn AIR_COND">

<iocp serial="0" port="2230"/>

</mapping>


-<mapping connection="Warn ANTI_ICE">

<iocp serial="0" port="2220"/>

</mapping>


-<mapping connection="Warn DOORS">

<iocp serial="0" port="2228"/>

</mapping>


-<mapping connection="Warn ENG">

<iocp serial="0" port="2222"/>

</mapping>


-<mapping connection="Warn HYD">

<iocp serial="0" port="2224"/>

</mapping>


-<mapping connection="Warn OVERHEAD">

<iocp serial="0" port="2226"/>

</mapping>


-<mapping connection="Brake pressure">


-<iocp serial="0" port="2077">


-<calibrator>

<calibration margin="0" output="199" input="0"/>

<calibration margin="0" output="397" input="1000"/>

<calibration margin="0" output="579" input="2000"/>

<calibration margin="0" output="772" input="3000"/>

<calibration margin="0" output="967" input="4000"/>

</calibrator>

</iocp>

</mapping>


-<mapping connection="Standby Attitude bank">


-<flightIllusion serial="0" type="SWITCH" port="0">


-<calibrator>

<calibration margin="0" output="512" input="-180"/>

<calibration margin="0" output="512" input="-90"/>

<calibration margin="0" output="512" input="-45"/>

<calibration margin="0" output="512" input="-25"/>

<calibration margin="0" output="512" input="0"/>

<calibration margin="0" output="512" input="25"/>

<calibration margin="0" output="512" input="45"/>

<calibration margin="0" output="512" input="90"/>

<calibration margin="0" output="512" input="180"/>

</calibrator>

</flightIllusion>

</mapping>


-<mapping connection="ASP ADF 1 vol Pushed">

<iocp serial="0" port="1456"/>

</mapping>


-<mapping connection="ASP ADF 2 vol Pushed">

<iocp serial="0" port="1458"/>

</mapping>


-<mapping connection="ASP filter mode V">

<iocp serial="0" port="1466"/>

</mapping>


-<mapping connection="ASP filter mode R">

<iocp serial="0" port="1468"/>

</mapping>


-<mapping connection="ASP FO ADF 1 vol Pushed">

<iocp serial="0" port="1484"/>

</mapping>


-<mapping connection="ASP FO ADF 2 vol Pushed">

<iocp serial="0" port="1486"/>

</mapping>


-<mapping connection="ASP FO Marker vol Pushed">

<iocp serial="0" port="1488"/>

</mapping>


-<mapping connection="ASP FO NAV 1 vol Pushed">

<iocp serial="0" port="1480"/>

</mapping>


-<mapping connection="ASP FO NAV 2 vol Pushed">

<iocp serial="0" port="1482"/>

</mapping>


-<mapping connection="ASP FO VHF 1 mic Pushed">

<iocp serial="0" port="1472"/>

</mapping>


-<mapping connection="ASP FO VHF 1 vol Pushed">

<iocp serial="0" port="1476"/>

</mapping>


-<mapping connection="ASP FO VHF 2 mic Pushed">

<iocp serial="0" port="1474"/>

</mapping>


-<mapping connection="ASP FO VHF 2 vol Pushed">

<iocp serial="0" port="1478"/>

</mapping>


-<mapping connection="ASP Marker vol Pushed">

<iocp serial="0" port="1460"/>

</mapping>


-<mapping connection="ASP NAV 1 vol Pushed">

<iocp serial="0" port="1452"/>

</mapping>


-<mapping connection="ASP NAV 2 vol Pushed">

<iocp serial="0" port="1454"/>

</mapping>


-<mapping connection="ASP VHF 1 mic Pushed">

<iocp serial="0" port="1444"/>

</mapping>


-<mapping connection="ASP VHF 1 vol Pushed">

<iocp serial="0" port="1448"/>

</mapping>


-<mapping connection="ASP VHF 2 mic Pushed">

<iocp serial="0" port="1446"/>

</mapping>


-<mapping connection="ASP VHF 2 vol Pushed">

<iocp serial="0" port="1450"/>

</mapping>


-<mapping connection="ASP2 filter mode V">

<iocp serial="0" port="1494"/>

</mapping>


-<mapping connection="ASP2 filter mode R">

<iocp serial="0" port="1496"/>

</mapping>


-<mapping connection="ASP ADF 1 vol">

<iocp serial="0" port="1224"/>

</mapping>


-<mapping connection="ASP ADF 2 vol">

<iocp serial="0" port="1226"/>

</mapping>


-<mapping connection="ASP FO ADF 1 vol">

<iocp serial="0" port="1242"/>

</mapping>


-<mapping connection="ASP FO ADF 2 vol">

<iocp serial="0" port="1244"/>

</mapping>


-<mapping connection="ASP FO Marker vol">

<iocp serial="0" port="1246"/>

</mapping>


-<mapping connection="ASP FO NAV 1 vol">

<iocp serial="0" port="1238"/>

</mapping>


-<mapping connection="ASP FO NAV 2 vol">

<iocp serial="0" port="1240"/>

</mapping>


-<mapping connection="ASP FO VHF 1 mic">

<iocp serial="0" port="1230"/>

</mapping>


-<mapping connection="ASP FO VHF 1 vol">

<iocp serial="0" port="1234"/>

</mapping>


-<mapping connection="ASP FO VHF 2 mic">

<iocp serial="0" port="1232"/>

</mapping>


-<mapping connection="ASP FO VHF 2 vol">

<iocp serial="0" port="1236"/>

</mapping>


-<mapping connection="ASP Marker vol">

<iocp serial="0" port="1228"/>

</mapping>


-<mapping connection="ASP NAV 1 vol">

<iocp serial="0" port="1220"/>

</mapping>


-<mapping connection="ASP NAV 2 vol">

<iocp serial="0" port="1222"/>

</mapping>


-<mapping connection="ASP VHF 1 mic">

<iocp serial="0" port="2374"/>

</mapping>


-<mapping connection="ASP VHF 1 vol">

<iocp serial="0" port="2378"/>

</mapping>


-<mapping connection="ASP VHF 2 mic">

<iocp serial="0" port="2376"/>

</mapping>


-<mapping connection="ASP VHF 2 vol">

<iocp serial="0" port="2380"/>

</mapping>


-<mapping connection="Bell cutout Pushed">

<iocp serial="0" port="1508"/>

</mapping>


-<mapping connection="Cargo fire aft selector Norm">

<iocp serial="0" port="1544"/>

</mapping>


-<mapping connection="Cargo fire aft selector A">

<iocp serial="0" port="1542"/>

</mapping>


-<mapping connection="Cargo fire aft selector B">

<iocp serial="0" port="1546"/>

</mapping>


-<mapping connection="Cargo fire arm aft Pushed">

<iocp serial="0" port="1550"/>

</mapping>


-<mapping connection="Cargo fire arm fwd Pushed">

<iocp serial="0" port="1548"/>

</mapping>


-<mapping connection="Cargo fire disch Pushed">

<iocp serial="0" port="1554"/>

</mapping>


-<mapping connection="Cargo fire fwd selector Norm">

<iocp serial="0" port="1538"/>

</mapping>


-<mapping connection="Cargo fire fwd selector A">

<iocp serial="0" port="1536"/>

</mapping>


-<mapping connection="Cargo fire fwd selector B">

<iocp serial="0" port="1540"/>

</mapping>


-<mapping connection="Cargo fire test Pushed">

<iocp serial="0" port="1552"/>

</mapping>


-<mapping connection="Fire Ext test 1">

<iocp serial="0" port="1514"/>

</mapping>


-<mapping connection="Fire Ext test 2">

<iocp serial="0" port="1516"/>

</mapping>


-<mapping connection="Fire handle APU Off">

<iocp serial="0" port="1524"/>

</mapping>


-<mapping connection="Fire handle APU Left">

<iocp serial="0" port="1526"/>

</mapping>


-<mapping connection="Fire handle APU Right">

<iocp serial="0" port="1528"/>

</mapping>


-<mapping connection="Fire handle Engine 1 Off">

<iocp serial="0" port="1518"/>

</mapping>


-<mapping connection="Fire handle Engine 1 Left">

<iocp serial="0" port="1520"/>

</mapping>


-<mapping connection="Fire handle Engine 1 Right">

<iocp serial="0" port="1522"/>

</mapping>


-<mapping connection="Fire handle Engine 2 Off">

<iocp serial="0" port="1530"/>

</mapping>


-<mapping connection="Fire handle Engine 2 Left">

<iocp serial="0" port="1532"/>

</mapping>


-<mapping connection="Fire handle Engine 2 Right">

<iocp serial="0" port="1534"/>

</mapping>


-<mapping connection="Ovht Det left A">

<iocp serial="0" port="1500"/>

</mapping>


-<mapping connection="Ovht Det left B">

<iocp serial="0" port="1502"/>

</mapping>


-<mapping connection="Ovht Det right A">

<iocp serial="0" port="1510"/>

</mapping>


-<mapping connection="Ovht Det right B">

<iocp serial="0" port="1512"/>

</mapping>


-<mapping connection="Ovht test Fault/Inop">

<iocp serial="0" port="1506"/>

</mapping>


-<mapping connection="Ovht test Ovht/Fire">

<iocp serial="0" port="1504"/>

</mapping>


-<mapping connection="Radio TFR COM1 Pushed">

<iocp serial="0" port="404"/>

</mapping>


-<mapping connection="Radio TFR COM2 Pushed">

<iocp serial="0" port="406"/>

</mapping>


-<mapping connection="Radio TFR NAV1 Pushed">

<iocp serial="0" port="412"/>

</mapping>


-<mapping connection="Radio TFR NAV2 Pushed">

<iocp serial="0" port="414"/>

</mapping>


-<mapping connection="Transponder 1 Active">

<iocp serial="0" port="2356"/>

</mapping>


-<mapping connection="Transponder 2 Active">

<iocp serial="0" port="2358"/>

</mapping>


-<mapping connection="Stab trim override Override">

<iocp serial="0" port="1556"/>

</mapping>


-<mapping connection="TCAS Stdby">

<iocp serial="0" port="1434"/>

</mapping>


-<mapping connection="TCAS Alt rptg off">

<iocp serial="0" port="1436"/>

</mapping>


-<mapping connection="TCAS XPDR">

<iocp serial="0" port="1438"/>

</mapping>


-<mapping connection="TCAS TA">

<iocp serial="0" port="1440"/>

</mapping>


-<mapping connection="TCAS TA/RA">

<iocp serial="0" port="1442"/>

</mapping>


-<mapping connection="Weather Radar Mode WX+T">

<iocp serial="0" port="1574"/>

</mapping>


-<mapping connection="Weather Radar Mode WX">

<iocp serial="0" port="1572"/>

</mapping>


-<mapping connection="XPDR Ident Pushed">

<iocp serial="0" port="1428"/>

</mapping>


-<mapping connection="APU bottle discharged">

<iocp serial="0" port="1250"/>

</mapping>


-<mapping connection="APU bottle indicator">

<iocp serial="0" port="1272"/>

</mapping>


-<mapping connection="APU fire handle light">

<iocp serial="0" port="1266"/>

</mapping>


-<mapping connection="APU Overspeed">

<iocp serial="0" port="5206"/>

</mapping>


-<mapping connection="Cargo fire armed aft">

<iocp serial="0" port="1282"/>

</mapping>


-<mapping connection="Cargo fire armed fwd">

<iocp serial="0" port="1286"/>

</mapping>


-<mapping connection="Cargo fire detector fault">

<iocp serial="0" port="1288"/>

</mapping>


-<mapping connection="Cargo fire disch light">

<iocp serial="0" port="1278"/>

</mapping>


-<mapping connection="Cargo fire ext light aft">

<iocp serial="0" port="1292"/>

</mapping>


-<mapping connection="Cargo fire ext light fwd">

<iocp serial="0" port="1290"/>

</mapping>


-<mapping connection="Cargo fire indicator aft">

<iocp serial="0" port="1280"/>

</mapping>


-<mapping connection="Cargo fire indicator fwd">

<iocp serial="0" port="1284"/>

</mapping>


-<mapping connection="Door auto unlock">

<iocp serial="0" port="1296"/>

</mapping>


-<mapping connection="Door lock fail">

<iocp serial="0" port="1294"/>

</mapping>


-<mapping connection="Engine 1 fire handle light">

<iocp serial="0" port="1264"/>

</mapping>


-<mapping connection="Engine 1 overheat">

<iocp serial="0" port="1248"/>

</mapping>


-<mapping connection="Engine 2 fire handle light">

<iocp serial="0" port="1268"/>

</mapping>


-<mapping connection="Engine 2 overheat">

<iocp serial="0" port="1258"/>

</mapping>


-<mapping connection="Fire APU Det Inop">

<iocp serial="0" port="1252"/>

</mapping>


-<mapping connection="Fire Fault">

<iocp serial="0" port="1254"/>

</mapping>


-<mapping connection="Fire Wheel well">

<iocp serial="0" port="1256"/>

</mapping>


-<mapping connection="L bottle discharged">

<iocp serial="0" port="1260"/>

</mapping>


-<mapping connection="L bottle indicator">

<iocp serial="0" port="1270"/>

</mapping>


-<mapping connection="R bottle discharged">

<iocp serial="0" port="1262"/>

</mapping>


-<mapping connection="R bottle indicator">

<iocp serial="0" port="1274"/>

</mapping>


-<mapping connection="Radio freq ADF1">

<iocp serial="0" port="2324"/>

</mapping>


-<mapping connection="Radio freq ADF2">

<iocp serial="0" port="2336"/>

</mapping>


-<mapping connection="Chrono capt CHR Pushed">

<iocp serial="0" port="2301"/>

</mapping>


-<mapping connection="Chrono capt Date/Time Pushed">

<iocp serial="0" port="2302"/>

</mapping>


-<mapping connection="Chrono capt SET Pushed">

<iocp serial="0" port="2305"/>

</mapping>


-<mapping connection="Chrono capt + Pushed">

<iocp serial="0" port="2306"/>

</mapping>


-<mapping connection="Chrono capt - Pushed">

<iocp serial="0" port="2309"/>

</mapping>


-<mapping connection="Chrono capt RESET Pushed">

<iocp serial="0" port="2310"/>

</mapping>


-<mapping connection="Chrono capt ET Pushed">

<iocp serial="0" port="2313"/>

</mapping>


-<mapping connection="Chrono capt 7seg upper left">

<iocp serial="0" port="2325"/>

</mapping>


-<mapping connection="Chrono capt 7seg upper right">

<iocp serial="0" port="2328"/>

</mapping>


-<mapping connection="Chrono capt 7seg lower right">

<iocp serial="0" port="2330"/>

</mapping>


-<mapping connection="Chrono capt 7seg lower left">

<iocp serial="0" port="2332"/>

</mapping>


-<mapping connection="Chrono capt label ET">

<iocp serial="0" port="2337"/>

</mapping>


-<mapping connection="Chrono capt label CHR">

<iocp serial="0" port="2339"/>

</mapping>


-<mapping connection="Chrono capt label TIME">

<iocp serial="0" port="2340"/>

</mapping>


-<mapping connection="Chrono f/o CHR Pushed">

<iocp serial="0" port="2360"/>

</mapping>


-<mapping connection="Chrono f/o Date/Time Pushed">

<iocp serial="0" port="2362"/>

</mapping>


-<mapping connection="Chrono f/o SET Pushed">

<iocp serial="0" port="2364"/>

</mapping>


-<mapping connection="Chrono f/o + Pushed">

<iocp serial="0" port="2366"/>

</mapping>


-<mapping connection="Chrono f/o - Pushed">

<iocp serial="0" port="2368"/>

</mapping>


-<mapping connection="Chrono f/o RESET Pushed">

<iocp serial="0" port="2370"/>

</mapping>


-<mapping connection="Chrono f/o ET Pushed">

<iocp serial="0" port="2372"/>

</mapping>


-<mapping connection="Chrono f/o 7seg upper left">

<iocp serial="0" port="2385"/>

</mapping>


-<mapping connection="Chrono f/o 7seg upper right">

<iocp serial="0" port="2389"/>

</mapping>


-<mapping connection="Chrono f/o 7seg lower right">

<iocp serial="0" port="2391"/>

</mapping>


-<mapping connection="Chrono f/o 7seg lower left">

<iocp serial="0" port="2393"/>

</mapping>


-<mapping connection="Chrono f/o label ET">

<iocp serial="0" port="2397"/>

</mapping>


-<mapping connection="Chrono f/o label CHR">

<iocp serial="0" port="2399"/>

</mapping>


-<mapping connection="Chrono f/o label TIME">

<iocp serial="0" port="2401"/>

</mapping>


-<mapping connection="Radio freq COM1">

<iocp serial="0" port="2300"/>

</mapping>


-<mapping connection="Radio freq COM2">

<iocp serial="0" port="2308"/>

</mapping>


-<mapping connection="Radio freq NAV1">

<iocp serial="0" port="2316"/>

</mapping>


-<mapping connection="Radio freq NAV2">

<iocp serial="0" port="2320"/>

</mapping>


-<mapping connection="Radio freq XPDR">

<iocp serial="0" port="2348"/>

</mapping>


-<mapping connection="XPDR Fail">

<iocp serial="0" port="2352"/>

</mapping>


-<mapping connection="Radio XPDR inner shaft left">

<iocp serial="0" port="2498"/>

</mapping>


-<mapping connection="Radio XPDR inner shaft right">

<iocp serial="0" port="2500"/>

</mapping>


-<mapping connection="Radio XPDR outer shaft left">

<iocp serial="0" port="2502"/>

</mapping>


-<mapping connection="Radio XPDR outer shaft right">

<iocp serial="0" port="2504"/>

</mapping>


-<mapping connection="XPDR Ident Pushed">

<iocp serial="0" port="428"/>

</mapping>


-<mapping connection="XPDR selector 1">

<iocp serial="0" port="2539"/>

</mapping>


-<mapping connection="XPDR selector 2">

<iocp serial="0" port="2540"/>

</mapping>


-<mapping connection="XPDR ALT source 1">

<iocp serial="0" port="2541"/>

</mapping>


-<mapping connection="XPDR ALT source 2">

<iocp serial="0" port="2542"/>

</mapping>


-<mapping connection="Radio standby freq ADF1">

<iocp serial="0" port="1118"/>

</mapping>


-<mapping connection="Radio standby freq ADF2">

<iocp serial="0" port="1130"/>

</mapping>


-<mapping connection="Radio standby freq COM1">

<iocp serial="0" port="1102"/>

</mapping>


-<mapping connection="Radio standby freq COM2">

<iocp serial="0" port="1106"/>

</mapping>


-<mapping connection="Radio standby freq NAV1">

<iocp serial="0" port="1110"/>

</mapping>


-<mapping connection="Radio standby freq NAV2">

<iocp serial="0" port="1114"/>

</mapping>


-<mapping connection="Radio ADF1 inner shaft">

<iocp serial="0" port="366"/>

</mapping>


-<mapping connection="Radio ADF1 outer shaft">

<iocp serial="0" port="368"/>

</mapping>


-<mapping connection="Radio TFR ADF1 Pushed">

<iocp serial="0" port="3172"/>

</mapping>


-<mapping connection="Radio ADF2 inner shaft">

<iocp serial="0" port="370"/>

</mapping>


-<mapping connection="Radio ADF2 outer shaft">

<iocp serial="0" port="372"/>

</mapping>


-<mapping connection="Radio TFR ADF2 Pushed">

<iocp serial="0" port="3202"/>

</mapping>


-<mapping connection="Radio COM1 inner shaft">

<iocp serial="0" port="350"/>

</mapping>


-<mapping connection="Radio COM1 outer shaft">

<iocp serial="0" port="352"/>

</mapping>


-<mapping connection="Radio TEST COM1 Pushed">

<iocp serial="0" port="3018"/>

</mapping>


-<mapping connection="Radio COM2 inner shaft">

<iocp serial="0" port="354"/>

</mapping>


-<mapping connection="Radio COM2 outer shaft">

<iocp serial="0" port="356"/>

</mapping>


-<mapping connection="Radio TEST COM2 Pushed">

<iocp serial="0" port="3068"/>

</mapping>


-<mapping connection="Radio NAV1 inner shaft">

<iocp serial="0" port="358"/>

</mapping>


-<mapping connection="Radio NAV1 outer shaft">

<iocp serial="0" port="360"/>

</mapping>


-<mapping connection="Radio TEST NAV1 Pushed">

<iocp serial="0" port="3114"/>

</mapping>


-<mapping connection="Radio NAV2 inner shaft">

<iocp serial="0" port="362"/>

</mapping>


-<mapping connection="Radio NAV2 outer shaft">

<iocp serial="0" port="364"/>

</mapping>


-<mapping connection="Radio TEST NAV2 Pushed">

<iocp serial="0" port="3144"/>

</mapping>


-<mapping connection="Weather Radar Gain">

<iocp serial="0" port="1578"/>

</mapping>


-<mapping connection="Weather Radar Tilt">

<iocp serial="0" port="1580"/>

</mapping>


-<mapping connection="Panel lights flood">

<iocp serial="0" port="1576"/>

</mapping>


-<mapping connection="Rudder trim gauge">


-<iocp serial="0" port="1582">


-<calibrator>

<calibration margin="0" output="439" input="-10"/>

<calibration margin="0" output="481" input="0"/>

<calibration margin="0" output="517" input="10"/>

</calibrator>

</iocp>

</mapping>

</mappings>


-<leds>

<intensit'y low="80" high="40" color="YELLOW"/>

<intensit'y low="80" high="40" color="BLUE"/>

<intensit'y low="80" high="40" color="GREEN"/>

<intensit'y low="80" high="40" color="RED"/>

<intensit'y low="80" high="40" color="WARNING_RED"/>

<intensit'y low="80" high="40" color="WARNING_YELLOW"/>

<intensit'y low="80" high="40" color="WHITE"/>

</leds>

<showQuickstart value="true"/>

<startMinimized value="false"/>

<allowNegativeFreq value="true"/>

<debugMode value="false"/>

<autoRestart value="true"/>

<situation value="Ready"/>

<autoFailure amount="0"/>

<webserver port="8080"/>

<acars printMarginTop="0" printMarginLeft="0" t'ailNumber="" profile="Silent" host="acars.prosim-ar.com"/>

<logLevel level="Normal"/>

<updates level="1"/>

<gaugeSmoothing value="50"/>


-<viewpoints>

<capt'ain heading="0" bank="0" pitch="0" z="0" y="0" x="0"/>

<center heading="0" bank="0" pitch="0" z="0" y="0" x="0"/>

<firstOfficer heading="0" bank="0" pitch="0" z="0" y="0" x="0"/>

</viewpoints>

<speedbrakeServoFree value="false"/>

<simulator value="MSFS"/>


-<audioAddons>

<item autoFade="false" continuous="false" fadeOut="" fadeIn="" file="C:\Program Files (x86)\Lockheed Martin\Prepar3D v2\sound\PMDG\737NGX\Various\PMDG_737_Cockpit.wav" name="PMDG_737_Cockpit.wav"/>

<item autoFade="false" continuous="false" fadeOut="" fadeIn="" file="C:\Program Files (x86)\Lockheed Martin\Prepar3D v2\sound\PMDG\737NGX\Various\PMDG_737_APUStartup.wav" name="PMDG_737_APUStartup.wav"/>

</audioAddons>

<compan'yRouteSources/>

<requiredHardware/>

<genericCOMportSupport value="true" tcpGlobal="true" tcpPort="8091" dataBits="8" parit'y="None" stopBits="One" baud="115200"/>


-<CPFlight value="false">

<sendGaugeData>true</sendGaugeData>

<reverseRudderTrimGauge>true</reverseRudderTrimGauge>

</CPFlight>

<CPFlightDirect/>

<directInputEnabled value="true"/>


-<ehid>

<brightness>100</brightness>

</ehid>


-<fds value="false" mcpSupport="false">

<encoders reverse11="false" reverse10="false" reverse9="false" reverse8="false" reverse7="false" reverse6="false" reverse5="false" reverse4="false" reverse3="false" reverse2="false" reverse1="false"/>

</fds>

<fscStickShaker/>

<flightIllusionPort port="COM3" altSpeedCombined="false"/>

<flightIllusionPort port="[Not installed]" altSpeedCombined="false"/>

<fsbusPort/>

<fsuipcSupport value="true"/>

<goflightSupport value="false"/>

<ICS inverseCrossfeed="false" delay="2"/>

<matrixOrbitalSupport value="false"/>

<phidgetSupport value="false" motorReverse2="false" motorReverse1="false" motorSpeed2="50" motorSpeed="50" currentLimit="Default" voltage="Default"/>

<pimOverhead port="[Not installed]"/>

<pimAlt/>

<pimIRS/>

<poldragonet port="[Not installed]" inverseMFD="false" inverseGear="false"/>

<poldragonetOverhead port="[Not installed]" manualConfigure="false"/>

<simio value="false"/>

<sims'ystems value="false"/>

<simworld value="false"/>


-<sismoSupport value="false" brightness="15">

<MCP hasEfisFo="true" hasEfisCpt="true"/>

</sismoSupport>

<VRInsightOvhdSupport/>

<IOCP port="8092" server="192.168.1.2"/>


-<pokeysSupport value="true" pokeysLog="false" pollerEnabled="false" udp="false" fastInterface="false" offload="false" autoConfig="false">

<inhibit/>

</pokeysSupport>

<pou value="true"/>

</config>
 
Une piste au passage pour les chronos qui bloquent tout, Maamar à  réussi à  les faire fonctionner en lançant un second SIOC, avec un numéro port de serveur différent qui ne se charge que des chronos ...
 
ok bn j'ai besoin de plus d'information !

niveau code et assignation prosim pour les variables static c'est bon ca correspond ...
pas de doublon dans les attributions devices non plus ...


j'ai besoin d'une confirmation sur lidx des chronos

eventuellement une copie decran de sioc au demarrage

et pour confirmer il me faut les numero dentrée dans sioc monitor :



Light Test ne communique pas avec le pedestal. Les FIRE WARN ne s'allument pas et les 2 annonciateurs côté F/O non plus).dans sioc monitor quel est le num dentrée du bouton light test ?
Les boutons en bas des EFIS ne correspondent pas aux actions sur les PFD/ND.
pareil numero dentrée a chaque appui dessus

PEDESTAL:

FIRE PANEL ne fonctionne pas
CARGO ne fonctionne pas
RADAR ne fonctionne pas
ATC fonctionne partiellement (le bouton de sélection TCAS est inactif)
AUDIO MIC SELECTOR ne fonctionne pas
STAB TRIM et DOOR ne fonctionne pas
Les boutons "TEST" des NAV et VHF ne fonctionnent pas

idem numero dentrée
 
bon jsuis dessus
pour les test fire dans sioc c'est correct par contre il manque toute la partie config feu dans le xml

par exemple la variable iocp tu test feu 1 sur le pedestal c'est la 2628 ....

ya des inversions pour certaines entrées pour les efis notament je suis entrain de modifier ...

pour latc transpondeur rien a signaler ... (bizarre)

on va y aller pas a pas parce que ya du boulot
 
modif pour les efis !

tu copie le code tu colle dans un fichier texte !

ensuite tu ouvre ton code SSI tu fais FILE IMPORT TXT puis tu choisis le fichier texte avec mon code

ensuite tu enregistre SUR LE MEME NOM QUE LE SSI AVAIT AVANT et sur le meme emplacement ...

Code:
[== 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
}

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

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

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

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

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
}
 
C'est BOOOOOOOOOONNNNNNNNNNNNNN!!!!!!!!!!!
:) :) :)

Je tenvoi un MP pour 2 petits points mais c'est parfait.... MERCIIIIIIIIIIIIII
 
nouvelle modif pour les efis meme manip !

Code:
[== 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
}
 
Pour le STD c'est réglé donc NI KEL!!!

Pour les VOR pas de changement mais ça n'est peut-être pas très gênant!!!
 
Mouais.... mais à  ce stade ça na pas une grande importance!!!

Eventuellement à  voir à  la fin si tu en as encore le courage!!! et la patience...
 
essaye ca pour voir

Code:
[== 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    
  &4E1NAV1 = 0    
  &4E1NAV2 = 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
}
 
tu peux charger cette modif du xml pour voir si ca change au niveau du pedestal ?

Code:
[== Indéfini ==]


[== XML ==]
<?xml version="1.0" encoding="UTF-8"?>

-<config>


-<hardware>

<s'ystem encoders="0" analog="0" numerical="false" lcd="false" gauge="false" outputs="0" inputs="1" serial="" type="[System]"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="8 bit U" type="FSUIPC"/>

<fsuipc encoders="1" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="8 bit S" type="FSUIPC"/>

<fsuipc encoders="1" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="16 bit S" type="FSUIPC"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="16 bit U" type="FSUIPC"/>

<fsuipc encoders="1" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="32 bit S" type="FSUIPC"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="65535" serial="32 bit U" type="FSUIPC"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="0" serial="Float 32" type="FSUIPC"/>

<fsuipc encoders="0" analog="1" numerical="true" lcd="false" gauge="true" outputs="65535" inputs="0" serial="Float 64" type="FSUIPC"/>

<iocp encoders="9999" analog="9999" numerical="true" lcd="false" gauge="true" outputs="9999" inputs="9999" serial="0" type="IOCP"/>

<directinput encoders="0" analog="8" numerical="false" lcd="false" gauge="false" outputs="0" inputs="8" serial="003dcd20-b019-11e6-8002-444553540000" type="vJoy Device"/>

<directinput encoders="0" analog="3" numerical="false" lcd="false" gauge="false" outputs="0" inputs="0" serial="d4f01d30-e11b-11e4-8001-444553540000" type="CH PRO PEDALS USB "/>

<directinput encoders="0" analog="2" numerical="false" lcd="false" gauge="false" outputs="0" inputs="32" serial="30fec7d0-b0bd-11e6-8001-444553540000" type="737YOKE-LE by ACE"/>

<pokeys encoders="24" analog="7" numerical="true" lcd="true" gauge="false" outputs="55" inputs="55" serial="25740" type="Pokeys"/>

<genericCOMport encoders="9999" analog="9999" numerical="true" lcd="false" gauge="false" outputs="9999" inputs="9999" serial="TCP" type="Generic driver"/>

<genericCOMport encoders="9999" analog="9999" numerical="true" lcd="false" gauge="false" outputs="9999" inputs="9999" serial="COM3" type="Generic COM port "/>

<flightIllusion encoders="0" analog="0" numerical="false" lcd="false" gauge="true" outputs="0" inputs="0" serial="0" type="Flight Illusion"/>

<directinput encoders="0" analog="4" numerical="false" lcd="false" gauge="false" outputs="0" inputs="16" serial="ae3879b0-9eb7-11e7-8001-444553540000" type="T.16000M"/>

</hardware>


-<mappings>


-<mapping connection="Audio addon PMDG_737_Cockpit.wav input Active">

<gateInput serial="" type="SWITCH" port="621"/>

</mapping>


-<mapping connection="Audio addon PMDG_737_APUStartup.wav input Active">

<gateInput serial="" type="SWITCH" port="622"/>

</mapping>


-<mapping connection="ASA A/P reset Capt Pushed">

<iocp serial="0" port="2112"/>

</mapping>


-<mapping connection="ASA A/T reset Capt Pushed">

<iocp serial="0" port="2114"/>

</mapping>


-<mapping connection="ASA FMC reset Capt Pushed">

<iocp serial="0" port="2116"/>

</mapping>


-<mapping connection="ASA Test Capt 1">

<iocp serial="0" port="2120"/>

</mapping>


-<mapping connection="ASA Test Capt 2">

<iocp serial="0" port="2122"/>

</mapping>


-<mapping connection="ASA A/P Amber Capt">

<iocp serial="0" port="2180"/>

</mapping>


-<mapping connection="Fire warning 1">

<iocp serial="0" port="2200"/>

</mapping>


-<mapping connection="Master caution 1">

<iocp serial="0" port="2204"/>

</mapping>


-<mapping connection="Autobrake Off">

<iocp serial="0" port="2060"/>

</mapping>


-<mapping connection="Autobrake RTO">

<iocp serial="0" port="2058"/>

</mapping>


-<mapping connection="Autobrake 1">

<iocp serial="0" port="2062"/>

</mapping>


-<mapping connection="Autobrake 2">

<iocp serial="0" port="2064"/>

</mapping>


-<mapping connection="Autobrake 3">

<iocp serial="0" port="2066"/>

</mapping>


-<mapping connection="Autobrake Max">

<iocp serial="0" port="2068"/>

</mapping>


-<mapping connection="Fire warning 1 Pushed">

<iocp serial="0" port="2134"/>

</mapping>


-<mapping connection="Fuel flow Used">

<iocp serial="0" port="2038"/>

</mapping>


-<mapping connection="Fuel flow Reset">

<iocp serial="0" port="2040"/>

</mapping>


-<mapping connection="Gear Down">

<iocp serial="0" port="2152"/>

</mapping>


-<mapping connection="Gear Up">

<iocp serial="0" port="2150"/>

</mapping>


-<mapping connection="Light Test Dim">

<iocp serial="0" port="2146"/>

</mapping>


-<mapping connection="Light Test Test">

<iocp serial="0" port="2148"/>

</mapping>


-<mapping connection="Lower DU Capt Norm">

<iocp serial="0" port="2092"/>

</mapping>


-<mapping connection="Lower DU Capt ND">

<iocp serial="0" port="2094"/>

</mapping>


-<mapping connection="Lower DU Capt Eng Pri">

<iocp serial="0" port="2090"/>

</mapping>


-<mapping connection="Main Panel DUs Capt Norm">

<iocp serial="0" port="2082"/>

</mapping>


-<mapping connection="Main Panel DUs Capt Outbd PFD">

<iocp serial="0" port="2080"/>

</mapping>


-<mapping connection="Main Panel DUs Capt Eng Pri">

<iocp serial="0" port="2084"/>

</mapping>


-<mapping connection="Main Panel DUs Capt PFD">

<iocp serial="0" port="2086"/>

</mapping>


-<mapping connection="Main Panel DUs Capt MFD">

<iocp serial="0" port="2088"/>

</mapping>


-<mapping connection="Master caution 1 Pushed">

<iocp serial="0" port="2138"/>

</mapping>


-<mapping connection="MFD ENG Pushed">

<iocp serial="0" port="2070"/>

</mapping>


-<mapping connection="MFD SYS Pushed">

<iocp serial="0" port="2072"/>

</mapping>


-<mapping connection="N1 SET AUTO">

<iocp serial="0" port="2032"/>

</mapping>


-<mapping connection="N1 SET 1">

<iocp serial="0" port="2030"/>

</mapping>


-<mapping connection="N1 SET 2">

<iocp serial="0" port="2028"/>

</mapping>


-<mapping connection="N1 SET Both">

<iocp serial="0" port="2034"/>

</mapping>


-<mapping connection="Recall 1 Pushed">

<iocp serial="0" port="2142"/>

</mapping>


-<mapping connection="SPD REF AUTO">

<iocp serial="0" port="2042"/>

</mapping>


-<mapping connection="SPD REF V1">

<iocp serial="0" port="2044"/>

</mapping>


-<mapping connection="SPD REF VR">

<iocp serial="0" port="2046"/>

</mapping>


-<mapping connection="SPD REF WT">

<iocp serial="0" port="2048"/>

</mapping>


-<mapping connection="SPD REF VREF">

<iocp serial="0" port="2050"/>

</mapping>


-<mapping connection="SPD REF BUG">

<iocp serial="0" port="2052"/>

</mapping>


-<mapping connection="SPD REF SET">

<iocp serial="0" port="2054"/>

</mapping>


-<mapping connection="Anti skid INOP">

<iocp serial="0" port="2022"/>

</mapping>


-<mapping connection="ASA A/P Red Capt">

<iocp serial="0" port="2182"/>

</mapping>


-<mapping connection="ASA A/T Amber Capt">

<iocp serial="0" port="2184"/>

</mapping>


-<mapping connection="ASA A/T Red Capt">

<iocp serial="0" port="2186"/>

</mapping>


-<mapping connection="ASA FMC Capt">

<iocp serial="0" port="2188"/>

</mapping>


-<mapping connection="Autobrake disarm">

<iocp serial="0" port="2020"/>

</mapping>


-<mapping connection="Below GS CP">

<iocp serial="0" port="2232"/>

</mapping>


-<mapping connection="Gear left">

<iocp serial="0" port="2248"/>

</mapping>


-<mapping connection="Gear left transit">

<iocp serial="0" port="2244"/>

</mapping>


-<mapping connection="Gear nose">

<iocp serial="0" port="2242"/>

</mapping>


-<mapping connection="Gear nose transit">

<iocp serial="0" port="2240"/>

</mapping>


-<mapping connection="Gear right">

<iocp serial="0" port="2250"/>

</mapping>


-<mapping connection="Gear right transit">

<iocp serial="0" port="2246"/>

</mapping>


-<mapping connection="LE Flap Extend">

<iocp serial="0" port="2026"/>

</mapping>


-<mapping connection="LE Flap Transit">

<iocp serial="0" port="2024"/>

</mapping>


-<mapping connection="Speed brake do not arm">

<iocp serial="0" port="2236"/>

</mapping>


-<mapping connection="Spoiler Armed">

<iocp serial="0" port="2234"/>

</mapping>


-<mapping connection="Stab out of trim">

<iocp serial="0" port="2238"/>

</mapping>


-<mapping connection="Warn APU">

<iocp serial="0" port="2214"/>

</mapping>


-<mapping connection="Warn ELEC">

<iocp serial="0" port="2210"/>

</mapping>


-<mapping connection="Warn FLT_CONT">

<iocp serial="0" port="2208"/>

</mapping>


-<mapping connection="Warn FUEL">

<iocp serial="0" port="2216"/>

</mapping>


-<mapping connection="Warn IRS">

<iocp serial="0" port="2212"/>

</mapping>


-<mapping connection="Warn OVHT_DET">

<iocp serial="0" port="2218"/>

</mapping>


-<mapping connection="Flap">


-<iocp serial="0" port="2075">


-<calibrator>

<calibration margin="0" output="175" input="0"/>

<calibration margin="0" output="220" input="1"/>

<calibration margin="0" output="453" input="2"/>

<calibration margin="0" output="562" input="3"/>

<calibration margin="0" output="669" input="4"/>

<calibration margin="0" output="696" input="5"/>

<calibration margin="0" output="823" input="6"/>

<calibration margin="0" output="992" input="7"/>

<calibration margin="0" output="1011" input="8"/>

</calibrator>

</iocp>

</mapping>


-<mapping connection="Flap right">


-<iocp serial="0" port="2076">


-<calibrator>

<calibration margin="0" output="0" input="0"/>

<calibration margin="0" output="192" input="1"/>

<calibration margin="0" output="318" input="2"/>

<calibration margin="0" output="448" input="3"/>

<calibration margin="0" output="577" input="4"/>

<calibration margin="0" output="670" input="5"/>

<calibration margin="0" output="781" input="6"/>

<calibration margin="0" output="888" input="7"/>

<calibration margin="0" output="976" input="8"/>

</calibrator>

</iocp>

</mapping>


-<mapping connection="Yaw damper gauge">


-<iocp serial="0" port="2074">


-<calibrator>

<calibration margin="0" output="670" input="-10"/>

<calibration margin="0" output="412" input="0"/>

<calibration margin="0" output="226" input="10"/>

</calibrator>

</iocp>

</mapping>


-<mapping connection="ASA A/P reset F/O Pushed">

<iocp serial="0" port="2124"/>

</mapping>


-<mapping connection="ASA A/T reset F/O Pushed">

<iocp serial="0" port="2126"/>

</mapping>


-<mapping connection="ASA FMC reset F/O Pushed">

<iocp serial="0" port="2128"/>

</mapping>


-<mapping connection="ASA Test F/O 1">

<iocp serial="0" port="2130"/>

</mapping>


-<mapping connection="ASA Test F/O 2">

<iocp serial="0" port="2132"/>

</mapping>


-<mapping connection="ASA A/P Amber F/O">

<iocp serial="0" port="2190"/>

</mapping>


-<mapping connection="ASA A/P Red F/O">

<iocp serial="0" port="2192"/>

</mapping>


-<mapping connection="ASA A/T Amber F/O">

<iocp serial="0" port="2194"/>

</mapping>


-<mapping connection="ASA A/T Red F/O">

<iocp serial="0" port="2196"/>

</mapping>


-<mapping connection="ASA FMC F/O">

<iocp serial="0" port="2198"/>

</mapping>


-<mapping connection="Fire warning 2 Pushed">

<iocp serial="0" port="2136"/>

</mapping>


-<mapping connection="Flap inhibit Inhibit">

<iocp serial="0" port="2168"/>

</mapping>


-<mapping connection="Gear inhibit Inhibit">

<iocp serial="0" port="2170"/>

</mapping>


-<mapping connection="GPWS Sys test Pushed">

<iocp serial="0" port="2166"/>

</mapping>


-<mapping connection="Lower DU FO Norm">

<iocp serial="0" port="2098"/>

</mapping>


-<mapping connection="Lower DU FO ND">

<iocp serial="0" port="2096"/>

</mapping>


-<mapping connection="Lower DU FO Eng Pri">

<iocp serial="0" port="2100"/>

</mapping>


-<mapping connection="Main Panel DUs FO Norm">

<iocp serial="0" port="2098"/>

</mapping>


-<mapping connection="Main Panel DUs FO Outbd PFD">

<iocp serial="0" port="2110"/>

</mapping>


-<mapping connection="Main Panel DUs FO Eng Pri">

<iocp serial="0" port="2106"/>

</mapping>


-<mapping connection="Main Panel DUs FO PFD">

<iocp serial="0" port="2104"/>

</mapping>


-<mapping connection="Main Panel DUs FO MFD">

<iocp serial="0" port="2102"/>

</mapping>


-<mapping connection="Master caution 2 Pushed">

<iocp serial="0" port="2140"/>

</mapping>


-<mapping connection="Recall 2 Pushed">

<iocp serial="0" port="2144"/>

</mapping>


-<mapping connection="Terrain inhibit Inhibit">

<iocp serial="0" port="2172"/>

</mapping>


-<mapping connection="Fire warning 2">

<iocp serial="0" port="2202"/>

</mapping>


-<mapping connection="GPWS Inop">

<iocp serial="0" port="2256"/>

</mapping>


-<mapping connection="Master caution 2">

<iocp serial="0" port="2206"/>

</mapping>


-<mapping connection="Warn AIR_COND">

<iocp serial="0" port="2230"/>

</mapping>


-<mapping connection="Warn ANTI_ICE">

<iocp serial="0" port="2220"/>

</mapping>


-<mapping connection="Warn DOORS">

<iocp serial="0" port="2228"/>

</mapping>


-<mapping connection="Warn ENG">

<iocp serial="0" port="2222"/>

</mapping>


-<mapping connection="Warn HYD">

<iocp serial="0" port="2224"/>

</mapping>


-<mapping connection="Warn OVERHEAD">

<iocp serial="0" port="2226"/>

</mapping>


-<mapping connection="Brake pressure">


-<iocp serial="0" port="2077">


-<calibrator>

<calibration margin="0" output="199" input="0"/>

<calibration margin="0" output="397" input="1000"/>

<calibration margin="0" output="579" input="2000"/>

<calibration margin="0" output="772" input="3000"/>

<calibration margin="0" output="967" input="4000"/>

</calibrator>

</iocp>

</mapping>


-<mapping connection="Standby Attitude bank">


-<flightIllusion serial="0" type="SWITCH" port="0">


-<calibrator>

<calibration margin="0" output="512" input="-180"/>

<calibration margin="0" output="512" input="-90"/>

<calibration margin="0" output="512" input="-45"/>

<calibration margin="0" output="512" input="-25"/>

<calibration margin="0" output="512" input="0"/>

<calibration margin="0" output="512" input="25"/>

<calibration margin="0" output="512" input="45"/>

<calibration margin="0" output="512" input="90"/>

<calibration margin="0" output="512" input="180"/>

</calibrator>

</flightIllusion>

</mapping>


-<mapping connection="ASP ADF 1 vol Pushed">

<iocp serial="0" port="1456"/>

</mapping>


-<mapping connection="ASP ADF 2 vol Pushed">

<iocp serial="0" port="1458"/>

</mapping>


-<mapping connection="ASP filter mode V">

<iocp serial="0" port="1466"/>

</mapping>


-<mapping connection="ASP filter mode R">

<iocp serial="0" port="1468"/>

</mapping>


-<mapping connection="ASP FO ADF 1 vol Pushed">

<iocp serial="0" port="1484"/>

</mapping>


-<mapping connection="ASP FO ADF 2 vol Pushed">

<iocp serial="0" port="1486"/>

</mapping>


-<mapping connection="ASP FO Marker vol Pushed">

<iocp serial="0" port="1488"/>

</mapping>


-<mapping connection="ASP FO NAV 1 vol Pushed">

<iocp serial="0" port="1480"/>

</mapping>


-<mapping connection="ASP FO NAV 2 vol Pushed">

<iocp serial="0" port="1482"/>

</mapping>


-<mapping connection="ASP FO VHF 1 mic Pushed">

<iocp serial="0" port="1472"/>

</mapping>


-<mapping connection="ASP FO VHF 1 vol Pushed">

<iocp serial="0" port="1476"/>

</mapping>


-<mapping connection="ASP FO VHF 2 mic Pushed">

<iocp serial="0" port="1474"/>

</mapping>


-<mapping connection="ASP FO VHF 2 vol Pushed">

<iocp serial="0" port="1478"/>

</mapping>


-<mapping connection="ASP Marker vol Pushed">

<iocp serial="0" port="1460"/>

</mapping>


-<mapping connection="ASP NAV 1 vol Pushed">

<iocp serial="0" port="1452"/>

</mapping>


-<mapping connection="ASP NAV 2 vol Pushed">

<iocp serial="0" port="1454"/>

</mapping>


-<mapping connection="ASP VHF 1 mic Pushed">

<iocp serial="0" port="1444"/>

</mapping>


-<mapping connection="ASP VHF 1 vol Pushed">

<iocp serial="0" port="1448"/>

</mapping>


-<mapping connection="ASP VHF 2 mic Pushed">

<iocp serial="0" port="1446"/>

</mapping>


-<mapping connection="ASP VHF 2 vol Pushed">

<iocp serial="0" port="1450"/>

</mapping>


-<mapping connection="ASP2 filter mode V">

<iocp serial="0" port="1494"/>

</mapping>


-<mapping connection="ASP2 filter mode R">

<iocp serial="0" port="1496"/>

</mapping>


-<mapping connection="ASP ADF 1 vol">

<iocp serial="0" port="1224"/>

</mapping>


-<mapping connection="ASP ADF 2 vol">

<iocp serial="0" port="1226"/>

</mapping>


-<mapping connection="ASP FO ADF 1 vol">

<iocp serial="0" port="1242"/>

</mapping>


-<mapping connection="ASP FO ADF 2 vol">

<iocp serial="0" port="1244"/>

</mapping>


-<mapping connection="ASP FO Marker vol">

<iocp serial="0" port="1246"/>

</mapping>


-<mapping connection="ASP FO NAV 1 vol">

<iocp serial="0" port="1238"/>

</mapping>


-<mapping connection="ASP FO NAV 2 vol">

<iocp serial="0" port="1240"/>

</mapping>


-<mapping connection="ASP FO VHF 1 mic">

<iocp serial="0" port="1230"/>

</mapping>


-<mapping connection="ASP FO VHF 1 vol">

<iocp serial="0" port="1234"/>

</mapping>


-<mapping connection="ASP FO VHF 2 mic">

<iocp serial="0" port="1232"/>

</mapping>


-<mapping connection="ASP FO VHF 2 vol">

<iocp serial="0" port="1236"/>

</mapping>


-<mapping connection="ASP Marker vol">

<iocp serial="0" port="1228"/>

</mapping>


-<mapping connection="ASP NAV 1 vol">

<iocp serial="0" port="1220"/>

</mapping>


-<mapping connection="ASP NAV 2 vol">

<iocp serial="0" port="1222"/>

</mapping>


-<mapping connection="ASP VHF 1 mic">

<iocp serial="0" port="2374"/>

</mapping>


-<mapping connection="ASP VHF 1 vol">

<iocp serial="0" port="2378"/>

</mapping>


-<mapping connection="ASP VHF 2 mic">

<iocp serial="0" port="2376"/>

</mapping>


-<mapping connection="ASP VHF 2 vol">

<iocp serial="0" port="2380"/>

</mapping>


-<mapping connection="Bell cutout Pushed">

<iocp serial="0" port="1508"/>

</mapping>


-<mapping connection="Cargo fire aft selector Norm">

<iocp serial="0" port="1544"/>

</mapping>


-<mapping connection="Cargo fire aft selector A">

<iocp serial="0" port="1542"/>

</mapping>


-<mapping connection="Cargo fire aft selector B">

<iocp serial="0" port="1546"/>

</mapping>


-<mapping connection="Cargo fire arm aft Pushed">

<iocp serial="0" port="1550"/>

</mapping>


-<mapping connection="Cargo fire arm fwd Pushed">

<iocp serial="0" port="1548"/>

</mapping>


-<mapping connection="Cargo fire disch Pushed">

<iocp serial="0" port="1554"/>

</mapping>


-<mapping connection="Cargo fire fwd selector Norm">

<iocp serial="0" port="1538"/>

</mapping>


-<mapping connection="Cargo fire fwd selector A">

<iocp serial="0" port="1536"/>

</mapping>


-<mapping connection="Cargo fire fwd selector B">

<iocp serial="0" port="1540"/>

</mapping>


-<mapping connection="Cargo fire test Pushed">

<iocp serial="0" port="1552"/>

</mapping>


-<mapping connection="Fire Ext test 1">

<iocp serial="0" port="1514"/>

</mapping>


-<mapping connection="Fire Ext test 2">

<iocp serial="0" port="1516"/>

</mapping>


-<mapping connection="Fire handle APU Off">

<iocp serial="0" port="1524"/>

</mapping>


-<mapping connection="Fire handle APU Left">

<iocp serial="0" port="1526"/>

</mapping>


-<mapping connection="Fire handle APU Right">

<iocp serial="0" port="1528"/>

</mapping>


-<mapping connection="Fire handle Engine 1 Off">

<iocp serial="0" port="1518"/>

</mapping>


-<mapping connection="Fire handle Engine 1 Left">

<iocp serial="0" port="1520"/>

</mapping>


-<mapping connection="Fire handle Engine 1 Right">

<iocp serial="0" port="1522"/>

</mapping>


-<mapping connection="Fire handle Engine 2 Off">

<iocp serial="0" port="1530"/>

</mapping>


-<mapping connection="Fire handle Engine 2 Left">

<iocp serial="0" port="1532"/>

</mapping>


-<mapping connection="Fire handle Engine 2 Right">

<iocp serial="0" port="1534"/>

</mapping>


-<mapping connection="Ovht Det left A">

<iocp serial="0" port="1500"/>

</mapping>


-<mapping connection="Ovht Det left B">

<iocp serial="0" port="1502"/>

</mapping>


-<mapping connection="Ovht Det right A">

<iocp serial="0" port="1510"/>

</mapping>


-<mapping connection="Ovht Det right B">

<iocp serial="0" port="1512"/>

</mapping>


-<mapping connection="Ovht test Fault/Inop">

<iocp serial="0" port="1506"/>

</mapping>


-<mapping connection="Ovht test Ovht/Fire">

<iocp serial="0" port="1504"/>

</mapping>


-<mapping connection="Radio TFR COM1 Pushed">

<iocp serial="0" port="404"/>

</mapping>


-<mapping connection="Radio TFR COM2 Pushed">

<iocp serial="0" port="406"/>

</mapping>


-<mapping connection="Radio TFR NAV1 Pushed">

<iocp serial="0" port="412"/>

</mapping>


-<mapping connection="Radio TFR NAV2 Pushed">

<iocp serial="0" port="414"/>

</mapping>


-<mapping connection="Transponder 1 Active">

<iocp serial="0" port="2356"/>

</mapping>


-<mapping connection="Transponder 2 Active">

<iocp serial="0" port="2358"/>

</mapping>


-<mapping connection="Stab trim override Override">

<iocp serial="0" port="1556"/>

</mapping>


-<mapping connection="TCAS Stdby">

<iocp serial="0" port="1434"/>

</mapping>


-<mapping connection="TCAS Alt rptg off">

<iocp serial="0" port="1436"/>

</mapping>


-<mapping connection="TCAS XPDR">

<iocp serial="0" port="1438"/>

</mapping>


-<mapping connection="TCAS TA">

<iocp serial="0" port="1440"/>

</mapping>


-<mapping connection="TCAS TA/RA">

<iocp serial="0" port="1442"/>

</mapping>


-<mapping connection="Weather Radar Mode WX+T">

<iocp serial="0" port="1574"/>

</mapping>


-<mapping connection="Weather Radar Mode WX">

<iocp serial="0" port="1572"/>

</mapping>


-<mapping connection="XPDR Ident Pushed">

<iocp serial="0" port="1428"/>

</mapping>


-<mapping connection="APU bottle discharged">

<iocp serial="0" port="1250"/>

</mapping>


-<mapping connection="APU bottle indicator">

<iocp serial="0" port="1272"/>

</mapping>


-<mapping connection="APU fire handle light">

<iocp serial="0" port="1266"/>

</mapping>


-<mapping connection="APU Overspeed">

<iocp serial="0" port="5206"/>

</mapping>


-<mapping connection="Cargo fire armed aft">

<iocp serial="0" port="1282"/>

</mapping>


-<mapping connection="Cargo fire armed fwd">

<iocp serial="0" port="1286"/>

</mapping>


-<mapping connection="Cargo fire detector fault">

<iocp serial="0" port="1288"/>

</mapping>


-<mapping connection="Cargo fire disch light">

<iocp serial="0" port="1278"/>

</mapping>


-<mapping connection="Cargo fire ext light aft">

<iocp serial="0" port="1292"/>

</mapping>


-<mapping connection="Cargo fire ext light fwd">

<iocp serial="0" port="1290"/>

</mapping>


-<mapping connection="Cargo fire indicator aft">

<iocp serial="0" port="1280"/>

</mapping>


-<mapping connection="Cargo fire indicator fwd">

<iocp serial="0" port="1284"/>

</mapping>


-<mapping connection="Door auto unlock">

<iocp serial="0" port="1296"/>

</mapping>


-<mapping connection="Door lock fail">

<iocp serial="0" port="1294"/>

</mapping>


-<mapping connection="Engine 1 fire handle light">

<iocp serial="0" port="1264"/>

</mapping>


-<mapping connection="Engine 1 overheat">

<iocp serial="0" port="1248"/>

</mapping>


-<mapping connection="Engine 2 fire handle light">

<iocp serial="0" port="1268"/>

</mapping>


-<mapping connection="Engine 2 overheat">

<iocp serial="0" port="1258"/>

</mapping>


-<mapping connection="Fire APU Det Inop">

<iocp serial="0" port="1252"/>

</mapping>


-<mapping connection="Fire Fault">

<iocp serial="0" port="1254"/>

</mapping>


-<mapping connection="Fire Wheel well">

<iocp serial="0" port="1256"/>

</mapping>


-<mapping connection="L bottle discharged">

<iocp serial="0" port="1260"/>

</mapping>


-<mapping connection="L bottle indicator">

<iocp serial="0" port="1270"/>

</mapping>


-<mapping connection="R bottle discharged">

<iocp serial="0" port="1262"/>

</mapping>


-<mapping connection="R bottle indicator">

<iocp serial="0" port="1274"/>

</mapping>


-<mapping connection="Radio freq ADF1">

<iocp serial="0" port="2324"/>

</mapping>


-<mapping connection="Radio freq ADF2">

<iocp serial="0" port="2336"/>

</mapping>


-<mapping connection="Chrono capt CHR Pushed">

<iocp serial="0" port="2301"/>

</mapping>


-<mapping connection="Chrono capt Date/Time Pushed">

<iocp serial="0" port="2302"/>

</mapping>


-<mapping connection="Chrono capt SET Pushed">

<iocp serial="0" port="2305"/>

</mapping>


-<mapping connection="Chrono capt + Pushed">

<iocp serial="0" port="2306"/>

</mapping>


-<mapping connection="Chrono capt - Pushed">

<iocp serial="0" port="2309"/>

</mapping>


-<mapping connection="Chrono capt RESET Pushed">

<iocp serial="0" port="2310"/>

</mapping>


-<mapping connection="Chrono capt ET Pushed">

<iocp serial="0" port="2313"/>

</mapping>


-<mapping connection="Chrono capt 7seg upper left">

<iocp serial="0" port="2325"/>

</mapping>


-<mapping connection="Chrono capt 7seg upper right">

<iocp serial="0" port="2328"/>

</mapping>


-<mapping connection="Chrono capt 7seg lower right">

<iocp serial="0" port="2330"/>

</mapping>


-<mapping connection="Chrono capt 7seg lower left">

<iocp serial="0" port="2332"/>

</mapping>


-<mapping connection="Chrono capt label ET">

<iocp serial="0" port="2337"/>

</mapping>


-<mapping connection="Chrono capt label CHR">

<iocp serial="0" port="2339"/>

</mapping>


-<mapping connection="Chrono capt label TIME">

<iocp serial="0" port="2340"/>

</mapping>


-<mapping connection="Chrono f/o CHR Pushed">

<iocp serial="0" port="2360"/>

</mapping>


-<mapping connection="Chrono f/o Date/Time Pushed">

<iocp serial="0" port="2362"/>

</mapping>


-<mapping connection="Chrono f/o SET Pushed">

<iocp serial="0" port="2364"/>

</mapping>


-<mapping connection="Chrono f/o + Pushed">

<iocp serial="0" port="2366"/>

</mapping>


-<mapping connection="Chrono f/o - Pushed">

<iocp serial="0" port="2368"/>

</mapping>


-<mapping connection="Chrono f/o RESET Pushed">

<iocp serial="0" port="2370"/>

</mapping>


-<mapping connection="Chrono f/o ET Pushed">

<iocp serial="0" port="2372"/>

</mapping>


-<mapping connection="Chrono f/o 7seg upper left">

<iocp serial="0" port="2385"/>

</mapping>


-<mapping connection="Chrono f/o 7seg upper right">

<iocp serial="0" port="2389"/>

</mapping>


-<mapping connection="Chrono f/o 7seg lower right">

<iocp serial="0" port="2391"/>

</mapping>


-<mapping connection="Chrono f/o 7seg lower left">

<iocp serial="0" port="2393"/>

</mapping>


-<mapping connection="Chrono f/o label ET">

<iocp serial="0" port="2397"/>

</mapping>


-<mapping connection="Chrono f/o label CHR">

<iocp serial="0" port="2399"/>

</mapping>


-<mapping connection="Chrono f/o label TIME">

<iocp serial="0" port="2401"/>

</mapping>


-<mapping connection="Radio freq COM1">

<iocp serial="0" port="2300"/>

</mapping>


-<mapping connection="Radio freq COM2">

<iocp serial="0" port="2308"/>

</mapping>


-<mapping connection="Radio freq NAV1">

<iocp serial="0" port="2316"/>

</mapping>


-<mapping connection="Radio freq NAV2">

<iocp serial="0" port="2320"/>

</mapping>


-<mapping connection="Radio freq XPDR">

<iocp serial="0" port="2348"/>

</mapping>


-<mapping connection="XPDR Fail">

<iocp serial="0" port="2352"/>

</mapping>


-<mapping connection="Radio XPDR inner shaft left">

<iocp serial="0" port="2498"/>

</mapping>


-<mapping connection="Radio XPDR inner shaft right">

<iocp serial="0" port="2500"/>

</mapping>


-<mapping connection="Radio XPDR outer shaft left">

<iocp serial="0" port="2502"/>

</mapping>


-<mapping connection="Radio XPDR outer shaft right">

<iocp serial="0" port="2504"/>

</mapping>


-<mapping connection="XPDR Ident Pushed">

<iocp serial="0" port="428"/>

</mapping>


-<mapping connection="XPDR selector 1">

<iocp serial="0" port="2539"/>

</mapping>


-<mapping connection="XPDR selector 2">

<iocp serial="0" port="2540"/>

</mapping>


-<mapping connection="XPDR ALT source 1">

<iocp serial="0" port="2541"/>

</mapping>


-<mapping connection="XPDR ALT source 2">

<iocp serial="0" port="2542"/>

</mapping>


-<mapping connection="Radio standby freq ADF1">

<iocp serial="0" port="1118"/>

</mapping>


-<mapping connection="Radio standby freq ADF2">

<iocp serial="0" port="1130"/>

</mapping>


-<mapping connection="Radio standby freq COM1">

<iocp serial="0" port="1102"/>

</mapping>


-<mapping connection="Radio standby freq COM2">

<iocp serial="0" port="1106"/>

</mapping>


-<mapping connection="Radio standby freq NAV1">

<iocp serial="0" port="1110"/>

</mapping>


-<mapping connection="Radio standby freq NAV2">

<iocp serial="0" port="1114"/>

</mapping>


-<mapping connection="Radio ADF1 inner shaft">

<iocp serial="0" port="366"/>

</mapping>


-<mapping connection="Radio ADF1 outer shaft">

<iocp serial="0" port="368"/>

</mapping>


-<mapping connection="Radio TFR ADF1 Pushed">

<iocp serial="0" port="3172"/>

</mapping>


-<mapping connection="Radio ADF2 inner shaft">

<iocp serial="0" port="370"/>

</mapping>


-<mapping connection="Radio ADF2 outer shaft">

<iocp serial="0" port="372"/>

</mapping>


-<mapping connection="Radio TFR ADF2 Pushed">

<iocp serial="0" port="3202"/>

</mapping>


-<mapping connection="Radio COM1 inner shaft">

<iocp serial="0" port="350"/>

</mapping>


-<mapping connection="Radio COM1 outer shaft">

<iocp serial="0" port="352"/>

</mapping>


-<mapping connection="Radio TEST COM1 Pushed">

<iocp serial="0" port="3018"/>

</mapping>


-<mapping connection="Radio COM2 inner shaft">

<iocp serial="0" port="354"/>

</mapping>


-<mapping connection="Radio COM2 outer shaft">

<iocp serial="0" port="356"/>

</mapping>


-<mapping connection="Radio TEST COM2 Pushed">

<iocp serial="0" port="3068"/>

</mapping>


-<mapping connection="Radio NAV1 inner shaft">

<iocp serial="0" port="358"/>

</mapping>


-<mapping connection="Radio NAV1 outer shaft">

<iocp serial="0" port="360"/>

</mapping>


-<mapping connection="Radio TEST NAV1 Pushed">

<iocp serial="0" port="3114"/>

</mapping>


-<mapping connection="Radio NAV2 inner shaft">

<iocp serial="0" port="362"/>

</mapping>


-<mapping connection="Radio NAV2 outer shaft">

<iocp serial="0" port="364"/>

</mapping>


-<mapping connection="Radio TEST NAV2 Pushed">

<iocp serial="0" port="3144"/>

</mapping>


-<mapping connection="Weather Radar Gain">

<iocp serial="0" port="1578"/>

</mapping>


-<mapping connection="Weather Radar Tilt">

<iocp serial="0" port="1580"/>

</mapping>


-<mapping connection="Panel lights flood">

<iocp serial="0" port="1576"/>

</mapping>



  <mappings>

    <mapping connection="ASP ADF 1 vol Pushed">
      <iocp serial="0" port="456" />
    </mapping>
    <mapping connection="ASP ADF 2 vol Pushed">
      <iocp serial="0" port="458" />
    </mapping>
    <mapping connection="ASP filter mode V">
      <iocp serial="0" port="466" />
    </mapping>
    <mapping connection="ASP filter mode R">
      <iocp serial="0" port="468" />
    </mapping>
    <mapping connection="ASP FO ADF 1 vol Pushed">
      <iocp serial="0" port="484" />
    </mapping>
    <mapping connection="ASP FO ADF 2 vol Pushed">
      <iocp serial="0" port="486" />
    </mapping>
    <mapping connection="ASP FO Marker vol Pushed">
      <iocp serial="0" port="488" />
    </mapping>
    <mapping connection="ASP FO NAV 1 vol Pushed">
      <iocp serial="0" port="480" />
    </mapping>
    <mapping connection="ASP FO NAV 2 vol Pushed">
      <iocp serial="0" port="482" />
    </mapping>
    <mapping connection="ASP FO VHF 1 mic Pushed">
      <iocp serial="0" port="472" />
    </mapping>
    <mapping connection="ASP FO VHF 1 vol Pushed">
      <iocp serial="0" port="476" />
    </mapping>
    <mapping connection="ASP FO VHF 2 mic Pushed">
      <iocp serial="0" port="474" />
    </mapping>
    <mapping connection="ASP FO VHF 2 vol Pushed">
      <iocp serial="0" port="478" />
    </mapping>
    <mapping connection="ASP Marker vol Pushed">
      <iocp serial="0" port="460" />
    </mapping>
    <mapping connection="ASP NAV 1 vol Pushed">
      <iocp serial="0" port="452" />
    </mapping>
    <mapping connection="ASP NAV 2 vol Pushed">
      <iocp serial="0" port="454" />
    </mapping>
    <mapping connection="ASP VHF 1 mic Pushed">
      <iocp serial="0" port="444" />
    </mapping>
    <mapping connection="ASP VHF 1 vol Pushed">
      <iocp serial="0" port="448" />
    </mapping>
    <mapping connection="ASP VHF 2 mic Pushed">
      <iocp serial="0" port="446" />
    </mapping>
    <mapping connection="ASP VHF 2 vol Pushed">
      <iocp serial="0" port="450" />
    </mapping>
    <mapping connection="ASP2 filter mode V">
      <iocp serial="0" port="494" />
    </mapping>
    <mapping connection="ASP2 filter mode R">
      <iocp serial="0" port="496" />
    </mapping>
    <mapping connection="ASP ADF 1 vol">
      <iocp serial="0" port="224" />
    </mapping>
    <mapping connection="ASP ADF 2 vol">
      <iocp serial="0" port="226" />
    </mapping>
    <mapping connection="ASP FO ADF 1 vol">
      <iocp serial="0" port="242" />
    </mapping>
    <mapping connection="ASP FO ADF 2 vol">
      <iocp serial="0" port="244" />
    </mapping>
    <mapping connection="ASP FO Marker vol">
      <iocp serial="0" port="246" />
    </mapping>
    <mapping connection="ASP FO NAV 1 vol">
      <iocp serial="0" port="238" />
    </mapping>
    <mapping connection="ASP FO NAV 2 vol">
      <iocp serial="0" port="240" />
    </mapping>
    <mapping connection="ASP FO VHF 1 mic">
      <iocp serial="0" port="230" />
    </mapping>
    <mapping connection="ASP FO VHF 1 vol">
      <iocp serial="0" port="234" />
    </mapping>
    <mapping connection="ASP FO VHF 2 mic">
      <iocp serial="0" port="232" />
    </mapping>
    <mapping connection="ASP FO VHF 2 vol">
      <iocp serial="0" port="236" />
    </mapping>
    <mapping connection="ASP Marker vol">
      <iocp serial="0" port="228" />
    </mapping>
    <mapping connection="ASP NAV 1 vol">
      <iocp serial="0" port="220" />
    </mapping>
    <mapping connection="ASP NAV 2 vol">
      <iocp serial="0" port="222" />
    </mapping>
    <mapping connection="ASP VHF 1 mic">
      <iocp serial="0" port="212" />
    </mapping>
    <mapping connection="ASP VHF 1 vol">
      <iocp serial="0" port="216" />
    </mapping>
    <mapping connection="ASP VHF 2 mic">
      <iocp serial="0" port="214" />
    </mapping>
    <mapping connection="ASP VHF 2 vol">
      <iocp serial="0" port="218" />
    </mapping>
    <mapping connection="Bell cutout Pushed">
      <iocp serial="0" port="508" />
    </mapping>
    <mapping connection="Cargo fire aft selector Norm">
      <iocp serial="0" port="544" />
    </mapping>
    <mapping connection="Cargo fire aft selector A">
      <iocp serial="0" port="542" />
    </mapping>
    <mapping connection="Cargo fire aft selector B">
      <iocp serial="0" port="546" />
    </mapping>
    <mapping connection="Cargo fire arm aft Pushed">
      <iocp serial="0" port="550" />
    </mapping>
    <mapping connection="Cargo fire arm fwd Pushed">
      <iocp serial="0" port="548" />
    </mapping>
    <mapping connection="Cargo fire disch Pushed">
      <iocp serial="0" port="554" />
    </mapping>
    <mapping connection="Cargo fire fwd selector Norm">
      <iocp serial="0" port="538" />
    </mapping>
    <mapping connection="Cargo fire fwd selector A">
      <iocp serial="0" port="536" />
    </mapping>
    <mapping connection="Cargo fire fwd selector B">
      <iocp serial="0" port="540" />
    </mapping>
    <mapping connection="Cargo fire test Pushed">
      <iocp serial="0" port="552" />
    </mapping>
    <mapping connection="Fire Ext test 1">
      <iocp serial="0" port="514" />
    </mapping>
    <mapping connection="Fire Ext test 2">
      <iocp serial="0" port="516" />
    </mapping>
    <mapping connection="Fire handle APU Off">
      <iocp serial="0" port="524" />
    </mapping>
    <mapping connection="Fire handle APU Left">
      <iocp serial="0" port="526" />
    </mapping>
    <mapping connection="Fire handle APU Right">
      <iocp serial="0" port="528" />
    </mapping>
    <mapping connection="Fire handle Engine 1 Off">
      <iocp serial="0" port="518" />
    </mapping>
    <mapping connection="Fire handle Engine 1 Left">
      <iocp serial="0" port="520" />
    </mapping>
    <mapping connection="Fire handle Engine 1 Right">
      <iocp serial="0" port="522" />
    </mapping>
    <mapping connection="Fire handle Engine 2 Off">
      <iocp serial="0" port="530" />
    </mapping>
    <mapping connection="Fire handle Engine 2 Left">
      <iocp serial="0" port="532" />
    </mapping>
    <mapping connection="Fire handle Engine 2 Right">
      <iocp serial="0" port="534" />
    </mapping>
    <mapping connection="Ovht Det left A">
      <iocp serial="0" port="500" />
    </mapping>
    <mapping connection="Ovht Det left B">
      <iocp serial="0" port="502" />
    </mapping>
    <mapping connection="Ovht Det right A">
      <iocp serial="0" port="510" />
    </mapping>
    <mapping connection="Ovht Det right B">
      <iocp serial="0" port="512" />
    </mapping>
    <mapping connection="Ovht test Fault/Inop">
      <iocp serial="0" port="506" />
    </mapping>
    <mapping connection="Ovht test Ovht/Fire">
      <iocp serial="0" port="504" />
    </mapping>
    <mapping connection="Radio TFR COM1 Pushed">
      <iocp serial="0" port="404" />
    </mapping>
    <mapping connection="Radio TFR COM2 Pushed">
      <iocp serial="0" port="406" />
    </mapping>
    <mapping connection="Radio TFR NAV1 Pushed">
      <iocp serial="0" port="412" />
    </mapping>
    <mapping connection="Radio TFR NAV2 Pushed">
      <iocp serial="0" port="414" />
    </mapping>
    <mapping connection="Stab trim override Override">
      <iocp serial="0" port="556" />
    </mapping>
    <mapping connection="TCAS Stdby">
      <iocp serial="0" port="434" />
    </mapping>
    <mapping connection="TCAS Alt rptg off">
      <iocp serial="0" port="436" />
    </mapping>
    <mapping connection="TCAS XPDR">
      <iocp serial="0" port="438" />
    </mapping>
    <mapping connection="TCAS TA">
      <iocp serial="0" port="440" />
    </mapping>
    <mapping connection="TCAS TA/RA">
      <iocp serial="0" port="442" />
    </mapping>

    <mapping connection="Weather Radar Mode WX+T">
      <iocp serial="0" port="574" />
    </mapping>
    <mapping connection="Weather Radar Mode WX">
      <iocp serial="0" port="572" />
    </mapping>
    <mapping connection="XPDR Ident Pushed">
      <iocp serial="0" port="428" />
    </mapping>

    <mapping connection="APU bottle discharged">
      <iocp serial="0" port="250" />
    </mapping>
    <mapping connection="APU bottle indicator">
      <iocp serial="0" port="272" />
    </mapping>
    <mapping connection="APU fire handle light">
      <iocp serial="0" port="266" />
    </mapping>
    <mapping connection="APU Overspeed">
      <iocp serial="0" port="1206" />
    </mapping>
    <mapping connection="Cargo fire armed aft">
      <iocp serial="0" port="282" />
    </mapping>
    <mapping connection="Cargo fire armed fwd">
      <iocp serial="0" port="286" />
    </mapping>
    <mapping connection="Cargo fire detector fault">
      <iocp serial="0" port="288" />
    </mapping>
    <mapping connection="Cargo fire disch light">
      <iocp serial="0" port="278" />
    </mapping>
    <mapping connection="Cargo fire ext light aft">
      <iocp serial="0" port="292" />
    </mapping>
    <mapping connection="Cargo fire ext light fwd">
      <iocp serial="0" port="290" />
    </mapping>
    <mapping connection="Cargo fire indicator aft">
      <iocp serial="0" port="280" />
    </mapping>
    <mapping connection="Cargo fire indicator fwd">
      <iocp serial="0" port="284" />
    </mapping>
     <mapping connection="Door auto unlock">
      <iocp serial="0" port="296" />
    </mapping>
    <mapping connection="Door lock fail">
      <iocp serial="0" port="294" />
    </mapping>
    <mapping connection="Engine 1 fire handle light">
      <iocp serial="0" port="264" />
    </mapping>
    <mapping connection="Engine 1 overheat">
      <iocp serial="0" port="248" />
    </mapping>
    <mapping connection="Engine 2 fire handle light">
      <iocp serial="0" port="268" />
    </mapping>
    <mapping connection="Engine 2 overheat">
      <iocp serial="0" port="258" />
    </mapping>
    <mapping connection="Fire APU Det Inop">
      <iocp serial="0" port="252" />
    </mapping>
    <mapping connection="Fire Fault">
      <iocp serial="0" port="254" />
    </mapping>
      <mapping connection="Fire Wheel well">
      <iocp serial="0" port="256" />
    </mapping>
    <mapping connection="L bottle discharged">
      <iocp serial="0" port="260" />
    </mapping>
    <mapping connection="L bottle indicator">
      <iocp serial="0" port="270" />
    </mapping>
    <mapping connection="R bottle discharged">
      <iocp serial="0" port="262" />
    </mapping>
    <mapping connection="R bottle indicator">
      <iocp serial="0" port="274" />
    </mapping>
    <mapping connection="Radio freq ADF1">
      <iocp serial="0" port="116" />
    </mapping>
    <mapping connection="Radio freq ADF2">
      <iocp serial="0" port="128" />
    </mapping>
    <mapping connection="Radio freq COM1">
      <iocp serial="0" port="100" />
    </mapping>
    <mapping connection="Radio freq COM2">
      <iocp serial="0" port="104" />
    </mapping>
   <mapping connection="Radio freq NAV1">
      <iocp serial="0" port="108" />
    </mapping>
    <mapping connection="Radio freq NAV2">
      <iocp serial="0" port="112" />
    </mapping>
    <mapping connection="Radio freq XPDR">
      <iocp serial="0" port="140" />
    </mapping>
    <mapping connection="Radio standby freq ADF1">
      <iocp serial="0" port="118" />
    </mapping>
    <mapping connection="Radio standby freq ADF2">
      <iocp serial="0" port="130" />
    </mapping>
    <mapping connection="Radio standby freq COM1">
      <iocp serial="0" port="102" />
    </mapping>
    <mapping connection="Radio standby freq COM2">
      <iocp serial="0" port="106" />
    </mapping>
    <mapping connection="Radio standby freq NAV1">
      <iocp serial="0" port="110" />
    </mapping>
    <mapping connection="Radio standby freq NAV2">
      <iocp serial="0" port="114" />
    </mapping>
    <mapping connection="Radio ADF1 inner shaft">
      <iocp serial="0" port="366"/>
    </mapping>
    <mapping connection="Radio ADF1 outer shaft">
      <iocp serial="0" port="368"/>
    </mapping>
    <mapping connection="Radio ADF2 inner shaft">
      <iocp serial="0" port="370"/>
    </mapping>
    <mapping connection="Radio ADF2 outer shaft">
      <iocp serial="0" port="372"/>
    </mapping>
    <mapping connection="Radio COM1 inner shaft">
      <iocp serial="0" port="350"/>
    </mapping>
    <mapping connection="Radio COM1 outer shaft">
      <iocp serial="0" port="352"/>
    </mapping>
    <mapping connection="Radio COM2 inner shaft">
      <iocp serial="0" port="354"/>
    </mapping>
    <mapping connection="Radio COM2 outer shaft">
      <iocp serial="0" port="356"/>
    </mapping>
    <mapping connection="Radio NAV1 inner shaft">
      <iocp serial="0" port="358"/>
    </mapping>
    <mapping connection="Radio NAV1 outer shaft">
      <iocp serial="0" port="360"/>
    </mapping>
    <mapping connection="Radio NAV2 inner shaft">
      <iocp serial="0" port="362"/>
    </mapping>
    <mapping connection="Radio NAV2 outer shaft">
      <iocp serial="0" port="364"/>
    </mapping>
    <mapping connection="Weather Radar Gain">
      <iocp serial="0" port="578" />
    </mapping>
    <mapping connection="Weather Radar Tilt">
      <iocp serial="0" port="580" />
    </mapping>

   </mappings>



-<mapping connection="Rudder trim gauge">


-<iocp serial="0" port="1582">


-<calibrator>

<calibration margin="0" output="439" input="-10"/>

<calibration margin="0" output="481" input="0"/>

<calibration margin="0" output="517" input="10"/>

</calibrator>

</iocp>

</mapping>

</mappings>


-<leds>

<intensit'y low="80" high="40" color="YELLOW"/>

<intensit'y low="80" high="40" color="BLUE"/>

<intensit'y low="80" high="40" color="GREEN"/>

<intensit'y low="80" high="40" color="RED"/>

<intensit'y low="80" high="40" color="WARNING_RED"/>

<intensit'y low="80" high="40" color="WARNING_YELLOW"/>

<intensit'y low="80" high="40" color="WHITE"/>

</leds>

<showQuickstart value="true"/>

<startMinimized value="false"/>

<allowNegativeFreq value="true"/>

<debugMode value="false"/>

<autoRestart value="true"/>

<situation value="Ready"/>

<autoFailure amount="0"/>

<webserver port="8080"/>

<acars printMarginTop="0" printMarginLeft="0" t'ailNumber="" profile="Silent" host="acars.prosim-ar.com"/>

<logLevel level="Normal"/>

<updates level="1"/>

<gaugeSmoothing value="50"/>


-<viewpoints>

<capt'ain heading="0" bank="0" pitch="0" z="0" y="0" x="0"/>

<center heading="0" bank="0" pitch="0" z="0" y="0" x="0"/>

<firstOfficer heading="0" bank="0" pitch="0" z="0" y="0" x="0"/>

</viewpoints>

<speedbrakeServoFree value="false"/>

<simulator value="MSFS"/>


-<audioAddons>

<item autoFade="false" continuous="false" fadeOut="" fadeIn="" file="C:\Program Files (x86)\Lockheed Martin\Prepar3D v2\sound\PMDG\737NGX\Various\PMDG_737_Cockpit.wav" name="PMDG_737_Cockpit.wav"/>

<item autoFade="false" continuous="false" fadeOut="" fadeIn="" file="C:\Program Files (x86)\Lockheed Martin\Prepar3D v2\sound\PMDG\737NGX\Various\PMDG_737_APUStartup.wav" name="PMDG_737_APUStartup.wav"/>

</audioAddons>

<compan'yRouteSources/>

<requiredHardware/>

<genericCOMportSupport value="true" tcpGlobal="true" tcpPort="8091" dataBits="8" parit'y="None" stopBits="One" baud="115200"/>


-<CPFlight value="false">

<sendGaugeData>true</sendGaugeData>

<reverseRudderTrimGauge>true</reverseRudderTrimGauge>

</CPFlight>

<CPFlightDirect/>

<directInputEnabled value="true"/>


-<ehid>

<brightness>100</brightness>

</ehid>


-<fds value="false" mcpSupport="false">

<encoders reverse11="false" reverse10="false" reverse9="false" reverse8="false" reverse7="false" reverse6="false" reverse5="false" reverse4="false" reverse3="false" reverse2="false" reverse1="false"/>

</fds>

<fscStickShaker/>

<flightIllusionPort port="COM3" altSpeedCombined="false"/>

<flightIllusionPort port="[Not installed]" altSpeedCombined="false"/>

<fsbusPort/>

<fsuipcSupport value="true"/>

<goflightSupport value="false"/>

<ICS inverseCrossfeed="false" delay="2"/>

<matrixOrbitalSupport value="false"/>

<phidgetSupport value="false" motorReverse2="false" motorReverse1="false" motorSpeed2="50" motorSpeed="50" currentLimit="Default" voltage="Default"/>

<pimOverhead port="[Not installed]"/>

<pimAlt/>

<pimIRS/>

<poldragonet port="[Not installed]" inverseMFD="false" inverseGear="false"/>

<poldragonetOverhead port="[Not installed]" manualConfigure="false"/>

<simio value="false"/>

<sims'ystems value="false"/>

<simworld value="false"/>


-<sismoSupport value="false" brightness="15">

<MCP hasEfisFo="true" hasEfisCpt="true"/>

</sismoSupport>

<VRInsightOvhdSupport/>

<IOCP port="8092" server="192.168.1.2"/>


-<pokeysSupport value="true" pokeysLog="false" pollerEnabled="false" udp="false" fastInterface="false" offload="false" autoConfig="false">

<inhibit/>

</pokeysSupport>

<pou value="true"/>

</config>
 
Tu copie le code tu le Colle dans un fichier texte et tu enregistre
Ensuite tu renome monfichier. Txt en monfichier. Xml
Et après tu limporte dans prosim
 
Retour
Haut