From c2e0fe7bcd8fab36a96a35251033f1e9e5b4888d Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 28 Jan 2025 11:14:04 +0100 Subject: [PATCH 1/2] Correzione conf MTC: se macchina 60 --> emergenza si "inverte" --- IOB-WIN-MTC/DATA/CONF/3024.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IOB-WIN-MTC/DATA/CONF/3024.json b/IOB-WIN-MTC/DATA/CONF/3024.json index 393e62b6..fa231084 100644 --- a/IOB-WIN-MTC/DATA/CONF/3024.json +++ b/IOB-WIN-MTC/DATA/CONF/3024.json @@ -11,7 +11,7 @@ "keyRunMode": "M7010B4214N_13", "keyEStop": "M7010B4214N_3", "pingAsPowerOn": false, - "emergencyArmedTrue": false, + "emergencyArmedTrue": true, "condPowerOn": { "keyName": "M7010B4214N_2", "targetValue": "AVAILABLE" From 4d0ffd50b607b75dcf7be7a727561acdadfd9c92 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 28 Jan 2025 14:58:23 +0100 Subject: [PATCH 2/2] Fix wamrup x MTC solo con poweron (x eviatare segnali altalenanti) --- IOB-WIN-MTC/Iob/MTConn.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IOB-WIN-MTC/Iob/MTConn.cs b/IOB-WIN-MTC/Iob/MTConn.cs index fd048985..dce1cf26 100644 --- a/IOB-WIN-MTC/Iob/MTConn.cs +++ b/IOB-WIN-MTC/Iob/MTConn.cs @@ -1161,6 +1161,9 @@ namespace IOB_WIN_MTC.Iob // verifico condizioni per 6° bit = WarmUp/CoolDown... if (hasBitCondition(6)) { + // resetto a 1 il segnale di base (solo poweron)... + B_input = 1; + // ed aggiungo warmup B_input += (1 << 6); } // possibile miglioramento: gestione 5° bit slowTC come simula...