Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Using EPOS with a USB port

I am attempting to control a motor using using the EPOS2 board connected via the USB port.

 

I have been able to control the motor using the Maxon supplied EPOS Studio application.

 

I wish to contol this using LabView and have downloaded the library driver. I have installed this in the instrument library and have the VI's available in my pallet.

 

I have not been able to control the motor using the example VI's

 

My question is this: Can I control the motor directly using the USB portor do I have to use a CAN interface of some sort?

 

Hardware:

 

Dell lattitude laptop

Maxon EPOS2 24/2  positioning controller board connected to laptop via a USB cable.

 

Thanks

 

Kevin

0 Kudos
Message 1 of 4
(9,405 Views)

Read this discussion and let us know if it solves your problem.

0 Kudos
Message 2 of 4
(9,397 Views)

I updated the driver and I am using the example VI "Example_Demo.vi"

It appears to be communicating with the motor, however I am unable to cause any motor movement.

I suspect this is due to a setting or parameter I have incorrectly set.

 

I am using a EPOS2 24/2 controller

 

For my Device settings I have the following

 

Device Name: EPOS2

Protocol Stack Name: MAXON SERIAL V2

Interface Name: USB

Port Name: USB0

Baudrate: 1000000

Timeout: 500 ms

 

Here is a screenshot of my settings.

 

Any suggestions on what I may be doing incorrectly would be appreciated.

 

Thanks

 

Kevin

 

EPOS.JPG

0 Kudos
Message 3 of 4
(9,377 Views)

Hello Kevin,

 

I have also used EPOS2 with USB with labview. I thing the problem you might have is that your driver for EPOS2 may not be correctly installed. Or you may not have configured your motor with EPOS2 studio.

 

1) Check with device manager your EPOS2 drivers and update them if not properly installed.

2) Then try configuring your drive with EPOSstudio and try using the tools and do position control.

3) If it is working over there, it should definitely work over labview.

 

P.S . Dont worry about the example. Even I got trouble from that. Try making your own program :- InitialiseDlg, EnableAXis and in While loop do your axis control.. That should do your job. It works fine with windows dll.

 

I am trying to develop a custom usb driver for using EPOS with a USB port on my SBRIO (quite a challenging one) and so far it is getting detected but not proceeding further. Please help if you can and hope this helps you. Have a nice day.

 

Suraj.

0 Kudos
Message 4 of 4
(9,171 Views)