Rigid Tapping Scripts

Below you can find tapping macro with descriptions and pictures. 

ikon-rar  Threading macro v.2

P –  >pitch<
Q – tapping depth >depth<
S – tapping speed >rpm<
R – reverse speed >rpm<

Positive value of tapping pitch >pitch< lets for tapping using M3 revs
Negative value of tapping pitch >pitch< lets for tapping using M4 revs     

 

In this new version of M84 macro, the Q parameter is an absolute tapping depth. 
It means that if we enter Q-20 then the depth will be to Z-20 [Rys.1a].
In turn if we type in – Q5 –  then tapping depth will be to Z5 [Rys.1b].

The macro has protection that stops the program and scrolls the g code to the top
when Zstart < Q or Zstart = Q.

Zstart < Q is a situation where the tool is below the thread end [Rys.2a]
Zstart = Q  is a situation where the tool is already on the thread endpoint [Rys.2b]

There is also protection in case one of the parameters: P, S or R was equal to 0, in this case, the program will also be stopped and scrolled to the top. 

Rys1a - Rys1b

Rys2a - Rys2b