Hello Guest it is March 29, 2024, 06:21:03 AM

Author Topic: Add G and / or M codes to M6Start - How to?  (Read 1813 times)

0 Members and 1 Guest are viewing this topic.

Add G and / or M codes to M6Start - How to?
« on: April 24, 2015, 08:56:18 AM »
How would one add codes for specific movements to happen before & then after the tool change routine in the M6Start file. What I am trying to do is this: I have a 17 tool ATC & it is working great. I want to install a vacuum shoe on the spindle, & I don't have room above the tool rack to accommodate this, so I would like to "park" the boot before the tool change occurs, then re-acquire it before the machining resumes. I have the mechanics and design of this done, I just need help integrating this into the macro.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Add G and / or M codes to M6Start - How to?
« Reply #1 on: April 24, 2015, 11:13:05 PM »
Code"G00 X0.000 Y0.000"   will tell the Machine to move to X0 Y0 at rapid speed

Code"G01 X0.000 Y0.000 F20"    Move to 0,0 at feedrate of 20

Code" G53 X10.000 Y10.000"   Move to machine coords X10 Y10

Does that help?

(;-) TP
« Last Edit: April 24, 2015, 11:14:41 PM by BR549 »