ABB PP836 3BDE042237R1触摸屏
您可以创建自定义代码片段并添加到现有列表中。注意!可以在XML编辑器(如Microsoft Visual Studio)中编辑代码段。RobotStudio.sippet文件保存在文件夹C:\\\RobotStudo\Code Snippets中。文件夹可以配置不同的名称,例如Data。它也可以在本地化版本的Windows编辑中进行翻译:一个示例假设您希望创建一个无限循环,从而控制器从线路PLC接收命令。控制器使用数字I/O信号与PLC通信,但您忘记了读取输入信号的功能的确切名称。1.使用代码片段创建新过程。2.按CTRL+SHIFT+SPACE打开拾取列表。3.双击I/O文件夹,然后双击DOutput指令将其插入到插入位置。4.按空格键显示参数信息ToolTip。输入参数时,工具提示将更新,以粗体显示当前参数。通过以分号(;)结束指令或按ESC键关闭工具提示。
You can create customized code snippets and add to the existing list.
NOTE!
Code Snippets can be edited in an XML editor such as Microsoft Visual Studio. The
RobotStudio .snippet files are saved in the folder C:\\\RobotStudio\Code Snippets. The foldermay be
configured with different names, for example, Data. It may also be translated on localized
versions of Windows Editing: a case example
Assume that you wish to create an infinite loop whereby the controller receives commands
from a line PLC. The controller communicates with the PLC using digital I/O signals, but you
have forgotten the exact name of the function that reads an input signal.
1. Using code snippets, create a new procedure.
2. Press CTRL + SHIFT + SPACE to open the pick list.
3. Double-click the I/O folder, and then double-click the DOutput instruction to insert it at
the insertion position.
4. Press the spacebar to display the parameter information ToolTip. As you enter parameters,
the ToolTip is updated, displaying the current argument in bold. The ToolTip is closed
either by concluding the instruction with a semicolon (;), or by pressing ESC.

