Function main
Xqt stop
Integer Point_no
Integer I
Call InitRobot
Select Point_no
Case 1
Go P1
Case 2
Go P2
Point_no = 3
Send
Point_no = Point_no + 1
Call InitRobot
Fend
Function stop
Wait Sw(1) = On
Halt main
Fend
當(dāng)輸入1 ON時(shí)可以讓機(jī)器人停止運(yùn)行嗎