Rigid tapping
Moderators: TomKerekes, dynomotion
Rigid tapping
Hello Tom,
I am trying to make the rigid tapping working, I checked the wiki (https://www.dynomotion.com/wiki/index.p ... up_and_Use), set M119 in Execute, wait, and Synchronize (thread 2, variant 50) for the C program from the wiki.
N11 G0 X9.5 Y9.5 Z1
N21 G84 Z-7 R1 F10
But the G84 code is ignored, what did I do wrong?
Cordially
Francois
I am trying to make the rigid tapping working, I checked the wiki (https://www.dynomotion.com/wiki/index.p ... up_and_Use), set M119 in Execute, wait, and Synchronize (thread 2, variant 50) for the C program from the wiki.
N11 G0 X9.5 Y9.5 Z1
N21 G84 Z-7 R1 F10
But the G84 code is ignored, what did I do wrong?
Cordially
Francois
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Rigid tapping
Hi Francois,
What Version of KMotion are you running?
What is printed on the KMotion.exe Console Screen?
Which program from the wiki? Please post it. Also post your Initialization C Program.
What Version of KMotion are you running?
What is printed on the KMotion.exe Console Screen?
Which program from the wiki? Please post it. Also post your Initialization C Program.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Rigid tapping
What is printed on the KMotion.exe Console Screen?
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Rigid tapping
Init.c says Spindle Axis is 4 but tapping.c has:
#define SPINDLE_AXIS 3 // Spindle Axis With Encoder Feedback
That Tapping.c program is for an open loop Spindle controlled by a DAC and direction bits. Yours appears to be a closed loop axis where it can be controlled with Axis Move commands. So you might use the attached example.
#define SPINDLE_AXIS 3 // Spindle Axis With Encoder Feedback
That Tapping.c program is for an open loop Spindle controlled by a DAC and direction bits. Yours appears to be a closed loop axis where it can be controlled with Axis Move commands. So you might use the attached example.
- Attachments
-
- RigidTapMultiPassJogM119_v1.c
- (3.25 KiB) Downloaded 107 times
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Rigid tapping
OoooOOpps, sorry:
Units = mm
Bottom = -7.000000
Pitch = 0.100000
Max Tap Speed Exceeded
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Max Tap Speed Exceeded
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Max Tap Speed Exceeded
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Max Tap Speed Exceeded
Jogging Spindle Stop
Units = mm
Bottom = -7.000000
Pitch = 0.100000
Max Tap Speed Exceeded
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Max Tap Speed Exceeded
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Max Tap Speed Exceeded
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Max Tap Speed Exceeded
Jogging Spindle Stop
Re: Rigid tapping
Hello Tom,
Ok done, there is some improvement, but not yet working, I made a video of the result (sorry for the mess and the noise). You can find it here :
https://drive.google.com/file/d/1h1ZtYH ... sp=sharing
Dunno if it matters, but spindle is true in closed loop, but with very low PID values, necessary for the tool change operation.
Cordially
Francois
Ok done, there is some improvement, but not yet working, I made a video of the result (sorry for the mess and the noise). You can find it here :
https://drive.google.com/file/d/1h1ZtYH ... sp=sharing
Dunno if it matters, but spindle is true in closed loop, but with very low PID values, necessary for the tool change operation.
Cordially
Francois
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Rigid tapping
Hi Francois,
The video is not useful. Please explain what you are expecting. Post the GCode (not a photo). Also your C programs and what is printed on the Console Screen.
The video is not useful. Please explain what you are expecting. Post the GCode (not a photo). Also your C programs and what is printed on the Console Screen.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Rigid tapping
Hello Tom,
Code :
N1 G54
N11 G0 X9.5 Y9.5 Z1
N21 G84 Z-70 R0.1 F1
N31 G0 X-9.5 Y9.5 Z1
N41 G84 Z-7 R1 F10
N51 G0 X-9.5 Y-9.5 Z1
N61 G84 Z-7 R1 F10
N71 G0 X9.5 Y-9.5 Z1
N81 G84 Z-7 R1 F10
N91 G0 Z50
N101 M30
Console screen:
Units = mm
Bottom = -70.000000
Pitch = 1.000000
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Jogging Spindle Stop
Description:
The machine is moving to the coordinates in G0 properly, then stops and goes down a little bit (between 0.1 and 2mm) but the spindle does not rotate. Then moves up to Z1 and reproduces the same movement for the 4 threads.
Expectations:
Well I expect the machine to go to every position and perform a rigid tapping to the given depth pitch and speed.
C program:
Unchanged from the previous posts.
Cordially
Francois
Code :
N1 G54
N11 G0 X9.5 Y9.5 Z1
N21 G84 Z-70 R0.1 F1
N31 G0 X-9.5 Y9.5 Z1
N41 G84 Z-7 R1 F10
N51 G0 X-9.5 Y-9.5 Z1
N61 G84 Z-7 R1 F10
N71 G0 X9.5 Y-9.5 Z1
N81 G84 Z-7 R1 F10
N91 G0 Z50
N101 M30
Console screen:
Units = mm
Bottom = -70.000000
Pitch = 1.000000
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Units = mm
Bottom = -7.000000
Pitch = 10.000000
Jogging Spindle Stop
Description:
The machine is moving to the coordinates in G0 properly, then stops and goes down a little bit (between 0.1 and 2mm) but the spindle does not rotate. Then moves up to Z1 and reproduces the same movement for the 4 threads.
Expectations:
Well I expect the machine to go to every position and perform a rigid tapping to the given depth pitch and speed.
C program:
Unchanged from the previous posts.
Cordially
Francois
Re: Rigid tapping
Hello Tom,
Please help I really need to put that machine in production and threading is a must
Francois
Please help I really need to put that machine in production and threading is a must
Francois