Machsupport Forum

Third party software and hardware support forums. => CS-Lab => Topic started by: jofriedl on December 14, 2015, 01:34:50 PM

Title: ENC threading module setup for ridgid tapping
Post by: jofriedl on December 14, 2015, 01:34:50 PM
Hello everyone,
 


    I'm back with another question. I'm installing an encoder on my matsuura mc500v so I can do rigid tapping, but Its looking like I need to install the encoder directly on the spindle rather than the spindle motor. The spindle motor has a belt drive and I think the reduction is 2 to 1 from the motor to the spindle. There is a perfect spot on the spindle motor where the 20 mm shaft pokes out of the top where an encoder could be mounted. Attaching an encoder to the spindle rather than the motor would be a retrofit nightmare. The drawbar at the top of the spindle prevents an encoder from being mounted there and to mount it anywhere else would require me to pull the thing apart and remove the bearings. This is not an option. In the ENC manual it states that the encoder must be mounted such that it reads 1 to 1 to the spindle.  Why is there no way to configure the enc module for a reduction drive? This seems pretty intuitive. Thanks for any and all help.
Title: Re: ENC threading module setup for ridgid tapping
Post by: Overloaded on December 14, 2015, 02:12:56 PM
Hello Jonathon,
  Have you considered a "Smart" encoder with programmable resolution ?
Mount it wherever you like.
Russ
Title: Re: ENC threading module setup for ridgid tapping
Post by: Hood on December 14, 2015, 06:00:35 PM
I am not sure how rigid tapping would behave with the Index pulse being more than once per rev but may be worth a try if you can set things up quickly.
I do know I did threading on the lathe for quite a while using the encoder from the motor with reduction, I am not sure however if I used the output from the servo drive with a division equal to the gearing or not.

Any pics of the drawbar setup?


Hood
Title: Re: ENC threading module setup for ridgid tapping
Post by: jofriedl on December 14, 2015, 06:22:13 PM
Thanks for the info, Hood. I purchased the hardware earlier to make a pulley drive between the motor shaft and a 1/4 in ch shaft that the encoder will mount to. Its a 10k cpr encoder though, so I'm a little worried about play in the 1/4 inch shaft. Any thoughts?
Title: Re: ENC threading module setup for ridgid tapping
Post by: BR549 on January 17, 2016, 10:55:15 PM
IF the motor to spindle ratio is 2:1 then gear the encoder off the motor shaft at 2:1  Then the encoder will turn at Spindle RPM , 1:1

(;-) TP
Title: Re: ENC threading module setup for ridgid tapping
Post by: jofriedl on May 02, 2016, 04:32:47 PM
Well, I know its been forever, but I finally machined up a mount for the encoder on the spindle. I have the encoder talking with the enc threading module and the read-out is accurate. However, when I try and program in M84 Mach freezes in the 'toolpath generation' window and crashes. I have installed their macro and their g code file. On one the few occasions I was able to cancel out of the toolpaths generation window was able to press run and but the program kept running but wouldn't move past the M84 line. I turned the spindle by hand and the Z axis moved accordingly.

I have the spindle set up on a VFD. I hope thats not a problem.
Title: Re: ENC threading module setup for ridgid tapping
Post by: Hood on May 02, 2016, 04:38:52 PM
Config menu then General Config, 3rd column and you will see Ignore M Codes while Loading, choose that option and it should solve your problem.
Hood
Title: Re: ENC threading module setup for ridgid tapping
Post by: jofriedl on May 02, 2016, 05:12:05 PM
 Thanks hood. That took care of the loading problem. Unfortunately I've run into another problem. When I run your code for the M84 operation the program runs down to the m84 line and then stops. The spindle does not turn. The program runtime continues for a few seconds and them mach just freezes. I wondering if the threading program depends on the spindle being under control of the IPA.
Title: Re: ENC threading module setup for ridgid tapping
Post by: Hood on May 02, 2016, 05:14:41 PM
The spindle will need to be switched On/Off by Mach/IP-A, is yours not?

Hood
Title: Re: ENC threading module setup for ridgid tapping
Post by: jofriedl on May 02, 2016, 05:18:19 PM
No. I have an AD dl06 running the spindle so I can run the tool change. I have a brain that outputs via modbus the command speed, on off command and the forward and reverse to registers on the dl06.
Title: Re: ENC threading module setup for ridgid tapping
Post by: Hood on May 02, 2016, 05:21:18 PM
Ah ok then that will likely be your problem, Mach/IP-A  will, I would imagine, need to control the spindle with M3/M4 and Spindle Speeds.

Maybe you can alter things so that it does the control and the PLC is just used for the tool change?
Hood
Title: Re: ENC threading module setup for ridgid tapping
Post by: jofriedl on May 02, 2016, 05:28:41 PM
That is going to be the only way it will all work together. The only problem is spindle orientation for the tool changer. For the tool changer to work, the spindle turns at a very low rpm until a pneumatic dog locks out the spindle and orients it. All this is performed by the DL06. I think to make this work I'm going to have to program half the tool change in VB in the M6 macro. Hmmm. Any ideas for a good resource on learning VB enough to program input and output logic in VB? One of the good things about the plc was that I could program the plc to never rotate when the limit switch signaling the engagement of the dog was active.
Title: Re: ENC threading module setup for ridgid tapping
Post by: Hood on May 02, 2016, 05:33:07 PM
There is a manual on the Mach Support website that has most VB commands.

Hood
Title: Re: ENC threading module setup for ridgid tapping
Post by: jofriedl on May 02, 2016, 05:35:16 PM
Thanks Hood. I should update in a few days when I have this worked out.
Title: Re: ENC threading module setup for ridgid tapping
Post by: Hood on May 02, 2016, 06:39:53 PM
Hopefully it is not too much work.

Hood
Title: Re: ENC threading module setup for ridgid tapping
Post by: skunkworks on May 13, 2016, 10:04:05 AM
I think I have a bit newer matsuura we are in the process of converting.  I ran into the same problem with the spindle - how to mount an encoder...

Our solution was to mount a gear and use a gear tooth sensors for the quadrature and index.

It is a 69 tooth gear so that is 276 counts.  We are in the middle of the conversion but I was able to rigid tap in air - seemed smooth.

http://forum.linuxcnc.org/forum/38-general-linuxcnc-questions/30441-matsuura-mc-500v2-retrofit?limitstart=0