Jump to content

Sample Alarm Code


Recommended Posts

Guest Roger
Posted
Does anyone have some sample plc code for something similar to this:Check for new alarm, keep alarm until acknowledged even if alarm goes away, after alarm acknowledged and goes away watch for new. I have several words of alarms. Thanks
Guest Roger
Posted
This is a S7-413-2DP. DB106.DBW0 - 99 are the alarm bits being turned on (not set). DB106.DBW100-199 are the ACK. bits.
Posted
Roger, can you give me more information or send me your code? Are you using an HMI ? To keep the alarm present then you really need to set the bits on alarm condition. This is simple ladder code. Then check all the bits in the alarm area for any bit changing state; ie: going high ? Once set then the equivalent ack area bit being set could act as a reset? this is only a suggestion, if you send more details then I will try and help you. Steve

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...