Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

MOTOR CONTROL

I am trying to write ASCI code to an Oriental Motor’s motor. Can someone tell me how to write simplecode to the motor? I have used labVIEW before and i can write to machine using terminal. Not sure if I should use VISA,DAQ channel or motion resource? i just need to know how to communicate with machine .... 

 

The Test was setup before I started working but was poorlydocumented.

 

 

Background information on test equipment: I am using a pcconfigured with national instrument’s LabVIEW SOFTWARE (v8.0) and equipped withNI multi- function data acquisition board (analog and digital I/O capabilities):PCI card 6250.

 

The encoder used for feedback is a 2000 Pulse/Rev rated one.

 

RS232 TO RS485/422 CONVERTER

 

National Instrument PCI 6250 pins to act as a bare board toserve as an interconnect between the I/O INTERFACE CARD AND THE uut.

 

Download All
0 Kudos
Message 1 of 3
(4,866 Views)

 

From the screen shot of MEASUREMENT AND AUTOMATION EXPLORER (MAX) it seems that you have  NI-DAQmx  installed and the board that you have is ready to use. Flipping through the manuals of the controller, it seems that all you need is serial to communicate with it. You can do that using the NI VISA driver. As you mentioned the DAQ board is used to get the feedback from the encoders. I think they have some virtual channels configured in MAX . To sum up, all you need in NI-VISA and NI- DAQmx for your application. You don't have any NI-motion devices, so you can't use the NI-motion drivers for your application.

You can find the VISA and DAQmx drivers at those links, you might have them isntalled already. Also, here are some good resources to get you started with the basic functions.

Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications

NI-VISA Overview

Thanks and have a great day. 

 

 Esmail Hamdan | Applications Engineering | National Instruments

 

 

0 Kudos
Message 2 of 3
(4,826 Views)

 

 

 

Hi what is the needed power for your motor I use a small driver I bought from robotservice.nu 279€ that I control direct from Labview you can use direct step/dir pulses from DAQ or from USB and a .dll see attached picture.... but of course than you need a new driver it can handle up to 20A. What kind of driver are you using today?

0 Kudos
Message 3 of 3
(4,750 Views)