Hello Guest it is January 25, 2020, 05:47:29 AM

Author Topic: Rigid tapping with IP-A  (Read 24231 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Rigid tapping with IP-A
« on: May 17, 2013, 09:49:44 AM »
CS-Lab have just implemented rigid tapping in the IP-A and IP-S controllers when used in conjunction with the Encoder module.
Here is a video of the first tests, it is mild steel and I am tapping at a conservative 300rpm and reversing at 600rpm, all seems to be working perfectly :)

http://youtu.be/GNL2XdsJz2E

Hood

Offline Chaoticone

*
  • *
  •  5,634 5,634
  • Precision Chaos
    • View Profile
Re: Rigid tapping with IP-A
« Reply #1 on: May 17, 2013, 10:20:40 AM »
Doing what they said could not be done.......... again!  This is great Hood!  And, you can reverse at a different speed than you go in.......... this sounds very good.  How do you choose the forward and reversing speeds and/or the difference between them?  Is that set in gcode or the plugin or where?  Tell us more.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Rigid tapping with IP-A
« Reply #2 on: May 17, 2013, 10:28:13 AM »
As rigid tapping is not supported in Mach3, its only a pseudo G84, the guys at CS-Lab have used a macro.
In your code all you need is M84 instead of G84 and the parameters are
P -  pitch 
Q -  depth
S -  Forward RPM
R -  Reverse RPM

If tapping a left hand thread the pitch is written as a negative.

There is some sample code included with the macro, it is as follows.

%
G18 G21 G40 G50 G80  G90
G0 X0
Z0
M84 P2 Q-30 S50 R100
G0 Z5
X10
M5
M30
%

Hood

Offline BR549

*
  •  6,925 6,925
    • View Profile
Re: Rigid tapping with IP-A
« Reply #3 on: May 17, 2013, 10:51:54 AM »
HIYA Hood is that with a servo spindle or a VFD spindle ? The trick is to get the VFD spindle version working. As we have had rigid tapping with a servo for years now.

Just a thought, (;-)

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Rigid tapping with IP-A
« Reply #4 on: May 17, 2013, 10:57:54 AM »
I have a servo but it will work with any spindle as long as it has an encoder fitted.
Would probably even work with a spindle that the speed is controlled manually, as long as Mach controls the Fwd and Reverse.

Hood

Offline Dan13

*
  •  1,244 1,244
    • View Profile
    • DY Engineering
Re: Rigid tapping with IP-A
« Reply #5 on: May 17, 2013, 11:13:38 AM »
This controller just keeps getting better all the time. All the things we ever wanted with Mach3 are becoming possible with it. Also saw in the change log that they did some work on the threading code, wonder if the pullout got worked on as well.

The tapping looks great. Thanks for the video, Hood. And the macro is nice too.

Dan
« Last Edit: May 17, 2013, 11:21:37 AM by Dan13 »

Offline Dan13

*
  •  1,244 1,244
    • View Profile
    • DY Engineering
Re: Rigid tapping with IP-A
« Reply #6 on: May 17, 2013, 11:16:28 AM »
Oh... also meant to ask - is the Z actually electronically geared to the spindle so that manually rotating the spindle would cause the Z to move? Guess you'd need to enable the M84 macro for this?

Dan
Re: Rigid tapping with IP-A
« Reply #7 on: May 17, 2013, 11:18:08 AM »
Nice work
I'm impressed.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Rigid tapping with IP-A
« Reply #8 on: May 17, 2013, 11:23:12 AM »
Terry
Just run it again for you :)
Slowed the accel of the spindle, was previously 0.8 and now set to 10 to simulate the slow response from a VFD.
Here is a vid showing it tapping the same as before.
http://youtu.be/2DE4sAgLPX8

Hood

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Rigid tapping with IP-A
« Reply #9 on: May 17, 2013, 11:29:12 AM »
Dan
 Yes its everything I have wanted in a controller, in fact its actually more than I had ever thought possible and its only getting better as time goes on.

Regarding the threading with the lathe, no they can not do anything about that with Mach3 as it is a Mach3 fault.
HOWEVER!!!!!!!! I eventually got some time with Brian yesterday and did some testing of altered code, as you will see in the video it is almost perfect, in simulation at least. The only problem now seems to be when the thread has finished Mach just sits and will not continue with the rest of the code. We ran out of time but I am booked in to do some more testing with Brian on Tuesday so fingers crossed.
I had hoped to do more tests today on the lathe but the spindle drive is brain dead and I dont have a spare of the same kind. I will fit a DSD tomorrow but it means I have a lot of soldering to do as the plugs are different on them compared to the DDM drives.

http://www.youtube.com/watch?v=BHlTshnxiac