Page 1 of 3

Rigid tapping

Posted: Wed Jul 28, 2021 1:42 pm
by cemoa9
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

Re: Rigid tapping

Posted: Wed Jul 28, 2021 2:22 pm
by TomKerekes
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.

Re: Rigid tapping

Posted: Wed Jul 28, 2021 2:37 pm
by cemoa9
Hi Tom,

I am running 4.34 version, attached the 2 files.

Cordially

Francois

Re: Rigid tapping

Posted: Wed Jul 28, 2021 2:56 pm
by TomKerekes
What is printed on the KMotion.exe Console Screen?

Re: Rigid tapping

Posted: Wed Jul 28, 2021 3:08 pm
by TomKerekes
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.

Re: Rigid tapping

Posted: Wed Jul 28, 2021 3:11 pm
by cemoa9
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

Re: Rigid tapping

Posted: Thu Jul 29, 2021 12:30 pm
by cemoa9
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

Re: Rigid tapping

Posted: Thu Jul 29, 2021 3:36 pm
by TomKerekes
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.

Re: Rigid tapping

Posted: Thu Jul 29, 2021 3:46 pm
by cemoa9
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

Re: Rigid tapping

Posted: Mon Aug 02, 2021 8:06 am
by cemoa9
Hello Tom,

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

Francois