Skip to content

Latest commit

 

History

History
92 lines (63 loc) · 4.6 KB

README.md

File metadata and controls

92 lines (63 loc) · 4.6 KB

TIA_Add-In_BlockAutoNumber

This plugin enables batch modification of PlcBlock numbers in TIA Portal.
此插件可以实现在TIA Portal中批量修改程序块的编号。

Enabling and disabling add-ins 启用和禁用插件

Requirements 要求

  • TIA Portal Openness is installed.
    安装有 TIA Portal Openness。

  • The package files with the file extension ".addin" were saved to "AddIns" folder in the TIA Portal installation directory.
    扩展名为“.addin” 的软件包文件已保存到 TIA Portal 安装目录的“AddIns”文件夹中

Activating add-ins 激活插件

To activate add-ins, follow these steps:
要激活插件,请按以下步骤操作:

  1. Open the "Add-ins" task card.
    打开“插件”(Add-ins) 任务卡。

  2. In the "Add-ins" pane, navigate to the add-in that you want to activate.
    在“插件”(Add-ins) 窗格中,浏览到待激活的插件处。

  3. In the shortcut menu of the add-in or in the "Status" column, select the command "Activate".
    You can identify activated add-ins by the image symbol in the "Status" column.
    在插件的快捷菜单或“状态”(State) 列中,选择命令“激活”(Active)。
    在“状态”(State) 列中,使用 image 符号标识已激活的插件。

  4. Repeat the procedure for all add-ins you want to activate.
    The activated add-ins are displayed in the shortcut menus of the supported work areas.
    重复该步骤,激活所有待激活的插件。
    所激活的插件将显示在相应工作区的快捷菜单中。

Deactivating add-ins 取消激活插件

To deactivate add-ins, follow these steps:
要取消激活插件,请按以下步骤操作:

  1. Open the "Add-ins" task card.
    打开“插件”(Add-ins) 任务卡。

  2. In the "Add-ins" pane, navigate to the add-in that you want to deactivate.
    在“插件”(Add-ins) 窗格中,浏览到待取消激活的插件处。

  3. In the shortcut menu of the add-in or in the "Status" column, select the command "Deactivate".
    You can identify deactivated add-ins by the image symbol in the "Status" column.
    在插件的快捷菜单或“状态”(State) 列中,选择命令“取消激活”(Deactive)。
    在“状态”(State) 列中,使用 image 符号标识取消激活的插件。

  4. Repeat the procedure for all add-ins you want to deactivate.
    The deactivated add-ins are displayed in the shortcut menus of the supported work areas.
    重复该步骤,取消激活所有相应插件。
    取消激活的插件将显示在相应工作区的快捷菜单中。

Donate 捐赠

TIA_Add-In_BlockAutoNumber is an open source plug-in class library, thank you for your support. We will continue to update the plugin class library about TIA Portal.
TIA_Add-In_BlockAutoNumber是一个完全开源的插件类库,感谢您的支持。我们会持续更新关于TIA Portal的插件类库。

Wechat Pay
image

PayPal
paypal.me/lixianguser

Running add-ins 运行插件

Requirement 要求

The add-ins were activated in the "Add-ins" task card.
在“插件”(Add-ins) 任务卡中,该插件已激活。

Procedure 操作步骤

To run add-ins, follow these steps:
要运行插件,请按以下步骤操作:

  1. Select the plcBlock in the project tree.
    在项目树中选择程序块

  2. Open the shortcut menu.
    打开快捷菜单。

  3. In the shortcut menu under the "Add-Ins" entry, execute the command "BlockAutoNumber" -> "Number".
    在快捷菜单的“插件”(Add-Ins) 条目中,执行命令 "BlockAutoNumber" -> "Number"

  4. Select or enter a "Starting number" and "increment" in the "Number" dialog,the "Starting number" should be between 1 and 59999.
    在 “Number” 对话框中选择或输入起始编号增量起始编号 应该在1-59999之间。
    image