Hello!
First time using this site, I hope It's okay if I ask programming related questions here.
I have a problem with a project I'm making in PCWorx. I'm using the ladder method to program.
What I need to do is have a garage door move up and down, this is done with one pushbutton as input S1 , and two contactors K1(down) and K2(up) as output.
the garage door starts in rest, so it is not moving, then the user presses the pushbutton(S1) and the garage door moves down(K1), press (S1) again, and the garage door stops moving, press once more (S1) and the garage door changes direction and goes up(K2).
I've tried and tried and searched the web and asked friends for advice, and I just cannot get it working like that. I can't figure out how to program it so it could work like that, I'm not even 100% sure if it's possible. I might have to settle with another method if it's not possible.
Anyone have an idea of how I could solve this or point me in a direction where I might find an answer ? or is this simply not possible ?
Thanks!
First time using this site, I hope It's okay if I ask programming related questions here.
I have a problem with a project I'm making in PCWorx. I'm using the ladder method to program.
What I need to do is have a garage door move up and down, this is done with one pushbutton as input S1 , and two contactors K1(down) and K2(up) as output.
the garage door starts in rest, so it is not moving, then the user presses the pushbutton(S1) and the garage door moves down(K1), press (S1) again, and the garage door stops moving, press once more (S1) and the garage door changes direction and goes up(K2).
I've tried and tried and searched the web and asked friends for advice, and I just cannot get it working like that. I can't figure out how to program it so it could work like that, I'm not even 100% sure if it's possible. I might have to settle with another method if it's not possible.
Anyone have an idea of how I could solve this or point me in a direction where I might find an answer ? or is this simply not possible ?
Thanks!