eliminato area memoria ETK
This commit is contained in:
@@ -33,7 +33,6 @@ namespace SCMCncLib
|
||||
{
|
||||
private UInt16 ReadNumber;
|
||||
private UInt16 WriteNumber;
|
||||
private UInt16 ETKAreaByteSize;
|
||||
private UInt16 AlarmByteSize;
|
||||
|
||||
private UInt16 IOT_ByteAreaByteSize;
|
||||
@@ -54,9 +53,6 @@ namespace SCMCncLib
|
||||
private string CommandsAddressName;
|
||||
private TS_REG CommandsAddress;
|
||||
|
||||
private string ETKAreaAddressName;
|
||||
private TS_REG ETKAreaAddress;
|
||||
|
||||
private string PlcErrAreaAddressName;
|
||||
private TS_REG PlcErrAreaAddress;
|
||||
|
||||
@@ -84,15 +80,7 @@ namespace SCMCncLib
|
||||
/// </summary>
|
||||
public UInt32[] PLC_MemoryRead;
|
||||
public UInt32[] PLC_MemoryWrite;
|
||||
|
||||
/// <summary>
|
||||
/// Area V: memoria temp di UINT di 4 byte (32 bit)
|
||||
/// </summary>
|
||||
public UInt32[] PLC_MemAreaV_tmp;
|
||||
/// <summary>
|
||||
/// memorie a 1 byte (32 bit) x area ETK (status e valori vari)
|
||||
/// </summary>
|
||||
public UInt32[] PLC_MemoryAreaETK;
|
||||
|
||||
/// <summary>
|
||||
/// Area Allarmi: memoria temp di UINT di 4 byte (32 bit)
|
||||
/// </summary>
|
||||
@@ -222,7 +210,6 @@ namespace SCMCncLib
|
||||
|
||||
ReadNumber = 265;
|
||||
WriteNumber = 265;
|
||||
ETKAreaByteSize = 8;
|
||||
AlarmByteSize = 32;
|
||||
|
||||
// nuove aree: da init mi passa le dimensioni delle memorie
|
||||
@@ -232,7 +219,6 @@ namespace SCMCncLib
|
||||
IOT_String_AreaByteSize = Convert.ToUInt16(IAS_String);
|
||||
|
||||
CommandsAddressName = fIni.ReadString("NC", "CommandsAddress", "SIMREAD[0]");
|
||||
ETKAreaAddressName = fIni.ReadString("NC", "ETKAreaAddress", "ETK");
|
||||
PlcErrAreaAddressName = fIni.ReadString("NC", "PlcErrAreaAddress", "V");
|
||||
StatusAddressName = fIni.ReadString("NC", "StatusAddress", "SIMWRITE[0]");
|
||||
|
||||
@@ -260,10 +246,7 @@ namespace SCMCncLib
|
||||
|
||||
// creo array duali in bytes...
|
||||
PLC_MemoryAreaAllarmi = new Byte[AlarmByteSize];
|
||||
|
||||
// creazione veri buffer già 32bit
|
||||
PLC_MemoryAreaETK = new UInt32[ETKAreaByteSize];
|
||||
|
||||
|
||||
// creo array x aree memoria IOT...
|
||||
PLC_MemoryAreaIOT_Byte_tmp = new UInt32[(int)Math.Ceiling((decimal)IOT_ByteAreaByteSize / 4)];
|
||||
PLC_MemoryAreaIOT_Byte = new Byte[IOT_ByteAreaByteSize];
|
||||
|
||||
Reference in New Issue
Block a user