12-23-2019 02:12 AM - edited 12-23-2019 02:16 AM
Hi,
We are developing an application with multiple cRIO's that do a combination of mixed I/O (CAN, CANOpen, LIN, analog in, digital in, digital out).
The cRIO's are in scan-mode (we don't want to create FPGA-code, and don't want to go through the compiling-process).
Now I am looking into the CANOpen part (I have experience with CANOpen on PCI/PXI RT).
- I have a NI 9860 (dual CAN/LIN module) available, but apparently the CANOpen toolkit (to do CANOpen on top of CAN) is only working with legacy CAN-driver and not with the NI XNET-driver that I am using on cRIO? I there another way to do CANOpen with this module?
- If there is no way to do CANOpen with this module, then I suppose the best module would be the NI 9881 (C-series CANOpen Interface module). However is it possible to use this module in scan-mode? So I mean without programming the FPGA? All examples seem to use the FPGA.
Some more details: I am using LV 2018(RT), a cRIO-9047 controller/chassis.
Kind regards,
Thomas.
Solved! Go to Solution.
12-24-2019 04:38 AM - last edited on 11-15-2024 04:31 PM by Content Cleaner
Hello,
I am not sure if I understood your issue completely, but I would like to refer to few link which should provide the answers:
1. https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6yhSAC&l=en-US [Additional Information at bottom]
2. https://www.ni.com/en/support/documentation/supplemental/08/c-series-module-and-compactdaq-compactri... [Section 2. CompactRIO (cRIO) Compatibility with C Series Modules, please also see foot note 3 for NI 9881]
Please let me know if you need anything else.
________________________________________
Muhammad Kamran Ayub
Staff Technical Support Engineer | Platforms & Systems
Certified LabVIEW Architect (CLA) | Certified TestStand Developer (CTD)
National Instruments UK & Ireland
01-06-2020 08:57 AM
Hello,
Using a module which is NI XNET Supported but not CANopen:
Since NI-XNET hardware is not compatible with the NI-Industrial Communications for CANopen driver, you would need to build the application layer from scratch on top of the XNET driver. This would require extensive knowledge of the CANopen protocol and is not something that National Instruments would be able to support. Therefore, it is highly recommended to purchase a dedicated CANopen module to implement this protocol.
For CanOpen NI-9881:
I believe this is the best option. We have to use module in FPGA mode. All we have to do is to compile a blank FPGA file and start using RT based APIs. In example finder, you shall be able to find "Canopen cRIO FPGA Compile Instructions.vi". Please read the instructions on front panel comment. You might have to use hybrid IOs mode concept when using FPGA mode.
Please let me know if you have further questions. Thanks
________________________________________
Muhammad Kamran Ayub
Staff Technical Support Engineer | Platforms & Systems
Certified LabVIEW Architect (CLA) | Certified TestStand Developer (CTD)
National Instruments UK & Ireland
01-06-2020 08:59 AM
Okay,
thank you very much for your answer!