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 }