Guest Roger Posted May 8, 2003 Report Posted May 8, 2003 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 Quote
Moggie Posted May 8, 2003 Report Posted May 8, 2003 Hi, What model PLC do you want this "alarm" detection for? What words have you programmed for alarms (and how!)? regards Steve Quote
Guest Roger Posted May 8, 2003 Report Posted May 8, 2003 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. Quote
Moggie Posted May 9, 2003 Report Posted May 9, 2003 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 Quote
Recommended Posts
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.