diff --git a/Common-FAST.mlpe b/Common-FAST.mlpe index d9dca37..9bd2b28 100644 --- a/Common-FAST.mlpe +++ b/Common-FAST.mlpe @@ -130,7 +130,7 @@ function OnSimulStart() local nId = EgtGetFirstNameInGroup( EgtGetFirstNameInGroup( nGrpId or GDB_ID.NULL, McdData[i].Sub) or GDB_ID.NULL, McdData[i].Name) if nId then table.insert( EMT.MCODET, nId) - EgtOutLog( 'Element ' .. McdData[i].Grp .. '/' .. McdData[i].Sub .. '/' .. McdData[i].Name .. ' is ok', 4) + EgtOutLog( 'Element ' .. McdData[i].Grp .. '/' .. McdData[i].Sub .. '/' .. McdData[i].Name .. ' (' .. tostring( nId) .. ') is ok', 4) else nMcdNullCnt = nMcdNullCnt + 1 EgtOutLog( 'Element ' .. McdData[i].Grp .. '/' .. McdData[i].Sub .. '/' .. McdData[i].Name .. ' is null', 4) diff --git a/Common-FAST.mlse b/Common-FAST.mlse index 3849ad8..ce76cbf 100644 --- a/Common-FAST.mlse +++ b/Common-FAST.mlse @@ -445,6 +445,7 @@ function OnPostApplyMachining() EMC.YDELTA = nil EMC.VDELTA = nil EMC.HCING_IGNORE = true + EMC.CNT = 1 elseif IsStartOrRestPhase( EMC.PHASE) then -- carico le posizioni local dPosT = EgtGetInfo( nPrevOpeId, 'TPOS', 'd') @@ -461,6 +462,7 @@ function OnPostApplyMachining() EMC.VDELTA = nil end EMC.HCING_IGNORE = true + EMC.CNT = nil else -- aggiornamento posizioni (da lavorazione precedente a disposizione) local nPrev2OpeId = EgtGetPrevActiveOperation( nPrevOpeId) @@ -478,8 +480,8 @@ function OnPostApplyMachining() if #vAxes > 0 then EMC.TPOS = vAxes[1] end EMC.YDELTA = EgtGetInfo( nLastPathId, 'YDELTA', 'd') EMC.VDELTA = EgtGetInfo( nLastPathId, 'VDELTA', 'd') + EMC.CNT = nil end - EMC.CNT = nil -- altrimenti precedente operazione è lavorazione else -- aggiornamento posizioni diff --git a/UpdateLog.txt b/UpdateLog.txt index 593ef16..354e085 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,9 @@ ==== Common_FAST Update Log ==== +Versione 2.6-- (--/--/2024) +- (SIM-GEN) In MLSE, quando c'è una rotazione, viene settato EMT.CNT=1 per considerare i 50mm di compensazione laser. +- (SIM) Nel file di log dove c'è stampa gruppi di collisione, viene scritto anche ID del gruppo + Versione 2.6d1 (15/04/2024) - (GEN) Aggiunta gestione aggregato doppia uscita per controllo NUM_PLUS - (GEN) Con aggregato con si possono fare archi, se OnArc con aggregato, dà errore. diff --git a/Version.lua b/Version.lua index a5bd2e6..9dfe637 100644 --- a/Version.lua +++ b/Version.lua @@ -3,7 +3,7 @@ local InfoCommon_STD_PP = { NAME = 'Common-FAST', -- nome script PP standard - VERSION = '2.6d1', -- versione script + VERSION = '2.6--', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }