FOXBORO FBM17 DM400YT系統(tǒng)備件庫(kù)存模塊
搜索:一個(gè)示例假設(shè)您已編程目標(biāo)和運(yùn)動(dòng)指令,并將它們同步到控制器。目標(biāo)的數(shù)量很大,因此您決定將它們分布在幾個(gè)模塊中。您可能忘記了在哪個(gè)模塊中找到了您的主要過(guò)程。1.按CTRL+F打開(kāi)“搜索和替換”對(duì)話(huà)框。2.在搜索模式框中,鍵入“PROC main”。由于沒(méi)有打開(kāi)的模塊,請(qǐng)?jiān)凇八阉鞣秶绷斜碇羞x擇“當(dāng)前系統(tǒng)”,然后單擊“全部搜索”。搜索結(jié)果顯示在輸出窗口中。3.雙擊與搜索匹配的行以啟動(dòng)程序編輯器。然后檢查整個(gè)RAPID程序是否有錯(cuò)誤。代碼段代碼段是插入RAPID編輯器中的代碼段。編輯器將這些代碼與選擇列表集成。以下是RobotStudio中預(yù)定義的代碼片段:?arrayx2x4.snippet?arrayx4.snippt?array2xx2.snippet?array4x2.snippet?返回值為bool.snippet的函數(shù)?模塊頭.sippet?過(guò)程參數(shù).sippet?帶錯(cuò)誤處理程序的過(guò)程。snippet?robtarget.snippe?tooldata.snipptt?TRAP例程示例.sippet
Searching: a case example
Assume that you have programed targets and motion instructions and sychronized them to the
controller. The number of targets is large, so you decide to distribute them among several
modules.
You may have forgotten in which module your main procedure is found.
1. Press CTRL + F to bring up the Search and Replace dialog box.
2. In the Search Pattern box, type "PROC main". Since no modules are open, in the Search
In list, select Current System, and then click Search All.
The search result is displayed in the output window.
3. Double-click the line matching your search to launch the program editor.
The entire RAPID program is then checked for errors.Code Snippets
Code Snippets are pieces of code inserted in the RAPID Editor. The editor integrates these
codes with the pick list. The following are the predefined code snippets in RobotStudio:
? array2x2x4.snippet
? array2x4.snippet
? array2x4x2.snippet
? array4x2.snippet
? function with return value bool.snippet
? module header.snippet
? procedure parameters.snippet
? procedure with error handler.snippet
? robtarget.snippet
? tooldata.snippet
? TRAP routine example.snippet
? wobjdata.snippet