Intelligent Machinery Control