Home
Support
使用NI-Industrial Communication为DeviceNet和NI-DNET增加EDS文件
使用NI-Industrial Communication为DeviceNet和NI-DNET增加EDS文件
硬件: Industrial Communications>>DeviceNet
问题: 我有一个DeviceNet的从设备。我如何配置它来和NI Industrial Communication的DeviceNet设备通信?我如何配置它来和NI Industrial Communication的DNET设备通信
解答: NI-DeviceNet
在LabVIEW项目中增加一个DeviceNet主设备
- 打开LabVIEW创建一个新项目,添加一个Real-time终端到项目中
- 右击实时终端的My Computer,选择 New » Target(s) and Device(s).
- 选择 Discover Existing Devices. 打开 DeviceNet Master Interface.
- 主设备会被自动识别,选择终端然后点击OK.
- 配置 Master settings. 点击 OK.
增加一个DeviceNet 从设备到LabVIEW项目中
- 右键项目中的主设备,选择 New » Targets and Devices.
- 在对话框中,选择 DeviceNet Slave Device 找到你的DeviceNet从设备,选择 OK.
- Slave settings对话框会出现. 配置您的从设备,选择EDS file. 选择 OK.
为从设备加载 EDS 文件
- 如果没有使用Slave setting对话框加载EDS文件,或者需要修改EDS文件的话,需要做此步骤。右击 Slave Device, 选择 datasheet.
- 选择 Add Files.
- 找到EDS文件,选择OK.
- 选择到您的EDS文件,选择 OK.
确定EDS文件被正确导入
- 右击Slave Device » Utilities » Online Test Panel
- 在左侧面板选择 Device State, 然后在右侧面板选择设备
- 选择 Verify Device.
- 确定没有任何错误或警告出现
NI-DNET
首先,确定NI DNET的卡是否正确安装。选择到 Measurement & Automation Explorer (MAX): Start » All Programs » National Instruments » Measurement & Automation. 确定您的DNET/CAN设备出现在 Devices and Interfaces中。
右键DENT设备,选择Configurator 进入NI-DNET Configurator
在 NI-DNET Configurator 中选择 Tools » EDS Manager. 添加IAI提供的EDS文件
在加载EDS文件之后选择从设备
选择 Network » Refresh the Device List ,这样的话就可以使得DNET完成配置. 在I/O Data,您可以选择支持的IO类型、输入和输出
设备设置成功之后,就可以在LabVIEW中使用该从设备。
相关链接: Product Manuals: NI-DNET User Manual (January 2009)
附件:
报告日期: 10/07/2008
最近更新: 03/03/2015
文档编号: 4Q6EIU8F
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.