Piccole modifiche simulazione se prima lavorazione con motosega
This commit is contained in:
@@ -181,6 +181,12 @@ function OnSimulDispositionStarting()
|
||||
EgtSetAxisPos( 'T', ParkT)
|
||||
end
|
||||
end
|
||||
-- sulla prima fase dichiaro carico barra
|
||||
if EMT.PHASE == 1 then
|
||||
EMT.LOAD = true
|
||||
else
|
||||
EMT.LOAD = false
|
||||
end
|
||||
end
|
||||
|
||||
---------------------------------------------------------------------
|
||||
@@ -474,6 +480,10 @@ function OnSimulToolSelect( dPosA)
|
||||
end
|
||||
-- se sega a catena, imposto subito angolo scelto per asse virtuale A
|
||||
if EMT.HEAD == 'H13' then
|
||||
-- se prima lavorazioen con motosega, parto dalla sua posizione di parcheggio
|
||||
if EMT.LOAD then
|
||||
EgtSetAxisPos( 'X1', ParkCSawX1)
|
||||
end
|
||||
-- valore dell'asse virtuale
|
||||
dPosA = dPosA or GetNextChainSawingVirtualAxis( EMT.MCHID)
|
||||
-- imposto il valore di A
|
||||
@@ -903,6 +913,9 @@ function OnSimulPathStartAux()
|
||||
EMT.Y1DELTA = nil
|
||||
ExecMovePY1( false)
|
||||
end
|
||||
if EMT.LOAD then
|
||||
EMT.LOAD = false
|
||||
end
|
||||
end
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
require( 'EmtGenerator')
|
||||
EgtEnableDebug( false)
|
||||
|
||||
PP_VER = '2.6k2_DEV5'
|
||||
PP_VER = '2.6k2_DEV6'
|
||||
PP_NVER = '2.6.11.2'
|
||||
MIN_MACH_VER = '2.5k1'
|
||||
MACH_NAME = 'Essetre-PF1500MAXrl-3T'
|
||||
@@ -128,7 +128,7 @@ ParkZ3 = 0
|
||||
ParkC3 = 0
|
||||
ParkB3 = 0
|
||||
SafeX3RotAxis = 1600
|
||||
SafeZ3RotAxis = -600
|
||||
SafeZ3RotAxis = -530
|
||||
MinX2 = -3060
|
||||
MaxX2 = 0
|
||||
MinZ2 = 0
|
||||
|
||||
Reference in New Issue
Block a user