Page 1 of 1

Suggestions: GT++ generator

Posted: Thu Mar 27, 2025 2:04
by jukelo
A convenient improvement would be a variant of the GT+ generator which merely refreshes the timer when pulsed again (i.e. button pressed and released in succession), as opposed to adding up timers.

I use GT+ generators a lot, but the queueing behaviour when pulsing it repeatedly is a problem as it can create very long generators. This forces me to use some elaborate logic with M Counters to limit the number of times a generator can fire, but this is still not perfect.


Current GT+ behaviour:

GT+ Timer = 300ms

00.000s : GT+ button pulse, GT+ Generator starts - remaining duration = 300ms.
00.200s : GT+ button pulsed again, remaining duration = 100 + 300 = 400ms.
00.500s : GT+ button pulsed again, remaining duration = 100 + 300 = 400ms.
00.900s : GT+ Generator ends.

Suggested behaviour of GT++ Generator:

GT++ Timer = 300ms

00.000s: GT++ button pulsed, GT+ Generator starts - remaining duration = 300ms.
00.200s: GT++ button pulsed again, remaining duration = 300ms.
00.500s: GT++ button pulsed again, remaining duration = 300ms.
00.800s: GT++ Generator ends.