From ea25a546f16fc480cdb1c538db49969fa8e15dcd Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Mon, 14 Apr 2025 08:51:38 +0200 Subject: [PATCH] Allineamento con common ver. 2.7d1 --- Common_FAST.NUM.mlpe | 4 ++-- Common_FAST.NUM_PLUS.mlpe | 4 ++-- Common_FAST.TPA.mlpe | 4 ++-- Essetre-FASTrl.mlde | 4 ++-- MachNotes.ini | 29 ++++++++++------------------- UpdateLog.txt | 13 ++++++++----- Version.lua | 2 +- 7 files changed, 27 insertions(+), 33 deletions(-) diff --git a/Common_FAST.NUM.mlpe b/Common_FAST.NUM.mlpe index 3680871..f85911d 100644 --- a/Common_FAST.NUM.mlpe +++ b/Common_FAST.NUM.mlpe @@ -632,7 +632,7 @@ function OnRapid() 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 EMT.PREVHEAD == 'H3' and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then + if not EMT.LOAD and EMT.PREVHEAD == 'H3' and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then local sOutPreMove = 'G101' .. ' X' .. EmtLenToString( -SafeXRotAxes, 3) .. ' Z' .. EmtLenToString( MyZHome, 3) .. ' B' .. EmtLenToString( EMT.R2pp, 3) .. ' C' .. EmtLenToString( EMT.R1pp, 3) .. ' EE' .. EgtIf( bZmax, '3', '4') .. EMT.PREVsEL .. EMT.PREVsER .. EMT.PREVsET .. EMT.PREVsES @@ -654,7 +654,7 @@ function OnRapid() local sES = ' ES'..EgtNumToString( EMT.S, 0) -- se carico motosega, ruoto in zona sicura prima di approcciare la lavorazione - if ( EMT.HEAD == 'H3' or ( bZmax and EMT.TTOTLEN > 200)) and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then + if not EMT.LOAD and ( EMT.HEAD == 'H3' or ( bZmax and EMT.TTOTLEN > 200)) and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then local sEEPreMove = ' EE' .. EgtIf( bZmax, '3', '4') local sOutPreMove = 'G101' .. ' X' .. EmtLenToString( -SafeXRotAxes, 3) .. ' Z' .. EmtLenToString( MyZHome, 3) .. EmtGetAxis( 'R2') .. EmtGetAxis( 'R1') .. sEE .. sEL .. sER .. sET .. sES diff --git a/Common_FAST.NUM_PLUS.mlpe b/Common_FAST.NUM_PLUS.mlpe index fc910bd..f711077 100644 --- a/Common_FAST.NUM_PLUS.mlpe +++ b/Common_FAST.NUM_PLUS.mlpe @@ -677,7 +677,7 @@ function OnRapid() 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 EMT.PREVHEAD == 'H3' and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then + if not EMT.LOAD and EMT.PREVHEAD == 'H3' and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then local sOutPreMove = 'G101' .. ' X' .. EmtLenToString( -SafeXRotAxes, 3) .. ' Z' .. EmtLenToString( MyZHome, 3) .. ' B' .. EmtLenToString( EMT.R2pp, 3) .. ' C' .. EmtLenToString( EMT.R1pp, 3) .. ' EE' .. EgtIf( bZmax, '3', '4') .. EMT.PREVsEL .. EMT.PREVsER .. EMT.PREVsET .. EMT.PREVsES @@ -722,7 +722,7 @@ function OnRapid() local sES = ' ES'..EgtNumToString( EMT.S, 0) -- se carico motosega, ruoto in zona sicura prima di approcciare la lavorazione - if ( EMT.HEAD == 'H3' or ( bZmax and EMT.TTOTLEN > 200)) and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then + if not EMT.LOAD and ( EMT.HEAD == 'H3' or ( bZmax and EMT.TTOTLEN > 200)) and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then local sEEPreMove = ' EE' .. EgtIf( bZmax, '3', '4') local sOutPreMove = 'G101' .. ' X' .. EmtLenToString( -SafeXRotAxes, 3) .. ' Z' .. EmtLenToString( MyZHome, 3) .. EmtGetAxis( 'R2') .. EmtGetAxis( 'R1') .. sEE .. sEL .. sER .. sET .. sES diff --git a/Common_FAST.TPA.mlpe b/Common_FAST.TPA.mlpe index 7f05ff6..765ecd2 100644 --- a/Common_FAST.TPA.mlpe +++ b/Common_FAST.TPA.mlpe @@ -660,7 +660,7 @@ function OnRapid() 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 EMT.PREVHEAD == 'H3' and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then + if not EMT.LOAD and EMT.PREVHEAD == 'H3' and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then local sOutPreMove = 'M101 P1=1' .. ' P2=' .. EmtLenToString( -SafeXRotAxes, EMT.DECMACRO) .. ' P3=' .. EmtLenToString( MyZHome, EMT.DECMACRO) .. ' P4=' .. EgtNumToString( EMT.R2pp, EMT.DECMACRO) .. ' P5=' .. EgtNumToString( EMT.R1pp, EMT.DECMACRO) .. ' P6=' .. EgtNumToString( EMT.PREVTCPOS, EMT.DECMACRO) .. ' P7=' .. EgtNumToString( EMT.PREVS, 0) .. @@ -676,7 +676,7 @@ function OnRapid() end -- se carico motosega, ruoto in zona sicura prima di approcciare la lavorazione - if ( EMT.HEAD == 'H3' or ( bZmax and EMT.TTOTLEN > 200)) and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then + if not EMT.LOAD and ( EMT.HEAD == 'H3' or ( bZmax and EMT.TTOTLEN > 200)) and EMT.ST > BeamHeightForFixRot and EMT.FLAG2 == 1 then local sOutPreMove = 'M101 P1=1' .. ' P2=' .. EmtLenToString( -SafeXRotAxes, EMT.DECMACRO) .. ' P3=' .. EmtLenToString( MyZHome, EMT.DECMACRO) .. ' P4=' .. EgtNumToString( EMT.R2, EMT.DECMACRO) .. ' P5=' .. EgtNumToString( EMT.R1, EMT.DECMACRO) .. ' P6=' .. AdjustTcPos( false) .. ' P7=' .. EgtNumToString( EMT.S, 0) .. diff --git a/Essetre-FASTrl.mlde b/Essetre-FASTrl.mlde index 7c3ee14..c30e5fe 100644 --- a/Essetre-FASTrl.mlde +++ b/Essetre-FASTrl.mlde @@ -10,8 +10,8 @@ require( 'EmtGenerator') EgtEnableDebug( false) -PP_VER = '2.7c2' -PP_NVER = '2.7.3.2' +PP_VER = '2.7d1' +PP_NVER = '2.7.4.1' MIN_MACH_VER = '2.5k1' MACH_NAME = 'Essetre-FASTrl' diff --git a/MachNotes.ini b/MachNotes.ini index e7231fa..8b2d740 100644 --- a/MachNotes.ini +++ b/MachNotes.ini @@ -7,39 +7,30 @@ [Sawing] [Milling] -0=d,MaxElev,0 +0=l,MaxElev,0 1=d,OutRaw,0 -2=d,SideElev,0 +2=l,SideElev,0 3=d,TrimExt,0 -4=sr,VtFaceUse,0,0,0 +4=s,VtFaceUse,0,0,0 +5=s,EdgesFaceUse,0 [Pocketing] -0=d,MaxElev,0 +0=l,MaxElev,0 1=b,Open,0 -2=d,OpenMinSave,0 +2=d,OpenMinSafe,0 3=d,OpenOutRaw,0 -4=d,MaxOptSize,0 +4=l,MaxOptSize,0 [Mortising] 0=d,MaxElev,0 [Chiseling] +[SawRoughing] + +[SawFinishing] [GenMachining] -0=l,LinTol,0.1 -1=l,MaxLen,2 -2=s,Type,ZigZag -3=d,SideAng,90 -4=l,Step,10 -5=l,OffsProj,0 -6=l,LiTang,0 -7=l,LiOrth,0 -8=l,LiElev,0 -9=l,LoTang,0 -10=l,LoOrth,0 -11=l,LoElev,0 -12=b,DirFromGuide,1 [SurfRoughing] 0=l,MaxElev,1000 diff --git a/UpdateLog.txt b/UpdateLog.txt index cb7218a..4cae5a1 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,25 +1,28 @@ ==== Common_FAST Update Log ==== -Versione 2.7c1 (26/03/2024) +Versione 2.7d1 (14/04/2025) +- (GEN) Corretto movimento iniziale in caso di motosega, si controlla solo se non è il carico. Ticket#2385 + +Versione 2.7c1 (26/03/2025) - (GEN) All'inizio del codice ISO si scrive nel commento anche il controllo numerico utilizzato per la generazione. - (GEN) Aggiunta commenti HEADER e FOOTER per comunicazione con linea o altre macchine, da parte di Essetre. - (GEN) In MyAdjustLinearAxes si utilizza TDIR per calcolarsi gli offset per compatibilità con lavorazioni a 5 assi. -Versione 2.7b1 (20/02/2024) +Versione 2.7b1 (20/02/2025) - (SIM-GEN) Aggiunta possibilità di settare HCING/TCING nelle note di ogni singola lavorazione per gestire parte non pinzabile del pezzo. Funziona solo con nuovo pinzaggio. - (SIM-GEN) Piccola correzione calcolo posizione carrelli con nuova strategia di pinzaggio. - (SIM-GEN) Caricamento libreria EmtGenMachining. Si fa una require con PCALL perchè la libreria è opzionale e non è detto che ci sia. In installazione CAM5 dalla 2.7a1 - (GEN) Per controllo TPA, modifica al numero di decimali. - (SIM) Aggiunta gestione per ToolHolder flottante -Versione 2.7a3 (08/01/2024) +Versione 2.7a3 (08/01/2025) - (GEN) Dopo separazione, in NUM_PLUS, si srive EH1 solo se macro G101, perchè altrimenti non è prevista. Ticket#2239 -Versione 2.7a2 (08/01/2024) +Versione 2.7a2 (08/01/2025) - (MLDE-SIM) Aggiunta gestione FACOLTATIVA 'EstimationRapidMultiplier' in MLDE per regolare il tempo stimato. Se non presente in MLDE, default 1. - (SIM) Aggiunta gestione qualità VMILL da impostazioni macchina -Versione 2.7a1 (07/01/2024) +Versione 2.7a1 (07/01/2025) - (MLDE-SIM-GEN) Nuovo aggregato 90° (H7) per fresa tipo BlockHaus. Ticket#2142 - (SIM-GEN) Aumentati limiti massimi di pinzaggio minimo diff --git a/Version.lua b/Version.lua index beb0c0c..7118390 100644 --- a/Version.lua +++ b/Version.lua @@ -3,7 +3,7 @@ local InfoCommon_STD_PP = { NAME = 'Common_FAST', -- nome script PP standard - VERSION = '2.7c1', -- versione script + VERSION = '2.7d1', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }