Please choose the correct solution to the question: How do you program a robot?

Solution1: You take a pendant to a robot and program in different axis such as X or Y.

Solution2: You take a pendant to a robot and program in different axis such as X or M.

Answer format: solution1/solution2
Answer: solution1