Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Tool set switch
Art or anyone, I have made a switch appratus to set the tool length
within the program or through a macro. My problem is I don't know how to write macro's nor do I know how to set the switch settings to get the program to do what I want. So here goes with what I want to achive. At the x0.0y0.0 on my table I want to be able to have the machine lower the tool onto the switch, move up a given amount from that point and then automatically set the z dro to 0.0. Can this be accomplished and if so does it need to be a macro? By doing this the tip of each tool will be at the same point over the table and in so doing will make my setup time much shorter. I only run 1 part runs at a time and may have as many as 5-6 tool changes. Since I don't have atc this causes quite a bit of time at the machine setting the tool offset. Mike |
Art
Mike:
What you need is a probe command and a probe input (Digitize). In a macro button, you would put a code( " G32 Z -10 " ) // set the Z number to the max you want to drop in case of error. If the switch is hooked to the digitize input, the Z drop will stop when the switch gets activated. Make sure you have room for a deceleration of the axis. Then you need a code( "G92Z0") to set the Z axis to zero, then an code( "G0Z3") to move to 3 inches up, then a code( "G92Z0") to set it back to zero. So the whole macro button would be similar to: code "G32Z-10" code "G92Z0" code" G0Z3" code "G92Z0" I haven't tested this , but it should do the job. Just make sure your switch is triggering the digitize input else it won't work and you'll drive into the table.. Art www.artofcnc.ca |
Mike/Art:
toggle quoted message
Show quoted text
Would it be possible to laminate together two strips of brass (choose your thickness) sandwiching a piece of strip styrene (again choose thickness). To the brass strips are soldered leads to go to your Z home or limit input. The switch is placed on the top of your work and when contact is made with tool continuity closes the switch. The switch thickness would be your Z offset. Just a thought. I usually just use the old trick of bringing the tool down onto a white Zigzag paper(.001"). Cheers, Vern. ----- Original Message -----
From: Art To: mach1mach2cnc@... Sent: Thursday, February 26, 2004 2:43 PM Subject: Re: [mach1mach2cnc] Tool set switch Mike: What you need is a probe command and a probe input (Digitize). In a macro button, you would put a code( " G32 Z -10 " ) // set the Z number to the max you want to drop in case of error. If the switch is hooked to the digitize input, the Z drop will stop when the switch gets activated. Make sure you have room for a deceleration of the axis. Then you need a code( "G92Z0") to set the Z axis to zero, then an code( "G0Z3") to move to 3 inches up, then a code( "G92Z0") to set it back to zero. So the whole macro button would be similar to: code "G32Z-10" code "G92Z0" code" G0Z3" code "G92Z0" I haven't tested this , but it should do the job. Just make sure your switch is triggering the digitize input else it won't work and you'll drive into the table.. Art www.artofcnc.ca Yahoo! Groups Sponsor ADVERTISEMENT ---------------------------------------------------------------------------- -- Yahoo! Groups Links a.. To visit your group on the web, go to: b.. To unsubscribe from this group, send an email to: mach1mach2cnc-unsubscribe@... c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. |
Art
Vern:
toggle quoted message
Show quoted text
Good idea... Art www.artofcnc.ca ----- Original Message -----
From: "Vern" <vbent@...> To: <mach1mach2cnc@...> Sent: Thursday, February 26, 2004 6:30 PM Subject: Re: [mach1mach2cnc] Tool set switch Mike/Art:brass strips are solderedin case of error. If the switch is hooked to the digitize input, the Z drop-- --Service.
|
--- In mach1mach2cnc@..., Art <fenerty@a...> wrote:
What happens to that "room for deceleration" when going with this tool set switch? Does one use a different technique for activating the switch? curious Geor..er John Vern:(choose To theyour thickness) brasscontact is madestrips are soldered bringing the toolwith tool continuity closes (Digitize). In adown onto a white Zigzag paper(.001"). to dropmacro inthe Z dropcase of error. If the switch is hooked to the digitize input, room for awill stop when the switch gets activated. Make sure you have sure yourdeceleration of the axis. Then you need a you'llswitch is triggering the digitize input else it won't work and ---------drive --of-- Service. |
dchristal2
another keeper
--- In mach1mach2cnc@..., Art <fenerty@a...> wrote: Mike:In a macro button, you would put adrop in case of error. If the switch is hooked to the digitize input, the Zdrop will stop when the switch gets activated. Make sure you have roomfor a deceleration of the axis. Then you need ayour switch is triggering the digitize input else it won't work andyou'll drive into the table.. |
Art
John:
toggle quoted message
Show quoted text
You'd just feed down very slowly, then theres almost no decel... Art www.artofcnc.ca ----- Original Message -----
From: "Bloy2004" <jmnotions@...> To: <mach1mach2cnc@...> Sent: Thursday, February 26, 2004 7:19 PM Subject: [mach1mach2cnc] Re: Tool set switch --- In mach1mach2cnc@..., Art <fenerty@a...> wrote: |
Guys thanks for all the input but my problem is a little different.
I'm thinking most of you folks use some sort of mill, minimill or small router. My router is 144" in length and my 4th axis, where I do most of my machining, is at the far end of the machine from the controller, which is in my office. When I am by myself it is impossible to use the paper deal, which btw is what I am currently doing now. To get to my 4th axis I have to walk about 22 ft., not that I don't need the exercize, but it really is time consuming. The switch I currently have is actually an omron micro switch with an additional plunger system I built to fit to it. I had initally designed the complete switch using a tapered screw in from the side making contact with a piece of flat spring mounted in a slot at about 70 deg angle so I would have overtravel as well as fine tune adjustment for contact. I found the omron on a shelf, and it just made things a little more simple. Art the "codes" you posted earlier...was that a macro? You mentioned a button? Is that in the screen designer? I have tried the manual and the best I can understand is that the macro's have to be written in vb, whatever that is. I haven't had the time to go to the microsoft site since I am still trying to get a cash dribble started after being without income for 4 1/2 months. That is the main reason I am having to ask for help. I will learn all I can about Mach2 but it will have to be later. I gotta work now! --- In mach1mach2cnc@..., Art <fenerty@a...> wrote: John:activating brassthe switch? thickness).(chooseyour thickness) To thebrasscontact is madestrips are soldered |
James I just now got off of the server doing the email thingy so you
will be able to get through now. Art thank you for the help. I am gonna try this tonight as well as James Cullin's offer of help. Will let you know how it works. I have had two more emails about this so I am not the only one wanting to do this. BTW I will let you know the outcome of both before you go south cause I don't think you will be able to comprehend much for about a week after you get back from Tea-a-wanna! :) Mike --- In mach1mach2cnc@..., Art <fenerty@a...> wrote: the screen,Yes, thats a macro. In the screen designer you drop a button onArt the "codes" you posted earlier...was that a macro? You then double click it, type in those codes and save it. It thengives you that capability in Mach2 when you run it. |
to navigate to use esc to dismiss