Philly Posted February 11, 2022 Report Posted February 11, 2022 Hi All, need some guidance on how to set up a logic in FC where; 1. Each time a ToggleAB is pressed, the resultant ToggleLED will toggle bet. ( On to Off status) or (Off to On ) for one time. Using Set/Reset(SR) function and |P| Pulse only possible? Thanks in advance! Cheers!
IO_Rack Posted February 11, 2022 Report Posted February 11, 2022 (edited) You are likely to get a lot of different answers to this post. Here is a discrete method that uses a lot of contacts but does not use any special instructions. I don't have Siemens software handy. Edited February 11, 2022 by IO_Rack 1
panic mode Posted February 11, 2022 Report Posted February 11, 2022 one thing important to add is that order of first two rungs is important. it is used to detect signal edge when button is pressed the next rung toggles the state. using XOR is efficient but in case it is not clear how that works, here is version using set/reset. note that in this case you cannot use output value to change output, you need to store it into some temporary bit first and use that. 1
Philly Posted February 11, 2022 Author Report Posted February 11, 2022 Appreciate the kind responses! Looking through and testing em.. :)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now