Results 1 to 9 of 9

Thread: I broke G47 engraving.

  1. #1
    Registered TXFred's Avatar
    Join Date
    Aug 2009
    Location
    Austin, TX
    Posts
    959
    Downloads
    0
    Uploads
    0

    I broke G47 engraving.

    I've got an existing program to engrave VIN plates for trailers. In the past, they VIN was left blank, and it was stamped on the plate later. I'm altering the program to use G47 to put the VIN on when the plate is made.

    To teach myself G47, I wrote a simple program yesterday. It worked.

    Today, the same program does not work. When it gets to the first circular move, part of the R in FRED, I get an error. "Invalid R in G02 or G03."

    The error is happening in the engraving subprogram, not in my program. See the picture for a screenshot of the console when it hits the fault.

    This machine hasn't been used for anything else since I succcessfully ran this code yesterday. It gets shut down at night, so perhaps a setting was lost.

    I'm baffled.

    Sincerely,
    Frederic

    %
    O90002
    (G47 ENGRAVING PROGRAM)
    G90 G54
    M06 T1
    M03 S7500
    G90 G0 X0. Y0.
    G43 H1 Z.1 M8
    G47 P0 X2.0 Y2.0 I0 J1.0 R.05 Z-.5 E10. F10.0 (FRED)
    G00 Z1. M09
    M05
    G90
    G53 Z0.
    M30
    %
    Attached Thumbnails Attached Thumbnails I broke G47 engraving.-img_20110201_085356.jpg  
    [URL="http://www.pure-geometry.com/"]Pure Geometry LLC[/URL]
    Vertical Lathe tool holders and more.


  2. #2
    Registered WallyL7's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    631
    Downloads
    0
    Uploads
    0
    That is odd, Fred. I just ran your program on my mill. Worked fine.
    Tim


  3. #3
    Registered WallyL7's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    631
    Downloads
    0
    Uploads
    0
    I looked at the codes on my mill at the time it does the G2 and mine doesn't have a G47 listed as an active code...every other code is the same on mine though..?

    In fact, the G47 in never listed on the current commands page, probably because it is a macro style code that is basically calling up a program. I wonder why yours has it listed.
    Tim


  4. #4
    Registered TXFred's Avatar
    Join Date
    Aug 2009
    Location
    Austin, TX
    Posts
    959
    Downloads
    0
    Uploads
    0
    Solved!

    I had to turn Setting 29, "G91 non-modal" to Off. Now it works.

    Wally, if you turn Setting 74 and 75 on, you can watch the code execute and single block through it.

    Thanks for taking the time to run the code. It helped to know that it was not a programming issue.

    Frederic
    [URL="http://www.pure-geometry.com/"]Pure Geometry LLC[/URL]
    Vertical Lathe tool holders and more.


  • #5
    Registered WallyL7's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    631
    Downloads
    0
    Uploads
    0
    LOL

    You must not have the manual...? Or were just 'wingin' it cause here is the first line out of the manual regarding G47

    ---------------------------

    "In order to use G47, the program must be using G90(absolute) mode, and setting 29(G91 non-modal) must be OFF."


    -------------------------

    I've never had setting 29 turned on in my life. Any reason you leave it on?(I would assume it is available for a reason...)
    Tim


  • #6
    Registered TXFred's Avatar
    Join Date
    Aug 2009
    Location
    Austin, TX
    Posts
    959
    Downloads
    0
    Uploads
    0
    That's the strange thing. I had read that in the manual, and yesterday I checked the setting before my successful tests. I'm not sure how it got switched on, unless I did it by accident yesterday.

    I blame the Coolant Gremlins. They live in the bottom of your coolant tank and at night while you are sleeping, they climb out, hide your tools, change your settings, and break the corners off of your end mills. Those little vermin have struck again!

    Frederic
    Last edited by TXFred; 02-01-2011 at 03:18 PM.
    [URL="http://www.pure-geometry.com/"]Pure Geometry LLC[/URL]
    Vertical Lathe tool holders and more.


  • #7
    Registered WallyL7's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    631
    Downloads
    0
    Uploads
    0
    Nice!

    Well, glad you got er figured out!
    Tim


  • #8
    Registered machinistDroid's Avatar
    Join Date
    Jun 2010
    Location
    USA
    Posts
    4
    Downloads
    0
    Uploads
    0
    ensure that it is interpolating in the right plane. G18 is XY if i remember correctly.


  • #9
    Registered WallyL7's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    631
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by machinistDroid View Post
    ensure that it is interpolating in the right plane. G18 is XY if i remember correctly.

    G18 is XZ -

    You can see in his picture that he is indeed in G17 (XY)
    Tim


  • Similar Threads

    1. Had it one day and already broke it
      By ftech in forum Dolphin CADCAM
      Replies: 3
      Last Post: 01-28-2011, 12:30 PM
    2. HELP! machine broke!
      By nateman_doo in forum Benchtop Machines
      Replies: 53
      Last Post: 07-17-2010, 05:40 AM
    3. Something broke in V2.04
      By duenow in forum NCPlot G-Code editor / backplotter
      Replies: 16
      Last Post: 03-26-2008, 08:16 PM
    4. Don't know what I broke on IH CNC
      By Shepard in forum Industrial Hobbies (Support forum)
      Replies: 3
      Last Post: 09-27-2007, 01:15 PM
    5. she,s a broke eh
      By corrie in forum Machine Problems, Solutions , Wireless DNC, serial port
      Replies: 3
      Last Post: 09-12-2007, 06:08 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.