home z before cutting each detail

More
21 Nov 2011 12:43 #14987 by dzarek
I'm looking for how to do homez during program execution, befor cutting each detail in my plasma

I thought to put a procedure to MXXX
Unfortunately I do not know if this is possible, because when I try machine back to the beginning of the work.

Please Log in or Create an account to join the conversation.

More
21 Nov 2011 13:06 #14989 by BigJohnT
You only need to home an axis once.

Is your plasma equipped with a floating torch with a probe input?

John

Please Log in or Create an account to join the conversation.

More
21 Nov 2011 13:09 #14990 by andypugh
dzarek wrote:

I'm looking for how to do homez during program execution, befor cutting each detail in my plasma


You want to home to the limit switch? I am not sure how to do that, though it might be possible using a custom M-code something like
#! /bin/bash
halcmd setp halui.joint.2.home
Alternatively, if that has undesired side-effects, or doesn't work (I don't think you can home in "auto" mode) then you might be able to use a Probe command to search for the home switch. I don't think that you will be able to use a shared limit/home switch for this.

What are you trying to achieve? It might be that there is a better way to get the same effect.

To be honest, if you need to re-home more than once a day, something is wrong.

Please Log in or Create an account to join the conversation.

More
21 Nov 2011 15:49 - 21 Nov 2011 15:49 #14994 by dzarek
BigJohnT wrote:

You only need to home an axis once.

Is your plasma equipped with a floating torch with a probe input?

John


thin sheet metal bends when cutting, so I would like to reset the axle before any detail
I want to connect the SW home switch so that it worked when the torch touches the material

You want to home to the limit switch? I am not sure how to do that, though it might be possible using a custom M-code something like
Code:
#! /bin/bash
halcmd setp halui.joint.2.home

I tested it, and when the program hit the M100 he comes back to the beginning of work.
I can do the movie what happens on another machine where it is tested

To be honest, if you need to re-home more than once a day, something is wrong.

:laugh:
Last edit: 21 Nov 2011 15:49 by dzarek.

Please Log in or Create an account to join the conversation.

More
21 Nov 2011 16:17 #14996 by andypugh
dzarek wrote:

thin sheet metal bends when cutting, so I would like to reset the axle before any detail
I want to connect the SW home switch so that it worked when the torch touches the material

I think what you need to do is probe, not home.
You could then use G10 to set the Z height on the basis of the probe result.

Better still would be an automatic torch height control, lots of people have that, including JT.

Please Log in or Create an account to join the conversation.

More
21 Nov 2011 16:49 #14997 by BigJohnT
dzarek wrote:

thin sheet metal bends when cutting, so I would like to reset the axle before any detail
I want to connect the SW home switch so that it worked when the torch touches the material


Connect a switch to motion probe input and use a probe motion as Andy suggested.

John

Please Log in or Create an account to join the conversation.

More
21 Nov 2011 21:16 #14998 by dzarek
so I must use the G38, but whether it is necessary to g10?
I apologize for such a question, but I still do not understand it exactly.

however, a call home by M100 imparted to me in another machine ... :)

Please Log in or Create an account to join the conversation.

More
21 Nov 2011 21:27 #14999 by BigJohnT
After the touchoff I use G92 to set the Z position of my Torch.

www.linuxcnc.org/docview/html/gcode_main...ub:G92,-G92.1,-G92.2,

After the cutting is done I turn off the offset with G92.1

John

Please Log in or Create an account to join the conversation.

More
14 Dec 2011 16:27 #15683 by dzarek
thank you John, works very well

I have one more question. Is it possible to use the same switch as a probe and home?

Please Log in or Create an account to join the conversation.

More
14 Dec 2011 16:40 #15684 by BigJohnT
Not without disconnecting it from the probe input in HAL. If you trip the probe input while not probing you get an error. You can however share the limit switch and home switch.

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.151 seconds
Powered by Kunena Forum