I'm building a B747-400 with PM Glass Cockpit and pm systems using IOCARDS. No problem with most of the switches except that sometimes when I raise or lower flaps my fuel control switches cutoff and my engines shut down but thats another worry. Right now I'm working on the MACH/IAS encoder and display. If I use my mouse to change the IAS in the PM MCP, the numbers also change on my homebuilt MCP and the FS MCP but I can't change them with my encoder . If I change the IAS numbers with my mouse in FS, PM doesn't follow. Also, kind of odd, if I flip the A/T switch on in FS it just flips back off even though its turned on at the PM MCP . Here is the SIOC script I am working with for the MACH/IAS. Would appreciate any help.

Var 0000, Value 0
{

V0600 = V0004 // IAS leidas en IAS temporal
V0601 = V0005 // MATH leidas en MATH temporal
V0602 = V0004 // Pone por IAS en display
}

Var 0600, Link FSUIPC_OUT, Offset $5406, Length 2 // IAS V0057

Var 0601, Link FSUIPC_OUT, Offset $540E, Length 2 // MACH V0058

Var 0602, Link IOCARD_DISPLAY, Digit 0, Numbers 3 // IAS/ MACH V0402

Var 0603, Link IOCARD_ENCODER, Input 51, Aceleration 6 // Encoder IAS/ MACH v0303

{
C0 = TESTBIT V0607 ,15 // MACH or IAS MODE?
IF C0 // MACH MODE
{
V0601 = LIMIT 25 ,95 ,V0603 // Increment or decrement MACH value
}
ELSE
{
V0600 = LIMIT 0 ,340 ,V0603 // Increment or decrement IAS value
}
}

Var 0604, Link FSUIPC_IN, Offset $04E0, Length 2 // IAS V0004
{
CALL V0608 // Display del valor
}

Var 0605, Link FSUIPC_IN, Offset $04E8, Length 2 // MACH V0005
{
CALL V0608 // Display del valor
}
Var 0606, Link IOCARD_OUT, Output 32 // Led . DECIMAL V0516

Var 0607, Link FSUIPC_IN, Offset $04F0, Length 2 // MCP LIGHTS V0003

{
C0 = TESTBIT 0607 ,15 // MACH or IAS Mode?
IF C0 // Mode Matches
{
V0601 = V0605 // Hold Temporary value
V0606 = 1 // Turn on Mach point
CALL V0608 // Put value in display
}
ELSE
{
V0600 = V0604 // Hold Temporary value
V0606 = 0 // Turn off Mach point
CALL V0608 // Put value in display
}
}

Var 0608, Link SUBRUTINE // Change IAS / MAcH V0901
{
C0 = TESTBIT V0607 ,15 // MACH or IAS Mode ?
IF C0 // MACH MODE
{
V0602 = V0605 // Put value of MACH in display
}
ELSE
{
V0602 = V0604 // Put value of IAS in display
}
}

Jerry