08-18-2016 04:33 AM - last edited on 04-24-2024 11:03 AM by Content Cleaner
I am looking for a good solution to control a two DC motors over a fieldbus (CAN or EtherCat) through a pc. NI Softmotion seems to be great for this. But it seems I need a realtime system for it, a PXI or Compact Rio? Regarding cost I would like just a PCIe or usb card on the pc and not a Compact Rio in between.
So I could take for instance a usb Can adapter:
https://www.ni.com/en-us/support/model.usb-8472.html
The CanOpen library is however not recommended for new designs?
But then I would have to implement the whole control protocol, I don't know how easy this is.
I did found an example for CanOpen and Maxon drives:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MNnSAM&l=en-US
But it is from 2007, is it still usable?
Another solution I found was to use a Copley drive and use their Copley Motion Objects and make reference to this program through Labview.
TLDR:
-What are the best practices for controlling a DC motor controller over a fieldbus?
- Which manufacters / systems are recommend (Maxon, Copley, ....)
08-18-2016 09:17 AM - last edited on 04-24-2024 11:05 AM by Content Cleaner
Hi LennartM,
I'm not as familiar with the SoftMotion side of things, so I'll let someone else address that. However, I can shed some light on the fieldbuses you've mentioned:
CANopen: We offer C-Series, PCI, and PXI hardware for CANopen. This hardware is supported by the NI-IndCom for CANopen driver.
EtherCAT: the EtherCAT driver requires a Real-Time master.
Kind Regards,
08-18-2016 10:43 AM - last edited on 04-24-2024 11:05 AM by Content Cleaner
Thanks for your response.
From what I understand it is also possible to use the USB 8473 (CAN) with CanOpen. But it has less features:
https://forums.ni.com/t5/Example-Code/CANopen-Basics-for-USB-8473/ta-p/3996128 But it is much cheaper than the PCI-8531 (1310 euros vs 430 ).
On the controller side: I contacted Copley drives but they don't have Labview support (although you can implement it yourself of course).
Maxon seems to have an instrument driver. But perhaps there are also other brands that offer some support?
08-22-2016 09:30 AM - last edited on 04-24-2024 11:07 AM by Content Cleaner
Hi,
Following information can be useful:
As mentioned above, the PCI-8531 with the NI Industrial Communications for CANopen looks as the most suitable and futureproof option. The USB solution has limited functionality and uses libraries which are not developed and/or supported anymore.
SoftMotion is not directly suited for CANopen, next page gives an idea which hardware is suitable with SoftMotion:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019PV1SAM&l=en-US
This tool might also be of help to get CANopen :
https://www.ni.com/en/support/downloads/tools-network/download.ingenia-motion-control-library.html
Of course, when you look into other possibilities (EtherCAT + Realtime platform) you have much more possibilities.
Following links are useful:
https://www.ni.com/en/support/documentation/supplemental/15/using-ethercat-motion-drives-with-ni-rea...
https://www.ni.com/en/support/downloads/drivers/download.ni-motion.html