zxong123
級(jí)別: 略有小成
精華主題: 0
發(fā)帖數(shù)量: 187 個(gè)
工控威望: 485 點(diǎn)
下載積分: 778 分
在線(xiàn)時(shí)間: 354(小時(shí))
注冊(cè)時(shí)間: 2018-06-12
最后登錄: 2024-10-27
查看zxong123的 主題 / 回貼
樓主  發(fā)表于: 2021-06-29 09:48
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)行嗎