Correct encoder count for lathe back tool
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2240
- Thank you received: 474
06 Nov 2020 17:42 - 07 Nov 2020 17:09 #188524
by Clive S
Correct encoder count for lathe back tool was created by Clive S
I am trying to sort out which way the encoder count should go + or - when using the spindle in reverse for threading i.e. the tool is at the back.The code is hanging waiting the the spindle true I think. I have tried it with M3 and M4 I am using a slotted 100 slot disk with A B Z
G0 G40 G18 G80 G21 G49 G95
G90 G7
F1.5 S470
M4
G4 P1
(Change the fist X to the Dia P = the Pitch K = Thread depth)
G0 X10 Z10
G76 P1.5 Z-12 I-0.1 J0.1 R1 K1.5 Q29.5 L0 H1
g0 X30
g0 Z50
M5
M2
%
G0 G40 G18 G80 G21 G49 G95
G90 G7
F1.5 S470
M4
G4 P1
(Change the fist X to the Dia P = the Pitch K = Thread depth)
G0 X10 Z10
G76 P1.5 Z-12 I-0.1 J0.1 R1 K1.5 Q29.5 L0 H1
g0 X30
g0 Z50
M5
M2
%
Attachments:
Last edit: 07 Nov 2020 17:09 by Clive S.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2240
- Thank you received: 474
12 Nov 2020 17:50 #189135
by Clive S
Replied by Clive S on topic Correct encoder count for lathe back tool
As I am still waiting for some sensors to arrive for the Boxford 125 I thought I might be cheeky and bump this.
I am not sure which way the encoder count should go as the spindle has to go CCW as the tool will be at the back for threading.
I am not sure which way the encoder count should go as the spindle has to go CCW as the tool will be at the back for threading.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
13 Nov 2020 10:56 #189194
by cmorley
Replied by cmorley on topic Correct encoder count for lathe back tool
I'd guess you might have a problem with the spindle-at-speed signal
I'd also guess encoder counts up (positive) for cw rotation (SIM lathe configuration agrees)
Chris
I'd also guess encoder counts up (positive) for cw rotation (SIM lathe configuration agrees)
Chris
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2240
- Thank you received: 474
14 Nov 2020 14:08 #189333
by Clive S
Yes It now works
Had to set the encoder scale to 100 (100 slot disc) and setp spindle.0.at-speed true
Next job is the get the spindle speed display with the correct speed.
A note for others when threading Threading works very well BUT you have to make sure that the axis can move at the rate the spindle is turning. Ie. if the spindle is at 1000 rpm the Z axis has to move in time with it and if it is clamped down by MAXVEL it won't thread correctly. So you have to thread at a spindle speed that the Z axis can achieve. Hope this makes sense.
Replied by Clive S on topic Correct encoder count for lathe back tool
I'd guess you might have a problem with the spindle-at-speed signal
I'd also guess encoder counts up (positive) for cw rotation (SIM lathe configuration agrees)
Chris
Yes It now works
Had to set the encoder scale to 100 (100 slot disc) and setp spindle.0.at-speed true
Next job is the get the spindle speed display with the correct speed.
A note for others when threading Threading works very well BUT you have to make sure that the axis can move at the rate the spindle is turning. Ie. if the spindle is at 1000 rpm the Z axis has to move in time with it and if it is clamped down by MAXVEL it won't thread correctly. So you have to thread at a spindle speed that the Z axis can achieve. Hope this makes sense.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds