I have 2 sets of pistons (arrangement doesnt really matter for my question). Set A and Set B we will call them.

When a switch is thrown, Set A needs to retract first then Set B extends. When the switch is thown the next time, Set B needs to retract first, Set A needs to extend second.

So basically you have one that goes first, then the next time around goes second. I assume this can be accomplished by some logic gate or another, but I don't know which.

1

I have 2 sets of pistons (arrangement doesnt really matter for my question). Set A and Set B we will call them.

When a switch is thrown, Set A needs to retract first then Set B extends. When the switch is thown the next time, Set B needs to retract first, Set A needs to extend second.

So basically you have one that goes first, then the next time around goes second. I assume this can be accomplished by some logic gate or another, but I don't know which.