From 63452aa0d52eb53fa447167a4c330d4ce07bb4f0 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Mon, 11 Mar 2024 09:37:00 +0100 Subject: [PATCH] Aggiunto parametro "WriteM05Command" (NON OBBLIGATORIO) per decidere se scrivere il comando M05 --- Common_ONE-PF.NUM.mlpe | 5 ++++- UpdateLog.txt | 3 ++- Version.lua | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Common_ONE-PF.NUM.mlpe b/Common_ONE-PF.NUM.mlpe index 33570b6..2ea49b6 100644 --- a/Common_ONE-PF.NUM.mlpe +++ b/Common_ONE-PF.NUM.mlpe @@ -2727,7 +2727,10 @@ end --------------------------------------------------------------------- function EmitResetMachining() if ( EMT.TOOL ~= GetNextTool( EMT.MCHID) and IsLastPath( EMT.PATHID)) or GetSpecUnloading( EMT.PATHID) or GetFall( EMT.PATHID) then - EmtOutput( 'M05') + -- se da MLDE parametro non settato, o settato a true, scrivo il comando arresto mandrino + if WriteM05Command == nil or WriteM05Command then + EmtOutput( 'M05') + end end local sOut = 'G157 EA1' EmtOutput( sOut) diff --git a/UpdateLog.txt b/UpdateLog.txt index 6d73098..111094e 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,7 +1,8 @@ ==== Essetre_StdPF Update Log ==== -Versione 2.6-- (--/--/2024) +Versione 2.6c7 (11/03/2024) - (GEN) Aggiunta gestione parametro "SECDIST". Distanza di sicurezza tra paratia con rulli e utensile/testa. Parametro da inserire nelle note utensile. +- (MLPE-GEN) Aggiunto parametro "WriteM05Command" (NON OBBLIGATORIO) per decidere se scrivere il comando M05 per arresto mandrino. Default a true. Versione 2.6c6 (08/03/2024) - (SIM-GEN) Gestione rotazioni 90° come su FAST, caso MID2 (split/cut prima delle rotazioni) diff --git a/Version.lua b/Version.lua index 225fde7..20a51e6 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.6--', -- versione script + VERSION = '2.6c7', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }