03-11-2010 12:01 PM
Hi all,
I am a beginner for LabView.
I want to pilote the motor controller (MDP First PAP 40/5) with the Multifunction DAQ6251 and I/O connector SCB-68.
The motor controller needs three signals: clock, enable and direction.
Could anyone tell me some solution?
Use the AssistantDAQ to generate analog voltage with the ao port?
Many thanks for replying me!
Yunlong
03-11-2010 01:54 PM
Are the clock, direction and enable TTL digital inputs.
If so, just set up 2 tasks, one that sets the direction and enable to true and a second task is a continious finite pulsetrain out of your counter. The freq of the pulsetrain controls the speed of the motor, too fast will stall your motor so start slow. You can prototype this in max with the counter output test panel and wire the +5 out of the box to the enable, just double check with your controller that the 5V is the desired pulse (I am just assuming here it is)
03-11-2010 03:31 PM
Paul,
Thank you for replying me!
I think the clock, direction and enable inputs should be digital. But my predecessor use the analog output (port ao0) for cloc.
What does it mean, MAX? can I find the prototype by "example research" in help? and which key words?
Maybe these questions are stupid, but I am really a beginner.
By the way, I tried to use AssitantDAQ block the generate the voltage +5v. But there is always an error to initalize the DAQ6251, the same thing to configure the 6251 in Measurement & Automation Explorer.How can I do if you know it? (see the following picture, I use the french edition).
Thanks again!
Yunlong
University of PAU, France
03-11-2010 04:34 PM
MAX = measurments and automation explorer.
I would not go with an analog channel to control a motion controller if it accepts digital, you will get much matter control of the motor cloclin with a counter pulsetrain out.
Sorry I havent studied french an many years so the screen captures did not provide much help.