On the Programming and Control of Industrial Robots