Control and programming in advanced manufacturing.