From 1ff99e2f0fda419b95bb8a361cade1a69d7a258a Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Fri, 8 Nov 2024 09:23:59 +0100 Subject: [PATCH] - Aggiunta gestione aggregato a T per NUM - Tolta gestione testa dummy H4 --- Common_FAST.NUM.mlpe | 4 ++-- Common_FAST.mlpe | 8 ++++---- UpdateLog.txt | 4 ++++ Version.lua | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Common_FAST.NUM.mlpe b/Common_FAST.NUM.mlpe index 360a8c3..e90b924 100644 --- a/Common_FAST.NUM.mlpe +++ b/Common_FAST.NUM.mlpe @@ -1647,8 +1647,8 @@ end --------------------------------------------------------------------- function GetET( sHead, sTcPos, dAxR3) - if sHead == 'H1' then - return ' E'..sTcPos + if sHead == 'H1' or sHead == 'H5' or sHead == 'H6' then + return ' E'..sTcPos elseif sHead == 'H2' then return ' ET42' elseif sHead == 'H3' then diff --git a/Common_FAST.mlpe b/Common_FAST.mlpe index ecfeee3..d07cda2 100644 --- a/Common_FAST.mlpe +++ b/Common_FAST.mlpe @@ -477,8 +477,8 @@ function OnSimulToolSelect( dPosA) EMT.A1n = 'Y' EMT.A2n = 'V' end - -- carico utensile se non lama su sua testa o dummy - if EMT.HEAD ~= 'H2' and EMT.HEAD ~= 'H4' then + -- carico utensile se non lama + if EMT.HEAD ~= 'H2' then -- se sega a catena, imposto subito angolo scelto per asse virtuale A if EMT.HEAD == 'H3' then if not dPosA then @@ -589,8 +589,8 @@ function OnSimulToolDeselect() ShowToolInTcPos( EMT.TCPOS_1, false) end EgtOutText( '') - -- deposito utensile se prossimo non lama su sua testa o dummy - elseif EMT.NEXTHEAD ~= 'H2' and EMT.NEXTHEAD ~= 'H4' then + -- deposito utensile se prossimo non lama su sua testa + elseif EMT.NEXTHEAD ~= 'H2' then if EMT.NEXTTOOL ~= EMT.TOOL_1 then EgtOutText( 'Tool change in progress...') -- simulo movimento diff --git a/UpdateLog.txt b/UpdateLog.txt index 41c4b6c..4f3a5c9 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -1,5 +1,9 @@ ==== Common_FAST Update Log ==== +Versione 2.6-- (--/--/2024)รน +- (GEN) Aggiunta gestione aggregato a T per NUM +- (SIM) Tolta gestione testa dummy H4 + Versione 2.6j10 (25/10/2024) - (SIM-GEN) Miglioria 2.6j9. Si ribadisce pinza in presa sempre, all'inizio, in base a quella attiva diff --git a/Version.lua b/Version.lua index 789bfa8..8286281 100644 --- a/Version.lua +++ b/Version.lua @@ -3,7 +3,7 @@ local InfoCommon_STD_PP = { NAME = 'Common_FAST', -- nome script PP standard - VERSION = '2.6j10', -- versione script + VERSION = '2.6--', -- versione script MIN_MACH_VER_PP_COMMON = '2.5k1' -- versione minima kernel }