- Motosega limitata a Z-150

- Posizione di presa di default A1=0
This commit is contained in:
andrea.villa
2025-07-11 12:06:02 +02:00
parent 6f08297251
commit d7f3321485
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -8,7 +8,7 @@
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '2.7g2'
PP_VER = '2.7g3'
PP_NVER = '2.7.7.1'
-- Parametri macchina
@@ -19,6 +19,7 @@ MinX = -3900.0
MaxX = 45.0
MinZ = -900.0
MaxZ = 0.0
CSawMaxZ = -150.0
MinB = -120.0
MaxB = 120.0
MinC = -360.0
@@ -354,6 +355,9 @@ function OnSetHead()
MoveGroup( EgtGetFirstNameInGroup( H12Id, 'SOLID'), Z_AX(), dPos, true)
MoveGroup( EgtGetFirstNameInGroup( H12Id, 'T1'), Z_AX(), dPos, true)
end
-- Imposto corse asse standard
EmtModifyAxisStroke( 'Z', {MinZ, MaxZ})
EmtModifyAxisHome( 'Z', MaxZ1)
if EMC.HEAD == 'H11' or EMC.HEAD == 'H12' then
EmtModifyAxisHome( 'B', 90)
EgtResetAxisPos( 'B')
@@ -365,6 +369,8 @@ function OnSetHead()
local vtMove = Point3d( 0, 0, -dDist) - Point3d( EMC.EXITPOS)
local ExitId = EgtGetFirstNameInGroup( EgtGetHeadId( EMC.HEAD), 'T'..tostring( EMC.EXIT))
EgtMove( ExitId, vtMove)
EmtModifyAxisStroke( 'Z', {MinZ, CSawMaxZ})
EmtModifyAxisHome( 'Z', CSawMaxZ)
end
EmtModifyAxisHome( 'B', 0)
end
+1 -1
View File
@@ -72,7 +72,7 @@ end
-------------------------------------------------------------------------------------------------------------
local function GetChainSawBlockedAxis( nInd)
--if nInd == 1 then
return 'A1=270'
return 'A1=0'
--else
-- return 'A1=0'
--end