02-20-2006 11:05 PM
02-21-2006 04:27 PM
02-22-2006 11:28 AM - edited 02-22-2006 11:28 AM
Message Edited by Go With the Flo on 02-22-2006 11:29 AM
02-22-2006 06:59 PM
02-23-2006 05:36 PM
I'm trying to recall how I used the stepper drives before but I believe that there will be two control voltages. One is for direction and the other is for steps to move. There may also be travel limit inputs that can be connected. It may also depend on how the motor is used i.e step and direction or just velocity. Verify with the manual that came with the drive to determine how to control the motor in the mode you need. It sounds like you have got that part mostly worked out.
You may need a quadrature type control pulse trane to be able to control direction in step mode. Velocity mode is just a + or - voltage but you cant say how many steps to move in velocity mode. Chips are available that will take a regular square wave and produce a quadrature output. I dont know if NI has anything that will generate an output like that readily.
02-24-2006 01:00 AM
Hi Everyone-
NI doesn't offer an application specific chip to produce quadrature-encoded outputs, but the entire operation could be controlled relatively easily using the counter outputs of another DAQ board if it is available. The software-timed nature of the analog outputs on the USB-6008 means that it will be non-deterministic and the frequency will vary with system activity. This situation is definitely not desirable if you're trying to precisely control the speed/direction of a motor.
Robbie, if you can snag that other DAQ card it would be ideal. Let us know if it's available and we can help with some suggestions of getting started with programming the onboard counters.
Hopefully this helps-
02-24-2006 01:27 PM
02-24-2006 01:57 PM
Hi Go-
I didn't mean to imply that you were suggesting that NI could provide the chip-based solution- I just wanted to make it absolutely clear that we do not. Regardless, it is a great suggestion- thanks for your input
03-02-2006 10:46 AM
03-02-2006 11:33 AM
Is this for a tachometer?
Since you seem to have a known step rate, your approach makes sense to me to be able to use as a positon/speed feedback loop. Assuming the type of encoder is analog and not digital. Such as a resolver. Speed would be represented in the frequency of the voltage and position would be the signed value of the voltage.