开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

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:

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:

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:

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.









Yahoo! Groups Links





 

--- 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:

Good idea...

Art
www.artofcnc.ca

----- Original Message -----
From: "Vern" <vbent@s...>
To: <mach1mach2cnc@...>
Sent: Thursday, February 26, 2004 6:30 PM
Subject: Re: [mach1mach2cnc] Tool set switch


Mike/Art:

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.









Yahoo! Groups Links





dchristal2
 

another keeper
--- In mach1mach2cnc@..., Art <fenerty@a...> wrote:
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


Art
 

John:

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:
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:

Good idea...

Art
www.artofcnc.ca

----- Original Message -----
From: "Vern" <vbent@s...>
To: <mach1mach2cnc@...>
Sent: Thursday, February 26, 2004 6:30 PM
Subject: Re: [mach1mach2cnc] Tool set switch


Mike/Art:

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.









Yahoo! Groups Links







Yahoo! Groups Links





 

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:

You'd just feed down very slowly, then theres almost no decel...
Art
www.artofcnc.ca

----- Original Message -----
From: "Bloy2004" <jmnotions@c...>
To: <mach1mach2cnc@...>
Sent: Thursday, February 26, 2004 7:19 PM
Subject: [mach1mach2cnc] Re: Tool set switch


--- 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:

Good idea...

Art
www.artofcnc.ca

----- Original Message -----
From: "Vern" <vbent@s...>
To: <mach1mach2cnc@...>
Sent: Thursday, February 26, 2004 6:30 PM
Subject: Re: [mach1mach2cnc] Tool set switch


Mike/Art:

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").


Art
 

Art the "codes" you posted earlier...was that a macro? You
Yes, thats a macro. In the screen designer you drop a button on the screen,
then double click it, type in those codes and save it. It then gives you
that capability in Mach2 when you run it.

Art
www.artofcnc.ca


 

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:
Art the "codes" you posted earlier...was that a macro? You
Yes, thats a macro. In the screen designer you drop a button on
the screen,
then double click it, type in those codes and save it. It then
gives you
that capability in Mach2 when you run it.

Art
www.artofcnc.ca