Reduce power to steppers when not moving

Is it possible to assign a pin that is only active when a move is done?

If possible I would like to utilize my drivers "power down" function, which reduces power to the steppers when full power is not needed, i.e. when the mill just sits idle, but still needs to maintain it's position.

I would assume that the or gate would be needed, since the debounce seems to work in both directions, and would would cause a delay before the steppers would be enabled on move, if wired directly to the output.

Or does a timer module exists, with a simple countdown function, instead of using debounce?