the ramp up time in seconds is 255*"the modulo divider"
ie for a modulo 7 time = 255*7 = 1785 seconds (29.75 minutes)
the modulo range is 1 to 59 in your present scheme