Commentata parte non utilizzata di lettura e testato SOLO con DWord (ma sembra ko)
This commit is contained in:
@@ -285,6 +285,7 @@ namespace EsaCncLib
|
||||
SCMA_MMan_status.data = new Byte[SCMA_MMan_status.BiteSize];
|
||||
}
|
||||
|
||||
#if false
|
||||
/// <summary>
|
||||
/// Thread main execution
|
||||
/// </summary>
|
||||
@@ -312,7 +313,8 @@ namespace EsaCncLib
|
||||
|
||||
if (Connected) Disconnect();
|
||||
Finished = true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Leggo i buffer di memorie BYTE
|
||||
@@ -362,7 +364,7 @@ namespace EsaCncLib
|
||||
private void readConvWord(EsaWordMem currData)
|
||||
{
|
||||
// variabili di appoggio
|
||||
TS_REG newTsReg = currData.AddresReg;// new TS_REG();
|
||||
TS_REG newTsReg = currData.AddresReg;
|
||||
// effettuo lettura!
|
||||
iError = read_regbuffer(ref newTsReg, 0, currData.BiteSize, currData.tempData);
|
||||
currData.AddresReg = newTsReg;
|
||||
@@ -400,6 +402,7 @@ namespace EsaCncLib
|
||||
}
|
||||
|
||||
|
||||
#if false
|
||||
/// <summary>
|
||||
/// Reads the buffer.
|
||||
/// </summary>
|
||||
@@ -408,7 +411,8 @@ namespace EsaCncLib
|
||||
ReadBufferByte();
|
||||
ReadBufferWord();
|
||||
ReadBufferDWord();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Connects to device.
|
||||
|
||||
@@ -590,9 +590,12 @@ namespace SCMA.AdapterPLC.CMS
|
||||
parentForm.dataMonitor_2 = "";
|
||||
parentForm.dataMonitor_3 = "";
|
||||
|
||||
// recupero le varie memorie (prima string che mi serve x area selezionata --> programma selezionato)
|
||||
// recupero le varie memorie
|
||||
//2020.04.17 commentato x ridurre solo a DWord
|
||||
#if false
|
||||
getIotMem_Byte();
|
||||
getIotMem_Word();
|
||||
getIotMem_Word();
|
||||
#endif
|
||||
getIotMem_DWord();
|
||||
|
||||
// processo componenti specifici x info...
|
||||
|
||||
Reference in New Issue
Block a user