Spring machine control