Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 67607721ba | |||
| 8092ad5083 | |||
| db163fe554 | |||
| ecb5776c68 | |||
| f14c1ed2c4 | |||
| 1f9bb69187 | |||
| cce6a49ecc |
@@ -3380,8 +3380,20 @@ function PreselectNextDiffHead( nMchId, sHead)
|
||||
|
||||
-- gruppo della testa
|
||||
local nHSet = GetHeadSet( sHead)
|
||||
|
||||
local bVerifyPresel = true
|
||||
-- se lavorazione con testa 1 e sotto al limite massimo di preselezione della testa 2, allora non si fa preselezione
|
||||
if nHSet == 1 and Limit_T1_Presel_T2 and EMT.MAXMIN[2] < Limit_T1_Presel_T2 then
|
||||
bVerifyPresel = false
|
||||
-- se lavorazione con testa 1 e sopra al limite minimo di preselezione della testa 1, allora non si fa preselezione
|
||||
elseif nHSet == 2 and Limit_T2_Presel_T1 and EMT.MAXMIN[2] > Limit_T2_Presel_T1 then
|
||||
bVerifyPresel = false
|
||||
end
|
||||
|
||||
-- flag preselezione eseguita
|
||||
local bPresel = false
|
||||
|
||||
if bVerifyPresel then
|
||||
-- recupero lavorazione successiva
|
||||
local nNextMchId = EgtGetNextActiveOperation( nMchId)
|
||||
while nNextMchId do
|
||||
@@ -3441,6 +3453,7 @@ function PreselectNextDiffHead( nMchId, sHead)
|
||||
-- ripristino stato corrente
|
||||
EgtSetCurrMachining( EMT.MCHID)
|
||||
EgtTdbSetCurrTool( EMT.TOOL)
|
||||
end
|
||||
-- se non eseguita preselezione
|
||||
if not bPresel then
|
||||
-- mi assicuro che l'altra testa sia in parcheggio
|
||||
|
||||
@@ -1922,9 +1922,6 @@ function ExecMoveZmax( bMchSplit, btoXHome)
|
||||
ShowToolInTcPos( EMT.TCPOS, true)
|
||||
-- nascondo l'utensile sulla testa
|
||||
EgtSetMode( EgtGetHeadId( EMT.HEAD or '') or GDB_ID.NULL, GDB_MD.HIDDEN)
|
||||
EMT.PREVTOOL_H1 = nil
|
||||
EMT.PREVHEAD_H1 = nil
|
||||
EMT.PREVTCPOS_H1 = nil
|
||||
EMT.CHSAW_OUT = true
|
||||
EMT.XHOME = true
|
||||
end
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
==== Common_ONE-PF Update Log ====
|
||||
|
||||
Versione 3.1f2 (05/06/2026)
|
||||
- (MLDE-GEN) Aggiunti parametri di limite asse X per decidere se fare preselezione su altra testa. Serve modifica MLDE
|
||||
|
||||
Versione 3.1f1 (03/06/2026)
|
||||
- (NGE-MLDE-GEN-SIM) Versione unificata con predisposizione per gestione tastatori. Serve modificare anche la macchina, per ora gestione completa solo su PFrl.
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
local InfoCommon_STD_PP = {
|
||||
NAME = 'Common_ONE-PF', -- nome script PP standard
|
||||
VERSION = '3.1f1', -- versione script
|
||||
VERSION = '3.1f2', -- versione script
|
||||
MIN_MACH_VER_PP_COMMON = '3.1b2' -- versione minima kernel
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user