586,589 active members*
2,424 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1

    Need programming help

    I am having trouble programming a job that has 16 raised squares. So I need to mill around each square. I thought through G code, I could center over the first one, then call out G92 X0Y0 Then program the actual dimensions from the center. Then move over the appropriate and G92 that location and start again. problem is, the tool offset does not seem to agree with the G92. Here is the program. just copied the first row so that you can see what is going on. Any advice would be appreciated.

    Thanks Mike

    (20687 HOT KNIFE CHUCK)
    (PROG.1)
    (05-08-15 M.R.E.)
    N100G90G80G40G0
    T1M6(.125DIA END MILL)
    G54X1.1196Y-1.1196S4500M3
    M8
    G43Z.1H1
    G92X0Y0
    X-.2Y.5
    G1Z-.03F5.
    G41Y.1422D1
    X.13
    G2X.1422Y.13R.0122
    G1Y-.13
    G2X.13Y-.1422R.0122
    G1X-.13
    G2X-.1422Y-.13R.0122
    G1Y.13
    G2X-.13Y.1422R.0122
    G1X.15
    G40Y.21
    G90G0Z.1
    X.4203Y0
    G92X0Y0
    X0Y.21
    G1Z-.03F5.
    G41X.1Y.1422
    X.13
    G2X.1422Y.13R.0122
    G1Y-.13
    G2X.13Y-.1422R.0122
    G1X-.13
    G2X-.1422Y-.13R.0122
    G1Y.13
    G2X-.13Y.1422R.0122
    G1X.15
    G40Y.21
    G90G0Z.1
    X.4203Y0
    G92X0Y0
    X0Y.21
    G1Z-.03F5.
    G41X.1Y.1422
    X.13
    G2X.1422Y.13R.0122
    G1Y-.13
    G2X.13Y-.1422R.0122
    G1X-.13
    G2X-.1422Y-.13R.0122
    G1Y.13
    G2X-.13Y.1422R.0122
    G1X.15
    G40Y.21
    G90G0Z.1
    X.4203Y0
    G92X0Y0
    X0Y.21
    G1Z-.03F5.
    G41X.1Y.1422
    X.13
    G2X.1422Y.13R.0122
    G1Y-.13
    G2X.13Y-.1422R.0122
    G1X-.13
    G2X-.1422Y-.13R.0122
    G1Y.13
    G2X-.13Y.1422R.0122
    G1X.15
    G40Y.21
    G90G0Z.1

  2. #2
    Join Date
    Sep 2012
    Posts
    4
    QUOTEmaybe this could help
    http://www.smithy.com/cnc-reference-info/coordinate-system/g92-offsets/page/4
    Seems the active work offset g54 maybe affecting the g92 command. Would it not be easier to program you profile in incremental g91 and use multiple work offsets / offset shift?
    Hope this helps

  3. #3
    Join Date
    Feb 2015
    Posts
    6

    Re: Need programming help

    You might need to state the z value on the g92 line also.
    What control?

  4. #4
    Join Date
    Jun 2014
    Posts
    1780

    Re: Need programming help

    I drew up some .125 squares, .0625 above the substrate, camed it up in sprutcam, using a .100 endmill, flatland finishing op, it simulates OK.Attachment 279724Attachment 279726

    the pics are the squares and part of the code from the post processor.

    Flatland finishing is what I used here.

    Hand coding I cant help with as I havent learned how to do it other than some simple MDI commands.
    mike sr

  5. #5
    Join Date
    Mar 2009
    Posts
    1863

    Re: Need programming help

    How far apart are the bosses? I would probably program that part as a pocket with 16 islands (bosses) and use the biggest cutter that would fit, then I wouldn't have to be concerned with a move and a G92.

    If you'd like, you could send me a cad file of your drawing in a parasolid .x_t file and I could whip something up pretty quick.

    Sent the file to [email protected].

    That part should only take 15 to 20 minutes to produce a Gcode file.
    You can buy GOOD PARTS or you can buy CHEAP PARTS, but you can't buy GOOD CHEAP PARTS.

  6. #6

    Re: Need programming help

    Thanks Steve. I sent you the file.
    Mike

  7. #7
    Join Date
    Mar 2009
    Posts
    1863

    Re: Need programming help

    Quote Originally Posted by michaeleverson View Post
    Thanks Steve. I sent you the file.
    Mike
    Good Morning Mike, check your email. I posted the program the way I would run it. It's programmed to run on a Fanuc 6 control. Run time is aproximately 13 minutes, but my cam software take into consideration rapid moves ot tool change times.

    I don't have the ATC on my machine. If you have one on your machine you might want to edit what I sent you to accommodate the ATC.

    You can reach me at 714-420-2453. If I don't answer, leave a message and I'll call you mack
    You can buy GOOD PARTS or you can buy CHEAP PARTS, but you can't buy GOOD CHEAP PARTS.

Similar Threads

  1. Xilog 3 Parametric Programming Offline Programming
    By julioykaly in forum Commercial CNC Wood Routers
    Replies: 1
    Last Post: 04-27-2013, 09:22 PM
  2. Programming
    By mschmitz88 in forum Fanuc
    Replies: 1
    Last Post: 03-06-2012, 10:46 AM
  3. cnc programming
    By ADELWEIS in forum Employment Opportunity
    Replies: 0
    Last Post: 09-04-2009, 03:08 PM
  4. programming
    By bravo1188 in forum Mastercam
    Replies: 6
    Last Post: 04-22-2009, 02:54 PM
  5. g&l programming
    By abigg in forum Uncategorised CAM Discussion
    Replies: 3
    Last Post: 10-01-2007, 08:46 PM

Tags for this Thread

Posting Permissions

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