FOXBORO FBM17 DM400YT系统备件库存模块
搜索:一个示例假设您已编程目标和运动指令,并将它们同步到控制器。目标的数量很大,因此您决定将它们分布在几个模块中。您可能忘记了在哪个模块中找到了您的主要过程。1.按CTRL+F打开“搜索和替换”对话框。2.在搜索模式框中,键入“PROC main”。由于没有打开的模块,请在“搜索范围”列表中选择“当前系统”,然后单击“全部搜索”。搜索结果显示在输出窗口中。3.双击与搜索匹配的行以启动程序编辑器。然后检查整个RAPID程序是否有错误。代码段代码段是插入RAPID编辑器中的代码段。编辑器将这些代码与选择列表集成。以下是RobotStudio中预定义的代码片段:•arrayx2x4.snippet•arrayx4.snippt•array2xx2.snippet•array4x2.snippet•返回值为bool.snippet的函数•模块头.sippet•过程参数.sippet?带错误处理程序的过程。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