Cancel
Showing results for 
Search instead for 
Did you mean: 

Helix - number of turns in nc code - sinumerik, mazak

Gears Phenom Gears Phenom
Gears Phenom

Hello,

 

when I output one turn of helix

( exactly 360 degrees)

( XY coordinates are the same, bellow start point.)

hel.jpg

TURN number is 1 but machine does 2 turns.

In calculation there is floor number,in this case floor of 1 is 1.

 

When there is more or less degrees of helix then it works.

 

 I suppose in case of 2 turns, 720degrees, there will by TURN number 2 and machine will do 3 turns etc.

 

(I suppose that in mazak P number has the same behaviour on machine.)

 

What do you suggest for fixing this issue?

 

Thanks guys

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #
3 REPLIES

Re: Helix - number of turns in nc code - sinumerik, mazak

Legend
Legend
Hello,

Which Controller you have?

How is your NC-Code?

Re: Helix - number of turns in nc code - sinumerik, mazak

Legend
Legend
I made an look in my posts and for the case that the helix pitch is equal to Delta(Z) divide by number of turns, I reduce number_of_turn by 1

set diff [expr abs($mom_pos(2)-$mom_prev_pos(2))]
if {[EQ_is_equal $diff [expr abs($mom_helix_pitch * $mom_helix_turn_number)]} {
set mom_helix_turn_number [expr $mom_helix_turn_number - 1]
}

Re: Helix - number of turns in nc code - sinumerik, mazak

Gears Phenom Gears Phenom
Gears Phenom

hi,

thank you for answer,

I was thinking about exactly the same solution but I wasnt sure if there is some any other solution or logic in helix.

 

sinumerik, example nc code you want to see:

G3 X-22.5 Y0. Z130. I-2.5 J0. TURN=45.  

 

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Learn online





Solution Information