Altezza cuffia considera eventuale sottopezzo

This commit is contained in:
andrea.villa
2026-04-09 17:48:37 +02:00
parent 333c22978d
commit dca99166ca
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '2.6k1'
PP_VER = '3.1d1'
PP_NVER = '2.6.11.1'
-- Parametri macchina
+2 -1
View File
@@ -133,7 +133,8 @@ function OnDispositionEnd()
' E30051='..EgtNumToString( 1000 * EMT.LP, 0)..
' E30052='..EgtNumToString( 1000 * EMT.SP, 0))
-- Posizione cuffia
local dHCuff = b3Raw:getDimZ() + 32
local dHeightSubPiece = EMT.RAWPOS[3] or 0
local dHCuff = dHeightSubPiece + b3Raw:getDimZ() + 32
EmtOutput( 'E30039=' .. EgtNumToString( dHCuff * 1000, 0))
-- Eventuale salto a lavorazione in corso
EmtOutput( 'G79 NE80000')