Page 1
Grid Solutions D485 Modbus to DeviceNet Converter Instruction Manual GE publication code: 1601-0235-A2 (GEK-113195A) *1601-0235-A2*...
Page 2
D485 is a registered trademark of GE Multilin Inc. The contents of this manual are the property of GE Multilin Inc. This documentation is furnished on license and may not be reproduced in whole or in part without the permission of GE Multilin Inc. The content of this manual is for informational use only and is subject to change without notice.
EMC compliance ............................1–4 INSTALLATION Quick install ......................2–1 Procedure................................2–1 Electrical installation .....................2–1 Overview................................2–1 DeviceNet connector..........................2–2 Configuration cable............................2–3 Modbus connector............................2–4 Power connector ............................2–4 Mechanical installation ..................2–5 DIN-rail mounting............................2–5 Indicators and switches ..................2–5 Status indicators............................2–5 Configuration switches..........................2–6 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Page 4
Selecting parameters for each node....................4–8 Configuration report..........................4–8 Configuration main window .................4–9 Description ..............................4–9 Navigation window ..........................4–10 Parameter window..........................4–10 Information window ..........................4–10 Configuration line indicator ........................ 4–10 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Page 5
Control codes ..............................8–2 Status register (D485 to fieldbus control system)................8–2 Status codes ..............................8–3 Handshaking procedure ..........................8–3 Input/output data during startup ...............8–4 Description ..............................8–4 Advanced fieldbus configuration.................8–5 Mailbox command............................8–5 Parameter data input area mapping....................8–5 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Page 6
MM2 user map ............................. 9–3 System configuration .....................9–5 Overview ................................. 9–5 Installing the EnerVista P485/D485 Setup software ..............9–6 Starting the configuration wizard ....................... 9–6 Step 1: Selecting the fieldbus type ..................... 9–6 Step 2: Selecting the sub-network properties ................9–7 Step 3: Include device types ........................
• Monitor: A tool for debugging the D485 and network connections. • Node: A device in the scan list that defines the communication with a slave (GE relay) on the Modbus sub-network. • Scan list: List of configured slaves with transactions on the sub-network.
About the D485 Modbus to DeviceNet Converter APPLICATION The D485 Modbus to DeviceNet Converter (or D485) acts as a gateway between the Modbus protocol and a DeviceNet network. Integration of industrial devices is enabled without loss of functionality, control, and reliability, both when retrofitting to existing equipment as well as when setting up new installations.
INTRODUCTION Ordering ORDER CODES The following table illustrates the order codes for the D485 Modbus to DeviceNet Converter. Table 1–1: D485 order codes D485 – * Base unit D485 D485 Modbus to DeviceNet Converter With configuration cable No configuration cable...
Chapter 2: Installation Installation Quick install PROCEDURE Snap the D485 on to the DIN-rail (see DIN-rail mounting on page 2–5). Connect the cable (see DeviceNet connector on page 2–2). DeviceNet Connect the serial Modbus network cable (see Modbus connector on page 2–4 for details).
DeviceNet bus power, negative supply voltage CAN L CAN L bus line Shield Cable shield CAN H CAN H bus line DeviceNet bus power, positive supply voltage Figure 2-2: DeviceNet connector 2–2 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
INSTALLATION CONFIGURATION CABLE The PC connector is indicated as B in Figure 2-1: D485 electrical connections on page 2–2. This connector is used to connect the D485 to a PC using the configuration cable for configuration and monitoring purposes. A configuration cable can be purchased from GE Multilin. The wiring for the configuration cable is shown below.
The Modbus connector is indicated as C in Figure 2-1: D485 electrical connections on page 2–2. This connector is used to connect the D485 to the serial network. Based on the configuration selected in the EnerVista P485/D485 Setup software, the corresponding signals are activated.
DIN-rail connector, then push the D485 against the DIN-rail as to make it snap on (2) To snap the D485 off, push the D485 downwards (1) and pull it out from the DIN-rail (2), as to make it snap off from the DIN-rail.
Normally, these switches are covered by a plastic hatch. Note that the node address can not be changed during runtime, i.e. the D485 requires a reset for any changes to have effect. Recycle the power supply to reset the module.
Baud rate: The DeviceNet network baud rate should match the D485 baud rate setting. DEVICENET NETWORK If the D485 is the last node on a DeviceNet network, it is necessary to use a DeviceNet TERMINATION network termination resistor of 120 ohms between the CAN L and CAN H terminals.
Problem during configuration upload/download. The Config Line LED turns red. • Serial communication failed – try again. The serial port seems to be available, but it is not possible to connect to the D485. • The serial port may be in use by another application. Exit EnerVista P485/D485 Setup and close all other applications including the ones in the system tray and try again.
BUFFER STRUCTURE data; input data, output data and general data. • Input data: This is data that should be sent to the fieldbus. The D485 can handle up to 512 bytes of input data. • Output data: this is data recieved from the fieldbus. The D485 can handle up to 512 bytes of output data.
The amount of data that should be treated as I/O data is determined by the ‘I/O Sizes’ parameter in the EnerVista P485/D485 Setup software. The remainder will be treated as explicit data. By default (that is, when using ‘automatic’ I/O sizes), all data is treated as I/O data.
General data Area (0x0400 to 0x07FB): This data cannot be accessed from the fieldbus, and should be used for transfers between nodes on the Modbus sub- network, or as a general “scratch pad” for data. 3–4 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Protocol configuration DESCRIPTION In order to be able to communicate on the Modbus sub-network, the D485 must be supplied with a description of the required sub-net protocol. To accomplish this, the EnerVista P485/D485 Setup software features a flexible protocol-programming system, allowing the D485 to interpret and exchange data with almost any serial device on the Modbus sub-network.
Minor fieldbus version Status WORD Device status (see table below) Serial number UDINT Serial number Serial number Product name SHORT_ D485 Modbus to Name of product STRING DeviceNet Conv Config consist UINT value 3–6 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Currently used MAC ID Baud rate USINT Currently used baud rate: 0 = 125 kbps, 1 = 250 kbps, and 2 = 500 kbps Allocation BYTE Allocation choice byte information USINT Master MAC ID D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 3–7...
Attr. Access Name Type Value Description State USINT 0 = Non existent 1 = Configuring 3 = Established 4 = Timeout 5 = Deferred delete Instance type USINT Explicit messaging connection 3–8 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Page 27
Number of bytes in the connection path consumed connection path length length attribute Consumed EPATH 20 2B 24 Specifies the application object(s) connection path that are to receive the data consumed by this connection object D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 3–9...
Maximum number of members acknowledge path in data with acknowledge path list size list (0 = dynamic) Data with Array of List of connection instance/ acknowledge path USINT consuming application object list pairs. 3–10 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Data that is read or written USINT Get/Set Output 5 Array of Data that is read or written USINT Get/Set Output 6 Array of Data that is read or written USINT D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 3–11...
UINT Total number of output bytes (I/O + explicit) 1. Corresponds to the “IO Size In” parameter in EnerVista P485/D485 Setup. 2. Corresponds to the “IO Size Out” parameter in EnerVista P485/D485 Setup. PARAMETER DATA INPUT This vendor-specific object provides parameter input data mapping information. The...
Parameter Array of Data that is read or written output 3 USINT ↓ ↓ ↓ ↓ ↓ ↓ Get/Set Parameter Array of Data that is read or written output 50 USINT D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 3–13...
Page 32
DATA EXCHANGE 3–14 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Internet Explorer 4.01 SP1 or higher Installation procedure DESCRIPTION There are two different ways of installing EnerVista P485/D485 Setup; either via the GE EnerVista CD or from the GE Multilin website at http://www.GEmultilin.com. INSTALLING FROM Run ‘setup.exe’ and follow the on screen instructions...
The following chapters will describe the configuration process in detail. It is recommended to use the configuration wizard for its simplicity of use with GE relays and meters. NOTE The online help system explains each configuration step in detail.
In the event the wizard cannot handle the specific Modbus command(s) required by the device, use the regular configuration tool or modify the commands produced by the wizard using the regular configuration tool. NOTE D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 4–3...
RS232 is a point-to-point communication standard; that is, it is only possible to have one sub-network node (Modbus device) connected to the D485 converter when using RS232. RS232 supports a maximum cable length of 15 meters and is full duplex. It uses two signal lines (Rx and Tx) and the signal is measured relative to ground.
In most GE Multilin relay and meter documentation, Modbus addresses are indicated in hexadecimal form. For the Modicon format used for the D485, convert the hex address to decimal, add 1, then append a prefix of 1, 2, 3, or 4, depending on the type of register. For...
Page 38
Examples are “Phase A Current Ia”, “Voltage Vab”, and “VT ratio”. The Data Direction column shows if data is read from or written to the device. The D485 converter is the one who reads or writes. It is only possible to read input data; output data can be both read or written.
The Device Type column is where previously configured devices are connected to the sub- network. If you click a row in the device column, a list will appear containing all previously configured device(s). Select the desired device from this list. D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 4–7...
The sixth and final step in the configuration wizard displays a summary of the REPORT configuration entries. This includes all configured devices, their parameters, and how they are mapped to the internal memory of the D485. This report can be saved in rich text (RTF) format or sent to a printer. 4–8...
SOFTWARE OVERVIEW If the Sub-net Overview button is pressed, a new window will appears that graphically displays how the data is mapped to the internal memory of the D485. Configuration main window DESCRIPTION The main window is shown below. It is composed of the navigation window, parameter window, information window, and configuration line indicator.
SOFTWARE OVERVIEW NAVIGATION WINDOW The navigation window in EnerVista P485/D485 Setup is the main tool for selecting the different levels of the configuration. There are three main levels in the navigation window, namely fieldbus, D485, and Modbus network. Menu entries preceded by a plus symbol (+) contain more configuration parameters or sub-menus.
During start-up, the fieldbus interface is initialized to fit the configuration created in the EnerVista P485/D485 Setup software. Since EnerVista P485/D485 Setup supports both the P485 and D485 converters, the user must verify that the 'Fieldbus' parameter indicates the correct converter. Additionally, it is possible for advanced users to customize the network interface inside the converter to meet specific application demands (see Advanced fieldbus configuration on page 8–5 for details).
SOFTWARE OVERVIEW P485/D485 configuration PARAMETER WINDOW By selecting 'P485/D485 ' in the Navigation window, basic configuration options for the sub-net will appear in the Parameter window. Figure 4-6: P485/D485 configuration • Physical interface: Currently, the D485 supports only a serial interface. The communication settings for the selected interface are available under 'Modbus Network (see Serial interface settings on page 4–13 for details).
When controlling a Modbus sub-network with the D485 it is important to understand functions during starting up. If the D485 starts scanning nodes on the sub-network, before data is received from the fieldbus control system (fieldbus master), values of ‘00’ may be transmitted to the nodes before data is updated the first time from the fieldbus.
Page 46
SOFTWARE OVERVIEW 4–14 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Introduction DESCRIPTION In master mode, the D485 is configured to run as a master on the Modbus sub-network, using a scan-list for communication with the Modbus slave devices. The scan-list is created using EnerVista P485/D485 Setup and can consist of multiple nodes with multiple transactions.
According to the Modbus specification, the message delimiter has a default setting of 3.5 characters.If this value is set to “0”, the D485 will use the Modbus standard 3.5 character message delimiter. The time in milliseconds is then dependent on the selected baud rate, but this is all handled by the D485.
COMMUNICATION MODEL Nodes DESCRIPTION A node in the EnerVista P485/D485 Setup software represents a device on the Modbus sub-network. In it’s simplest form, a Node contains of a single transaction, that consists of a Query and a Response. NODE PARAMETERS To gain access to these parameters, select the desired node in the navigation window.
D485 should wait after the broadcast was sent until the next command in the scan-list will be sent. This time should be selected such that all slave-devices connected to the D485 have time to finish the handling of the broadcast.
Trigger byte: This parameter disables and enables the trigger functionality for the response. If the “trigger byte” is enabled then the D485 will increase the byte at the “trigger byte address” by one when the D485 receives new data from the Modbus network.
Page 52
COMMUNICATION MODEL 5–6 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
(0x1200). This is a query command – the data is to be sent to the slave device and therefore is to be fetched from the OUT area starting at 0x0202. The next word indicates the data size (in bytes) to be written (in this case, 0x0002). D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 6–1...
File > Apply Changes. To exit without saving, select File > Exit. Command editor GENERAL The command editor makes it possible to add custom commands to the D485. Figure 6-2: Select command window To open the command editor, right click a node and select ‘Add Command’. A list of predefined commands will appear.
This value is linked to the (See below) Linked to “User”. Address’ parameter in the Command ID field. Determined by user at parameter window. configuration by selecting the Error Check object in the parameter window. D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 6–3...
Page 56
If ‘Depend’ is selected then this object in the “response” will get the same setting as the corresponding object in the “query”, furthermore the object will appear as non-editable in the parameter window (see below). Figure 6-5: Main window 6–4 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
(B). Selecting and deselecting commands makes it possible to view any combination of allocated data. The Modbus network monitor has a negative influence on the overall performance of the D485. Therefore the monitor functionality should be used with care. NOTE D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Yellow: Data allocated by a response/consume transaction. • Blue: Data allocated by a query/produce transaction. • Red: Collision. This area has been allocated more than once. • Grey: Data allocated by the control/status registers. 7–2 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
It offers an easy way of testing a specific command on a node, and monitor the result. It also provides an overview of the memory used by the node. Using the node monitor has a negative influence on the overall performance of the D485. Therefore the monitor functionality should be used with care.
Page 60
Areas displayed in light grey are data objects used by the node. If data updating is enabled (see sub-section C above) the contents of these areas are also displayed in hex. 7–4 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
See Input/output data during startup on page 8–4 for details. Using these registers, it is also possible for the fieldbus control system to instruct the D485 to enable/disable specified nodes.
12 to Control Code (CR_EC) See table below. 7 to 0 Data (CR_ED) See table below. CONTROL CODES The following control codes are recognized by the D485 and can be used by the fieldbus control system. Code Name Description 0x10 DISABLE_NODE Slave address of the node to disable.
Control Register Writes Start Start Compare CR_HS_CONFIRM with Compare SR_HS_CONFIRM with SR_HS_SEND CR_HS_SEND Equal? Equal? Read Status Register Write to Control Register Set CR_HS_CONFIRM to Toggle CR_HS_SEND SR_HS_SEND Figure 8-1: Handshaking flowchart D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 8–3...
Figure 8-2: Input/output data during startup When the fieldbus changes from off-line to on-line state, the fieldbus control system should clear (0) the ‘data valid’ bit in the control register. The D485 will then clear the ‘data valid’ bit in the status register.
ADVANCED FUNCTIONS Advanced fieldbus configuration MAILBOX COMMAND The mailbox commands are for advanced usage of the D485. Right clicking on the Fieldbus sub-menu items provides an option of inserting a mailbox. Figure 8-3: Mailbox command By default, all mapped I/O input data is grouped in one attribute and is used for polled production (input) data, and all mapped I/O output data is used as polled consumed (output) data.
Page 66
Attribute 4 length = 2 bytes Attribute 5 length = 6 bytes Figure 8-5: Mailbox example for parameter data input mapping The mailbox command should be saved before closing the mailbox command window. 8–6 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Indicates if the message was accepted A command and response layout example for setting 1 to 5 attributes is shown below. Figure 8-6: Command and response layout for parameter output area D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 8–7...
The attributes of I/O data input mapping object class A0h are directly mapped to assembly object 04h instances as given below. Class A0h, instance Corresponding instance in assembly 01h, attribute object class 04h (attribute 03h) 8–8 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Page 69
Indicates if the message was accepted A command and response layout example for setting 1 to 5 attributes is shown below. Figure 8-8: Command and response layout for IO input area D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 8–9...
The attributes of I/O data output mapping object class A1h are directly mapped to assembly object 04h instances as given below. Class A1h, instance Corresponding instance in assembly 01h, attribute object class 04h (attribute 03h) 8–10 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Page 71
Indicates if the message was accepted A command and response layout example for setting 1 to 5 attributes is shown below. Figure 8-10: Command and response layout for IO output area D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 8–11...
Page 72
Figure 8-11: Mailbox example for IO data output mapping Refer to chapter 9 for an application example using the mailbox commands. Incorrect usage of mailbox commands may permanently damage the converter. For additional information, consult the product support team at GE Multilin. CAUTION 8–12...
MM2 Motor Manager 2 and PQMII Power Quality Meter are used as examples. GE Multilin relays and meters support a very useful feature called the Modbus User Map in their software. This feature can be used in configuring the D485 to reduce the number of Modbus transactions and improve communication speed.
APPLICATION EXAMPLE SYSTEM SETUP This chapter describes how to set up the D485 with MM2 relay and PQMII meter to read and write parameters. It can also be used as a guideline to setup the D485 Modbus to DeviceNet Converter for communication with any GE Multilin relays.
Modbus user map setup DESCRIPTION GE Multilin Relays and Meters support the Modbus User Map feature in their software. This feature can be used with the D485 to reduce the number of Modbus transactions and improve communication speed. PQMII USER MAP There are six parameters to be read from PQMII as indicated in the previous section.
Page 76
The five parameters are now mapped to user memory map data at 0x0100 to 0x0104. These parameters can now be read by one Read input data register command at 0x0100 with register length = 5 words. 9–4 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
An overview of the system configuration described in this document is shown below. Figure 9-3: System configuration The following procedures describe how to configure for the D485 with the PQMII and MM2. It is assumed that the reader has some basic knowledge of the Modbus RTU protocol and DeviceNet communication protocol.
SETUP SOFTWARE Install the EnerVista P485/D485 Setup software. Connect the configuration port of D485 to the PC via the configuration cable. Connect the devices (PQMII and MM2) to D485 through the DB-9 Modbus network connector using the proper RS485 connections shown below.
Figure 9-7: Device types Configuration files for MM2 and PQMII are supplied with the EnerVista P485/D485 Setup software. Click the Load Device button to see the available configuration files. Figure 9-8: Available Modbus devices D485 MODBUS TO DEVICENET CONVERTER –...
Page 80
The Motor Start A command and Motor Stop command can be executed using command function + operation code. Save this device configuration by clicking the Save Device button. 10. Click Next to proceed to step 4 of the configuration wizard. 9–8 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Similarly create another node for the MM2. Set the Node Name as “MMII Relay”, the Slave Address to “4”, and the Device Type as “MM2-MM3”. Figure 9-13: Node for MM2 relay Click Next to proceed to step 5 of the configuration wizard. D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 9–9...
Command function code + operation code (F22) Figure 9-16: Choosing parameters for the MM2 relay node The values in the bracket indicate Modbus data format codes – refer to the instruction manuals for details. 9–10 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Click the Sub-net Oveview button to view the data mapping. Figure 9-18: Modbus network monitor Close the Modbus network monitor window. Click on Next to complete the configuration wizard. Figure 9-19: Wizard finished D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 9–11...
Click on Yes to save the device. The data can be saved in the same or different device files. Figure 9-20: Save device file CONFIGURING THE The main screen will appear after the wizard is closed. QUERIES 9–12 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Page 85
Query. Figure 9-22: Expand query Change the Reconnect time to 5 seconds by changing the value to 500 (500 × 10 ms = 5 seconds) and the Retries to 5. D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 9–13...
Page 86
Offline option for Fieldbus = Freeze Offline Options for sub-network = Freeze Upload mode = On data change Reconnect time = 500 (5 sec) Retries = 5 Figure 9-24: Query parameters for the command function 9–14 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Attribute 2 (Input 2) 2 bytes Average phase current Attribute 3 (Input 3) 2 bytes Neutral current Attribute 4 (Input 4) 4 bytes Average phase voltage Attribute 5 (Input 5) 2 bytes Motor status D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 9–15...
Page 88
04h instances with fixed attribute number 03h. The mapping is given below. Class A1h, Corresponding instance in Description instance 01h, assembly object class 04h attribute (Attribute 03h) Input 1 Input 2 Input 3 Input 4 Input 5 9–16 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
0x0002 0x0002 0x0002 0x0004 0x0002 0x0006 0x0002 Enter the offset and data length values from the table above, then select the File > Apply Changes menu item to save the changes. D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE 9–17...
To open the saved configuration file, select the File > Open menu item. The following window will appear. Figure 9-29: Opening a saved configuration file To connect to the D485, select the Tools > Port menu item, then select the port connected to D485. Click on the Connect icon.
It is necessary to import the EDS file in the DeviceNet configuration tool to incorporate the D485 as a slave in the network. The properties for the D485 must then be configured from the DeviceNet configuration tool. This includes setting up the MAC ID, input/output data areas, and baud rate.
Page 92
APPLICATION EXAMPLE 9–20 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...
Branding and colors throughout updated to GE Grid Solutions Warranty GE MULTILIN WARRANTY For products shipped as of 1 October 2013, GE warrants most of its GE manufactured products for 10 years. For warranty details including any limitations and disclaimers, see STATEMENT our Terms and Conditions at https://www.gegridsolutions.com/multilin/warranty.htm...
Page 94
MISCELLANEOUS 10–2 D485 MODBUS TO DEVICENET CONVERTER – USER GUIDE...