Rigid tapping

Moderators: TomKerekes, dynomotion

cemoa9
Posts: 82
Joined: Mon Jun 01, 2020 11:01 am

Rigid tapping

Post by cemoa9 » Wed Jul 28, 2021 1:42 pm

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

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: Rigid tapping

Post by TomKerekes » Wed Jul 28, 2021 2:22 pm

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.
Regards,

Tom Kerekes
Dynomotion, Inc.

cemoa9
Posts: 82
Joined: Mon Jun 01, 2020 11:01 am

Re: Rigid tapping

Post by cemoa9 » Wed Jul 28, 2021 2:37 pm

Hi Tom,

I am running 4.34 version, attached the 2 files.

Cordially

Francois
Attachments
Init.c
(7.76 KiB) Downloaded 112 times
Tapping.c
(9.71 KiB) Downloaded 102 times

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: Rigid tapping

Post by TomKerekes » Wed Jul 28, 2021 2:56 pm

What is printed on the KMotion.exe Console Screen?
Regards,

Tom Kerekes
Dynomotion, Inc.

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: Rigid tapping

Post by TomKerekes » Wed Jul 28, 2021 3:08 pm

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.
Attachments
RigidTapMultiPassJogM119_v1.c
(3.25 KiB) Downloaded 107 times
Regards,

Tom Kerekes
Dynomotion, Inc.

cemoa9
Posts: 82
Joined: Mon Jun 01, 2020 11:01 am

Re: Rigid tapping

Post by cemoa9 » Wed Jul 28, 2021 3:11 pm

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

cemoa9
Posts: 82
Joined: Mon Jun 01, 2020 11:01 am

Re: Rigid tapping

Post by cemoa9 » Thu Jul 29, 2021 12:30 pm

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

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: Rigid tapping

Post by TomKerekes » Thu Jul 29, 2021 3:36 pm

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.
Regards,

Tom Kerekes
Dynomotion, Inc.

cemoa9
Posts: 82
Joined: Mon Jun 01, 2020 11:01 am

Re: Rigid tapping

Post by cemoa9 » Thu Jul 29, 2021 3:46 pm

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

cemoa9
Posts: 82
Joined: Mon Jun 01, 2020 11:01 am

Re: Rigid tapping

Post by cemoa9 » Mon Aug 02, 2021 8:06 am

Hello Tom,

Please help :roll: I really need to put that machine in production and threading is a must :?

Francois

Post Reply