Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: sivtek on February 25, 2010, 08:57:10 AM

Title: RPM connection help
Post by: sivtek on February 25, 2010, 08:57:10 AM
I would like to fit a RPM sensor to my mill, but I do not know where to connect it to the C11G Parallel Interface Board. I have used pin 15 for a probe so I have no more spare input pins. Is it possible to connect X and Y Limit to the same input, say pin 11 then giving me a free input pin 12?

Thanks
sivtek
Title: Re: RPM connection help
Post by: Hood on February 25, 2010, 09:58:50 AM
Yes, if you wire the limits in series and they are normally closed switches.
Hood
Title: Re: RPM connection help
Post by: sivtek on February 26, 2010, 03:43:11 PM
Yes, but how? I have joint the wires no. 5 and 12 (or the actual wires labeled 51 and 12) on the terminals of the outbrake board. This should put the X and Y limit switches in series?
But when I activate the limit switches the X works OK but on the Diagnostics Screen 2 lines light up. Should be only 1.
When I activate Y no lights. When homing it`s OK in the X direction but in the Y direction the table hit the switch and stay there. The red "Emergency" light and I have to manually move the table of the switch.
What is I doing wrong?
Sivtek
Title: Re: RPM connection help
Post by: Hood on February 26, 2010, 04:28:26 PM
If you have all limits connected to a single input then all of the LEDs on the diagnostics page will light up, that is normal. From the sounds of it your wiring is not correct, the wires should run from the Input through each switch in turn and eventually end up back at the BOB. See the pic below, the top one shows how I suspect you were originally connected, the bottom one is how you need to connect to share one Input.

Hood
Title: Re: RPM connection help
Post by: sivtek on February 27, 2010, 04:21:41 AM
Hm, not quit sure. The all light  I agree with, but not sure about the connections. I think my connection should bee OK.
Title: Re: RPM connection help
Post by: Hood on February 27, 2010, 04:39:11 AM
Yes, that should work fine as power is coming from 5v and going through all switches before ending up at Input 11.
 Can you attach your xml and I will have a look in it.
Hood
Title: Re: RPM connection help
Post by: sivtek on February 27, 2010, 05:18:07 AM
Thanks. Here is my file
Title: Re: RPM connection help
Post by: Hood on February 27, 2010, 05:33:23 AM
XML looks fine.
I cant understand why they are not working if you have them wired as you have in the diagram, please double check that they are.
Hood
Title: Re: RPM connection help
Post by: sivtek on February 27, 2010, 07:07:01 AM
Neither can I, have checked and checked and......but can`t find anything wrong with my wiring. I have assumed that the wires goes straight from the switches to the board, but now I am not sure.
When I activate the X switch the reed LED on the board at connection 11 lights, when activate Y the LED at 10 lights and when activating STOP 10 lights up as well. So there must bee something going on between STOP and Y.
I have now connected up to original and all works fine, so I have at least not destroyed anything.
(Will have to investigate the run of the wires from switches to the board?)
Title: Re: RPM connection help
Post by: sivtek on February 27, 2010, 08:59:53 AM
Think I have solved the mystery. I followed the wires and found that they do go direct to the board, but Y and STOP was wrongly connected to the board, (from the manufacturer), the no 5 and 51 (5v) was switched.
Now everything runs almost as it should, but when I am "homing" some times it get stuck on the switch other times it comes of as it should - (maybe that's the "wrong" connection from the manufactures).
Thanks Scott for all yours help.
Title: Re: RPM connection help
Post by: Hood on February 27, 2010, 09:05:26 AM
Sounds like you may have a wee bit of switch bounce. Look on General Config page top right and set a value of 2000 for the Debounce Interval and see if that helps, if it does then reduce until you have issues again, then increase slightly.
Hood
Title: Re: RPM connection help
Post by: sivtek on February 27, 2010, 09:45:35 AM
Thanks, works fine now. It was set to 400 and the box below to 0. I entered 2000 and 1.
Now I will try to install a opto switch for a RPM read out, I may bee back.
Title: Re: RPM connection help
Post by: M250cnc on February 27, 2010, 11:09:37 AM
I may bee back.

OK Arnie see you soon.  ;D ;D ;D

Phil
Title: Re: RPM connection help
Post by: sivtek on February 27, 2010, 02:54:13 PM
I am back for more help. I have got an opto switch from a friend which I hope I can use, but I do not know how to connect. From the attached data I think pin 1 and 4 is grounded and pin 3 is the output getting 5v through a 10 000 ohm resistor, but where and how is pin 2 connected used? Any help will be appreciated.
Title: Re: RPM connection help
Post by: Hood on February 27, 2010, 05:16:58 PM
Looks like pin 2 will be the supply to the LED.
Hood