s/Net change limit for block-save

This commit is contained in:
Samuele Locatelli
2020-08-07 15:00:03 +02:00
parent 3ba6b7658e
commit a05da09864
+3 -1
View File
@@ -2108,7 +2108,9 @@ namespace CMS_CORE_Library.S7Net
int memIndex = 0;
int packSize = 20;
bool writeSingle = newParameters.Count < 30;
// 2020.08.07
// limite a 5 parametri x scrivere tutto (era 30)
bool writeSingle = newParameters.Count < 5;
// leggo da PLC a array di byte di appoggio...
libraryError = MEM_RWByteList(R, 0, PARAMETER_DATA.MemType, PARAMETER_DATA.Address, PARAMETER_DATA.SubAddress, 0, PARAMETER_DATA.Size, ref currMem);