584,862 active members*
5,114 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2016
    Posts
    7

    G code for rotary indexer

    hello all,

    I have only used 3 axis programming in the past. Currently there is a job which requires 4th axis rotary - hardware works fine, been sitting in this shop for some years.
    I know that for the first 3 positions the g-code would look like: A11.25, A22.5, A33.75 - however there should be a macro to figure out all 30 something positions.
    Any help would be much appreciated! p.s. Fadal VMC

  2. #2
    Join Date
    Feb 2011
    Posts
    353

    Re: G code for rotary indexer

    you could use macros to do this

    #100=0
    #101=[360/32](11.25 degrees)

    A#100
    #100=#100+#101(AFTER EACH CALL TO INDEX POINT WITH #100)

    If you are trying to do some machining at each location (IE. drill) try this


    #100=0
    #101=360/32(equally rotations)

    WHILE[#100LT#101]DO1

    G0X0.Y0.A#100
    G0Z.100
    G81Z-.500R.1F15.
    G80
    #100=#100+#101

    END1

Similar Threads

  1. CNC Rotary Indexer/Table
    By desman in forum Commercial CNC Wood Routers
    Replies: 2
    Last Post: 08-11-2015, 03:32 PM
  2. haas rotary indexer
    By beno68 in forum Community Club House
    Replies: 0
    Last Post: 12-06-2013, 08:20 PM
  3. Rotary Indexer Help
    By GM81 in forum Fadal
    Replies: 3
    Last Post: 05-03-2011, 04:12 PM
  4. Rotary indexer
    By marbeau in forum French
    Replies: 0
    Last Post: 01-30-2011, 04:21 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
  •