Rotation intervall

Simplest method would be to use a clamp node and set a min and max value.