
DeviceNet (DN-02)
使用手册

目录
第一章 前言....................................................................................................... 1
1.1 交货检查.................................................................................................1
1.2 手册内容 ................................................................................................1
1.3 特点........................................................................................................2
第二章 概观....................................................................................................... 3
2.1 外观........................................................................................................3
2.2 说明........................................................................................................3
2.3 实例........................................................................................................4
2.4 主干线(trunk line)距离............................................................................4
2.5 支线(drop cable)长度 .............................................................................4
2.6 安装 ....................................................................................................... 5
第三章 快速安装指南 ........................................................................................7
3.1 安装设定.................................................................................................7
3.2 EDS 档案描述 ........................................................................................8
3.3 MAC ID 及传输速率 ............................................................................... 8
3.4 输入/输出资料 ........................................................................................ 9
第四章 组态设定..............................................................................................11
第五章 错误讯息指示与故障排除 .................................................................... 15
5.1 Network LED........................................................................................ 15
5.2 Module LED .........................................................................................16

5.3 SP LED................................................................................................ 16
附录 A 安装信息 ............................................................................................. 17
A.1 外型尺寸.............................................................................................. 17
A.2 安装环境.............................................................................................. 17
A.3 产品认证.............................................................................................. 18
附录 B DeviceNet Object .............................................................................. 19
附录 C Auto EDS Generator Software ......................................................... 29


第一章 前言
1.1 交货检查
每部 DN-02 出厂前,均经严格之品管,并做强化之防撞包装处理,包装盒内应包含下列
对象:
一台
一张
一条通讯线(
一张简易安装说明书。
注: 若你所收到的 DN-02 与上述对象有所不同,请您与接洽之代理商或经销商联络。
1.2 手册内容
第二章 介绍如何使用
第三章 描述如何安装设定,
第四章 描述如何依你的需求来安装
第五章 根据
附录A提供你在安装
附录B定义
附录C描述如何使用
变频器各系列的韧体版本需符合下列表格:
DN-02,
8cm
的光盘,
生相对应的
台达变频器 韧体版本
VFD-B
VFD-M
VFD-S
RJ-11,6
LED
DeviceNet object classes,class services and attributes
EDS file
支脚),
DN-02,
的显示状态来做相对应的问题处理,
DN-02
可能所需的信息
”AutoEDS”
此软件,以方便使用者根据所连接的
DN-02,
drive
4.00 版及以上
3.00 版及以上
2.50 版及以上
产
Revision September 2006 1

第一章 前言
1.3 特点
| DN-02
通讯配接器(
MODBUS
DIN
导轨安装。
DN-02
所定义的标准制作。
DN-02
DeviceNet manage software system (Ex:RA的RSNetWorx®)
透过
I/O mapping address
500®)
communications adapter device
网络的网关。
DeviceNet
是按照
协议里头
提供了8个
I/O address
,可让使用者更灵活的透过阶梯图
VFD
来控制
以得到想要监控的数据与欲对
不需额外的电源。电源是由连接至变频器(
02
包装盒内的六支脚
RJ-11
通讯线是用来连接变频器的
频器以供应电源。一旦连接完成,
所支持的
Explicit connection
Polled connection
Object Model
DeviceNet Group2 slave有
Application
Objec t
Assembly
Object
DeviceNet
Parameter
Objec t
IO
Connection
)可做为
DeviceNet
网络及
Communications Device Profile 12 (0xC)
,而且可以透过设定的方式来控制长度,然后
来设定
(Ex:RA的RSLogix
DN-02
Explicit
Msg
VFD
即可操作。
Message
Router
VFD
所发出的命令。
系列)的
RS-485
RS-485与DN-02
Identity
Object
DeviceNet
Obje ct
所提供
DN-
的变
2 Revision September 2006

2.1 外观
2.2 说明
第二章 概观
双色 LED 灯 (Network,Module 及 SP 灯):提供使用者来分析 DeviceNet 网络及连
接变频器的状态,然后再根据第五章 troubleshooting 来解决问题。
MAC address:设定 DN-02 于 DeviceNet 网络中的实体地址。
Data rate:使用这个开关来设定 DN-02 连上 DeviceNet 网络的连接鲍率。
RS-485 埠:透过 RJ-11 连接至变频器,其 SG+与 SG-表示讯号线,而 DN-02 的电源亦
透过此联机接到变频器,然后由变频器输出 15V 来供给 DN-02。
DeviceNet 连接:DN-02 提供一个 5-pin Phoenix connector 来使 DN-02 连上 DeviceNet
网络。
何谓 5-pin Phoenix connector
1. Red: V+, power supply.
2. White: CAN_H, signal high.
3. Bare: SHIELD, shield.
4. Blue: CAN_L, signa low. l
5. Black: V-, common.
Revision September 2006 3

第二章 概观
| DN-02
2.3 实例
Power
Supply
TR
TR: terminating resistor
: device node
TR
trunk line
2.4 主干线(trunk line)距离
任两点的距离不得超过资料所能使用之最大距离。请参考下表以选择适当的线长。
Data rate
125k bit/s 420m (1378 ft) 500m (1640 ft) 300m (984 ft) 100m (328 ft)
250k bit/s 200m (656 ft) 250m (820 ft) 250m (820 ft) 100m (328 ft)
500k bit/s 75m (246 ft) 100m (328 ft) 100m (328 ft) 100m (328 ft)
注: 配线所选用的的 cable 请参照 DeviceNet Specifications 中的 "Appendix B --
DeviceNet Cable Profiles" ,选用里头的建议的 cable 方能保证最大距离。
最长距离
(flat cable)
最长距离
(thick cable)
最长距离
(mid cable)
最长距离
(thin cable)
2.5 支线(drop cable)长度
支线是连接 DeviceNet cable system 的结点与 DeviceNet trunk 间的线路。请参考下表以
选择适当的线长。
注: 配线所选用的的 cable 请参照 DeviceNet Specifications 中的 "Appendix B --
DeviceNet Cable Profiles" ,选用里头的建议的 cable 方能保证最大距离。
4 Revision September 2006
Data Rates 125 Kbps 250 Kbps 500 Kbps
最大的支线长度 6 m (20 ft) 6 m (20 ft) 6 m (20 ft)
最长的累计支线长度 156 m (512 ft) 78 m (256 ft) 39 m (128 ft)

2.6 安装
请依下图将 35mm 的铝轨安装至 DN-02。
将 DIN rail 的上端卡入 DN-02 内
将 DIN rail 的下端卡入 DN-02 内
将卡榫往上推以固定 DIN rail
第二章 概观
| DN-02
Revision September 2006 5

第二章 概观
| DN-02
6 Revision September 2006

第三章 快速安装指南
3.1 安装设定
步骤一 设定变频器通讯格式为 19200 RTU 8,N,2,
步骤二 设定变频器的频率来源为 RS-485,
步骤三 设定变频器的运转指令来源为通讯接口,
注意:请参考下表以设定各变频器参数。
VFD-M VFD-S VFD-B Description
P00=3 P02-00=4 P02-00=4
P01=4 P02-01=4 P02-01=4
P89=2 P09-01=2 P09-01=2
P92=3 P09-04=3 P09-04=3
步骤四 使用 RJ11(6 支脚)来连接 DN-02 的 RS-485 及变频器。
步骤五 将随机附的 EDS 文件加入 DeviceNet 网络整合工具软件。
步骤六 使用 DeviceNet 网络整合工具软件的操作方法来连接 DN-02。
注:请确认 VFD 的参数已设定如上表所示,若非,则 DN-02 将无法正常操作。在完成步
骤四后,则 DN-02 的 SP 指示灯应亮绿灯,此时代表 DN-02 与变频器正在进行通讯;若
完成步骤四时,SP 不是显示绿灯的话,请参照”第五章错误讯息指示与故障排除”来解决问
题。
频率来源
运转指令来源
传输速率 19200
RTU 8,N,2
Revision September 2006
7

第三章 快速安装指南
| DN-02
3.2 EDS 档案描述
功能:是在 DeviceNet management software tool (Ex:RA 的 RSNetWorx®) 里头所使
用,当这个 tool 欲辨别所连接为哪一种 VFD 以及想直接透过此一软件接口来修改 VFD 本
身的设定时,便需要有 EDS 这个档案。
为了使用正确的 ESD 档案,请先由参数确认变频器系列及韧体的版本。再依照下列的
ESD 档案命名规则来选择正确的 EDS 档案。
Ex: DN_S_2p52_0.eds
| | |_____EDS 版本
| |________VFD 软件版本 (V2.52)
|___________VFD-S 系列
3.3 MAC ID 及传输速率
设定传输速率
Switch value 0 1 2
传输速率
125K 250K 500K
其它
不使用
Data Rate
500K
250K
125K
8 Revision September 2006

设定
MAC
地址:请用十进制设定。
5
ADD1
ADD2
6
4
3
7
2
8
91
0
5
6
4
3
7
2
8
91
0
位置 说明
此范围的地址为合法地址。设定此范围的地址前,需先确认您所要
0-63
使用的地址没有与其它的节点重复,否则将无法上线,且 NET LED
将会呈现 RED 状态。
64-99
此为非法地址范围,且 NET LED 将会呈现 RED 状态。
范例 ADD1:3, ADD2:6, 传输速率:500k
此时 MAC ID 的值是 36,而不是 0x36 且鲍率为 500k。
第三章 快速安装指南
| DN-02
3.4 输入/输出资料
I/O poll 的信息默认值为 4 个 bytes 的输入及 4 个 bytes 的输出资料。
Revision September 2006 9

第三章 快速安装指南
从变频器输入资料至
| DN-02
DeviceNet (只读)
Word 功能
0 变频器状态,例如:VFD-M 是 2101H
1 频率指令,例如:VFD-M 是 2102H
从
DeviceNet
输出资料至变频器
Word 功能
0
1
运转命令,例如:VFD-M 是 2000H
频率命令,例如:VFD-M 是 2001H
请参考各变频器机种的使用手册来设定上表。
NOTE
若你的 DN-02 在使用前还未设定的话,你可以使用它连接 DeviceNet 网络。 此
时,DN-02 提供一个预设 I/O 设定如上表所示。当上电时,DN-02 可用此预设 I/O
值透过网络来交换资料。若你需要设定 I/O,请参考下一章节。
10 Revision September 2006

第四章 组态设定
DN-02 也提供其它功能给使用者依需求来设定。
DN-02 支持一个叫 DataConf (0x95)的对象。你可以藉由 DeviceNet 组态设定或网络整合
工具软件来设定。而 DataConf 对象定义为:
Class 0x95 Data Configure
Class Attributes
Attribute ID Access Rule Name Data Type
1 Get Revision UINT
Instance 1
Attribute
Access
ID
17 Get/Set Dlen_in USINT Length of input data
18 Get/Set Dlen_out USINT Length of output data
19 Get/Set Data_in[0] UINT 1st word input data
20 Get/Set Data_in[1] UINT 2nd word input data
21 Get/Set Data_In[2] UINT 3rd word input data
22 Get/Set Data_in[3] UINT 4th word input data
23 Get/Set Data_in[4] UINT 5th word input data
24 Get/Set Data_in[5] UINT 6th word input data
25 Get/Set Data_in[6] UINT 7th word input data
Rule
2 Get/Set Config_flag USINT
3 Get/Set NetCtrl USINT
4 Get/Set NetRef USINT
5 Get/Set LossDNTreat USINT
Name Data Type Description
0: DN-02 will use this object for I/O message
1: DN-02 use default setting.
0: controlled local.
1: controlled by network.
0: set speed local,
1: set speed by network.
0: Ignore and continue
1: Stop according to “Stop method”.
Revision September 2006 11

第四章 组态设定
| DN-02
Attribute
Access
ID
26 Get/Set Data_in[7] UINT 8th word input data
49 Get/Set Data_out[0] UINT 1st word output data
50 Get/Set Data_out[1] UINT 2nd word output data
51 Get/Set Data_out[2] UINT 3rd word output data
52 Get/Set Data_out[3] UINT 4th word output data
53 Get/Set Data_out[4] UINT 5th word output data
54 Get/Set Data_out[5] UINT 6th word output data
55 Get/Set Data_out[6] UINT 7th word output data
56 Get/Set Data_out[7] UINT 8th word output data
Rule
Name Data Type Description
Common services
Implemented for
Service Code
0X05 Yes Yes Reset
0x0E Yes Yes Get_Attribute_Single
0x10 No Yes Set_Attribute_Single
Class Class
Service Name
解译:下列 DataConf 对象的变量可给使用者依需求来设定。
1. dlen_in/dlen_out:它用于与 DeviceNet 网络通讯时,提供使用者输入/输出长
度。dlen_in/dlen_out 的最大长度限制为 16bytes。
NOTE
注意:在更改完这两个参数值时,于 scanner module 里头有关于 I/O Parameters 中的
Rx size 与 Tx size 的设定,须与 dlen_in/dlen_out 相同的参数值才行,否则 DN 运行时,
将会有错误发生而导致于无法连上 DeviceNet 网络。
12 Revision September 2006

第四章 组态设定
2. data_in1~data_in8:用来储存变频器每个 Modbus 地址的 16 字节。例如,如
| DN-02
果在 data_in1 的值是 0x2000,它会传数据的第一个字符到变频器地址
0x2000。相同的,如果 data_out1 的值是 0x2101,DN-02 会将变频器地址
0x2101 的第一个字符到传送到 DeviceNet 网络。data_in/data_out 的长度是由
dlen_in/dlen_out 来决定的。在设定完成后,DN-02 并不会马上更改对 VFD 送
出的命令,但是我们可以有两种方式来使其有效:
DN-02
透过【
NOTE
重新上电
RESET
】这个
service
,就可以让
DN-02
对其修改过的设定有效。
字段的资料长度”单位”为 UINT,意即为 word (2 bytes) ,当输入的 data size 为 byte 时,
则 DN-02 会返回一个错误。
3. NetCtrl/NetRef:它是用来决定是否由 DeviceNet 网络来控制 DN-02。0:
DeviceNet 网络不可控制 DN-02,而使用者可以直接变更控制指令与频率指
令。1:DeviceNet 网络可以使用指令透过 PLC 阶梯图来控制 DN-02。
4. LossNetTreat:它是用来决定若 DeviceNet 网络断线时,变频器是否要停止。
0:若 DeviceNet 网络断线时,变频器会维持目前运作状态。1:若 DeviceNet
网络断线时,变频器会停止运转,而其停止方式则依变频器设定而定。
5. config_flag:默认值为 0,若要将所有值恢复成出厂设定值的话,则将其设为
1。
6. 下表为 DataConf 对象的默认值。
Attribute ID Name Value(Hex)
1 sfversion
2 config_flag 0000H
3 NetCtrl 0001H
4 NetRef 0001H
5 LossDNTreat 0001H
17 dlen_in 0002H
18 dlen_out 0002H
19 data_in[0] 2000H
20 data_in[1] 2001H
Revision September 2006 13

第四章 组态设定
.
| DN-02
Attribute ID Name Value(Hex)
21 data_in[2] 2002H
22 data_in[3] 0000H
23 data_in[4] 2000H
24 data_in[5] 2001H
25 data_in[6] 2002H
26 data_in[7] 0000H
49 data_out[0] 2101H
50 data_out[1] 2103H
51 data_out[2] 2104H
52 data_out[3] 010AH
53 data_out[4] 2101H
54 data_out[5] 2103H
55 data_out[6] 2104H
56 data_out[7] 010AH
14 Revision September 2006

第五章 错误讯息指示与故障排除
此章节提供 LED 讯息及异常处置方法,下图为各个 LED 之位置。
Network
Module
SP
5.1 Network LED
状态
灯号熄灭
闪烁绿灯
绿灯
闪烁红灯
红灯
没电源或重复ID检查程序建
立失败
DN-02
表示
但尚未完成网络组态。
DN-02
表示
连接至
个或多个联机建立。
DN-02
表示
接建立失败。
网络失败。重复ID检查程序
失败或离线状态。
指示
已连接在网络上
已在网络上且已
DeviceNet
已在网络上但连
网络。一
异常处置方法
1. 确认 DN-02 的电源是否连接且电源是否有经
由连接器到达 DN-02
2. 确认一个或多个节点在网络上通讯。
3. 确认至少有一个节点同时在网络上被操作且其
资料速率与 DN-02 相同。
1. 确认所有节点有自己唯一的地址。
2. 若所有的节点地址都是唯一的话,检查网络以
修正媒体安装。
3. 确认地址是在合法的范围内。
Revision September 2006 15

第五章 错误讯息指示与故障排除
5.2 Module LED
| DN-02
状态
灯号熄灭 没电源/没上线
等待
闪烁绿灯
绿灯
闪烁红灯
红灯
PLC
或
mode。
I/O
数据运作中
安装配置问题。
flash
或
硬件错误。外部或内部的
RAM
5.3 SP LED
状态
灯号熄灭 没电源
DN-02
认值。
闪烁绿灯
绿灯
闪烁红灯
红灯
参数信息及初始化一些特定
属性。
DN-02
讯。
CRC
错误讯息。
连接失败/没连接
指示
I/O
资料。没有
正处于
程序错误
测试失败。
正在读取变频器的默
DN-02
与变频器正常的通
检查错误/变频器传回
I/O
数据
program
DN-02
CRC。
指示
取得变频器的
异常处置方法
确认变频器是上电且有连接至
DN-02
已通过所有操作测试且等待传输
DN-02
与变频器间。
参数
1. 检查连接变频器与 DN-02 的 RS-485 是否正
2. 变频器的连接重新配线并确认线的规格是否正
DN-02
重新设定
料设定地址指定。
送回厂。
没有供应电源给此装置
检查变频器的通讯格式设定是否正确。详细资料请
参考安装设定。
确。
确。
I/O
的内部
异常处置方法
DN-02。
资料。详细资料请参考资
I/O
资料于
16 Revision September 2006

附录 A 提供您在安装时可能所需的信息。
A.1 外型尺寸
42.0 [1.65]
Network
Module
SP
ADD1
ADD2
Data Rate
100.0 [3.94]
57.2 [2.25]
70.0 [2.75]
附录A 安装信息
107.0 [4.21]
34.0 [1.34]
92.0 [3.62]
A.2 安装环境
操作: 温度为-10℃ to 40℃ (14℉ to 104℉) (在无防尘盖下)
储存:
运输:
温度为-20℃ to 60℃ (-4℉ to 140℉)
相对湿度为 90%以下(无凝结)
温度为-20℃ to 60℃ (-4℉ to 140℉)
相对湿度为 90%以下(无凝结)
污染等级: 2:安全等级符合
Revision September 2006 17

附录A 安装信息
| DN-02
A.3 产品认证
DN-02 符合以下认证:
认证 说明
UL UL508C
CE EN50178 and EN61800-3
DeviceNet Conformance Test
.
18 Revision September 2006

附录
B DeviceNet Object
附录 B 定义 Devicenet 的 object classes,class services 及 attributes。以下有关于
DeviceNet object 可以使用 Explicit Messages 去存取。 使用 Explicit Messages 部份,请
参考 DeviceNet 的标准规格。下列表格的信息皆可以用 DN-02 来透过 DeviceNet 管理工
具获得。
例:如何透过 Explicit Message 以获得 Vendor ID
命令讯息
Value Description
Service 0x0E Get Attribute Single
Class 0x01 Identity Object
Instance 0x01 Instance 1
Attribute 0x01 Vendor ID
响应讯息
Value Description
Service 0x8E Successful
data 0x031F ID = 0x031F(Delta)
对象类别
DN-02 支持以下对象类别且使用者可透过 DeviceNet 管理工具来读/写。
Class Object
0x01 Identity Object
0x02 Message Router Object
0x03 DeviceNet Object
0x05 Connection Object
0x0F Parameter Access Object
0x95 DataConf Object
Revision September 2006 19

附录
B DeviceNet Object| DN-02
Class 0x01 Identity Object
这个对象提供设备的 ID 及一般信息。
Class Attributes
Attribute ID Access Rule Name Data Type
1 Get Revision UINT
2 Get MaxInstance UINT
3 Get NumberofInstances UINT
6 Get MaxIdClass UINT
7 Get MaxIdInstance UINT
Instance 1: Drive Instance
Attribute ID Access Rule Name Data Type
1 Get VendorId UINT
2 Get DeviceType UINT
3 Get ProductCode UINT
4 Get
5 Get Status WORD
6 Get Sn UDINT
7 Get
Revision
MaxRev
MinRev
ProdName
StrLen
ASCIIStr
Common Services
USINT
USINT
USINT
STRING
Service Code
0x05 No Yes Reset
0x0E Yes Yes Get_Attribute_Single
0x11 Yes No Find_Next_Object_Instance
20 Revision September 2006
Implemented for
Class Instance
Service Name

附录
B DeviceNet Object| DN-02
Class 0x02 Message Router
此 Message Router 对象提供一个 messaging connection point 以对 Client 内部的 object
class 或 instance 进行服务。
Class attributes
Attribute ID Access Rule Name Data Type
1 Get Revision UINT
6 Get MaxIdClass UINT
7 Get MaxIdInstance UINT
Instance 1
Attribute ID Access Rule Name Data Type
2 Get NumAvailable UINT
3 Get NumActive UINT
Common Services
Service Code
0x0E Yes Yes Get_Attribute_Single
Implemented for
Class Instance
Service Name
Revision September 2006 21

附录
B DeviceNet Object| DN-02
Class 0x03 DeviceNet Object
此 DeviceNet 对象提供组态及 DeviceNet port 的状态。DN-02 支持一个 physical
connection 里的一个 DeviceNet object 以连至 DeviceNet communication link。
Class Attributes
Attribute ID Access Rule Name Data Type
1 Get Revision UINT
Instance 1: Drive Instance
Attribute ID Access Rule Name Data Type
1 Get MACID USINT
2 Get BaudRate USINT
3 Get/Set BusofInterrupt BOOL
4 Get/Set BusofCounter USINT
AllocationInfo
5 Get
6 Get MACIDSwitchChanged BOOL
7 Get BaudRateSwitchChanged BOOL
8 Get MACIDSwitchValue USINT
9 Get BaudRateSwitchValue USINT
Common Services
Service
Code
0x0E Yes Yes Get_Attribute_Single
0x10 No Yes Set_Attribute_Single
0x4B No Yes Allocate_Master/Slave_Connection_Set
0x4C No Yes Release_Master/Slave_Connection_Set
Implemented for
Class Instance
AllocationChioce
MasterNodeAddress
Service Name
BYTE
USINT
22 Revision September 2006

附录
B DeviceNet Object| DN-02
Class 0x05 Connection Object
Connection Class 依 I/O and Explicit Messaging Connections 来分配与管理内部资源。由
Connection Class 所产生的特定 instance 称为一 Connection Instance 或 Connection
Object.。
Class attributes
Attribute ID Access Rule Name Data Type
1 Get Revision UINT
Instance 1: Master/Slave Explicit Message Connection
Attribute
ID
12 Get/Set WatchdogTimeoutAction USINT
13 Get
14 Get Produced Connection Path EPATH
15 Get
16 Get Consumed Connection Path EPATH
Access
Rule
1 Get State USINT
2 Get InstanceType USINT
3 Get TransportClassTrigger USINT
4 Get ProducedConnectionId UINT
5 Get ConsumedConnectionId UINT
6 Get InitialCommCharacteristics BYTE
7 Get ProducedConnectionSize UINT
8 Get ConsumedConnectionSize UINT
9 Get/Set ExpectedPackedRate UINT
Produced Connection Path
Consumed Connection Path
Name Data Type
Length
Length
USINT
USINT
Revision September 2006 23

附录
B DeviceNet Object| DN-02
Instance 2: Polled I/O Connection
Attribute
ID
12 Get/Set WatchdogTimeoutAction USINT
13 Get
14 Get Produced Connection Path EPATH
15 Get
16 Get
Common Services
Service
Code
0x05 No Yes Reset
0x0E Yes Yes Get_Attribute_Single
0x10 No Yes Set_Attribute_Single
Access
Rule
1 Get State USINT
2 Get InstanceType USINT
3 Get TransportClassTrigger USINT
4 Get ProducedConnectionId UINT
5 Get ConsumedConnectionId UINT
6 Get InitialCommCharacteristics BYTE
7 Get ProducedConnectionSize UINT
8 Get ConsumedConnectionSize UINT
9 Get/Set ExpectedPackedRate UINT
Produced Connection Path
Implemented for
Class Instance
Name
Length
Consumed Connection
Path Length
Consumed Connection
Path
Service Name
Data
Type
USINT
USINT
EPATH
24 Revision September 2006

附录
B DeviceNet Object| DN-02
Class 0x0F Parameter Object
藉由使用 Parameter Object 提供 device 组态资料。此外,此 object 也提供所有所需信息
以定义及描述 device 个别的组态参数。
Class attributes
Attribute ID Access Rule Name Data Type
1 Get Revision UINT
2 Get MaxInstance UINT
8 Get ParaClassDescriptor WORD
9 Get ConfAssemblyInst UINT
10 Get NativeLanguage USINT
我们可以透过读取 Instance0、Attribute2 来得知目前 DN-02 所连接的 drive 共有多少个
parameters。Instance 有多少个是依照 DN-02 所连接到的 drive 来决定,也就是 drive 有
多少个 parameter,那幺此处的 instance 就有多少个。
Ex:
Instance Description
0 Class attributes
1 Drive parameter 1
2 Drive parameter 2
: :
N Drive parameter N
Revision September 2006 25

附录
B DeviceNet Object| DN-02
Instance: Parameter Instance
Attribute ID Access Rule Name Data Type
1 Get/Set Parameter Value --
2 Get Link Path Size USINT
3 Get Link Path --
4 Get Descriptor WORD
5 Get Data Type USINT
6 Get Data Size USINT
Common Services
Service Code
0X05 Yes No Reset
0x0E Yes Yes Get_Attribute_Single
0x10 No Yes Set_Attribute_Single
Implemented for
Class Instance
Service Name
26 Revision September 2006

Class 0x95 DataConf Object
Class attributes
Attribute ID Access Rule Name Data Type
1 Get Revision UINT
Instance 1
附录
B DeviceNet Object| DN-02
Attribute
Access
ID
Rule
2 Get/Set Config_flag USINT
3 Get/Set NetCtrl USINT
4 Get/Set NetRef USINT
5 Get/Set LossDNTreat USINT
17 Get/Set dlen_in USINT Length of input data
18 Get/Set Dlen_out USINT Length of output data
19 Get/Set Data_in[0] UINT 1st word input data
20 Get/Set Data_in[1] UINT 2nd word input data
21 Get/Set Data_In[2] UINT 3rd word input data
22 Get/Set Data_in[3] UINT 4th word input data
23 Get/Set Data_in[4] UINT 5th word input data
Name Data Type Description
0: DN-02 will use this object for I/O
message
1: DN-02 use default setting.
0: controlled local.
1: controlled by network.
0: set speed local,
1: set speed by network.
0: Ignore and continue
1: Stop according to “Stop method”.
24 Get/Set Data_in[5] UINT 6th word input data
25 Get/Set Data_in[6] UINT 7th word input data
26 Get/Set Data_in[7] UINT 8th word input data
Revision September 2006 27

附录
B DeviceNet Object| DN-02
Attribute
Access
ID
Rule
49 Get/Set Data_out[0] UINT 1st word output data
50 Get/Set Data_out[1] UINT 2nd word output data
51 Get/Set Data_out[2] UINT 3rd word output data
52 Get/Set Data_out[3] UINT 4th word output data
53 Get/Set Data_out[4] UINT 5th word output data
54 Get/Set Data_out[5] UINT 6th word output data
55 Get/Set Data_out[6] UINT 7th word output data
56 Get/Set Data_out[7] UINT 8th word output data
Name Data Type Description
Common Services
Service
Code
0X05 Yes Yes Reset
0x0E Yes Yes Get_Attribute_Single
0x10 No Yes Set_Attribute_Single
Implemented for
Class Instance
.
Service Name
28 Revision September 2006

附录
C Auto EDS Generator Software
为了方便使用者将 DN-02 所连接的 drive 能够正确的显示于 DeviceNet management tool
里头,我们可以透过此套【Auto EDS Generator】软件,然后将 DN-02 所连接 drive 的相
关 EDS 制造出来。操作步骤如下:
步骤一
将 drive 的参数设定如下:
VFD-M VFD-S VFD-B Description
P89=2 P09-01=2 P09-01=2 19200 bits/second
P92=3 P09-04=3 P09-04=3 RTU mode, 8 bits, no parity and 2 stop bits
硬件接线
Revision September 2006 29

附录
C Auto EDS Generator Software|DN-02
步骤二
确认好硬件接线后,执行 AutoEDS 程序,接着画面如下所示。此时,程序会要求使用者
进行通讯测试,唯有在此阶段通过测试后,AutoEDS 才会正确的被执行。
步骤三
按下图中左上角的【Start】按钮之后,程序便开始进行 EDS 的编写过程,下图为编写
EDS 的过程画面。
30 Revision September 2006

附录
步骤四
当程序完成 EDS 的编写后,此时会询问使用者是否需要来存成档案,这时候请按下
【OK】按钮来进行存盘。
C Auto EDS Generator Software|DN-02
Revision September 2006 31

附录
C Auto EDS Generator Software|DN-02
32 Revision September 2006