From ee7087b00350ce91b5f3062410dac25a73c955aa Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Thu, 8 Jan 2026 12:14:51 +0100 Subject: [PATCH 1/2] Variabile DeltaTol deve essere spostata in MLDE --- Common_FAST.mlse | 1 - UpdateLog.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Common_FAST.mlse b/Common_FAST.mlse index ea8ca83..83ab267 100644 --- a/Common_FAST.mlse +++ b/Common_FAST.mlse @@ -32,7 +32,6 @@ end ---------- OnSpecialApplyDisposition & OnPostApplyMachining --------- ----------------------- Costanti ------------------------------------ local DELTA_TOL_FIXED = 50 -local DeltaTol = 210 local DELTA_SIC = 1 local AGG_LOAD = 50 diff --git a/UpdateLog.txt b/UpdateLog.txt index ead8e3e..9ffe62d 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -3,6 +3,7 @@ Versione 3.1a1 (08/01/2026) - (SIM) Ottimizzata scrittura funzione ClampCheck post aggiornamento dll - (SIM) Corretto problema della funzione OnSimulDispositionStart in caso di fase finale. +- (MLDE-SIM-GEN) Variabile DeltaTol deve essere spostata in MLDE Versione 2.7l3 (22/12/2025) - (SIM) Eliminata MinJoin, utilizzata al suo posto funzione già esistente UpdateMinJoin nell'mlde From 51e2180b1566ff5d79b178b125fc358b7dee5a2f Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Mon, 26 Jan 2026 15:54:43 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Nella=20G101=20il=20parametro=20EE=20era=20?= =?UTF-8?q?sempre=20a=204=20perch=C3=A8=20la=20variabile=20veniva=20settat?= =?UTF-8?q?a=20dopo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Common_FAST.NUM.mlpe | 6 +++--- Common_FAST.NUM_PLUS.mlpe | 6 +++--- UpdateLog.txt | 3 +++ Version.lua | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Common_FAST.NUM.mlpe b/Common_FAST.NUM.mlpe index 7dc99a7..527278f 100644 --- a/Common_FAST.NUM.mlpe +++ b/Common_FAST.NUM.mlpe @@ -609,6 +609,9 @@ function OnRapid() MyBackupAxes() -- se primo movimento della lavorazione, gestione speciale if EMT.MCHFIRST and not EMT.OPEISDISP then + -- primo posizionamento + local MyZHome = EgtGetAxisHomePos( 'Z') + local bZmax = ( #EMT.AUXSTR > 0 or EMT.TOOL ~= EMT.PREVTOOL or EMT.L3 > -1) -- decido se muovere prima testa o carrelli (standard prima testa) local bHeadFirst = true local sLateG101 @@ -641,9 +644,6 @@ function OnRapid() local sER = ' ER' .. EmtLenToString( EgtIf( EMT.HEAD ~= 'H3', EMT.TDIAM / 2, EMT.TLEN), 3) local sES = ' ES'..EgtNumToString( EMT.S, 0) - -- primo posizionamento - local MyZHome = EgtGetAxisHomePos( 'Z') - local bZmax = ( #EMT.AUXSTR > 0 or EMT.TOOL ~= EMT.PREVTOOL or EMT.L3 > -1) -- se avevo motosega, torno in zona sicura senza ruotare assi rotanti if not EMT.LOAD and EMT.PREVHEAD == 'H3' and EMT.FLAG2 == 1 then local sOutPreMove = 'G101' .. ' X' .. EmtLenToString( -SafeXRotAxes, 3) .. ' Z' .. EmtLenToString( MyZHome, 3) .. diff --git a/Common_FAST.NUM_PLUS.mlpe b/Common_FAST.NUM_PLUS.mlpe index e7b664c..ec08765 100644 --- a/Common_FAST.NUM_PLUS.mlpe +++ b/Common_FAST.NUM_PLUS.mlpe @@ -657,6 +657,9 @@ function OnRapid() MyBackupAxes() -- se primo movimento della lavorazione, gestione speciale if EMT.MCHFIRST and not EMT.OPEISDISP then + -- primo posizionamento + local MyZHome = EgtGetAxisHomePos( 'Z') + local bZmax = ( #EMT.AUXSTR > 0 or EMT.TOOL ~= EMT.PREVTOOL or EMT.L3 > -1) -- decido se muovere prima testa o carrelli (standard prima testa) local bHeadFirst = true local sLateG101 @@ -713,9 +716,6 @@ function OnRapid() local sES = ' ES'..EgtNumToString( EMT.S, 0) - -- primo posizionamento - local MyZHome = EgtGetAxisHomePos( 'Z') - local bZmax = ( #EMT.AUXSTR > 0 or EMT.TOOL ~= EMT.PREVTOOL or EMT.L3 > -1) -- se avevo motosega, torno in zona sicura senza ruotare assi rotanti if not EMT.LOAD and EMT.PREVHEAD == 'H3' and EMT.FLAG2 == 1 then local sOutPreMove = 'G101' .. ' X' .. EmtLenToString( -SafeXRotAxes, 3) .. ' Z' .. EmtLenToString( MyZHome, 3) .. diff --git a/UpdateLog.txt b/UpdateLog.txt index 9ffe62d..80bca24 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,8 @@ ==== Common_FAST Update Log ==== +Versione 3.1a2 (26/01/2026) +- (GEN) Nella G101 il parametro EE era sempre a 4 perchè la variabile veniva settata dopo. Ticket#2796 + Versione 3.1a1 (08/01/2026) - (SIM) Ottimizzata scrittura funzione ClampCheck post aggiornamento dll - (SIM) Corretto problema della funzione OnSimulDispositionStart in caso di fase finale. diff --git a/Version.lua b/Version.lua index 226e542..be28bc0 100644 --- a/Version.lua +++ b/Version.lua @@ -3,7 +3,7 @@ local InfoCommon_STD_PP = { NAME = 'Common_FAST', -- nome script PP standard - VERSION = '3.1a1', -- versione script + VERSION = '3.1a2', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }