D485 Man PDF
D485 Man PDF
D485 Man PDF
T
GIS ERE
RE
ISO9001:2000
GE Multilin EM I
G
U LT I L
215 Anderson Avenue, Markham, Ontario
Canada L6E 1B3 GE Multilin's Quality
Management System is
Tel: (905) 294-6222 Fax: (905) 201-2098 registered to ISO9001:2000
QMI # 005094
Internet: http://www.GEmultilin.com UL # A3775
GE Consumer & Industrial
Table of contents
Chapter 1: Introduction
Introduction
Getting started
INSPECTING THE Examine the shipping container for obvious damage prior to installing this product; notify
PACKAGE AND PRODUCT the carrier of any damage that you believe occurred during shipment or delivery. Inspect
the contents of this package for any signs of damage and ensure that the items listed
below are included.
Remove the items from the shipping container. Be sure to keep the shipping container
should you need to re-ship the unit at a later date.
In the event there are items missing or damaged, contact the party from whom you
purchased the product. If the unit needs to be returned, please use the original shipping
container, if possible.
CONTACT INFORMATION GE Multilin contact information and call center for product support is shown below:
GE Multilin
215 Anderson Avenue
Markham, Ontario
Canada L6E 1B3
• Telephone: 905-294-6222 or 1-800-547-8629 (North America),
+34 94 485 88 00 (Europe)
Fax: 905-201-2098 (North America),
+34 94 485 88 45 (Europe)
• E-mail: multilin.tech@ge.com
• Website: http://www.GEmultilin.com
Document conventions
DESCRIPTION The following conventions are used throughout this document:
• Numbered lists provide sequential steps.
• Bulleted lists provide information, not procedural steps.
• The term ‘user’ refers to the person or persons responsible for installing the D485
Modbus to DeviceNet Converter in a network.
• Hexadecimal values are written in the format 0xNNNN, where NNNN is the
hexadecimal value.
• Decimal values are represented as NNNN, where NNNN is the decimal value.
• As in all communication systems, the terms “input” and “output” can be ambiguous,
since their meaning depends on which end of the link is being referenced. The
convention in this document is that “input” and “output” are always being referenced
to the master/scanner end of the link (see illustration below).
• The term “sub-network” is interchangeably used for “Modbus network”.
DeviceNet
master
GE Multilin
Slave Slave
D485 Converter
IN OUT
Modbus
network
DeviceNet
DeviceNet master (PLC)
master (PLC)
HMI
HMI
DeviceNet network
DeviceNet network
DeviceNet
slave
DeviceNet slave
PC for configuration
and monitoring
D485
D485
Features
GENERAL FEATURES • DIN-rail mountable
• Save/load configuration in flash
• CE, UL, and cUL marked
DEVICENET INTERFACE • Complete DeviceNet adapter functionality (profile no. 12 group 2 only server)
FEATURES • Group two only server
• MAC ID and baud rate configuration via on-board switches
• Polled, Change of State (COS), and Bit Strobed I/O
• Explicit messaging
Ordering
ORDER CODES The following table illustrates the order codes for the D485 Modbus to DeviceNet
Converter.
Specifications
MECHANICAL HOUSING
Plastic housing with snap-on connection to DIN-rail, protection class IP20
DIMENSIONS
L x W x H: 120 mm × 75 mm × 27 mm
(4.72-in × 2.95-in × 1.06-in)
PROTECTION CLASS
Protection class: IP20
Chapter 2: Installation
Installation
Quick install
PROCEDURE 1. Snap the D485 on to the DIN-rail (see DIN-rail mounting on page 2–5).
2. Connect the DeviceNet cable (see DeviceNet connector on page 2–2).
3. Connect the serial Modbus network cable (see Modbus connector on page 2–4 for
details).
4. Connect a PC using the configuration cable (see Configuration cable on page 2–3).
5. Connect the power cable and apply power to the unit (see Power connector on page
2–4 for details).
6. Start the EnerVista P485/D485 Setup software.
7. Normally, the EnerVista P485/D485 Setup detects the correct serial port. If this does
not occur, select the correct port through the Port menu item.
8. Configure the D485 using EnerVista P485/D485 Setup and download the configuration
to the unit.
9. Configure and power-up the Modbus network device for communication.
Electrical installation
OVERVIEW The location of the various electrical connectors is shown below.
C E
DEVICENET CONNECTOR The DeviceNet connector is indicated as A in the figure above. This connector is used to
connect the D485 to the DeviceNet network.
The pin assignments for the DeviceNet connector are shown below.
1 5
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.
D-sub 9 female (PC) Modular 4/4 RJ11 connector (D485)
1 1 Ground
RS232 Rx 2 2 Ground
RS232 Tx 3 3 Rx
4 4 Tx
Ground 5
6 Connects to D485
4
3
2
1
Figure 2-4: Configuration cable (D485 end)
The pinout for the DSUB 9-pin serial plug (connects to the PC) is shown below.
5 1
9 6
(female)
Figure 2-5: Configuration cable (PC end)
MODBUS CONNECTOR 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.
5 1
9 6
(female)
Figure 2-6: Modbus connector
POWER CONNECTOR The power connector is indicated as D in Figure 2-1: D485 electrical connections on page
2–2. Use this connector to apply power to the D485.
Pin 1: +24 V DC;
Pin 2: ground
Use 60/75 or 75°C copper (CU) wire only. The terminal tightening torque must be between
5 to 7 lbs-in (0.5 to 0.8 nm).
NOTE
1 2
Mechanical installation
DIN-RAIL MOUNTING The DIN-rail connector is internally connected to the D485.
1 1
ON OFF
2 2
1 2
3 4
5 6
CONFIGURATION The configuration switches are used to set the DeviceNet MAC ID and baud rate settings.
SWITCHES 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.
8
7
6
5
4
3
2
1
The DeviceNet MAC ID and baud rate switches are set according to the following tables.
When removing the hatch, avoid touching the circuit boards and components. Exercise
caution when using tools to open the hatch.
NOTE
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.
LINKS Additional information about the DeviceNet fieldbus system can be found at http://
www.odva.org.
Troubleshooting
DESCRIPTION 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.
• Select another serial port and try again.
Poor performance.
• Right click ‘Modbus Network’ in the Navigation window and select ‘Modbus Network
Status’ to see status/diagnostic information about the sub network. If the D485
reports very many retransmissions, check your cabling and/or try a lower baud rate
setting for the sub network (if possible).
• Is the Modbus Network Monitor in EnerVista P485/D485 Setup active? The Modbus
network monitor has a negative influence on the overall performance of the D485,
and should only be used when necessary.
• Is the Node Monitor in EnerVista P485/D485 Setup active? The node monitor has a
negative influence on the overall performance of the D485, and should only be used
when necessary.
Data Exchange
Overview
DESCRIPTION Data from the fieldbus (DeviceNet) and the sub network (Modbus) is stored in an internal
memory buffer. This is a easy method for data exchange where the fieldbus control
system simply reads and writes data to pre-defined memory locations, and the serial sub
network also use the same internal memory buffer to read and write data.
Refer to Figure 3-1: Data exchange overview on page 3–2 for additional details.
PLC memory
Current Ia CT PRIMARY
Current Ia CT PRIMARY
The data in the input area of The data in the output area of the
the D485 contains data received D485 contains data received from
from nodes on the Modbus DeviceNet In this case, it is the CT PRIMARY
sub-network (sent in to the D485 setting of the PQMII meter
from the sub-network) (sent out from the D485 to the sub-network).
Modbus sub-network
CT PRIMARY setting
INTERNAL MEMORY The internal memory buffer can be seen as a memory space with three different types of
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.
• General data: This data cannot be accessed from the fieldbus, and is used for
transfers between nodes on the sub-network, or as a general “scratch pad” for data.
The D485 can handle up to 1024 bytes of general data.
Input data
(up to 512 bytes)
Sub network
Fieldbus
Output data
(up to 512 bytes)
General data
1024 bytes
I/O data
Identity
Input data object
Assembly
Explicit data
object
Message router
object
I/O data
General data
(Not available on
the fieldbus)
Connection object
Explicit
I/O connections
messages
Link layer
DeviceNet network
Figure 3-3: D485 memory structure
I/O DATA VS. EXPLICIT The input and output areas can hold two types of data:
DATA • I/O data: This data is sent/recevied upon change of value, polling or cyclically.
• Explicit data: This data is updated on request from another node on the fieldbus.
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.
For example, when using an input I/O size of 50 and an output I/O size of 60, the input and
output data areas will be allocated as follows:
Memory Map
MEMORY LOCATIONS When configuring the sub-network, use the memory locations shown below:
• Status register (0x0000 to 0x0001): If enabled, this register occupies the first two
bytes in the input data area. For more information, see Control and status registers on
page 8–1.
• Input data area (0x002 to 0x01FF): This area holds data that should be sent to the
fieldbus (see the status and control registers).
• Control register (0x0200 to 0x0201): If enabled, these register occupies the first two
bytes in the output data area. For more information, see Control and status registers
on page 8–1.
• Output data area (0x0202 to 0x03FF): This area holds data received from the fieldbus.
Data cannot be written to this area.
• 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.
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.
COMMUNICATION MODE The D485 supports the Modbus Master communication mode. In this mode, the D485 is
setup to use the Modbus RTU protocol and implements a Modbus master for data
exchange between the fieldbus and one or more devices on the sub-network. Refer to
Chapter 5 for additional details.
PROTOCOL BUILDING A description of the building blocks used to describe the sub-net protocol is shown below.
BLOCKS
The values for the status attribute (attribute 5) are shown below.
Bit(s) Name
0 Module owned. A master has allocated the module.
1 Reserved
2 Configured
3 to 7 Reserved
8 Minor recoverable fault
9 Minor recoverable fault
10 Major recoverable fault
11 Major unrecoverable fault
12 to 15 Reserved
ASSEMBLY OBJECT The assembly object binds all mapped I/O data. This data is used for I/O connections.
(CLASS 04H) Services:
Class services: Get Attribute Single
Instance services: Get Attribute Single, Set Attribute Single
Table 3–9: Instance attributes for assembly object 04h, instance 64h
Attr. Access Name Type Value Description
3 Get Data Array of --- Data produced by the D485 to
USINT the master
Table 3–10: Instance attributes for assembly object 04h, instance 96h
Attr. Access Name Type Value Description
3 Get Data Array of --- Data consumed by the D485 to
USINT the master
If the I/O input data size is set to 0, the above instances will not be initialized.
NOTE
Table 3–12: Attributes for instances 1 and 10 to 14 for connection object 05h
Attr. Access Name Type Value Description
1 Get State USINT N/A 0 = Non existent
1 = Configuring
3 = Established
4 = Timeout
5 = Deferred delete
2 Get Instance type USINT 0 Explicit messaging connection
ACKNOWLEDGE Services:
HANDLER OBJECT Class services: Get Attribute Single
(CLASS 2BH) Instance services: Get Attribute Single, Set Attribute Single
I/O DATA INPUT This vendor-specific object provides I/O input data mapping information. The number of
MAPPING OBJECT existing attributes depends on which attributes are initialized in the module through the
(CLASS A0H) EnerVista P485/D485 Setup software.
Services:
Class services: Get Attribute All
Instance services: Get Attribute Single, Set Attribute Single
Table 3–18: Class attributes for I/O data input mapping object A0h
Attr. Access Name Type Value Description
1 Get Revision UINT 0001h Revision 1
Table 3–19: Instance attributes for I/O data input mapping object A0h, instance 01h
Attr. Access Name Type Value Description
1 Get Input 1 Array of --- Data that is read
USINT
2 Get Input 2 Array of --- Data that is read
USINT
3 Get Input 3 Array of --- Data that is read
USINT
4 Get Input 4 Array of --- Data that is read
USINT
5 Get Input 5 Array of --- Data that is read
USINT
6 Get Input 6 Array of --- Data that is read
USINT
I/O DATA OUTPUT This vendor-specific object provides I/O output data mapping information. The number of
MAPPING OBJECT existing attributes depends on which attributes are initialized in the module through the
(CLASS A1H) EnerVista P485/D485 Setup software.
Services:
Class services: Get Attribute All
Instance services: Get Attribute Single, Set Attribute Single
Table 3–20: Class attributes for I/O data output mapping object A1h
Attr. Access Name Type Value Description
1 Get Revision UINT 0001h Revision 1
Table 3–21: Instance attributes for I/O data output mapping object A1h, instance 01h
Attr. Access Name Type Value Description
1 Get/Set Output 1 Array of --- Data that is read or written
USINT
2 Get/Set Output 2 Array of --- Data that is read or written
USINT
3 Get/Set Output 3 Array of --- Data that is read or written
USINT
4 Get/Set Output 4 Array of --- Data that is read or written
USINT
5 Get/Set Output 5 Array of --- Data that is read or written
USINT
6 Get/Set Output 6 Array of --- Data that is read or written
USINT
DIAGNOSTIC OBJECT This vendor specific object provides diagnostic information from the module.
(CLASS AAH) Services:
Class services: Get Attribute All
Instance services: Get Attribute Single
PARAMETER DATA INPUT This vendor-specific object provides parameter input data mapping information. The
MAPPING OBJECT number of existing attributes depends on which attributes are initialized in the module
(CLASS B0H) through the EnerVista P485/D485 Setup software.
Services:
Class services: Get Attribute All
Instance services: Get Attribute Single, Set Attribute Single
Table 3–24: Class attributes for parameter data input mapping object B0h
Attr. Access Name Type Value Description
1 Get Revision UINT 0001h Revision 1
Table 3–25: Instance attributes for parameter data input mapping object, instance 01h
Attr. Access Name Type Value Description
1 Get Parameter input 1 Array of --- Data that is read
USINT
2 Get Parameter input 2 Array of --- Data that is read
USINT
3 Get Parameter input 3 Array of --- Data that is read
USINT
↓ ↓ ↓ ↓ ↓ ↓
50 Get Parameter Array of --- Data that is read
input 50 USINT
PARAMETER DATA This vendor-specific object provides parameter output data mapping information. The
OUTPUT MAPPING number of existing attributes depends on which attributes are initialized in the module
OBJECT (CLASS B1H) through the EnerVista P485/D485 Setup software.
Services:
Class services: Get Attribute All
Instance services: Get Attribute Single, Set Attribute Single
Table 3–26: Class attributes for parameter data output mapping object B1h
Attr. Access Name Type Value Description
1 Get Revision UINT 0001h Revision 1
Table 3–27: Instance attributes, parameter data output mapping object, instance 01h
Attr. Access Name Type Value Description
1 Get/Set Parameter Array of --- Data that is read or written
output 1 USINT
2 Get/Set Parameter Array of --- Data that is read or written
output 2 USINT
3 Get/Set Parameter Array of --- Data that is read or written
output 3 USINT
↓ ↓ ↓ ↓ ↓ ↓
50 Get/Set Parameter Array of --- Data that is read or written
output 50 USINT
Software overview
Introduction
DESCRIPTION EnerVista P485/D485 Setup is a PC-based configuration software used to describe the
protocol and communication properties for a serial network. When the configuration is
finished and the functionality is tested, it is possible to send memory allocation information
to a printer using EnerVista P485/D485 Setup.
EnerVista P485/D485 Setup can also be used for troubleshooting and diagnostic of the
D485 and the serial network during runtime.
SYSTEM REQUIREMENTS The following hardware and software is required to use the EnerVista P485/D485 Setup
software.
• Pentium 133 MHz or higher
• 10 MB of free space on the hard drive
• 8 MB RAM
• Windows 95/98/NT/2000/XP
• 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 THE Download the self-extracting EXE file from the GE Multilin website at http://
GE MULTILIN WEBSITE www.GEmultilin.com.
CONFIGURATION The purpose of the configuration wizard is to help you through the process of creating a
WIZARD project with a Modbus RTU sub-network. When the wizard is finished, it is possible to
continue editing the project in the configuration tool.
The EnerVista P485/D485 Setup software will open with following screen to select the
configuration.
SELECT FIELDBUS TYPE The first step in the configuration wizard selects the fieldbus type. The fieldbus is the higher
layer network that communicates with the serial device(s) on the Modbus sub-network via
the D485 converter.
Select “DeviceNet” then click Next to continue. A typical DeviceNet network arrangement
is shown below.
Fieldbus
Master (PLC)
F ieldbus Network (P rofibus or DeviceNet)
HMI
Fieldbus
Slave
GE Converter
(P485 or D485) PC for configuration
and Monitoring
Sub-Network (Modbus)
SUB-NETWORK The second step in the configuration wizard selects the properties for the Modbus sub-
PROPERTIES network. The data flow for the sub-network is shown below.
Fieldbus
Master
Fieldbus
Data Direction
In Out GE
Converter
Modbus
Sub-Network
• Physical standard: The physical standard can be either RS232, RS485, or RS422.
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.
RS485 is a common multi-drop communication standard. It is used with larger cable
distances with one or several sub-network nodes (Modbus devices) connected. RS485
supports a maximum of 31 nodes, with half duplex and a total cable length up to 1200
meters. It uses two signal lines (A-line and B-line, twisted pair) with the signal being
measured between the two lines.
RS422 is a common multi-drop communication standard. It is used with larger cable
distances with one or several sub-network nodes connected. RS422 supports a maximum
of 31 nodes, with full duplex and a total cable length up to 1200 meters. It uses four signal
lines (receive A1-B1 and transmit A2-B2, twisted pair) with the signals being measured
between the two signal lines A and B.
• Bitrate (bits/s): This parameters refers to the speed of the sub-network. Speeds are
1200 to 57600 bps in predefined steps. The bitrate is also referred to as baud rate.
• Parity: The parity can be selected as "Odd", "Even", or "None". This is a simple error
check method capable of detecting single bit communication errors on a serial
network (i.e. the sub-network).
• Data bits: There can be "7" or "8" data bits. Generally, 8 data bits are used. This
parameter determines how many bits per byte of user data that is transmitted on the
sub-network, excluding start, stop and parity bits.
• Stop bits: There can be "1" or "2" stop bits. Determines the number of stop bits at the
end of each byte sent on the sub-network.
DEVICE TYPES The third step in the configuration wizard introduces device types into the project and
configures their parameters. Every device must be unique. Predefined devices can be
loaded from a file, and it is possible to connect devices to the sub-network at a later step in
the wizard. Additional devices can be created by editing previously saved devices.
The device types window is shown below.
The Modbus address range, including bit areas and register areas (words), is shown below.
The Modbus commands are also shown for the corresponding memory areas. Note that
many device manuals ignore the leading digit of the address (i.e. 0, 1, 3 or 4); as such, the
address 40001 is often referred to as 0001. The leading digit can be determined from the
Modbus command specified.
Address Command
0x Output coil (bits) 00001 to 09999 #1 (decimal): Read coil status
#15 (decimal): Force multiple cells
1x Inputs status (bits) 10001 to 19999 #2 (decimal): Read input status
3x Input status (word) 30001 to 39999 #4 (decimal): Read input registers
4x Output (word) 40001 to 49999 #3 (decimal): Read holding registers
#16 (decimal) Preset multiple registers
Users should consult the instruction manuals of the various network devices to determine
the actual Modbus command code(s) implemented or required. This will determine the
implied leading digit of the data address (i.e. 0, 1, 3 or 4).
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
example, to convert the input register hexadecimal address 0x0300, we have:
1. 0300h = 0768 decimal
2. 0768 decimal + 1 = 0769 decimal
3. change 0769 → 30769 (prefix “3” for input registers)
Therefore, a Modbus hex address of 0x0300 is 30769 in Modicon format.
The wizard can accept memory addresses from 0 to 9999 (0x270F). For higher memory
addresses, please use the protocol building blocks (refer to Protocol building blocks on
NOTE page 3–5 for additional details).
The Create Device button creates a new empty device. A new Device tab will be created.
The new device can be named in the Device Name text box. The Remove Device button
removes the selected device.
The Load Device button opens the “open file” dialog box. Select a previously stored device
to include it into the project. Device files (extension D01) for the most commonly used GE
relays and meters are supplied with the EnerVista P485/D485 Setup software.
The Save Device button opens the “save device” dialog box. To create similar devices, click
on Save Device to save a particular device parameter list, then click Load Device to
recover a duplicate of the device. The duplicate device should be renamed and then
modified as required. Devices can also be saved for a use at a later stage. All parameters
and address settings are stored in the device file.
The Device tab shows the name of the device and the active node. The tab “in front” of the
other tabs is the active one. The active device's parameters are shown in the parameter list
below the tab list.
The Device Name is typically the technical name or designation of a device found on the
devices name plate. Examples are “MM2”, “469” and “PQMII”. Do not confuse the device
name with the node name, which is entered at a later stage. The node name is typically a
name that is used to identify the device in your application. Examples are “Lube Pump 1”,
“Production feeder” and “Main transformer”.
The Create Parameter button adds a new parameter to the parameter list. The loaded
device from previously saved devices can be modified for a new parameter or change in
the settings of the parameters. The Remove Parameter button removes the selected
parameter from the parameter list. To select a parameter simply click the desired
parameter in the list. Use the scroll bar to move the list up and down. Click the desired
parameter and enter the desired Parameter Name. It is recommended that you enter a
unique name here. 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. Refer to Figure 4-2: Sub-network data flow on page 4–4 for
details.
The Register column is where the Modbus register number for the for the parameter in the
device is entered. Only register addresses can be entered here (the register address is the
absolute address +1). Most device manuals contain the register address but some may
provide an absolute address in hexadecimal format. In case absolute addresses are given,
the address must be incremented by 1. If the address range covers multiple coils, inputs, or
registers, only the start address is entered.
The Length column is where the total length of the parameter data is entered. The length is
given in bits for the 0x and 1xxxx areas and in words for the 3xxxx and 4xxxx areas. If the
parameter data for a device on the sub-network are linearly addressable, then
consecutive parameters may be addressed using a single Modbus command from the
D485. For example, five parameters each 2 words long can be addressed using a single
Modbus command (#16 Preset Multiple Registers) with a total length of 10 (5 × 2). Reducing
the number of transactions initiated by the D485 will optimize communications on the
Modbus sub-network.
The Type column shows the type of data that is referenced for the respective parameter.
Possible entries are bit(s) and word(s). This is automatically entered by the wizard based on
the selected address and selected direction.
The Modbus Command column shows the Modbus command assigned by the wizard. The
Modbus command is automatically selected by the wizard based on the selected address
and direction.
CONNECTING DEVICES The fourth step in the configuration wizard connects one or more devices to the Modbus
sub-network. Devices on a sub-network are also known as nodes (Modbus slave devices)
and are the actual nodes that will be physically connected to the Modbus sub-network. It
is possible to connect devices of the same device type more than once. The created nodes
will be listed to the left.
The Node window is shown below:
The Create Node button adds a new node (Modbus slave) to the sub-network. A new row
will be added to the node list to the left. The Remove Node button to remove the selected
node. Select a node in the node list by clicking on the desired node.
When a new node is created, the wizard assigns it a default name. Enter the desired node
name in the Node Name column. The node name is typically a name that identifies the
device in your application. Examples are “Lube pump1”, “Production Feeder” and “Main
transformer “. Do not confuse the node name with the device name assigned at an earlier
stage – the device name is typically the technical name or designation of a device found
on the devices name plate (for example, “MM2”, “SR469” and “PQMII”).
Enter the Modbus slave address of the sub-network node in the Slave Address column. The
wizard automatically assigns a default address which can be changed as needed. The
node address must match the slave address setting of the device you are connecting. If
you only connect one node, this address setting might be irrelevant, depending on the
operation of the device.
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.
SELECTING PARAMETERS The fifth step in the configuration wizard selects the parameters that shall be mapped to
FOR EACH NODE the Fieldbus Network. All previously configured parameters will appear at this point,
including parameters saved to a file. All previously configured nodes will appear in the
horizontal Node tab list in the upper left of the configuration wizard. Select the All
Parameters tab to view the complete list of parameters.
The Node tab in the foreground displays the active node. The number within brackets at
the end of the node name is the node Modbus slave address (1 to 255) on the sub-network.
Clicking a specific tab will display the parameters currently mapped to this node address.
For example, for “Lube Pump 1[1]”, the name of the node is “Lube Pump 1” and its slave
address on the sub-network is 1.
The All Parameters tab displays all parameters in the same list. This provides an overview
of data transmitted on the sub-network. It is also possible to add or remove parameters on
configured nodes in this list by using the Add Parameter or Remove Parameter buttons.
The Add Parameter button adds a new parameter to the selected node. The Remove
Parameter button remove the selected parameter from the selected node.
The Parameter Name column displays the user-assigned parameter name. When a new
parameter is inserted, it is named by the software as “Not Configured”. A list of available
parameters will appear when the you click the row. Select the desired parameter by
clicking on it in the list.
CONFIGURATION 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.
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.
A
B
C
D
Figure 4-3: Configurator main window
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. To gain access to these parameters, the entry must be expanded by clicking
the ‘+’ symbol.
By right-clicking entries in this window, a popup menu with functions related to this entry
will appear. The options in this popup menu is often also available in the menu bar.
PARAMETER WINDOW The parameters available in this window is different depending on what is selected in the
navigation window. It consists of a grid with parameter names and, on the same row, a
field for editing.
The parameters can be displayed in two modes: alphabetic and categorized. Parameter
values are entered either using selection box or by entering a value. Values can be entered
either in decimal form (for example, 35) or in hexadecimal form (for example, 0x1A).
If a value is entered in decimal format, it will be converted automatically to the equivalent
hexadecimal value.
INFORMATION WINDOW In the right bottom corner of EnerVista P485/D485 Setup, below the parameter window,
lies the information window. It contains descriptions of currently marked parameter
instances.
CONFIGURATION LINE In the lower-right corner of the main window, two lights indicate if a connection has been
INDICATOR established between the PC running EnerVista P485/D485 Setup and D485. A green light
indicates that the connection is OK, and a red light indicates no connection.
Fieldbus configuration
DESCRIPTION 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).
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.
SERIAL INTERFACE To be able to communicate on the Modbus network, various communication settings
SETTINGS needs to be configured. To gain access to these settings, select ‘Modbus Network’ in the
Navigation window.
Communication model
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.
Communications between the D485 and the sub-net nodes (Modbus slaves) is based on
transactions with a query/response architecture. The D485 sends out a query on the
Modbus sub-network, and the addressed node is expected to send a response to this
query. Slave nodes are not allowed to respond without first receiving a query.
An exception to this is broadcaster functionality. Most protocols offer some way of
accessing all network nodes. In the D485, this is called a ‘broadcaster’. The broadcaster
can transmit messages to all nodes on the sub-network without expecting a response.
In Modbus, it is possible to broadcast a message to all nodes by sending a message to
node address 0. The Modbus slaves will receive the message, but not Respond to it.
Node 1
(Modbus Slave)
Response
Broadcast
Response
The D485 uses pre-configured Modbus RTU commands, acting as a Modbus RTU master.
With Modbus RTU, each transaction is substituted with a pre-defined command that can
be selected from a list of available commands.
It is still possible, though, to define custom message frames by creating a transaction
instead of selecting a pre-defined command. A command is actually a transaction that has
been defined in advance and stored in a list.
SCAN LIST Once the configuration has been downloaded to the D485, the D485 firmware searches
the scan-list, using the defined transactions for communication with the slave-devices.
Each node in the scan-list represents a slave device on the Modbus network. In EnerVista
P485/D485 Setup, each node is given a specific name and assigned an address in standard
Modbus RTU commands. The address must match the internal setting on the slave device.
Basic settings
NETWORK SETTINGS Select ‘Modbus Network’ in the Navigation window to gain access to basic settings in the
Parameter window.
MESSAGE DELIMITER The message delimiter value is the minimum time in steps of 10 ms separating the
messages. 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.
Due to its impact on subnet functionality, use caution when changing this parameter.
NOTE
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.
• Slave address: This setting shall be set to match the Modbus address setting of the
destination device.
• Name: Node Name. This name will appear in the navigation window.
MODBUS NETWORK Right-click “Modbus Network” in the Navigation window to gain access to these functions.
MENU
NODE MENU Right-click on a node in the Navigation window to gain access to these functions.
QUERY PARAMETERS To gain access to these parameters, select a Query in the Navigation window.
• Minimum time between broadcasts (10 ms): The value entered here is only valid if a
broadcast command is specified in the scan-list and the value specifies how long the
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. The unit is milliseconds (ms)
and the entered value is multiplied by 10, which means that the shortest time is 10 ms.
• Offline options for fieldbus: This parameter defines the behavior of the D485 in case
the DeviceNet network goes off-line and the selection affects the data that is sent out
the Modbus network
– Clear: All data destined for the slave devices is cleared (set to 0).
– Freeze: All data destined for the slave device is frozen.
– NoScanning: The updating of the Modbus network is stopped.
• Offline options for Modbus network: This parameter defines the behavior of the D485
in case the Modbus network goes offline and the selection affects the data that is
reported to the fieldbus master.
– Clear: All data destined for the fieldbus master is cleared (set to 0).
– Freeze: All data destined to fieldbus is frozen.
Offline options for Modbus networks are configured separately for each command.
NOTE
• Reconnect time (10 ms): This parameter specifies how long the D485 should wait
before trying to re-connect a disconnected node. A node gets disconnected if the max
number of retries is reached. The unit is milliseconds (ms) and the entered value is
multiplied by 10, which means that the shortest time is 10 ms.
• Retries: This parameter specifies how many times a time-out can occur in sequence
before the slave is disconnected.
• Timeout time (10 ms): This parameter specifies the time the D485 waits for a response
from the slave-device. If this time is exceeded the D485 re-sends the command until
the “retries” parameter value is reached.
The unit is milliseconds (ms) and the entered value is multiplied by 10, which means that
the shortest time is 10 ms.
• Trigger byte address: This parameter specifies location in the internal memory buffer
where the trigger byte is located. In D485 a trigger byte is implemented to support
non-cyclic data that means that the DeviceNet master has the ability to notify the
D485 when it should send a specific command to a slave.
To use this functionality correctly the DeviceNet master should update the data area
associated with the trigger byte, and then update the trigger byte. The trigger byte should
be incremented by one for activation.
This parameter has no affect unless the “Update mode” parameter is set to “Change of
state on trigger”.
• Update mode: This parameter is used to specify when the command should be sent
to the slave. The following modes are possible:
– Cyclically: The command is sent to the slave at the time interval specified in the
“Update time” parameter.
– On data change: The command is sent to the slave when the data area connected to
this command changes.
– Single shot: The command is sent to the slave once at start-up.
– Change of state on trigger: The command is sent to the slave when the trigger byte
value is changed.
• Update time (10 ms): This parameter specifies with what frequency this command will
be sent. The unit is milliseconds (ms) and the entered value is multiplied by 10, which
means that the shortest time is 10 ms.
RESPONSE PARAMETERS To gain access to these parameters, select a Response in the Navigation window.
• 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. This will notify the DeviceNet master of updated data.
• Trigger byte address: This parameter is used to specify the address in the internal
memory buffer where the trigger byte is located. Valid settings range from 0x0002 to
0x00F3.
Frame editor
DESCRIPTION The frame editor makes it easier to add specific custom commands. The same parameters
are available in both the frame editor and the parameter window, but in the frame editor
presents the message frames in a more visual manner than the navigation / parameter
window.
EXAMPLE Consider the following frame. The first byte holds the slave address (0x01) followed by the
function code (0x06). The next word is the register address of the device where data is to be
written (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).
This command will allocate two bytes of output data in the OUT area and no swapping will
occur. The data is followed by a two-byte CRC error check field and the CRC calculation
starts with the first byte in the frame (0x0000).
The same steps are required for the response frame. If the response holds data, it should
be allocated in the input area that starts at address 0x002. To apply the changes, select
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.
Query Column
1: Slave Address. 2: Modbus Function Code 3: See below 4: Error Check field.
DisplayName Slave Address Function Data Checksum
Protocol specific; cannot be altered. (See below)
Object Type Byte Byte Data Checksum
Modbus defines this object as a byte. (See below)
Value [SlaveAddress] ID User User
Linked to the actual ‘Slave 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.
It is not possible to alter the contents of columns 1, 2 and 4, as these are pre-defined
commands. However, on column 3 there are two possible actions: Insert Column and
Delete Column. These actions are available in the Columns menu.
Column 3 in the Command Editor is where objects can be added for custom commands.
Supported objects are Byte, Word, DWord, Data and Error Check. In this Modbus example it
makes no sense to add an Error Check object since it is already incorporated in the
standard frame but all other objects could be added in any way.
The “response” field (E) is defined much in the same way as the “query”, with the difference
that a “response” can depend on what is entered in the “query”
Query Column
1: Slave Address. 2: Modbus Function Code 3: See below 4: Error Check field.
DisplayName Slave Address Function Data Checksum
See Query See Query See Query See Query
Object Type Byte Byte Data Checksum
See Query See Query See Query See Query
Value [SlaveAddress] ID User Depend
See Query See Query See Query Object has same setting
as the corresponding
Query object. It also will
appear as non-editable in
the parameter window
(see below)
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).
Start Stop
B: Nodes/transactions
To view data blocks linked to a single command, select the command and the data will
appear in the monitor area, see below. (C)
C: Monitor Area: input / output / general data areas
These areas display the data allocated in the input, output and general data areas. This
information is color coded as follows:
• White: No data allocated.
• 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.
Node monitor
GENERAL The node monitor functionality provides an aid when setting up the communication with
the slave-devices on the Modbus network.
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.
NOTE
Start Stop
This is a powerful feature when there is a problem with a particular node; the other nodes
can be disconnected, helping to isolate the problem.
If the control and status registers are enabled, the subnet cannot be started or stopped
without being activated from the fieldbus.
NOTE
B: Select/send command
Select the command to monitor using the ‘Select’ icon, and click ‘Send’ to send the
command.
Select Send
C: Data update ON/OFF
These icons are used to turn the monitor functionality ON or OFF (see ‘Monitor Area’ below).
D: Command area
This area displays the currently selected command.
E: Response area
This area displays the response of a previously sent command.
F: Monitor area
This area provides an overview of the data sent/received from the node. Areas in dark grey
are reserved for the status/control registers.
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.
Advanced functions
CONTROL REGISTER Bytes 0 and 1 of the control register are shown below.
(DEVICENET CONTROL
SYSTEM TO D485) Byte 0 (Offset 0x200) Byte 1 (Offset 0x201)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
- - - Control Code Data
CONTROL CODES The following control codes are recognized by the D485 and can be used by the fieldbus
control system.
STATUS REGISTER (D485 The status codes below are handled by the D485 and reported to the fieldbus control
TO FIELDBUS CONTROL system using the status code and data bits in the status register. The meaning of these bits
SYSTEM) are different depending on the used communication model.
STATUS CODES The status codes are described in the following table.
HANDSHAKING The handshake bits are used to indicate any changes in the status and control registers.
PROCEDURE The procedure below must be followed for all changes to these registers with the exception
of the handshake bits themselves (bits 14 and 15).
Start Start
Equal? Equal?
Yes No
No Yes
Set CR_HS_CONFIRM to
SR_HS_SEND Toggle CR_HS_SEND
End End
Ready
PARAMETER DATA INPUT This command makes it possible to map attributes in the parameter data input mapping
AREA MAPPING object (class B0h). By mapping data, a Get_Attribute_Single command from the DeviceNet
master to the parameter data input mapping object can return a specified block of data.
Up to 50 attributes can be mapped in this object. Attributes are mapped with start of
attribute 1. Offset is set from the start of the parameter data input area and the length
specifies the amount of bytes to map. Attribute 1 in the mailbox is followed by attribute 2,
and continues to attribute 50. If length is set to zero, the attribute will not exist. As such, it is
possible to map only object 1 and 10 by letting the length of attributes 2 through 9 be zero.
It is only necessary to include mailbox information up to the last attribute number.
If any offset or length is invalid, the length and offset will be set to zero in the mailbox
answer and the attribute will not be mapped.
Parameter Description
Command initiator Application
Command name PARAMETER_INPUT_MAP
Message type 02h
Command number 0004h
Fragmented No
Extended header data ---
Command data Offset and length of the attributes to map
Response data Indicates if the message was accepted
A command and response layout example for setting 1 to 5 attributes is shown below.
Figure 8-4: Command and response layout for parameter input area
The following figure shows the mailbox command to set 1 to 5 attributes. Note that the
message field opens only after entering the data size.
Attribute 1 length = 4 bytes
Attribute 2 length = 2 bytes
Attribute 3 length = 2 bytes
Attribute 4 length = 2 bytes
Attribute 5 length = 6 bytes
PARAMETER DATA This command makes it possible to map attributes in the parameter data output mapping
OUTPUT AREA MAPPING object (class B1h). By mapping data, a Get_Attribute_Single command or a
Set_Attribute_Single command from the DeviceNet master to the parameter data output
mapping object can return a specified block of data or write a block of data. Up to 50
attributes can be mapped. Attributes are mapped with start of attribute 1. The offset is set
from the start of the parameter data output area and length specifies the amount of bytes
to map. Attribute 1 in the mailbox is followed by attribute 2, and continues to attribute 50. If
length is set to zero, the attribute will not exist. As such, it is possible to map only object 1
and 10 by letting the length of attributes 2 through 9 be zero. It is only necessary to include
mailbox information up to the last attribute number.
If any offset or length is invalid, the length and offset will be set to zero in the mailbox
answer and the attribute will not be mapped.
Parameter Description
Command initiator Application
Command name PARAMETER_OUTPUT_MAP
Message type 02h
Command number 0005h
Fragmented No
Extended header data ---
Command data Offset and length of the attributes to map
Response data 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
I/O DATA INPUT AREA This command makes it possible to map attributes in the I/O data input mapping object
MAPPING (class A0h). By mapping data, a Get_Attribute_Single command from the DeviceNet master
to the I/O data input mapping object can return a specified block of data. Up to six
attributes can be mapped in this object. Attributes are mapped with start of attribute 1.
The offset is set from the start of the I/O data input area and length specifies the amount of
bytes to map. Attribute 1 in the mailbox is followed by attribute 2, and continues to
attribute 6. If length is set to zero, the attribute will not exist. As such, it is possible to map
only object 1 and 5 by letting the length of attributes 2 through 4 be zero. It is only
necessary to include mailbox information up to the last attribute number.
If any offset or length is invalid, the length and offset will be set to zero in the mailbox
answer and the attribute will not be mapped.
The attributes of I/O data input mapping object class A0h are directly mapped to assembly
object 04h instances as given below.
Parameter Description
Command initiator Application
Command name IO_INPUT_MAP
Message type 02h
Command number 0006h
Fragmented No
Extended header data ---
Command data Offset and length of the attributes to map
Response data Indicates if the message was accepted
A command and response layout example for setting 1 to 5 attributes is shown below.
I/O DATA OUTPUT AREA This command makes it possible to map attributes in the I/O data output mapping object
MAPPING (class A1h). By mapping data, a Get_Attribute_Single command or a Set_Attribute_Single
command from the DeviceNet master to the I/O data output mapping object can return a
specified block of data or write a block of data. Up to 6 attributes can be mapped in this
object. Attributes are mapped with start of attribute 1. The offset is set from the start of the
I/O data output area and length specifies the amount of bytes to map. Attribute 1 in the
mailbox is followed by attribute 2, and continues to attribute 6. If length is set to zero, the
attribute will not exist. As such, it is possible to map only object 1 and 5 by letting the
length of attributes 2 through 4 be zero. It is only necessary to include mailbox information
up to the last attribute number.
If any offset or length is invalid, the length and offset will be set to zero in the mailbox
answer and the attribute will not be mapped.
The attributes of I/O data output mapping object class A1h are directly mapped to
assembly object 04h instances as given below.
Parameter Description
Command initiator Application
Command name IO_OUTPUT_MAP
Message type 02h
Command number 0007h
Fragmented No
Extended header data ---
Command data Offset and length of the attributes to map
Response data Indicates if the message was accepted
A command and response layout example for setting 1 to 5 attributes is shown below.
Application example
Introduction
OVERVIEW The chapter describes how to configure the D485 Modbus to DeviceNet Converter to allow
GE Multilin relays and meters to communicate on a DeviceNet network. The GE Multilin
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.
It is assumed that the reader is familiar with serial communication, DeviceNet networks,
and PLC architecture.
EQUIPMENT AND The examples in this chapter make use of the following equipment and documentation
DOCUMENTS • D485 Modbus to DeviceNet Converter
• RS485 cable to connect D485 to the relays/meters (MM2 and PQMII)
• EnerVista P485/D485 Setup software with configuration cable
• EDS file for the D485
• standard DeviceNet cable with connectors
• 24 V DC power supply for the D485
• PLC with DeviceNet master card
• PQMII Power Quality meter and instruction manual (publication code GEK-106435D)
• Enervista PQMII Setup software
• MM2 relay and instruction manual (publication code GEK-106294B)
• MM2PC software
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.
The PQMII and MM2 devices are serially connected (daisy-chained) through RS485. The
following data is set up for the PQMII:
• Read phase current Ia, Ib, and Ic actual values from memory locations 0240h to 0242h
• Read average current from memory location 0244h
• Read neutral current from memory location 0245h
• Read average phase voltage from memory location 0286h to 0287h
The following data is set up for the MM2:
• Read motor status from memory location 0023h
• Read switch input status from memory location 0010h
• Read motor load from memory location 0035h
• Read thermal capacity from memory location 0036h
• Read metered voltage from memory location 0040h
• The START A (command code 0x0005) and STOP (command code 0x0004) commands
using Modbus function 10h: Preset multiple registers.
The memory addresses below are taken from the PQMII and MM2 instruction manuals
available at http://www.GEmultilin.com. For the PQMII, we have:
The write command returns data in the response that should not be visible from the
Fieldbus. Also, the write commands should only be sent if the data from the DeviceNet
master has changed.
If the D485 detects a timeout while talking to the devices (PQMII and/or MM2), it should try
to re-establish communications before it considers the device in subnet is missing
(Number of retries), and then try again after some time (Reconnect time).
The serial communication parameters are set to 19200 bps, with no parity, 1 stop bit, and
8 data bits. The physical interface is set to RS485.
PQMII USER MAP There are six parameters to be read from PQMII as indicated in the previous section.
Normally, six read input register command transactions are required to read these
parameters. However, these parameters can be grouped together with the Modbus User
Map feature and read using only one read input register command transaction.
Set the Modbus User Map for the PQMII as follows.
1. Start the Enervista PQMII Setup software.
2. Establish communication between the device and PC.
3. Select the Setpoint > User Map menu item.
4. Set the user map registers as follows and save to the meter.
User map address Parameter User map data
address
0000 0x0240 0x0100
0001 0x0241 0x0101
0002 0x0242 0x0102
0003 0x0244 0x0103
0004 0x0245 0x0104
0005 0x0286 0x0105
MM2 USER MAP As indicated earlier, there are five parameters to be read from MM2. Normally, five read
input register command transactions are required to read these five parameters. However,
all the parameters can be grouped together using the Modbus User Map feature and read
using only one read input register command transaction.
Set the Modbus User Map for the MM2 as follows.
1. Start the MM2PC software.
2. Establish communications between the device and PC.
3. Select the Setpoint > User Map menu item.
4. Set the user map registers as follows and save to the relay.
User map address Parameter User map data
address
1280 0x0023 0x0100
1281 0x0010 0x0101
1282 0x0035 0x0102
1283 0x0036 0x0103
1284 0x0040 0x0104
System configuration
OVERVIEW An overview of the system configuration described in this document is shown below.
INSTALLING THE The following procedure describes how to configure the EnerVista P485/D485 Setup
ENERVISTA P485/D485 software.
SETUP SOFTWARE 1. Install the EnerVista P485/D485 Setup software.
2. Connect the configuration port of D485 to the PC via the configuration cable.
3. Connect the devices (PQMII and MM2) to D485 through the DB-9 Modbus network
connector using the proper RS485 connections shown below.
DB9 pin Description
5 Ground
8 RS485 +
9 RS485 –
STEP 1: SELECTING THE The first step in the configuration wizard is setting the fieldbus type.
FIELDBUS TYPE 1. Set the Fieldbus type to “DeviceNet”.
STEP 2: SELECTING THE The second step in the configuration wizard is selecting the sub-network properties.
SUB-NETWORK 1. Set the Modbus network properties as follows: baud rate to 19200, with 8 data bits, no
PROPERTIES parity, RS485 physical standard, and 1 stop bit.
STEP 3: INCLUDE DEVICE The third step in the configuration wizard is to include device types. The PQMII and MM2
TYPES devices are added in this step.
1. The configuration wizard gives the option to create a configuration for a new device or
to load a configuration of saved device.
3. Select the PQMII.D01 file from the list and click on Open.
4. The software will display a list of the most commonly used parameters configured for
the PQMII.
STEP 4: CONNECT The fourth step in the configuration wizard is to connect the configured device types to the
DEVICES TO THE SUB- sub-network. The PQMII and MM2 devices are connected in this step.
NETWORK 1. Click Next to proceed to create nodes on Modbus network as shown below.
STEP 5: SELECT The fifth step in the configuration wizard is to select parameters for each node. The
PARAMETERS FOR EACH parameters for the PQMII and MM2 devices are selected in this step.
NODE 1. Parameters can now be added to each node. The tabs indicate the node name and
slave address
STEP 6: CONFIGURATION The final step in the wizard provides a configuration report for the device.
REPORT 1. If desired, click on Print to print the configuration report.
SAVING DEVICE DATA After the configuration wizard is complete, the software will prompt to save the device
data (if necessary).
Click on Yes to save the device. The data can be saved in the same or different device files.
CONFIGURING THE The main screen will appear after the wizard is closed.
QUERIES
1. Expand the Modbus Network item in the tree. All the configured parameters will
appear as commands.
4. Verify that the data Update mode is “Cyclically” with default Update time of
100 × 10 ms = 1000 ms. This can be changed to any value between 10 ms (1 × 10 ms)
to 655350 ms (65535 × 10 ms).
GROUPING I/O DATA By default, all mapped I/O input data is grouped in one attribute and is used for polled
production data, and all mapped I/O output data is used as polled consumption (output)
data. The mailbox commands can be used to split this data into different attributes.
We have mapped 24 bytes of input data and 4 bytes of output data. The following
procedure splits the input data in 16 bytes of I/O input data and 8 bytes of explicit input
data.
1. Click on the Fieldbus item and change IO sizes option to “User defined” as shown
below.
I/O DATA INPUT MAPPING The IO data can be further assigned to different attributes of I/O data input mapping object
A0h. Define the following five attributes out of 16 bytes of data.
This can be done by using I/O data input area mapping mailbox command (06h)
1. Right click on EndInit item and insert a new mailbox.
2. Set command code to 06 (row 3).
3. The offset and length of attribute for each attribute must be provided. Each attribute
requires two words (four bytes) in message data; therefore, 5 attributes require 20
bytes. Enter 20 in the Data size field - it will automatically convert and display as
0x0014 (hex).
Figure 9-27: Setting offset and data length for IO data input attributes
4. The offset and data length for each attribute in bytes in given below.
Attribute Offset Data length
1 0x0000 0x0006
2 0x0006 0x0002
3 0x0008 0x0002
4 0x000A 0x0004
5 0x000E 0x0002
5. Enter the offset and data length values from the table above, then select the File >
Apply Changes menu item to save the changes.
6. The above I/O data input mapping object class A0h attributes are mapped to
assembly object class 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)
1 96h Input 1
2 97h Input 2
3 98h Input 3
4 99h Input 4
5 9Ah Input 5
PARAMETER DATA INPUT The explicit data can be further assigned to different attributes of parameter data input
AREA MAPPING mapping object B0h. Define the following four attributes out of eight bytes of explicit data.
This can be done by using I/O data input area mapping mailbox command (04h)
1. Right click on the EndInit item and insert a new mailbox.
2. Set the command code to 04 (row 3).
3. The offset and length of attribute must be provided for each of the four attributes.
Enter 16 in the Data size field - it will automatically convert and display as 0x0010.
Figure 9-28: Offset and data length for parameter data input mapping attributes
4. The offset and data length for each attribute in bytes in given below.
Attribute Offset Data length
1 0x0000 0x0002
2 0x0002 0x0002
3 0x0004 0x0002
4 0x0006 0x0002
5. Enter the offset and data length values from the table above, then select the File >
Apply Changes menu item to save the changes.
DOWNLOADING THE Save the configuration file for future use. The save command is available in File menu. The
CONFIGURATION FILE following procedure demonstrates how to save the configuration file to the D485.
1. To open the saved configuration file, select the File > Open menu item. The following
window will appear.
SELECTING THE INPUT Once the device is added into DeviceNet Network, any instance from the assembly object
ATTRIBUTE FOR class can be selected for polled, COS and bit strobe data.
POLLING AND COS Select Input 1 as polled production data and Input 5 for COS production data through the
drop down menu and then download the settings to the device. The data length and offset
for each of the input and output can be read from the device in the parameter section of
device properties.
Figure 9-31: Selecting inputs for polled and COS production data
Use correct size of IO data for polled and COS connections. In this case, the input data size
is 6 bytes for Polled IO and 2 bytes for COS IO. The output data size is 4 bytes for polled IO
and 0 bytes for COS IO.
Miscellaneous
Revision history
RELEASE DATES
Table 10–1: Release dates
Manual Part No. Revision Release Date
GEK-113195 1601-0235-A1 1.0x December 15, 2005
CHANGES TO THE As this is the first version of the D485 Modbus to DeviceNet Converter manual, there are no
MANUAL changes to report.
Warranty
GE MULTILIN WARRANTY General Electric Multilin (GE Multilin) warrants each device it manufactures to be free from
STATEMENT defects in material and workmanship under normal use and service for a period of 24
months from date of shipment from factory.
In the event of a failure covered by warranty, GE Multilin will undertake to repair or replace
the device providing the warrantor determined that it is defective and it is returned with all
transportation charges prepaid to an authorized service centre or the factory. Repairs or
replacement under warranty will be made without charge.
Warranty shall not apply to any device which has been subject to misuse, negligence,
accident, incorrect installation or use not in accordance with instructions nor any unit that
has been altered outside a GE Multilin authorized factory outlet.
GE Multilin is not liable for special, indirect or consequential damages or for loss of profit or
for expenses sustained as a result of a device malfunction, incorrect application or
adjustment.
For complete text of Warranty (including limitations and disclaimers), refer to GE Multilin
Standard Conditions of Sale.
Index
F
C FEATURES .................................................................................................. 1–3
CHANGES TO THE MANUAL ..........................................................10–1 FIELDBUS TYPE ....................................................................................... 4–3
COMMAND EDITOR ................................................................... 6–2, 6–3 FRAME EDITOR ........................................................................................ 6–1
COMPLIANCE ............................................................................................1–4
CONFIGURATION REPORT .................................................................4–8
CONFIGURATION SWITCHES ...........................................................2–6 G
CONFIGURATION WIZARD ................................................................4–2 GLOSSARY ................................................................................................. 1–2
CONNECTING NODES ..........................................................................4–7
CONTACT INFORMATION ...................................................................1–1
CONTROL CODES ...................................................................................8–2 H
CONTROL REGISTERS ..........................................................................8–1
HANDSHAKING PROCEDURE .......................................................... 8–3
HUMIDITY ................................................................................................... 1–4
D
DATA BITS ..................................................................................................4–5 I
DATA DIRECTION ....................................................................................4–6
INFORMATION WINDOW ................................................................4–10
DATA EXCHANGE ...................................................................................3–2
INPUT/OUTPUT DATA .......................................................................... 8–4
DATA FLOW ...............................................................................................4–4
INSTALLATION ......................................................................................... 2–1
DEVICE TYPES ...........................................................................................4–5
INTERNAL MEMORY BUFFER ........................................................... 3–3
DEVICENET
configuration ...................................................................................2–7
connector ..........................................................................................2–2
input/output data areas ............................................................2–7 L
typical network arrangement .................................................4–3 LEDs .............................................................................................................. 2–5
DIMENSIONS .............................................................................................1–4
DIN-RAIL CONNECTION ......................................................................2–5
T
N TECHNICAL SUPPORT ......................................................................... 1–1
NAVIGATION WINDOW ....................................................................4–10 TEMPERATURE ........................................................................................ 1–4
NETWORK TERMINATION ..................................................................2–7 TROUBLESHOOTING ............................................................................ 2–8
NODE MONITOR ......................................................................................7–3 TYPICAL APPLICATIONS ..................................................................... 1–3
NODE PARAMETERS ..............................................................................4–8
NODES ..........................................................................................................5–3
U
UNPACKING THE SWITCH ................................................................. 1–1
O
OPTION WINDOW ...............................................................................4–11
ORDERING ..................................................................................................1–4 W
WARRANTY ................................................................................. 1–1, 10–1
WEBSITE ..................................................................................................... 1–1
P
PARAMETER WINDOW ..........................................................4–10, 5–2
PARITY ............................................................................................4–5, 4–13
POWER SUPPLY
connections .....................................................................................2–4
specifications ..................................................................................1–4
PROTECTION CLASS ..............................................................................1–4
Q
QUICK INSTALL ........................................................................................2–1
R
REVISION HISTORY .............................................................................10–1
RS232 ...........................................................................................................4–4
RS422 ...........................................................................................................4–4
RS485 ...........................................................................................................4–4
S
SCAN LIST ...................................................................................................5–2
SOFTWARE
advanced functions .....................................................................8–1
command editor ............................................................................6–2
communication model ...............................................................5–1