Merge branch 'develop' of https://gitlab.steamware.net/egalware-machines/essetre/essetre-90480023_xs-mw into develop
This commit is contained in:
@@ -144,7 +144,8 @@ function OnDispositionEnd()
|
||||
if nLoad90 > 0 then nLoad90 = 4 else nLoad90 = 1 end
|
||||
EmtOutput( 'M26 E30054='..EgtNumToString( nLoad90, 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')
|
||||
@@ -236,7 +237,7 @@ end
|
||||
function OnPathEnd()
|
||||
if IsNailingHead( EMT.HEAD) then
|
||||
local dStep = GetValNotes( EgtGetMachiningParam( MCH_MP.USERNOTES), 'Par', 'd') or 100
|
||||
local dSafeZ = max( EgtGetMachiningParam( MCH_MP.STARTPOS), 10) or 20
|
||||
local dSafeZ = EMT.NAIL_START_L3 + ( max( EgtGetMachiningParam( MCH_MP.STARTPOS), 10) or 20)
|
||||
--local dSafeZ = EgtMdbGetGeneralParam( MCH_GP.SAFEZ)
|
||||
if EMT.HEAD == 'H21' or EMT.HEAD == 'H22' or EMT.HEAD == 'H23' then
|
||||
local nNextOperationId = EgtGetNextActiveOperation( EMT.MCHID)
|
||||
|
||||
Reference in New Issue
Block a user