Code of robot