G95 spindle speed problem on a 2006 GR 510. Trying to do something weird.
Close
Login to Your Account
Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2019
    Country
    UNITED STATES
    State/Province
    Alabama
    Posts
    5
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    0

    Default G95 spindle speed problem on a 2006 GR 510. Trying to do something weird.

    I'm trying to use G95 Feed Per Rev to keep the spindle aligned with the center of a 30" diameter arc.

    Code:
    N140 G0 G90 G54 X75. Y28.
    N150 G43 H1 Z7.
    M19 R90.0
    N160 Z5.
    N170 G3 X60. Y43. I-15. J0. S1 M3 G95 F94.2478
    N180 X45. Y28. I0. J-15.
    N190 X60. Y13. I15. J0.
    N200 X75. Y28. I0. J15.
    N210 G0 Z7.
    The machine alarms out with 186 Spindle Not Turning at anything below S10.

    S10 alarms out with something like Max Feedrate Exceeded as the actual feed would be 942ipm at that speed.

    Sometimes the spindle starts turning slowly, other times it just sits there as it feeds through the first arc section. In MDI with M3 S1 it will turn at 2rpm per the screen.

    Is the Vector drive not capable of this?

  2. #2
    Join Date
    Jun 2019
    Country
    UNITED STATES
    State/Province
    Maryland
    Posts
    250
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    37

    Default

    you're feed rate is to high . your telling it to go 94. inches in 1 rev.

  3. #3
    Join Date
    Jan 2015
    Country
    UNITED STATES
    State/Province
    California
    Posts
    710
    Post Thanks / Like
    Likes (Given)
    105
    Likes (Received)
    365

    Default

    No, not capable on Haas to use mill spindle as "c-axis"

    G95 wont sync the spindle to movement like a rigid tap cycle

    It might be possible to "simulate" that with a nice macro and really small moves, however I think you'll run the risk of the spindle eventually turning the long way around to next increment. It wont necessarily continue to orient the same way. (and sometimes spinning multiple times) Plus you can only increment by .1°

    Trying to use a drag knife or something?

    G00 G90 X0 Y0
    (spindle offset) #1= 0
    M19 R#1
    #2= 15. (radius)
    #3=0 (angle)
    G00 X#2
    WHILE [ #3 LE 360. ] DO1
    G01 X [ #2 * COS[ #1+#3 ] ] Y [ #2 * SIN[ #1+#3 ] ] F10. M19 R[#1+#3]
    #3= #3 + 0.1
    END1

  4. Likes Brent Burns liked this post
  5. #4
    Join Date
    Jan 2015
    Country
    UNITED STATES
    State/Province
    California
    Posts
    710
    Post Thanks / Like
    Likes (Given)
    105
    Likes (Received)
    365

    Default

    Actually I guess you can do 2 decimals with M19 R

  6. #5
    Join Date
    Apr 2019
    Country
    UNITED STATES
    State/Province
    Alabama
    Posts
    5
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    0

    Default

    Quote Originally Posted by thesidetalker View Post
    It might be possible to "simulate" that with a nice macro and really small moves, however I think you'll run the risk of the spindle eventually turning the long way around to next increment. It wont necessarily continue to orient the same way. (and sometimes spinning multiple times) Plus you can only increment by .1°
    If I have time today, I'm going to at least test a bunch of small degree changes with M19 and see how it acts.

    Your code is elegant. Really hope I get to play with it today. My macro-fu is rusty but I think your example is complete.

    Quote Originally Posted by thesidetalker View Post
    Trying to use a drag knife or something?
    Yup. A multi bladed knife to produce parallel grooves for a sealing surface.

    If this doesn't work, we'll likely end up building some sort of fixturing similar to a co-ax indicator to do this op.

    Thank you very much!

  7. #6
    Join Date
    Apr 2019
    Country
    UNITED STATES
    State/Province
    Alabama
    Posts
    5
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    0

    Default

    So I played with M19 with R values in 1deg increments as well as a full circle at 45deg increments. Also confirmed that it would feed directly after M19 without the spindle being on. Spindle was locked at the orientation degree it was given. Spindle orients in the same direction each time. Didn't think to try negative values for R to see if it would reverse.

    This is progress.

    Will update when I'm able to work with it more.

  8. #7
    Join Date
    Apr 2019
    Country
    UNITED STATES
    State/Province
    Alabama
    Posts
    5
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    0

    Lightbulb

    Code:
    %
    O00775 
    G103 P1 
    (M19 TEST) 
    (CODE FROM PRACTICAL MACHINIST) 
    G20 
    G00 G17 G40 G49 G80 G90 
    T9 M06 
    G187 P2 
    G00 G90 G54 X90. Y28. 
    G43 H09 Z7. 
    (SPINDLE OFFSET) #1= 0 
    M19 R#1 
    Z5. 
    #2= 15. (RADIUS) 
    #3= 0 (ANGLE) 
    (G00 X#2) 
    WHILE [ #3 LE 360. ] DO1 
    G01 X [ 75. + [ #2 * COS[ #1 + #3 ] ] ] Y [ 28. - [ #2 * SIN[ #1 + #3 ] ] ] F100. 
    G01 Z5.1 
    M19 R [ #1 + #3 ] 
    G01 Z5. 
    #3= #3 + 5.0 
    END1 
    G00 Z7. 
    M05 
    G91 G28 Z0. 
    G28 X0. Y0. 
    M30 
    %
    With a few modifications, I got sidestalker's code running.

    As predicted, the spindle started doing full orients. This occurred around 330deg. To account for this; I have it raising up .100 after the X/Y move, doing the orient, and then back down.

    G103 P1 was used to make the macro page make sense.

    Incremented the angle by 5deg for speed while testing.

    Flipped the sign on the Y move to make it move in a clockwise direction. The spindle didn't like negative angle moves and this keeps the spindle aligned with the arc.

    I'm confident enough in this to build a knife and test further.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •