stuartlowery
New Member
I believe this should be so simple I should be slapped but this has stumped me.
Scenario.
2 input buttons 1 step up and 1 step down
4 outputs
Operation
outputs : description
1 On 2 Off 3 Off 4 Off : state at power up
1 Off 2 On 3 Off 4 Off : state after Input 1 is pressed and released
1 Off 2 Off 3 On 4 Off : state after Input 1 is pressed and released again
1 Off 2 On 3 Off 4 Off : state after input 2 is pressed and released
So label Input 1 as up and 2 as down
When pressing up or down it needs to only take one step not step after step until released.
When it reaches 4 it cannot go up any further so it stays in that state.
Same when going down and reaching 1 stop and go no further.
Outputs will be powering relays.
Any ideas?
Scenario.
2 input buttons 1 step up and 1 step down
4 outputs
Operation
outputs : description
1 On 2 Off 3 Off 4 Off : state at power up
1 Off 2 On 3 Off 4 Off : state after Input 1 is pressed and released
1 Off 2 Off 3 On 4 Off : state after Input 1 is pressed and released again
1 Off 2 On 3 Off 4 Off : state after input 2 is pressed and released
So label Input 1 as up and 2 as down
When pressing up or down it needs to only take one step not step after step until released.
When it reaches 4 it cannot go up any further so it stays in that state.
Same when going down and reaching 1 stop and go no further.
Outputs will be powering relays.
Any ideas?