From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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-