diff --git a/Nasal/ECAM/ECAM-logic.nas b/Nasal/ECAM/ECAM-logic.nas index df2a5eec..987914b4 100644 --- a/Nasal/ECAM/ECAM-logic.nas +++ b/Nasal/ECAM/ECAM-logic.nas @@ -1920,7 +1920,7 @@ var messages_priority_2 = func { } # GEN 1 FAULT - if (gen1fault.clearFlag == 0 and warningNodes.Flipflops.gen1Fault.getValue() and (phaseVar2 == 2 or phaseVar2 == 3 or phaseVar2 == 6 or phaseVar2 == 9)) { + if (gen1fault.clearFlag == 0 and warningNodes.Flipflops.gen1Fault.getValue() == 1 and (phaseVar2 == 2 or phaseVar2 == 3 or phaseVar2 == 6 or phaseVar2 == 9)) { gen1fault.active = 1; if (!warningNodes.Flipflops.gen1FaultOnOff.getValue()) { gen1faultGen.active = 1; @@ -1950,7 +1950,7 @@ var messages_priority_2 = func { } # GEN 2 FAULT - if (gen2fault.clearFlag == 0 and warningNodes.Flipflops.gen2Fault.getValue() and (phaseVar2 == 2 or phaseVar2 == 3 or phaseVar2 == 6 or phaseVar2 == 9)) { + if (gen2fault.clearFlag == 0 and warningNodes.Flipflops.gen2Fault.getValue() == 1 and (phaseVar2 == 2 or phaseVar2 == 3 or phaseVar2 == 6 or phaseVar2 == 9)) { gen2fault.active = 1; if (!warningNodes.Flipflops.gen2FaultOnOff.getValue()) { gen2faultGen.active = 1; diff --git a/Systems/a320-fwc-phases.xml b/Systems/a320-fwc-phases.xml index 5dbd7e02..3431cabf 100644 --- a/Systems/a320-fwc-phases.xml +++ b/Systems/a320-fwc-phases.xml @@ -141,39 +141,11 @@ - - - - - /ECAM/phases/timer/eng1idle-output eq 0 - /controls/engines/engine[0]/cutoff-switch eq 1 - - - /ECAM/timer/ground-calc eq 1 - /ECAM/phases/timer/eng1idle eq 0 - - - - - - - - - /ECAM/phases/timer/eng2idle-output eq 0 - /controls/engines/engine[1]/cutoff-switch eq 1 - - - /ECAM/timer/ground-calc eq 1 - /ECAM/phases/timer/eng2idle eq 0 - - - - - /ECAM/phases/phase-calculation/engine-1-off eq 1 - /ECAM/phases/phase-calculation/engine-2-off eq 1 + /ECAM/warnings/logic/eng/JE1NORUN eq 1 + /ECAM/warnings/logic/eng/JE2NORUN eq 1 diff --git a/Systems/a320-fwc.xml b/Systems/a320-fwc.xml index 568bf8e2..a88998b0 100644 --- a/Systems/a320-fwc.xml +++ b/Systems/a320-fwc.xml @@ -1499,10 +1499,80 @@ + + + + /engines/engine[0]/n2-actual ge 59.4 + + + + + /ECAM/warnings/logic/eng/engine-1-core-speed-abv-idle-input + 0.03333333333 + 1.0 + + + + /controls/engines/engine[0]/fire-btn + 0.03225806451 + 1.0 + + + + + + /controls/engines/engine[0]/cutoff-switch eq 1 + + /ECAM/warnings/logic/eng/engine-1-core-speed-abv-idle ne 1 + + /engines/engine[0]/n2-actual lt 59.4 + /ECAM/timer/ground-calc eq 1 + /controls/engines/engine[0]/fire-btn eq 0 + /ECAM/warnings/logic/eng/eng-1-fire-btn-timer-31 ne 1 + + + + + + + + + /engines/engine[0]/n2-actual ge 59.4 + + + + + /ECAM/warnings/logic/eng/engine-2-core-speed-abv-idle-input + 0.03333333333 + 1.0 + + + + /controls/engines/engine[1]/fire-btn + 0.03225806451 + 1.0 + + + + + + /controls/engines/engine[1]/cutoff-switch eq 1 + + /ECAM/warnings/logic/eng/engine-2-core-speed-abv-idle ne 1 + + /engines/engine[1]/n2-actual lt 59.4 + /ECAM/timer/ground-calc eq 1 + /controls/engines/engine[1]/fire-btn eq 0 + /ECAM/warnings/logic/eng/eng-2-fire-btn-timer-31 ne 1 + + + + + - /engines/engine[0]/state eq 3 + /ECAM/warnings/logic/eng/JE1NORUN eq 0 /systems/electrical/relay/gen-1-glc/contact-pos eq 0 @@ -1570,7 +1640,7 @@ - /engines/engine[1]/state eq 3 + /ECAM/warnings/logic/eng/JE2NORUN eq 0 /systems/electrical/relay/gen-2-glc/contact-pos eq 0 @@ -2766,7 +2836,6 @@ 100 - /controls/engines/engine[1]/fire-btn 0.1