From 3711fe72d5bfbf5ccaefa545e65472a7a0bc7ef5 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Fri, 17 Jan 2025 09:30:35 +0100 Subject: [PATCH] Allineamento con common ver 2.7a1 --- Common_PF1250.TPA.mlpe | 9 ++++++--- Essetre-PF1250MAX.mlde | 4 ++-- UpdateLog.txt | 8 ++++++-- Version.lua | 2 +- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Common_PF1250.TPA.mlpe b/Common_PF1250.TPA.mlpe index 1ab9cef..937fa1c 100644 --- a/Common_PF1250.TPA.mlpe +++ b/Common_PF1250.TPA.mlpe @@ -2843,9 +2843,12 @@ function PreselectNextDiffHead( nMchId, sHead) -- faccio preselezione ( se sono arrivato qui, vuol dire che posso preselezionare) if nNextHSet == 1 then local dNextX - -- se sto lavorando con testa 3, la testa 1 deve restare in home + -- se sto lavorando con testa 3, la testa 1 preselezionata deve restare in home if nHSet == 3 then - dNextX = EgtGetAxisHomePos( 'X1') + dNextX = - EgtGetAxisHomePos( 'X1') + -- se il prossimo utensile su testa 1 è utensile lungo, resta in home + elseif sNextHead == 'H11' and dNextTotLen > LongTool then + dNextX = - EgtGetAxisHomePos( 'X1') -- altrimenti recupero quota X1 (nostro L2) else dNextX = GetStartMachiningXaxis( nNextMchId) @@ -2857,7 +2860,7 @@ function PreselectNextDiffHead( nMchId, sHead) EmitMoveDataHead( 1, { X=dNextX, B=ParkB1, C=ParkC1, TPos=AdjustTcPos( false, sNextTcPos), Fmt=2}) else local nNextTc = GetTcForTopHeadTool( sNextTcPos) - EmitMoveDataHead( 1, { X=dNextX, B=ParkLongB1, C=EgtIf( nPrevTc ~= 2, ParkLongTc1C1, ParkLongTc2C1), TPos=AdjustTcPos( false, sNextTcPos), Fmt=2}) + EmitMoveDataHead( 1, { X=dNextX, B=ParkLongB1, C=EgtIf( nNextTc ~= 2, ParkLongTc1C1, ParkLongTc2C1), TPos=AdjustTcPos( false, sNextTcPos), Fmt=2}) end EmitMoveStartHead( 1) elseif sNextHead == 'H12' or sNextHead == 'H16' then diff --git a/Essetre-PF1250MAX.mlde b/Essetre-PF1250MAX.mlde index 7d7dea8..8d724d7 100644 --- a/Essetre-PF1250MAX.mlde +++ b/Essetre-PF1250MAX.mlde @@ -8,8 +8,8 @@ require( 'EmtGenerator') EgtEnableDebug( false) -PP_VER = '2.6l6' -PP_NVER = '2.6.12.6' +PP_VER = '2.7a1' +PP_NVER = '2.7.1.1' MIN_MACH_VER = '2.5k1' MACH_NAME = 'Essetre-PF1250MAX' diff --git a/UpdateLog.txt b/UpdateLog.txt index 3ce4965..37c2c00 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,10 +1,14 @@ ==== Common_PF1250 Update Log ==== +Versione 2.7a1 (17/01/2025) +- (GEN) Piccola correzione posizione X in preselezione utensile +- (GEN) Corretto primo punto X preselezione utensile. Ticket#2183 e #2250 + Versione 2.6l7 (19/12/2024) - (SIM) HOTFIX : corretto posizione Z zero alla selezione dell'utensile in caso di motosega. Ticket#2235 Versione 2.6l6 (18/12/2024) -- (MLDE-SIM-GEN) Aggiunta variabile 'SafeX2RotAxis' in sostituzionme della 'ParkMchY2' che era usata impropriamente +- (MLDE-SIM-GEN) Aggiunta variabile 'SafeX2RotAxis' in sostituzione della 'ParkMchY2' che era usata impropriamente Versione 2.6l5 (17/12/2024) - (SIM) Corretta posizione iniziale testa 2. Ticket#2228 @@ -28,7 +32,7 @@ Versione 2.6l1 (13/12/2024) - (SIM-GEN) A fine barra, testa 3 sempre in home - (GEN) Controllo esistenza terzo asse ausiliario - (GEN) Corretto primo movimento in X quando si parte con testa 3. Ticket#2216 -- (GEN) Se su testa 1 c'è un aggregato e si utilizzerà la testa 3, si pscarica aggregato e si prende utensile di default. Ticket#2222 +- (GEN) Se su testa 1 c'è un aggregato e si utilizzerà la testa 3, si scarica aggregato e si prende utensile di default. Ticket#2222 - (GEN) Durante utilizzo della testa 3, non si preselezionano altre teste. Ticket#2220 - (SIM-GEN) Se lavorazione con testa dedicata lama e su testa 1 c'era aggregato, viene scaricato. Ticket#2216 diff --git a/Version.lua b/Version.lua index 34799b1..3a60594 100644 --- a/Version.lua +++ b/Version.lua @@ -3,7 +3,7 @@ local InfoCommon_STD_PP = { NAME = 'Common_PF1250', -- nome script PP standard - VERSION = '2.6l7', -- versione script + VERSION = '2.7a1', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }