Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control 2 epos motor using microcontroller 50/5

Solved!
Go to solution

Hi. i've done a program from epos integrated to labVIEW to control 1 epos motor. i do the program by using the given epos sub-vi to labVIEW, but i only know how to do for controlling 1 motor. Anyone can help me or tell me how to control 2 motors or wad is needed?? thanks for your help 😄

Message 1 of 8
(9,184 Views)

Hi,

 

Could you give us more information? such as a VI and NI hardware that you use?

 

Thanks

Message 2 of 8
(9,159 Views)

Oh, im using the Maxon motor, EPOS positioning controller. the driver im using is EPOS instrument driver which i download from this website, http://digital.ni.com/public.nsf/allkb/F2F553B7B2E3FC10862572AC0023FCA0 ..

 

The attach file is a picture of the example for controlling one motor..

 

thanks:)

Message 3 of 8
(9,136 Views)
Oh and btw, do i need to use CANopen to control multiple motors/device?
Message 4 of 8
(9,119 Views)
Solution
Accepted by topic author spydi

Hi Spydi,

 

I don't think you will need the CANopen library since you are already using the EPOS Instrument Driver.

 

Currently are you using a NI-CAN device to connect your controller? It is one device for both motors I believe?

 

We are not very familiar with this set of drivers since it's not created by NI, but I think all you have to do is to change the axis input to determine which motor is being controlled.

 

So probably your first motor will correspond to axis 0 (default value in the example program), then your second motor will correspond to axis 1. When you want to send commands to the different motors, set the axis keyhandle/node ID accordingly.

 

Hope this helps.

 

Best Regards,

Boon Chen

NI Applications Engineer

Message 5 of 8
(9,115 Views)

Hi Spydi,

 

up to now, I never did it with two EPOS. But you should first check your setup with the EPOS-Studio. You need to set two different Node ID`s and after this works from the EPOS-Studio <you should do two seperate lines of programming in LabVIEW. I attach some VI`s from maxon which are simple in using for one EPOS. I assume you just need to program them in parallel.

 

And you don`t need the CANopen Library, it`s possible to use but very difficult. The EPOS-Library from the download is a Set of VI`s which where developed by maxon in Switzerland and free of use, they use a Communication DLL behind. If you`re interested maxon develops a new release right now. If you want to use them instead of the one you already had, let me know, I can ask there for a BETA and place it here at the forum.

 

Kind regards

Alex Rudolph

NI Switzerland

Message 6 of 8
(9,107 Views)

Hi AlexxxR,

 

   I was wondering if u have the new release of Maxon. Currently i have a problem in connecting a sensor to the Epos 50/5. I can configure the digital input of a sensor, but i cant seem to program it, and i hope the new release can help me program the sensor. thanks again!:D

Message 7 of 8
(8,863 Views)

Hi,

 

unfortuantely I don`t have them, I heared they faced into something and want to fix this first! But if I where you, I would ask the HelpDesk of maxon to get help from there!

 

Best regards

Alex

Message 8 of 8
(8,850 Views)