scuzzy
2008-04-04 13:40:10 UTC
Basically I need to drive a stepper motor through a darlington transistor array. And the movement is based on pulses and sequence as below (See attached):
B asic information I can provide is:
- This is driven with a PCI-6509 card
- Stepper Motor model is: a generic "24BYJ48" 12Vdc PM stepper motor
- The pulses are generated with Digital Output (not enough counters as I'm driving up to 12 stepper motors, adn each stepper require 4 DO lines)
- Darlington Transistor Array is: Texas Instrument ULN2803A
- The attached sequence is for 1 rotation clockwise
- The reverse sequence would move the motor counter clockwise
Questions:
1. How do I generate those signal patterns in Labview? I've tried creating an array but it doesn't seem to work.
2. How do I combine each line sequence into a "group" and just call it and loop it for continous movement? e.g (Port 0:line 0 to line 3 for 1st stepper motor, Port 0:line 4 to 7 for 2nd Stepper motor )
I've also attached a very basic Labview code to generate digital out pulses, what changes should I make for it to "record" the pattern?
Thanks very much for any assistance...
Stepper Sequence.JPG:
http://forums.ni.com/attachments/ni/70/8583/1/Stepper Sequence.JPG
Pulse Output.vi:
http://forums.ni.com/attachments/ni/70/8583/2/Pulse Output.vi
B asic information I can provide is:
- This is driven with a PCI-6509 card
- Stepper Motor model is: a generic "24BYJ48" 12Vdc PM stepper motor
- The pulses are generated with Digital Output (not enough counters as I'm driving up to 12 stepper motors, adn each stepper require 4 DO lines)
- Darlington Transistor Array is: Texas Instrument ULN2803A
- The attached sequence is for 1 rotation clockwise
- The reverse sequence would move the motor counter clockwise
Questions:
1. How do I generate those signal patterns in Labview? I've tried creating an array but it doesn't seem to work.
2. How do I combine each line sequence into a "group" and just call it and loop it for continous movement? e.g (Port 0:line 0 to line 3 for 1st stepper motor, Port 0:line 4 to 7 for 2nd Stepper motor )
I've also attached a very basic Labview code to generate digital out pulses, what changes should I make for it to "record" the pattern?
Thanks very much for any assistance...
Stepper Sequence.JPG:
http://forums.ni.com/attachments/ni/70/8583/1/Stepper Sequence.JPG
Pulse Output.vi:
http://forums.ni.com/attachments/ni/70/8583/2/Pulse Output.vi