why can not I cut the thread today?
- pkasy
-
Topic Author
- Offline
- Premium Member
-
- Posts: 96
- Thank you received: 5
I cut a thread for more than a year.
why today when threading with a pitch of 1.5 mm cut thread with a pitch of 2.5?
with a pitch of 1 mm - 1 mm, 0.6 - 0.6
but at pitch 1.5 and 1.49 is still 2.5?
I restarted the axis several times.
the effect does not change.
I put a debugging message - it shows the pitch correctly.
what's wrong again?
(DEBUG,#<P>)
G76 Z[-#<Len>+#<startZ>] P[#<P>] I[-#<I>] J[#<FC>] K[#7*2] H2 L[#<Taper>] E[#<TaperL>] R2
Please Log in or Create an account to join the conversation.
- pkasy
-
Topic Author
- Offline
- Premium Member
-
- Posts: 96
- Thank you received: 5
but depth and length are correct
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23323
- Thank you received: 4948
It isn't that you are using a different gear on the lathe, is it?
Please Log in or Create an account to join the conversation.
- pkasy
-
Topic Author
- Offline
- Premium Member
-
- Posts: 96
- Thank you received: 5
1:1 with inverter.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23323
- Thank you received: 4948
Please Log in or Create an account to join the conversation.
- pkasy
-
Topic Author
- Offline
- Premium Member
-
- Posts: 96
- Thank you received: 5
spindle-revs was 17.78, now 18.78
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23323
- Thank you received: 4948
And does moving the Z axis 10mm result in a 10mm movement?
Please Log in or Create an account to join the conversation.
- pkasy
-
Topic Author
- Offline
- Premium Member
-
- Posts: 96
- Thank you received: 5
depth and length are both correct.
pitch is not.
here is full sourse
file one:
N4 G18 G61
N6 M05
#<N1>=17.85 ( номинал )
#<N2>=1.5 ( шаг )
#<N7>=[0.61344*#<N2>] ( глубина резьбы )
#<N3>=5 ( начало резьбы )
#<N4>=16 ( длина резьбы )
#<N5>=1 ( заход и выход. L0 без, L1 заход, L2 выход, or L3 оба )
#<N6>=1.5 ( длина захода и выхода )
o<o_thread> call [#<N1>][#<N2>][#<N3>][#<N4>][#<N5>][#<N6>][#<N7>][1]
M2
file two:
o<o_thread> sub
G21 G61 G95 G18 G7 ( DIAMETER MODE )
#<M>=[#1] ( номинал )
#<P>=[#2] ( шаг GAS 5/8 )
#<startZ>=[#3] ( начало резьбы )
#<Len>=[#4] ( длина резьбы )
#<Taper>=[#5] ( заход и выход. L0 без, L1 заход, L2 выход, or L3 оба )
#<TaperL>=[#6] ( длина захода и выхода )
#<I>=0.5 ( отступ )
#<StartD>=[#<M>+1]
#<D>=[#<M>]
#<FC> = [#<P>*0.5]
o1001 IF [#<FC> GT 0.65]
#<FC>=0.65
o1001 ENDIF
M6 T2G43
M3 G96 S70 D500
(DEBUG,#<P>)
G0 X[#<StartD>] Z[#<startZ>]
G1 X[#<M>+#<I>] F100
G76 Z[-#<Len>+#<startZ>] P[#<P>] I[-#<I>] J[#<FC>] K[#7*2] H2 L[#<Taper>] E[#<TaperL>] R2
G0 X[#<StartD>] Z[#<startZ>]
o<clear> IF [#8 GT 0]
(или еще один проход для чистки резьбы после универсальной пластины)
G96 D2250 S250
G1 G95 X[#<D>]F0.025
Z[-#<Len>+#<startZ>]
X[#<StartD>]
G0 X[#<StartD>] Z[#<startZ>]
o<clear> ENDIF
M5
o<o_thread> endsub
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23323
- Thank you received: 4948
Adding (DEBUG, P = #<P>) to the code would make sure that the pitch is right at that point.
What happens if you cut a thread from MD using explicit numbers?
Perhaps the encoder counts double at higher speed, how much does motion.spindle.revs increase by if you run for 1 minute at 1000 rpm?
Please Log in or Create an account to join the conversation.
- pkasy
-
Topic Author
- Offline
- Premium Member
-
- Posts: 96
- Thank you received: 5
yes, i did it first. P is correct.Adding (DEBUG, P = #<P>) to the code would make sure that the pitch is right at that point.
about +1000.Perhaps the encoder counts double at higher speed, how much does motion.spindle.revs increase by if you run for 1 minute at 1000 rpm?
if you will give me a mdi command I will try it.What happens if you cut a thread from MD using explicit numbers?
Please Log in or Create an account to join the conversation.