Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Je ne saisi rien au clavier de lIRS, j'utilise le CDU pour linitialisation.Alors là ... ?
Je vais chercher maintenant que je sais que cela fonctionne !
Merci en tout cas pour ces confirmations !
Ah encore une question : tu saisies les valeurs au clavier de lIRS ou tu places l'avion ?
// EFDE 26/12/2019
// Author Fabien Deheegher
// var 700 : IRS_Rconv : conversion IRS right
// var 714 : IRS_Lconv : conversion IRS left
// declarer ci-dessous l'afficheur de droite
Var 0702, name IRS_R_1, static, Link IOCARD_DISPLAY, Device 0, Digit 6, Numbers 6 // IRSs RIGHT DISPLAY DIGITS
Var 0712, name IRS_EW, static, Link IOCARD_DISPLAY, Device 0, Digit 12, Numbers 1 // IRSs EAST&WEST DIGIT
// declarer ci-dessous l'afficheur de gauche
Var 0716, name IRS_L_1, static, Link IOCARD_DISPLAY, Device 0, Digit 0, Numbers 5 // IRSs LEFT DISPLAY DIGITS
Var 0724, name IRS_NS, static, Link IOCARD_DISPLAY, Device 0, Digit 5, Numbers 1 // IRSs NORTH&SOUTH DIGIT
// Nord et Est positif
// Sud et ouest négatif
Var 0700, name IRS_Rconv, static, Link SUBRUTINE
{
IF &IRS_TEST_I = 1
{
&IRS_EW = 8 // E/W-E/O OFF
&IRS_R_1 = 888888
}
ELSE
{
IF &IRS_TEST_I = 0
{
IF &IRS_Rconv = -1
{
&IRS_EW = -999999 // OFF
&IRS_R_1 = -999999 // OFF
}
ELSE
{
IF &IRS_Rconv < -1
{
&IRS_EW = -999996 // Ouest
&IRS_R_1 = ABS &IRS_Rconv // LONGITUDE
}
ELSE
{
IF &IRS_Rconv >= 0
{
&IRS_EW = -999997 // EAST
&IRS_R_1 = ABS &IRS_Rconv // LONGITUDE
}
}
}
}
}
}
Var 0714, name IRS_Lconv, static, Link SUBRUTINE
{
IF &IRS_TEST_I = 1
{
&IRS_NS = 8 // NORTH OFF
&IRS_L_1 = 88888
}
ELSE
{
IF &IRS_TEST_I = 0
{
IF &IRS_Lconv = -1
{
&IRS_NS = -999999 // OFF
&IRS_L_1 = -999999 // OFF
}
ELSE
{
IF &IRS_Lconv < -1
{
&IRS_NS = 5 // SOUTH
&IRS_L_1 = ABS &IRS_Lconv // LATITUDE
}
ELSE
{
IF &IRS_Lconv >= 0
{
&IRS_NS = -999995 // NORTH
&IRS_L_1 = ABS &IRS_Lconv // LATITUDE
}
}
}
}
}
}
// Var 0794, name IRS_DOT1R, static, Link IOCARD_OUT, Device 0, Output 43 // RIGHT HALF DISPLAY: RIGHT DOT
// Var 0796, name IRS_DOT2R, static, Link IOCARD_OUT, Device 0, Output 44 // RIGHT HALF DISPLAY: CENTER DOT
// Var 0798, name IRS_DOT3R, static, Link IOCARD_OUT, Device 0, Output 45 // RIGHT HALF DISPLAY: LEFT DOT
// Var 0800, name IRS_DOT1L, static, Link IOCARD_OUT, Device 0, Output 46 // LEFT HALF DISPLAY: RIGHT DOT
// Var 0802, name IRS_DOT2L, static, Link IOCARD_OUT, Device 0, Output 47 // LEFT HALF DISPLAY: CENTER DOT
// Var 0804, name IRS_DOT3L, static, Link IOCARD_OUT, Device 0, Output 48 // LEFT HALF DISPLAY: LEFT DOT
// Var 0806, name IRS_GPS_O, static, Link IOCARD_OUT, Device 0, Output 95 // IRS GPS INDICATOR
Var 0872, name IRS_TEST_I, static, Link IOCARD_SW, Device 0, Input 0 // IRS TEST ROTARY SWITCH
{
CALL &IRS_Lconv
CALL &IRS_Rconv
}
// Var 0874, name IRS_TKGS_I, static, Link IOCARD_SW, Device 0, Input 49 // IRS TK/GS ROTARY SWITCH
// Var 0876, name IRS_PPOS_I, static, Link IOCARD_SW, Device 0, Input 50 // IRS PPOS ROTARY SWITCH
// Var 0878, name IRS_WIND_I, static, Link IOCARD_SW, Device 0, Input 51 // IRS WIND ROTARY SWITCH
// Var 0880, name IRS_HDGSTS_I, static, Link IOCARD_SW, Device 0, Input 52 // IRS HDG/STS ROTARY SWITCH
// Var 0882, name IRS_SYSL_I, static, Link IOCARD_SW, Device 0, Input 53 // IRS SYS DISPLAY LEFT ROTARY SWITCH
// Var 0884, name IRS_KEY1_I, static, Link IOCARD_SW, Device 0, Input 36 // IRS KEY 1 MOMENTARY SWITCH
// Var 0886, name IRS_KEY2_I, static, Link IOCARD_SW, Device 0, Input 44 // IRS KEY 2N MOMENTARY SWITCH
// Var 0888, name IRS_KEY3_I, static, Link IOCARD_SW, Device 0, Input 42 // IRS KEY 3 MOMENTARY SWITCH
// Var 0890, name IRS_KEY4_I, static, Link IOCARD_SW, Device 0, Input 38 // IRS KEY 4W MOMENTARY SWITCH
// Var 0892, name IRS_KEY5_I, static, Link IOCARD_SW, Device 0, Input 40 // IRS KEY 5H MOMENTARY SWITCH
// Var 0894, name IRS_KEY6_I, static, Link IOCARD_SW, Device 0, Input 46 // IRS KEY 6E MOMENTARY SWITCH
// Var 0896, name IRS_KEY7_I, static, Link IOCARD_SW, Device 0, Input 43 // IRS KEY 7 MOMENTARY SWITCH
// Var 0898, name IRS_KEY8_I, static, Link IOCARD_SW, Device 0, Input 37 // IRS KEY 8S MOMENTARY SWITCH
// Var 0900, name IRS_KEY9_I, static, Link IOCARD_SW, Device 0, Input 45 // IRS KEY 9 MOMENTARY SWITCH
// Var 0902, name IRS_KEYENT_I, static, Link IOCARD_SW, Device 0, Input 47 // IRS KEY ENT MOMENTARY SWITCH
// Var 0904, name IRS_KEY0_I, static, Link IOCARD_SW, Device 0, Input 39 // IRS KEY 0 MOMENTARY SWITCH
// Var 0906, name IRS_KEYCLR_I, static, Link IOCARD_SW, Device 0, Input 41 // IRS KEY CLR MOMENTARY SWITCH
// EFDE 15/01/2020
// Author Fabien Deheegher
// declarer ci-dessous l'afficheur de droite
Var 0702, name IRS_R_1, static, Link IOCARD_DISPLAY, Device 0, Digit 1, Numbers 6 // IRS's RIGHT DISPLAY DIGITS -******
Var 0704, name IRS_R_1_R3, static, Link IOCARD_DISPLAY, Device 0, Digit 1, Numbers 3 // IRS's RIGHT DISPLAY DIGITS ----***
Var 0706, name IRS_R_1_L4, static, Link IOCARD_DISPLAY, Device 0, Digit 4, Numbers 4 // IRS's RIGHT DISPLAY DIGITS ****---
Var 0712, name IRS_EW, static, Link IOCARD_DISPLAY, Device 0, Digit 7, Numbers 1 // IRS's EAST&WEST DIGIT *------
// declarer ci-dessous l'afficheur de gauche
Var 0716, name IRS_L_1, static, Link IOCARD_DISPLAY, Device 0, Digit 9, Numbers 5 // IRS's LEFT DISPLAY DIGITS -*****
Var 0718, name IRS_L_1_R4, static, Link IOCARD_DISPLAY, Device 0, Digit 9, Numbers 4 // IRS's LEFT DISPLAY DIGITS --****
Var 0720, name IRS_L_1_L2, static, Link IOCARD_DISPLAY, Device 0, Digit 13, Numbers 2 // IRS's LEFT DISPLAY DIGITS **----
Var 0724, name IRS_NS, static, Link IOCARD_DISPLAY, Device 0, Digit 14, Numbers 1 // IRS's NORTH&SOUTH DIGIT *-----
// declarer ci-dessous les sorties pour les points
Var 0794, name IRS_DOT1R, static, Link IOCARD_OUT, Device 0, Output 11 // RIGHT HALF DISPLAY: RIGHT DOT
Var 0796, name IRS_DOT2R, static, Link IOCARD_OUT, Device 0, Output 12 // RIGHT HALF DISPLAY: CENTER DOT
Var 0798, name IRS_DOT3R, static, Link IOCARD_OUT, Device 0, Output 13 // RIGHT HALF DISPLAY: LEFT DOT
Var 0800, name IRS_DOT1L, static, Link IOCARD_OUT, Device 0, Output 14 // LEFT HALF DISPLAY: RIGHT DOT
Var 0802, name IRS_DOT2L, static, Link IOCARD_OUT, Device 0, Output 15 // LEFT HALF DISPLAY: CENTER DOT
Var 0804, name IRS_DOT3L, static, Link IOCARD_OUT, Device 0, Output 16 // LEFT HALF DISPLAY: LEFT DOT
// declarer ci-dessous l'entrée TEST du selecteur IRS DISP SEL
Var 0872, name IRS_TEST_I, static, Link IOCARD_SW, Device 0, Input 0 // IRS TEST ROTARY SWITCH
{
CALL &IRS_Lconv
CALL &IRS_Rconv
}
// declarer ci-dessous les entrées du selecteur IRS DISP SEL
Var 0874, name IRS_TKGS_I, static, Link IOCARD_SW, Device 0, Input 1 // IRS TK/GS ROTARY SWITCH
{
CALL &IRS_Lconv
CALL &IRS_Rconv
}
Var 0876, name IRS_PPOS_I, static, Link IOCARD_SW, Device 0, Input 2 // IRS PPOS ROTARY SWITCH
{
CALL &IRS_Lconv
CALL &IRS_Rconv
}
Var 0878, name IRS_WIND_I, static, Link IOCARD_SW, Device 0, Input 3 // IRS WIND ROTARY SWITCH
{
CALL &IRS_Lconv
CALL &IRS_Rconv
}
Var 0880, name IRS_HDGSTS_I, static, Link IOCARD_SW, Device 0, Input 4 // IRS HDG/STS ROTARY SWITCH
{
CALL &IRS_Lconv
CALL &IRS_Rconv
}
// var 700 : IRS_Rconv : conversion IRS right
// var 714 : IRS_Lconv : conversion IRS left
// Nord et Est positif
// Sud et ouest négatif
Var 0700, name IRS_Rconv, static, Link SUBRUTINE
{
IF &IRS_TEST_I = 1
{
&IRS_EW = 8 // E/W-E/O OFF
&IRS_R_1 = 888888
&IRS_R_1_L4 = 8888
&IRS_R_1_R3 = 888
}
ELSE
{
IF &IRS_TEST_I = 0
{
IF &IRS_Rconv = -1
{
&IRS_EW = -999999 // OFF
&IRS_R_1 = -999999 // OFF
&IRS_R_1_L4 = -999999
&IRS_R_1_R3 = -999999
}
ELSE
{
IF &IRS_WIND_I = 1
{
&IRS_Rconv = &IRS_Rconv / 10
}
IF &IRS_Rconv < -1
{
IF &IRS_DOT1R = 0
{
&IRS_EW = -999999 // OFF
}
ELSE
{
&IRS_EW = -999996 // Ouest
}
L0 = &IRS_TKGS_I OR &IRS_WIND_I
IF L0 = 1
{
&IRS_R_1 = -999999
&IRS_R_1_L4 = -999999
&IRS_R_1_R3 = ABS &IRS_Rconv
}
ELSE
{
&IRS_R_1 = ABS &IRS_Rconv // LONGITUDE
}
}
ELSE
{
IF &IRS_Rconv >= 0
{
IF &IRS_DOT1R = 0
{
&IRS_EW = -999999 // OFF
}
ELSE
{
&IRS_EW = -999997 // EAST
}
L0 = &IRS_TKGS_I OR &IRS_WIND_I
IF L0 = 1
{
&IRS_R_1 = -999999
&IRS_R_1_L4 = -999999
&IRS_R_1_R3 = ABS &IRS_Rconv
}
ELSE
{
&IRS_R_1 = ABS &IRS_Rconv // LONGITUDE
}
}
}
}
}
}
}
Var 0714, name IRS_Lconv, static, Link SUBRUTINE
{
IF &IRS_TEST_I = 1
{
&IRS_NS = 8 // NORTH OFF
&IRS_L_1 = 88888
&IRS_L_1_L2 = 88
&IRS_L_1_R4 = 88888
}
ELSE
{
IF &IRS_TEST_I = 0
{
IF &IRS_Lconv = -1
{
&IRS_NS = -999999 // OFF
&IRS_L_1 = -999999 // OFF
&IRS_L_1_L2 = -999999
&IRS_L_1_R4 = -999999
}
ELSE
{
IF &IRS_Lconv < -1
{
IF &IRS_DOT1L = 0
{
&IRS_NS = -999999 // OFF
}
ELSE
{
&IRS_NS = 5 // SOUTH
}
L0 = &IRS_TKGS_I OR &IRS_HDGSTS_I
L0 = L0 OR &IRS_WIND_I
IF L0 = 1
{
&IRS_L_1 = -999999
&IRS_L_1_L2 = -999999
&IRS_L_1_R4 = ABS &IRS_Lconv
}
ELSE
{
&IRS_L_1 = ABS &IRS_Lconv // LATITUDE
}
}
ELSE
{
IF &IRS_Lconv >= 0
{
IF &IRS_DOT1L = 0
{
&IRS_NS = -999999 // OFF
}
ELSE
{
&IRS_NS = -999995 // NORTH
}
L0 = &IRS_TKGS_I OR &IRS_HDGSTS_I
L0 = L0 OR &IRS_WIND_I
IF L0 = 1
{
&IRS_L_1 = -999999
&IRS_L_1_L2 = -999999
&IRS_L_1_R4 = ABS &IRS_Lconv
}
ELSE
{
&IRS_L_1 = ABS &IRS_Lconv // LATITUDE
}
}
}
}
}
}
}
// Var 0806, name IRS_GPS_O, static, Link IOCARD_OUT, Device 0, Output 17 // IRS GPS INDICATOR
// Var 0882, name IRS_SYSL_I, static, Link IOCARD_SW, Device 0, Input 53 // IRS SYS DISPLAY LEFT ROTARY SWITCH
// Var 0884, name IRS_KEY1_I, static, Link IOCARD_SW, Device 0, Input 36 // IRS KEY 1 MOMENTARY SWITCH
// Var 0886, name IRS_KEY2_I, static, Link IOCARD_SW, Device 0, Input 44 // IRS KEY 2N MOMENTARY SWITCH
// Var 0888, name IRS_KEY3_I, static, Link IOCARD_SW, Device 0, Input 42 // IRS KEY 3 MOMENTARY SWITCH
// Var 0890, name IRS_KEY4_I, static, Link IOCARD_SW, Device 0, Input 38 // IRS KEY 4W MOMENTARY SWITCH
// Var 0892, name IRS_KEY5_I, static, Link IOCARD_SW, Device 0, Input 40 // IRS KEY 5H MOMENTARY SWITCH
// Var 0894, name IRS_KEY6_I, static, Link IOCARD_SW, Device 0, Input 46 // IRS KEY 6E MOMENTARY SWITCH
// Var 0896, name IRS_KEY7_I, static, Link IOCARD_SW, Device 0, Input 43 // IRS KEY 7 MOMENTARY SWITCH
// Var 0898, name IRS_KEY8_I, static, Link IOCARD_SW, Device 0, Input 37 // IRS KEY 8S MOMENTARY SWITCH
// Var 0900, name IRS_KEY9_I, static, Link IOCARD_SW, Device 0, Input 45 // IRS KEY 9 MOMENTARY SWITCH
// Var 0902, name IRS_KEYENT_I, static, Link IOCARD_SW, Device 0, Input 47 // IRS KEY ENT MOMENTARY SWITCH
// Var 0904, name IRS_KEY0_I, static, Link IOCARD_SW, Device 0, Input 39 // IRS KEY 0 MOMENTARY SWITCH
// Var 0906, name IRS_KEYCLR_I, static, Link IOCARD_SW, Device 0, Input 41 // IRS KEY CLR MOMENTARY SWITCH