diff --git a/Nasal/ECAM/ECAM-logic.nas b/Nasal/ECAM/ECAM-logic.nas
index 7b6211a3..df2a5eec 100644
--- a/Nasal/ECAM/ECAM-logic.nas
+++ b/Nasal/ECAM/ECAM-logic.nas
@@ -3,7 +3,7 @@
# props.nas:
-var dualFailNode = props.globals.initNode("/ECAM/dual-failure-enabled", 0, "BOOL");
+var dualFailNode = props.globals.initNode("/ECAM/warnings/logic/eng/dual-failure", 0, "BOOL");
var apWarn = props.globals.getNode("/it-autoflight/output/ap-warning", 1);
var athrWarn = props.globals.getNode("/it-autoflight/output/athr-warning", 1);
@@ -3642,19 +3642,3 @@ var messages_right_memo = func {
adirs_switch.active = 0;
}
}
-
-setlistener("/engines/engine[0]/state", func() {
- if ((state1Node.getValue() != 3 and state2Node.getValue() != 3) and !pts.Fdm.JSBsim.Position.wow.getBoolValue()) {
- dualFailNode.setBoolValue(1);
- } else {
- dualFailNode.setBoolValue(0);
- }
-}, 0, 0);
-
-setlistener("/engines/engine[1]/state", func() {
- if ((state1Node.getValue() != 3 and state2Node.getValue() != 3) and !pts.Fdm.JSBsim.Position.wow.getBoolValue()) {
- dualFailNode.setBoolValue(1);
- } else {
- dualFailNode.setBoolValue(0);
- }
-}, 0, 0);
diff --git a/Systems/a320-fwc.xml b/Systems/a320-fwc.xml
index abc66dd1..e177faab 100644
--- a/Systems/a320-fwc.xml
+++ b/Systems/a320-fwc.xml
@@ -1823,7 +1823,7 @@
/ECAM/timer/ground-calc eq 0
- /ECAM/dual-failure-enabled eq 0
+ /ECAM/warnings/logic/eng/dual-failure eq 0
@@ -1870,7 +1870,7 @@
/ECAM/timer/ground-calc eq 0
- /ECAM/dual-failure-enabled eq 0
+ /ECAM/warnings/logic/eng/dual-failure eq 0
@@ -2752,6 +2752,49 @@
+
+
+
+ /engines/engine[0]/n2-actual lt 59.4
+ /engines/engine[1]/n2-actual lt 59.4
+
+
+
+
+ /ECAM/warnings/logic/eng/dual-failure-5-sec-input
+ 0.5
+ 100
+
+
+
+
+ /controls/engines/engine[1]/fire-btn
+ 0.1
+ 1.0
+
+
+
+
+
+ /ECAM/timer/ground-calc eq 0
+
+ /ECAM/warnings/logic/eng/eng-1-fire-btn-timer eq 1
+ /controls/engines/engine[1]/fire-btn eq 0
+
+
+
+ /controls/engines/engine[0]/fire-btn eq 1
+ /controls/engines/engine[1]/fire-btn eq 1
+
+
+ /controls/engines/engine[0]/cutoff-switch eq 1
+ /controls/engines/engine[1]/cutoff-switch eq 1
+
+ /ECAM/warnings/logic/eng/dual-failure-5-sec eq 1
+
+
+
+
@@ -2818,7 +2861,7 @@
/engines/engine[0]/n2-actual ge 59.4
- /ECAM/dual-failure-enabled eq 1
+ /ECAM/warnings/logic/eng/dual-failure eq 1
@@ -2826,7 +2869,7 @@
/engines/engine[1]/n2-actual ge 59.4
- /ECAM/dual-failure-enabled eq 1
+ /ECAM/warnings/logic/eng/dual-failure eq 1
@@ -2891,7 +2934,7 @@
/ECAM/phases/timer/acconfig-running eq 0
- /ECAM/dual-failure-enabled eq 0
+ /ECAM/warnings/logic/eng/dual-failure eq 0
@@ -2912,7 +2955,7 @@
/ECAM/phases/timer/acconfig-running eq 0
- /ECAM/dual-failure-enabled eq 0
+ /ECAM/warnings/logic/eng/dual-failure eq 0