Compactlogix - Trigger a Software Reboot

Is is possible to program a Compactlogix PLC (1769-L35E), to reboot itself (to do an equivalent power down/power up)?

We have a remote site, with a 1769-L35E PLC, which interfaces with 1769-L23E-QBFC1 plc.

However there seems to some issue with that interface link,, in that is leave multiple connections open, or something, and as a result when we tperiodically try to access the PLC using RSLogix5000, we get a pop-up, saying there are "no connections available" despite the fact that RSLinx (Classic Lite), can see the PLC.

The only way round it so far, is for someone onsite to physically power down/power the PLC, which clears or resets whatever is the cause of the problem, after which things are okay for a few weeks or months, before it happens again.

Does anyone know a way for the program the PLC, so that it can periodically reboot itself.
 
If you want the PLC to do it itself, get a timing relay with a pulse extender function. Wire the coil (trigger) to a PLC output and wire the PLC's power wire through an NC contact on the relay.

Or.....log into the webpage for the PLC/comm module and try to figure out what's going on and fix it. How are they interfaced? MSG instructions, Produce-Consume? If MSG instructions, you should monitor their status bits in the PLC to make sure they're active and working. Don't fire another MSG until the last one is DN.
 
Thanks, was hoping for a non-hardware "cut its own throat" solution, but will probably will have to.

Unfortunately cannot log into the PLC/Comm webpage to see what is going on. When it says no more connections it means that literally.
The HMI (Redlion G3-10) can currently talk to the PLC, but if the HMI is unplugged briefly, HMI won't be allowed to reconnect again, until the PLC is rebooted.

The two PLCs communicate using Produced/Consumed tags, using 3G mobile VPN link.
 
The 1769-L35E PLC's firmware is v.19, which was our highest level of firmware that we use for this CPU range.

Unfortunately the other PLC (1769-L23E-QBFC1) controls a 3rd-party's equipment, and is thus outside my scope of control.

Where is the cache connection on/off for Produced/Consumed tags?
 
Thanks, was hoping for a non-hardware "cut its own throat" solution, but will probably will have to.

Unfortunately cannot log into the PLC/Comm webpage to see what is going on. When it says no more connections it means that literally.
The HMI (Redlion G3-10) can currently talk to the PLC, but if the HMI is unplugged briefly, HMI won't be allowed to reconnect again, until the PLC is rebooted.

The two PLCs communicate using Produced/Consumed tags, using 3G mobile VPN link.
The problem doesn't show up right away, right? You may be able to see symptoms before it fails. Like lost packets or something. Try logging in to the web server as soon as you reboot the PLC.
 
Hard Reboot

[update: fixed mistaken copy-paste]
her journey from a poverty-stricken childhood in the Caribbean and years living unhoused, to pursuing her education and rising to become a NASA intern, which ultimately led to working at the space agency full-time.
As an onslaught of executive orders and directives signed by President Donald Trump sent federal agencies into a frenzy of program cancellations and mass layoffs, NASA's acting administrator Janet Petro began aligning the agency with the White House's new laws of the land.
 
Are you using EtherNet/IP capable industrial switch?
If so, it may be possible to temporarily disable the Ethernet port where the other PLC is communicating to cause all the produced/consumed communication to restart. This would require a MSG instruction to disable, and then another to enable again, the instance attribute 9 (Admin State) of Ethernet Link Object (Class ID 0xF6) and instance ID being the port number to which the other PLC is connected to the industrial switch. The service to be sent is SetAttributeSingle (Service ID 0x10).

1747687269934.png
 
Mark, I have found that it is possible to disable and enable Ethernet ports from the Logix program. So if your problem can be solved by stopping the communication between the two PLCs, you would not need an Ethernet capable industrial switch. Simply disable and enable the Ethernet port being used for the communication between the two PLCs. It works very well. I am using the path 2, 127.0.0.1, which is the "localhost" or the local IP address for, in this case, the Logix processor. It works very well. The program is below:
1747735988338.png
 
There is a message instruction, which we use to delete all sockets at once.
Maybe that would help you too? I dont know.

socket.png

Or maybe pausing, and enabling again the Ethernet Port?
4 = pause/disable
0 = enable
Enable disable.png
 

Attachments

  • Pause.png
    Pause.png
    6.4 KB · Views: 3
  • Pause.png
    Pause.png
    6.5 KB · Views: 3
There is a message instruction, which we use to delete all sockets at once.
This message will only delete custom sockets opened by the Socket Object
It will not touch anything else.
I would recommend to find a root cause instead of using a brute force method of cycling power.
You should monitor media couriers to make sure all stay at zero. I would suspect that FCS counters are increasing and this leads to the lockup.
 
This message will only delete custom sockets opened by the Socket Object
It will not touch anything else.
I would recommend to find a root cause instead of using a brute force method of cycling power.
You should monitor media couriers to make sure all stay at zero. I would suspect that FCS counters are increasing and this leads to the lockup.
Agreed. This is akin to technicians cycling power to a PLC, because a poorly written program "locks up". Fix the root cause, don't put a dirty bandaid on it.
 

Similar Topics

The following screenshot is from a step in a reset process. We have a set of rollers that are raised with a pneumatic cylinder when the output is...
9
Replies
1,471
Views
In the few examples that I have seen on AB's website, the MSG instruction is triggered continuously; as soon as it's done, it is re-triggered. It...
5
Replies
2,700
Views
Hello! First of all, I don't actually need to solve this, I am just extremely curious. A while ago I took over the program of a machine done in a...
5
Replies
282
Views
Hello, I am trying to use a rockwell controller enabled for OPC as a client to read data from a schneider plc with an OPC Server containing tags...
0
Replies
162
Views
2
Replies
188
Views
Top