com programma parametrico e test cambio utensile
Atc / mezzo automatico con 3 utensili.
-esecuzione di cilindri su circonferenza-
..allego progr in .rar
---
https://youtu.be/uhAuPTuxEKs
---
Codice: Seleziona tutto
.:
; © 2018 by RosettaCNC Motion
; User defined tool change subprogram:
; will be called when M6 is called in the main program or from MDI
;
; Arguments
; =========
; #1 tool id to change
; store actual state group 0
#4101=[#5101]
; store actual state M3, M4, M5
#4151=#5151
; store actual state M7, M9
#4153=#5153
; store actual state M8, M9
#4154=#5154
; disable spindle, flood & mist
m5 m9
g53 g0 z0
m109 p"Insert tool T#1" q2
g4 p1
; call default PLC tool change management
m106
; restore previous states
if [#4151 eq 3] then m3
if [#4151 eq 4] then m4
if [#4153 eq 7] then m7
if [#4154 eq 8] then m8
if [#4101 le 1] then g#4101
; enable offset xyz compensation
g43 h#1