Answer: B. Offline programming.
Answer analysis: The role of the teach pendant does not include offline programming.
The teach pendant is one of the basic components of the robot control system, and its main functions include:
1. Display the current status information of the robot, such as the angle of the robot joint, the position of the end effector, etc.
2. Input and edit the program, upload the program to the robot controller, and debug and test run it.
3. Jog control of the robot, that is, manually control the motion trajectory of the robot for debugging and programming.
4. Execute and debug the program, view the errors and problems in the program execution process, and adjust and optimize the program.
5. Monitor the operating status of the robot, such as whether the robot is running normally, whether there are errors or alarms, etc.
6. Test the performance indicators of the robot, such as the robot running speed, accuracy, etc.
Offline programming refers to editing and debugging the program on the computer through offline programming software without connecting to the robot controller, and then uploading the program to the robot controller for execution. Therefore, offline programming is not part of the role of the teach pendant.