设置直接变频器连接
- 创建或打开项目。
- 从工具栏中选择,然后从模板库脚本库中选择直接变频器连接脚本。
- 将直接变频器连接脚本拖到项目结构中的NetLogic文件夹中。将使用以下对象更新NetLogic文件夹:
- NetLogic[文件夹]
- UpdateRateEnum[数据类型]
- DriverTypeEnum[数据类型]
- DirectDriveConnectivity[文件夹]
- DriveConnectionDesignTimeNetLogic[NetLogic 脚本]
- DriveConnectionRuntimeNetLogic[NetLogic 脚本]
- 导航到 Product Compatibility and Download Center (PCDC),然后选择Download by Product。
- 在搜索字段中,输入Optix
- 选择FactoryTalk Optix,然后选择Downloads。
- 选中Select Files复选框。
- 在本地驱动器上下载并解压程序包Direct_Drive_Connectivity_v1.00.00.zip。
- 打开config.xml,然后修改所需的设置:
- 提供 FactoryTalk Optix Studio 位置路径。
- 提供 FactoryTalk Optix Studio 安装路径。
例如:
其中:<Settings> <!--Enter proper path to your FT Optix Studio folder (for example: C:\Program Files\Rockwell Automation\FactoryTalk Optix\Studio)--> <FTOptixStudioPath>C:\Program Files\Rockwell Automation\FactoryTalk Optix\Studio</FTOptixStudioPath> <!--Enter proper path to your FT Optix project folder (for example: C:\Users\User1\Documents\Rockwell Automation\FactoryTalk Optix\Projects\NewHMIProject)--> <FTOptixProjectPath>C:\Users\User1\Documents\Rockwell Automation\FactoryTalk Optix\Projects\NewHMIProject</FTOptixProjectPath> </Settings>C:\Program Files\Rockwell Automation\FactoryTalk Optix\Studio是 FactoryTalk Optix Studio 位置路径。C:\Users\User1\Documents\Rockwell Automation\FactoryTalk Optix\Projects\NewHMIProject是 FactoryTalk Optix Studio 安装路径。 - 在 PowerShell 中,运行install.bat脚本文件。小贴士: 您可能需要调整Windows®PowerShell 执行策略才能启用该脚本。NuGet 软件包将注入到在config.xml文件中定义的项目中。
direct drive
direct drive connectivity
提供反馈