LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use the Multifunction DAQ6251

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

0 Kudos
Message 1 of 4
(2,844 Views)

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)

 

 

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 4
(2,827 Views)

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

 

 

Download All
0 Kudos
Message 3 of 4
(2,814 Views)

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.

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 4
(2,804 Views)