Results 1 to 4 of 4

Thread: Sub programming

  1. #1
    Registered
    Join Date
    Jul 2003
    Location
    Clearwater FL
    Posts
    5
    Downloads
    0
    Uploads
    0

    Sub programming

    Macro or sub programming on a older fanuc wire. You know those older wires that don't have much memmory. Anyone have an exsample of a sub that I can use?

    Basic application is cutting a gear. I would like to create 1 tooth, and then run the sub to create the rest of them!

    Any help would be great. I am looking for exsamples.


    Thanks!


  2. #2
    Registered
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    214
    Downloads
    0
    Uploads
    0
    Would'nt you have to keep rotating the material as the subroutine would only cut the tooth in the original position? How limited is your control's memory?

    I have a control,(cnc mill) which has a rotate command(G68 x0 y0 90) Does your fanuc control have such a command? If so maybe this is posible.


  3. #3
    Registered
    Join Date
    Jul 2003
    Location
    Clearwater FL
    Posts
    5
    Downloads
    0
    Uploads
    0
    Would the G68 rotate the work corrodinate? How does this command work?

    Also I think I need to use L commands to make the start and the end of the sub, wouldn't that be right?

    Thanks for the help


  4. #4
    Registered
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    214
    Downloads
    0
    Uploads
    0
    As my control works which is a Milltronics Centurion VI , The above code uses the x,y coordinate as the center of rotation and the 90 was the degree of rotation of the work coordinate. The L command would let you define the # of repeats of the subroutine, therefore the rotation command would need to be in the subroutine. Then G69 shuts off the rotation.

    I had a Fanuc 6M control, but I don't remember finding a rotation command. Maybe your control is newer and this option exists. I would call fanuc and see if this is an option on your control and if it will cost you to turn it on. More than likely it will be a different G code.


Similar Threads

  1. Programming PLC on Fanuc 0M
    By MetLHead in forum Machine Problems, Solutions , Wireless DNC, serial port
    Replies: 19
    Last Post: 06-27-2011, 07:47 PM
  2. Mazak C axis programming
    By dpinson in forum General Metal Working Machines
    Replies: 1
    Last Post: 07-02-2005, 04:06 PM
  3. API Programming Anyone
    By Al_The_Man in forum Computers and Networking
    Replies: 3
    Last Post: 02-14-2005, 09:31 PM
  4. Learning Programming
    By Gujustud in forum G-Code Programing
    Replies: 15
    Last Post: 01-17-2005, 05:17 PM
  5. Conversational CNC Programming
    By BlueChip in forum Product and Manufacturer Announcements
    Replies: 0
    Last Post: 07-24-2004, 02:37 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.