Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: Survivor on March 17, 2010, 05:17:44 PM

Title: USB Handwheel with encoder
Post by: Survivor on March 17, 2010, 05:17:44 PM
Hi guys,
I planing to compose an USB handwheel. I'm going to use a normal gamepad to get about 15 switches.
I want to use the Keygrabber to get mach3 codes by pressing the keys. So far, I think it won't be a problem.

But then I'd like to use an incremental encoder with two different signals..
Is it possible to realize that the encoder signals are transferred instead of the signal of two switches? This means, that the TTL Signal of the encoder simulates that a button is pressed..
How can I get these "key signals" into mach3 as an MPG# signal?

Is there any plugin existing or can anyone try to create a script for me?

I think this could be interresting for a lot of people out there..

Thanks for help!

Title: Re: USB Handwheel with encoder
Post by: Steffen_Engel on March 22, 2010, 01:38:45 PM

no I'm sorry, it is not possible to use switches as signals for an encoder.

You need a USB-Device that handles the Encoder and then send the result to Mach3
Then an additional plugin to read this special format of the information to inject to the Mach3-Engine

An example for this is the shuttle express

No way with a Gamepad and Keygrabber, sorry.