Hi guys,
after some time (I was busy passing exams) I'm back to PLC programming.
I'm trying to write a simple ladder program to control a garage door.
There are two limit switches Limit_Up and Limit_Down to signal door's final
positions, two buttons: Up and Down and two outputs: Moving_Up and Moving_Down.
I manage to do something (in pdf document) but I have problem. I want following behaviour:
when door is moving up and user press button down door will stop and when he (she) press
button down again then the door will start moving down. As you can see in my example if
door is moving up and down is pressed door immediately start moving down which is not
what I want.
Can you please help me by giving advice how to find solution. I was thinking to introduce
another state - stopped but not sure if that's way is done in real world.
Please help
Thanks in advance
after some time (I was busy passing exams) I'm back to PLC programming.
I'm trying to write a simple ladder program to control a garage door.
There are two limit switches Limit_Up and Limit_Down to signal door's final
positions, two buttons: Up and Down and two outputs: Moving_Up and Moving_Down.
I manage to do something (in pdf document) but I have problem. I want following behaviour:
when door is moving up and user press button down door will stop and when he (she) press
button down again then the door will start moving down. As you can see in my example if
door is moving up and down is pressed door immediately start moving down which is not
what I want.
Can you please help me by giving advice how to find solution. I was thinking to introduce
another state - stopped but not sure if that's way is done in real world.
Please help
Thanks in advance