TL;DR version = I built something im proud of after raging and blowing up my test area...
So basically, We have a portcullus on our perimiter wall, right now it has 2 buttons inside, 2 buttons outside ( open and close). I really hate that setup so I decided to make it work with a lever. 1 inside, 1 outside. sounds easy? I thought so too, but actually it ended up being a major pain. here is why:
1) signal needs to pulse like a button so pistons will activate, pushing gate up or down, then retract again out of the way
2)levers need to work independently! so one lever doesn't lock out the system if its not in the right position
3)Keeping #2 in mind the signal has to alternate between the opening piston assembly, and the closing piston assembly so one pull of EITHER lever will achiev either open or close of gate, no double clicks is what i was after ( it would have bothered me)
At this point i thought, ehh a little tricky, but fairly simple to do! Again I was wrong, after a couple hours of beating my head against the desk, getting mad. and then..
Boom! blowing up my project area with TnT and feeling much better!
But i did come up with this after the explosions
Basically: (redstone signal travels right to left)
1) the Blue wool is where my levers are, pull either lever and signal turns off then on regardless of the other lever. this is handled by the first 3x6 set of blocks beside levers.
2) Signal travels to the Alternator if its powered, the signal goes to the top row in pic, if not it goes to bottom row in pic
3) the matching sections of blocks next to the pistions are my pulsers, when they receive power the send out a pulse signal ( same as a button would) which powers then unpowers the piston
4) (pistons are taking place of my actual gate mechanism on the server) one goes up, then down. flip any lever, the other one goes up and down!
The funny thing is the 3 block "altenator" is what ultimatly kicked my ass ( yellow wool in middle) I tried some pretty elaborate ideas to achiev something that turned out to be so simple to do. including an elaborate latching system with aditional pistons to make and break redstone circuitry ( the failure of resulted in my TnT rage)
so there it is, this what i did during server down time. will implement this to my gate this weekend sometime
I am in NO WAY a redstone expert
i just love messing with it