doctorvetro Posted September 19, 2022 Report Share Posted September 19, 2022 I set an output on using a set coil when i have an alarm I use a reset coil to turn off the output. I cannot get the output to go back to on when the alarm goes away. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted September 19, 2022 MVP 2022 Report Share Posted September 19, 2022 It would be best to see your project, but offhand I would try using a Negative transition of the alarm bit to Set the output. It might look something like this: Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted September 20, 2022 MVP 2022 Report Share Posted September 20, 2022 There is a bit of a problem here, because the output may not be activated, and the user simply pressed and released the alarm button and everything accidentally started. Therefore, using the state machine known on the local forum, I simply turn off the required outputs with an alarm bit and when the danger has passed - everything returns to the state as before the alarm. That is, an unactivated bit is not accidentally activated Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted September 20, 2022 MVP 2022 Report Share Posted September 20, 2022 4 hours ago, kratmel said: There is a bit of a problem here, because the output may not be activated, and the user simply pressed and released the alarm button and everything accidentally started. Therefore, using the state machine known on the local forum, I simply turn off the required outputs with an alarm bit and when the danger has passed - everything returns to the state as before the alarm. That is, an unactivated bit is not accidentally activated kratmel is absolutely correct. As I mentioned, we really need to see your project to understand what you're trying to do. The simplest method that solves kratmel's concern is the following: Quote Link to comment Share on other sites More sharing options...
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.