Altezza cuffia considera eventuale sottopezzo
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
require( 'EmtGenerator')
|
||||
EgtEnableDebug( false)
|
||||
|
||||
PP_VER = '2.6k1'
|
||||
PP_VER = '3.1d1'
|
||||
PP_NVER = '2.6.11.1'
|
||||
|
||||
-- Parametri macchina
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user