Closed loop control with Mach4