Hello Guest it is April 28, 2024, 07:03:30 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Craig1

Pages: « 1 2
11
General Mach Discussion / Opinions on first project
« on: April 29, 2011, 08:49:07 AM »
I am trying to create my first CBC project. I have drawn a horizontal clamp for face milling. Is this too ambitious? See the photos below. Any other suggestions are appreciated.

12
I have been trying to get this bit of code to work. When it is run the mill moves to xy 00 adjusts the z then stops. No more movement x y travel/step over ect.

I obtained the code from the share your code section. "multi pass facing" by ya-nvr-no.

I have asked the creator a few questions which he replied. I am very new at this. My questions are: Is there configs that need to be set/check to run this type of code? Am i not filling in all the required numbers i should in put? I have put ***** the numbers i have put in and question marks where i beleive a value should be in put.

I beleived it would be load the program cycle start and and admire someone elses handy work. Silly me >:(.

Thanks in advance
Craig

    (CUTS Top Face of stock)
    (STARTED AT Z0 TOP OF rough PART)

    M03 (start spindle)
    G1G90X0Y0Z0.25F60. (Go to lower left corner of stock)
    Z0 ( Feed to face of rough stock)

    (load variables)
    #1000=[2](Length in X in this case inches) *******
    #1001=[2] (Width in Y) *******
    #1002=[-0.1] (depth each of cut pass)

    #1004=0 i beleive this should be value i in put ??????
    #1005=0.2 (offset cut distance smaller than .75 cutter diameter)
    #1006=[#1005*2] (Compute step over)
    #1007=[#1001/#1006] (Compute passes)

    M98 P5 L8 (call subroutine CUT DOWN IN Z in this case 0.1 * 8 = .8")
    M05 (stop spindle)
    G0G90Z.25 (move back up)
    X0Y0 (go home)
    M30 (All done)

    O5
    M98 P10 L1 (call sub to feed down)
    M98 P20 L1 (call sub to face part)
    G0G90Z0 (Move out of the way)
    X0Y0 (Go Home)
    M99

    O10
    #1004=[#1004+#1002] (Calculate New cut depth)
    G1Z[#1004] (MOVE TO CUT DEPTH)
    M99

    O20
    M98 P30 L[#1007] (call sub to cut reps ACROSS)
    M99

    O30
    (THIS IS THE SUB TO CUT FACE)
    G1 G91Y[#1005] (Increment over in Y)
    G90X[#1000]F80. (Cut across part)
    G91Y[#1005] (again increment over)
    G90X0 (Cut back across part)
    M99

Pages: « 1 2