隨著網路科技日新月異,遠端控制一詞已不陌生。但如何提昇遠端控制精確性與操作便利性,成為本論文研究之目的。 就軟體方面,以AutoCAD版本內建的VBA語言撰寫人機介面及Visual Basic軟體設計運動控制程式,利用TCP/IP網路通訊協定將控制參數與命令送至X-Y平台。 就硬體方面,驅動元件採用PI公司所生產之C-843運動控制卡及M511型之次微米級X-Y平台。Client端電腦為P4-1.6G NB PC搭配5-Port 10/100 Mbps的交換式集線器透過乙太網路與P3-0.8G的Server端電腦連結。 本實驗採用主從式電腦架構以達到遠端控制之目標;在網路通訊保護方面指定Client端電腦和Server端電腦IP位址以過濾封包並決定資料的去留,其他來源端或是目標端IP位址封包皆不被允許存取,以防止系統遭人入侵破壞。而在網路傳輸品質方面利用WDT(Watch Dog Timer)程式功能,當工作站電腦下達控制指令前會先進行對方電腦On-Line Ready動作判別,以提高電腦工作站之間連結的確定性及減少資料傳輸等待時間相對會降低網路傳輸負載。 本研究主要的重點在於遠端控制,希望使用者在Client PC的AutoCAD上繪製加工圖形並結合人機操作介面軟體;讓圖形設計完成後,經由TCP 網路來控制Server端次微米級 X-Y平台以完成具有速度及加速度限制之精密定位。
Changes with each new day along with the network science and technology, the word ”remote control” is not strange anymore. But how to promote the accuracy and operation convenience of remote control, becomes the goal of the present paper research. In the software aspect, the VBA language constructed in the AutoCAD edition was used to compose the human-machine interface and Visual Basic software was used to design motion control program, the control parameter and the control command was delivered to the X-Y platform using the TCP/IP network communication. In the hardware aspect, the C-843 motion control card and the type M511 X-Y platform (in the order of 0.1 m) produced by PI Company were used as actuate. The Client PC composed of P4-1.6G NB PC with 5-Ports 10/100 Mbps switch hub connected with P3-0.8G Server PC through Ethernet network. In the study, we use the Client/Server structure to achieve goal of the remote control; in the aspect of network communication security, we assign the IP address of Client PC and Server PC to screen the packet and to decide destiny of the data. In order to prevent the system invaded by other person, the packet from other original ends or other target ends were not allowed to be retained or used. As for the aspect of network transmission quality, we used the WDT (Watch Dog Timer) program function to distinguish the on-line ready action of the computer before the workstation computer issuing the control command, so as to elevate the correction of the connection between the workstations and to reduce the waiting time of data transmission, and consequently reduce the network transmission loading. The key point of the study lies in the remote control, we hope the users draw the processing graph on the AutoCAD of Client PC and combine with human-machine interface operation; after complete the design of the graph, the user can control the X-Y platform through TCP network to achieve the precision positioning limited with velocity and acceleration.