From 523e7261cc58a27932c0e5d304b46dd018635ab3 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Thu, 18 Apr 2024 10:46:18 +0200 Subject: [PATCH] =?UTF-8?q?-=20In=20MLSE,=20quando=20c'=C3=A8=20una=20rota?= =?UTF-8?q?zione=20del=20pezzo,=20viene=20settato=20EMT.CNT=3D1=20per=20of?= =?UTF-8?q?fset=20carico.=20-=20Nel=20file=20di=20log=20per=20collisioni?= =?UTF-8?q?=20si=20scrive=20anche=20ID=20del=20gruppo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Common-FAST.mlpe | 2 +- Common-FAST.mlse | 4 +++- UpdateLog.txt | 4 ++++ Version.lua | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) 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 }