How to Run Logic Code upon HMI Shutdown?

Twitch

Member
Join Date
Sep 2014
Location
MD
Posts
18
Hi,

I need to intercept the Shutdown action in my Factory Talk 7.00 HMI using Studio5000 21.03 ladder logic, so that I can ensure all power is removed when the application is shut down. We've learned the hard way that humans can't be trusted to do this themselves so we need a fail-safe method. :)

The built-in HMI 'Shutdown' button object doesn't use any connections. Any ideas on how I can intercept the shutdown request, run some logic, and then complete the shutdown any time a shutdown is attempted?

Tim
 
Create a Macro to set a bit in your PLC and Use the Shutdown Macro in the Startup folder.
 
Here is an approach, but it requires two button presses.

Create a Goto Display button that opens a dedicated shutdown display. The PLC monitors for this display number to open, and when it detects this one, the PLC initiates the power-down logic. When complete, it can then make the actual Shutdown Button visible via animation. The user would then have to press it to fully shut down the HMI.

There could be another "Are you sure?" button on that shutdown display before initiating the PLC power down logic. This would add yet another button press, though.
 
A watchdog sounds like a good idea.
What bit can you monitor to detect loss of communication?
 
You could assign a tag to Second in Global Connections to monitor. You'll find it under the Date And Time Tab.

From the Help File.

Capture.jpg
 

Similar Topics

I've to design logic for pumps in the pumping station. there are 7 pumps in the pumping station in which maximum 5 pumps would be running at...
Replies
2
Views
2,074
i need to display machine run time, i was looking for some canned logic for a run hour meter. rslogic 500 to pv 550.
Replies
10
Views
10,320
On GE VersaPro what is the instruction to use to run the ladder logic 20 rungs only instead of the entire 100 Rungs program? In Koyo PLC’s you...
Replies
1
Views
3,899
I'm looking to get some spare keys for this PLC. Does anyone know a source or have a part number? My searches are turning up nothing at the moment.
Replies
1
Views
64
I have a few questions about Studio5000. 1. Why is my RA folder so big? its well over 100 GB. 2. How do you delete versions or extra files...
Replies
3
Views
271
Back
Top Bottom