DN01 Manual en
DN01 Manual en
DN01 Manual en
Table of Contents
Chapter 1 Preface ........................................................................................1-1 1.1 Receiving and Inspection....................................................................1-1 1.2 Using this Manual ...............................................................................1-1 1.3 Features..............................................................................................1-2 Chapter 2 Overview .....................................................................................2-1 2.1 Outline ................................................................................................2-1 2.2 Description..........................................................................................2-1 2.3 Network Example................................................................................2-2 2.4 The Distance of Trunk Line.................................................................2-2 2.5 The Length of Drop Cable...................................................................2-2 2.6 Mounting .............................................................................................2-3 Chapter 3 Quick Start ..................................................................................3-1 3.1 Setting Steps for Installation ...............................................................3-1 3.2 EDS File Description...........................................................................3-2 3.3 MAC ID and Baud Rate ......................................................................3-2 3.4 Input/Output Data ...............................................................................3-3 Chapter 4 Configuration..............................................................................4-1 Chapter 5 Troubleshooting .........................................................................5-1 5.1 Network LED.......................................................................................5-1 5.2 Module LED ........................................................................................5-2 5.3 SP LED ...............................................................................................5-2
Appendix A Installation Information ......................................................... A-1 A.1 Dimension ..........................................................................................A-1 A.2 Ambient Conditions ............................................................................A-1 A.3 Product Certifications .........................................................................A-2 Appendix B DeviceNet Object ................................................................... B-1 Appendix C Auto EDS Generator Software.............................................. C-1
Chapter 1 Preface
1-1
1.3 Features
The communications adapter device acts as a gateway from DeviceNet network to MODBUS network. DIN rail mount. Defined as a DeviceNet Communications Device Profile 12 (0xC). There are 8 I/O addresses used to control the length by setting. The I/O mapping address can be set by the DeviceNet manage software system, such as RSNetWorx from Rockwell. By this way, user can monitor the VFD series by the ladder diagram, such as RSLogix 500 from Rockwell, and send commands to VFD series. No external power needed. Power is supplied via RS-485 that is connected to VFD series. Six pins RJ-11 cable, which is packed together with DN-02, is used to connect RS-485 of VFD series to RS-485 of DN-02 for power. DN-02 starts operation once the connection finished. DeviceNet Group2 slave functionality including: Explicit connection Polled connection Object Model
Identity Object
Application Object
Parameter Object
Assembly Object
Message Router
1-2
Chapter 2 Overview
2.1 Outline
2.2 Description
Bi colors LEDs (LED Network, LED Module and LED SP): provide users to analyze DeviceNet network and get the status of the AC motor drive to solve the problem from the Chapter 5 Troubleshooting. MAC address: used to set the physical address in the DeviceNet network. Data rate: used to set the baud rate on the DeviceNet network. RS-485 serial port: used to connect to the AC motor drive via RJ-11. SG+ and SG- are for the signal. Besides, the power of DN-02 is provided from the AC motor drive (15V) via this port. DeviceNet connection: 5-pin phoenix connector is used to connect DN-02 to DeviceNet network. 5-pin phoenix connector: 1. Red: V+, power supply. 2. White: CAN_H, signal high. 3. Bare: SHIELD, shield. 4. Blue: CAN_L, signal low. 5. Black: V-, common.
2-1
NOTE: Please refer to the "Appendix B -- DeviceNet Cable Profiles" in the DeviceNet Specifications for the wiring cable to ensure the max. distance.
NOTE: Please refer to the "Appendix B -- DeviceNet Cable Profiles" in the DeviceNet Specifications for the wiring cable to ensure the max. distance.
2-2
2.6 Mounting
Please mount the 35mm DIN rail to the DN-02 as shown in the following figure. Hook the top of the DIN rail to the DN-02 Push the bottom of the DIN rail to the DN-02 Push the clip to lock the DIN rail
2-3
2-4
Description Master frequency determined by RS-485 Operating instructions determined by the RS-485 communication 19200 bits/second Modbus RTU mode, 8 bits, no parity and 2 stop bits
Step 4. Using RJ11 (6 pins) to connect RS-485 of the DN-02 and the AC drive. Step 5. Adding the EDS files (saved in the CD) into DeviceNet management software. Step 6. Using the operation method of DeviceNet management software for DN-02 connection. Note: Please make sure that the AC motor drive has set as above table. Or DN-02 cannot work correctly. SP LED should be Green after finishing Step 4 and indicates the DN-02 is communicating with the AC motor drive. If the SP LED is not ON, please refer to chapter 4 Troubleshooting to solve the problem.
3-1
|___________VFD-S series
Data Rate
500K 250K 125K
3-2
Set MAC Address: Using decimal data set the MAC address on DeviceNet network.
ADD1
3 2
5 6 7 8
ADD2
3 2
5 6 7 8
Address
Description All addresses should be set within this range. Before setting address, please make sure that the address you want to use is available (NOT used by others). The address cannot be used repeatedly. Or it cannot connect to the network and the NET LED will be RED. This range is illegal addresses and the NET LED will be RED.
0-63
64-99
Example: ADD1: 3, ADD2: 6, Data Rate: 500k. Then the value of MAC ID is 36, not 0x36; the Baud rate is 500K.
3-3
Input data from AC drivers to DeviceNet (read only) Word 0 1 Word 0 1 Function Description Status of AC Driver, ex: VFD-M is 2101H Frequency Command, ex: VFD-M is 2102H Function Description Operate Command, Ex: VFD-M is 2000H Frequency command, Ex: VFD-M is 2001H
NOTE
If DN-02 has not been set before using, you can use it by connecting with DeviceNet network without any settings. In this case, DN-02 provides a default I/O setting as table above. DN-02 will use this default setting to exchange data with network in I/O message when power up. Please refer to Chapter 4 Configuration if a desire I/O setting is needed.
3-4
Chapter 4 Configuration
DN-02 also provides other functions for user to set by requirement. DN-02 supports an Object named DataConf (0x95), this object can be accessed via DeviceNet configuration or management tools. DataConf Object is defined as follows: Class 0x95 Data Configure Class Attributes Attribute ID 1 Instance 1 Attribute ID 2 Access Rule Get/Set Access Rule Get Name Revision Data Type UINT
Name Config_flag
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. Length of input data Length of output data 1st word input data 2nd word input data 3rd word input data 4th word input data 5th word input data 6th word input data 7th word input data
4-1
Get/Set
NetCtrl
USINT
Get/Set
NetRef
USINT
5 17 18 19 20 21 22 23 24 25
Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set
LossDNTreat Dlen_in Dlen_out Data_in[0] Data_in[1] Data_In[2] Data_in[3] Data_in[4] Data_in[5] Data_in[6]
USINT USINT USINT UINT UINT UINT UINT UINT UINT UINT
Attribute ID 26 49 50 51 52 53 54 55 56
Access Rule Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set
Name Data_in[7] Data_out[0] Data_out[1] Data_out[2] Data_out[3] Data_out[4] Data_out[5] Data_out[6] Data_out[7]
Data Type UINT UINT UINT UINT UINT UINT UINT UINT UINT
Description 8th word input data 1st word output data 2nd word output data 3rd word output data 4th word output data 5th word output data 6th word output data 7th word output data 8th word output data
Common services Implemented for Service Code 0X05 0x0E 0x10 Class Yes Yes No Class Yes Yes Yes
Explanation: User can set following variables for DataConf object by the requirement.
1.
dlen_in/dlen_out: for user to select input/output length when communicating with DeviceNet network. Maximum length of dlen_in/dlen_out is 16 bytes.
NOTE
After changing these two settings, the settings of Rx size and Tx size of I/O Parameters in scanner module is needed to be same as these two settings. Or there will be fault and cannot connect to DeviceNet network when running DN-02.
4-2
2.
data_in1~data_in8: used to save 16 bytes data of each Modbus address of AC drive. For example, if address data in data_in1 is 0x2000, it will send the first word of data to AC drive address 0x2000. Similarly, if address data in data_out1 is 0x2101, DN-02 will send the first word of data in AC drive address 0x2101 to DeviceNet network. The length of data_in/data_out is determined by dlen_in/dlen_out. After finishing setting, the command from DN-02 to the AC motor drive wont be valid immediately. Re-power on The modified setting will be valid via service RESET .
NOTE
the column length is UINT, i.e. word (2 bytes). An error will occur when inputting byte for data size. 3. NetCtrl/NetRef: used to determine if DN-02 is controlled via DeviceNet network. If it is 0, DeviceNet network cant control DN-02 and user can modify control command/frequency command directly. If it is 1, DN-02 is controlled by DeviceNet network via PLC ladder diagram commands. 4. LossDNTreat: used to determine to stop the AC motor drive or not when losing connection with DeviceNet network. 0: AC drive will still in current running status when losing connection with DeviceNet. 1: AC drive will stop running when losing connection with DeviceNet by the AC drives setting. 5. config_flag: factory setting is 0. It needs to be set to 1 when reset all settings to the factory settings. 6. The following table is the factory setting of DataConf Object Attribute ID 1 2 3 4 5 17 18 Name sfversion config_flag NetCtrl NetRef LossDNTreat dlen_in dlen_out 0000H 0001H 0001H 0001H 0002H 0002H Value(Hex)
4-3
Attribute ID 19 20 21 22 23 24 25 26 49 50 51 52 53 54 55 56
Name data_in[0] data_in[1] data_in[2] data_in[3] data_in[4] data_in[5] data_in[6] data_in[7] data_out[0] data_out[1] data_out[2] data_out[3] data_out[4] data_out[5] data_out[6] data_out[7]
Value(Hex) 2000H 2001H 2002H 0000H 2000H 2001H 2002H 0000H 2101H 2103H 2104H 010AH 2101H 2103H 2104H 010AH
4-4
Chapter 5 Troubleshooting
This chapter provides LEDs information, and corrective actions for solving problem.
Network Module SP
5-1
State
Indication 1.
Corrective Actions Ensure that all nodes have unique address. If all node addresses are unique, check network for correct media installation. 3. Ensure that the address is NOT in the illegal range.
Red LED
2.
Red LED
5.3 SP LED
State LED is off Indication No power DN-02 is reading the factory settings of the AC drives. DN-02 gets parameters information of the AC drives and initializes some Identity attributes. DN-02 and the AC drives are communicating. To check if the setting of communication format of CRC check error/AC drives the AC drives is correct. Please refer to the return error information. installation settings for detail. Corrective Actions No power is applied to the device.
5-2
State
Indication 1.
Corrective Actions To check if the connection between the AC drive and RS-485 of DN-02 is correct. 2. Re-wire the AC drive connection and ensure that the wire specification is correct.
Red LED
5-3
5-4
Appendix A provides the information that you may need to install the DN-02.
A.1 Dimension
42.0 [1.65]
Network
Module
SP
ADD1
100.0 [3.94]
ADD2
Data Rate
107.0 [4.21]
34.0 [1.34]
57.2 [2.25]
70.0 [2.75]
92.0 [3.62]
A-1
A-2
Object Classes DN-02 supports following object classes and user can read or write them via the DeviceNet management tool. Class 0x01 0x02 0x03 0x05 0x0F 0x95 Object Identity Object Message Router Object DeviceNet Object Connection Object Parameter Access Object DataConf Object
B-1
Class 0x01 Identity Object This object provides identification and general information about the device. Class Attributes Attribute ID 1 2 3 6 7 Access Rule Get Get Get Get Get Name Revision MaxInstance NumberofInstances MaxIdClass MaxIdInstance Data Type UINT UINT UINT UINT UINT
Instance 1: Drive Instance Attribute ID 1 2 3 4 5 6 7 Access Rule Get Get Get Get Get Get Get Name VendorId DeviceType ProductCode Revision MaxRev MinRev Status Sn ProdName StrLen ASCIIStr Data Type UINT UINT UINT USINT USINT WORD UDINT USINT STRING
Common Services
B-2
Class 0x02 Message Router The Message Router Object provides a messaging connection point to serve any object class or instance in the Client. Class attributes
Attribute ID 1 6 7
Instance 1
Attribute ID 2 3
Common Services
Service Code
Service Name
0x0E
Yes
Get_Attribute_Single
B-3
Class 0x03 DeviceNet Object The DeviceNet Object provides the configuration and status of a DeviceNet port. Each DN-02 supports one DeviceNet object for a physical connection to the DeviceNet communication link. Class Attributes Attribute ID 1 Access Rule Get Name Revision Data Type UINT
Attribute ID 1 2 3 4
Data Type USINT USINT BOOL USINT BYTE USINT BOOL BOOL USINT USINT
Get
AllocationChioce MasterNodeAddress
6 7 8 9
Common Services
B-4
Class 0x05 Connection Object The Connection Class allocates and manages the internal resources associated with both I/O and Explicit Messaging Connections. The specific instance generated by the Connection Class is called a Connection Instance or a Connection Object. Class attributes
Attribute ID 1
Name Revision
Attribute ID 1 2 3 4 5 6 7 8 9 12 13 14 15 16
Access Rule Get Get Get Get Get Get Get Get Get/Set Get/Set Get Get Get Get
Name State InstanceType TransportClassTrigger ProducedConnectionId ConsumedConnectionId InitialCommCharacteristics ProducedConnectionSize ConsumedConnectionSize ExpectedPackedRate WatchdogTimeoutAction Produced Connection Path Length Produced Connection Path Consumed Connection Path Length Consumed Connection Path
Data Type USINT USINT USINT UINT UINT BYTE UINT UINT UINT USINT USINT EPATH USINT EPATH
B-5
Attribute ID 1 2 3 4 5 6 7 8 9 12 13 14 15 16
Access Rule Get Get Get Get Get Get Get Get Get/Set Get/Set Get Get Get Get
Name State InstanceType TransportClassTrigger ProducedConnectionId ConsumedConnectionId InitialCommCharacteristics ProducedConnectionSize ConsumedConnectionSize ExpectedPackedRate WatchdogTimeoutAction Produced Connection Path Length Produced Connection Path Consumed Connection Path Length Consumed Connection Path
Data Type USINT USINT USINT UINT UINT BYTE UINT UINT UINT USINT USINT EPATH USINT EPATH
Common Services
B-6
Class 0x0F Parameter Object Use of the Parameter Object provides a known, public interface to a devices configuration data. In addition, this object also provides all the information necessary to define and describe the devices individual configuration parameters. Class attributes
Attribute ID 1 2 8 9 10
We can get the number of parameters of the drive that connected to the DN-02 by Instance 0 and Attribute2. The number of instances depends on the number of parameters in the drive. Ex:
Instance 0 1 2 : N
B-7
Attribute ID 1 2 3 4 5 6
Name Parameter Value Link Path Size Link Path Descriptor Data Type Data Size
Common Services
B-8
Class 0x95 DataConf Object Class attributes Attribute ID 1 Access Rule Get Name Revision Data Type UINT
Instance 1 Attribute Access ID Rule Name Data Type Description 0: DN-02 will use this object for I/O 2 Get/Set Config_flag USINT 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. Length of input data Length of output data 1st word input data 2nd word input data 3rd word input data 4th word input data 5th word input data 6th word input data 7th word input data 8th word input data
B-9
Get/Set
NetCtrl
USINT
Get/Set
NetRef
USINT
Get/Set LossDNTreat
USINT
17 18 19 20 21 22 23 24 25 26
Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set
dlen_in Dlen_out Data_in[0] Data_in[1] Data_In[2] Data_in[3] Data_in[4] Data_in[5] Data_in[6] Data_in[7]
USINT USINT UINT UINT UINT UINT UINT UINT UINT UINT
Attribute Access ID 49 50 51 52 53 54 55 56 Rule Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set Get/Set
Data Type UINT UINT UINT UINT UINT UINT UINT UINT
Description 1st word output data 2nd word output data 3rd word output data 4th word output data 5th word output data 6th word output data 7th word output data 8th word output data
Common Services
B-10
Hardware Connection
Step2. Make sure that the hardware connection is correct and then execute the AutoEDS program. Following screen will be displayed. After successful communication test, the AutoEDS will be executed correctly.
C-1
Step3. After pressing the Startbutton at the upper-left corner, program will start generating the EDS file as shown in the following.
C-2
Step4. After generating EDS file, you will get a pop-up window for saving this EDS file.
C-3
C-4