Daniel81
Member
Hello I am new to PLC programming.
The problem I have is this,
I am writing a program for a garage door. When the door has completed three operations (Up/Down = one operation) it is supposed to be locked out.
The door has an upper and lower normally closed magnetic switches.
The door must start in the down position.
The issue is when the door is down before it has done any operations the up counter counts this as one.
I am trying to use a latch and unlatch but I cannot get around this problem.
Any assistance would be most appreciated.
The problem I have is this,
I am writing a program for a garage door. When the door has completed three operations (Up/Down = one operation) it is supposed to be locked out.
The door has an upper and lower normally closed magnetic switches.
The door must start in the down position.
The issue is when the door is down before it has done any operations the up counter counts this as one.
I am trying to use a latch and unlatch but I cannot get around this problem.
Any assistance would be most appreciated.