On Tue, 05 Aug 2003 22:11:49 -0000, you wrote:
i was wondering if mach1 / 2 is able to be interfaced to
potentiometers for controlling feed rates and bounceless
switches for controlling jog increments as well as axis
selection. this would resemble a bostomatic type controller
for anyone who knows those machines.
There are a couple of ways of doing this - one way is to drive the pot
via stepper using step/direction.
The other way is to replace the pot - generally the three connections
go +10, set speed, 0V. So supplying a 0-10V voltage to wiper and 0
will work, this can be done using PWM or Step/dir and there are two
circuits in the yahoo files section that work to put 0-10V out. BEWARE
though - the 0V on a lot of motor controllers is not at the same 0V as
the one on a PC and will blow your parallel port unless you isolate
it.
They reference 0V on non-isolated controllers to mains Neutral in most
cases, the effects of this is just the same as sticking 100V into the
parallel port. Most drive manufacturers make an additional isolation
board or sell isolated type controllers for this type of application.
There's a picture on my page at
that illustrates what could have happened!
Mach2 will run any type of switch and has it's own de-bounce routine
built in (setting under logic), 100 seems to work fine.
--
Steve Blackmore