Hello Guest it is December 09, 2019, 04:37:43 AM

Author Topic: Control feedrate with rotary encoder switch.  (Read 3251 times)

0 Members and 1 Guest are viewing this topic.

Control feedrate with rotary encoder switch.
« 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

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Control feedrate with rotary encoder switch.
« Reply #1 on: February 02, 2013, 09:32:32 AM »
Do you have a means of getting the values into Mach?
Hood
Re: Control feedrate with rotary encoder switch.
« Reply #2 on: February 02, 2013, 10:42:02 AM »

I was thinking maybe use mpg #2 input and then write a brain to control the feed override.
What do you think?

Cheers Allan.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: Control feedrate with rotary encoder switch.
« Reply #3 on: February 02, 2013, 02:27:22 PM »
Yes that should work.
Hood
Re: Control feedrate with rotary encoder switch.
« Reply #4 on: February 02, 2013, 03:23:22 PM »
Just did a little brain and it works fine. ;D

Cheers Allan.


Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: Control feedrate with rotary encoder switch.
« Reply #5 on: February 02, 2013, 04:50:39 PM »
You can do the spindle override the same way. Saves having to use a analog conversion board.

(;-) TP
Re: Control feedrate with rotary encoder switch.
« Reply #6 on: March 31, 2015, 12:04:27 PM »
How did you write your brain to control the feedrate with this encoder switch?
Chad Byrd

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: Control feedrate with rotary encoder switch.
« Reply #7 on: March 31, 2015, 06:09:28 PM »
Try this I just changed his example brain to control the SSO instead of the FRO.
Re: Control feedrate with rotary encoder switch.
« Reply #8 on: March 31, 2015, 07:14:51 PM »
Awesome!  I'll give it a try tomorrow! Thanks!
Chad
Chad Byrd
Re: Control feedrate with rotary encoder switch.
« Reply #9 on: April 01, 2015, 09:08:44 AM »
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
Chad Byrd