- In generazione movimento in Z dopo spostamento pinze

- Corretto calcolo valori per feed assi
This commit is contained in:
andrea.villa
2024-09-11 14:23:32 +02:00
parent ce77bed0c6
commit 57dcafb3f1
5 changed files with 15 additions and 10 deletions
+3
View File
@@ -0,0 +1,3 @@
[BEAM]
StartOffset=15
Offset=20
+8 -8
View File
@@ -431,10 +431,10 @@ function OnPathStart()
EMT.IPLGL = false
-- reset valori precedenti (per forzare emissione di tutti gli assi del 1° movimento)
EMT.L1opp = EMT.L1op
EMT.L2opp = EgtIf( EMT.TSELECT, ParkY, EMT.L2op)
EMT.L3opp = EgtIf( EMT.TSELECT, ParkZ, EMT.L3op)
EMT.R1pp = EgtIf( EMT.TSELECT, ParkC, EMT.R1p)
EMT.R2pp = EgtIf( EMT.TSELECT, ParkA, EMT.R2p)
EMT.L2opp = EgtIf( EMT.TSELECT or not EMT.L2op, ParkY, EMT.L2op)
EMT.L3opp = EgtIf( EMT.TSELECT or not EMT.L3op, ParkZ, EMT.L3op)
EMT.R1pp = EgtIf( EMT.TSELECT or not EMT.R1p, ParkC, EMT.R1p)
EMT.R2pp = EgtIf( EMT.TSELECT or not EMT.R2p, ParkA, EMT.R2p)
EmtResetPrev()
EMT.AUXCMD = {}
EMT.AUXSTR = {}
@@ -660,10 +660,6 @@ function OnRapid()
EmtOutput( 'GET(X2)')
end
end
if EMT.ZMAX and EMT.L3 < ParkZ - 10 then
sOut = 'SUPA G0 D0' .. EmtGetAxis( 'L3')
EmtOutput( sOut)
end
-- assegnazione assi geometrici (GEOMAX)
EmtOutput( 'TRANS')
if EMT.X1DELTA then
@@ -685,6 +681,10 @@ function OnRapid()
else
EmtSetLastError( 1213, "Part to machine without charriots")
end
if EMT.ZMAX and EMT.L3 < ParkZ - 10 then
sOut = 'SUPA G0 D0' .. EmtGetAxis( 'L3')
EmtOutput( sOut)
end
-- se taglio di separazione prima di scarico a caduta, emissione stop tappeto scarico trucioli
if EMT.PREFALLCUT then
EmtOutput( ';M29')
+4 -2
View File
@@ -3,11 +3,13 @@
-- 2024/07/01 ver 2.6g1 Aggiornato 3D con nuovo gruppo testa
-- 2024/07/03 ver 2.6g2 Aggiornato 3D con modello reale e altre piccole modifiche
-- 2024/07/08 ver 2.6g3 Aggiunta gestione sega a catena (MANCA generazione codice CN).
-- 2024/09/11 ver 2.6i1 In generazione movimento in Z dopo spostamento pinze
-- Corretto calcolo valori per feed assi
require( 'EmtGenerator')
EgtEnableDebug( false)
PP_VER = '2.6g3'
PP_VER = '2.6i1'
MIN_MACH_VER = '2.5j1'
EgtOutLog ( '** Saomad-KAIROS '..PP_VER..' (MinMach '.. MIN_MACH_VER ..') **', 1)
@@ -57,7 +59,7 @@ StartRotation = true
AutomaticRotation = true
AutoRotMinLen = 2600
MaxUnloadLen = 0
DefTcPos = 'T1'
DefTcPos = 'T101'
CoeffVM = 0.5
-- Aggiornamento con dati da B&W
BIN
View File
Binary file not shown.
Binary file not shown.