Hello Guest it is March 28, 2024, 08:47:43 PM

Author Topic: Homing, machine co ordinates and touch off  (Read 5642 times)

0 Members and 1 Guest are viewing this topic.

Homing, machine co ordinates and touch off
« on: January 30, 2010, 03:14:44 PM »
Hi,

Ive been looking further into my touch off problem on my plasma, it appears that when my z axis home switch is tripped the machine co ordinates on all axes are zeroed. I understand the z machine cordinates should be zeroed but why the x y and a axes? Is there a setting that would change this? Ive ruled out mechanical problems by disconnecting all the home switches except the z.

Any ideas??

Matt

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Homing, machine co ordinates and touch off
« Reply #1 on: January 30, 2010, 03:27:22 PM »
How are you sending the Z to home? Do the other axis move or do they just zero?
Hood
Re: Homing, machine co ordinates and touch off
« Reply #2 on: January 30, 2010, 03:51:10 PM »
The other axes do not move, they are just zeroed as the z axis is zeroed, the code looks like this:

N0080 G00 Z25.0000
N0090 X95.5000 Y22.7500
N0100 Z5.0000
N0110 G28.1 Z3.00
N0120 G92 Z0.0
N0130 G00 Z0.0520
N0140 G92 Z0.0
N0150 G00 Z5.0000
N0160 M03
N0170 G01 Z1.5000 F1000


Im not great with g code but when the z switch contacts the machine co ordinates for all axes are zeroed

Thanks for the help

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Homing, machine co ordinates and touch off
« Reply #3 on: January 30, 2010, 03:55:18 PM »
Do you have a macropump running? or a Brain running?
Can you attach your xml please.
Hood
Re: Homing, machine co ordinates and touch off
« Reply #4 on: January 30, 2010, 04:18:59 PM »
I think ive attached the xml, i am also running a G100 motion controller.

Thanks again

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Homing, machine co ordinates and touch off
« Reply #5 on: January 30, 2010, 04:21:18 PM »
ah OK could well be the G100 plugin that is doing this. Will look at your xml but afraid I dont have a clue about the G100 :(
Hood
Re: Homing, machine co ordinates and touch off
« Reply #6 on: January 30, 2010, 04:24:45 PM »
That would suck if it was since i just spent ages fitting the g100!!

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Homing, machine co ordinates and touch off
« Reply #7 on: January 30, 2010, 04:29:17 PM »
Just simulated here and it seems to work fine so looks like it could well be the G100 :(
If you just press the switch do the axis zero or is it only when you do the G28.1Z3?

Hood
Re: Homing, machine co ordinates and touch off
« Reply #8 on: January 30, 2010, 04:46:26 PM »
Not sure, i will try it and let you know, will try to see if the other home switches do the same or if its just the z

Thanks for the help

Matt
Re: Homing, machine co ordinates and touch off
« Reply #9 on: January 30, 2010, 05:43:02 PM »
Try changing the torch switch to a probe input, then use G31 instead of G28.1.  The only change in your code would be this line...

N0110 G28.1 Z3.00

Would change to this....

N0110 G31 Z3.00  (if your Z plunges on a positive move)
N0110 G28.1 Z-3.00  (if your Z plunges on a negative move)