Is it possible to have a large repeater, that executes one action (Extend a piston or something), then after a time delay undos that action (Retracting that extended piston), then having the repeater after a time reach another destination where it does the same thing (Extend, delay, Retract, continue), and then eventually redo the original action?
Essentially having it so that Piston A is out for say 5 seconds or so (Or 'ticks' although I still don't know how long a 'tick' is), then goes back in. Then 5 seconds/ticks later Piston B goes out, stays out for 5 seconds, then goes back in. Then 5 seconds/ticks later restart the process with again with Piston A?
So far I have managed to make it so that Piston A extends, delay, Piston B extends, delay, Piston A retracts, delay, Piston B retracts, delay, repeat.
Edit: Ok realized that my retracts/extends were off. Piston B Retracts THEN Extends. Piston A Extends then Retracts. When one is extended the other is retracted, and reverse.
Is it possible to have a large repeater, that executes one action (Extend a piston or something), then after a time delay undos that action (Retracting that extended piston), then having the repeater after a time reach another destination where it does the same thing (Extend, delay, Retract, continue), and then eventually redo the original action?
Essentially having it so that Piston A is out for say 5 seconds or so (Or 'ticks' although I still don't know how long a 'tick' is), then goes back in. Then 5 seconds/ticks later Piston B goes out, stays out for 5 seconds, then goes back in. Then 5 seconds/ticks later restart the process with again with Piston A?
It's very possible with something like this. Just adjust the length of the repeaters to your liking.
Testing it out it looks like it's a good way to start and then stop Piston A, but what about getting it to go to Piston B, On/Off, then back to piston A?
Edit; Adjusting the given design a bit, I am able to get it so that Piston A Extends, delay, Piston A Retracts/Piston B extends, delay, Piston B Retracts/Piston A Extends. But is there a good way to get a delay between the two events? (Piston A Retracts, delay, Piston B Extends, delay, Piston B Retracts, delay, Piston A Extends, delay, etc?)
Repeaters can delay or store a pulse between 1/10 to 4/10 a second. So 5 seconds * 10 ticks = 50 ticks. 50/4 = 12 full repeaters and 1 set to 2 ticks.
The pattern you are describing sounds like a simple clock. Imagine an 'on' signal that is 5 seconds long traveling in a loop of repeaters. When the pulse is in one side of the loop the other side is off. You can take an output of any point in the clock you like and when the on signal passes by that output will be on for as long as the pulse is there.
This may help you to see it... I made what you described in a 2 second loop with about a 1 second 'on' pulse
Clock off. 9/10 second pulse stored up (repeaters that are on):
Clock on, pulse is allowed to flow. Top output is is active and held on while the pulse is there.
Pulse has passed by the first output, and is now supplying power to the second output.
The pulse will loop around that circuit until you stop it.
Edit:
Just saw your edit. Can you post what you are trying to build? Are you doing a double piston extend and retraction, so need a reversible circuit to time that?
Then loop that, so it is continuously extending to its limit, holding there, and then retracting?
Edit:
Just saw your edit. Can you post what you are trying to build? Are you doing a double piston extend and retraction, so need a reversible circuit to time that?
Then loop that, so it is continuously extending to its limit, holding there, and then retracting?
Sadly I don't understand the now bolded section of your post, but here is the basics of what I have currently (In actuality the some portions are a bit more complexed, but can be summed up as I have it)
I have a clock (Think that's the right name for it but it has been a long weekend for me so I may have the wrong name) that activates piston A, extending it. After a time, piston B retracts. After a bit of a delay, piston A retracts. Then again after a delay, piston B extends. And repeat. This is not what I want to happen. T
he reason why this is happening seems to be that I've somehow gotten it wired so that power reaches Piston A, extending it. this power then follows repeaters/inverters/whatnot until after a time it reaches Piston B, retracting it. The power then follows the inverters/repeaters, turning off the power to Piston A, retracting it, and then once again the lack of power extends Piston B (There is an inverter between the power from A to B which is why that happens)
What I would like to happen is this (With Piston A starting retracted and Piston B starting extended):
Piston A extends. Delay. Piston B retracts. Delay. Piston B extends. Delay. Piston A retracts. Delay. Piston A extends. Delay. Piston B retracts. Delay. Piston B extends. Delay. And etc etc etc.
I can send you some screenshots or a quick video of what I currently have (Or if you really need it the map file) via pm if that'll help
Pffffft soooo As it turns out it is extremely hard to take pictures of this in such a way that it is in any way understandable what is going on. Would it be alright with you if I just send you the save file via mediafire or something? Edit; The save does have nothing on it except for my various attempts at what I'm working on (The original of which almost worked, but then I somehow broke it... the newer which is much cleaner overall) and some experiments with pistons/repeaters/burning mushrooms (Which dont burn as it turns out)/etc
Have to be heading off for the night so I pm'ed you the link (Actually just rechecking quickly before I go head to bed just in case there were any replies and just saw your reply now), I did place an arrow above it so you knew what was the area in question. Labeled the pistons and where their effects were inside, in case that helps.
What I would like to happen is this (With Piston A starting retracted and Piston B starting extended):
Piston A extends. Delay. Piston B retracts. Delay. Piston B extends. Delay. Piston A retracts. Delay. Piston A extends. Delay. Piston B retracts. Delay. Piston B extends. Delay. And etc etc etc.
Delay assumed 5 seconds, but it is adjustable (just expand the clock).
The system components:
RS Nor latch to power/depower piston A
RS Nor latch to power/depower piston B
5 Second Clock
4 output self resetting counter.
Each output of the counter connects to the inputs on the piston RS nor latchs (each one has a set - on and reset - off input).
Running the system -
Instal state Piston A retracted. Piston B extended. If this is not the state the system will function fine and after one cycle through the counter all the states should be back to the desired state.
Clock starts (pull lever). Power loops around until it hits the pulse limiter.
Pulse limiter sends pulse to counter -> output one is activated -> Pulse is generated at the output -> Piston A's RS nor latch set to on (extended).
Clock loops around, activates next output in counter. Output 2 sends pulse to reset line of piston B's rs nor latch (powers off - retracted).
Clock loops, output 3 active, piston B's nor latch set to on (extended).
Clock loops, output 4 active, piston A's nor latch reset (powers off retracted). Pulse sent to reset counter.
Clock loops and the next pulse will activate output 1.
Essentially having it so that Piston A is out for say 5 seconds or so (Or 'ticks' although I still don't know how long a 'tick' is), then goes back in. Then 5 seconds/ticks later Piston B goes out, stays out for 5 seconds, then goes back in. Then 5 seconds/ticks later restart the process with again with Piston A?
So far I have managed to make it so that Piston A extends, delay, Piston B extends, delay, Piston A retracts, delay, Piston B retracts, delay, repeat.
Edit: Ok realized that my retracts/extends were off. Piston B Retracts THEN Extends. Piston A Extends then Retracts. When one is extended the other is retracted, and reverse.
It's very possible with something like this. Just adjust the length of the repeaters to your liking.
At least that's what I'd do.
Edit; Adjusting the given design a bit, I am able to get it so that Piston A Extends, delay, Piston A Retracts/Piston B extends, delay, Piston B Retracts/Piston A Extends. But is there a good way to get a delay between the two events? (Piston A Retracts, delay, Piston B Extends, delay, Piston B Retracts, delay, Piston A Extends, delay, etc?)
Repeaters can delay or store a pulse between 1/10 to 4/10 a second. So 5 seconds * 10 ticks = 50 ticks. 50/4 = 12 full repeaters and 1 set to 2 ticks.
The pattern you are describing sounds like a simple clock. Imagine an 'on' signal that is 5 seconds long traveling in a loop of repeaters. When the pulse is in one side of the loop the other side is off. You can take an output of any point in the clock you like and when the on signal passes by that output will be on for as long as the pulse is there.
This may help you to see it... I made what you described in a 2 second loop with about a 1 second 'on' pulse
Clock off. 9/10 second pulse stored up (repeaters that are on):
Clock on, pulse is allowed to flow. Top output is is active and held on while the pulse is there.
Pulse has passed by the first output, and is now supplying power to the second output.
The pulse will loop around that circuit until you stop it.
Edit:
Just saw your edit. Can you post what you are trying to build? Are you doing a double piston extend and retraction, so need a reversible circuit to time that?
Then loop that, so it is continuously extending to its limit, holding there, and then retracting?
Sadly I don't understand the now bolded section of your post, but here is the basics of what I have currently (In actuality the some portions are a bit more complexed, but can be summed up as I have it)
I have a clock (Think that's the right name for it but it has been a long weekend for me so I may have the wrong name) that activates piston A, extending it. After a time, piston B retracts. After a bit of a delay, piston A retracts. Then again after a delay, piston B extends. And repeat. This is not what I want to happen. T
he reason why this is happening seems to be that I've somehow gotten it wired so that power reaches Piston A, extending it. this power then follows repeaters/inverters/whatnot until after a time it reaches Piston B, retracting it. The power then follows the inverters/repeaters, turning off the power to Piston A, retracting it, and then once again the lack of power extends Piston B (There is an inverter between the power from A to B which is why that happens)
What I would like to happen is this (With Piston A starting retracted and Piston B starting extended):
Piston A extends. Delay. Piston B retracts. Delay. Piston B extends. Delay. Piston A retracts. Delay. Piston A extends. Delay. Piston B retracts. Delay. Piston B extends. Delay. And etc etc etc.
I can send you some screenshots or a quick video of what I currently have (Or if you really need it the map file) via pm if that'll help
Delay assumed 5 seconds, but it is adjustable (just expand the clock).
The system components:
RS Nor latch to power/depower piston A
RS Nor latch to power/depower piston B
5 Second Clock
4 output self resetting counter.
Each output of the counter connects to the inputs on the piston RS nor latchs (each one has a set - on and reset - off input).
World Save:
http://www.mediafire.com/?7tu5fofoztb7rbv
Running the system -
Instal state Piston A retracted. Piston B extended. If this is not the state the system will function fine and after one cycle through the counter all the states should be back to the desired state.
Clock starts (pull lever). Power loops around until it hits the pulse limiter.
Pulse limiter sends pulse to counter -> output one is activated -> Pulse is generated at the output -> Piston A's RS nor latch set to on (extended).
Clock loops around, activates next output in counter. Output 2 sends pulse to reset line of piston B's rs nor latch (powers off - retracted).
Clock loops, output 3 active, piston B's nor latch set to on (extended).
Clock loops, output 4 active, piston A's nor latch reset (powers off retracted). Pulse sent to reset counter.
Clock loops and the next pulse will activate output 1.