LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO Ethercat Expansion 9145 - Variables not shown

Hello,

 

I have a cRIO 9045 connected to a expansion 9145 with Ethercat 

I've added the Ethercat Master successfuly in the project.

project.png

 

But When I try to read the variables from my RT .vi the variables from the NI 9145 are not read.

I made a sample .vi from what I'm doing:

Block diagram.png

front panel.png

 On RSI module constant control I can find the all the modules from 9045 and 9145, when I click in one module from 9045 I can see all the variables on "All Variables" indicator, and all the other indicators have data on.

When I select one from the ethercat master 9145 the "All Variables" array has some blank cells and the other indicators remain in the same state not changing to the expected state.

 

One thing noticed, is that in "All Variables" when selecting the chassis 9045 modules i get eg: "ni.var.io://localhost/Mod1/RTD0"

I am questioning myself if I should not have the IP of the main chassis has my .aliases file is configured and not localhost.

aliases.png

On the URL of RSI module control to find the desired crio module has the name of the cRIO:

frajocosta_0-1725491154611.png

 

I did this sample .vi to try to debug and I think it indicates that the issue with ethercat module and not from anything else on the project.

 

Note: the main project was working properly before, I deplyed a version with a small change but was a project that was not well configured without the ethercat master, I then added the module and the program was not working properly...

 

Does anybody has a clue?

 

Thank you!

 

0 Kudos
Message 1 of 3
(110 Views)

An update on the issue, I've replaced RSI module property node by I/O Variable Container property node, and now all the modules from Ethercat master are shown. But, can't still activate the I/O's from the 9145 card. ON NI Distributed system manager I can also see the ethercat master and all its modules and I/O's but also can't set/read any I/O.....

0 Kudos
Message 2 of 3
(70 Views)

I am going for a monologue!

 

Facts:

 

- Previously the project was running ok.

- I've deployed a project without ethercat on the project.

- Made the change on the project as per above and NI9145 stopped working and I/O's are not read or activated.

- No hardware changes.

- No Software changes on cRIO

 

Now I'm wondering if my pc LV2023 Q3 is incompatible with LV2023 Q1 from the cRIO (also ni ethercat)...

BUt I think I didn't update my LV since my last successful deploy...

 

Any ideias?

 

0 Kudos
Message 3 of 3
(57 Views)