Hello Guest it is April 28, 2024, 05:49:17 PM

Author Topic: Using an Encoder for Jogging  (Read 5426 times)

0 Members and 1 Guest are viewing this topic.

Using an Encoder for Jogging
« on: March 13, 2013, 08:48:11 PM »
Anybody using an encoder for jogging?  

I am sure somebody must be.  It makes sense.  In my Hurco retrofit I wound up with a couple spare encoders.  One was on the original control console and was used for jogging.  I tested it today with a pair of LEDs and it appears to work.  Now, how would I go about using it to JOG an axis?  I imagine I could wire up one channel like a switch, and then use a separate direction switch, but there must be a more elegant way to do it.  

http://www.youtube.com/watch?v=rhfpo53ajpw
Re: Using an Encoder for Jogging
« Reply #1 on: March 13, 2013, 09:06:40 PM »
P.S.  I checked the manual and saw how you connect it and configure it in Mach's ports and pins, but I don't see how you tell Mach which axis you are jogging...  or do you need to configure one for each axis with a selector switch? 

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Using an Encoder for Jogging
« Reply #2 on: March 13, 2013, 09:23:43 PM »
Hit the tab key and the mpg flyout will appear.  There you will set which axis and what mode.  I would set it to single step mode and jog mode to mpg.

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!
Re: Using an Encoder for Jogging
« Reply #3 on: March 13, 2013, 09:43:44 PM »
I think we are not communicating...  If you are using the display screens what is the point of having external controls?

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Using an Encoder for Jogging
« Reply #4 on: March 13, 2013, 09:49:19 PM »
Well, you have to make sure it is the right mode to be able to use the MPG.  MPG only works in mpg mode.

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!
Re: Using an Encoder for Jogging
« Reply #5 on: March 13, 2013, 10:02:57 PM »
Are you saying the only way to use an MPG is to open the flyout screen and manually select the axis on the screen?  That doesn't make any sense at all.  You may need to set MPG mode, but why do so many pendants have selectors then?  Seems like a waste of a perfectly good switch to just put it on there for appearance.   





« Last Edit: March 13, 2013, 10:05:21 PM by Bob La Londe »

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Using an Encoder for Jogging
« Reply #6 on: March 13, 2013, 10:13:35 PM »
The pendants with selectors.................. what are they selecting?


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!
Re: Using an Encoder for Jogging
« Reply #7 on: March 13, 2013, 10:28:19 PM »
There are OEM codes for selecting which axis the MPG controls.  You'd need to have switches, and a macropump, brain or plug-in to issue the OEM code at the proper time.  If you search the archives, back in about '08 or so I posted macropump code that implemented full pendant functionality - several jog modes on all axes, Run, Stop, Pause, Rewind, and many other things.  Search on my name, and VistaCNC or iMachPro.

Regards,
Ray L.
Regards,
Ray L.
Re: Using an Encoder for Jogging
« Reply #8 on: March 14, 2013, 01:53:29 AM »
Got it.  Basically you need to have a smart board that will run small macros and send keyboard scan codes.

Well, if I keep this machine Mach when I finish it I won't waste another second with the MPG idea then.  I'll just throw in an arcade joy stick and a couple fire buttons for Z. 
Re: Using an Encoder for Jogging
« Reply #9 on: March 14, 2013, 02:16:19 AM »
Got it.  Basically you need to have a smart board that will run small macros and send keyboard scan codes.

Well, if I keep this machine Mach when I finish it I won't waste another second with the MPG idea then.  I'll just throw in an arcade joy stick and a couple fire buttons for Z. 

No, I don't think you got it.  All you need is a Mach3 macro.

Regards,
Ray L.
Regards,
Ray L.