Hello, I'm working on a PLC program and I need to set different memmories, in order with the same button.
The thing is that when the user clicks a button M1 should set to 1 if M2, M3, M4 and M5 are not in 1, the if the user clicks the button again M2 should set to 1 if M1 is on 1 and M3, M4 and M5 are not in 1, and so on.
I attach a copy of what I'm trying to implement, the ONB is my button and the others are the memories I want to set to 1. I couldn't attach the memories, but I think you can get an idea.
I thought this would work, but with the speed of the PLC I get all the memories to 1 with the same click of the button, can anyone help me?
Thanks
Juan
The thing is that when the user clicks a button M1 should set to 1 if M2, M3, M4 and M5 are not in 1, the if the user clicks the button again M2 should set to 1 if M1 is on 1 and M3, M4 and M5 are not in 1, and so on.
I attach a copy of what I'm trying to implement, the ONB is my button and the others are the memories I want to set to 1. I couldn't attach the memories, but I think you can get an idea.
I thought this would work, but with the speed of the PLC I get all the memories to 1 with the same click of the button, can anyone help me?
Thanks
Juan