Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:12:04 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  M6End macro thoughts (newbie alert)
Pages: 1   Go Down
Print
Author Topic: M6End macro thoughts (newbie alert)  (Read 363 times)
0 Members and 1 Guest are viewing this topic.
StanLewis
Active Member

Offline Offline

Posts: 25


View Profile
« on: March 15, 2011, 08:57:41 AM »

After getting my 5'x10' router running...  I am looking at ways to make things more efficient (read I want the machine to work for me  Cheesy

My question is simple.  Why would I want the machine to return to the previous spot called out before a tool change?  I am working towards having a certain location that the machine moves to (got this one), wait for the tool change (got this one), and when cycle start moves to the start of the next tool operation (know how to do this conceptually) not the previous position.

I'm not sure if my idea is sound.  Basically, moving the bit to machine coord z0 in the M6End macro and then letting the gcode take over to go do whatever it is that the gcode does.

BTW, I cut molds so it is mostly 3d with CV on and don't want to mess those up.

Stan
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #1 on: March 15, 2011, 04:22:45 PM »

You can do whatever you want in the M6 macros.

 In my M6 end, after pressing cycle start, the new tool is zeroed by probing to a fixed reference plate, then returns to the previous tool's position when the M6 was called, then resumes cutting.
Logged

StanLewis
Active Member

Offline Offline

Posts: 25


View Profile
« Reply #2 on: March 15, 2011, 05:18:12 PM »

I understand that I can do what I want in the M6End macro....

The question is more of "should I" as I do not see any reason to return to the previous location to start the next cutting operation.  Usually the gcode goes to x0y0 (whichever offset is working) and then begins the operation.

I noticed this while manually moving the cutter to a tool change location, then moving it manually to near the starting point, only to have Mach move to the previous location and then back to the location that I had moved it to.....

so what if I don't use the M6End to move back to the previous location before resuming the gcode?

What kind of scenarios would rise up and bite me?

Stan
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #3 on: March 15, 2011, 05:32:06 PM »

Actually, I'm not sure why I'm moving back to the previous position.

It shouldn't make any difference, provided your first move after the M6 is to a rapid height.

If you're not going back to the previous position, then why not go one step further, and don't go to X0 Y0 either?
Logged

StanLewis
Active Member

Offline Offline

Posts: 25


View Profile
« Reply #4 on: March 15, 2011, 06:53:05 PM »

Well that is what I'll probably end up doing.  It is just that Visual Mill usually rapids to x0y0 and then onto the actual cutting.

Right now it is more of a visual fuzzy to make sure the machine hasn't hiccuped....

Stan
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!