Need help building an adv. delay system.

  • Remousamavi
    9th Nov 2016 Member 0 Permalink

    Okay, so we all know what the DLAY particle does, and it's quite useful. The only problem I'm having with it is in one contraption I want to build, involving continuous power vs cutoff.

     

    To explain: Normally, if you fire current into a DLAY set to six seconds, and cut it off three seconds later, the DLAY will still discharge the current three seconds after that. I'm trying to build a contraption that will fire a delay after a continuous input for a certain amount of time, but will completely cancel if the flow ceases.

     

    If possible, it should also reset the delay; for example, I already have a contraption that can sort of do this, involving pistons, which can stop the discharge after six seconds. But if, with an 8-second delay, I stop the flow four seconds after I start, then start it back up seven seconds in, the discharge will happen one second later because I reconnected the still-going delay. The contraption I'm looking to build will completely cancel the discharge and reset the delay-clock, so to speak.

     

    Any help is much apreciated :)

  • mark2222
    9th Nov 2016 Member 0 Permalink

    I assume this is subframe?

     

    I can't test this now because I'm not on my laptop, but the following setup should work:

     

    Make a piston out of three PSTNs, the first with temp = 70C, the second and third with temp = 10C and tmp2 = 8. Use ctype to prevent the piston from extending the wrong direction. Activate the first PSTN with NSCN when there is no current (this resets the counter), and activate the second PSTN with PSCN when there is current. Set it up such that the piston generates output current when it is fully extended.

     

    If this isn't subframe, I'm not sure what you mean by a continuous flow of current. But I guess you could build one out of the same principle.

  • Remousamavi
    13th Nov 2016 Member 0 Permalink

    @mark2222, this is indeed subframe, assuming you're referring to the four-frame electric pulse rule.

     

    Do you have a live demonstration available so I can see what you mean?

  • mark2222
    13th Nov 2016 Member 0 Permalink

    @Remousamavi (View Post)

     

    Sure. I'm not entirely sure we mean the same thing by "subframe", so I made both versions for you: