Newbie G code for rotary indexer


Results 1 to 2 of 2

Thread: G code for rotary indexer

  1. #1
    Registered
    Join Date
    Jan 2016
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default 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

    Similar Threads:


  2. #2
    Member
    Join Date
    Feb 2011
    Location
    usa
    Posts
    353
    Downloads
    2
    Uploads
    0

    Default 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



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

G code for rotary indexer

G code for rotary indexer