Saomad-KAIROS 2.7e3 :

- aggiornato calcolo step Vmill
- modificato limite asse A con lama
- modificati parametri portautensile (B per quota libera testa).
This commit is contained in:
Dario Sassi
2025-05-15 18:39:57 +02:00
parent 3021c19198
commit f3ecddd836
4 changed files with 27 additions and 19 deletions
+3 -3
View File
@@ -16,13 +16,13 @@
[Pocketing]
0=l,MaxElev,0
1=b,Open,0
2=d,OpenMinSafe,0
1=l,Open,0
2=l,OpenMinSafe,0
3=d,OpenOutRaw,0
4=l,MaxOptSize,0
[Mortising]
0=d,MaxElev,0
0=l,MaxElev,0
[Chiseling]
+4 -2
View File
@@ -9,7 +9,7 @@
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '2.7e2'
PP_VER = '2.7e3'
MIN_MACH_VER = '2.5j1'
EgtOutLog ( '** Saomad-KAIROS '..PP_VER..' (MinMach '.. MIN_MACH_VER ..') **', 1)
@@ -27,6 +27,8 @@ ParkZ = 900
FmaxZ = 45000
MinA = -120
MaxA = 120
MinSawA = -101
MaxSawA = 101
ParkA = 0
FmaxA = 10440
MinC = -240
@@ -422,7 +424,7 @@ function OnSetHead()
EmtModifyAxisHome( 'C', ParkC)
-- se lama
if EMC.TCPOS == 'T201' then
EmtModifyAxisStroke( 'A', { -100, 100})
EmtModifyAxisStroke( 'A', { MinSawA, MaxSawA})
-- altrimenti
else
EmtModifyAxisStroke( 'A', { MinA, MaxA})
+7 -1
View File
@@ -156,8 +156,11 @@ function OnSimulDispositionStart()
end
end
-- determino la risoluzione dello Zmap
local dTol
if EmtGetVMillStep then
dTol = EmtGetVMillStep( b3Raw:getDimX(), b3Raw:getDimY(), b3Raw:getDimZ(), 4.71)
else
local dArea = b3Raw:getDimX() * b3Raw:getDimY() + b3Raw:getDimX() * b3Raw:getDimZ() + b3Raw:getDimY() * b3Raw:getDimZ()
local dTol = 4.71
if dArea < CoeffVM * 0.15e6 then
dTol = 0.71
elseif dArea < CoeffVM * 0.3e6 then
@@ -170,6 +173,9 @@ function OnSimulDispositionStart()
dTol = 2.81
elseif dArea < CoeffVM * 4.8e6 then
dTol = 3.77
else
dTol = 4.71
end
end
-- creo lo Zmap
local VMillId = EgtVolZmapBox( nPartRawId, b3Raw:getMin(), b3Raw:getDimX(), b3Raw:getDimY(), b3Raw:getDimZ(), dTol, true, GDB_RT.GLOB)
Binary file not shown.