GJMATHEWS
02-28-2009, 03:02 PM
Myself and Eric have been hitting the books. As a result of a Wincnc.ini file that Eric emailed me from his machine I was forced to take a closer look at mine. Up until a few days ago, I thought my machine was cutting very nicely. As I have stated in an earlier post, since I cut furniture, anything within 1/64 of an inch is acceptable. My photo album bares witness to the fact that the machine is truly a great piece of equipment. Just take a look at the pair of hooters I carved on it!
[lol]
I had sent an email to Eric just the day before telling him that my machine does not seem to slow down when it gets to a corner. It was his ini file that clued me in to what was going on.
During any cutting operation on any CNC machine the X and Y axis directions can suddenly change. For cabinet makers, a 90 degree corner does not pose as much of a problem as carving a 3D object. When cutting a rectangle, the machine travels along the X axis to a specific point and then makes a turn and starts along the Y axis. The process is repeated at the next corner and so on until the rectangle is cut. In carving 3D, there are usually 2 axes involved within a millisecond. In the case of spiral cutting, there can be 3 involved within milliseconds of each other. Compound that by starting from the center and working out... well you get the idea if you have been around CNC long enough. Since the computer can read ahead in the program, it knows that a corner is coming up and it will send a pulse telling the servos it is time to slow down. Rather then taking the corner at 600IPM, the servos will slow down, (decelerate) take the corner and speed up. (Accelerate)
Think of it as human being for one minute. If you were using a router and going around a corner to radius or profile an edge, you would slow down as you negotiated the corner and then resume a good cutting speed. This is what a CNC machine needs to do to function at its best.
Prepping bentwood cherry chair arms the other day, I noticed the cuts were no where close to the cuts my Shopbot was given me. It was the same file, just a different G-code. That is when I finally realized that my machine was not slowing down as it approached corners and any tight radius cuts. At the time I was cutting at 150IPM.
Because I had over 50 of these chair arms to cut, and with a little encouragement from Eric's email, I started to screw around with my .ini settings.
WARNING, DO NOT TOUCH THESE SETTINGS UNLESS YOU ARE WILLING TO RELEASE CAMASTER FROM ALL WARRANTY WORK!!!
Little disclaimer for the guys at CAMaster.
Anyhow, after making a few adjustments, about 22 to be precise, I am pleased with the results. Keep in mind that these files are for my machine and I do not make any claim, guarantee, warranty, statement, diatribe, written, spoken, or implied gesture that they will work on your machine. If you copy them and use them and wreck your machine, "Oh well!!! Sucks to be you!" They are here for you to look at and learn from. If you do use them you do it at your own risk.
All the information that I used to modify them came from the Help File located within my WINCNC Software package. Each modification was then followed by testing on my machine and solely on my machine. Please do not think that for one minute they will work on yours. I do not know what drives your machine has, what servos, what table width, length and so fourth, and so on, and yada, yada, yada.
In other words, when in doubt, consult the manual or the guy that covers the warranty on your machine. These settings have not been approved by anyone at CAMaster or Wincnc. My use of them has more than likely voided the warranty on my machine. That is a consequence that my boss and I can live with. We did not buy the CAMaster to get a warranty. We got it because it is a damn good machine and we like to push good machines to the limit!!!!
Anyway, having said all that, 3 months from now, someone will try the exact same settings I have posted here and slam their gantry into a brick wall and try to blame me. Guess what guys? I don't do guilt and I am going to die poor anyway!
In Bold are my original settings that came with my machine after we set it up and Josh and I got it going in my shop.
[Demo Mode]
demomode=0
[Timer Card Settings]
timertype=7200
[Pulse Outputs]
steppulse=p5d5
maxstepv=50000
[Smoothing]
g09=s30
[Table Size for Viewer]
table=x0 y0 w60 h120 b1
G37=g53 X102.102 y-9.794 D-2 F20
[Tool Changer]
atc1=a2
[Spindle Speed]
da=t1 v10
spindle=t2 r24000
[Axis Settings]
axischar=XYZA
[Velocity Groups]
vgroup=fxy
vgroup=xy
vgroup=z
vgroup=a
[X Axis]
axisspec=p0 s1 d1 r2546.47909 o1 e0 a1500
axisvel=r350 f1500 s50 m500 h1150 c10
axislo=p2b7
[Y Axis]
axisspec=p0 s0 d0 r2546.47909 o1 e0 a1500
axisvel=r350 f1500 s50 m500 h1150 c10
axishi=p2b6
[Z Axis]
axisspec=p0 s3 d3 r4981.862 o0 e0 a1500
axisvel=r350 f1500 s20 m50 h450 C10
axishi=p3b1
altaxislo=p3b2
[W Axis]
axisspec=p0 s5 d5 r23.529411 o1 e1 a12000 t4
[r4235.294
axisvel=r36000 f1500 s5 m20 h36000 c360
[Arc Settings]
g2modal=1
arc_err=.01
[Soft Limits]
lolim=x-.01 y-.01 a-50000
hilim=x120 y60 z0 a50000
lobound=z-0.020
softlim=T1
[Abort Cushions]
lim_cnt=1
esc_step=100
lim_step=128
lim_mode=1
[Aux Outputs]
auxout=c10p4b5o0s0 [ TOOL CHANGE ACTUATE
auxout=c2p4b7o0s0E0 [ CONE CLEAN
auxout=c3p4b6o0 [ DUST BOOT
auxout=c20p4b4o0s0x0e0 [ SPINDLE FWD
auxout=c14p4b0o0s0 [ SPEED REF 1
auxout=c13p4b1o0s0 [ SPEED REF 2
auxout=c12p4b2o0s0 [ SPEED REF 3
auxout=c11p4b3o0s0 [ SPEED REF 4
auxout=c26p7b7o1s1 [ STEP DIV GEAR CHANGE
auxout=c33p5b7o0s1x0
enab=c33
[Aux Inputs]
auxin=c1p0b0
auxin=c2p0b1o1d10
auxin=c3p0b2o0
auxin=c4p0b3o1 [TOOL TIED]
auxin=c5p0b4o1
[auxin=c6p0b5
auxin=c7p0b6
auxin=c8p0b7
AUXIN=C9P3B4o0 [ESTOP]
enab=c9m"E-Stop Pressed"t1
auxin=c11p3b5o0 [Enable Servos]
[Enables]
enab=c9m"RESET E-STOP"a
enab=c11m"RESET SERVOS"a
[G28 Settings]
g28move=z-.25 f75 t2.5
g28move=x.25 y-.25 f200 r.3 t2.5
g28coord=y60.784
[File Types]
filetype=*.TAP;*.NC;*.MAC;
With the above settings, I could not run the chair arms any faster the 175IPM's without chatter.
Below are my new settings in Italics I have highlighted changes in blue.
[Demo Mode]
demomode=0
[Timer Card Settings]
timertype=7200
[Pulse Outputs]
steppulse=p5d5
maxstepv=50000
[Smoothing]
g09=s19
[Table Size for Viewer]
table=x0 y0 w60 h120 b1
G37=g53 X102.102 y-9.794 D-2 F20
[Tool Changer]
atc1=a2
[Spindle Speed]
da=t1 v10
spindle=t2 r24000
[Axis Settings]
axischar=XYZA
[Velocity Groups]
vgroup=fxy
vgroup=xy
vgroup=z
vgroup=a
[X Axis]
axisspec=p0 s1 d1 r2546.47909 o1 e0 a1000 f150
axisvel=r800 f1500 s50 m500 h1150 c15
axismode=s19 v25
axislo=p2b7
[Y Axis]
axisspec=p0 s0 d0 r2546.47909 o1 e0 a1000 f150
axisvel=r800 f1500 s50 m500 h1150 c15
axismode=s19 v25
axishi=p2b6
[Z Axis]
axisspec=p0 s3 d3 r4981.862 o0 e0 a500 f150
axisvel=r350 f1500 s20 m50 h450 C15
axismode=s19 v25
axishi=p3b1
altaxislo=p3b2
[W Axis]
axisspec=p0 s5 d5 r23.529411 o1 e1 a12000 t4
[r4235.294
axisvel=r36000 f1500 s5 m20 h36000 c360
[Arc Settings]
g2modal=1
arc_err=.01
arc_min=.002
[Soft Limits]
lolim=x-.01 y-.01 a-50000
hilim=x120 y60 z0 a50000
lobound=z-0.020
softlim=T1
[Abort Cushions]
lim_cnt=1
esc_step=100
lim_step=128
lim_mode=1
[Aux Outputs]
auxout=c10p4b5o0s0 [ TOOL CHANGE ACTUATE
auxout=c2p4b7o0s0E0 [ CONE CLEAN
auxout=c3p4b6o0 [ DUST BOOT
auxout=c20p4b4o0s0x0e0 [ SPINDLE FWD
auxout=c14p4b0o0s0 [ SPEED REF 1
auxout=c13p4b1o0s0 [ SPEED REF 2
auxout=c12p4b2o0s0 [ SPEED REF 3
auxout=c11p4b3o0s0 [ SPEED REF 4
auxout=c26p7b7o1s1 [ STEP DIV GEAR CHANGE
auxout=c33p5b7o0s1x0
enab=c33
[Aux Inputs]
auxin=c1p0b0
auxin=c2p0b1o1d10
auxin=c3p0b2o0
auxin=c4p0b3o1 [TOOL TIED]
auxin=c5p0b4o1
[auxin=c6p0b5
auxin=c7p0b6
auxin=c8p0b7
AUXIN=C9P3B4o0 [ESTOP]
enab=c9m"E-Stop Pressed"t1
auxin=c11p3b5o0 [Enable Servos]
[Enables]
enab=c9m"RESET E-STOP"a
enab=c11m"RESET SERVOS"a
[G28 Settings]
g28move=z-.25 f75 t2.5
g28move=x.25 y-.25 f200 r.3 t2.5
g28coord=y60.784
[File Types]
filetype=*.TAP;*.NC;*.MAC;*.TXT;
With these settings, most all of them in the AxisSpec area, I was able to run the file at 600IPM.
That does not mean that the entire piece was cut at 600IPM. It means that the machine now has the ability to cut at 600IPM and produce smooth results. On a straight axis run of 60 inches, the machine will get up to speed and travel at 600IPM. As it approaches a turn, it will slow down. These settings now have my machine moving almost identical to my Shopbot when cutting the same file.
That is today's less on Acceleration and Deceleration. I am off to go carve myself an apple!
Over the next few days I will continue to modify these settings to come up with what should serve as a good starting point for most machines running Wincnc software.
Thanks for the inspiration Eric.
Youtube video to follow of the final chair arm with screen shots of 600IPM.
[lol]
I had sent an email to Eric just the day before telling him that my machine does not seem to slow down when it gets to a corner. It was his ini file that clued me in to what was going on.
During any cutting operation on any CNC machine the X and Y axis directions can suddenly change. For cabinet makers, a 90 degree corner does not pose as much of a problem as carving a 3D object. When cutting a rectangle, the machine travels along the X axis to a specific point and then makes a turn and starts along the Y axis. The process is repeated at the next corner and so on until the rectangle is cut. In carving 3D, there are usually 2 axes involved within a millisecond. In the case of spiral cutting, there can be 3 involved within milliseconds of each other. Compound that by starting from the center and working out... well you get the idea if you have been around CNC long enough. Since the computer can read ahead in the program, it knows that a corner is coming up and it will send a pulse telling the servos it is time to slow down. Rather then taking the corner at 600IPM, the servos will slow down, (decelerate) take the corner and speed up. (Accelerate)
Think of it as human being for one minute. If you were using a router and going around a corner to radius or profile an edge, you would slow down as you negotiated the corner and then resume a good cutting speed. This is what a CNC machine needs to do to function at its best.
Prepping bentwood cherry chair arms the other day, I noticed the cuts were no where close to the cuts my Shopbot was given me. It was the same file, just a different G-code. That is when I finally realized that my machine was not slowing down as it approached corners and any tight radius cuts. At the time I was cutting at 150IPM.
Because I had over 50 of these chair arms to cut, and with a little encouragement from Eric's email, I started to screw around with my .ini settings.
WARNING, DO NOT TOUCH THESE SETTINGS UNLESS YOU ARE WILLING TO RELEASE CAMASTER FROM ALL WARRANTY WORK!!!
Little disclaimer for the guys at CAMaster.
Anyhow, after making a few adjustments, about 22 to be precise, I am pleased with the results. Keep in mind that these files are for my machine and I do not make any claim, guarantee, warranty, statement, diatribe, written, spoken, or implied gesture that they will work on your machine. If you copy them and use them and wreck your machine, "Oh well!!! Sucks to be you!" They are here for you to look at and learn from. If you do use them you do it at your own risk.
All the information that I used to modify them came from the Help File located within my WINCNC Software package. Each modification was then followed by testing on my machine and solely on my machine. Please do not think that for one minute they will work on yours. I do not know what drives your machine has, what servos, what table width, length and so fourth, and so on, and yada, yada, yada.
In other words, when in doubt, consult the manual or the guy that covers the warranty on your machine. These settings have not been approved by anyone at CAMaster or Wincnc. My use of them has more than likely voided the warranty on my machine. That is a consequence that my boss and I can live with. We did not buy the CAMaster to get a warranty. We got it because it is a damn good machine and we like to push good machines to the limit!!!!
Anyway, having said all that, 3 months from now, someone will try the exact same settings I have posted here and slam their gantry into a brick wall and try to blame me. Guess what guys? I don't do guilt and I am going to die poor anyway!
In Bold are my original settings that came with my machine after we set it up and Josh and I got it going in my shop.
[Demo Mode]
demomode=0
[Timer Card Settings]
timertype=7200
[Pulse Outputs]
steppulse=p5d5
maxstepv=50000
[Smoothing]
g09=s30
[Table Size for Viewer]
table=x0 y0 w60 h120 b1
G37=g53 X102.102 y-9.794 D-2 F20
[Tool Changer]
atc1=a2
[Spindle Speed]
da=t1 v10
spindle=t2 r24000
[Axis Settings]
axischar=XYZA
[Velocity Groups]
vgroup=fxy
vgroup=xy
vgroup=z
vgroup=a
[X Axis]
axisspec=p0 s1 d1 r2546.47909 o1 e0 a1500
axisvel=r350 f1500 s50 m500 h1150 c10
axislo=p2b7
[Y Axis]
axisspec=p0 s0 d0 r2546.47909 o1 e0 a1500
axisvel=r350 f1500 s50 m500 h1150 c10
axishi=p2b6
[Z Axis]
axisspec=p0 s3 d3 r4981.862 o0 e0 a1500
axisvel=r350 f1500 s20 m50 h450 C10
axishi=p3b1
altaxislo=p3b2
[W Axis]
axisspec=p0 s5 d5 r23.529411 o1 e1 a12000 t4
[r4235.294
axisvel=r36000 f1500 s5 m20 h36000 c360
[Arc Settings]
g2modal=1
arc_err=.01
[Soft Limits]
lolim=x-.01 y-.01 a-50000
hilim=x120 y60 z0 a50000
lobound=z-0.020
softlim=T1
[Abort Cushions]
lim_cnt=1
esc_step=100
lim_step=128
lim_mode=1
[Aux Outputs]
auxout=c10p4b5o0s0 [ TOOL CHANGE ACTUATE
auxout=c2p4b7o0s0E0 [ CONE CLEAN
auxout=c3p4b6o0 [ DUST BOOT
auxout=c20p4b4o0s0x0e0 [ SPINDLE FWD
auxout=c14p4b0o0s0 [ SPEED REF 1
auxout=c13p4b1o0s0 [ SPEED REF 2
auxout=c12p4b2o0s0 [ SPEED REF 3
auxout=c11p4b3o0s0 [ SPEED REF 4
auxout=c26p7b7o1s1 [ STEP DIV GEAR CHANGE
auxout=c33p5b7o0s1x0
enab=c33
[Aux Inputs]
auxin=c1p0b0
auxin=c2p0b1o1d10
auxin=c3p0b2o0
auxin=c4p0b3o1 [TOOL TIED]
auxin=c5p0b4o1
[auxin=c6p0b5
auxin=c7p0b6
auxin=c8p0b7
AUXIN=C9P3B4o0 [ESTOP]
enab=c9m"E-Stop Pressed"t1
auxin=c11p3b5o0 [Enable Servos]
[Enables]
enab=c9m"RESET E-STOP"a
enab=c11m"RESET SERVOS"a
[G28 Settings]
g28move=z-.25 f75 t2.5
g28move=x.25 y-.25 f200 r.3 t2.5
g28coord=y60.784
[File Types]
filetype=*.TAP;*.NC;*.MAC;
With the above settings, I could not run the chair arms any faster the 175IPM's without chatter.
Below are my new settings in Italics I have highlighted changes in blue.
[Demo Mode]
demomode=0
[Timer Card Settings]
timertype=7200
[Pulse Outputs]
steppulse=p5d5
maxstepv=50000
[Smoothing]
g09=s19
[Table Size for Viewer]
table=x0 y0 w60 h120 b1
G37=g53 X102.102 y-9.794 D-2 F20
[Tool Changer]
atc1=a2
[Spindle Speed]
da=t1 v10
spindle=t2 r24000
[Axis Settings]
axischar=XYZA
[Velocity Groups]
vgroup=fxy
vgroup=xy
vgroup=z
vgroup=a
[X Axis]
axisspec=p0 s1 d1 r2546.47909 o1 e0 a1000 f150
axisvel=r800 f1500 s50 m500 h1150 c15
axismode=s19 v25
axislo=p2b7
[Y Axis]
axisspec=p0 s0 d0 r2546.47909 o1 e0 a1000 f150
axisvel=r800 f1500 s50 m500 h1150 c15
axismode=s19 v25
axishi=p2b6
[Z Axis]
axisspec=p0 s3 d3 r4981.862 o0 e0 a500 f150
axisvel=r350 f1500 s20 m50 h450 C15
axismode=s19 v25
axishi=p3b1
altaxislo=p3b2
[W Axis]
axisspec=p0 s5 d5 r23.529411 o1 e1 a12000 t4
[r4235.294
axisvel=r36000 f1500 s5 m20 h36000 c360
[Arc Settings]
g2modal=1
arc_err=.01
arc_min=.002
[Soft Limits]
lolim=x-.01 y-.01 a-50000
hilim=x120 y60 z0 a50000
lobound=z-0.020
softlim=T1
[Abort Cushions]
lim_cnt=1
esc_step=100
lim_step=128
lim_mode=1
[Aux Outputs]
auxout=c10p4b5o0s0 [ TOOL CHANGE ACTUATE
auxout=c2p4b7o0s0E0 [ CONE CLEAN
auxout=c3p4b6o0 [ DUST BOOT
auxout=c20p4b4o0s0x0e0 [ SPINDLE FWD
auxout=c14p4b0o0s0 [ SPEED REF 1
auxout=c13p4b1o0s0 [ SPEED REF 2
auxout=c12p4b2o0s0 [ SPEED REF 3
auxout=c11p4b3o0s0 [ SPEED REF 4
auxout=c26p7b7o1s1 [ STEP DIV GEAR CHANGE
auxout=c33p5b7o0s1x0
enab=c33
[Aux Inputs]
auxin=c1p0b0
auxin=c2p0b1o1d10
auxin=c3p0b2o0
auxin=c4p0b3o1 [TOOL TIED]
auxin=c5p0b4o1
[auxin=c6p0b5
auxin=c7p0b6
auxin=c8p0b7
AUXIN=C9P3B4o0 [ESTOP]
enab=c9m"E-Stop Pressed"t1
auxin=c11p3b5o0 [Enable Servos]
[Enables]
enab=c9m"RESET E-STOP"a
enab=c11m"RESET SERVOS"a
[G28 Settings]
g28move=z-.25 f75 t2.5
g28move=x.25 y-.25 f200 r.3 t2.5
g28coord=y60.784
[File Types]
filetype=*.TAP;*.NC;*.MAC;*.TXT;
With these settings, most all of them in the AxisSpec area, I was able to run the file at 600IPM.
That does not mean that the entire piece was cut at 600IPM. It means that the machine now has the ability to cut at 600IPM and produce smooth results. On a straight axis run of 60 inches, the machine will get up to speed and travel at 600IPM. As it approaches a turn, it will slow down. These settings now have my machine moving almost identical to my Shopbot when cutting the same file.
That is today's less on Acceleration and Deceleration. I am off to go carve myself an apple!
Over the next few days I will continue to modify these settings to come up with what should serve as a good starting point for most machines running Wincnc software.
Thanks for the inspiration Eric.
Youtube video to follow of the final chair arm with screen shots of 600IPM.