A Model for Robot Programming Control System