Hello Guest it is June 25, 2019, 08:54:02 PM

Author Topic: Z home before cycle start?  (Read 2844 times)

0 Members and 1 Guest are viewing this topic.

Z home before cycle start?
« on: July 27, 2007, 10:42:13 PM »
Is there a way to make the Z go to the top before the machine starts moving after Cycle Start was pushed if a input is active(high)?  I want this to be a safety measure, until the input is low the machine will start moving only after the Z is at the top.  But if the input is low the machine will follow the code normally.   

Or if that is not possible then a Z inhibit when the Z is at Machine coordinate 0",  before the machine starts moving with the input high.


Thanks

Dennis

Hood

*
Re: Z home before cycle start?
« Reply #1 on: July 28, 2007, 05:04:31 PM »
Is this a user Input or just any and all inputs?
 You could probably do that with the macropump. If you set an LED for the active state of the input then you can have the macropump look at the LED and do the actions you require. Not great on VB so wont embarass myself by trying to  give you a pointer ;)

Hood
Re: Z home before cycle start?
« Reply #2 on: July 28, 2007, 07:04:51 PM »
You should "CALL" Z0 in the program start in each program. You will see that Z is called to .5 before any other axis are called for motion.. It's line N0090.


N0030 G20 (Units: Inches)
N0040 G53 G90 G40
N0050 F1
N0060 S500
N0070 (Part: joesbull)
N0080 (Process: Plasma,  MAKE2D VISIBLE LINES, 1/8 inch .140 run height)
N0090 G00 Z0.5000
N0100 M06 T2  (1/8 inch .140 run height)
N0110 G00 Z0.5000
N0120 X2.5704 Y2.6379
N0130 Z0.1000
N0140 G28.1 Z  0.12
Hey THANKS 4 all the help in advance. I'll need more than you'll ever expect!!!


www.cravenpottery.com

vmax549

*
Re: Z home before cycle start?
« Reply #3 on: July 29, 2007, 11:15:15 AM »
The rule around here is if you write a piece of code that does NOT call for the Z to go to safe Z before other axis movement then you get to buy the tool that gets broken or the repairs to the probe if you break it.(;-)

The best approach is to get in the habit of

*** Ref Home as soon as the machine boots up and is ready to run(sets home on z)

***At the start of every program retract to safe z before any other axis movement It saves from crashing the tool when you leave it in an odd position during fixturing or setup and Mach starts to move to the startup position of the program. Mach will take the most direct route even through the clamps(;-)


***Just before any tool change code in a retract to safe z  If you don't and have to restart from a tool change the machine will attempt to go back to the last know position even if it means it will crash a tool into the work with the new tool.) The retract to "safe z" moves give the new tool somewhere safe to go to "restart from here".

Offline Chaoticone

*
  • *
  •  5,514 5,514
  • Precision Chaos
    • View Profile
Re: Z home before cycle start?
« Reply #4 on: July 29, 2007, 11:20:51 PM »
Hey Dennis, look in config, safeZ set up.

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!