From 0ec5ddca1fc56550c5ff2a72a2851888df891bfa Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Tue, 2 Sep 2025 09:12:28 +0200 Subject: [PATCH] Corretto controllo ultimo utensile utilizzato su testa 1 --- Common_PF1250.mlpe | 2 +- UpdateLog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Common_PF1250.mlpe b/Common_PF1250.mlpe index d2981c5..4e9d448 100644 --- a/Common_PF1250.mlpe +++ b/Common_PF1250.mlpe @@ -646,7 +646,7 @@ function OnSimulToolDeselect( dPrevA) -- se passo da testa 1 a 3 scarico aggregato if nNextSetHead == 3 then -- deposito utensile prelevato da posizioni speciali - if EMT.TCPOS == 'T101' or EMT.TCPOS == 'T111' or EMT.TCPOS == 'T121' then + if EMT.PREVTCPOS_H1 == 'T101' or EMT.PREVTCPOS_H1 == 'T111' or EMT.PREVTCPOS_H1 == 'T121' then -- visualizzo utensile su TcPos ShowToolInTcPos( EMT.PREVTCPOS_H1, true) -- nascondo l'utensile sulla testa diff --git a/UpdateLog.txt b/UpdateLog.txt index f38d0f2..f937899 100644 --- a/UpdateLog.txt +++ b/UpdateLog.txt @@ -3,6 +3,7 @@ Versione 2.7-- (--/--/2025) - (GEN) Se fase start o restart, si aggiorna la posizione in X dell'asse per calcolare il link corretto. Serve CAM5 2.7h1 (facoltativo) - (EST) La stima tempi considera ora le accelerazoni degli assi +- (SIM) Corretto controllo ultimo utensile utilizzato su testa 1, prima si controllava il precedente, ma poteva essere la testa 2 Versione 2.7h2 (21/08/2025) - (GEN) Se la testa rimane bassa, corretto caso di reset del piano generico a fine lavorazione