Thread cutting problem G76
- Sergiy_J_S_Automatic
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
28 Mar 2024 19:08 - 28 Mar 2024 19:11 #297022
by Sergiy_J_S_Automatic
Thread cutting problem G76 was created by Sergiy_J_S_Automatic
Hi all. There is a problem with cutting threads on a lathe.
I'm writing code
G0 X32 Z2
G76 P4 Z-10 I-0.2 J0.01 K4
G0X50
G0Z100
M5
M30
The cutter moves by a certain amount each pass.
the result can be seen in the photo.
I have an encoder with 3600 pulses, installed through a pulley, so the setting is 3552 pulses per spindle revolution.
I'm writing code
G0 X32 Z2
G76 P4 Z-10 I-0.2 J0.01 K4
G0X50
G0Z100
M5
M30
The cutter moves by a certain amount each pass.
the result can be seen in the photo.
I have an encoder with 3600 pulses, installed through a pulley, so the setting is 3552 pulses per spindle revolution.
Last edit: 28 Mar 2024 19:11 by Sergiy_J_S_Automatic.
Please Log in or Create an account to join the conversation.
28 Mar 2024 19:16 #297025
by andypugh
Replied by andypugh on topic Thread cutting problem G76
You need the encoder index to be exactly once per spindle rotation.
Either make the pulley ratio exactly 1:1 or set up a separate index sensor on the spindle.
Either make the pulley ratio exactly 1:1 or set up a separate index sensor on the spindle.
The following user(s) said Thank You: Sergiy_J_S_Automatic
Please Log in or Create an account to join the conversation.
- Sergiy_J_S_Automatic
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
28 Mar 2024 19:24 #297026
by Sergiy_J_S_Automatic
Replied by Sergiy_J_S_Automatic on topic Thread cutting problem G76
But we see that for one revolution we have the value 1 in the parameter: hm2_7i95.0.encoder.00.position
Please Log in or Create an account to join the conversation.
- Sergiy_J_S_Automatic
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
28 Mar 2024 19:52 #297029
by Sergiy_J_S_Automatic
Replied by Sergiy_J_S_Automatic on topic Thread cutting problem G76
Your post led me to this diagram.
Is this what you meant?
I will put a separate sensor on the spindle shaft and connect it instead of the Z mark to the input of the control board.
To do this I will need to convert the encoder operation to single ended mode operation?
Is this what you meant?
I will put a separate sensor on the spindle shaft and connect it instead of the Z mark to the input of the control board.
To do this I will need to convert the encoder operation to single ended mode operation?
Please Log in or Create an account to join the conversation.
29 Mar 2024 11:10 #297091
by andypugh
Replied by andypugh on topic Thread cutting problem G76
I think you can wire a single channel into the differential inputs even in differential mode. Check with Mesa?
There are also differential transciever ICs, but that might be more trouble than necessary.
There are also differential transciever ICs, but that might be more trouble than necessary.
Please Log in or Create an account to join the conversation.
- Sergiy_J_S_Automatic
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 1
29 Mar 2024 19:00 #297133
by Sergiy_J_S_Automatic
Replied by Sergiy_J_S_Automatic on topic Thread cutting problem G76
Hello. I succeeded after installing a separate sensor instead of the encoder mark.
I used the diagram that I showed in my previous post.
Installed the sensor SS441A.
I used the diagram that I showed in my previous post.
Installed the sensor SS441A.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.086 seconds