Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: CNC-AL on February 02, 2013, 07:03:27 AM
-
Hi Everyone,
Ive seen these 20ppr greyscale rotary encoder switches on Ebay.
10 for about $6.
I was just thinking maybe they would make a good feedrate overide control.
Has anyone done this?
Would be great to hear if it worked well or not.
Cheers Allan.
http://www.ebay.com.au/itm/10-Pcs-12mm-Rotary-Encoder-Switches-Dia-6mm-360-Degree-New-/290813008576?pt=AU_B_I_Electrical_Test_Equipment&hash=item43b5ce5ac0
-
Do you have a means of getting the values into Mach?
Hood
-
I was thinking maybe use mpg #2 input and then write a brain to control the feed override.
What do you think?
Cheers Allan.
-
Yes that should work.
Hood
-
Just did a little brain and it works fine. ;D
Cheers Allan.
-
You can do the spindle override the same way. Saves having to use a analog conversion board.
(;-) TP
-
How did you write your brain to control the feedrate with this encoder switch?
-
Try this I just changed his example brain to control the SSO instead of the FRO.
-
Awesome! I'll give it a try tomorrow! Thanks!
Chad
-
I don't have my encoder switches in yet, I just hooked in an MPG to test this. With the MPG it goes from 100% down To 0% and moves from 0 - 1 % but doesn't do anything else. It does this with the SSO and the FRO. Do I need to have my calibration set differently and/or do I need to wait for those encoder switches to get here. I have the calibration set to 1.000 Count and velocity to 100.00