Reader small image

You're reading from  Mastering PLC Programming

Product typeBook
Published inMar 2023
PublisherPackt
ISBN-139781804612880
Edition1st Edition
Right arrow
Author (1)
Mason White
Mason White
author image
Mason White

M.T. White has been programming since the age of 12. His fascination with robotics flourished when he was a child programming microcontrollers such as Arduinos. M.T. currently holds an undergraduate degree in mathematics, a master's degree in soft ware engineering, and is currently working on an MBA in IT project management. M.T. is currently working as a soft ware developer for a major US defense contractor and is an adjunct CIS instructor at ECPI University. His background mostly stems from the automation industry where he programmed PLCs and HMIs for many different types of applications. M.T. has programmed many different brands of PLCs over the years and has developed HMIs using many different tools.
Read more about Mason White

Right arrow

Alarm acknowledgment

If you’ve noticed, thus far, when you throw an error alarm, the text doesn’t go away, whether it be an alarm in the banner or chart. This is because error alarms must be acknowledged. Essentially, if you throw an error, an alarm will be present, at least in text, if you do not acknowledge the alarm. An acknowledgment is basically a confirmation that an operator has seen the alarm and has decided to clear it. No matter whether you’re using a table or a banner, you will clear alarms in the same way.

In short, there is an acknowledgment field that holds a variable. When the variable is true, the text in the alarm display will clear out. For our example, we are going to add a button to the HMI. In short, your HMI should be modified to look like the following:

Figure 14.31 – HMI with Ack button

Figure 14.31 – HMI with Ack button

Once you add the button, add a variable called ack of type bool to the PLC_PRG file. We’re going to want to...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PLC Programming
Published in: Mar 2023Publisher: PacktISBN-13: 9781804612880

Author (1)

author image
Mason White

M.T. White has been programming since the age of 12. His fascination with robotics flourished when he was a child programming microcontrollers such as Arduinos. M.T. currently holds an undergraduate degree in mathematics, a master's degree in soft ware engineering, and is currently working on an MBA in IT project management. M.T. is currently working as a soft ware developer for a major US defense contractor and is an adjunct CIS instructor at ECPI University. His background mostly stems from the automation industry where he programmed PLCs and HMIs for many different types of applications. M.T. has programmed many different brands of PLCs over the years and has developed HMIs using many different tools.
Read more about Mason White