Hello Guest it is August 22, 2019, 04:48:19 PM

Author Topic: Simple toolchange position  (Read 22740 times)

0 Members and 1 Guest are viewing this topic.

vmax549

*
Re: Simple toolchange position
« Reply #30 on: July 07, 2007, 04:59:46 PM »
Ok lets take a shot at it explain what your problem is and what you have tried so far.

Best yet please start a new thread as to not dilute this thread on the TCP


 (;-) TP
Re: Simple toolchange position
« Reply #31 on: July 07, 2007, 05:36:13 PM »
New thread started

Best reg
Cory

vmax549

*
Re: Simple toolchange position
« Reply #32 on: July 07, 2007, 08:59:04 PM »
Brett are you ready to work on the M6 version?

Offline Chaoticone

*
  • *
  •  5,573 5,573
  • Precision Chaos
    • View Profile
Re: Simple toolchange position
« Reply #33 on: July 07, 2007, 09:29:41 PM »
Sorry for the late reply guys, just got in a couple of hours ago to find my shop had been hit by lightning. :( All problems that I know of are fixed now though. I'm ready Vmax.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

vmax549

*
Re: Simple toolchange position
« Reply #34 on: July 07, 2007, 10:37:35 PM »
OK first you need to add a set of 3 dros to the setting screen just below the TOOL CHANGE POSITION DROs.

Label them Xpos, Ypos, Zpos top to bottom.  Set them to

Xpos = UserDro 2000
ypos = UserDro 2001
Zpos = UserDro 2002

Then add this to the M6start and M6end Macros

'M6Start macro

Tool= GetSelectedTool ()
SetCurentTool (Tool)

Xpos= Getoemdro (83)
ypos= GetOemDro (84)
Zpos= GetOemDro (85)

Xtcp= GetOemDro (1200)
Ytcp= GetOemDro (1201)
Ztcp= GetOemDro (1202)

SetOemDro (2000,Xpos)
SetOemDro (2001,Ypos)
SetOemDro (2002,Zpos)

Code "GO"

Code "G53 Z" &Ztcp
While Ismoving
Wend

Code "G53 Y" &Ytcp
While Ismoving
Wend

Code "G53 X" &Xtcp
WHile Ismoving
Wend

End

========================================

'M6end Macro

Yreturn= GetOEMDro (2000)
Xreturn= GetOEMDro (2001)
Zreturn= GetOEMDro (2002)

Code "GO"

Code "G53 x" &Xreturn
While Ismoving
Wend

Code "G53 y" &Yreturn
While Ismoving
Wend

Code "G53 z" &Zreturn
While Ismoving
Wend

END


Remember you must ref home when you start MACH.

(;-) TP




« Last Edit: July 08, 2007, 12:50:42 AM by vmax549 »

vmax549

*
Re: Simple toolchange position
« Reply #35 on: July 07, 2007, 11:10:46 PM »
I also have the m6 start tied to a tool change page that give me all the tool info so I use the correct tool. It also has a 1/2 page flashing LED to alert me to the tool change. I can post a picture if you want to see it. (;-) TP

Offline Chaoticone

*
  • *
  •  5,573 5,573
  • Precision Chaos
    • View Profile
Re: Simple toolchange position
« Reply #36 on: July 07, 2007, 11:35:16 PM »
I sure would like to see it.  :o  :) I'm working on the M6 bit now. The tool chang position button works great. Thanks Vmax.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

vmax549

*
Re: Simple toolchange position
« Reply #37 on: July 07, 2007, 11:45:05 PM »
Just to let you know what it does(;-). At the tool change it records the current position to the userdros, then it movesto the tool change positon as defined in the tool position dros. After the tool change it then returns to the position it came from and prepares to restart with cycle start.
(;-) TP

Offline Chaoticone

*
  • *
  •  5,573 5,573
  • Precision Chaos
    • View Profile
Re: Simple toolchange position
« Reply #38 on: July 07, 2007, 11:48:47 PM »
Thanks Vmax, this is my first play with DROs. Do I set those as oem code, 2000 etc?

Brett
« Last Edit: July 07, 2007, 11:57:49 PM by Chaoticone »
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

vmax549

*
Re: Simple toolchange position
« Reply #39 on: July 08, 2007, 12:43:15 AM »
Brett that is correct x=2000 y=2001 =2002.

Here is a picture of the tool change page.