07-04-2007 04:11 AM
07-04-2007
04:58 AM
- last edited on
02-11-2025
10:08 AM
by
Content Cleaner
NI sells a CANopen library but according to this comparison table, it is not supported by your device.
Although I have developped several CAN applications, I have never used CANopen. Therefore I don't know if your application may be coded without this library. Sorry to not be able to give you a better answer but I would at least mention above information.
07-06-2007 11:27 AM
It should be easy to write and read these three commands. The problem is you need to calculate the correct COB ID (Basic CANopen ID + NodeID -1) and you need the Index and Sub Index Values for the Object Dictionary for your Festo Device. Then you could use the basic Frame API Examples like "Transmit and Receive same Port".
The USB device cannot handle object, therefore you have to use the Network interface Object.
See the attached example for a basic solution.
DirkW
07-12-2007 01:37 AM
04-02-2009
03:55 PM
- last edited on
02-11-2025
10:09 AM
by
Content Cleaner
Hello there,
I am new to CAN, and I am trying to implement another Festo tool (an AC motor controller) which accepts CANopen protocol. I have a USB-8473 to communicate with the controller by using Labview program. I downloaded two SDO (read only) and PDO (read and write) examples available on the following link from the NI website.
https://forums.ni.com/t5/Example-Code/CANopen-Basics-for-USB-8473/ta-p/3996128
The problem is I can just use the SDO example to read some parameters from the controller, and I do not know how I can implant the PDO example to change controller’s parameter. This code use T-PDO (Index: 0x1800 and 0x1801) to read and write data. But I do not know how I can first insert a data and then transfer it to a specific object like “controlword” (Index: 0x6040 sub:0x00) in order to enable the controller.
I hope you can help me.
TIA,
Roozbeh
08-30-2012 04:01 AM
Hello all,
I am looking for some help. We recently got a oriental motor with a canOpen interface. I have used canOpen in the past and had great success with it (With the canopen toolkit) we are not so luck this time round. I have attached the code I have used (Thanks to DirkW and all for the posts) and I can get the SDOs first try but the PDOs are proving very hard. I have read up on the CanOpen and think its my code rather than the hardware can I please ask some one to review and see if the Code is used correctly to read the 2066h motor position index via PDOs. It works off the bat from the SDOs but not so well with the PDOs I have checked the basics like the RX and TX CodIDs (180h + node id and 200h + node id as per the manual) and still no success.
I have attached the code and inside is the VI called Oriental PDO read position.vi and the Manual the vendor supplied.
Cheers In advance
Rob