log contapezzi + frequente (NON SOLO se cambia)

This commit is contained in:
Samuele E. Locatelli
2018-07-18 13:01:09 +02:00
parent 737b807467
commit 3ab8111eb0
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -456,9 +456,10 @@ namespace IOB_WIN
contapezzi++;
// salvo in semaforo!
B_input += 1 << 2;
// registro contapezzi
lgInfo(string.Format("Contapezzi FANUC: {0} | Contapezzi interno {1}", lastCountCNC, contapezzi));
}
// registro contapezzi
lgInfo(string.Format("Contapezzi FANUC: {0} | Contapezzi interno {1}", lastCountCNC, contapezzi));
// 2018.06.26 NON resetto perché si deve resettare da solo da conteggio TC POST cambio ODL...
#if false
else if (contapezzi > lastCountCNC) // in questo caso resetto
+3 -2
View File
@@ -566,9 +566,10 @@ namespace IOB_WIN
contapezzi++;
// salvo in semaforo!
B_input += 1 << 2;
// registro contapezzi
lgInfo(string.Format("Contapezzi SIEMENST-TORRI: {0} | Contapezzi interno {1}", lastCountCNC, contapezzi));
}
// registro contapezzi
lgInfo(string.Format("Contapezzi SIEMENST-TORRI: {0} | Contapezzi interno {1}", lastCountCNC, contapezzi));
// 2018.06.26 NON resetto perché si deve resettare da solo da conteggio TC POST cambio ODL...
#if false
else if (contapezzi > lastCountCNC) // in questo caso resetto