INSTALLATION Quick install ...2–1 Procedure...2–1 Electrical installation ...2–1 Overview...2–1 Profibus connector ...2–2 Configuration cable...2–3 Modbus connector...2–4 Power connector ...2–4 Mechanical installation ...2–5 DIN-rail mounting...2–5 Indicators and switches ...2–5 Status indicators...2–5 Configuration switches...2–6 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
Page 4
Description ... 4–11 P485/D485 configuration ... 4–12 Parameter window... 4–12 Modbus network configuration... 4–13 Overview ... 4–13 Serial interface settings ... 4–13 COMMUNICATION Introduction ...5–1 Description ... 5–1 MODEL Scan list... 5–2 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
Page 5
System setup...9–2 Modbus user map setup ...9–3 Description ...9–3 PQMII user map...9–3 MM2 user map...9–3 System configuration...9–5 Overview...9–5 Installing the Enervista P485/D485 Setup software ...9–6 Starting the configuration wizard...9–6 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE TABLE OF CONTENTS...
Page 6
Downloading the configuration file... 9–15 Profibus network setup... 9–16 Description ... 9–16 MISCELLANEOUS Revision history... 10–1 Release dates... 10–1 Changes to the manual ... 10–1 Warranty ... 10–1 GE Multilin warranty statement... 10–1 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
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 •...
• Monitor: A tool for debugging the P485 and network connections. • Node: A device in the scan list that defines the communication with a slave (GE relay) on the Modbus sub-network. • Scan list: List of configured slaves with transactions on the sub-network.
About the P485 Modbus to Profibus Converter APPLICATION The P485 Modbus to Profibus Converter (or P485) acts as a gateway between the Modbus protocol and a Profibus-DP network. Integration of industrial devices is enabled without loss of functionality, control, and reliability, both when retrofitting to existing equipment as well as when setting up new installations.
INTRODUCTION Ordering ORDER CODES The following table illustrates the order codes for the P485 Modbus to Profibus Converter. Table 1–1: P485 order codes Base unit Specifications MECHANICAL HOUSING Plastic housing with snap-on connection to DIN-rail, protection class IP20 DIMENSIONS L x W x H:...
Installation Quick install PROCEDURE Snap the P485 on to the DIN-rail (see DIN-rail mounting on page 2–5). Connect the Profibus cable (see Profibus connector on page 2–2). Connect the serial Modbus network cable (see Modbus connector on page 2–4 for details).
GNDBUS ** Isolated ground from the RS485 side +5 V BUS ** Isolated +5V output from the RS485 side (80 mA maximum) A-Line Negative RxD/TxD (RS485) (female) Figure 2-2: Profibus connector http://www.erni.com http://www.siemens.com P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
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.
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.
P485 against the DIN-rail as to make it snap on (2) To snap the P485 off, push the P485 downwards (1) and pull it out from the DIN-rail (2), as to make it snap off from the DIN-rail.
Note that the node address can not be changed SWITCHES during runtime, i.e. the P485 requires a reset for any changes to have effect. Recycle the power supply to reset the module The node address is configured using two rotary switches as follows: Profibus node address = (Switch B×...
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 connector with integrated termination switch. TERMINATION •...
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.
BUFFER STRUCTURE • 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 area read only Reserved General data area read/write P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE The PLC exchanges data via the Profibus network between its internal output area and the output area of the P485...
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.
Page 22
(see figure above). • Frame object: Frame objects are used to compose a message frame. Frame objects include fixed values, dynamic values retrieved from a specified memory location in the P485, or strings. 3–4 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
Internet Explorer 4.01 SP1 or higher Installation procedure DESCRIPTION There are two different ways of installing EnerVista P485/D485 Setup; either via the GE EnerVista CD or from the GE Multilin website at http://www.GEmultilin.com. INSTALLING FROM Run ‘setup.exe’ and follow the on screen instructions...
The following chapters will describe the configuration process in detail. It is recommended to use the configuration wizard for its simplicity of use with GE relays and meters. NOTE The online help system explains each configuration step in detail.
In the event the wizard cannot handle the specific Modbus command(s) required by the device, use the regular configuration tool or modify the commands produced by the wizard using the regular configuration tool. NOTE P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE Fieldbus Master (PLC) Fieldbus...
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.
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...
Page 28
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.
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. P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE 4–7...
The sixth and final step in the configuration wizard displays a summary of the configuration entries. This includes all configured devices, their parameters, and how they REPORT are mapped to the internal memory of the P485. This report can be saved in rich text (RTF) format or sent to a printer. 4–8...
SOFTWARE OVERVIEW If the Sub-net Overview button is pressed, a new window will appears that graphically displays how the data is mapped to the internal memory of the P485. Configuration main window DESCRIPTION The main window is shown below. It is composed of the navigation window, parameter window, information window, and configuration line indicator.
SOFTWARE OVERVIEW NAVIGATION WINDOW The navigation window in EnerVista P485/D485 Setup is the main tool for selecting the different levels of the configuration. There are three main levels in the navigation window, namely fieldbus, P485, and Modbus network. Menu entries preceded by a plus symbol (+) contain more configuration parameters or sub-menus.
During start-up, the fieldbus interface is initialized to fit the configuration created in the EnerVista P485/D485 Setup software. Since EnerVista P485/D485 Setup supports both the P485 and D485 converters, the user must verify that the 'Fieldbus' parameter indicates the correct converter. Additionally, it is possible for advanced users to customize the network interface inside the converter to meet specific application demands (see Advanced fieldbus configuration on page 8–5 for details).
SOFTWARE OVERVIEW P485/D485 configuration PARAMETER WINDOW By selecting 'P485/D485 ' in the Navigation window, basic configuration options for the sub-net will appear in the Parameter window. • Physical interface: Currently, the P485 supports only a serial interface. The communication settings for the selected interface are available under 'Modbus Network (see Serial interface settings on page 4–13 for details).
When controlling a Modbus sub-network with the P485 it is important to understand functions during starting up. If the P485 starts scanning nodes on the sub-network, before data is received from the fieldbus control system (fieldbus master), values of ‘00’ may be transmitted to the nodes before data is updated the first time from the fieldbus.
Page 36
SOFTWARE OVERVIEW 4–14 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
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.
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.
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.
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.
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.
Page 42
COMMUNICATION MODEL 5–6 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
(0x1200). This is a query command – the data is to be sent to the slave device and therefore is to be fetched from the OUT area starting at 0x0202. The next word indicates the data size (in bytes) to be written (in this case, 0x0002). P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE 6–1...
File > Apply Changes. To exit without saving, select File > Exit. Command editor GENERAL The command editor makes it possible to add custom commands to the P485. To open the command editor, right click a node and select ‘Add Command’. A list of predefined commands will appear.
Modbus defines this object as a byte. Value [SlaveAddress] Linked to the actual ‘Slave Address’ parameter in the parameter window. P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE Figure 6-4: Specifying a new command Column 2: Modbus Function Code 3: See below Function...
Page 46
Byte Data See Query See Query User See Query See Query Figure 6-5: Main window P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE 4: Error Check field. Checksum See Query Checksum See Query Depend Object has same setting as the corresponding Query object.
(B). Selecting and deselecting commands makes it possible to view any combination of allocated data. The Modbus network monitor has a negative influence on the overall performance of the P485. Therefore the monitor functionality should be used with care. NOTE P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
Blue: Data allocated by a query/produce transaction. • Red: Collision. This area has been allocated more than once. • Grey: Data allocated by the control/status registers. 7–2 Figure 7-1: Modbus network monitor Start Stop P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
It offers an easy way of testing a specific command on a node, and monitor the result. It also provides an overview of the memory used by the node. Using the node monitor has a negative influence on the overall performance of the P485. Therefore the monitor functionality should be used with care.
Page 50
Areas displayed in light grey are data objects used by the node. If data updating is enabled (see sub-section C above) the contents of these areas are also displayed in hex. 7–4 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
See 8-4 “Input/output data during startup”. Using these registers, it is also possible for the fieldbus control system to instruct the P485 to enable / disable specified nodes.
ADVANCED FUNCTIONS Bits 12 to 8 Control Code (CR_EC) 7 to 0 Data (CR_ED) CONTROL CODES The following control codes are recognized by the P485 and can be used by the fieldbus control system. Code 0x10 0x11 0x12 STATUS REGISTER (P485...
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). P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE Error Description Re-transmission Number of re-transmissions.
The bit should be treated as follows: When the fieldbus changes from off-line to on-line state, the fieldbus control system should clear (0) the ‘data valid’ bit in the control register. The P485 will then clear the ‘data valid’ bit in the status register.
This advanced function is specifically designed for DeviceNet converter (D485) and not for Profibus converter (P485). Right clicking on the Fieldbus submenu items gives option of inserting a mailbox. Users are advised not to use this option for the P485. Figure 8-3: Mailbox command Incorrect usage of mailbox commands may permanently damage the converter.
Page 56
ADVANCED FUNCTIONS 8–6 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
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.
APPLICATION EXAMPLE 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.
Modbus user map setup DESCRIPTION GE Multilin Relays and Meters support the Modbus User Map feature in their software. This feature can be used with the P485 to reduce the number of Modbus transactions and improve communication speed. PQMII USER MAP There are six parameters to be read from PQMII as indicated in the previous section.
Page 60
= 5 words. 9–4 User map address Parameter User map data address 1280 0x0023 0x0100 1281 0x0010 0x0101 1282 0x0035 0x0102 1283 0x0036 0x0103 1284 0x0040 0x0104 Figure 9-2: MM2 meter user map setting P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
An overview of the system configuration described in this document is shown below. Figure 9-3: System configuration The following procedures describe how to configure for the P485 with the PQMII and MM2. It is assumed that the reader has some basic knowledge of the Modbus RTU protocol and Profibus communication protocol.
SETUP SOFTWARE Install the EnerVista P485/D485 Setup software. Connect the configuration port of P485 to the PC via the configuration cable. Connect the devices (PQMII and MM2) to P485 through the DB-9 Modbus network connector using the proper RS485 connections shown below.
The configuration wizard gives the option to create a configuration for a new device or to load a configuration of saved device. Configuration files for MM2 and PQMII are supplied with the Enervista P485/D485 Setup software. Click the Load Device button to see the available configuration files.
Page 64
10. Click Next to proceed to step 4 of the configuration wizard. 9–8 Select the file from the list and click on Open. PQMII.D01 Figure 9-9: Parameters configured for PQMII file. MM2-MM3.DO1 Figure 9-10: Parameters configured for the MM2 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
Slave Address to “4”, and the Device Type as “MM2-MM3”. Click Next to proceed to step 5 of the configuration wizard. P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE Figure 9-11: Connect devices to sub-network Figure 9-12: Node for PQMII meter...
The values in the bracket indicate Modbus data format codes – refer to the instruction manuals for details. 9–10 Figure 9-14: Select parameter window Figure 9-15: Choosing parameters for the PQMII meter node Figure 9-16: Choosing parameters for the MM2 relay node P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
Click the Sub-net Oveview button to view the data mapping. Close the Modbus network monitor window. Click on Next to complete the configuration wizard. P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE Figure 9-17: Configuration report Figure 9-18: Modbus network monitor...
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 9–12 Figure 9-20: Save device file P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
Page 69
Change the Reconnect time to 5 seconds by changing the value to 500 (500 × 10 ms = 5 seconds) and the Retries to 5. P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE Figure 9-21: Expanding the tree Figure 9-22: Expand query APPLICATION EXAMPLE 9–13...
Page 70
Upload mode = On data change Reconnect time = 500 (5 sec) Retries = 5 9–14 Figure 9-23: Changing configuration parameters for a query Figure 9-24: Query parameters for the command function P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
To open the saved configuration file, select the File > Open menu item. The following window will appear. To connect to the P485, select the Tools > Port menu item, then select the port connected to P485. Click on the Connect icon.
If the P485 is the last node on a Profibus segment, it is necessary to use a Profibus connector with the integrated termination switch. The termination switch should be set to ON if the P485 is the last physical node on the network and no other termination is used at NOTE this end of the network.
RELEASE DATES Table 10–1: Release dates Manual GEK-113190 CHANGES TO THE As this is the first version of the P485 Modbus to Profibus 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...
Page 74
MISCELLANEOUS 10–2 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE...
Page 75
...4–4 DEVICE TYPES ...4–5 DIMENSIONS ...1–4 DIN-RAIL CONNECTION ...2–5 DOCUMENT CONVENTIONS ...1–2 ENERVISTA P485/D485 SETUP P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE see entry for SOFTWARE ENVIRONMENT ... 1–4 FEATURES ... 1–3 FIELDBUS TYPE ... 4–3 4–4 4–13 FRAME EDITOR ...
Page 76
SWITCHES ... 2–6 TECHNICAL SUPPORT ... 1–1 TEMPERATURE ... 1–4 TROUBLESHOOTING ... 2–8 TYPICAL APPLICATIONS ... 1–3 UNPACKING THE SWITCH 5–2 4–13 WARRANTY ... 1–1 WEBSITE ... 1–1 P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE 8–2 ... 1–1 10–1...