Hello Guest it is August 07, 2020, 09:37:55 AM

Author Topic: Z-Axis ramping  (Read 3055 times)

0 Members and 1 Guest are viewing this topic.

Z-Axis ramping
« on: February 18, 2012, 08:47:31 AM »
Hi All, I've just completed my CNC router. One thing i can't figure out is how to set the z-axis so it makes its complete plunge before moving in another direction. Right now z-axis, from the rapid position, stops about 0.080" from the material to be cut then ramps down to 0.000 as it travels in a horizontil direction. I'm sure there is setting i can change but after an searching most of the day in these forums and in my mach settings I can't find anything that tells me where to make the change.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Z-Axis ramping
« Reply #1 on: February 18, 2012, 10:42:32 AM »
Its either in your code or your acceleration is very slow and you are in G64 mode (Constant Velocity)
Hood
Re: Z-Axis ramping
« Reply #2 on: February 18, 2012, 10:56:11 AM »
Thanks for the reply! My acceleration is set at 5. How do i change the CV mode?. I am pretty new at all this.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Z-Axis ramping
« Reply #3 on: February 18, 2012, 11:01:27 AM »
Have a look in your code for G64 and replace it with a G61 to see if the issue stops. If there is no G64 in your code put a G61 on the first line or near to the first line if the first lines are comments.
If that cures it then you know that is the issue and you can then likely go back to CV(G64) and use some of the CV settings that are on General Config page.
Hood
Re: Z-Axis ramping
« Reply #4 on: February 18, 2012, 11:21:51 AM »
Ok, it didn't work. But in case i entered it wrong where would i put it in this g code? I am trying to cut a square with 4 circles inside it.

5 (File Name = cnc test on Saturday, February 18, 2012)
N10 (Default Mill Post)
N15  G91.1
N20 G0  Z1.0000
N25 M3
N30  X0.0000  Y0.0000
N35  Z0.1000
N40 G1  Y4.0000  Z0.0000  F60.00
N45  X4.0000   
N50  Y0.0000   
N55  X0.0000   
N60 G0  Z1.0000
N65  X1.2500  Y1.0000
N70  Z0.1000
N75 G2  Z0.0000  I-0.2500  J0.0000
N80 G0  Z1.0000
N85  X3.2500
N90  Z0.1000
N95 G2  Z0.0000  I-0.2500  J0.0000
N100 G0  Z1.0000
N105  Y3.0000
N110  Z0.1000
N115 G2  Z0.0000  I-0.2500  J0.0000
N120 G0  Z1.0000
N125  X1.2500
N130  Z0.1000
N135 G2  Z0.0000  I-0.2500  J0.0000
N140 G0  Z1.0000
N145 M5
N150 M30

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Z-Axis ramping
« Reply #5 on: February 18, 2012, 05:13:40 PM »
Is the problem on the circles?

Hood

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Z-Axis ramping
« Reply #6 on: February 18, 2012, 05:29:08 PM »
In fact the first edge of your square also ramps and that is the code telling it to do that. The code says to go to Z0.1 then next move is to X0Y0 then the next move is to Y4 Z0 so that line is a ramp down of 0.1mm in Z while the Y moves 4 inch.
Hood
Re: Z-Axis ramping
« Reply #7 on: February 19, 2012, 08:50:53 AM »
You're right, it does it in the straights as well. I have been using lazy cam to generate g-code but it is now obvious that I need to study g-code and how it works a little more...thanks
Re: Z-Axis ramping
« Reply #8 on: February 19, 2012, 11:04:54 AM »
So this would be a setting in lazycam that needs to be changed?

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Z-Axis ramping
« Reply #9 on: February 19, 2012, 11:09:12 AM »
I have never used LazyCAM but I would imagine it would be a setting in there that is the problem.
Hood