Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

CRIO and EPOS2 via RS232

Hi, I'm trying to control a maxon motor with EPOS2 positioning controller and Labview. I have no problem when I do this with my computer. But I need to do that with a c-RIO-9022, when I try to deploy my program to the c-RIO a error apears.

 

¿Why my proyect work on the computer and can not dowload to the c_RIO?

 

0 Kudos
Message 1 of 5
(6,452 Views)

Hello!

 

Can you see your device on MAX?? What error do you get? How have you configured it??

 

By the way, if you are a Spanish-speaking person (i say that because of your nick), don't be afraid to speak in Spanish ;).

 

Hoping to help you!

Applications Engineer - Certified LabVIEW Developer & Certified TestStand Developer
0 Kudos
Message 2 of 5
(6,434 Views)

Hello dsanzmerodio,

 

If you are using serial communication with the EPOS controller, I suppose you are using the Instrument Driver attached to this link. That driver is not compatible with VxWorks, the OS embedded in the CompactRIO, so it cannot be used with your 9022.

 

To communicate with an EPOS2 device using a CompactRIO, you have three options:

 

1.- Implement a CANOpen communication with the EPOS2 device using the CANOpen module for cRIO:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MNnSAM&l=en-US

 

2.- The same CANOpen communication but using a CAN module for cRIO:

 

https://www.ni.com/en-us/shop/model/ni-9881.html

 

 

3.- If have the LabVIEW Robotics module, you can use its API for Maxon EPOS2 motor drives:

 

https://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=17071

 

… but you will need again a CAN module (the NI-9853 in this case)

 

0 Kudos
Message 3 of 5
(6,430 Views)

The LabVIEW Robotics Module includes an example that shows how to use the EPOS2 with a cRIO, but it is not a reuseable API.  You can download the NISoftMotion Axis Interface for EPOS2, which includes VIs you can reuse in your own application.

 

Chris M

0 Kudos
Message 4 of 5
(6,420 Views)

I am doing the same work,I want to know whether you have resolved that. and I also want to directly communicate with you,

THXs

Best Regards

 

0 Kudos
Message 5 of 5
(6,347 Views)