2/27/2009 8:44 PM | |
Posts: 6 Rating:
|
Hello, Please see image showing the axes in the attachment first (ekseni means axis). I want to grind a cam, what i am doing is; In autocad i rotate the cam shape at 1 degree intervals, and get the position of the grinding wheel (which moves only on the x axis) at tangent points then draw the c-v axis profile (you can find in the attachment), later from this profile i get delta c and delta v values (i work incremental) and get arc radius values and write the code below, but i gives Channel 1 block N004 error in end point of circle error. From the error description i found MD 21000=0.01 and MD 21010=0.001, i don't know where i am making mistake. The values are very precise as you can also check by dist command in autocad. CR is in degrees, as you can find from the properties of the most left arc. I will be very glad if you can help. Thanks, G01 G91 G64 N001 X=-0.05 F=R380 N003 C104 V=0 F=R380 G1 C0.0 V0.0 N004 G3 C=8.96465499 V=0.12910664 CR=336.35941839 F=R380 N005 G3 C=11.203455 V=0.28722069 CR=516.41059566 F=R380 N006 G3 C=3.34981839 V=0.27460651 CR=33.8451579 F=R380 N007 G3 C=3.30925883 V=0.59079732 CR=40.41994819 F=R380 N008 G2 C=13.04532732 V=3.26488826 CR=247.19478315 F=R380 N009 G2 C=8.80678814 V=1.68039389 CR=165.96347604 F=R380 . . . . . Attachmenttest.zip (238 Downloads) |
Follow us on