tolto lettura blocco F0..F1 (e G già commentato, non serve...)
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
<add key="enableMode" value="true" />
|
||||
<add key="doMemDump" value="false" />
|
||||
<add key="doSampleMemory" value="false" />
|
||||
<add key="enableNewFunc" value="true" />
|
||||
<add key="basePrgMemPath" value="CNCMEMUSERPATH1" />
|
||||
<!--gestione TIMERS e periodi multipli x thread lenti-->
|
||||
<add key="startTimerMs" value="250" />
|
||||
|
||||
@@ -192,41 +192,6 @@ namespace IOB_WIN
|
||||
if (verboseLog) lg.Info(string.Format("RawInput: {0}", utils.binaryForm((int)RawInput[0])));
|
||||
// salvo il solo BYTE dell'input decifrando il semaforo...
|
||||
decodeToBitmap();
|
||||
|
||||
if (utils.CRB("enableTest"))
|
||||
{
|
||||
if (verboseLog) lg.Info("START FanucMemRW-FG");
|
||||
// !!!FARE!!! ora leggo CABLATO i byte F e G...
|
||||
//byte[] MemBlockG = new byte[2];
|
||||
inizio = DateTime.Now;
|
||||
FanucMemRW(R, FANUC.MemType.F, 0, ref MemBlockF);
|
||||
if (utils.CRB("recTime")) TimingData.addResult(string.Format("R{0}-F", MemBlockF.Length), DateTime.Now.Subtract(inizio).Ticks);
|
||||
//inizio = DateTime.Now;
|
||||
//FanucMemRW(R, FANUC.MemType.G, 7, ref MemBlockG);
|
||||
//if (utils.CRB("recTime")) TimingData.addResult(string.Format("R{0}-G", MemBlockG.Length), DateTime.Now.Subtract(inizio).Ticks);
|
||||
if (verboseLog) lg.Info("END FanucMemRW-FG");
|
||||
// se cambiato loggo!
|
||||
if (MemBlockF != MemBlockF_pre)
|
||||
{
|
||||
lg.Info(string.Format("Dati F: {0:X} | {1:X}", MemBlockF[0], MemBlockF[1]));
|
||||
}
|
||||
if (nReadIN % 50 == 0) lg.Info(string.Format("Dati F: {0:X} | {1:X}", MemBlockF[0], MemBlockF[1]));
|
||||
MemBlockF_pre = MemBlockF;
|
||||
//if (nReadIN % 50 == 0) lg.Info(string.Format("Dati G: {0:X}", MemBlockG));
|
||||
|
||||
// commento lettura X...
|
||||
#if false
|
||||
byte[] MemBlockX = new byte[2];
|
||||
inizio = DateTime.Now;
|
||||
FanucMemRW(R, FANUC.MemType.X, 6, ref MemBlockX);
|
||||
if (utils.CRB("recTime")) TimingData.addResult(string.Format("R{0}-X", MemBlockF.Length), DateTime.Now.Subtract(inizio).Ticks);
|
||||
// output!
|
||||
for (int i = 0; i < MemBlockX.Length; i++)
|
||||
{
|
||||
lg.Info(string.Format("MemBlockX[{0}]: {0} | {1}", i, utils.binaryForm((int)MemBlockX[i])));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Effettua decodifica aree memoria alla bitmap usata x MAPO
|
||||
|
||||
@@ -10,11 +10,14 @@ OK - fare gestione come rPI-IOB, ovvero
|
||||
OK - gestione QUEUE eventi
|
||||
OK - salvataggio su file dello storico eventi rilevati
|
||||
OK - gestione dei segnali ballerini (BITMASK!)
|
||||
OK - gestione contapezzi CUSTOM
|
||||
- fare gestione configurabile lettura FANUC
|
||||
- togliere dati G43
|
||||
- togliere dati F (E0 | 90)
|
||||
- fare integrazione ALTRI varori FANUC, tra cui
|
||||
- allarmi
|
||||
- load/speed
|
||||
- nuovo metodo chaimata x MP/IO (che dovrà avere nuovo comando x accettare queste chiamate e salvare su tabella SENZA processing, come eventi o come extra... evento NOTA?)
|
||||
- nuovo metodo chiamata x MP/IO (che dovrà avere nuovo comando x accettare queste chiamate e salvare su tabella SENZA processing, come eventi o come extra... evento NOTA?)
|
||||
- verificare segnali: (vedi doc gsheet)
|
||||
- F001.0: ALARM_PRESENT
|
||||
- F001.7: CN_READY / POWER_ON
|
||||
|
||||
Reference in New Issue
Block a user