LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9881 module, MAX can't find the CANopen port.

Hi,

 

Please test again by following the instructions as follow.

1. Install the NI-IndComm for CANopen 18.0.0 to the target.

2. Plug the NI 9881 into the target and power the NI 9881 by the breakout box.

3. In the Project Explorer, right click the proejct and navigate to New --> Targets and Devices.

4. Add the device to the project with the Scan Inrterface mode.

5. Choose Continue if the Discovery Status dialog popup.

6. Expand the target in the project and right click the Real-Time Scan Resources.

7. Navigate to New --> C Series Modules.

8. Add the NI 9881 to the project.

9. Right click the NI 9881 in the project and click Deploy.

10. Try to run an example VI on the target, like CANopen Read Write CAN Frame.vi. If there is only one NI 9881, the CANopen interface is CANopen01.

11. You can find the the LED1 is green when the VI runs.

12. Also, you can find the NI 9881 in NI MAX.

 

Thanks!

0 Kudos
Message 11 of 23
(2,174 Views)

step10, i run open canopen interface and canopen interface close. it told me i should upgrade the firmware. Ok, then i copy the upgrade example to my project. when i run it, it told me i should check canopen module whether it is installed. Ensure i use the correct port name. i am sure ,i cannot find any port name in the MAX that is the problem.

0 Kudos
Message 12 of 23
(2,162 Views)

Hi

 

How did you supply the power of the 9881?

 

Thanks!

0 Kudos
Message 13 of 23
(2,150 Views)

12V low voltage,from additional power supply. Pin9 connect 12+, Pin6 connect 12-.

i have checked the power connection is good.

but for the CANopen module itself, i have never seen the two LED on.

0 Kudos
Message 14 of 23
(2,146 Views)

Hi

 

May I take it that you supplied a 24 voltage to 9881?

 

Thanks!

 

0 Kudos
Message 15 of 23
(2,129 Views)

no, 12V voltage. but from the manual, it can accept 9 voltage to 30 voltage. right now , i have tried the CANopen 1600 drive , also make no progress.

0 Kudos
Message 16 of 23
(2,126 Views)

Hi 

 

Could you plug in the 9881 to different slots and test again?

 

Thanks!

0 Kudos
Message 17 of 23
(2,098 Views)

Already done, i give this to NI official department. And they just updated the module. 

And i change the Xnet 1850 to 1800, and it works. Don't know which kind of job make it work.

0 Kudos
Message 18 of 23
(2,084 Views)

Hi,

 

I think I got a similar problem. When I try to run a simple VI to test the CANopen communication with one of my drives I get an error, stating that the "CANopen hardware cannot be found. ... You can get the port name in MAX." 
I have no idea where in MAX I get the CANopen port name. In MAX I only see the serial number, status, slot, hardware version and programming mode of the 9881. 

 

Programming mode is Real-Time (NI-Industrial Communications for CANopen). Status is available, hardware version H.

 

In your old answer you tell the NI9881 should be added to "Real-Time Scan Resources". I was unable to add it there, but it's added to "Real-Time Resources". Whats the difference? When I try to connect it to "Real-Time Scan Resources" I get an error message about incompatible software version. I use LV 2019, NI CANopen 19.0.0, NI CompactRIO 19.0

The two LEDs on the 9881 are OFF. The module is mounted to a cRIO9054. It's connected to the same power supply of 24 V at Pin 9 as the cRIO. Do I have to use separate PS or is it okay to use one for the chassis and the module? COM pin 6 is connected to GND. Pins 2 and 7 are connected to CAN-/CAN+ of the CANopen drive I want to communicate with.

 

Thank you!

0 Kudos
Message 19 of 23
(1,784 Views)

From I know, it is just the software version is incompatible. I really do not understand the logic for these kind of module. but i can tell you, you should make sure 2 points.

1. if you are in fpga model, you need complie a *new* FPGA vi, when it is running, you can find the port in the MAX. otherwise, you can't find it.

2. power supply should be always on.

if the module still do not work, try to connect the NI official.

 

don't forget the restart, it may helps. 

0 Kudos
Message 20 of 23
(1,769 Views)