P485man A2
P485man A2
P485man A2
Grid Solutions
Instruction Manual
GE publication code: 1601-0237-A2 (GEK-113190A)
LISTED
*1601-0237-A2*
Copyright © 2017 GE Multilin Inc. All rights reserved.
P485 Modbus to Profibus Converter Instruction Manual.
P485 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.
Part numbers contained in this manual are subject to change without notice, and should therefore be verified by GE
Multilin Inc. before ordering.
Table of contents
INDEX
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 For product support, contact the information and call center as follows:
GE Grid Solutions
650 Markland Street
Markham, Ontario
Canada L6C 0M1
Worldwide telephone: +1 905 927 7070
Europe/Middle East/Africa telephone: +34 94 485 88 54
North America toll-free: 1 800 547 8629
Fax: +1 905 927 5098
Worldwide e-mail: multilin.tech@ge.com
Europe e-mail: multilin.tech.euro@ge.com
Website: http://www.gegridsolutions.com/multilin
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 P485
Modbus to Profibus 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”.
Profibus
master
GE Multilin
Slave Slave
P485 Converter
IN OUT
Modbus
network
Profibus
Profibus master (PLC)
master (PLC)
HMI
HMI
Profibus network
Profibus network
Profibus
slave
Profibus slave
PC for configuration
and monitoring
P485
P485
Features
GENERAL FEATURES • DIN-rail mountable
• Save/load configuration in flash
• CE, UL, and cUL marked
Ordering
ORDER CODES The following table illustrates the order codes for the P485 Modbus to Profibus 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 P485 on to the DIN-rail (see DIN-rail mounting on page 2–5).
2. Connect the Profibus cable (see Profibus 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 P485 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
PROFIBUS CONNECTOR The Profibus connector is indicated as A in the figure above. This connector is used to
connect the P485 to the Profibus network.
The pin assignments for the Profibus connector are shown below.
5 1
9 6
(female)
Figure 2-2: Profibus connector
The following Profibus connectors are recommended:
• Profibus Max standard, part number 134928 and Profibus reversed, part number
104577, from http://www.erni.com
• Fast connect bus connector, part number 6GK1500-0FC00 or 6ES7 972-0BA50-0XA0,
from http://www.siemens.com
CONFIGURATION CABLE The PC connector is indicated as B in Figure 2-1: P485 electrical connections on page 2–2.
This connector is used to connect the P485 to a PC using the configuration cable for
configuration and monitoring purposes.
A P485/D485 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 (P485)
1 1 Ground
RS232 Rx 2 2 Ground
RS232 Tx 3 3 Rx
4 4 Tx
Ground 5
6 Connects to P485
4
3
2
1
Figure 2-4: Configuration cable (P485 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: P485 electrical connections on page
2–2. This connector is used to connect the P485 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: P485 electrical connections on page
2–2. Use this connector to apply power to the P485.
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 P485.
1 1
ON OFF
2 2
1 2
3 4
5 6
CONFIGURATION The configuration switches are used to set the Profibus node address. Normally, these
SWITCHES switches are covered by a plastic hatch. Note that the node address can not be changed
during runtime, i.e. the P485 requires a reset for any changes to have effect. Recycle the
power supply to reset the module
For example, to set the node address to 42, set switch A to “2” and switch B to “4”.
When removing the hatch, avoid touching the circuit boards and components. Exercise
caution when using tools to open the hatch.
NOTE
• Offset address: The offset addresses can be chosen freely. However, certain
restrictions may apply depending on what PLC/Profibus master is used.
PROFIBUS NETWORK If the P485 is the last node on a Profibus segment, it is necessary to use a Profibus
TERMINATION connector with integrated termination switch.
• The termination switch should be set to ‘ON’ if...
– The P485 is the last physical node on a network segment
– No other termination is used at this end of the network
• The termination switch should be set to ‘OFF’ if...
– There are other nodes on either side of the P485 in the network segment
LINKS Additional information about the Profibus fieldbus system can be found at http://
www.profibus.com.
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 P485.
• 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 Modbus network. If the P485
reports very many re-transmissions, 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 P485, 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 P485, and should only be used
when necessary.
Data exchange
Overview
DESCRIPTION Data from the fieldbus (Profibus) 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-2: Data exchange overview on page 3–2 for details.
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 P485 can handle up to
244 bytes of input data. The total input/output data must not exceed 416 bytes.
• Output data: this is data recieved from the fieldbus. The P485 can handle up to 244
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 P485 can handle up to 1024 bytes of general data.
Input data
(up to 244 bytes)
Sub Network
Fieldbus
Output data
(up to 244 bytes)
General data
1024 bytes
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 P485 contains data received the P485 contains data received
from nodes on the Modbus from Profibus. In this case, it is
sub-network (sent in to the P485 the CT PRIMARY setting of the
from the sub-network) PQMII meter.
Modbus sub-network
CT PRIMARY setting
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 0x00F3): 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 (0x200 to 0x2F3): This area holds data received from the fieldbus.
Data cannot be written to this area.
• General data Area (0x0400 to 0x7FF): This data cannot be accessed from the fieldbus,
and should be used for transfers between nodes on the 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 P485 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 P485 to interpret and exchange data with almost any serial device on the
Modbus sub-network.
COMMUNICATION MODE The P485 supports the Modbus Master communication mode. In this mode, the P485 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
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
P485 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 P485 converter.
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 P485 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 P485, 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–3 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 P485
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
P485. 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 P485 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 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 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 P485. 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 P485.
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, P485, 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 P485. 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 P485 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 P485 and the sub-net nodes (Modbus slaves) is based on
transactions with a query/response architecture. The P485 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 P485, 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 P485 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 P485, the P485 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
PARAMETER WINDOW 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 P485 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 P485.
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
P485 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
P485 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 P485 in case
the Profibus 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 P485
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 P485 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 P485 waits for a response
from the slave-device. If this time is exceeded the P485 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 P485 a trigger byte is implemented to support
non-cyclic data that means that the Profibus master has the ability to notify the P485
when it should send a specific command to a slave.
To use this functionality correctly the Profibus 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 P485 will increase the byte at the
“trigger byte address” by one when the P485 receives new data from the Modbus
network. This will notify the Profibus 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 P485.
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 P485.
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.
(PROFIBUS CONTROL
SYSTEM TO P485) 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 P485 and can be used by the fieldbus
control system.
STATUS REGISTER (P485 The status codes below are handled by the P485 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
Application example
Introduction
OVERVIEW The chapter describes how to configure the P485 Modbus to Profibus Converter to allow
GE Multilin relays and meters to communicate on a Profibus 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 P485 to reduce the
number of Modbus transactions and improve communication speed.
It is assumed that the reader is familiar with serial communication, Profibus networks, and
PLC architecture.
EQUIPMENT AND The examples in this chapter make use of the following equipment and documentation
DOCUMENTS • P485 Modbus to Profibus Converter
• RS485 cable to connect P485 to the relays/meters (MM2 and PQMII)
• Enervista P485/D485 Setup software with configuration cable
• GSD file for the P485
• standard Profibus cable with connectors
• 24 V DC power supply for the P485
• PLC with Profibus 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 P485 with MM2 relay and PQMII meter to read
and write parameters. It can also be used as a guideline to setup the P485 Modbus to
Profibus 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 Profibus
master has changed.
If the P485 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 P485 to the PC via the configuration cable.
3. Connect the devices (PQMII and MM2) to P485 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 “Profibus-DP”.
STEP 2: SELECTING THE The second step in the configuration wizard is to select 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).
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 P485.
1. To open the saved configuration file, select the File > Open menu item. The following
window will appear.
Miscellaneous
Revision history
RELEASE DATES
Table 10–1: Release dates
Manual Part No. Revision Release Date
GEK-113190 1601-0237-A1 1.0x December 15, 2005
GEK-113190A 1601-0237-A2 1.0x September 2017
CHANGES TO THE
MANUAL Table 10–2: Major Updates for A2
Chapter Changes
Cover Manual revision from A1 to A2
Branding and colors updated to GE Grid Solutions
Bar code, 10 year warranty, UL logo added
Contact information removed
Chapter 1 Contact information updated
Chapter 10 Warranty information updated
General 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
STATEMENT products for 10 years. For warranty details including any limitations and disclaimers, see
our Terms and Conditions at https://www.gegridsolutions.com/multilin/warranty.htm
For products shipped before 1 October 2013, the standard 24-month warranty applies.
Index
G
GLOSSARY ................................................................................................. 1–2
C
CHANGES TO THE MANUAL ..........................................................10–1
COMMAND EDITOR ................................................................... 6–2, 6–3
COMPLIANCE ............................................................................................1–4 H
CONFIGURATION REPORT .................................................................4–8 HANDSHAKING PROCEDURE .......................................................... 8–3
CONFIGURATION SWITCHES ...........................................................2–6 HUMIDITY ................................................................................................... 1–4
CONFIGURATION WIZARD ................................................................4–2
CONNECTING NODES ..........................................................................4–7
CONTROL CODES ...................................................................................8–2 I
CONTROL REGISTERS ..........................................................................8–1 INFORMATION WINDOW ................................................................4–10
INPUT/OUTPUT DATA .......................................................................... 8–4
INPUT/OUTPUT DATA AREAS .......................................................... 2–7
D INSTALLATION ......................................................................................... 2–1
DATA BITS ..................................................................................................4–5 INTERNAL MEMORY BUFFER ........................................................... 3–1
DATA DIRECTION ....................................................................................4–6
DATA EXCHANGE ...................................................................................3–2
DATA FLOW ...............................................................................................4–4 L
DEVICE TYPES ...........................................................................................4–5 LEDs .............................................................................................................. 2–5
DIMENSIONS .............................................................................................1–4
DIN-RAIL CONNECTION ......................................................................2–5
DOCUMENT CONVENTIONS .............................................................1–2 M
MAILBOX COMMAND .......................................................................... 8–5
MASTER MODE ........................................................................................ 5–1
E MESSAGE DELIMITER ........................................................................... 5–2
ENERVISTA P485/D485 SETUP
P
PARAMETER WINDOW ..........................................................4–10, 5–2 W
PARITY ............................................................................................4–5, 4–13 WARRANTY ................................................................................. 1–1, 10–1
POWER SUPPLY
connections .....................................................................................2–4
specifications ..................................................................................1–4
PROFIBUS
configuration ...................................................................................2–7
input/output data areas ............................................................2–7
node address ..................................................................................2–6
typical network arrangement .................................................4–3
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