Canterbury

Acknowledged bit from NA to NJ

3 posts in this topic

I am new to Omron Sysmac Studio.
I know how to raise and clear an alarm in a bit of the PLC, and view and acknowledge it in the HMI.
I need to write a bit in the PLC when the alarm is acknowledged from HMI, i can do it with the event Acknowledged of each single alarm, but i don't want to write thousands of different expression.

Is it possible to write the event acknoledged in an array using as index a variable related to the alarm?

Something always the same for all alarms, like a variable array TAG_LIST_ACK(INDEX_ALARM) with the variable INDEX_ALARM a pointer to the single alarm.

Edited by Canterbury

Share this post


Link to post
Share on other sites
On 6/29/2021 at 6:05 AM, Canterbury said:

I need to write a bit in the PLC when the alarm is acknowledged from HMI

How about writing a bit from the PLC to the HMI to acknowledge?

This would mean changing your HMI button from "Acknowledge" function, to a bit that will "Reset" the alarm in the PLC. If the "Reset" is successful, then create a Global Event in the HMI to "Acknowledge".

Share this post


Link to post
Share on other sites

Make variables in the PLC, map them in the HMI, and the same button you make ack the alarm, make it also set a bit.  Then in the PLC program, when the bit comes on, do what you want and then reset it...

Share this post


Link to post
Share on other sites

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