diff --git a/Common_ONE-PF.NUM.mlpe b/Common_ONE-PF.NUM.mlpe index 9b8f03e..adf6e18 100644 --- a/Common_ONE-PF.NUM.mlpe +++ b/Common_ONE-PF.NUM.mlpe @@ -608,10 +608,12 @@ function OnMachiningEnd() EMT.PREVTOOL_H1 = EMT.TOOL EMT.PREVHEAD_H1 = EMT.HEAD EMT.PREVTCPOS_H1 = EMT.TCPOS + EMT.PREVHOMEX_H1 = EgtGetAxisHomePos( 'X1') elseif nHSet == 2 then EMT.PREVTOOL_H2 = EMT.TOOL EMT.PREVHEAD_H2 = EMT.HEAD EMT.PREVTCPOS_H2 = EMT.TCPOS + EMT.PREVHOMEX_H2 = EgtGetAxisHomePos( 'X2') end if EMT.DOU_TYPE and not EMT.ZMAX then EMT.DOU_TO_ZMAX = true end @@ -1082,7 +1084,7 @@ function OnRapid() local nHSet = GetHeadSet( EMT.HEAD) local nPrevHSet = GetHeadSet( EMT.PREVHEAD) - -- se successivo non è sega a catena e la testa è la stessa, vado in home con utensile successivo + -- se successivo non è sega a catena e la testa è la stessa, vado in home con utensile succesivo if not HeadIsChainSaw( EMT.HEAD) and nHSet == nPrevHSet then if nHSet == 1 then local HomeX1 = EgtGetAxisHomePos( 'X1') @@ -1097,11 +1099,11 @@ function OnRapid() if not HeadIsChainSaw( EMT.PREVHEAD) then if nPrevHSet == 1 then local HomeX1 = EgtGetAxisHomePos( 'X1') - EmitMoveDataHead( 1, { X=-HomeX1, Z=MaxZ1, B=ParkB1, C=ParkC1, TPos=AdjustTcPos( false, EMT.PREVTCPOS_H1)}) + EmitMoveDataHead( 1, { X=-EMT.PREVHOMEX_H1, Z=MaxZ1, B=ParkB1, C=ParkC1, TPos=AdjustTcPos( false, EMT.PREVTCPOS_H1)}) EmitMoveStartHead( 1, 'EA1') else local HomeX2 = EgtGetAxisHomePos( 'X2') - EmitMoveDataHead( 2, { X=-HomeX2, Z=MaxZ2, B=ParkB2, C=ParkC2, TPos=AdjustTcPos( false, EMT.PREVTCPOS_H2)}) + EmitMoveDataHead( 2, { X=-EMT.PREVHOMEX_H2, Z=MaxZ2, B=ParkB2, C=ParkC2, TPos=AdjustTcPos( false, EMT.PREVTCPOS_H2)}) EmitMoveStartHead( 2, 'EA1') end else diff --git a/Essetre-PF.mlde b/Essetre-PF.mlde index 5054e1e..0fc3aca 100644 --- a/Essetre-PF.mlde +++ b/Essetre-PF.mlde @@ -61,12 +61,13 @@ -- Allineamento con common ver. 2.6f1 -- 2024/07/10 ver 2.6g1 Allineamento con common ver. 2.6g1 -- 2024/07/16 ver 2.6g2 Allineamento con common ver. 2.6g2 +-- 2024/07/17 ver 2.6g3 Allineamento con common ver. 2.6g3 -- Intestazioni require( 'EmtGenerator') EgtEnableDebug( false) -PP_VER = '2.6g2' +PP_VER = '2.6g3' MIN_MACH_VER = '2.5k1' MACH_NAME = 'Essetre-PF' diff --git a/UpdateLog.txt b/UpdateLog.txt index 2a4ec56..a55c90d 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,8 @@ ==== Common_ONE-PF Update Log ==== +Versione 2.6g3 (17/07/2024) +- (GEN) Correzione modifica precedente (2.6g2). Con lama precedente e motosega successiva, andava a parcheggio con lama alla quota della motosega. Ticket#1880 + Versione 2.6g2 (16/07/2024) - (GEN) Per preselezione o movimenti in home, non si scrive più 'ET0' perchè non è più supportato. Ticket#1926 diff --git a/Version.lua b/Version.lua index d4bc326..1639b73 100644 --- a/Version.lua +++ b/Version.lua @@ -3,7 +3,7 @@ local InfoCommon_STD_PP = { NAME = 'Common_ONE-PF', -- nome script PP standard - VERSION = '2.6g2', -- versione script + VERSION = '2.6g3', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }