ORSO2001 Posted May 26, 2016 Report Share Posted May 26, 2016 Dear All, after I have "studying" your example about the alarms management I have created my function with "alarms actual" and "alarms history"; at the beginning I created a loop to check if an alarm is present in "actual" and reset the row after transfered it to "history"...it worked. In the next step I added a BIT check (image 1) to verify if the alarm was reseted by the device that I have to controll with the PLC...and if it still present do as set (reset row and transfer) and add a "note" in other DTI...if it was already reset do only what was set (reset row and transfer). after this modification the loop doesn't work anymore...works only for the first row detected with an alarm...I checked and I found that the BIT highlighted in GREEN, in the immage 2, is set in rung 1 but is not reset in rung 2 (at the end of the row). I done a lot of test and modifications...at the end I had to insert a reset and a timer ON of 15 ms (image 3a) to do the reset action of it...in this way it works....only reset without the timer doesn't work. In this case the BITs that I used are "global" and are used only in this function; are present only in two rungs (set, contact, reset) Some suggestions? thanks Quote Link to comment Share on other sites More sharing options...
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.