584,841 active members*
4,388 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Haas Machines > Haas Lathes > C axis "H" rotation incorrect
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Posts
    38

    C axis "H" rotation incorrect

    Hello all,

    I'm looping a program with Macro to machine a bunch of OD splines on a HAAS SL-40 using the C-Axis using "While/DO/END". I'm using "H" incremental rotations.

    Problem: Macro Variable is being correctly calculated to the 22.5 degrees I need to rotate, however the machine itself is actually rotating 225.0 degrees!

    If I change the Variable to 2.25 degrees, the machine rotates 22.5 degrees.

    This leads me to believe this is a setting/parameter issue that put incremental rotation out one decimal point? Does anybody have any light to shed on this?

  2. #2
    Join Date
    Feb 2011
    Posts
    353

    Re: C axis "H" rotation incorrect

    can you post the WHILE/DO part of the program

  3. #3
    Join Date
    Mar 2009
    Posts
    38
    Quote Originally Posted by rcs60 View Post
    can you post the WHILE/DO part of the program
    It's not exact, as I'm not at work, but code looks something like this:

    G103 P1
    ;
    ;
    ;
    ;
    ;
    #511=16 (number of splines)
    #512=0
    #513=[360/#511]
    ;
    (Tool call etc)
    G28 H0.
    G00 Zxxxx
    Xxxx
    C0.
    M08
    While#512LT#511DO1
    G01 G98 Xxxxx F25.
    Z-xxxx
    G00 Xxxxx
    Zxxxx
    G00 H[#513]
    #512=[#512+1.0]
    End1
    G103
    M09
    ( Ends and goes home )

  4. #4
    Join Date
    Feb 2011
    Posts
    353

    Re: C axis "H" rotation incorrect

    I would take a close look at #511 and make sure that it is 16 and not 1.6 as the example posted is not the original
    If #511 was 1.60 then it would rotate 225.00 degrees
    If #511 is 16.0 then it would be 22.50 degrees
    the example you posted looks good for what you are trying to do

  5. #5
    Join Date
    Mar 2009
    Posts
    38

    Re: C axis "H" rotation incorrect

    The Macro Variables are properly calculated via the Control screen. Unless I'm losing it (which is entirely possible), I triple checked it and it reads 22.5.

    This machine didn't even have the C-Axis enabled to use canned cycles, which forces the Main spindle to rotate at the same RPM as the live tool as soon as it hits the canned cycle :wee:
    This was fixed by changing Parameter 315 from 0 to 1.
    .
    The only other thing I can think of is somehow, because I'm not using decimal points, the calculation is correct but somehow it's transposing something when the actual movement is executed

    I will find out more and post any findings as it could possibly help someone else that runs into this.

    Thank you for the responses.

Similar Threads

  1. Heidenhain TNC 310 "Ref mark X: incorrect spacing"
    By robert_nguyen in forum Uncategorised MetalWorking Machines
    Replies: 5
    Last Post: 06-24-2013, 01:39 PM
  2. X Axis "Goes Off Pattern", "Awry", "Skewed", "Travels"
    By DaDaDaddio in forum Laser Engraving / Cutting Machine General Topics
    Replies: 1
    Last Post: 05-06-2013, 09:59 AM
  3. Replies: 0
    Last Post: 11-23-2009, 11:45 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
  •