background image

D485 Modbus to DeviceNet

Converter

GE

Grid Solutions

*1601-0235-A2*

LISTED

Instruction Manual

GE publication code: 1601-0235-A2 (GEK-113195A)

Summary of Contents for D485

Page 1: ...D485 Modbus to DeviceNet Converter GE Grid Solutions 1601 0235 A2 LISTED Instruction Manual GE publication code 1601 0235 A2 GEK 113195A ...

Page 2: ... 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 Part number 1601 0235 A2...

Page 3: ...eatures 1 3 General features 1 3 Modbus network 1 3 DeviceNet interface features 1 3 Ordering 1 4 Order codes 1 4 Specifications 1 4 Mechanical 1 4 Electrical characteristics 1 4 Communications 1 4 Environmental 1 4 EMC compliance 1 4 INSTALLATION Quick install 2 1 Procedure 2 1 Electrical installation 2 1 Overview 2 1 DeviceNet connector 2 2 Configuration cable 2 3 Modbus connector 2 4 Power conn...

Page 4: ... Acknowledge handler object class 2Bh 3 10 I O data input mapping object class A0h 3 11 I O data output mapping object class A1h 3 11 Diagnostic object class AAh 3 12 Parameter data input mapping object class B0h 3 12 Parameter data output mapping object class B1h 3 13 SOFTWARE OVERVIEW Introduction 4 1 Description 4 1 System requirements 4 1 Installation procedure 4 1 Description 4 1 Installing f...

Page 5: ... 5 3 Query parameters 5 4 Response parameters 5 5 FRAME AND COMMAND EDITORS Frame editor 6 1 Description 6 1 Example 6 1 Command editor 6 2 General 6 2 Specifying a new command 6 3 MODBUS NETWORK AND NODE MONITORS Modbus network monitor 7 1 General 7 1 Operation 7 2 Node monitor 7 3 General 7 3 Operation 7 3 ADVANCED FUNCTIONS Control and status registers 8 1 Description 8 1 Control register Devic...

Page 6: ...rd 9 6 Step 1 Selecting the fieldbus type 9 6 Step 2 Selecting the sub network properties 9 7 Step 3 Include device types 9 7 Step 4 Connect devices to the sub network 9 9 Step 5 Select parameters for each node 9 10 Step 6 Configuration report 9 11 Saving device data 9 12 Configuring the queries 9 12 Grouping I O data 9 15 I O data Input mapping 9 15 Parameter data input area mapping 9 17 Download...

Page 7: ...iner 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 M...

Page 8: ...bly used for Modbus network Figure 1 1 Input and output definition GLOSSARY The following terminology is used in the D485 manual Broadcaster A protocol specific node in the sub network scan that holds transactions destined for all nodes Command A protocol specific transaction Fieldbus The network to which the converter is connected DeviceNet for D485 Frame A higher level series of bytes forming a ...

Page 9: ...L and cUL marked MODBUS NETWORK RS232 RS422 RS485 communications Multi drop or single node configurations possible Modbus RTU Master mode Supports up to 50 commands Configuration via EnerVista P485 D485 Setup software DEVICENET INTERFACE FEATURES Complete DeviceNet adapter functionality profile no 12 group 2 only server Group two only server MAC ID and baud rate configuration via on board switches...

Page 10: ...0 and 57600 bps I O DATA I O input size 512 bytes I O output size 512 bytes FEATURES AND INTERFACE Supported features bit strobe polling cyclic and COS I O messaging explicit messaging Modbus interface RS232 RS422 RS485 DeviceNet interface 5 pin linear DeviceNet plug Phoenix type ENVIRONMENTAL RELATIVE HUMIDITY The product is designed for a relative humidity of 0 to 95 non condensing TEMPERATURE O...

Page 11: ... 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 Setu...

Page 12: ...or is used to connect the D485 to the DeviceNet network The pin assignments for the DeviceNet connector are shown below Figure 2 2 DeviceNet connector E A B C D Table 2 1 DeviceNet connector pin assignments Pin Signal Description 1 V DeviceNet bus power negative supply voltage 2 CAN L CAN L bus line 3 Shield Cable shield 4 CAN H CAN H bus line 5 V DeviceNet bus power positive supply voltage 1 5 ...

Page 13: ...r connects to the D485 is shown below Figure 2 4 Configuration cable D485 end The pinout for the DSUB 9 pin serial plug connects to the PC is shown below Table 2 2 Configuration cable pin assignments D485 end Pin Description 1 Signal ground 2 Signal ground 3 RS232 Rx data input to D485 4 RS232 Tx data output from D485 Table 2 3 Configuration cable pin assignments PC end Pin Description 1 Not conne...

Page 14: ...ed 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 Figure 2 7 Power connector 5 1 6 9 female Table 2 4 Modbus connector pin as...

Page 15: ...he D485 downwards 1 to compress the spring on the DIN rail connector then push the D485 against the DIN rail as to make it snap on 2 To snap the D485 off push the D485 downwards 1 and pull it out from the DIN rail 2 as to make it snap off from the DIN rail Indicators and switches STATUS INDICATORS The status indicators for the D485 Modbus to DeviceNet Converter are indicated below Figure 2 9 D485 ...

Page 16: ...shing Connection timeout 2 Module status Off No power to device Green Device operational Green flashing Data size larger than configured Red Unrecoverable fault Red flashing Minor fault 3 Not used 4 Not used 5 Modbus status Off Power off Green flashing Initializing and not running Green Running Red Stopped or subnet error or timeout 6 Device status Off Power off Red green alternating Invalid or mi...

Page 17: ...es setting up the node address input output data areas and DeviceNet baud rate Node address The node address in the DeviceNet configuration tool should be set to match the one selected using the on board configuration switches of the D485 see Configuration switches on page 2 6 Setting up input output data areas To establish the connection with the master the D485 mus be configured for correct I O ...

Page 18: ...rt 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 mon...

Page 19: ...us 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 ...

Page 20: ...024 bytes of general data The PLC exchanges data via the DeviceNet network between its internal input area and the input area of the D485 DeviceNet network The PLC exchanges data via the network between its internal output area and the output area of the D485 DeviceNet The data in the input area of the D485 contains data received from nodes on the Modbus sub network sent in to the D485 from the su...

Page 21: ...t 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 ...

Page 22: ...01 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 th...

Page 23: ...D485 a node holds all transactions and parameters for a particular device on the sub network Transaction Transactions contains messages to be transmitted on the sub network A transaction consists of one or more message frames see figure above and has a few general parameters to specify how and when the transaction should be used on the sub network Commands A command is a pre defined transaction th...

Page 24: ...ject A0h 3 11 I O data output mapping object A0h 3 11 Diagnostic object AAh 3 12 Parameter data input mapping object B0h 3 12 Parameter data output mapping object B1h 3 13 Table 3 3 Class attributes for identity object 01h Attr Access Name Type Value Description 1 Get Revision UINT 0001h Revision 1 Table 3 4 Instance attributes for identity object 01h Attr Access Name Type Value Description 1 Get ...

Page 25: ... fault 10 Major recoverable fault 11 Major unrecoverable fault 12 to 15 Reserved Table 3 5 Class attributes for message router object 02h Attr Access Name Type Value Description 1 Get Revision UINT 0001h Revision 1 Table 3 6 Class attributes for DeviceNet object 03h Attr Access Name Type Value Description 1 Get Revision UINT 0002h Revision 2 Table 3 7 Instance attributes for DeviceNet object 03h A...

Page 26: ...g connection Instances 10 to 14 Explicit connection UCMM allocated Table 3 8 Class attributes for assembly object 04h Attr Access Name Type Value Description 1 Get Revision UINT 0002h Revision 2 Table 3 9 Instance attributes for assembly object 04h instance 64h Attr Access Name Type Value Description 3 Get Data Array of USINT Data produced by the D485 to the master Table 3 10 Instance attributes f...

Page 27: ...ed connection ID UINT N A CAN ID for reception 6 Get Initial communication characteristics BYTE 0Fh no ACK Produces over message group 1 Does not consume 01h ACK Produces over message group 1 Consumes over message group 2 7 Get Produced connection size UINT N A Number of bytes transmitted across this connection 8 Get Consumed connection size UINT 0 Number of bytes received across this connection 9...

Page 28: ... ms to wait for acknowledge before re sending 2 Get Set Retry limit USINT 1 Number of ACK time outs before retry limit reached event 3 Get Set Producing connection Instance UINT 4 Connection instance contains the path of the producing I O application object which will be notified of acknowledge handler events 4 Get Acknowledge list size Byte Maximum number of members in acknowledge list 0 dynamic ...

Page 29: ...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 USINT Data that is read 2 Get Input 2 Array of USINT Data that is read 3 Get Input 3 Array of USINT Data that is read 4 Get Input 4 Array of USINT Data that is read 5 Get Input 5 Array of USINT Data that is read 6 Get In...

Page 30: ...iption 1 Get Module serial number UDINT Serial number 4 Get Module software version UINT DeviceNet interface software version 15 Get Input I O size 1 1 Corresponds to the IO Size In parameter in EnerVista P485 D485 Setup UINT Size of I O input area in bytes 17 Get Input total size UINT Total number of input bytes I O explicit 18 Get Output I O size 2 2 Corresponds to the IO Size Out parameter in E...

Page 31: ...ribute 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 output 1 Array of USINT Data that is read or written 2 Get Set Parameter o...

Page 32: ...3 14 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE DATA EXCHANGE ...

Page 33: ...bleshooting 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 install...

Page 34: ...onfiguration when the configuration wizard does not fit the application or to modify an existing configuration for a new application 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 The online help system explains each configuration step in detail CONFIGURATION WIZARD The p...

Page 35: ...en click Next to continue A typical DeviceNet network arrangement is shown below Figure 4 1 Typical network arrangement 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 Sub Network Modbus PC for configuration and Monitoring F ieldbus Networ...

Page 36: ...mum 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 ...

Page 37: ...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 Users should consult the instruction manuals of the various network devices to determine the actual Modbus command code s implemented or required This will det...

Page 38: ... 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 Cur...

Page 39: ...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 ...

Page 40: ...d 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 but...

Page 41: ...ow will appears that graphically displays how the data is mapped to the internal memory of the D485 Configuration main window DESCRIPTION The main window is shown below It is composed of the navigation window parameter window information window and configuration line indicator Figure 4 3 Configurator main window A D C B ...

Page 42: ...vigation 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...

Page 43: ...ons Function Description Warning on delete When something is to be deleted a warning window will appear Warning on unsaved data When closing EnerVista P485 D485 Setup with unsaved data a warning window will appear Show Wizard when New menu is selected Each time a new configuration is to be made the Wizard window will appear Language next time the program is launched Select which language the progr...

Page 44: ... in the control register must be set by the fieldbus control system to start the sub network communication Disable Disables control status registers Enable but no start up lock The control status registers are enabled but the fieldbus control system is not required to set the Data Valid parameter bit 13 in the control register Module Reset This parameter defines how the module should behave in the...

Page 45: ...ge 8 4 for information on how to block transactions until valid data is received SERIAL INTERFACE SETTINGS To be able to communicate on the Modbus network various communication settings needs to be configured To gain access to these settings select Modbus Network in the Navigation window Parameter Description Range Bit rate Selects the bit rate 1200 to 57600 Data bits Selects the number of data bi...

Page 46: ...4 14 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE SOFTWARE OVERVIEW ...

Page 47: ...t 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 wit...

Page 48: ...ork 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 Figure 5 2 D485 scan list Basic settings NETWORK SETTINGS Select Modbus Network in the Navigation window to gain access to basic settings in the Parameter window Figure 5 3 Parameter window COMMUNICATION Refer to...

Page 49: ...dow MODBUS NETWORK MENU Right click Modbus Network in the Navigation window to gain access to these functions Figure 5 4 Modbus network menu Paste Paste a node from the clipboard Modbus Network Monitor Launches the Modbus network monitor Refer to Modbus network monitor on page 7 1 for details Add Node Adds a node to the scanlist Add Broadcaster Adds a broadcaster node to the scanlist Load Node Loa...

Page 50: ...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 Reconnect time 10 ms This pa...

Page 51: ...me 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 b...

Page 52: ...5 6 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE COMMUNICATION MODEL ...

Page 53: ...rame editor presents the message frames in a more visual manner than the navigation parameter window Figure 6 1 Frame editor 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 devic...

Page 54: ...ress 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 Figure 6 2 Select command window To open the command editor right click a node and select Add Command A list of predefined commands will appear To add a new command to the command list select Add Command in ...

Page 55: ... CRC Figure 6 4 Specifying a new command First enter a name for the command in the Command Name field A and an identifier in the Command ID field B If the command is allowed to be broadcast on the sub network check the Allow Broadcasting check box C The Query D field has the following characteristics Query Column 1 Slave Address 2 Modbus Function Code 3 See below 4 Error Check field DisplayName Sl...

Page 56: ... 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 If Depend is selected then this object in the response will get the same setting as the corresponding object in the query furthermore the object will appear as non editable in the parameter window see below Figure 6 5 Main window Query Column 1 Slave Add...

Page 57: ...rk It s main function is to display the data allocated for Modbus network communication and detect if any area has been allocated twice that is if a collision has occurred All configured nodes together with the commands are listed in the middle of the screen B Selecting and deselecting commands makes it possible to view any combination of allocated data The Modbus network monitor has a negative in...

Page 58: ... light 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 transacti...

Page 59: ...n These icons are used to start or stop a node Stopping is done by clicking the red light and could be seen as a temporary removal of the node i e no data will be sent to the node but it is still available To start the node again simply click on the green light This is a powerful feature when there is a problem with a particular node the other nodes can be disconnected helping to isolate the probl...

Page 60: ...a 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 ...

Page 61: ...sing these registers it is also possible for the fieldbus control system to instruct the D485 to enable disable specified nodes By default these registers are located in the internal memory buffer at 0x000 to 0x001 status register and 0x200 to 0x201 control register However they can be disabled using EnerVista P485 D485 Setup refer to Modbus network configuration on page 4 13 for details Disabling...

Page 62: ...data is NOT valid 12 to 8 Control Code CR_EC See table below 7 to 0 Data CR_ED See table below Code Name Description 0x10 DISABLE_NODE Slave address of the node to disable This instructs the D485 to disable a specific node from the sub network communication 0x11 ENABLE_NODE Slave address of the node number to enable This instructs the D485 to enable a specific node to be active in the sub network ...

Page 63: ...otal number of re transmissions on the subnetwork 0x01 Single node missing Slave address of the missing node Reports if a node is missing 0x02 Multiple nodes missing Number of missing nodes Reports if multiple nodes are missing 0x03 Overrun Slave address of the node that sent too much data Reports if more data than expected was received from a node 0x04 Other error Slave address Reports unidentifi...

Page 64: ...e this is done it will not communicate with the devices on the Modbus network The data valid bit in the status register may in some cases be delayed This latency can be caused by a missing node or a bad connection to a node with a long timeout value assigned to it Therefore the fieldbus control system should not wait for this bit to be set before communicating with the sub network devices It shoul...

Page 65: ...nd 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...

Page 66: ...ea 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 Figure 8 5 Mailbox example for parameter data input mapping The mailbox command should be saved before closing the mailbox...

Page 67: ...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 an...

Page 68: ...h 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 in...

Page 69: ...tes is shown below Figure 8 8 Command and response layout for IO input area 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 ...

Page 70: ... 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...

Page 71: ...es is shown below Figure 8 10 Command and response layout for IO output area 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 ...

Page 72: ...s Attribute 2 length 4 bytes Attribute 3 length 2 bytes Attribute 4 length 2 bytes Figure 8 11 Mailbox example for IO data output mapping Refer to chapter 9 for an application example using the mailbox commands Incorrect usage of mailbox commands may permanently damage the converter For additional information consult the product support team at GE Multilin CAUTION ...

Page 73: ...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 DOCUMENTS The examples in this chapter make use of the following equipment and documentation D485 Modbus to DeviceNet Converter RS485 cable to connect D485 to the relays meters MM2 and PQMII EnerVi...

Page 74: ... www GEmultilin com For the PQMII we have For the MM2 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 ...

Page 75: ...ap menu item 4 Set the user map registers as follows and save to the meter Figure 9 1 PQMII meter user map setting The six parameters are now mapped to user memory map data at 0x0100 to 0x0106 These parameters can now be read by one Read input data register command at 0x0100 with register length 7 words note that average phase voltage value is in 32 bit MM2 USER MAP As indicated earlier there are ...

Page 76: ...r user map setting The five parameters are now mapped to user memory map data at 0x0100 to 0x0104 These parameters can now be read by one Read input data register command at 0x0100 with register length 5 words User map address Parameter User map data address 1280 0x0023 0x0100 1281 0x0010 0x0101 1282 0x0035 0x0102 1283 0x0036 0x0103 1284 0x0040 0x0104 ...

Page 77: ...ew of the system configuration described in this document is shown below Figure 9 3 System configuration The following procedures describe how to configure for the D485 with the PQMII and MM2 It is assumed that the reader has some basic knowledge of the Modbus RTU protocol and DeviceNet communication protocol ...

Page 78: ...er RS485 connections shown below STARTING THE CONFIGURATION WIZARD Start the D485 configuration wizard as follows 1 Launch the EnerVista P485 D485 Setup software 2 A window for selecting a configuration will be displayed Select the Configuration Wizard icon Figure 9 4 Select configuration wizard 3 Click OK to proceed to step 1 of the configuration wizard STEP 1 SELECTING THE FIELDBUS TYPE The firs...

Page 79: ...s 2 Click Next to proceed to step 3 of the configuration wizard STEP 3 INCLUDE DEVICE TYPES The third step in the configuration wizard is to include device types The PQMII and MM2 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 Figure 9 7 Device types 2 Configuration files for MM2 and P...

Page 80: ...y load the configuration file for MM2 by clicking the Load Device button and selecting the MM2 MM3 DO1 file Figure 9 10 Parameters configured for the MM2 7 The software will display a list of the most commonly used parameters configured for the MM2 The Modbus User Map values are already present in the configuration file as such it is not required to create the new parameters However it is necessar...

Page 81: ...k as shown below Figure 9 11 Connect devices to sub network 2 There are two nodes on the Modbus network the PQMII meter and the MM2 relay To insert a node click the Create Node button 3 Set the Node Name as PQMII Meter the Slave Address to 20 and the Device Type to PQMII Figure 9 12 Node for PQMII meter 4 Similarly create another node for the MM2 Set the Node Name as MMII Relay the Slave Address t...

Page 82: ...lect parameter window 2 To add parameter for the PQMII meter select the User memory map value F1 item from the drop down list Figure 9 15 Choosing parameters for the PQMII meter node 3 Select parameters for MM2 relay by click on the MM2 Relay 4 tab followed by the Add Parameters button Choose the following parameters from the drop down list User memory map values F1 Command function code operation...

Page 83: ...ice 1 If desired click on Print to print the configuration report Figure 9 17 Configuration report 2 For future reference saved the file in RTF format by clicking the Save as RTF button and selecting an appropriate directory 3 Click the Sub net Oveview button to view the data mapping Figure 9 18 Modbus network monitor 4 Close the Modbus network monitor window 5 Click on Next to complete the config...

Page 84: ...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 Figure 9 20 Save device file CONFIGURING THE QUERIES The main screen will appear after the wizard is closed ...

Page 85: ...ree All the configured parameters will appear as commands Figure 9 21 Expanding the tree 2 Expand the User memory map values F1 command in the PQMII Meter item and click on Query Figure 9 22 Expand query 3 Change the Reconnect time to 5 seconds by changing the value to 500 500 10 ms 5 seconds and the Retries to 5 ...

Page 86: ...eters for a query 5 Expand the User memory map values F1 command in the MM2 Meter item and click on Query Set the configuration parameters as above 6 Expand the Command Function code operation code F1 F22 command in the MM2 Meter item and click on Query 7 Set the following configuration parameters Offline option for Fieldbus Freeze Offline Options for sub network Freeze Upload mode On data change ...

Page 87: ...re 9 25 User defined IO sizes 2 Set the IO Size In IO input data size to 16 bytes i e 0x000A and the IO Size Out IO output data size to 4 bytes Figure 9 26 Setting the IO sizes 3 With this setting input data is divided into two parts the first 16 bytes of input is IO input data and remaining 8 bytes is explicit input data All 4 bytes of output data is IO output data I O DATA INPUT MAPPING The IO d...

Page 88: ... offset and data length for IO data input attributes 4 The offset and data length for each attribute in bytes in given below 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 Th...

Page 89: ...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 5 Enter the offset and data length values from the table above then select the File Apply Changes menu ...

Page 90: ...e 2 To connect to the D485 select the Tools Port menu item then select the port connected to D485 3 Click on the Connect icon 4 Verify that the green LED is shown in the right corner of the configuration tool then click the download icon in the toolbar The download in progress bar will appear Figure 9 30 Download in progress 5 If the D485 does not respond to the download ensure all connections are...

Page 91: ...ud rate on the device shall match with the DeviceNet network baud rate Setting up the input output data areas Input output data is used as IO polling data by the DeviceNet master Select the correct IO size in the DeviceNet configuration tool The last devices end devices on the DeviceNet network must be terminated with 120 ohm resistors SELECTING THE INPUT ATTRIBUTE FOR POLLING AND COS Once the dev...

Page 92: ...9 20 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE APPLICATION EXAMPLE ...

Page 93: ...t https www gegridsolutions com multilin warranty htm For products shipped before 1 October 2013 the standard 24 month warranty applies Table 10 1 Release dates Manual Part No Revision Release Date GEK 113195 1601 0235 A1 1 0x December 15 2005 GEK 113195A 1601 0235 A2 1 0x September 2017 Table 10 2 Major Updates for A2 Chapter Changes Cover Manual revision from A1 to A2 Branding and colors updated...

Page 94: ...10 2 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE MISCELLANEOUS ...

Page 95: ...ES 8 2 CONTROL REGISTERS 8 1 D DATA BITS 4 5 DATA DIRECTION 4 6 DATA EXCHANGE 3 2 DATA FLOW 4 4 DEVICE TYPES 4 5 DEVICENET configuration 2 7 connector 2 2 input output data areas 2 7 typical network arrangement 4 3 DIMENSIONS 1 4 DIN RAIL CONNECTION 2 5 DOCUMENT CONVENTIONS 1 2 E ENERVISTA P485 D485 SETUP see entry for SOFTWARE ENVIRONMENT 1 4 F FEATURES 1 3 FIELDBUS TYPE 4 3 FRAME EDITOR 6 1 G GL...

Page 96: ...Y 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 configuration wizard 4 2 data exchange 3 1 frame editor 6 1 installation 4 1 Modbus network monitor 7 1 node monitor 7 3 overview 4 1 SPECIFICATIONS 1 4 ST...

Reviews: