Home
GEK-113195 - GE Digital Energy
Contents
1. 10 1 GE Multiim warranty a ene aataiceeeeine ee 10 1 iv D485 MODBUS DEVICENET CONVERTER USER GUIDE INSPECTING THE PACKAGE AND PRODUCT CONTACT INFORMATION GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Chapter 1 Introduction Getting started Examine the shipping container for obvious damage prior to installing this product notify 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 GE Multilin contact information and call center for product support is shown below GE Multilin 215 Anderson Avenue Markham Ontario Canada L6E 1B3 e Telephone 905 294 6222 or 1 800 547 8629 North America 34 94 485 88 00 Europe Fax 905 201 2098 North America 34 94 485 88 45 Europe e E mail multilin tech ge com e Website http www GEmultilin com D485 MODBUS DEVICENET CONVERTER USER GUIDE 1 1 INTRODUCTION DESCRIPTION GLOSSARY Document conventions The following
2. 2 atu NU DU CM fa UD MM UD DUM asec aden 1 4 BITS SUPPORT 1 4 P a tended anni leans 1 4 PS CUE Cs sacar eee 1 4 Electrical Characteristics avos 1 4 Ee 1 4 SaL NUS CU css Rem 1 4 e Rem 1 4 INSTALLATION BID e pli NN 2 1 PEOC 2 1 Electrical installation sass 2 1 Qi m P 2 1 Beute HN 2 2 e itid Cofo a MEINEN ER RR 2 3 11519 CONNECTION 2 4 FPOUWSITEODIISCIOE deni TIME RM M M MEE E 2 4 Mechanical installation 2 5 NT nan ERR HE EON 2 5 Indicators and switches o0sseosseessoeesssesssossssocssseessceesseesssscsssoesssccssscesscesssceses 2 5 SILEO EALES L o E NR 2 5 N TEO renner Le MEAT D DM D EM LUE M 2 6 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE i TABLE OF CONTENTS DATA EXCHANGE SOFTWARE OVERVIEW DeviceNet installation procedure eese eese eese ennt 2 7 DeviceNet configuration LOO sscescascien mctu rupto eetemtite un Emil eite Uu E m EE ene 2 7 DeviceNet network termination csecccsescss
3. Data Array of Data consumed by the D485 to by the D485 to USINT the master If the I O input data size is set to 0 the above instances will not be initialized Services Class services Get Attribute Single Instance services Get Attribute Single Set Attribute Single Table 3 11 Class attributes for connection object 05h Axes Name Tupe vae Description The instances for this object are defined as follows Instance 1 Explicit messaging connection Predefined in DeviceNet object Instance 2 Polled connection COS Cyclic consuming connection Instance 3 Bit strobe connection Instance 4 COS Cyclic producing connection Instances 10 to 14 Explicit connection UCMM allocated Table 3 12 Attributes for instances 1 and 10 to 14 for connection dis ai 05h m sem ame rope value Tose State USINT 0 Non existent Non existent 1 Configuring 3 Established 4 Timeout 5 Deferred delete 2 Get Instance type USINT Explicit messaging connection D485 MODBUS TO DEVICENET CONVERTER USER GUIDE DATA EXCHANGE Table 3 13 Attributes for instance 2 for connection object 05h s seem rame use vee Bee State FUSINT NA O Nonexstnt Non existent 1 Configuring 3 Established 4 Timeout 2 Instance type USINT 4 I O connection Table 3 14 Attributes for instance 3 for connection object 05h m sem ame Wee eem
4. ur P485 D485 Configuration Devices H Fieldbus Alphabetic Categorized P485 D 485 Wey Modbus Network ET POMII Meter j H 0 User memory map values F1 Read Input Registers E General Offline options for fieldbus Freeze Offline options for sub network Freeze N H E Query Update mode On data change LE Response Timing MM2 Relay Minimum time between broadcasts 1 ms 100 H O User Memory Map values F1 Read Input Registers Reconnect time 10 S00 H O Command Function Code operation code F1 F22 F Retries 5 H E Query Timeout time 10ms 100 H E Response Update time 10ms 100 E Trigger Trigger byte address Ox05FF Offline options for sub network The action to take for this transaction if the Modbus Network goes offline This option affects the data that is reported to the fieldbus master Quy SRO SCT PM Config Line OO Figure 9 24 Query parameters for the command function 9 14 D485 MODBUS DEVICENET CONVERTER USER GUIDE APPLICATION EXAMPLE GROUPING I O DATA By default all mapped I O input data is grouped in one attribute and is used for polled production data and all mapped I O output data is used as polled consumption output data The mailbox commands can be used to split this data into different attributes We have mapped 24 bytes of input data and 4 bytes of output data The followin
5. Figure 2 7 Power connector D485 MODBUS TO DEVICENET CONVERTER USER GUIDE INSTALLATION Mechanical installation DIN RAIL MOUNTING The DIN rail connector is internally connected to the D485 OFF lt 2 gt 2 Figure 2 8 Mounting the D485 to the DIN rail To snap the D485 on first press the 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 status indicators D485 MODBUS DEVICENET CONVERTER USER GUIDE 2 5 INSTALLATION Table 2 5 D485 status indicators Number State Status Network status Not powered not online Green Link OK online connected Green flashing Online not connected Critical link failure Red flashing Connection timeout Module status Off Green No power to device Device operational Green flashing Data size larger than configured Unrecoverable fault Red flashing Minor fault Not used Off Green flashing Power off Initializing and not running Green Running Stopped or subnet error or timeout Power off Off alternating Red flashing If the device status LED is flashing in a sequence starti
6. m T m 7 2 Oe El deci 7 3 7 3 Sod 7 3 Control and status reGIStePS ccssccessssssessecsssessssssccsssesssessccsssessessssesssesscenees 8 1 EE A A 8 1 Control register DeviceNet Control system to 485 8 1 NO te mene 8 2 Status register D485 to fieldbus control system see 8 2 Rat RUDI DDR UNE 8 3 FU CMAN INCLU OO CS Nm ROO cist 8 3 Input output data during startup esseseesesesseesessessesesseseesesseseeseesesseseeseesesessesse 8 4 rm Uc 8 4 Advanced fieldbus configuration eese eese eese rennes 8 5 EAT 8 5 Parameter data inputared Ro OO om 8 5 D485 MODBUS DEVICENET CONVERTER USER GUIDE lii TABLE OF CONTENTS Parameter data output area mapDplPQssnccenieenenss etu tori eee eser M ed reet 8 7 I O data input 8 8 I O data output area MAppINg cists 8 10 APPLICATION ro O E E TEORA 9 1 EXAMPLE VO 9 1 sie UA CO CUI SG i n T 9 1 gest lt A TON ee on 9 2 Modbus user map SOLD ue sioe adir Deoa CNN E SR 9 3 PRENNE NN RR RTT 9 3 ax NU
7. USNT NA X O Nonexstent 1 Configuring 3 Established 4 Timeout Instance type USINT ec I O connection Table 3 15 Attributes for instance 4 for connection object 05 m see ame rope wke oeseri State FUSINT O Nonexstnt Non existent 1 Configuring 3 Established 4 Timeout Get Instance type USINT 0 jVOcomecin connection COREE class BYTE the behavior of the trigger connection Produced UINT CAN ID for transmission connection ID Consumed UINT N A CAN ID for reception connection ID Get Initial BYTE OFh no ACK Produces over message group 1 communication Does not consume O1h ACK Produces over message group 1 Consumes over message group 2 7 Get Produced UINT N A Number of bytes transmitted connection size across this connection Get Consumed UINT Number of bytes received across connection size this connection Get Set Expected packet UINT Timing associated with this rate connection 12 Get Watchdog USINT N A 0 Transition to the timed timeout action out state 1 Auto delete 2 Auto reset 3 Deferred delete 13 Get Produced UINT 0006h Number of bytes in the produced connection path connection path attribute length Produced EPATH 2004 24 66 Application object producing connection path 30 O3h data on this connection Consumed UINT 0004h Number of bytes in the connection path consumed connection path length length attribute Consumed EPATH
8. lt Back Next gt Cancel ki Device Tab si Figure 9 9 Parameters configured for POMII 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 necessary to save number of registers to be read Change the data length to 7 words as required Similarly load the configuration file for MM2 by clicking the Load Device button and selecting the MWR MWB DOI file x Create Device Remove Device Load Device Save Device POMII 3 Device Name MM2 MM3 Step 3 of 6 Include Device Types into the project and configure their Create Parameter Remove Parameter Parameter Name Data Direction Register Length Type Modbus Command User Memory Map val Read 30257 2 Word s 04 Read Input Registers pa rameters Command Function Cc Write 44443 2 Word s 16 Preset Multiple Registers Phase Current Scale F Read 30049 1 Word s 04 Read Input Registers EE T E Phase Current F1 Read 30050 1 ord s 04 Read Input Registers Phase B Current F1 Read 30051 1 ford s 4 Read Input Registers Suh network davkes Phase C Current F1 Read 30052 1 tord s 04 Read Input Registers 1 General information Ground Current F1 Read 30053 1 ford s 14 Read Input Registers 2 Modbus Memory map and Motor Load F1 Read 30054 1 ord s 04 Read Input Registers Command overview
9. Command Function Code operation code F1 F22 F Alphabetic Categorized Fieldbus Fieldbus Type DeviceNet IO Sizes COG 0x0010 0x0004 User defined TU I H IO Sizes l jam 10 Size Out 4 El Figure 9 26 Setting the IO sizes Config Line 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 data can be further assigned to different attributes of I O data input mapping object AOh Define the following five attributes out of 16 bytes of data Attribute Attribute 1 Input 1 6 bytes Phase current la Ib Ic Attribute 2 Input 2 2 bytes Average phase current Attribute 3 Input 3 2 bytes Neutral current Attribute 4 Input 4 4 bytes Average phase voltage Attribute 5 Input 5 2 bytes Motor status D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 9 15 APPLICATION EXAMPLE This can be done by using data input area mapping mailbox command 06h 1 Z S 4 6 Right click on Endlnit item and insert a new mailbox Set command code to 06 row 3 The offset and length of attribute for each attribute must be provided Each attribute requires two words four bytes in message data therefore 5 attributes require 20 byte
10. E 4 4 S SCAPE T a E A A 5 2 SOFTWARE 8 1 command eearaaensrenaiseanet ian ate 6 2 CO bee 5 1 ii configuration 00 2011 4 2 data exchange MN ER 3 1 Frame RR aE ARS 6 1 iS ERR 4 1 Modbus network Monitor 5 2 icta roit 7 1 iore canne aite MENOR RR EE 7 3 aic Mt 4 1 SPECIFICATIONS noieeoe et EH Tua aset busto 1 4 Lutatius hona 8 3 STATUS INDICATORS sensit ttem ee e nette emt 2 5 STATUS REGISTER c cetudettutendia ut Nested 8 1 8 2 SALE Ge 4 5 TL 2 6 T TECHNICAL SUPPORT cccccceciecececcctssceeceteteatedeeciteassvoasesectienteielseeceeesenetes 1 1 TEMPERATURE E 1 4 SEE 2 8 TYPICAL APPLICATIONS eerte 1 3 U UNPACKING THE SWITCH scsctccicstscssescecdscosccauesssesusbsbeseestwceesceoeescaveun 1 1 W 1 1 10 1 WEC 1 1 D485 MODBUS DEVICENET CONVERTER USER GUIDE
11. Nw Access Name Tupe Value Description 1 es Revion DEVICENET OBJECT Services CLASS 03H Class services Get Attribute Single Instance services Get Attribute Single Table 3 6 Class attributes for DeviceNet object 03h Nw Access Name Tupe Value Description 1 em Rem UNT UN Table 3 7 Instance attributes for DeviceNet object O3h Nome Me seinen 000 a Ce MAC ID USINT USINT N A Currently used MACD Currently used MAC ID Baud rate USINT N A Currently used baud rate 0 125 kbps 1 250 kbps and 2 500 kbps BYTE Allocation choice byte NL USINT Master MAC ID D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 3 7 DATA EXCHANGE ASSEMBLY OBJECT CLASS 04H NOTE CONNECTION OBJECT CLASS 05H The assembly object binds all mapped I O data This data is used for I O connections Services Class services Get Attribute Single Instance services Get Attribute Single Set Attribute Single Table 3 8 Class attributes for assembly object 04h Nw Access Name Tupe Value Description 1 ew mese UN 09m Table 3 9 Instance attributes for assembly object 04h instance 64h m _ access neme rape vate meii Data Array Amayof Dato Data produced by the D 85to by the D485 to USINT the master Table 3 10 Instance attributes for assembly object 04h instance 96h feces Neme Tupe value seinen
12. Query Column Protect Bebe Modbus denes this obectasobyte Bebe 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 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 6 3 FRAME AND COMMAND EDITORS 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 i Lommand Editor File Column Apgpendicalumm Insert Column Shift Ins Delete Column Shift Del Command 2 Diplan ame Function bjectT ype Byte Byte Value Slavedddress ID 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 i nee See Query See Query See Query Object has same setting as the corresponding Quer
13. STEP 1 SELECTING THE 9 6 FIELDBUS TYPE The following procedure describes how to configure the EnerVista P485 D485 Setup software 1 Install the EnerVista P485 D485 Setup software 2 Connect the configuration port of D485 to the PC via the configuration cable 3 Connect the devices POMII and MM2 to D485 through the DB 9 Modbus network connector using the proper RS485 connections shown below DES pin Start the D485 configuration wizard as follows 1 2 3 Launch the EnerVista P485 D485 Setup software A window for selecting a configuration will be displayed Select the Configuration Wizard icon i Select Configuration X Cancel Select the desired topic to do and press the OF button wizard option will quide you through and explain all steps of a configuration The output from a wizard will result in a working configuration ready to download It is also possible to edit the configuration in the standard Enervista P485 D 485 Setup program alter Wizard completion The Blank Configuration option will open the standard Enervista P485 D 485 Setup and a configuration can be created from scratch Here it i alzo possible ta open an existing configuration from File ar via Upload from a P485 D 485 module Don t show this Window again Figure 9 4 Select configuration wizard Click OK to proceed to step 1 of the configuration wizard The first step in the configuration wizard i
14. Thermal Capacity F1 Read 30055 1 04 Read Input Registers 3 Create Device Current Unbalance F Read 30056 1 ford s 14 Read Input Registers 4 Remove Device 5 Load Device 6 Save Device 7 Device Tab 4 3 lt Back Next gt Cancel Figure 9 10 Parameters configured for the MM2 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 necessary to save number of registers to be read Change the data length to 5 words as required The Motor Start A command and Motor Stop command can be executed using command function operation code Save this device configuration by clicking the Save Device button Click Next to proceed to step 4 of the configuration wizard D485 MODBUS TO DEVICENET CONVERTER USER GUIDE STEP 4 CONNECT DEVICES TO THE SUB NETWORK APPLICATION EXAMPLE The fourth step in the configuration wizard is to connect the configured device types to the sub network The POMII and MM2 devices are connected in this step 1 Click Next to proceed to create nodes on Modbus network as shown below Create node Remove Node Step 4of6 Connect Devices to the sub network Connect one or more Devices to the sub network Devices on a sub network are also known as Nodes and are
15. and the entered value is multiplied by 10 which means that the shortest time is 10 ms Offline options for fieldbus This parameter defines the behavior of the D485 in case the DeviceNet network goes off line and the selection affects the data that is sent out the Modbus network A Clear All data destined for the slave devices is cleared set to 0 Freeze All data destined for the slave device is frozen J NoScanning The updating of the Modbus network is stopped Offline options for Modbus network This parameter defines the behavior of the D485 in case the Modbus network goes offline and the selection affects the data that is reported to the fieldbus master Clear All data destined for the fieldbus master is cleared set to O Freeze All data destined to fieldbus is frozen Offline options for Modbus networks are configured separately for each command Reconnect time 10 ms This parameter specifies how long the D485 should wait before trying to re connect a disconnected node A node gets disconnected if the max number of retries is reached The unit is milliseconds ms and the entered value is multiplied by 10 which means that the shortest time is 10 ms Retries This parameter specifies how many times a time out can occur in sequence before the slave is disconnected Timeout time 10 ms This parameter specifies the time the D485 waits for a response from the slave device If this time is exceeded the D485 re sen
16. FRAME AND COMMAND EDITORS MODBUS NETWORK AND NODE MONITORS ADVANCED FUNCTIONS TABLE OF CONTENTS eiTe eee seen Raene RN CT RR OY aT 4 11 FID GON OUT VDO snn 4 11 OA MA C PH 4 11 PASS DAES config MP Sd 4 12 Parameter RR 4 12 Modbus network configuration eese eene eene nnns 4 13 Kc U 4 13 Sernalintenace SELLOS ety ain ut ta men Eres 4 13 5 1 m c Sel SI IS NRI TP 5 2 AERE 5 2 nner at eT CI OM NE Ne LN 5 2 Sele aig a S ie oido NN Rr 5 2 PSS GM eT NN TREE 5 2 ite EETA E E AE ENE EE EAEE IEEE A PENE AE N NE 5 3 T EE A AE TEETH 5 3 Hode S e E A A E EY a 5 3 Modpus network MENU RR RET 5 3 NS TU MR RR TERRE T 5 3 k MN RE NR NET 5 4 enn meter me teeta etme nn 9 5 NR 6 1 1 6 1 ESHIBDIB ut uiu t ME EL 6 1 Site iiit ge ES omm 6 2 S NUNTII INTRO 6 2 Specifying eu COD CNG ceases cece ciet tette td RE rd teneri NU E 6 3 Modbus network monitor eese eese eee eese eee een sententia setate ta senses suae 7 1 Cs TI 7 1
17. GE MULTILIN WARRANTY STATEMENT GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Chapter 10 Miscellaneous Revision history Table 10 1 Release dates Manual Revision Release Date GEK 113195 1601 0235 A1 December 15 2005 As this is the first version of the D485 Modbus to DeviceNet Converter manual there are no changes to report Warranty General Electric Multilin GE Multilin warrants each device it manufactures to be free from defects in material and workmanship under normal use and service for a period of 24 months from date of shipment from factory In the event of a failure covered by warranty GE Multilin will undertake to repair or replace the device providing the warrantor determined that it is defective and it is returned with all transportation charges prepaid to an authorized service centre or the factory Repairs or replacement under warranty will be made without charge Warranty shall not apply to any device which has been subject to misuse negligence accident incorrect installation or use not in accordance with instructions nor any unit that has been altered outside a GE Multilin authorized factory outlet GE Multilin is not liable for special indirect or consequential damages or for loss of profit or for expenses sustained as a result of a device malfunction incorrect application or adjustment For complete text of Warranty including limitations and disclaimers
18. Receive Counter Location 0x0002 Transmit Counter Location 0x0002 memory of the Communicator It can be saved in RTF format or sent to a printer using the buttons on the lower right Modbus Network Phusicat standard 232 x Sub net Overview Save as ATF Print If the button Sub network overview is pressed a new window will appear showing how lt Back Next gt Cancel the data is mapped to the internal memory of the Communicator D485 MODBUS TO DEVICENET CONVERTER USER GUIDE SOFTWARE OVERVIEW If the Sub net Overview button is pressed a new window will appears that graphically displays how the data is mapped to the internal memory of the D485 Modbus Network Monitor File Columns Lube Pump 1 Select All Deselect All Command function code and command data F1 User memory map values F1 Motor status F133 Motor thermal capacity used Estimated time to trip on overload F20 Motor speed F135 Phase current F9 a ut Area 4 bytes 512 General Area 0 bytes 1006 In Area 14 bytes 512 l TCT CPI CPI CPV TTT TTT ea vm fea fn d rne sn sn fn sn sn fe iE a pfa CcoOOcoOooooooooooocoooooooocococococ CcoOoOooooooooooooooooooooooocococococ anin OW eo 0000 0010 0020 0030 0040 0050 0060 0070 0080 0090 00A0 OOBO ooco DOD O OOEO DOF 0100 0110 0120 0130 0140 0150 0160 0170 0180 0190 0140 1 01c0 ninn
19. Right click on a node in the Navigation window to gain access to these functions Devices Fieldbus P485 D 485 1 Modbus Network Cut Copy Insert Delete Node Monitor 4dd Command Insert Mew Made Save Made Insert From File Rename Figure 5 5 Node menu e Cut Cuts a node to the clipboard e Copy Copies a node to the clipboard D485 MODBUS DEVICENET CONVERTER USER GUIDE 5 3 COMMUNICATION MODEL Insert Insert a node from the clipboard Delete Deletes a node and its configuration from the scan list Monitor Activates the node monitor Add command Adds a pre defined protocol specific command to the scan list The list of commands are supplied with the D485 and cannot be changed Insert new node Inserts new node above the currently selected node Save node Saves the selected node Insert from file Inserts a previously saved node above the currently selected node QUERY PARAMETERS To gain access to these parameters select a Query in the Navigation window NOTE Minimum time between broadcasts 10 ms The value entered here is only valid if a broadcast command is specified in the scan list and the value specifies how long the D485 should wait after the broadcast was sent until the next command in the scan list will be sent This time should be selected such that all slave devices connected to the D485 have time to finish the handling of the broadcast The unit is milliseconds ms
20. 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 POMII 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 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 4 7 SOFTWARE OVERVIEW SELECTING PARAMETERS FOR EACH NODE CONFIGURATION REPORT 4 8 The fifth step in the configuration wizard selects the parameters that shal
21. 1 Signal ground Signal ground RS232 Rx data input to D485 RS232 Tx data output from D485 1 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 3 Configuration cable pin assignments PC end Pin 1 2 5 4 3 6 to 9 Description Not connected RS232 Rx data input to PC RS232 Tx data output from PC Not connected Ground Not connected D485 MODBUS DEVICENET CONVERTER USER GUIDE 2 3 INSTALLATION MODBUS CONNECTOR POWER CONNECTOR NOTE female Figure 2 5 Configuration cable PC end The Modbus connector is indicated as C in Figure 2 1 D485 electrical connections on page 2 2 This connector is used to connect the D485 to the serial network Based on the configuration selected in the EnerVista P485 D485 Setup software the corresponding signals are activated female Figure 2 6 Modbus connector Table 2 4 Modbus connector pin assignments Tes voupatsommmod p p mmm p emm s jew dT mw E E p eer EE 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 Ibs in 0 5 to 0 8 nm
22. 2 Extended word 3 Extended word 4 Extended word 5 Extended word 6 Extended word 7 Extended word 8 Message data word 1 Message data word 2 Message data word 3 Message data word 4 Message data word 5 Message data word 6 Message data word 7 Message data word 8 Message data word 9 Message data word 10 Command Offset for Attribute 1 Length for Attribute 1 Offset for Attribute 2 Length for Attribute 2 Offset for Attribute 3 Length for Attribute 3 Offset for Attribute 4 Length for Attribute 4 Offset for Attribute 5 Length for Altribule 5 Expected response O000h Offset for Attribute 1 Length for Attribute 1 Offset for Attribute 2 Length for Attribute 2 Offset for Attribute 3 Length for Attribute 3 Offset for Attribute 4 Length for Attribute 4 Offset for Attribute 5 Length for Attribute 5 PARAMETER_OUTPUT_MAP Pylon ran Aare EE Offset from parameter data out put area slan Number of bytes to map Figure 8 6 Command and response layout for parameter output area D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 8 7 ADVANCED FUNCTIONS DATA INPUT AREA MAPPING The following figure shows mailbox commands to set 1 to 4 attributes Attribute 1 length 6 bytes Attribute 2 length 0 bytes Attribute 3 length 4 bytes Attribute 4 length 2 bytes iBi xi File Header Message Message ID 0x0001 0x00 0x00 Message information 0 4002 0x01 0x00 Command 00005
23. 4 FEATURE a 1 3 FELDE TIPE aD 4 3 mio 6 1 G CO A ETEA EN 1 2 HANDSHAKING PROCEDURE scisco i Un 8 3 Fle IMIS 1 4 INFORMATION WINDOW 4 10 INPUT OUTPUT 8 4 INSTALLATION a E 2 1 INTERNAL MEMORY 3 3 L nl 2 5 INDEX M UD M PEE 2 7 MAIDO qu 8 5 MASTER MODE ctiain titur 5 1 MESSAGE DELIMITER sssesatasitsnmtmtietitd ama ddp ena asi 5 2 MODBUS address 4 5 COM rence 4 5 4 15 Memon IMOD MD 5 4 A 5 3 network MONItOF 7 1 3 5 N NAVIGATION WINDOW 4 10 NETWORK TERMINATION ORE CRM CROPS 2 7 NODE 7 3 NODE 4 8 MNOBIR 5 3 O eue WTI OW X 4 11 ORDERI actos 1 4 p PARAMETER WINDOW uctus tidie 4 10 5 2 wi 4 5 4 13 POWER SUPPLY CORE 2 4 Se EUN 1 4 PROTECTION 1 4 Q QUICK INS TALU 2 1 R REVGION AHIOTORY samra 10 1 EAEN EAN EA EN E 4 4 OZ E E 4 4 RAO
24. 4 Offset for Attribute 5 Length for Attribute 5 Expected response 0007h iO OUTPUT MAP O001h Offset for Attribute 1 Offset for Attribute 2 Offset for Attribute 3 Offset for Attribute 4 Length for Attribute 4 Offset for Attribute Length for Attribute 5 Figure 8 10 Command and response layout for IO output area D485 MODBUS TO DEVICENET CONVERTER USER GUIDE PM Paa ee en Offset from VO output area stari Length for Attribute 1 Number of bytes to map ADVANCED FUNCTIONS 8 12 The following figure shows mailbox commands to set 1 to 4 attributes Attribute 1 length 2 bytes Attribute 2 length 4 bytes Attribute 3 length 2 bytes Attribute 4 length 2 bytes PETITIONEM m File Header Message ID Message information Command Data size Frame count Frame number Offset high Offset low Extended Word 1 Extended Word 2 Extended Word 3 Extended Word 4 Extended Word 5 Extended Word 6 Extended Word Extended Word 8 0x0001 0x4002 0x0007 0x0010 0x0001 0x0001 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 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 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE GE Cons
25. DeviceNet configuration tool during configuration of the network The file is available for download at the GE Multilin website at http www GEmultilin com the ESD file is named D485 ESD It is necessary to import the ESD file in the DeviceNet configuration tool in order to incorporate the D485 as a slave in the DeviceNet network The properties for the D485 must then be configured from the DeviceNet configuration tool This includes setting up the node address input output data areas and DeviceNet baud rate e 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 e Setting up input output data areas To establish the connection with the master the D485 mus be configured for correct I O sizes e Baud rate The DeviceNet network baud rate should match the D485 baud rate setting DEVICENET NETWORK If the D485 is the last node on a DeviceNet network it is necessary to use a DeviceNet TERMINATION network termination resistor of 120 ohms between the CAN L and CAN H terminals LINKS Additional information about the DeviceNet fieldbus system can be found at http Www odva org D485 MODBUS DEVICENET CONVERTER USER GUIDE 2 7 INSTALLATION 2 8 DESCRIPTION Troubleshooting Problem during configuration upload download The Config Line LED turns red e Serial communicat
26. Ic 1 word HEHHHHH Average phase current 5 5 Command data 1 Word CO EE Neutral current n ee Hu Average phase voltage L SS LE Motor status Switch input status Motor load Thermal capacity Voltage DeviceNet network D485 Data Map IN area OUT area 0x0000 Ph Current la 1 word Command t neti r code 1 word 0x0002 Ph Current Ib 1 word 0x0202 Command data 1 word 0x0004 Ph Current Ic 1 word 0x0006 Average phase current 0x0008 Neutral current D485 Modbus to 0x000E DeviceNet converter 0x0010 DeviceNet slave 0x0012 Modbus RS485 network MM2 Motor Manager 2 POM Power L Quality Meter Memory map Memory Map 0 Switch input status Phase current Ib 0x01 0 Motor load 0x0102 Phase current Ic Average phase current Neutral current 0 Metered voltage 0 Average phase voltage Commands function code Od160 Commands operation code Figure 9 3 System configuration x0100 x0101 x01 x1160 x1161 The following procedures describe how to configure for the D485 with the POMII and MM2 Itis assumed that the reader has some basic knowledge of the Modbus RTU protocol and DeviceNet communication protocol D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 9 5 APPLICATION EXAMPLE INSTALLING THE ENERVISTA P485 D485 SETUP SOFTWARE STARTING THE CONFIGURATION WIZARD
27. Read Status Register Write to Control Register Set CR_HS_CONFIRM to SR_HS_SEND Toggle CR_HS_SEND End End Figure 8 1 Handshaking flowchart D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 8 3 ADVANCED FUNCTIONS DESCRIPTION NOTE Input output data during startup This section is only relevant when the control handshake registers are enabled Bit 13 in the control register is used to ensure data consistency during start up and at fieldbus off line on line transitions The bit should be treated as follows Fieldbus control system D485 Updates the output data area according to the waiting for bit 13 data valid sub network configuration in the control register to be set Sets bit 13 data valid in Complete a full scan the control register on the sub network Sets bit 13 data valid in the status register Figure 8 2 Input output data during startup When the fieldbus changes from off line to on line state the fieldbus control system should clear 0 the data valid bit in the control register The D485 will then clear the data valid bit in the status register During startup the D485 waits for the fieldbus control system to set the data valid bit in the control register Before 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 c
28. at g if 6 Tec 9 5 PTS E E E E E E T A E E A O A 9 3 System CORDTRIUPOTIORIL aeann 9 5 9 5 Installing the EnerVista P485 D485 Setup 5 9 6 Staring the 9 T 9 6 Step 1 Selecting the TICIGOUS TUPE seisan t ciue to sb UU 9 6 Step 2 Selecting the sub network properties eee 9 7 otep Include device TU DB tte ol te t pnus iet tutta pr aa RE tse 9 7 Step 4 Connect devices to the sub network etes 9 9 Step 5 Select parameters for each node nnas 9 10 DENIBUEGEHDDTODO Daciae 9 11 E E OE 9 12 Gonrgurimg eher 9 12 GEOUDIDS TOO ROT oes ENEMIES EIE 9 15 E N AE 9 15 Parameter data Tb areg 9 17 Downloading the meer tte 9 18 DeviceNet network setup esesseseeseeseseeseesesseseeseeseseesessessesesseseeseesesseseesessesees 9 19 Bree m T OCUTE nT EowT Tr 9 19 Selecting the input attribute for polling and 05 9 19 MISCELLANEOUS iz rq ie d NR RR IRR 10 1 PIES OUR IDA FAUNE Un PUES 10 1 Changes to the 118 rte ne trent Sommerer 10 1 sens
29. conventions are used throughout this document Numbered lists provide sequential steps Bulleted lists provide information not procedural steps The term user refers to the person or persons responsible for installing the D485 Modbus to DeviceNet Converter in a network Hexadecimal values are written in the format OXNNNN where NNNN is the hexadecimal value Decimal values are represented as NNNN where NNNN is the decimal value As in all communication systems the terms input and output can be ambiguous since their meaning depends on which end of the link is being referenced The convention in this document is that input and output are always being referenced to the master scanner end of the link see illustration below The term sub network is interchangeably used for Modbus network DeviceNet master out DeviceNet network GE Multilin D485 Converter Modbus network Figure 1 1 Input and output definition 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 complete telegram on the sub network Modbus Monitor A tool for debugging the D485 and network connections Nod
30. cyclically e 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 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 3 3 DATA EXCHANGE MEMORY LOCATIONS For example when using an input I O size of 50 and an output I O size of 60 the input and output data areas will be allocated as follows Input data area Output data area 50 bytes data input 60 bytes I O data input 462 bytes Explicit data 512 50 462 Mapa 452 bytes Explicit data 512 60 462 output Figure 3 4 I O data area example Memory Map When configuring the sub network use the memory locations shown below 0x0000 to 0x0001 Status register 0x0002 to OxO1FF Input data area 0x0200 to 0x0201 Control register 0x0202 to Output data area 0x0400 to OxO7FB General data area e Status register 0 0000 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 e Input data area 0x002 to This area holds data that should be sent to the fieldbus see the status and control registers e Cont
31. data Select Input 1 as polled production data and Input 5 for COS production data through the drop down menu and then download the settings to the device The data length and offset for each of the input and output can be read from the device in the parameter section of device properties D485 Modbus to DeviceNet Conv 5 xl General Parameters 1 0 Data EDS File Select the parameter that you want to configure and initiate an action using the toolbar Groups Hg ig All b Monitor dk ID Parameter Current vale 1 Polled production Input 1 a Polled consumtion Qutput 1 3 Strobed production Input 1 4 Strobed consumption Qutput 1 El 5 TOS production 6 Inputi offset 7 Inputi length 8 Input2 offset 8 Input length 10 5 Input3 offset 11 5 Input3length O bytes 12 5 Input4 offset 13 5 Input4 length 0 bytes 14 Inputs offset 15 0 lennth Aves Cancel Apply Help Figure 9 31 Selecting inputs for polled and COS production data Use correct size of IO data for polled and COS connections In this case the input data size is 6 bytes for Polled IO and 2 bytes for COS IO The output data size is 4 bytes for polled IO and 0 bytes for COS IO D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 9 19 APPLICATION EXAMPLE 9 20 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE RELEASE DATES CHANGES TO THE MANUAL
32. impact on subnet functionality use caution when changing this parameter D485 MODBUS DEVICENET CONVERTER USER GUIDE DESCRIPTION NODE PARAMETERS MODBUS NETWORK MENU NODE MENU COMMUNICATION MODEL Nodes 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 Query and a Response To gain access to these parameters select the desired node in the navigation window e Slave address This setting shall be set to match the Modbus address setting of the destination device e Name Node Name This name will appear in the navigation window Right click Modbus Network in the Navigation window to gain access to these functions Devices Fieldbus m rP485 D 485 us E Modbus Network E T Lube ma i Paste Modbus Network Monitor Add Made Add Broadcaster Load Made Modbus Network Status Figure 5 4 Modbus network menu e Paste Paste a node from the clipboard e Modbus Network Monitor Launches the Modbus network monitor Refer to Modbus network monitor on page 7 1 for details e Add Node Adds a node to the scanlist e Add Broadcaster Adds a broadcaster node to the scanlist e Load Node Loads a node previously saved using Save Node from the Node menu see details below e Modbus Network Status Displays status diagnostic information about the Modbus network
33. move the list up and down Click the desired parameter and enter the desired Parameter Name It is recommended that you enter a unique name here Examples are Phase A Current Ia Voltage Vab and VT ratio The Data Direction column shows if data is read from or written to the device The D485 converter is the one who reads or writes It is only possible to read input data output data can be both read or written Refer to Figure 4 2 Sub network data flow on page 4 4 for details The Register column is where the Modbus register number for the for the parameter in the device is entered Only register addresses can be entered here the register address is the absolute address 1 Most device manuals contain the register address but some may provide an absolute address in hexadecimal format In case absolute addresses are given the address must be incremented by 1 If the address range covers multiple coils inputs or registers only the start address is entered The Length column is where the total length of the parameter data is entered The length is given in bits for the Ox and 1xxxx areas and in words for the 5xxxx and 4xxxx areas If the parameter data for a device on the sub network are linearly addressable then consecutive parameters may be addressed using a single Modbus command from the D485 For example five parameters each 2 words long can be addressed using a single Modbus command 16 Preset Multiple Registers with a total lengt
34. parameters for each node The parameters for the and MM2 devices are selected in this step 1 Parameters can now be added to each node The tabs indicate the node name and Slave address Configuration Wizard x POMII Meter 20 MMII Relay 4 All Parameters Add Parameter Remove Parameter Step 5 of 6 Select parameters for each Node Parameter Name Select the parameters that shall be mapped to the Fieldbus Network All previously configured parameters will be available at this point including parameters lt Back Next gt Figure 9 14 Select parameter window 2 Toadd parameter for the POMII meter select the User memory map value F1 item from the drop down list POMII Meter 20 MM2 Relay 4 All Parameters Step 5 of 6 ep5o Add Parameter Remove Parameter Select para meters for each Node Parameter Name Not Configured Not Configured User memory map values F 1 Phase Current F1 Phase B Current F1 Phase C Current F1 Phase Currents la Ib Ic Grouped F1 Average Current F1 Data Direction P Select the parameters that shall be mapped to the Fieldbus Network All previously configured parameters will be available at this point including parameters lt Back Next gt Cancel Figure 9 15 Choosing parameters for the POMII meter node 3 Select parameters for MM2 relay by click on the MM2 Relay 4 tab follo
35. register e Module Reset This parameter defines how the module should behave in the event of a fatal error If Enabled the module will reset and restart on a fatal error event and no error will be indicated to the user If Disabled the module will halt and indicate an error e Protocol The D485 supports Modbus RTU master mode e Statistics If enabled the receive counter location indicates the number of valid messages received from the subnet If enabled the transmit counter location indicates the number of messages sent to the sub network This function is used primarily for debugging purposes D485 MODBUS TO DEVICENET CONVERTER USER GUIDE SOFTWARE OVERVIEW Modbus network configuration OVERVIEW When controlling a Modbus sub network with the D485 it is important to understand functions during starting up If the D485 starts scanning nodes on the sub network before data is received from the fieldbus control system fieldbus master values of 00 may be transmitted to the nodes before data is updated the first time from the fieldbus See Input output data during startup on page 8 4 for information on how to block transactions until valid data is received 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 Devices Er Fieldbus 2 e Startl rit Fieldb
36. the actual nodes lt Back Next gt Figure 9 11 Connect devices to sub network zl 2 There are two nodes on the Modbus network the POMII meter and the MM relay To insert a node click the Create Node button 3 Setthe Node Name as POMII Meter the Slave Address to 20 and the Device Type to POMII Create node Remove Node ___Grestonode BemoveNode Step 4 of 6 Node Name Slave Address Connect Devices to POMII Meter 20 the sub network Device Type Not Configured m Not Configured POMII MM2 MM3 Connect one or more Devices to the sub network Devices on a sub network are also known as Nodes and are the actual nodes lt Back Next gt Cancel Figure 9 12 Node for meter 4 Similarly create another node for the MM2 Set the Node Name as MMII Relay the Slave Address to 4 and the Device Type as MM2 MM3 Create node Remove Node Step 4 of 6 Connect Devices to POMII Meter the sub network MMII Relay Connect one or more Devices to the sub network Devices on a sub network are also known as Nodes and are the actual nodes lt Back Next gt Cancel Figure 9 13 Node for MM2 relay 5 Click Next to proceed to step 5 of the configuration wizard D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 9 9 APPLICATION EXAMPLE STEP 5 SELECT PARAMETERS FOR EACH NODE 9 10 The fifth step in the configuration wizard is to select
37. to determine the appropriate settings for a lt Back Next gt Cancel particular serial device eoo te manual far the Figure 9 6 Modbus network properties 2 Click Next to proceed to step 3 of the configuration wizard STEP 3 INCLUDE DEVICE The third step in the configuration wizard is to include device types The POMII and MM2 TYPES devices are added in this step 1 Theconfiguration wizard gives the option to create a configuration for a new device or to load a configuration of saved device Create Device Remove Device Load Device Save Device St ep 3 of 6 New Device Include Device Types Create Parameter Remove Parameter into the project and Modbus Command Device Name configure their parameters d Ese Sub network devices 1 General information 2 Modbus Memory map and Command overview 3 Create Device 4 Remove Device 5 Load Device 6 Save Device lt Back Next gt Cancel 7 Device Tab Figure 9 7 Device types 2 Configuration files for MM2 and POMII are supplied with the EnerVista P485 D485 Setup software Click the Load Device button to see the available configuration files History Desktop IP Q MIILDUi hu Documents hy Computer File name POMIL DO1 hy Network P Files of type Modbus Devices DOT Cancel EZ Figure 9 8 Available Modbus devices D485 MODBUS TO DEVICENET CONVE
38. 0x02 0x00 Data size 00010 0x03 0x06 Frame count 00001 0x04 0x00 Frame number 00001 0x05 0x06 Offset high 0x0000 0x06 0x00 Offset low 00000 0x07 0x00 Extended Word 1 0 0000 0x08 0x00 Extended Word 2 0 0000 0x09 0x06 Extended word 3 0 0000 0x04 0x00 Extended Word 4 00000 0x06 0x04 Extended Word 5 00000 0x00 0x00 Extended Word 6 0 0000 0x0D 0x04 Extended Word 0 0000 Ox0E 0x00 Extended Word 8 00000 OxOF 0x02 Figure 8 7 Mailbox example for parameter data output mapping This command makes it possible to map attributes in the I O data input mapping object class AOh By mapping data a Get_Attribute_Single command from the DeviceNet master to the I O data input mapping object can return a specified block of data Up to six attributes can be mapped in this object Attributes are mapped with start of attribute 1 The offset is set from the start of the I O data input area and length specifies the amount of bytes to map Attribute 1 in the mailbox is followed by attribute 2 and continues to attribute 6 If length is set to zero the attribute will not exist As such it is possible to map only object 1 and 5 by letting the length of attributes 2 through 4 be zero It is only necessary to include mailbox information up to the last attribute number If any offset or length is invalid the length and offset will be set to zero in the mailbox answer and the attribute will not be mapped The attributes of I O data input mapping object class
39. 16 decimal Preset multiple registers Users should consult the instruction manuals of the various network devices to determine the actual Modbus command codels implemented or required This will determine the implied leading digit of the data address i e O 1 3 or 4 In most GE Multilin relay and meter documentation Modbus addresses are indicated in hexadecimal form For the Modicon format used for the D485 convert the hex address to decimal add 1 then append a prefix of 1 2 3 or 4 depending on the type of register For example to convert the input register hexadecimal address 0x0300 we have 1 0300h 0768 decimal 2 0768 decimal 1 0769 decimal 5 change 0769 30769 prefix 3 for input registers Therefore a Modbus hex address of 0x0300 is 30769 in Modicon format D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 4 5 SOFTWARE OVERVIEW NOTE 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 page 3 5 for additional details The Create Device button creates a new empty device A new Device tab will be created The new device can be named in the Device Name text box The Remove Device button removes the selected device The Load Device button opens the open file dialog box Select a previously stored device to include it into the project Device files extension D01 for the most com
40. 20 28 24 Specifies the application object s connection path Oth that are to receive the data consumed by this connection object D485 MODBUS DEVICENET CONVERTER USER GUIDE 3 9 DATA EXCHANGE ACKNOWLEDGE HANDLER OBJECT CLASS 2BH Services Class services Get Attribute Single Instance services Get Attribute Single Set Attribute Single Table 3 16 Class attributes for acknowledge handler object 2Bh vate oeseripten Table 3 17 Instance attributes for acknowledge handler a 2Bh pm eme Were Moe Wie eerie 1 Get et Acknowledge UNT 20 Timelinms towatfor gt timer acknowledge before re sending Get Set Retry limit USINT Number of ACK time outs before retry limit reached event Get Set Producing UINT Connection instance contains connection the path of the producing Instance application object which will be notified of acknowledge handler events e list Byte IN number of members alli in acknowledge list 0 dynamic Acknowledge list Array of o List of active connection instance USINT which are receiving acknowledgements Get Data with Byte Maximum number of members acknowledge path in data with acknowledge path list size list 0 dynamic 7 Get Data with Array of N A List of connection instance acknowledge path USINT consuming application object list pairs D485 MODBUS TO DEVICENET CONVERTER USER GUIDE DATA EXCHANGE I O DATA INPUT This vendor spe
41. 2OOOoOoooooooooooooooooooooooooo JUGO GO COGO CO CO CO CO CO CO CO CO CORO NO NO RO NO RO SO RO SO NO SO OO SO RO I dO 00 10 0e CORO IP CO Hr ETE OME 0 00 1 08 C1 CO 2 EA CO SoOOOoooooooooooooooooooooooooo x NENN z FE Response B Query ll Collision IW Trigger or Statusbytes Reserved 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 i Enervista P485 D485 Setup E B File P485 D485 Tools view Help Fieldbus P485 D485 Wi Modbus Network Interface El Lube Pump 1 Physical Interface Serial 1 Command function code and command data F31 Preset Multiple Regs Module EE Query L antral Status Byte Disabled TEE T Slave Address Module Reset Disabled Protocol T Starting Address Protocol Master Mode Ma of Registers Statistics f Byte Count Receive Counter Local OxU0Ue Statistics Disabled Ei Checksum Transmit Counter Local gm ERE EE Response i L User memor map values F1 Read Input Registers Motor Status F133 Head Input Registers Motor Thermal Capacity Used F1 Head Input Registers Estimated Time to Trip on Overload F20 Read Input Registers Transmit Counter Location Phase A Current F1 Read Input Registers Where the transmit counter should be placed F485 D 485 10 13 2005 10 34 AM Figure 4 3 Configurator main window D485 MODB
42. 485 MODBUS DEVICENET CONVERTER USER GUIDE DESCRIPTION NOTE SELECTING THE INPUT ATTRIBUTE FOR POLLING AND COS APPLICATION EXAMPLE DeviceNet network setup Each device on a DeviceNet network is associated with a EDS file that contains all necessary information about the device This file is used by the DeviceNet configuration tool during configuration of the network The file is available for download at the GE Multilin website at http www GEmultilin com the EDS file is named D485 EDS It is necessary to import the EDS file in the DeviceNet configuration tool to incorporate the D485 as a slave in the network The properties for the D485 must then be configured from the DeviceNet configuration tool This includes setting up the MAC ID input output data areas and baud rate e MACID The Mac ID in the DeviceNet configuration tool should be set to match the one selected using the on board address DIP switches of the D485 e Baud rate The baud rate on the device shall match with the DeviceNet network baud rate e 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 Once the device is added into DeviceNet Network any instance from the assembly object class can be selected for polled COS and bit strobe
43. AOh are directly mapped to assembly object 04h instances as given below Class AOh instance 01h attribute Corresponding instance in assembly object class 04h attribute 03h D485 MODBUS TO DEVICENET CONVERTER USER GUIDE ADVANCED FUNCTIONS PExendedheoder data A command and response layout example for setting 1 to 5 attributes is shown below Command Expected response Messa W Message information 20 Data sie o Frame number TO Offset high umo Offset iow O99 Extended word 1 Extended word 2 Extended word 3 Extended word 4 Extended word 5 Extended word 6 Extended word 7 Extended word 6 Message data word 1 Offset for Attribute 1 Offset for Attribute 1 Offset from W O input area start Message data word 2 Length for Altribule 1 ength for Attribute 1 Number of bytes fo map Message data word 3 Offset for Attribute 2 Offset for Attribute 2 Message data word 4 Length for Attribute 2 Message data word 5 Offset for Attribute 3 Offset for Attribute 3 Message data word 6 Length for Attribute 3 ength for Attribute 3 Message data word 7 Offset for Attribute 4 Offset for Attribute 4 Message data word 8 Length for Attribute 4 Message data word 9 Offset for Attribute 5 Offset for Attribute 5 Message data word 10 Length for Attribute 5 Length for Attribute 5 Figure 8 8 Command and response layout for input area D485 MODBUS TO DEVICENET CONVE
44. Byte Slave ddress ID Display M ame Function Checksum Checksum bjectT ype Value Depend Figure 6 3 Command editor D485 MODBUS TO DEVICENET CONVERTER USER GUIDE FRAME AND COMMAND EDITORS SPECIFYING A NEW Select Add Command as described earlier COMMAND This example is taken from a Modbus RTU implementation which means that the frame will always consist of one bute for slave address one byte for function code and two bytes for CRC Furthermore each command always consists of a query and a response The Modbus RTU specific frame objects are already in place and a data object is inserted between the function code and the CRC These objects cannot be moved or deleted however it is possible to add objects between the function code and the CRC iol x Eile Column Command M ame Hew Command Command ID 1 9 Allow Broadcasting Query 1 2 4 DisplapMame Slave Address Function Data Checksum Object ype Byte Byte Data Checksum Value Slavedddress ID User User Response 1 2 4 DisplayMame Slave Address Function Checksum Object ype Byte Byte Checksum Value Slavedddress ID Depend 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
45. D485 with MM2 relay and PQMII meter to read and write parameters It can also be used as a guideline to setup the D485 Modbus to DeviceNet Converter for communication with any GE Multilin relays The POMII and MM2 devices are serially connected daisy chained through RS485 The following data is set up for the POMII e Read phase current la Ib and Ic actual values from memory locations 0240h to 0242h e Read average current from memory location 0244h e Read neutral current from memory location 0245h e Read average phase voltage from memory location 0286h to 0287h The following data is set up for the MM2 e Read motor status from memory location 0023h e Read switch input status from memory location 0010h e Read motor load from memory location 0035h e Read thermal capacity from memory location 0036h e Read metered voltage from memory location 0040h e 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 POMII and MM2 instruction manuals available at http www GEmultilin com For the POMII we have Bur enaa 9080 feta oy actualvalues Psecurentib oeza m Reoom Actual values Average phase current 0x0244 Read only Actual values Neutral current 0x0245 Read only Actual values Average phase voltage 2 words 0x0286 Read only For the MM2 we have cl aes Retr sts or
46. GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Instruction Manual Manual P N 1601 0235 A1 Manual Order Code GEK 113195 Copyright 2005 GE Multilin to DeviceNet Converter 5 Modbus 567 Multilin p48 GE Multilin 215 Anderson Avenue Markham Ontario Canada L6E 1B3 GE Multilin s Qualitu Management System is Tel 905 294 6222 Fax 905 201 2098 registered to 509001 2000 OMI 005094 Internet http www GEmultilin com UL A3775 GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Table of contents INTRODUCTION Getting started ERR 1 1 Inspecting the package and 1 1 dto ORE RN 1 1 Document CONVENTIONS cccccccssssssssssccscssssssscssscccssscscssssssescsssessssescssesscessens 1 2 PI eras carbo teeters N 1 2 GO tees RR A 4 4 1 2 About the D485 Modbus to DeviceNet 1 3 REPE 1 3 PP meee 1 3 General Mie IUS RT RE DR m 1 3 Modbus OT NN REN m 1 3 DeviceNet interface 6 1 3
47. LI lox File Node Command Columns View AT ge Read Coil Status Query Slave Address Function Starting Address Hi Lo Number of points Checksum O Value Value Value Error check type Error check start byte 0x01 x01 00000 00000 CRC 00000 Read Coil Status Response Slave ddress Function Byte count Data Checksum rea 28 bytes 512 3 0000 NN J r T a rea 10 bytes 512 ia a ral Area 0 bytes 985 3 IE E CO C C0c3coccoccoccoocoo O c ER CO GO PO PO IE OG Coccoccoocooccooccooo O10 0oooooocoo tu e en Ern s Ere sn n ER D Gaalaa te PR CO CO SO PO IER IE CO C C0c3coccocococcocooco A Start stop node communication 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 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 iib B Select send command Select the command to monitor using the Select icon and click Sen
48. R GUIDE 4 11 SOFTWARE OVERVIEW PARAMETER WINDOW 4 12 P485 D485 configuration By selecting P485 D485 in the Navigation window basic configuration options for the sub net will appear in the Parameter window Devices E Fieldbus Lia Startlnit Lit Fieldbus specific Dn Endlnit LP485 D485 cat Modbus Network Configuration Alphabetic Categorized Interface Physical Interface Serial 51 Module Control Status Byte Disabled Module Reset Disabled Protocol Protocol Master Mode Statistics Receve Counter Location OxU002 Statistics Disabled Transmit Counter Location Ox0002 Figure 4 6 P485 D485 configuration e Physical interface Currently the D485 supports only a serial interface The communication settings for the selected interface are available under Modbus Network see Serial interface settings on page 4 13 for details e Control status byte This parameter is used to enable disable the control status registers see Control and status registers on page 8 1 for details Enable enable control status registers The Data Valid parameter bit 13 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
49. RTER USER GUIDE 8 9 ADVANCED FUNCTIONS DATA OUTPUT AREA MAPPING The following figure shows mailbox commands to set 1 to 4 attributes Attribute 1 length 2 bytes Attribute 2 length 4 bytes Attribute 3 length 2 bytes Attribute 4 length 2 bytes loxi File Header Message Message ID 0x0001 0x00 0x00 Message information 0x4002 0x01 0x00 Command 0 0006 0x02 0x00 Data size 00010 0x03 0x04 Frame count 0 0001 0x04 0x00 Frame number 00001 0x05 0x04 Offset high 0x0000 0x06 0x00 Offset low 0x0000 0x07 0x02 Extended Word 1 0 0000 0x08 0x00 Extended Word 2 0x0000 0x09 0x06 Extended Word 3 0 0000 0x04 0x00 Extended Word 4 0 0000 0x06 0x02 Extended Word 5 0 0000 Ox0C 0x00 Extended Word 6 0 0000 0x0D 0x08 Extended Word 0 0000 Ox0E 0x00 Extended Word 8 0 0000 Ox0F 0x02 Figure 8 9 Mailbox example for IO data input mapping This command makes it possible to map attributes in the I O data output mapping object class A1h By mapping data a Get Attribute Single command or a Set Attribute Single command from the DeviceNet master to the I O data output mapping object can return a specified block of data or write a block of data Up to 6 attributes can be mapped in this object Attributes are mapped with start of attribute 1 The offset is set from the start of the I O data output area and length specifies the amount of bytes to map Attribute 1 in the mailbox is followed by attribute 2 and continues to
50. RTER USER GUIDE 9 7 APPLICATION EXAMPLE 5 4 10 9 8 Select the POM I D01 file from the list and click on Open The software will display a list of the most commonly used parameters configured for the POMII j Configuration Wizard Create Device Remove Device Load Device Save Device Step 3 of 6 PGMII Include Device Types Device Name POMII Create Parameter Remove Parameter into the project and configure their Parameter Name Data Direction Register Length Type Modbus Command Command function coc Write 40128 2 5 16 Preset Multiple Registers pa rameters User memory map val Read 30257 1 MVord s 04 Read Input Registers Phase A Current F1 Read 30577 1 Vord s 04 Read Input Registers EE lin E Phase B Current F1 Read 30578 1 04 Read Input Registers Phase C Current F1 Read 30573 1 Vord s 04 Read Input Registers Gib network devices Phase Currents la Ib Read 30577 3 Word s 04 Read Input Registers 1 General information Average Current F1 Read 30580 1 word s 04 Read Input Registers 2 Modbus Memory map and Neutral Current F1 Read 30581 1 Words 04 Read Input Registers Command overview Current Unbalance F Read 30582 1 Wordis 04 Read Input Registers 3 Create Device la Phasor Angle F1 Read 30747 1 ord s 04 Read t ter 4 Remove Device 5 Load Device 6 Save Device
51. Read Input Registers I0 Sizes 3 7 MM2 Relay I0 Sizes Automatic aC User Memory Map values F1 Read Input Registers H O Command Function Code operation code F1 F22 F Fieldbus Type The type of the Fieldbus connected to the P485 D 485 Febus n TUU2XB AM Contig Line B Figure 9 21 Expanding the tree 2 Expand the User memory map values F1 command in the PQMII Meter item and click on Query Enervista P485 D485 Setup O xl File Query Tools View Help H ge Fieldbus Alphabetic Categorized P485 D485 Modbus Network TT POMII Meter Offline options for fieldbus Clear User memory map values F1 Read Input Registers Offline options for sub network Clear Update mode Cyclically H E Response J Timing 2 Relay Minimum time between broadcasts 10ms 100 User Memory Map values F1 Read Input Registers Reconnect time 10ms 1000 CJ Command Function Code operation code F1 F22 F Retries 3 Timeout time 10ms 100 Update time 10ms 100 E Trigger Trigger byte address Ox05FF Ej uey SSO M Contig Line 69 Figure 9 22 Expand query 3 Change the Reconnect time to 5 seconds by changing the value to 500 500 x 10 ms 5 seconds and the Retries to 5 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 9 13 APPLICATION EXAMPLE 4 Verify that the data Update mode is Cuclically with default Update time of 100 x 10 ms 1000 ms This can b
52. Statistics Disabled Transmit Counter Location OxU002 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 If a value is entered in decimal format it will be converted automatically to the equivalent hexadecimal value 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 Tranzmit Counter Location Where the transmit counter should be placed Figure 4 4 Information window In the lower right corner of the main window two lights indicate if a connection has been established between the PC running EnerVista P485 D485 Setup and D485 A green light indicates that the connection is OK and a red light indicates no connection D485 MODBUS TO DEVICENET CONVERTER USER GUIDE SOFTWARE OVERVIEW OPTIONS WINDOW In the main window under tools select options Table 4 1 Options window functions Function Description Warning on delete When something is to be deleted a warning window will appear Warning on unsaved When closing EnerVista P485 D485 Setup with unsaved data a ata warning window will appear Show Wizard when Each time a new configuration is to be made the Wizard window will New menu is s
53. 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 POMII 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 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE APPLICATION EXAMPLE Modbus user map setup DESCRIPTION GE Multilin Relays and Meters support the Modbus User Map feature in their software This feature can be used with the D485 to reduce the number of Modbus transactions and improve communication speed POMII USER MAP There are six parameters to be read from POMII 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 POMII as follows 1 Startthe Enervista POMII Setup software 2 Establish communication between the device and PC 3 Select the Setpoint gt User Map menu item 4 Set the user map registers as fo
54. US TO DEVICENET CONVERTER USER GUIDE 4 9 SOFTWARE OVERVIEW NAVIGATION WINDOW PARAMETER WINDOW INFORMATION WINDOW CONFIGURATION LINE 4 10 INDICATOR The navigation window in EnerVista P485 D485 Setup is the main tool for selecting the different levels of the configuration There are three main levels in the navigation window namely fieldbus D485 and Modbus network Fieldbu i AOF la Modbus Network ET Lube Pump 1 C3 Command function cade and command data ERES Query A 1 Slave Address A 4 Function eM 4 Starting Address eM Mo of Registers ve Byte Count 2 anaes Data Checksum H E Response 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 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 Configuration Alphabetic Categorized Interface Physical Interface Serial Module Control Status Byte Disabled Module Reset Disabled Protocol Protocol Master Mode Statistics Receve Counter Location OxU002
55. USER GUIDE PARAMETER DATA OUTPUT AREA MAPPING ADVANCED FUNCTIONS This command makes it possible to map attributes in the parameter data output mapping object class B1h By mapping data a Get_Attribute_Single command or a Set Attribute Single command from the DeviceNet master to the parameter data output mapping object can return a specified block of data or write a block of data Up to 50 attributes can be mapped Attributes are mapped with start of attribute 1 The offset is set from the start of the parameter data output area and length specifies the amount of bytes to map Attribute 1 in the mailbox is followed by attribute 2 and continues to attribute 50 If length is set to zero the attribute will not exist As such it is possible to map only object 1 and 10 by letting the length of attributes 2 through 9 be zero It is only necessary to include mailbox information up to the last attribute number If any offset or length is invalid the length and offset will be set to zero in the mailbox answer and the attribute will not be mapped Parameter Description O Fragmented Extended header data Command data Offset and length of the attributes to map Response data Indicates if the message was accepted A command and response layout example for setting 1 to 5 attributes is shown below Message 0 Message information command Data size Frame count Frame number Offset high ose lou Extended word 1 Extended word
56. a that is read or written USINT Get Set Output 3 PN Data that is read or written USINT 4 Get Set Output 4 Array of Data that is read or written USINT 5 Get Set Output 5 Array of Data that is read or written USINT Get Set Output 6 fal Data that is read or written USINT D485 MODBUS DEVICENET CONVERTER USER GUIDE 3 11 DATA EXCHANGE DIAGNOSTIC OBJECT CLASS AAH PARAMETER DATA INPUT MAPPING OBJECT CLASS BOH This vendor specific object provides diagnostic information from the module Services Class services Get Attribute All Instance services Get Attribute Single Table 3 22 Class attributes for diagnostic object AAh Air Access Name Tupe Value Description UT 007A meson Table 3 23 Instance attributes for diagnostic object AAh E e RE EER Module serial serial UDNT mq S S number number Module software UINT DeviceNet ai MN software version version LANCE Input I O size t 5128 of I O Size of I O input area in bytes area in Size of I O input area in bytes Input total size mE 5 number of input bytes I O explicit A Output I O size UNT Size of I O Size of I O output area in bytes area in Size of I O output area in bytes Output total size mE 55 number of output bytes I O explicit 1 Corresponds to the IO Size In parameter in EnerVista P485 D485 Setup 2 Corresponds to the IO Size Out param
57. al Receive Counter Location 0x0002 memory of the Communicator Transmit Counter Location 0x0002 It can be saved in RTF format or sent to a printer using the buttons on the lower right 5i Save as RTF Print If the button Sub network overview is pressed a new window will appear showing how lt Back Next gt Cancel the data is mapped to the internal n memory of the Communicator Modbus Network Dhizsio2t standard RS485 Figure 9 17 Configuration report 2 Forfuture reference saved the file in RTF format by clicking the Save as RTF button and selecting an appropriate directory 5 Click the Sub net Oveview button to view the data mapping i Modbus Network Monitor 0 x File Columns POMII Meter MM2 Relay a Select All Deselect All Select All Deselect All User memory map values 1 User Memory Map values F1 Command Function Code operation code F1 F22 General Area 0 bytes 996 coooooooooooooooooooco TCT CPI CT CPI se dm s sn in iP irn vn rn vn rn sS s E CORO CO ET C CO EE IE 0 CO 3 0 Cii COO EA CO CcOOOoooooooooooooooooo B E Response a Query Collision Trigger or Statusbytes Reserved Figure 9 18 Modbus network monitor x 4 Close the Modbus network monitor window 5 Click on Next to complete the configuration wizard Configuration Wizard 6 GE Multilin Congratulations The Wizard has gathered all informa
58. and data length values from the table above then select the File gt Apply Changes menu item to save the changes D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 9 17 APPLICATION EXAMPLE DOWNLOADING THE Save the configuration file for future use The save command is available in File menu The CONFIGURATION FILE following procedure demonstrates how to save the configuration file to the D485 1 To open the saved configuration file select the File gt Open menu item The following window will appear Look in E Devices t et E POM_MMIL chai PQMII MMII cfg El Untitled cg Lr File name Pa M chg hy Network P Files of type P485 D 485 Configuration files Cancel EZ Figure 9 29 Opening a saved configuration file 2 Toconnectto the D485 select the Tools Port menu item then select the port connected to D485 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 Download E Figure 9 30 Download in progress 5 Ifthe D485 does not respond to the download ensure all connections are OK and that the port selection is valid On some laptop computers it might be worth trying the other serial ports Also ensure that no other software such as any PLC communication drivers are blocking access to the serial ports 9 18 D
59. ation has been downloaded to the D485 the D485 firmware searches the scan list using the defined transactions for communication with the slave devices Each node in the scan list represents a slave device on the Modbus network In EnerVista P485 D485 Setup each node is given a specific name and assigned an address in standard Modbus RTU commands The address must match the internal setting on the slave device Fieldbus fn P495 0485 je Modbus Network m Wi Broadcaster H CT Lube Pump 1 Figure 5 2 D485 scan list Basic settings Select Modbus Network in the Navigation window to gain access to basic settings in the Parameter window Devices E e Fieldbus Alphabetic Categorized M pagsyv0495 la Modbus Network Communication pL Broadcaster Bitrate bits s H Lube Pump 1 Data bits f Lube Pum 2 Parity f New Node Physical standard Stop bits 1 El Timing Message delimiter 10m Figure 5 3 Parameter window Refer to Serial interface settings on page 4 13 for details The message delimiter value is the minimum time in steps of 10 ms separating the messages According to the Modbus specification the message delimiter has a default setting of 3 5 characters If this value is set to 0 the D485 will use the Modbus standard 3 5 character message delimiter The time in milliseconds is then dependent on the selected baud rate but this is all handled by the D485 Due to Its
60. attribute 6 If length is set to zero the attribute will not exist As such it is possible to map only object 1 and 5 by letting the length of attributes 2 through 4 be zero It is only necessary to include mailbox information up to the last attribute number If any offset or length is invalid the length and offset will be set to zero in the mailbox answer and the attribute will not be mapped The attributes of I O data output mapping object class A1h are directly mapped to assembly object 04h instances as given below Class A1h instance Corresponding instance in assembly 01 attribute object class 04h attribute 03h D485 MODBUS DEVICENET CONVERTER USER GUIDE ADVANCED FUNCTIONS Command data Response data A command and response layout example for setting 1 to 5 attributes is shown below Message ID Message information Command Data size Frame count Frame number Offset high Offset low Extended word 1 Extended word 2 Extended word 3 Extended word 4 Extended word 5 Extended word 6 Extended word 7 Extended word 6 Message data word 1 Message data word 2 Message data word 3 Message data word 4 Message data word 5 Message data word 6 Message data word 7 Message data word Message data word 9 Message data word 10 Command Offset for Attribute 1 Length for Attribute 1 Offset for Attribute 2 Length for Attribute 2 Offset for Attribute 3 Offset for Attribute 4 Length for Attribute
61. cific object provides I O input data mapping information The number of MAPPING OBJECT existing attributes depends on which attributes are initialized in the module through the CLASS AOH EnerVista P485 D485 Setup software Services Class services Get Attribute All Instance services Get Attribute Single Set Attribute Single Table 3 18 Class attributes for I O data input mapping object AOh Table 3 19 Instance attributes for I O data input mapping ES AOh instance 01h eS Input 1 Array of Data that is read USINT Input 2 Array of Data that is read USINT Input 3 Array of Data that is read USINT Input 4 Array of Data that is read USINT Get Input 5 Array of Data that is read USINT Input 6 Array of Data that is read USINT I O DATA OUTPUT This vendor specific object provides I O output data mapping information The number of MAPPING OBJECT existing attributes depends on which attributes are initialized in the module through the CLASS A1H EnerVista P485 D485 Setup software Services Class services Get Attribute All Instance services Get Attribute Single Set Attribute Single Table 3 20 Class attributes for I O data output mapping object A1h Table 3 21 Instance attributes for I O data output mapping iii A1h instance 01h pm hese Nome Tape nue omen 0 Get Set Output 1 Array of Data that is read or written USINT Get Set Output 2 Array of Dat
62. cts Message frame O o Byte Word Data CRC Byte Frame objects Message frame Transaction p Byte Word Data CRC Byte Frame objects Figure 3 5 Modbus protocol blocks e Node In the D485 a node holds all transactions and parameters for a particular device on the sub network e 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 e Commands A command is a pre defined transaction that has been stored in a list in the EnerVista P485 D485 Setup software This improves readability as well as simplifying common operations by allowing transactions to be stored and reused e Message frame The message frame contains a description of what is actually transmitted on the sub network and consists of frame objects see figure above e 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 D485 or strings D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 3 5 DATA EXCHANGE 3 6 OVERVIEW IDENTITY OBJECT CLASS 01H DeviceNet object implementation DeviceNet requires some mandatory objects these are implemented as well as some vendor specific objects The following objects are implemented Tabl
63. d 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 Y Update OFF Update ON D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 7 3 MODBUS NETWORK AND NODE MONITORS 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 7 4 D485 MODBUS DEVICENET CONVERTER USER GUIDE GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Chapter 8 Advanced functions Control and status registers DESCRIPTION The control status registers forms an interface for exchanging information between the fieldbus control system and the D485 The main purpose of these registers is to report Modbus network related problems to the fieldbus control system This interface is also used to ensure that only valid data is going out on the sub network and that valid data is reported back to the fieldbus control system See Input output data during startup on page 8 4 for details Using these registers it is also poss
64. d 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 D485 MODBUS DEVICENET CONVERTER USER GUIDE 2 1 INSTALLATION DEVICENET CONNECTOR Figure 2 1 D485 electrical connections The DeviceNet connector is indicated as A in the figure above This connector is used to connect the D485 to the DeviceNet network The pin assignments for the DeviceNet connector are shown below Table 2 1 DeviceNet connector pin assignments E sd fes SSS 5 Ve DeviceNet bus power positive supply voltage Figure 2 2 DeviceNet connector D485 MODBUS TO DEVICENET CONVERTER USER GUIDE INSTALLATION CONFIGURATION CABLE The PC connector is indicated as B in Figure 2 1 D485 electrical connections on page 2 2 This connector is used to connect the D485 to a PC using the configuration cable for configuration and monitoring purposes A configuration cable can be purchased from GE Multilin The wiring for the configuration cable is shown below D sub 9 female PC Modular 4 4 RJ11 connector D485 RS232 Rx RS232 Tx Ground Connects to PC serial port Figure 2 3 Configuration cable The pinout for the modular 4 4 RJ11 connector connects to the D485 is shown below Table 2 2 Configuration cable pin assignments D485 end Pin o Description
65. d the new information from the control register it sets this bit to the same value as bit 14 in the control register Indicates to the fieldbus control system if the data in the input data area is valid or not The bit is set by the D485 when new data has been written 1 indicates data is valid O indicates that data is NOT valid 12 to 8 Status Code SR EC Status code see table below Data 58 ED Status user data see table below 8 2 D485 MODBUS DEVICENET CONVERTER USER GUIDE ADVANCED FUNCTIONS STATUS CODES The status codes are described in the following table Code 0x00 Re transmission Number of re transmissions Reports the total number of re transmissions on the subnetwork 0x01 Single node missing Slave address of the missing node Reports if a node is missing Multiple nodes Number of missing nodes Reports if multiple nodes are missing missing 0x03 Overrun Slave address of the node that sent too much data Reports if more data than expected was received from a node Slave address Reports unidentified node 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 Status Register Reads Control Register Writes Compare CR HS CONFIRM with Compare SR HS CONFIRM with i SR_HS_SEND CR_HS_SEND No Yes
66. data recieved from the fieldbus The D485 can handle up to 512 bytes of output data e General data This data cannot be accessed from the fieldbus and is used for transfers between nodes on the sub network or as a general scratch pad for data The D485 can handle up to 1024 bytes of general data 3 2 D485 MODBUS DEVICENET CONVERTER USER GUIDE DATA EXCHANGE Internal memory buffer Input data i ES il fe 3 od e E General data 1024 bytes Figure 3 2 Internal memory buffer Data exchange on the fieldbus interface is based on the standard DeviceNet objects and five vendor specific objects The vendor specific objects can be used to access the different memory areas However most applications requires only the standard DeviceNet objects For a complete description of the available objects please refer to DeviceNet object implementation on page 3 6 D485 internal memory buffer I O data Identity Input data object Assembly object Explicit data Message router object I O data Output ie DeviceNet lt o object Explicit data General data Not available on the fieldbus Connection object 0 connections messages Link layer DeviceNet network Figure 3 3 D485 memory structure I O DATA VS EXPLICIT The input and output areas can hold two types of data DATA e O data This data is sent recevied upon change of value polling or
67. dbus network monitor has a negative influence on the overall performance of the D485 Therefore the monitor functionality should be used with care D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 7 1 MODBUS NETWORK AND NODE MONITORS OPERATION The Modbus network monitor window is shown below lax File Columns Command function code and command data F1 Preset Multiple Command Function Code operation code F1 F27 Preset Mul Motor status F133 Read Input Registers Motor Status F4 Read Input Registers Motor thermal capacity used F1 Read Input Registers Phase amp Current F1 Head Input Registers Estimated time to trip on overload Read Input Registers Phase B Current F1 Head Input Registers Average phase current F3 Head Input Registers Phase C Current F1 Head Input Registers Motor load F3 Read Input Registers Ground Current F1 Read Input Registers Current Unbalance F1 Head Input Registers Switch Input Status F100 Head Input Registers Broadcaster General rea bytes 885 4 m 1 LET TL T TL IL LLL 0410 o020 0420 O030 0430 4 44 0450 0460 0070 0470 45 iai 0490 ial O4A0 4 4 ipi O4E0 OOFO 4 Hu a 0120 li 08520 s E Response Query B Collision E Trigger ar Statusbytes Reserved Figure 7 1 Modbus network m
68. de is Lube Pump 1 and its slave address on the sub network is 1 The All Parameters tab displays all parameters in the same list This provides an overview of data transmitted on the sub network It is also possible to add or remove parameters on configured nodes in this list by using the Add Parameter or Remove Parameter buttons The Add Parameter button adds a new parameter to the selected node The Remove Parameter button remove the selected parameter from the selected node The Parameter Name column displays the user assigned parameter name When a new parameter is inserted it is named by the software as Not Configured A list of available parameters will appear when the you click the row Select the desired parameter by clicking on it in the list 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 are mapped to the internal memory of the D485 This report can be saved in rich text RTF format or sent to a printer CT x Step 6 of 6 Configuration Report Fieldbus Type DeviceNet eee ae The window to the left shows a summary of the configuration 485 5485 l entries you have made in text Physical Interface Serial format Protocol Master Mode ds Module Reset Disabled It shows all configured Devices Control Status Byte Disabled and their Parameters and how Statistics Disabled they are mapped to the internal
69. 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 window is shown below E Create Device Remove Device Load Device Save Device St ep 3 of 6 New Device Include Device Types Create Parameter Remove Parameter into the project and Type Modbus Command Device Name TETSERIES configure their parameters as p e 1 7 Sub network devices 1 General information 2 Modbus Memory map and Command overview 3 Create Device 4 Remove Device 5 Load Device 5 Save Device Back Next gt Cancel 7 Device Tab P gt 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 O 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 Ox Output coil bits 00001 to 09999 1 decimal Read coil status 15 decimal Force multiple cells Inputs status bits 10001 to 19999 2 decimal Read input status E Input status word 30001 to 39999 4 decimal Read input registers Output word 40001 to 49999 3 decimal Read holding registers
70. ds the command until the retries parameter value is reached The unit is milliseconds ms and the entered value is multiplied by 10 which means that the shortest time is 10 ms Trigger byte address This parameter specifies location in the internal memory buffer where the trigger byte is located In D485 a trigger byte is implemented to support non cyclic data that means that the DeviceNet master has the ability to notify the D485 when it should send a specific command to a slave To use this functionality correctly the DeviceNet master should update the data area associated with the trigger byte and then update the trigger bute 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 D485 MODBUS DEVICENET CONVERTER USER GUIDE COMMUNICATION MODEL 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 Ondata 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 f
71. e 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 Sub network Modbus network that logically is located on a subsidiary level with respect to the fieldbus and to which the D485 acts as a gateway Transaction A generic building block that is used in the sub network scan list and defines the data that is sent out the sub network D485 MODBUS TO DEVICENET CONVERTER USER GUIDE INTRODUCTION About the D485 Modbus to DeviceNet Converter APPLICATION The D485 Modbus to DeviceNet Converter or D485 acts as a gateway between the Modbus protocol and a DeviceNet network Integration of industrial devices is enabled without loss of functionality control and reliability both when retrofitting to existing equipment as well as when setting up new installations DeviceNet master PLC DeviceNet master PLC DeviceNet network DeviceNet network PC for configuration and monitoring ES D485 i PC for configuration and monitoring RS232 port Single node Modbus network Multi node Modbus network Figure 1 2 Typical applications Features GENERAL FEATURES e DIN rail mountable e Save load configuration in flash e CE UL and cUL marked MODBUS NETWORK RS232 RS422 RS485 communications e Multi drop or single node configurations possible e Modbus RTU Master mode e Support
72. e 3 1 Mandatory objects Object name identity object Message router objec Table 3 2 Vendor specific object To dato cutpatmapsingobect Ah 33 Dawes dt pc rappin obec RR 8 Services Class services Get Attribute Single Instance services Get Attribute Single Table 3 3 Class attributes for identity object 01h Access Name Type Value Description Hr ec Reo UNr Wm Revision Table 3 4 Instance attributes for identity object O1h Aur Aces Name Tupe Value Description Tet VendoriID JUNT O3AOh default GEMuliin X 2 Device type UINT 000Ch default Communications adapter S Product code UINT 0051h default Anybus C DeviceNet Get Revision USINT Major fieldbus version USINT 20 Minor fieldbus version Status WORD Device status see table below Get Serialnumber number UDINT Seridlnumber number Serial number number LANE name LI D485 EI to Name LII NN product STRING DeviceNet Conv Config consist UINT value D485 MODBUS TO DEVICENET CONVERTER USER GUIDE DATA EXCHANGE The values for the status attribute attribute 5 are shown below w pe 00 CG Resend S Minor recoverable fault Minor recoverable fault pg Major recoverable fault LEN Major unrecoverable fault MESSAGE ROUTER Services CLASS 02H Class services Get Attribute Single Table 3 5 Class attributes for message router object 02h
73. e changed to any value between 10 ms 1 x 10 ms to 655350 ms 65535 x 10 ms Enervista P485 D485 Setup File Query Tools View Help T Alphabetic Categorized P485 D485 H A Modbus Network gt GT POMII Meter Oftline options for fieldbus Clear EH User memory map values F1 Read Input Registers Offline options for sub network Clear H E Query Update mode Cyclically H E Response E Timing 51 MM2 Relay Minimum time between broadcasts 10ms 100 User Memory Map values F1 Read Input Registers Reconnect time 10ms 500 Command Function Code operation code F1 F22 F Retries f 5 Timeout time 10ms 100 Update time 10m 100 E Trigger Trigger byte address Ox05FF Update time 10ms The minimum time between two transactions of this kind n Qey 183205 amp OPM Config Figure 9 23 Changing configuration parameters for a query 5 Expandthe 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 MMe Meter item and click on Query 7 Setthe following configuration parameters Offline option for Fieldbus Freeze Offline Options for sub network Freeze Upload mode On data change Reconnect time 500 5 sec Retries 5 Enervista P485 D485 Setup File Query Tools View Help D c Ed SS ols Bs I X Z
74. e 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 Configuration X Cancel Bei RUE Blank Configuration Select the desired topic to do and press the button wizard option will quide you through and explain all steps of a configuration The output fram a wizard will result in a working configuration ready to download It iz also possible to edit the configuration in the standard Enervista P485 D 485 Setup program after Wizard completion The Blank Configuration option will open the standard Enervista P485 D 485 Setup and a configuration can be created fram scratch Here it is also possible to open an existing configuration From File ar via Upload from a P485 D 485 module Don t show this Window again Select Configuration Wizard and click on OK D485 MODBUS TO DEVICENET CONVERTER USER GUIDE SOFTWARE OVERVIEW SELECT FIELDBUS TYPE The first step in the configuration wizard selects the fieldbus type The fieldbus is the higher layer network that communicates with the serial device s on the Modbus sub network via the D485 converter Configuration Wizard x 6 GE Multilin Step 1 of 6 Select the fieldbus Fieldbus Type type The type of the Fieldbus connected to the P485 D485 The purpose of this wizard is to help you throug
75. ecsssecsssesssecsssscsssecsssecesscssuscessccssscsssscssscsssecesecessecsssecssecessecs er PES NR AAEE NR 2 7 oss TT Tm 2 8 Ese diede MER RR E EET 2 8 Rug o m ee 3 1 SS CPU 5 1 Internal memory buffer StrUCtUTE 3 2 I O dota vs rel io RR RR RR 3 3 ce ec er 5 4 eroe do g NN RI RO ONERE te OP IY 3 4 PRTC P Eoi RR 3 5 Be NN RE NN 3 5 SO et NATL aaaea 3 5 Protocol puilaing DIOCKS NNI NER 3 5 DeviceNet object implementation cccssesssesssesssessssssesssessesecesseesssessseees 3 6 Bru A E 3 6 identitu object EETA 3 6 Messdge router case Rr 3 7 DeviceNet opject class aE NE 3 7 Assembly object class 3 8 Connection object class 3 8 Acknowledge handler object class 2Bh se 3 10 Odata input mapping object class ADDE n rtt t tto tine 3 11 Odata output mapping ATH irsinin a 3 11 Diagnostic object class AAN erne 3 12 Parameter data input mapping object class BON sss 3 12 Para
76. elected appear Language next time the Select which language the program should use the next time the program is launched program is launched Presently only English is supported Firmware download Download the firmware to the D485 Use with caution Factory restore Restores the software on the D485 carrier board to it s original state Block configuration Use with caution When this button is pressed the configuration will not be accessible and a new configuration has to be downloaded to the module Create error log Creates an error log file Size of log buffer Set the size of the log buffer 0 to 512 bytes 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 Devices El Fieldbus 2 po Startl nit Fieldbus specific PO je Endlnit Z A Pass pa4ss cla Modbus Network Configuration Alphabetic Categorized El Fieldbus Figure 4 5 Fieldbus configuration D485 MODBUS DEVICENET CONVERTER USE
77. en the device and PC 3 Select the Setpoint gt User Map menu item D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 9 3 APPLICATION EXAMPLE 4 Set the user map registers as follows and save to the relay User map address Parameter User map data address 1280 0x0025 0x0100 1281 0x0010 0x0101 1282 0x0055 0x0102 1283 0x0056 0x0105 1284 0x0040 0x0104 User Map User Assigned UserMap Value User Map Address HEX Address HEX Address HEX Value K 041250 041251 041252 041255 041234 041205 041256 041297 041206 041255 0x128 041236 x128C x128D 128 Ox0100 0x0101 Ox0102 0x0103 0x0104 0x010 Ox0106 Ox0107 Ox0108 0x0109 Ox0104 Ox0106 0x010C 0x0100 1 Cancel pir dd Ele Print Screen Defaults Open Save nim iis a Figure 9 2 MM2 meter 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 9 4 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE APPLICATION EXAMPLE System configuration OVERVIEW An overview of the system configuration described in this document is shown below Input Area in PLC PLC Output Area in PLC Ph current la 1 word DeviceNet master Ph current Ib 1 word Command function Ph current
78. eter in EnerVista P485 D485 Setup This vendor specific object provides parameter input data mapping information The number of existing attributes depends on which attributes are initialized in the module through the EnerVista P485 D485 Setup software Services Class services Get Attribute All Instance services Get Attribute Single Set Attribute Single Table 3 24 Class attributes for parameter data input mapping iiid BOh Lr ea Reo UNT UN Revision Table 3 25 Instance attributes for parameter data input iin ds object instance 01h pm meme Parameter input Parameter input 1 Array Arayof Data thatis read USINT Parameter input 2 Array of Data that is read USINT Parameter input 3 Array of Data that is read an Parameter Array ei Data apap is read input 50 USINT D485 MODBUS TO DEVICENET CONVERTER USER GUIDE DATA EXCHANGE PARAMETER DATA This vendor specific object provides parameter output data mapping information The OUTPUT MAPPING number of existing attributes depends on which attributes are initialized in the module OBJECT CLASS B1H through the EnerVista P485 D485 Setup software Services Class services Get Attribute All Instance services Get Attribute Single Set Attribute Single Table 3 26 Class attributes for parameter data output mapping ids d Bih Table 3 27 Instance attributes parameter data outpu
79. from the GE Multilin website at http www GEmultilin com INSTALLING FROM Run setup exe and follow the on screen instructions ENERVISTA CD INSTALLING FROM THE Download the self extracting EXE file from the GE Multilin website at http GE MULTILIN WEBSITE www GEmultilin com D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 4 1 SOFTWARE OVERVIEW DESCRIPTION NOTE CONFIGURATION WIZARD Using the EnerVista P485 D485 Setup software When creating a new sub network configuration EnerVista P485 D485 Setup provides a choice between starting out with a blank configuration or using a predefined template configuration wizard e Configuration Wizard The wizard option automatically creates a configuration based on information about the sub network Modbus devices that is the user simply has to fill in the blanks e Blank Configuration This option should be used when creating a new configuration 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 The purpose of the configuration wizard is to help you through the process of creating a project with a Modbus RTU sub network When the wizard is finished it is possibl
80. g procedure splits the input data in 16 bytes of I O input data and 8 bytes of explicit input data 1 Click on the Fieldbus item and change IO sizes option to User defined as shown below Enervista P485 D485 Setup File Fieldbus Tools View Help i 5 8 teaexr s S9 5 MELOS To P485 D485 Configuration Configuration y Fieldbus Alphabetic Categorized Startlnit By Fieldbuslnit E Fieldbus Fieldbus specific Fieldbus Type DeviceNet Endlnit P485 D 485 Modbus Network deg G f POMII Meter EH User memory map values F1 Read Input Registers MM2 Relay User Memory Map values F1 Read Input Registers Command Function Code operation code F1 F22 F I0 Sizes Sets whether the sizes of the ID areas are user defined or automaticly 3 gt configured Figure 9 25 User defined IO sizes 2 Set the Size In IO input data size to 16 bytes i e and the IO Size Out IO output data size to 4 bytes Config Line ja x j Enervista P485 D485 Setup File Fieldbus Tools View Help D a ad c S s SORES P485 D485 Configuration Devices cq Fieldbus Startlnit Fieldbuslnit Fieldbus specific Endlnit 485 D 485 dbus Network POMII Meter User memory map values F1 Read Input Registers MM2 Relay User Memory Map values F1 Read Input Registers
81. h of 10 5 x 2 Reducing the number of transactions initiated by the D485 will optimize communications on the Modbus sub network The Type column shows the type of data that is referenced for the respective parameter Possible entries are bit s and word s This is automatically entered by the wizard based on the selected address and selected direction D485 MODBUS TO DEVICENET CONVERTER USER GUIDE SOFTWARE OVERVIEW The Modbus Command column shows the Modbus command assigned by the wizard The Modbus command is automatically selected by the wizard based on the selected address and direction CONNECTING DEVICES The fourth step in the configuration wizard connects one or more devices to the Modbus sub network Devices on a sub network are also known as nodes Modbus slave devices and are the actual nodes that will be physically connected to the Modbus sub network It is possible to connect devices of the same device type more than once The created nodes will be listed to the left The Node window is shown below Configuration Wizard Create node Remove Node Step 4of 6 Slave Address Connect Devices to 53 the sub network InT Out Connect one or more Devices to the sub network Devices on a lt Back Next gt Cancel sub network are also known as Nodes and are the actual nodes 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
82. h the process of DeviceNet o creating a project with a Modbus rofibusDP RTU sub network When the DeviceNet Wizard is finished it is possible to continue editing the project in the Configuration Tool The fieldbus is the higher layer network that communicates with the serial device s on the sub network via the Communicator Confi MEN ion Wizard Configuration Wizard Version 1 14 Revision 1 z Back Next gt Cancel Select DeviceNet then click Next to continue A typical DeviceNet network arrangement is shown below Fieldbus Fieldbus Master PLC Fieldbus Slave Fieldbus Network Profibus or DeviceNet GE Converter P485 or D485 PC for configuration and Monitoring Sub Network Modbus GE Relays amp Meters 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 NOTE wizard using the regular configuration tool D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 4 3 SOFTWARE OVERVIEW SUB NETWORK PROPERTIES NOTE 4 4 The second step in the configuration wizard selects the properties for the Modbus sub network The data flow for the sub network is shown below Fieldbus Master Fieldbus Data Direction GE Converter In Out Modbus Sub Network Figure 4 2 Sub network data flow Refer to the pa
83. ible 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 these registers will release the two reserved bytes in the internal memory buffer however the status and control functionality will not be available The handshaking procedure described on page 8 3 must be followed for all changes to these registers CONTROL REGISTER Bytes 0 and 1 of the control register are shown below DEVICENET CONTROL SYSTEM TO D485 Byte 0 Offset 0x200 Byte 1 Offset 0x201 EAJEJEJEAJESEJESBEJSERESESELEESEAERNEE to D485 MODBUS DEVICENET CONVERTER USER GUIDE 8 1 ADVANCED FUNCTIONS Bis Nome DexHpm Handshake Confirmation Bit CR HS CONFIRM Handshake Toggle Bit CR HS SEND Data Valid CR DV When the DeviceNet control system has read the new information from the status register it should set this bit to the same value as bit 15 in the status register The fieldbus DeviceNet control system should toggle this bit when new information has been written in the control register This bit is used to indicate to the D485 if the data in the output data area is valid or not The bit shall be set by
84. ion failed try again The serial port seems to be available but it is not possible to connect to the D485 e 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 e Select another serial port and try again Poor performance e 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 e sthe Modbus Network Monitor in EnerVista P485 D485 Setup active The Modbus network monitor has a negative influence on the overall performance of the D485 and should only be used when necessary e Is the Node Monitor in EnerVista P485 D485 Setup active The node monitor has a negative influence on the overall performance of the D485 and should only be used when necessary D485 MODBUS TO DEVICENET CONVERTER USER GUIDE GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Chapter 3 Data Exchange Overview DESCRIPTION Data from the fieldbus DeviceNet and the sub network Modbus is stored in an internal memory buffer This is 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 a
85. k of data Up to 50 attributes can be mapped in this object Attributes are mapped with start of attribute 1 Offset is set from the start of the parameter data input area and the length specifies the amount of bytes to map Attribute 1 in the mailbox is followed by attribute 2 and continues to attribute 50 If length is set to zero the attribute will not exist As such it is possible to map only object 1 and 10 by letting the length of attributes 2 through 9 be zero It is only necessary to include mailbox information up to the last attribute number If any offset or length is invalid the length and offset will be set to zero in the mailbox answer and the attribute will not be mapped GNendhewerdds D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 8 5 ADVANCED FUNCTIONS 8 6 A command and response layout example for setting 1 to 5 attributes is shown below Message ID Message information Command Data size Frame count Frame number Offset high Offset low Extended word 1 Extended word 2 Extended word 3 Extended word 4 Extended word 5 Extended word 6 Extended word 7 Extended word 8 Message data word 1 Message data word 2 Message data word 3 Message data word 4 Message data word 5 Message data word 6 Message data word 7 Message data word 8 Message data word 9 Message data word 10 Command 5 04 0000h Offset for Attribute 1 Offset for Attribute 2 Offset for Attribute 5 Length for Attrib
86. l be mapped to 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 Lube Pump 1 1 all Parameters Step 5 of 6 Add Parameter Remove Parameter Select parameters for each Node Parameter Name Command function code and command data F1 User memory map values F1 Motor status F133 Motor thermal capacity used F1 Data Direction Estimated time to trip on overload 20 i n ut Motor speed F135 Not Configured Not Configured Command function code and command data F1 User memory map values Motor status F133 Sub Network Motor thermal capacity used F1 Estimated time to trip on overload F20 Motor speed F135 Phase current F9 Select the parameters that shall be mapped to the Fieldbus Network All previously configured parameters will be available at this point including parameters E 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 no
87. llows and save to the meter User map address Parameter User map data address 0004 0x0245 0x0104 0005 0x0286 0x0105 JUser Map New Site 1 POMII Meter 1 Settings Modbus User Map i x User Map PARAMETER ASSIGNED ADD VAIA Register address for User Data 0000 x Save Register address for User Data 0001 Register address for User Data 0002 r Restore Register address for User Data 0003 Register address for User Data 0004 Default Register address for User Data 0005 Register address for User Data 0006 Register address for User Data 0007 Register address for User Data 0008 Meter 1 Settings Modbus User Map A Figure 9 1 POMII 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 five parameters to be read from MM2 Normallu 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 Startthe MM2PC software 2 Establish communications betwe
88. lso 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 D485 MODBUS DEVICENET CONVERTER USER GUIDE 3 1 DATA EXCHANGE PLC memory E The PLC exchanges data via the DeviceNet network between its internal input inputs I O outputs REN The PLC exchanges data via the DeviceNet network between its internal output area and the input area area and the output area of the D485 of the D485 DeviceNet network Internal memory buffer of the D485 Input data area 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 sub network Modbus sub network Modbus slave e g CT PRIMARY setting Current la actual value Output data area 0x0400 General data area The data in the output area of the D485 contains data received from DeviceNet In this case it is the CT PRIMARY setting of the POMII meter sent out from the D485 to the sub network Figure 3 1 Data exchange overview 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 e Input data This is data that should be sent to the fieldbus The D485 can handle up to 512 bytes of input data e Output data this is
89. meter data output mapping object class 1 3 13 4 1 Tm 4 1 SuSterm WOU MEN eana E a pr tumdvu ND n 4 1 installation UU Lacu niblitied iio Ex CU HU QOO AGRO cd undo 4 1 LS HU OA E T UU E E 4 1 TOn 4 1 Installing from the GE GUEVARA AA 4 1 Using the EnerVista P485 D485 Setup software eese 4 2 e 4 2 el eR Ze fa RR T 4 2 Om 4 3 E 4 4 tomer mate eee 4 5 m ere reer en 4 7 0 510 886 1006 4 8 Sele ile MUN 4 8 Configuration main 4 9 Do VON m 4 9 Navigation 4 10 FIN er UN RR 4 10 Igire on 4 10 Configuration line VCE RR mm T 4 10 D485 MODBUS DEVICENET CONVERTER USER GUIDE COMMUNICATION MODEL
90. monly 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 POMII 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
91. n T Starting Address T No of Registers T Byte Count 8 Data T Checksum Response j Frame Editor N x SY I 3 Slave Address Function Starting Address No of Registers Byte Count Data Value Value Value Value Data location Data length Byte swap 0x10 00080 00002 0x04 0x0200 Ox0004 Checksum Error chect No swapping CRC 2 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 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 j Frame Editor E Ioj x File Slave Address Function Register Preset data Checksum Value Value Value Data location Data length Byte wap Error check type Error check start byte 041200 Ov0202 Ox0002 No swapping CRC 00000 FRAME AND COMMAND EDITORS GENERAL 6 2 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 i
92. ng with one or more red flashes note the sequence pattern and contact GE Multilin This LED turns green when all transactions have been active at least once This includes any transactions using change of state or change of state on trigger If a timeout occurs on a transaction this LED will turn red Device status CONFIGURATION The configuration switches are used to set the DeviceNet MAC ID and baud rate settings SWITCHES Normally these switches are covered by a plastic hatch Note that the node address can not be changed during runtime i e the D485 requires a reset for any changes to have effect Recycle the power supply to reset the module L3 P9 CJ 5 U1 O CO Figure 2 10 D485 configuration switches 2 6 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE INSTALLATION The DeviceNet MAC ID and baud rate switches are set according to the following tables Table 2 6 Baud rate settings Switch Switch Table 2 7 MAC ID settings MAC ID Switch 3 Switch 4 Switch 5 Switch 6 Switch 7 Switch 8 OFF OFF OFF OFF OFF OFF When removing the hatch avoid touching the circuit boards and components Exercise caution when using tools to open the hatch NOTE DeviceNet installation procedure DEVICENET Each device on a DeviceNet network Is associated with a ESD file which contains all CONFIGURATION TOOL necessary information about the device This file is used by the
93. onitor A Start stop sub network scanning These icons are used to start stop the scanning of the Modbus network To stop the scanning click on the red light To start scanning again simply click on the green light 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 e White No data allocated e Yellow Data allocated by a response consume transaction e Blue Data allocated by a query produce transaction e Collision This area has been allocated more than once e Grey Data allocated by the control status registers 7 2 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE MODBUS NETWORK AND NODE MONITORS Node monitor GENERAL The node monitor functionality provides an aid when setting up the communication with the slave devices on the Modbus network It offers an easy way of testing a specific command on a node and monitor the result It also provides an overview of the memory used by the node Using the node monitor has a negative influence on the overall performance of the D485 WwW Therefore the monitor functionality should be used with care NOTE OPERATION The node monitor window is shown below
94. onnection 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 should be considered as an aid for the fieldbus control system to know when all data has been updated As with all changes to these registers the handshaking procedure refer to Handshaking procedure on page 8 3 must be followed D485 MODBUS DEVICENET CONVERTER USER GUIDE MAILBOX COMMAND PARAMETER DATA INPUT AREA MAPPING ADVANCED FUNCTIONS Advanced fieldbus configuration The mailbox commands are for advanced usage of the D485 Right clicking on the Fieldbus sub menu items provides an option of inserting a mailbox Egg Fieldbus Startl nit Fieldbus nit Figure 8 3 Mailbox command By default all mapped I O input data is grouped in one attribute and is used for polled production input data and all mapped O output data is used as polled consumed output data The mailbox commands are used to split the data and explicit data into different attributes These attributes can be configured for polling COS and strobe messaging through the DeviceNet master This command makes it possible to map attributes in the parameter data input mapping object class BOh By mapping data a Get Attribute Single command from the DeviceNet master to the parameter data input mapping object can return a specified bloc
95. refer to GE Multilin Standard Conditions of Sale D485 MODBUS DEVICENET CONVERTER USER GUIDE 10 1 MISCELLANEOUS 10 2 D485 MODBUS DEVICENET CONVERTER USER GUIDE Index A E 1 3 B BAUD RATE sncinitesionemmdnnoucvntitoninesio 1 4 2 7 4 4 4 13 BROADCASTER 1 2 C CHANGES TO THE MANUAL 10 1 COMMAND EDITOR M 6 2 6 3 Se dB ET AA 1 4 4 8 CONFIGURATION SWVC IES 2 6 CONFIGURATION WIZARD suction eem ten rcd bn Dein 4 2 CONNECTING NODEG os PERTINET dE 4 7 CONTACT INEOIRIVAPBONstusdantecqedtit mtm etim nimi 1 1 CONTROL CODED c 8 2 CONTR OLR EG SIE oF evita nap 8 1 D DATA BIT 4 5 ATP DIRECTION E 4 6 DATA EACHAN RERUM MINI 3 2 PM 4 4 dU TUUM MN 4 5 DEVICENET efe 2 7 eT 2 2 OR OUI CN OOS a 2 7 typical network arrangement 4 3 DIMENSIONS ete M E 1 4 rw aeter eto 2 5 D485 MODBUS DEVICENET CONVERTER USER GUIDE GE Consumer amp Industrial D485 Modbus to DeviceNet Converter DOCUMENT CONVENTIONS 1 2 ENERVISTA P485 D485 SETUP see entry for SOFTWARE BIRO IN 1
96. requency this command will be sent The unit is milliseconds ms and the entered value is multiplied by 10 which means that the shortest time is 10 ms RESPONSE PARAMETERS To gain access to these parameters select a Response in the Navigation window Trigger byte This parameter disables and enables the trigger functionality for the response If the trigger byte is enabled then the D485 will increase the bute at the trigger byte address by one when the D485 receives new data from the Modbus network This will notify the DeviceNet master of updated data Trigger byte address This parameter is used to specify the address in the internal memory buffer where the trigger byte is located Valid settings range from 0x000 to OxOOF3 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 5 5 COMMUNICATION MODEL 5 6 D485 MODBUS DEVICENET CONVERTER USER GUIDE D485 MODBUS TO DEVICENET CONVERTER USER GUIDE GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Chapter 6 Frame and command editors 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 51 gii Modbus Network E Lube Pump 1 8 Command Preset Multiple Regs E Query T Slave Address T Functio
97. response to this query Slave nodes are not allowed to respond without first receiving a query An exception to this is broadcaster functionality Most protocols offer some way of accessing all network nodes In the D485 this is called a broadcaster The broadcaster can transmit messages to all nodes on the sub network without expecting a response In Modbus it is possible to broadcast a message to all nodes by sending a message to node address 0 The Modbus slaves will receive the message but not Respond to it PLC D485 Modbus devices y Node1 Modbus Slave lt Response tt A Fieldbus slave i Query Fieldbus Master and B Modbus master Y a Response Node 2 Modbus Slave Query 228 4 Response Figure 5 1 Master mode overview D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 5 1 COMMUNICATION MODEL SCAN LIST NETWORK SETTINGS COMMUNICATION MESSAGE DELIMITER NOTE The D485 uses pre configured Modbus RTU commands acting as 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 Once the configur
98. rol 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 e Output data area 0x0202 to Ox03FF This area holds data received from the fieldbus Data cannot be written to this area e General data Area 0x0400 to 0x07FB This data cannot be accessed from the fieldbus and should be used for transfers between nodes on the Modbus sub network or as a general scratch pad for data D485 MODBUS TO DEVICENET CONVERTER USER GUIDE DESCRIPTION COMMUNICATION MODE PROTOCOL BUILDING BLOCKS DATA EXCHANGE Protocol configuration In order to be able to communicate on the Modbus sub network the D485 must be supplied with a description of the required sub net protocol To accomplish this the EnerVista P485 D485 Setup software features a flexible protocol programming system allowing the D485 to interpret and exchange data with almost any serial device on the Modbus sub network The D485 supports the Modbus Master communication mode In this mode the D485 is setup to use the Modbus RTU protocol and implements a Modbus master for data exchange between the fieldbus and one or more devices on the sub network Refer to Chapter 5 for additional details A description of the building blocks used to describe the sub net protocol is shown below Node Message frame Transaction ME Byte Word Data CRC Byte Frame obje
99. rticular sub network device manual s to determine the appropriate settings and communication options If multiple devices are being installed on the same sub network they must be configurable for a common set of communication parameters All numerical values are entered and shown in decimal unless otherwise specified The sub network properties window is shown below Configuration Wizard Physical standard AS232 Step 2 of 6 Bitrate bits sIfog00 Select sub network properties Parity None Data bits g Stop bits Data Direction in Out ix Sub Network This is where the properties for the sub network are selected Please see the sub network device s manual to determine the appropriate settings for a Cancel particular serial device cono tha mnm il far than e Physical standard The physical standard can be either RS232 RS485 or RS422 RS232 is a point to point communication standard that is it is only possible to have one sub network node Modbus device connected to the D485 converter when using RS232 RS232 supports a maximum cable length of 15 meters and is full duplex It uses two signal lines Rx and Tx and the signal is measured relative to ground RS485 is a common multi drop communication standard It is used with larger cable distances with one or several sub network nodes Modbus devices connected RS485 supports a maximum of 31 nodes with half duplex and a
100. s Enter 20 in the Data size field it will automatically convert and display as 0x0014 hex loxi rm ply Changes Message 0x0001 0x00 0x00 Message information 0 4002 0x01 0x00 Command 0x0006 0x02 0x00 Data size x001 4 0x03 0x06 Frame count 0x0001 0x04 0x00 Frame number 00001 0x05 0x06 Offset high 0 0000 0x06 0x00 Offset low 0 0000 0x07 0x02 Extended Word 1 0 0000 0x08 0x00 Extended Word 2 0x0000 0x09 0x08 Extended Word 3 0x0000 0x04 0x00 Extended Word 4 0x0000 0x08 0x02 Extended Word 5 0x0000 0x0C 0x00 Extended Word 6 0 0000 D D 0x04 Extended Word 7 0 0000 Ox0E 0x00 Extended Word 8 0x0000 0x04 0x10 0x00 0x11 OxOE 0x12 0x00 0x13 0x02 Figure 9 27 Setting offset and data length for IO data input attributes The offset and data length for each attribute in bytes in given below 09 o0 ox Enter the offset and data length values from the table above then select the File Apply Changes menu item to save the changes The above O data input mapping object class AOh attributes are mapped to assembly object class 04h instances with fixed attribute number 03h The mapping is given below Class A1h Corresponding instance in Description instance O1h assembly object class 04h attribute Attribute O3h NN NN D485 MODBUS DEVICENET CONVERTER USER GUIDE APPLICATION EXAMPLE PARAMETER DATA INPUT The explicit data can be further assigned
101. s setting the fieldbus type 1 2 Set the Fieldbus type to DeviceNet Configuration Wizard 96 GE Multilin Step 1 of 6 Select the fieldbus Fieldbus Type type The type of the Fieldbus connected to the P485 D485 The purpose of this wizard is to help you through the process of Profibus DP creating a project with a Modbus Prolibus DB i m RTU sub network When the DeviceNet Wizard is finished it is possible to continue editing the project in the Configuration Tool The fieldbus is the higher layer network that communicates with the serial device s on the sub network via the Communicator Confi gura tion Wizard Configuration Wizard Version 1 14 Revision 1 Cancel F xl Fieldbus Figure 9 5 Select fieldbus type Click Next to proceed to step 2 of the configuration wizard D485 MODBUS DEVICENET CONVERTER USER GUIDE APPLICATION EXAMPLE STEP 2 SELECTING THE The second step in the configuration wizard is selecting the sub network properties SUB NETWORK 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 Physical standard Step 2 of 6 Bitelbls sisono Select sub network properties Pari None Data bits fg Stop bits This is where the properties for the sub network are selected Please see the sub network device s manual
102. s up to 50 commands e Configuration via EnerVista P485 D485 Setup software DEVICENET INTERFACE e Complete DeviceNet adapter functionality profile no 12 group 2 only server FEATURES e Group two only server e MAC ID and baud rate configuration via on board switches e Polled Change of State COS and Bit Strobed I O e Explicit messaging D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 1 3 INTRODUCTION ORDER CODES MECHANICAL ELECTRICAL CHARACTERISTICS COMMUNICATIONS ENVIRONMENTAL EMC COMPLIANCE Ordering The following table illustrates the order codes for the D485 Modbus to DeviceNet Converter Table 1 1 0485 order codes D485 Base unit D485 D485 Modbus to DeviceNet Converter C With configuration cable X No configuration cable Specifications HOUSING Plastic housing with snap on connection to DIN rail protection class IP20 DIMENSIONS LxWxH 120 mm x 75 mm x 27 mm 4 72 in x 2 95 in x 1 06 in PROTECTION CLASS Protection class IP20 POWER SUPPLY Power 24 V 10 for use in class 2 circuits POWER CONSUMPTION Maximum power consumption 280 mA on 24 V Typically power consumption approximately 100 mA BAUD RATES Baud rate DeviceNet 125 250 and 500 kbps Baud rate Modbus 1200 2400 4800 9600 19200 38400 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 e
103. t instance 01h pe ueeeWam Wwe Wm Deco 0 Get Set Parameter Array of Data that is read or written output 1 USINT 2 Get Set Parameter Array of Data that is read or written output 2 USINT Get Set Parameter Array of Data that is read or written a 5 PE LN LAE L use Data is read or written output 50 USINT D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 3 13 DATA EXCHANGE 3 14 D485 MODBUS DEVICENET CONVERTER USER GUIDE GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Chapter 4 Software overview Introduction DESCRIPTION EnerVista P485 D485 Setup is a PC based configuration software used to describe the protocol and communication properties for a serial network When the configuration is finished and the functionality is tested it is possible to send memory allocation information to a printer using EnerVista P485 D485 Setup EnerVista P485 D485 Setup can also be used for troubleshooting and diagnostic of the D485 and the serial network during runtime SYSTEM REQUIREMENTS The following hardware and software is required to use the EnerVista P485 D485 Setup software e Pentium 133 MHz or higher e 10 of free space on the hard drive e 8MBRAM e Windows 95 98 NT 2000 XP e 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
104. t 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 The command editor makes it possible to add custom commands to the D485 i Select Command x File Command fs Command Name l Read Cail Status Read Input Status Read Holding Registers Read Input Registers Force Single Cail Preset Single Register Head Exception Status Diagnostics Fetch Comm Event Ctr Fetch Comm Event Log Force Multiple Coils Preset Multiple Regs Report Slave ID Read General Reference Write General Reference Mask Write 4X Register Reads 4x Registers Read FIFO Queue 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 the Command menu To edit a previously defined command highlight the command in the command list and select Edit Command in the Command menu The following window pops up upon selecting Edit Command or Add Command i Command Editor i File Column Command M ame Hew Command Command ID 1 9 Allow Broadcasting O x Query 1 2 4 DisplayName Slave Address Function Data Checksum ObjectT ype Byte Byte Data Checksum Value Slavedddress ID User User Response 1 2 4 Slave Address Byte
105. the fieldbus control system when new data has been written 1 indicates data is valid O indicates that data is NOT valid 12 to 8 Control Code CR EC See table below Data CR ED See table below CONTROL CODES The following control codes are recognized by the D485 and can be used by the fieldbus control system Code Name oes DISABLE NODE NODE Slave address of the node to disable This instructs the D485 to disable a specific node from the sub network communication 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 communication 0x12 ENABLE NODES Number of nodes to enable This instructs the D485 to enable a number of nodes from a complete configuration STATUS REGISTER D485 The status codes below are handled by the D485 and reported to the fieldbus control TO FIELDBUS CONTROL system using the status code and data bits in the status register The meaning of these bits SYSTEM are different depending on the used communication model Byte 0 Offset 0x200 Byte 1 Offset 0x201 ee ee e e Status Code Data Bts Name Dexrpi SSCS 15 Handshake Toggle Bit Toggle Bit The D485 toggles this bit when new information is toggles this bit when new information is SR HS SEND available in the status register 14 Handshake Confirmation BIit SR HS CONFIRM Data Valid SR DV When the D485 has rea
106. tion The Wizard is needed and is now ready to update the configuration fin i sh e d Clicking the Finish button will close the Wizard and send the configuration to the Configuration Tool and the Wizard will no longer be able to edit this configuration Further editing can be done in the Configuration Tool Download Configuration can also be selected to start up the Communicator and the Sub network Download is started by clicking the button Configuration Wizard p in the Configuration Tool ne cw The Wizard can not be started Figure 9 19 Wizard finished D485 MODBUS TO DEVICENET CONVERTER USER GUIDE 9 11 APPLICATION EXAMPLE SAVING DEVICE DATA After the configuration wizard is complete the software will prompt to save the device data if necessary Save Device History hy Network P Figure 9 20 Save device file CONFIGURING THE The main screen will appear after the wizard is closed QUERIES j Enervista P485 D485 Setup A P495 D485 We Modbus Network Fieldbus Type Profibus DP 9 12 D485 MODBUS DEVICENET CONVERTER USER GUIDE APPLICATION EXAMPLE 1 Expand the Modbus Network item in the tree All the configured parameters will appear as commands Enervista P485 D485 Setup File Fieldbus Tools View Help apexes SMHS Alphabetic Categorized il Fieldbus 3 7 POMII Meter Fieldbus Type DeviceNet EC User memory map values F1
107. to different attributes of parameter data input AREA MAPPING mapping object BOh Define the following four attributes out of eight bytes of explicit data Attribute Attribute 1 2 bytes Switch input status Attribute 2 2 bytes Motor load Attribute 3 2 bytes Thermal capacity Attribute 4 2 bytes Voltage This can be done by using data input area mapping mailbox command 04h 1 Right click on the Endlnit item and insert a new mailbox 2 Setthe command code to 04 row 3 3 The offset and length of attribute must be provided for each of the four attributes Enter 16 in the Data size field it will automatically convert and display as 0x0010 iBixi Message 0x0001 0x00 0x00 Message information 0x4002 0x01 0x00 Command 0 0004 0x02 0x00 Data size 00010 0x03 0x02 Frame count 00001 0x04 0x00 Frame number 00001 0x05 0x02 Offset high 0 0000 0x06 0x00 Offset low 00000 0x07 0x02 Extended Word 1 0x0000 0x08 0x00 Extended Word 2 0x0000 0x09 0x04 Extended Word 3 0 0000 0x04 0x00 Extended word 4 00000 0x06 0x02 Extended Word 5 00000 Ox0C 0x00 Extended Word 6 0 0000 0x0D 0x06 Extended Word 7 00000 Ox0E 0x00 Extended Word 8 0 0000 Ox0F 0x02 Figure 9 28 Offset and data length for parameter data input mapping attributes 4 The offset and data length for each attribute in bytes in given below Attribute Offset Data length 0x0000 0x0002 B 0x0002 0x0002 EE 0x0004 0x0002 0x0006 0x0002 5 Enter the offset
108. 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 RSA22 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 e 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 D485 MODBUS TO DEVICENET CONVERTER USER GUIDE SOFTWARE OVERVIEW e Parity The parity can be selected as Oda 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 e 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 e 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
109. umer amp Industrial D485 Modbus to DeviceNet Converter Chapter 9 Application example Introduction OVERVIEW The chapter describes how to configure the D485 Modbus to DeviceNet Converter to allow GE Multilin relays and meters to communicate on a DeviceNet network The GE Multilin MM2 Motor Manager 2 and Power Quality Meter are used as examples GE Multilin relays and meters support a very useful feature called the Modbus User Map in their software This feature can be used in configuring the D485 to reduce the number of Modbus transactions and improve communication speed It is assumed that the reader is familiar with serial communication DeviceNet networks and PLC architecture EQUIPMENT AND The examples in this chapter make use of the following equipment and documentation DOCUMENTS e D485 Modbus to DeviceNet Converter e RS485 cable to connect D485 to the relays meters MM2 and e EnerVista P485 D485 Setup software with configuration cable e EDS file for the D485 e standard DeviceNet cable with connectors e 24V DC power supply for the D485 e PLC with DeviceNet master card e POMII Power Quality meter and instruction manual publication code GEK 106435D e Enervista POMII Setup software e MMe relay and instruction manual publication code GEK 106294B e MM2PC software D485 MODBUS DEVICENET CONVERTER USER GUIDE 9 1 APPLICATION EXAMPLE SYSTEM SETUP This chapter describes how to set up the
110. us specific Base Endl nit 2 P485 D485 Configuration Alphabetic Categorized 5 Communication Bitrate bits z gent Data bits B Parity Mone Physical standard H5232 Stop bits 1 51 Timing Message delimiter 1 ms Bitrate Selects the bit rate 1200t057600 Data bits Selects the number of data bits Parity Selects the parity the Selects the parity None None Odd Even Even Lo E standard Selects the physical standard This setting 5402 RS485 activates the corresponding signals on the subnet connector Start bits Only one start bit is supported Stop bits Either one or two stop bits can be selected D485 MODBUS DEVICENET CONVERTER USER GUIDE 4 13 SOFTWARE OVERVIEW 4 14 D485 MODBUS DEVICENET CONVERTER USER GUIDE GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Chapter 5 Communication model Introduction DESCRIPTION In master mode the D485 is configured to run as a master on the Modbus sub network using a scan list for communication with the Modbus slave devices The scan list is created using EnerVista P485 D485 Setup and can consist of multiple nodes with multiple transactions Communications between the D485 and the sub net nodes Modbus slaves is based on transactions with a query response architecture The D485 sends out a query on the Modbus sub network and the addressed node is expected to send a
111. ute 5 Expected response Offset for Attribute 1 Length for Attribute 1 Offset for Attribute 2 Length for Attribute 2 Offset for Attribute 3 Offset for Attribute 4 Offset for Attribute 5 Length for Attribute 5 PARAME TIER INPUT MAP Offset from parameter data input area star Figure 8 4 Command and response layout for parameter input area The following figure shows the mailbox command to set 1 to 5 attributes Note that the message field opens only after entering the data size Attribute 1 length 4 bytes Attribute 2 length 2 bytes Attribute 3 length 2 bytes Attribute 4 length 2 bytes Attribute 5 length 6 bytes Mailbox Editor File Apply Changes Command Frame count Message information 0x0001 0x4002 0x0004 0x001 4 0x0001 Frame number 0x0001 Offset high Ox0000 Offset low 00000 Extended Word 1 0 0000 Extended Word 2 00000 Extended Word 3 0 0000 Extended Word 4 0 0000 Extended Word 5 Ox0000 Extended Word 6 0x0000 Extended Word 7 00000 Extended Word 8 00000 lani x 0x00 0x00 0x01 0x00 0x02 0x00 0x03 0x04 0x04 0x00 0x05 0x04 0x06 0x00 0x07 0x02 0x08 0x00 0x09 0x06 O04 0x00 0x08 0x02 0x00 0x00 0x08 0x0E 0x00 0x0F 0x02 0x10 0x00 0x11 0x04 0x12 0x00 0x13 0x06 Figure 8 5 Mailbox example for parameter data input mapping The mailbox command should be saved before closing the mailbox command window D485 MODBUS TO DEVICENET CONVERTER
112. wed by the Add Parameters button Choose the following parameters from the drop down list User memory map values F1 Command function code operation code F22 i Configuration Wizard POMII Meter 20 MM2 Relay 4 Al Parameters Step 5 of 6 ep5o Add Parameter Remove Parameter Select para meters Parameter Name for each Node Data Direction ila Select the parameters that shall be mapped to the Fieldbus Network All previously configured parameters will be available at this point including parameters Back Next gt Cancel Figure 9 16 Choosing parameters for the MM2 relay node 4 The values in the bracket indicate Modbus data format codes refer to the instruction manuals for details D485 MODBUS TO DEVICENET CONVERTER USER GUIDE APPLICATION EXAMPLE 5 Click Next to proceed to the final step of the configuration wizard STEP 6 CONFIGURATION The final step in the wizard provides a configuration report for the device 1 If desired click on Print to print the configuration report x Step 6 of 6 Configuration Report Fieldbus Type DeviceNet uD etree The window to the left shows a summary of the configuration P495 D485 entries you have made in text Physical interface Serial fo t Protocol Master Mode nma Module Reset Disabled It shows all configured Devices Contro Status Byte Disabled and their Parameters and how Statistics Disabled they are mapped to the intern
113. xplicit messaging Modbus interface RS232 RS422 RS485 DeviceNet interface 5 pin linear DeviceNet plug Phoenix type RELATIVE HUMIDITY The product is designed for a relative humidity of 0 to 95 non condensing TEMPERATURE Operating 0 to 55 C Non Operating 5 to 85 C CE MARK Certified according to European standards unless otherwise is stated Emission according to EN 50081 2 1993 Immunity according to EN 61000 6 2 1999 UL C UL COMPLIANCE This unit is an open type listed by the Underwriters Laboratories The certification has been documented by UL in file E214107 D485 MODBUS DEVICENET CONVERTER USER GUIDE GE Consumer amp Industrial D485 Modbus to DeviceNet Converter Chapter 2 Installation Quick install PROCEDURE 1 Snap the D485 on to the DIN rail see DIN rail mounting on page 2 5 2 Connect the DeviceNet cable see DeviceNet connector on page 2 2 3 Connect the serial Modbus network cable see Modbus connector on page 2 4 for details 4 Connect a PC using the configuration cable see Configuration cable on page 2 3 5 Connect the power cable and apply power to the unit see Power connector on page 2 4 for details 6 Start the EnerVista P485 D485 Setup software 7 Normally the EnerVista P485 D485 Setup detects the correct serial port If this does not occur select the correct port through the Port menu item 8 Configure the D485 using EnerVista P485 D485 Setup and downloa
114. y 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 Devices Configuration Alphabetic Categorized El General yu Error check start byte ETT Lube Pump 1 Error check type CAC Command function code and command data E E3 Motor status F133 Read Input Registers EEE Query a 1 Slave Address m 4 Function 1 Starting Address 2 1 No of Points HE us T Checksum EMEZ Response 1 Slave Address 4 Function Figure 6 5 Main window 6 4 D485 MODBUS DEVICENET CONVERTER USER GUIDE GE Consumer amp Industrial GENERAL NOTE D485 Modbus to DeviceNet Converter Chapter 7 Modbus network and node monitors Modbus network monitor The Modbus network monitor Is intended to simplify configuration and troubleshooting of the Modbus network 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 Mo
Download Pdf Manuals
Related Search
Related Contents
Betriebsanleitung FASSCHMELZER NON- STOP ACOM 1010 user manual Sony Ericsson XR-C7500RX User's Manual zoopa Q 400 HUNTER WiFi Manhattan 393966 USB cable 設定・録画方法 VC-AF50 Matrox m3D Evolio_Telephone_C20_User_Manual 取扱説明書 (1.11 MB/PDF) Copyright © All rights reserved.
Failed to retrieve file