Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: citadelcomputer on December 20, 2008, 11:16:17 PM

Title: Code hangs and z drils to China
Post by: citadelcomputer 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.
Title: Re: Code hangs and z drils to China
Post by: Chip on December 21, 2008, 12:32:50 AM
Hi, Citadel

Post the file.

Chip
Title: Re: Code hangs and z drills to China
Post by: citadelcomputer on December 21, 2008, 10:18:23 AM
Here is our test run it hangs on us at line 4910.


Title: Re: Code hangs and z drils to China
Post by: Hood 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
Title: Re: Code hangs and z drills to China
Post by: citadelcomputer 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.
Title: Re: Code hangs and z drils to China
Post by: vmax549 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
Title: Re: Code hangs and z drils to China
Post by: citadelcomputer on December 21, 2008, 12:08:25 PM
We are not getting an error code. It just stops at line 4910.
Title: Re: Code hangs and z drils to China
Post by: Sam on December 21, 2008, 12:48:43 PM
Is this a registered version of Mach, or the demo?
Title: Re: Code hangs and z drils to China
Post by: citadelcomputer 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.
Title: Re: Code hangs and z drils to China
Post by: Hood 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
Title: Re: Code hangs and z drils to China
Post by: Hood on December 21, 2008, 04:04:56 PM
Oh meant to add that you seem to have the Z Axis homing in the negative direction, unless your machine has some special kind of setup then that should be reversed to Home positive.
Hood
Title: Re: Code hangs and z drils to China
Post by: vmax549 on December 21, 2008, 04:38:06 PM
IN Your file that line 4910 is acutally line 491 that is where mach will stop if the license file is not active for some reason. Might want to double check . You will also see an error around line 6810 where there is an error with radius end point not same as starting point on the next line(;-).

Just a thought, (;-) TP
Title: Re: Code hangs and z drils to China
Post by: Hood on December 21, 2008, 04:44:56 PM
Chip
 Think you need must have your IJ mode as Abs
Hood
Title: Re: Code hangs and z drils to China
Post by: citadelcomputer on December 21, 2008, 08:22:42 PM
We used the xml files off the dyna setup disc. Sorry, but were a little confused and new to this. Are these settings in mach or sheetcam? Is g4 set in sheetcam or mach 3? Thanks for the help.
Title: Re: Code hangs and z drils to China
Post by: Chip on December 22, 2008, 12:36:58 AM
Hi, Citade

The G4 setting is in Mach3 Config, General Configuration, See Pic below.

Thanks, Chip