Jump to content

Recommended Posts

Posted

How do I reset PLC faults from the HMI?

Example:

Unplug a cable link from the EtherCAT network. Entire EtherCAT network goes into a fault state in the OMRON PLC. 

1. Plug the cable back in. Comms not restored. PLC still in fault state.

2. Power Cycle the entire system. Same as #1 results.

Only way I know to recover from this particular is via fault resetting using SYSMAC STUDIO programming software. It would be sheer lunacy to allow a customer to do this in this manner. Anyone know how to do this (Reset these PLC Faults) via an HMI?

Cheers!

 

 

 


Posted

What HMI are you using?

On the NA series, I usually set one of the function buttons (the 3 buttons under the screen) to show the PLC Troubleshooter. This allows the operators to see the actual PLC alarms and fairly sure they can reset from here too (sorry, it's been a while since I used this). To do this, you go to "Global Events" in the HMI section of Sysmac Studio, "Select Event to Add" (then select the relevant button) and then "Select Action to Add" (Show Troubleshooter).

You can do the same with a button on the actual touch screen, under events and actions for that button.

Failing that, you can use the PLC function blocks "ResetECError" (for EtherCAT faults) or "ResetPLCError" (for PLC Faults), and trigger these by a boolean that the operator triggers from a button on the HMI. I assume these are available on the NX1P2 CPU's, I mainly use the NX102's, so couldn't tell you without creating a test program.

 

Now that said, all my experience with EtherCAT (mainly Danfoss VSD's and Omron PLC equipment) has been that once the cables are plugged back in comms is restored automatically (assuming all the settings etc are correct), everything just works and it doesn't need a reset. The only time this was not the case was when I had a faulty EtherCAT slave on the system, in which case it didn't reset and caused all sorts of drama. Replacing the faulty devices (there was 2 of them, just to be difficult) solved the problem. I describe it in a bit more detail in the PLC law post here. Don't know if you have something similar, but figured I would mention it just in case 🙂

 

Posted (edited)

There is a function block in Sysmac you can use to reset PLC errors called "ResetPLCError", we use that and the function block "ResetNXBError" and have it tied to a reset button on our HMI.

For EtherCAT errors use the FB "ResetECError"

Edited by TigerLily
Forgot to mention the EtherCAT error block
Posted (edited)

image.png.f0e89b6862f82cd12bfcf63aedf522ab.png image.png.6cf4743283cadb777fc56a29fee2e027.png

Edited by TigerLily
the program I took a screen shot from didn't have EtherCAT, you will want to also use the ResetECError FB
  • Like 1
Posted

Be, TigerLily, thank you both!

Appreciate your help. This is my first ever Omron platform that I have programmed with. I am using a Maple systems (Weintek) CMT series HMI. Boolean bit reset will work in my case to reset the PLC from the HMI. For some reason or another, unplugging and plugging back the EtherCAT cable does not automatically recover EtherCAT communications.

Thanks again for the help. Now how do I mark this thread as solved?

Cheers!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...