3 axis compensation with macro programing?


Results 1 to 6 of 6

Thread: 3 axis compensation with macro programing?

  1. #1
    Alir3za's Avatar
    Join Date
    Oct 2020
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default 3 axis compensation with macro programing?

    Hey guys.
    I need to know is it possible to use cutter comp in 3-axis Spiral milling in a circular pocket?



  2. #2
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    4552
    Downloads
    0
    Uploads
    0

    Default Re: 3 axis compensation with macro programing?

    It should work by using cutter comp. But I normally measure the endmill, plug that value into the CAM program, and compile the G code with the correct endmill size. Optionally make a test cut, and adjust the comp in the CAM program.

    Jim Dawson
    Sandy, Oregon, USA


  3. #3
    Alir3za's Avatar
    Join Date
    Oct 2020
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: 3 axis compensation with macro programing?

    Quote Originally Posted by Jim Dawson View Post
    It should work by using cutter comp. But I normally measure the endmill, plug that value into the CAM program, and compile the G code with the correct endmill size. Optionally make a test cut, and adjust the comp in the CAM program.
    For some reason I wanna use macro programing for simple parts instead of CAM programs, for example I have a circular blank part that I wanna create a 20mm diameter hole inside of it with a 12 diameter endmill tool.
    Can you give me a macro program example for helical milling with compensation tool and 2mm pitch ?
    The height of hole is 15mm.



  4. #4
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    4552
    Downloads
    0
    Uploads
    0

    Default Re: 3 axis compensation with macro programing?

    Sorry, I have no idea. I can't help with that.

    Jim Dawson
    Sandy, Oregon, USA


  5. #5
    Member machinehop5's Avatar
    Join Date
    Aug 2009
    Location
    United States
    Posts
    772
    Downloads
    2
    Uploads
    0

    Default CRC Helix

    Quote Originally Posted by Alir3za View Post
    I wanna create a 20mm diameter hole inside of it with a 12 diameter endmill tool.
    .
    ...depends on the CNC control...and the programmer:



  6. #6
    Member lucaswalker's Avatar
    Join Date
    Sep 2018
    Posts
    19
    Downloads
    0
    Uploads
    0

    Default Re: 3 axis compensation with macro programing?

    Quote Originally Posted by Alir3za View Post
    For some reason I wanna use macro programing for simple parts instead of CAM programs, for example I have a circular blank part that I wanna create a 20mm diameter hole inside of it with a 12 diameter endmill tool.
    Can you give me a macro program example for helical milling with compensation tool and 2mm pitch ?
    The height of hole is 15mm.
    With B macro language:

    N1 #100=20 (HOLE DIAMETER)
    N2 #110=-15 (HOLE DEPTH)
    N3 #120=12 (TOOL DIAMETER)
    N4 #130=3.5 (Z APPROACH)
    N5 #140=-2 (Z PASS DEPTH)
    N6 #150=50 (FEED RATE)
    N7 #160=#130 (CURRENT PASS DEPTH)
    N8 G0 Z#130
    N9 G91
    N10 G0 X[#100/2-#120/2]
    N11 #160=#160+#140
    N12 #200=#140
    N13 IF [#160LT#110] THEN #200=#200-#160+#110
    N14 G2 Z[#200] I[#120/2-#100/2] F#150
    N15 IF [#160GT#110] GOTO11
    N16 G2 I[#120/2-#100/2]
    N17 G1 X[#120/2-#100/2]
    N18 G90
    N19 G0 Z#130

    Last edited by lucaswalker; 10-29-2020 at 03:38 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

3 axis compensation with macro programing?

3 axis compensation with macro programing?

3 axis compensation with macro programing?