LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Maxon motor Control using an ESCON 70/10 controller and an NI USB X

Solved!
Go to solution

Hello,

 

I have a EC 60 motor and a motor controller ESCON 70/10. I want to control the speed and the direction of the motor using labview and a NI USB-6212. How can I do this?  I am new to LabView and also to motors.

 

I think that I can connect a potentiometer to NI USB in an Analog IN pin and if I rotate the potentiometer to right the motor will go to right and so the other way. I used a potentiometer to control the led's brightness and setted a minimum of 5V and a maximum of 5V voltage. How can I send this to the ESCON controller, also from analog pins? Like DAQ Analog output and ESCON to Analog input.

 

For speed control i thought that I can use an Encoder to produce a pulse in terms of Frequency and change the Duty Cycle.

 

Do you have any tips on how can I create the VI's? 

 

Thank you

0 Kudos
Message 1 of 3
(5,828 Views)

Typically, we recommend that customers looking for motion control use the NI LabVIEW SoftMotion Module, and our Motion hardware (that can work with 3rd party motors and drives).

 

This still may be possible with the USB-6212, but it will be more challenging. The device does have an AO range of +/- 10 V, and 2 AO channels. If that is all that is needed for your drive, this would just require you to implement the needed DAQmx tasks for your functionality. In terms of controlling the speed and direction, you will need to refer to the specifics of the drive and how to control it.

Brian.D
NI Product Owner
VeriStand
0 Kudos
Message 2 of 3
(5,793 Views)
Solution
Accepted by raluca25

The ESCON 70/10 can be configured as a velocity controller and will accept an along input on connector J6 which can be configured as your velocity command.  See section 3.3.6 of the ESCON 70/10 Hardware Reference manual.

 

Using your NI USB X board's analog output you can generate a DC voltage that will command the velocity of the motor. You will need to determine the correct scaling from volts to rpm which will be depend on your drive-train and whether you're using a gearbox.  The motor direction can be control based on the sign of the velocity voltage signal or by a digital input configured on connector J5.

 

Use the Maxon ESCON Setup Studio software to configure the drive for velocity control and to setup the multi-function inputs.  There are three common control modes for motion controllers; position, velocity and torque control.

 

Good luck. 

0 Kudos
Message 3 of 3
(5,788 Views)