Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to manually boot a cRIO into Install Mode in MAX?

I have been using a cRIO 9082 as an EtherCAT Master.  In order to do this, I had to change the 2nd Ethernet adapter to EtherCAT.  The only way that MAX allowed me to change the adapter settings was in Install Mode and the only way I could figure out how to get it into this mode was by starting the Add/Change Software and changing a piece of the software, then canceling after it rebooted the cRIO into Install Mode.  I'm currently writing a company document so that others can set up a cRIO as an EtherCAT Master and I feel like there has to be a better way to boot into Install Mode other than this.

 

If the cRIO is just "Connected - Running" in MAX, it keeps "Checking the target for permissions" (this might be due to some firewall settings that my computer has that I cannot change) and never populates the Network Settings and if I boot it into Safe Mode, changing the adapter to EtherCAT is not an option on the drop down.

 

Is there an easy way to boot the cRIO into Install Mode?

0 Kudos
Message 1 of 16
(7,543 Views)

Hi Emily,

 

When we install software to cRIOs we put them in safe mode. The status will read as different things such as Safe Mode (user directed), or Install Mode, but the behavior should be the same. Could you attach some screenshots of the differences in behavior you're seeing in safe mode, install mode, and connected and running? 


Thanks

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 2 of 16
(7,528 Views)

 

System Settings-Running.png

The two screen shots to the right are when the cRIO is running normally.  Under the Network Settings, which I need to change, nothing shows up.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Network Settings-Running.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

System Settings-SafeMode.png

The two screen shots to the right are when the cRIO is in Safe Mode (User Directed).  For the second Ethernet adapter, I do not have the option to set it to EtherCAT.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Network Settings-SafeMode.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

System Settings-Install.png

The two screen shots to the right are when the cRIO is in Install Mode.  This is the only way I've been able to change the second Ethernet adapter to EtherCAT.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Network Settings-Install.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 Kudos
Message 3 of 16
(7,522 Views)

Hi Emily,

 

I was able to test this with an NI 9082 as well and when the controller is booted into Safe Mode, the Ethernet adapter mode will not allow EtherCAT; however, when the controller is running, the EtherCAT option is available. It is recommended that you change the settings while the controller is operating properly. Also, please verify that you have the NI-Industrial Communications for EtherCAT installed on the Compact RIO. It is not recommended to boot into Install Mode, especially by canceling out of software installation. Do you have the option to boot while the device is Running? I hope this helps!

 

Untitled.png

Tannerite
National Instruments
0 Kudos
Message 4 of 16
(7,504 Views)

I do have the NI-Industrial Communications for EtherCAT installed on the cRIO.  And when it is running, it never fully loads the "Network Settings" tab.  While running, the Network Settings tab never fully loads.  The two screen shots below are the only screens that it shows.  I've let this run for over an hour (and tried logging into the cRIO as admin, I'm not sure if they're related, but I thought I'd give it a try), but it never gets past that stage.

 

 

 

When I first connect to the cRIO with MAX, this is what shows up in the Network Settings.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 Network Settings-Running.png

 

 

After running for a while, it will eventually get to this screen, but I've never seen it go past this.

0 Kudos
Message 5 of 16
(7,498 Views)

Sorry, the first screen shot didn't post. Here it is:

 

Searching.png

0 Kudos
Message 6 of 16
(7,496 Views)

Hi Emily,

 

The fact that you're not seeing anything in the Network Settings tab while connected and running leads me to believe that you are not fully and properly connected somehow. In your first post you mentioned firewalls. If at all possible you should bring down any firewalls in order to facilitate communication with the cRIO. Also, have you made sure your subnet mask, and your subnet (the first three numbers of your IP XXX.XXX.XXX) match that of your computer? How are you connected to your cRIO? Is it connected directly through an Ethernet crossover cable, or is it connected through a router? These are common things that will cause errors with cRIO communication. While you're cRIO is powered on does the status light on it blink, is it lit continuously, or is it off? Finally can you tell me what versions of NI-RIO and LabVIEW Real-Time you have on your host computer and your cRIO? 

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 7 of 16
(7,474 Views)

The OP is a colleague of mine at a different facility.  I helped with their initial setup awhile back but haven't seen much since.  As described in the thread below, we've had firewall issues before(and still do).  I'm fairly confident our corporate firewall is blocking some or all UDP traffic, despite opening the ports officially listed by NI.  Our IT has a partial solution now but I still think there's undocumented ports being used.  We(individual engineers) do not have the ability to disable the firewall in any way, only request specific ports be opened for specific programs.

 

Without knowing the inner workings of MAX, I suspect the dropped UDP are at fault here.  Can NI please update the official list of ports that need to be opened?  And don't say open everything, that is simply not an option.

 

http://forums.ni.com/t5/Real-Time-Measurement-and/cRIO-in-MAX-Firewall/td-p/2065334

 

BTW Emily, this is Brad if you didn't know.


--Using LV8.2, 8.6, 2009, 2012--
0 Kudos
Message 8 of 16
(7,465 Views)

Hi Brad,

 

Have you already seen this KnowledgeBase http://digital.ni.com/public.nsf/allkb/CEF5A3568A5DA71D8625732800520EA1?OpenDocument then? I believe that list is up to date, but if you've opened all the relevant ports and are still having issues I can investigate whether some of these port numbers might be outdated. Unfortunately, I can't guarantee you a timeline of when all of this information will be updated if it does in fact need to be updated. 

Miles G.
National Instruments
Staff Applications Engineering Specialist
0 Kudos
Message 9 of 16
(7,446 Views)

Yes, that was my starting point.  We've already found several other ports not listed there that are apparently being used, hence my frustration with documentation.  If you search the forums you find a few other threads on this, tried everything I could find here.


--Using LV8.2, 8.6, 2009, 2012--
0 Kudos
Message 10 of 16
(7,444 Views)