diff --git a/MTC_Adapter/MTC/baseUtils.cs b/MTC_Adapter/MTC/baseUtils.cs
index 15ff1ff..2a6960b 100644
--- a/MTC_Adapter/MTC/baseUtils.cs
+++ b/MTC_Adapter/MTC/baseUtils.cs
@@ -462,6 +462,10 @@ namespace MTC
public enum gatherCycle
{
+ ///
+ /// Very High Frequency (solo x invii...)
+ ///
+ VHF,
///
/// lettura dati ad alta frequenza
///
diff --git a/MTC_Adapter/MTC_Adapter/AdapterGeneric.cs b/MTC_Adapter/MTC_Adapter/AdapterGeneric.cs
index 8e8522e..8c23376 100644
--- a/MTC_Adapter/MTC_Adapter/AdapterGeneric.cs
+++ b/MTC_Adapter/MTC_Adapter/AdapterGeneric.cs
@@ -1934,6 +1934,13 @@ namespace MTC_Adapter
// oppure in "modalità classica" con multistep...
else
{
+ // ciclo VHF x invii...
+ if (ciclo == gatherCycle.VHF)
+ {
+ // processo e svuoto eventuali code di invio per Codici M/S/T
+ trySendCodMST();
+ }
+ // POI CONTROLLO cicli + lenti di lettura...
// ciclo HF: recupero update status & strobes vari
if (ciclo == gatherCycle.HF)
{
@@ -1984,8 +1991,6 @@ namespace MTC_Adapter
// faccio comunque rilettura completa allarmi...
forceAlarmCheck();
}
- // processo e svuoto eventuali code di invio per Codici M/S/T
- trySendCodMST();
}
if (showDebugData)
{
diff --git a/MTC_Adapter/MTC_Adapter/App.CMS-FANUC.config b/MTC_Adapter/MTC_Adapter/App.CMS-FANUC.config
index 8d04238..00d5271 100644
--- a/MTC_Adapter/MTC_Adapter/App.CMS-FANUC.config
+++ b/MTC_Adapter/MTC_Adapter/App.CMS-FANUC.config
@@ -2,6 +2,11 @@
+
diff --git a/MTC_Adapter/MTC_Adapter/App.CMS-OSAI.config b/MTC_Adapter/MTC_Adapter/App.CMS-OSAI.config
index 8d04238..00d5271 100644
--- a/MTC_Adapter/MTC_Adapter/App.CMS-OSAI.config
+++ b/MTC_Adapter/MTC_Adapter/App.CMS-OSAI.config
@@ -2,6 +2,11 @@
+
diff --git a/MTC_Adapter/MTC_Adapter/App.CMS-SIEMENS.config b/MTC_Adapter/MTC_Adapter/App.CMS-SIEMENS.config
index 4f368ad..afcbe9d 100644
--- a/MTC_Adapter/MTC_Adapter/App.CMS-SIEMENS.config
+++ b/MTC_Adapter/MTC_Adapter/App.CMS-SIEMENS.config
@@ -2,7 +2,11 @@
-
+
+
+
+
+
diff --git a/MTC_Adapter/MTC_Adapter/App.config b/MTC_Adapter/MTC_Adapter/App.config
index b64e1c8..d551a30 100644
--- a/MTC_Adapter/MTC_Adapter/App.config
+++ b/MTC_Adapter/MTC_Adapter/App.config
@@ -9,10 +9,10 @@
-
-
-
-
+
+
+
+
diff --git a/MTC_Adapter/MTC_Adapter/MainForm.cs b/MTC_Adapter/MTC_Adapter/MainForm.cs
index aef3eca..d319f44 100644
--- a/MTC_Adapter/MTC_Adapter/MainForm.cs
+++ b/MTC_Adapter/MTC_Adapter/MainForm.cs
@@ -571,6 +571,8 @@ namespace MTC_Adapter
checkSlowTask();
// check esecuzione AlarmSync
checkAlarmSync();
+ // check esecuzione SendTask (VHF)
+ checkSendTask();
if (utils.CRI("waitEndCycle") > 0)
{
Thread.Sleep(utils.CRI("waitEndCycle"));
@@ -719,6 +721,11 @@ namespace MTC_Adapter
{ }
}
+ private void checkSendTask()
+ {
+ // avvio fase invio con adapter (code MST)
+ agObj.gaterAndSend(gatherCycle.VHF);
+ }
private void checkFastTask()
{
// decremento...