Hello Guest it is October 15, 2019, 05:25:04 AM

Author Topic: Code hangs and z drils to China  (Read 4858 times)

0 Members and 1 Guest are viewing this topic.

Code hangs and z drils to China
« on: December 20, 2008, 11:16:17 PM »
We are new to CNC, using a Dyna 4000 Plasma, and are trying our first test run using the default Plasma Tap in sheetcam.  But when we load up mach 3 it will hang at carious lines whenever it start to do anything but linear lines.  We can upload or post the code if needed and tell you what line we hang at. Would really appreciate any help and or direction that we can be pointed.

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: Code hangs and z drils to China
« Reply #1 on: December 21, 2008, 12:32:50 AM »
Hi, Citadel

Post the file.

Chip
Re: Code hangs and z drills to China
« Reply #2 on: December 21, 2008, 10:18:23 AM »
Here is our test run it hangs on us at line 4910.


Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Code hangs and z drils to China
« Reply #3 on: December 21, 2008, 10:51:44 AM »
What actually happens? Does the code stop and also the machine? When you first load the code does it hang or run right through and give you the toolpath? What version of Mach are you using?
Please attach your xml.
Hood
Re: Code hangs and z drills to China
« Reply #4 on: December 21, 2008, 11:30:02 AM »
Version D1.90.026, it hangs when we run through the code on the computer, we have not put it to machine yet as we haven't gotten that far on our project, we are concerned with the z axis that just keeps going that it could damage plasma head, so trying to get it working correctly before we make first run to metal.  If we run in program run the code will hang at line 4910.   If we put it in toolpath and simulate program run the code it runs all the way through, if we use cycle start it hangs at line 110 and z just keeps going down.

vmax549

*
Re: Code hangs and z drils to China
« Reply #5 on: December 21, 2008, 11:46:36 AM »
LIne 110 is a homing sequence IF you do not have the home switches set up it may drill to china trying to reach a home switch(;-).

What error message at 4910 are you getting, something to do with end radius not same as starting radius at line4910 ???

Just a thought, (;-) TP
Re: Code hangs and z drils to China
« Reply #6 on: December 21, 2008, 12:08:25 PM »
We are not getting an error code. It just stops at line 4910.

Offline Sam

*
  • *
  •  988 988
    • View Profile
    • hillbillyhilton.com
Re: Code hangs and z drils to China
« Reply #7 on: December 21, 2008, 12:48:43 PM »
Is this a registered version of Mach, or the demo?
"CONFIDENCE: it's the feeling you experience before you fully understand the situation."
Re: Code hangs and z drils to China
« Reply #8 on: December 21, 2008, 12:55:28 PM »
Came with the equipment and has a license file so I am pretty positive it is a fully licensed version.  It does say it is a licensed version in the help about tab.

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Code hangs and z drils to China
« Reply #9 on: December 21, 2008, 04:02:51 PM »
As has been said the G28 homing moves are the cause of the Z axis moving. Also your pauses are in the code as well for example on line 0160 there is a G4P75, that is a dwell for 75seconds before Mach will continue. If its meant to be 75 ms then you need to check the box for G4 times in milliseconds, its on general config page.
Hood