Results 1 to 3 of 3

Thread: Rotary G-Code check..!

  1. #1
    Registered
    Join Date
    Apr 2008
    Location
    united kingdom
    Posts
    116
    Downloads
    0
    Uploads
    0

    Rotary G-Code check..!

    Hi All.
    This is one of my first attempts at NC from scratch...

    I have used Edgecam for a lot of my 3 axis very successfully
    but a reliable 4th axis post still alludes me so.....

    I need to machine this (see attached screenshots)

    I have written the NC code for HURCO's BASIC NC (as I dont have ISNC option available to me)
    (see attached txt file)

    It cuts the part in increments of 1mm cuts (with the tool Z zero being at A axis center zero.)

    NOTE: My A axis is mounted on the LEFT of my machine table for this particular part...

    PLEASE could someone look at the code and give me some guidence and help regarding where I have gone wrong and possibly where and how I could improve it and maybe shorten it??

    Many thanks for any help you can give me people. :-) :-)
    Attached Thumbnails Attached Thumbnails Rotary G-Code check..!-beyonet.jpg   Rotary G-Code check..!-bayonet_2.jpg  
    Attached Files Attached Files


  2. #2
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,504
    Downloads
    0
    Uploads
    0
    You could shorten the program by using a main/sub program. I'm not a Hurco programmer so don't assume this is "gospel".

    MAIN PROGRAM:

    N10G90 G40
    N20T1
    N30S1200 M3
    N40G0 X10.0 Y0.0 A0.0 M8
    N50Z38.0
    N60M98 P190050 (CALL SUB 50 19 TIMES)
    N70G0 Z38.0
    N80M05
    N90M25
    N100M02

    SUBPROGRAM:

    N10G91
    N20G0 Z-1.0 (INCREMENT Z-1MM)
    N30G90
    N40G1 X-34 F250
    N50A-90.0 Y-4.0
    N60X-18.0
    N70G3 X-18.0 Y4.0 I-18.0 J0.0
    N80G1 X-39.0
    N90G3 X-44.0 Y0.0 I-39.0 J0.0
    N100G1 A0.0
    N110G3 X-39.0 Y-4.0 I-39.0 J 0.0
    N120G1 X10.0
    N130G0 Y4.0
    N140M99


  3. #3
    Registered
    Join Date
    Apr 2008
    Location
    united kingdom
    Posts
    116
    Downloads
    0
    Uploads
    0
    Cheers dcoupar, not totally sure how that works on hurco's basic nc but will try. Thanks.

    ALSO I cant seem to get the A and Y to move together, keeps saying 'syntax error in wrong mode'
    any ideas people??

    N10G90 G40
    N20T3
    N30S850 M3
    N40G0 X10.0 Y0.0 A0.0 M8
    N50G0 Z38.0
    N60G1 Z37.0 F250
    N70G1 Y4.0
    N80G1 X-34.0
    N90G1 A-90.0 Y-4.0 F250


Similar Threads

  1. EMC2 G-Code Rotary Radius Offset
    By metaprax in forum General CNC (Mill and Lathe) Control Software (NC)
    Replies: 0
    Last Post: 09-17-2009, 05:27 PM
  2. code rotary manually
    By daisydog in forum Mastercam
    Replies: 3
    Last Post: 01-19-2008, 03:20 PM
  3. rotary code at tool change
    By brandou10l in forum Post Processors for MC
    Replies: 2
    Last Post: 01-05-2008, 07:33 AM
  4. Replies: 3
    Last Post: 01-19-2007, 08:59 AM
  5. Undercut Check not perform in g-code
    By Wiseco in forum FeatureCAM CAD/CAM
    Replies: 5
    Last Post: 11-22-2005, 05:32 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.