Hello
Does any body have a SIOC script to be use with USB servo and to light up the annunciators from MIP?
Thaks
Cesar
Printable View
Hello
Does any body have a SIOC script to be use with USB servo and to light up the annunciators from MIP?
Thaks
Cesar
Cesar,
To light up annunciator you can read in FSUICP Offset for flap position and let the Servos do the flaps as follows:
PMDG 737NG 800-900
===================================================
Var 0001, name FI_FlpsPos, Link FSUIPC_IN, Offset $0BE0, Length 4
{
IF &FI_FlpsPos = 0 // Flaps Up
{
&Flaps_Ext = 0
&Flaps_Trans = 0
}
C0 = &FI_FlpsPos > 0
C1 = &FI_FlpsPos < 409
IF C0 AND C1 // LE Flaps in Transit
{
&Flaps_Trans = 1
&Flaps_Ext = 0
}
IF &FI_FlpsPos = 409 // Flap 1
{
&Flaps_Ext = 1
&Flaps_Trans = 0
}
IF &FI_FlpsPos = 819 // Flap 2
{
&Flaps_Ext = 1
&Flaps_Trans = 0
}
IF &FI_FlpsPos = 2047 // Flap 5
{
&Flaps_Ext = 1
&Flaps_Trans = 0
}
C0 = &FI_FlpsPos > 2047
C1 = &FI_FlpsPos < 4095
IF C0 AND C1 // LE Flaps in Transit
{
&Flaps_Ext = 0
&Flaps_Trans = 1
}
IF &FI_FlpsPos = 4095 // Flap 10
{
&Flaps_Ext = 1
&Flaps_Trans = 0
}
}
Var 0004, name Flaps_Trans, Link IOCARD_OUT, Output 9 // Flaps in Transit Amber LED
Var 0003, name Flaps_Ext, Link IOCARD_OUT, Output 10 // Flaps Extended Green LED