Modulo Prosoft

March 29, 2018 | Author: Edgar Fabrian | Category: Windows Vista, Installation (Computer Programs), Microsoft Windows, Computer File, Input/Output


Comments



Description

MVI56-PDPMV1ControlLogix Platform PROFIBUS DPV1 Master March 25, 2011 USER MANUAL Your Feedback Please We always want you to feel that you made the right decision to use our products. If you have suggestions, comments, compliments or complaints about our products, documentation, or support, please write or call us. How to Contact Us ProSoft Technology 5201 Truxtun Ave., 3rd Floor Bakersfield, CA 93309 +1 (661) 716-5100 +1 (661) 716-5101 (Fax) www.prosoft-technology.com [email protected] Copyright © 2011 ProSoft Technology, Inc., all rights reserved. MVI56-PDPMV1 User Manual March 25, 2011 ® ® ® ® ® ProSoft Technology , ProLinx , inRAx , ProTalk , and RadioLinx are Registered Trademarks of ProSoft Technology, Inc. All other brand or product names are or may be trademarks of, and are used to identify products and services of, their respective owners. ProSoft Technology® Product Documentation In an effort to conserve paper, ProSoft Technology no longer includes printed manuals with our product shipments. User Manuals, Datasheets, Sample Ladder Files, and Configuration Files are provided on the enclosed CD-ROM in ® Adobe Acrobat Reader file format (.PDFs). These product documentation files may also be freely downloaded from our web site: www.prosoft-technology.com Important Installation Instructions Power, Input, and Output (I/O) wiring must be in accordance with Class I, Division 2 wiring methods, Article 501-4 (b) of the National Electrical Code, NFPA 70 for installation in the U.S., or as specified in Section 18-1J2 of the Canadian Electrical Code for installations in Canada, and in accordance with the authority having jurisdiction. The following warnings must be heeded: WARNING - EXPLOSION HAZARD - SUBSTITUTION OF COMPONENTS MAY IMPAIR SUITABILITY FOR CLASS I, DIV. 2; WARNING - EXPLOSION HAZARD - WHEN IN HAZARDOUS LOCATIONS, TURN OFF POWER BEFORE REPLACING OR WIRING MODULES WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NON-HAZARDOUS. THIS DEVICE SHALL BE POWERED BY CLASS 2 OUTPUTS ONLY. MVI (Multi Vendor Interface) Modules WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NON-HAZARDOUS. AVERTISSEMENT - RISQUE D'EXPLOSION - AVANT DE DÉCONNECTER L'ÉQUIPEMENT, COUPER LE COURANT OU S'ASSURER QUE L'EMPLACEMENT EST DÉSIGNÉ NON DANGEREUX. Warnings North America Warnings A B C Warning - Explosion Hazard - Substitution of components may impair suitability for Class I, Division 2. Warning - Explosion Hazard - When in Hazardous Locations, turn off power before replacing or rewiring modules. Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is known to be nonhazardous. Suitable for use in Class I, Division 2, Groups A, B, C, and D Hazardous Locations or Non-Hazardous Locations. ATEX Warnings and Conditions of Safe Usage Power, Input, and Output (I/O) wiring must be in accordance with the authority having jurisdiction A Warning - Explosion Hazard - When in hazardous locations, turn off power before replacing or wiring modules. B Warning - Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is known to be non-hazardous. C These products are intended to be mounted in an IP54 enclosure. The devices shall provide external means to prevent the rated voltage being exceeded by transient disturbances of more than 40%. This device must be used only with ATEX certified backplanes. D DO NOT OPEN WHEN ENERGIZED. Battery Life Advisory The MVI46, MVI56, MVI56E, MVI69, and MVI71 modules use a rechargeable Lithium Vanadium Pentoxide battery to backup the real-time clock and CMOS. The battery should last for the life of the module. The module must be powered for approximately twenty hours before the battery becomes fully charged. After it is fully charged, the battery provides backup power for the CMOS setup and the real-time clock for approximately 21 days. When the battery is fully discharged, the module will revert to the default BIOS and clock settings. Note: The battery is not user replaceable. Markings Electrical Ratings       Backplane Current Load: 800 mA @ 5 Vdc; 3 mA @ 24 Vdc Operating Temperature: 32°F to 140°F (0°C to 60°C) Storage Temperature: -40°F to 185°F (-40°C to 85°C) Shock: 30 g operational; 50 g non-operational; Vibration: 5 g from 10 Hz to 150 Hz Relative Humidity 5% to 95% (with no condensation) All phase conductor sizes must be at least 1.3 mm (squared) and all earth ground conductors must be at least 4mm (squared). Label Markings <Ex> II 3 G Ex nA IIc T6 X 0°C <= Tamb <= 60°C Agency Approvals and Certifications CE EMC-EN61326-1:2006; EN61000-6-4:2007 CB Safety CA/10533/CSA IEC 61010-1 Ed. 2, CB 243333-2056722 (2090408) GOST-R EN61010 CSA 61010 DNV DET NORSKE VERITAS Test 2.4 Lloyds Lloyds Register Test Specification Number 1,2002 ATEX EN 60079-0:July 2006; EN60079-15:Oct 2005 243333 ME06 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Contents User Manual Contents Your Feedback Please ........................................................................................................................ 2 How to Contact Us .............................................................................................................................. 2 ® ProSoft Technology Product Documentation .................................................................................... 2 Important Installation Instructions ....................................................................................................... 3 MVI (Multi Vendor Interface) Modules ................................................................................................ 3 Warnings ............................................................................................................................................. 3 Battery Life Advisory ........................................................................................................................... 3 Markings .............................................................................................................................................. 4 Guide to the MVI56-PDPMV1 User Manual 1 Start Here 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.5.1 1.5.2 1.5.3 1.5.4 1.7.1 1.7.2 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.9 1.10 2 11 System Requirements ............................................................................................. 12 Package Contents ................................................................................................... 13 Installing ProSoft Configuration Builder Software ................................................... 14 Installing the Module in the Rack ............................................................................ 15 Choosing Sample Ladder Logic For Your Application ............................................ 16 Determining the Firmware Version of Your Processor ............................................ 17 Determining the Firmware Version of the MVI56-PDPMV1 Module ....................... 18 Determining the Module Mode (LEGACY or FLEX) ................................................ 20 Sample Program Summary ..................................................................................... 22 Using the MVI56-PDPMV1 Sample Ladder Logic .................................................. 23 Using the MVI56-PDPMV1 Add-On Instruction ...................................................... 24 LEGACY Sample Add-On Instruction Import Procedure ........................................ 24 FLEX Sample Add-On Instruction Import Procedure .............................................. 38 Common Settings for All Sample Programs............................................................ 65 Choosing the Controller Type ................................................................................. 65 Selecting the Slot Number for the Module .............................................................. 68 Selecting the Connection Parameters for the Module ............................................ 69 Selecting the RPI Time for the Module ................................................................... 71 Changing and Importing Configuration Changes (for PCB v 2.2.0 and up only) .... 72 Downloading the Sample Program to the Processor .............................................. 76 Connecting Your PC to the Module ......................................................................... 77 Configuring the MVI56-PDPMV1 Module 2.1 2.2 2.3 2.4 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.4.1 ProSoft Technology, Inc. March 22, 2011 9 79 Setting Up the Project ............................................................................................. 80 Setting Module Parameters ..................................................................................... 82 Configuring the PROFIBUS Master ........................................................................ 84 Installing the GSD Files ........................................................................................... 85 Configuring the PROFIBUS Slaves ......................................................................... 86 Printing the Processor Network Memory Map....................................................... 104 Exporting the Processor Files Prior to PCB v2.2.0 ............................................... 105 Exporting the Processor Files for PCB v2.2.0 or later .......................................... 107 Backing Up the Project .......................................................................................... 109 Downloading the Project to the Module ................................................................ 111 Example 1: Local Rack Application ....................................................................... 113 Page 5 of 255 ........................6....... 129 Sending a Mailbox Message in RSLogix 5000 .......................1 3................................................................5 4.......... 134 Queue Timeouts .............2 4.........................2 2....... 144 Legacy Mode Mailbox Communication ...............5.........................................1 3............................................1 2.......................... 117 Verifying Correct Operation ...2................................ 173 Return Codes .................. 173 Acyclic Message Status Word ..... 184 RS-232 Configuration/Debug Port .................................................3 4........................................................5...2......................4 3........2 3.......................3 4.............................................................................. 148 Mailbox Message Commands ....5.........5..3.....2.......5........5......3 3.........5 3.......................................1 4.......................... March 22................................2........6....................................................2.4 2.......................................... 124 Viewing the Fieldbus Data from the MVI56-PDPMV1’s Configuration/Debug Menu126 Viewing the Controller Tags in RSLogix 5000 ...............4 3.......................1................5........................... 186 ProSoft Technology................................................4 4.........1 3..................2 2............................................2 3..........................................1 3............................................... 179 PROFIBUS Master Indicators ..11 3.............9 3................ 123 Checking the PROFIBUS LEDs on the MVI56-PDPMV1 .......... 150 Mailbox Message: Set Slave Mode ................5 Example 2: Remote Rack Application ......2 3.......4...........2.................................... 137 Sending Mailbox Commands .............2 Page 6 of 255 133 177 Basic Troubleshooting Steps .......................... 136 Retrieving Status Information ............................. 2011 .............. 157 Mailbox Message: Get Live List ............ 146 Receiving Mailbox Message Responses from the Module: Legacy Mode .......... 182 Flex Mode (Use Legacy Mode=No) ..5....................... 180 Examples ....................................1 4.............................5........ 169 Mailbox Message: Stop Slave ...........................................................4 3...............................2 3...........Contents User Manual 2.................. 174 Error Codes............ 178 LED Status Indicators: Front of MVI56 Module ......3............................................................. 155 Mailbox Message: Set Slave Address ......................................................... 134 Flex Mode Mailbox Communication.................6 3.6 4 3. 176 Diagnostics and Troubleshooting 4............... 150 Mailbox Message: Get Slave Diagnostics ................................................................................3 3...............................5.................1 4..................5..................................................................... 170 Mailbox Messaging Error Codes.........................................................................3 3................................. 184 Disabling the RSLinx Driver for the Com Port on the PC ....... 130 Mailbox Messaging 3...................... 180 Legacy Mode (Use Legacy Mode = Yes) .....................3 3.................7 3.. 139 Reading Alarms ............... 135 Using FLEX Mode MSG Instructions ....... 145 Output Mailbox: Legacy Mode ...........................................................................................3.............5..............3........3..... 160 Mailbox Message: Acyclic Data Read: Class 1 ................................................................................ Inc.8 3........................................ 165 Mailbox Message: Set Operating Mode .....................................................................................6.................2.... 143 Rebooting the Module .....5 3.................................... 146 Special Function Mailbox Messaging Commands ...........6.2.............. 145 Input Mailbox: Legacy Mode .........10 3..................1 3..3 2..................................5 3 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2........... 175 DP-V1 Error Codes .........................5...................................2 3...................2 4.................................................... 183 Using ProSoft Configuration Builder (PCB) for Diagnostics ..................................................................................................5...................................................1 3................................................................. 153 Mailbox Message: Get Slave Configuration .............................................. 179 Module Faceplate Status Indicators .2........................................... 161 Mailbox Message: Acyclic Data Write: Class 1 ..............5 3..3 3...................................5.......... 164 Mailbox Message: Alarm Indication ...............5.4 Mailbox Message Queuing .............................2...................... 123 Viewing the Online Status of the PROFIBUS Network ............................................................. 167 Mailbox Message: Start Slave .................. .....6 5......................................... 223 Module Functional Overview ......................3 5..........................................................................................2 5...................... 252 6............2...1.......... 249 6.............2.....7 Time Limit for Bringing Suit ..........3 5....2 5....1.................................2.................... 248 6..........................................1 5......................1 5............ 204 Supported PROFIBUS Services ......6 Limitation of Remedies ** ...4 Intellectual Property Indemnity ................................................................................................ 201 Bus Access .......3 5................... 201 PROFIBUS DP Architecture ................. 208 PROFIBUS comDTM ........... 203 Constructing a Bus Cable for PROFIBUS DP ........ 198 Hardware Specifications...... 247 6.................. 210 System Requirements ........................MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 4...8 No Other Warranties ................1.......................... 202 PROFIBUS Master Port ........................3 Disclaimer Regarding High Risk Activities ......................................................................................................................................... 212 Installation .... 252 6........ 248 6....................... 198 General Specifications .....................................1 Return Material Authorization (RMA) Policies and Conditions...............4 5......... 247 6......................................................1. 187 Reference 5................10 Controlling Law and Severability ..........................3.........................3.. Inc.....................1................................................................................................1 5..........2................................ March 22................................................................1 5................... 247 6........................ 215 Verifying the comDTM Version and comDTM Install Version ............ 252 6................ 252 Index ProSoft Technology......................4 5 5.......3 5............. 249 6.........2....................................1 5...........4.......2..........................2 Returning Units Under Warranty ............. 229 Legacy Mode Input and Output Data Blocks.............................................6 5.......................2...........................................1.................. 199 Functional Specifications............................2 Contents User Manual 197 Product Specifications .......................................................................2....... 250 6..1 What Is Covered By This Warranty ............2............2............................................................... 251 6.......... 236 Support..4 5...5 5................................................................................7 5......................... 251 6. 209 ProSoft Technology Product Availability ......................... 209 Introduction to PROFIBUS comDTM ...............................................................................5 Disclaimer of all Other Warranties .......................................................................... Service & Warranty 245 Contacting Technical Support ...........3......................3..2...................3 4.......................4....................... 202 How Cable Length Affects Communication Rate ..........................5 5.............3...............3..3 Returning Units Out of Warranty .......................................................................................4 6 DB9 to RJ45 Adaptor (Cable 14) ...............2.......................3..................................................2 5..............................................2.....................2 LIMITED WARRANTY...................2 5............. 186 Using the Diagnostic Window in ProSoft Configuration Builder .. 199 About the PROFIBUS Protocol . 245 6...................................... 201 Master/Slave Communication Phases ......................................................................................2............................................................................................. 2011 253 Page 7 of 255 .................................................................................................. 250 6.....2 What Is Not Covered By This Warranty .....................................................................1 Returning Any Product .........................................................9 Allocation of Risks .............................2................ 230 Flex Mode Input and Output Data Blocks ..............................2.......3......2.................................................................... 213 Quick Start .................................... Inc. 2011 .Contents User Manual Page 8 of 255 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master ProSoft Technology. March 22. March 22. 2011 Page 9 of 255 . Diagnostics and Troubleshooting (page 177) This section describes Diagnostic and Troubleshooting procedures. and Warranty Details Start Here (page 11) This section introduces the customer to the module. Index of chapters. Service and Warranty information. Included are: package contents. Reference (page 197) These sections contain general references associated with this product and its Specifications. Product Specifications (page 198) → Support. and basic configuration.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Guide to the MVI56-PDPMV1 User Manual User Manual Guide to the MVI56-PDPMV1 User Manual Function Section to Read Introduction (Must Do) → Diagnostic and Troubleshooting → Reference → Product Specifications Support. Service. Service and Warranty (page 245) Index This section contains Support. Index ProSoft Technology. Inc.. system requirements. hardware installation. March 22. 2011 . Inc.Guide to the MVI56-PDPMV1 User Manual User Manual Page 10 of 255 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master ProSoft Technology. ...... 76  Connecting Your PC to the Module ......................................... 15  Choosing Sample Ladder Logic For Your Application .................................................... 77 For most applications................ 13  Installing ProSoft Configuration Builder Software ................................................... the installation and configuration steps described in this section will work without additional programming........ Inc........................................... March 22.............. ProSoft Technology strongly recommends that you complete the steps in this chapter before developing a custom application..... 23  Using the MVI56-PDPMV1 Add-On Instruction ............................................... After you have verified that the module is installed and communicating successfully with the processor and the PROFIBUS network............................ 2011 Page 11 of 255 ............. 65  Downloading the Sample Program to the Processor ..............MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1 Start Here User Manual Start Here In This Chapter  System Requirements ................................................ 14  Installing the Module in the Rack................. 12  Package Contents ........ 24  Common Settings for All Sample Programs ..................... ProSoft Technology....................................... 16  Using the MVI56-PDPMV1 Sample Ladder Logic ......... 51 or higher. 2011 . 800 x 600 minimum resolution (True Color 1024 x 768 recommended)  CD-ROM drive  Dial-up Internet connection (Broadband connection recommended)  Approved PROFIBUS cabling and connectors. or 3 o Microsoft Windows Server 2003  128 Mbytes of RAM minimum.1 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master System Requirements The MVI56-PDPMV1 module requires the following minimum hardware and software components:  Rockwell Automation ControlLogix processor. for the MVI56-PDPMV1 module. 2.  Rockwell Automation RSLinx communication software  Pentium® II 450 MHz minimum. the module requires Ethernet I/P or ControlNet access to the processor.  Small flat blade screwdriver to secure the PROFIBUS connector to the module Note: You can install the module in a local or remote rack. with compatible power supply and one free slot in the rack. 256 Mbytes of RAM recommended  100 Mbytes of free hard disk space (or more based on application requirements)  256-color VGA graphics adapter.  Rockwell Automation RSLogix 5000 programming software version 2. Inc.Start Here User Manual 1. For remote rack installation. March 22. The module requires 800 mA of available power. Pentium III 733 MHz (or better) recommended  Supported operating systems: o Microsoft Windows XP Professional with Service Pack 1 or 2 o Microsoft Windows 2000 Professional with Service Pack 1. Page 12 of 255 ProSoft Technology. utilities and documentation for the MVI56-PDPMV1 module. Part Name Part Number Part Description 1 MVI56-PDPMV1 Module MVI56-PDPMV1 PROFIBUS DPV1 Master 1 Cable Cable #15 . please contact ProSoft Technology Support for replacement parts. Qty.RJ45 to DB9 Male Adapter 1 inRAx Solutions CD For connecting the module’s port to Cable #15 for RS-232 connections Contains sample programs. and are all required for installation and configuration. ProSoft Technology. Important: Before beginning the installation. please verify that all of the following items are present. Inc. If any of these components are missing. March 22.2 Start Here User Manual Package Contents The following components are included with your MVI56-PDPMV1 module.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1. 2011 Page 13 of 255 .RS232 For RS232 between a Personal Computer Null Modem (PC) and the CFG port of the module 1 Cable Cable #14 . If you do not have access to the Internet. 1 To install ProSoft Configuration Builder from the Product CD-ROM 1 2 3 4 Insert the ProSoft Solutions Product CD-ROM into the CD-ROM drive of your PC. This folder contains all of the applications and files you will need to set up and configure your module. Inc. Wait for the startup screen to appear. Click to open the UTILITIES folder. 2011 . This action opens a Windows Explorer file tree window. subject to change as new versions of PCB are released. You can always get the newest version of ProSoft Configuration Builder from the ProSoft Technology website.prosofttechnology. and then follow the instructions on your screen to install the program.EXE file and follow the instructions on your screen to install the software on your PC. included in the package with your module.Start Here User Manual 1. therefore.com/pcb 2 Click the DOWNLOAD HERE link to download the latest version of ProSoft Configuration Builder. To install ProSoft Configuration Builder from the ProSoft Technology website Open your web browser and navigate to http://www. double-click the PCB_*. The information represented by the "*" character in the file name is the PCB version number and. 3 Choose SAVE or SAVE FILE when prompted. click PRODUCT DOCUMENTATION. you can install ProSoft Configuration Builder from the ProSoft Solutions Product CD-ROM. Note: Many of the configuration and maintenance procedures use files and other utilities on the CD-ROM. March 22. Page 14 of 255 ProSoft Technology.3 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Installing ProSoft Configuration Builder Software You must install the ProSoft Configuration Builder (PCB) software to configure the module. You may wish to copy the files from the Utilities folder on the CD-ROM to a convenient location on your hard drive. 4 Save the file to your Windows Desktop. Double-click the SETUP CONFIGURATION TOOL folder. locate and open the file. On the startup screen. 5 When the download is complete. so that you can find it easily when you have finished downloading. an electrical arc can occur. Worn contacts may create electrical resistance that can affect module operation. Slot numbers are identified on the green circuit board (backplane) of the ControlLogix rack. 5 6 Note: If you insert the module improperly. 3 4 With a firm but steady push. Warning: When you insert or remove the module while backplane power is on. This could cause an explosion in hazardous location installations. snap the module into place. You must identify the slot in which the module is installed in order for the sample program to work correctly. Verify that power is removed or the area is non-hazardous before proceeding. Refer to the documentation for each device you plan to connect to verify that suitable safety procedures are in place before installing or servicing the device. or even serious injury or death to personnel. Failure to follow safety procedures could result in damage to hardware or data. 2011 Page 15 of 255 .4 Start Here User Manual Installing the Module in the Rack If you have not already installed and configured your ControlLogix processor and power supply. Warning: You must follow all safety instructions when installing this or any other electronic devices. Check that the holding clips on the top and bottom of the module are securely in the locking holes of the rack. Inc. ProSoft Technology. Refer to your Rockwell Automation product documentation for installation instructions. March 22. or may behave unpredictably. please do so before installing the MVI56-PDPMV1 module. and slide it into the rack until the module is firmly against the backplane connector. 1 2 Turn power OFF. the system may stop working. Align the module with the top and bottom guides. Make a note of the slot location. Repeated electrical arcing causes excessive wear to contacts on both the module and its mating connector. Turn power ON.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1. 2.L5X Rung Import files that precisely match the module's configuration. For these applications. The version number appended to the sample file name (for example. NOTE: ControlLogix firmware versions 15 or earlier do not support Add-On Instructions (AOIs). and user-defined data types into one convenient import file. you will need to use the plain ladder logic sample programs.2. for advanced applications. It is best if the ControlLogix processor firmware version and sample program version match. For most applications. which encapsulate the ladder logic. 2011 .0 or later.5 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Choosing Sample Ladder Logic For Your Application The sample program for your MVI56-PDPMV1 module includes custom tags.Start Here User Manual 1.0 or later (page 107). see the section. the following process of sample ladder selection is not necessary. "_v13" or "_v15") indicates which ControlLogix firmware version the sample program was created to match. The inRAx Solutions CD provides several versions of the sample ladder logic. or later and follow the procedure found in the topic. March 22. For applications with ControlLogix firmware version 16 or newer.21 or later. Page 16 of 255 ProSoft Technology. For more details. status and alarm monitoring. Selecting and modifying sample logic will not be required if you use PCB 2. The next few topics will help you determine which sample programs will work best for your application. and mailbox messaging. Inc. if necessary. you can incorporate the sample program into your existing application.0. However. or. RSLogix 5000 can convert an older version sample to a later ControlLogix firmware version. The following criteria determine which sample program to select: o Processor Firmware Version o MVI56-PDPMV1 module firmware version o MVI56-PDPMV1 mode used (FLEX or LEGACY) Note: FLEX mode is available only for module firmware versions 1.0 and up allow you to export custom-made RSLogix 5000 . SPECIAL NOTE: For AOI applications created using ProSoft Configuration Builder (PCB) version 2. controller tags. you can run the sample ladder program without modification. Using the MVI56-PDPMV1 AddOn Instructions (page 24).2. PCB versions 2.2. Export the Processor Files for PCB v2. data types and ladder logic for data I/O. you can use the supplied AOI samples. March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 1. Start RSLogix 5000 and close any existing project that may be loaded.5. RSLogix will establish communication with the processor. click the GENERAL tab. 1 2 3 4 5 Connect an RS-232 serial cable from the COM (serial) port on your PC to the communication port on the front of the processor. In the Connected To Go Online dialog box. Inc. This may take a few moments. When RSLogix has established communication with the processor. 2011 Page 17 of 255 . the firmware version is 17. This tab shows information about the processor. Refer to your RSLinx and RSLogix documentation for help configuring and troubleshooting these applications. including the Revision (firmware) version. Open the COMMUNICATIONS menu and choose GO ONLINE. In the following illustration. ProSoft Technology.2.1 Determining the Firmware Version of Your Processor Important: The RSLinx service must be installed and running on your computer in order for RSLogix to communicate with the processor. the Connected To Go Online dialog box will open. March 22. it will search for the ControlLogix processor to establish backplane connectivity. view the debug menu messages that are printed during power-up for the module firmware version.xx" appears on the screen as shown in the following illustration. 2011 .Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1. or the processor is missing. or if the module is not located in the configured slot.21 or later. Inc.2 Determining the Firmware Version of the MVI56-PDPMV1 Module There are two ways to verify the module firmware version: Checking the Version During Power-Up When the module powers up. the module will not allow access to the debug menu and will print the message "Waiting for Connection to the processor…" Because debug menu access is not allowed at this point. the module firmware is version 1. If the correct ladder is not loaded to the processor.5. Refer to the message that appears just before the message "C>pb_msts1": If the message "MVI56-PDPMV1 Firmware Version = x. Page 18 of 255 ProSoft Technology. then after module power-up it will be possible to access the debug menu through ProSoft Configuration Builder (PCB). 1 Press [?] to display the main menu: ProSoft Technology. the module firmware version is 0.30. Checking the Version After Power-Up If the correct sample program (LEGACY or FLEX) is loaded into your processor and the module is located in same slot that was configured.xx" does not appear on the screen. Inc. 2011 Page 19 of 255 . March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual If the message "MVI56-PDPMV1 Firmware Version = x. March 22. LEGACY mode allows backward compatibility with firmware version 0.5.21 or later.30 must use the LEGACY sample program and fixed I/O sizes. output size = 248 words)  Status and Mailbox transferred through regular I/O blocks.Start Here User Manual 2 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Press [V] to display the module version information. Setting the parameter to YES says to use fixed I/O sizes in LEGACY mode. the USE LEGACY MODE configuration parameter in ProSoft Configuration Builder selects which mode you will use. Verify "SOFTWARE REVISION LEVEL" for the module firmware version (1. Inc.21 for the example below): 1.  MVI56-PDPMV1 firmware version 0.30 and implements the following features:  Fixed backplane I/O block size (input size = 250 words. This step is described in Select the Connection Parameters for the Module (page 69).3 Determining the Module Mode (LEGACY or FLEX) There are two versions of the sample program: LEGACY (fixed I/O sizes) and FLEX (variable I/O sizes) versions.  MVI56-PDPMV1 firmware version 1.21 or later can use either the LEGACY or FLEX mode sample programs. For module firmware version 1. 2011 . Page 20 of 255 ProSoft Technology. Setting the parameter to NO says to use variable I/O sizes in FLEX mode. which overrides the module RPI time and sends data as fast as possible.  Improves backplane performance by implementing the IOT instruction for Immediate Output Transfers. ProSoft Technology. 2011 Page 21 of 255 .  Supports IOT instruction for immediate write of backplane output. The flexible backplane I/O block size allows you to adjust the amount of data to transfer for any specific remote rack application and optimize network bandwidth utilization. Inc. output backplane block size can be set from 5 to 248 words). When transfer speed for smaller data configurations is a priority or when backward compatibility is not required. Slave Diagnostic. The same applies to Mailbox MSG data transfers. This means regular I/O block transfers are not needed for status data.  Status data is bought across the backplane as I/O data without the need for additional logic to trigger MSG instructions. configuration is simpler than FLEX mode. so process I/O data can be updated more often.  Improves backplane I/O block transfer performance by implementing MSG instructions to retrieve module status. which provides these advantages:  Makes it easier to support installing the module in a remote rack.  Since all parameters are fixed.  Status.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual LEGACY mode offers these advantages:  Works with all module firmware versions. consider using FLEX mode. use LEGACY mode for backward compatibility in older applications. March 22. and Mailbox data transferred through MSG instructions. FLEX mode implements the following features:  Supports variable backplane I/O block sizes (input backplane block size can be set from 12 words to 250 words.  For ControlLogix firmware version 15 or older.ACD MVI56PDPMV1_LEGACY_v16. The separate AOI .L5K file exists to make it easier to import the sample application into an existing project or new project file.21 or later 16 Y (LEGACY) 1.21 or later 17 Y (LEGACY) 1.ACD MVI56PDPMV1_LEGACY_v1_3. Using the MVI56-PDPMV1 Sample Ladder Logic (page 23).30 13 0.21 or later 17 N (FLEX) Sample Ladder Add-On Instruction MVI56PDPMV1_LEGACY_v13. which already have the AOI files imported.ACD MVI56PDPMV1_LEGACY_v13. you will use the Add-On Instruction (AOI) rung import (.  For ControlLogix firmware version 16. which encapsulate all the required ladder logic.ACD MVI56PDPMV1_FLEX_v16.ACD MVI56PDPMV1_FLEX_v17. You do not need to import the AOI . MVI56-PDPMV1 ControlLogix Use Legacy Version Version Mode parameter value 0.L5K files into any of the .4 Sample Program Summary Use the following table to determine which sample program to use for your application.L5X) files.5.ACD MVI56PDPMV1_LEGACY_v15.21 or later 13 Y (LEGACY) 1. Inc. ControlLogix versions 15 and earlier do not support Add-On Instructions.ACD ladder logic sample programs.21 or later 15 N (FLEX) 1.L5X MVI56PDPMV1_LEGACY_v1_3.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1. The plain ladder logic sample files (.L5K files into those older versions of RSLogix 5000.21 or later 13 N (FLEX) 1. March 22.21 or later 16 N (FLEX) 1.ACD) for versions 13 and 15 use the same logic as the AOI versions but display them as standard ladder logic.ACD MVI56PDPMV1_FLEX_v13.30 16 1.ACD MVI56PDPMV1_FLEX_v15.L5X MVI56PDPMV1_LEGACY_v1_3. refer to Using the MVI56-PDPMV1 Add-On Instructions (page 24). Page 22 of 255 ProSoft Technology.ACD MVI56PDPMV1_LEGACY_v15.21 or later 15 Y (LEGACY) 1. so do not try to import the AOI . controller tags.ACD).L5X Note: For ControlLogix version 16. and user-defined data types into a single import file.ACD MVI56PDPMV1_LEGACY_v16.L5X MVI56PDPMV1_FLEX_v1_2. or you can use the version 16 ladder logic sample files (. 2011 .L5X MVI56PDPMV1_FLEX_v1_2.ACD MVI56PDPMV1_LEGACY_v17.30 15 0. 2 Start RSLogix 5000 and close any project or programs that may open automatically when the program starts. 4 Manually copy the user-defined data types from the sample program and paste them into your existing application.6 Start Here User Manual Using the MVI56-PDPMV1 Sample Ladder Logic If you will be using ControlLogix firmware versions 16 or higher. 2 In a separate instance of RSLogix 5000. If you want to add the sample file to an existing application. March 22. 3 Follow the procedures for adding a Module to the project and setting Connection Parameters. then follow this procedure: 1 Copy any of the sample programs you may want to use from the distribution CD in a convenient folder on your local PC hard drive. 3 On the FILE menu.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1. The next step is to configure the correct controller type and slot number for your application. 5 Left-click the OPEN button. 6 Manually copy the ladder logic tasks and rungs from the sample program and paste them into your existing application. Inc.ACD file you wish to use.Legacy (page 25). ProSoft Technology. For details. If you will be using ControlLogix firmware versions 13 or 15. Creating the MVI56-PDPMV1 Module Profile Flex (page 50). 6 RSLogix will load the sample program. open the sample ladder logic you wish to use. as found in Creating the MVI56-PDPMV1 Module Profile . 2011 Page 23 of 255 . and Common Settings for All Sample Programs (page 65). do the following: 1 Open the RSLogix 5000 project . click the OPEN button. 5 Manually copy the controller tags from the sample program and paste them into your existing application. 4 Browse to the location where you saved the sample program files on your local drive and select (left-mouse-click) the one that matches your firmware version of your ControlLogix processor firmware. skip to the section on Common Settings for All Sample Programs (page 65). you may skip to the section on Using the MVI56-PDPMV1 Add-On Instructions (page 24). For earlier firmware versions.L5X file automatically imports the following components into an application:  User-defined data types  Controller tags and tag arrays  Add-On Instruction logic  Ladder rung required to call the Add-On Instruction This section will show the procedure on how to import the Add-On Instruction into your existing ladder for both module modes (LEGACY or FLEX). The . controller tags and tag arrays. and ladder logic required to set up the MVI56-PDPMV1 module in Legacy mode Page 24 of 255 ProSoft Technology. user-defined data types.30  MVI56-PDPMV1 module firmware version 1.21 (or later) AND configured in LEGACY mode (USE LEGACY MODE = YES) Before You Begin The following file is required before you start this procedure. 1. Importing the AOI reduces module setup time and simplifies your application logic.Start Here User Manual 1. refer to Using the MVI56-PDPMV1 Sample Ladder Logic (page 23). 2011 . Copy the file from the ProSoft Solutions CD-ROM. Inc.L5X (where * is the current sample program version number) L5X file containing Add-On Instruction.7 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Using the MVI56-PDPMV1 Add-On Instruction Note: This section applies only for applications with ControlLogix firmware version 16 or higher.prosoft-technology.7. The Add-On Instruction (AOI) is supplied already installed as part of a complete . or download it from www. March 22.1 LEGACY Sample Add-On Instruction Import Procedure Note: This section applies only if your application meets one or more of the following conditions:  MVI56-PDPMV1 module firmware version 0.L5X ladder import file that can be imported into an existing or new application. File Name Description MVI56PDPMV1_LEGACY_v*.ACD program file and also as an .com. choose NEW MODULE. Creating the Module . ProSoft Technology. and then choose NEW. This action opens the Select Module dialog box. 2011 Page 25 of 255 .MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Creating a New RSLogix5000 Project . select I/O CONFIGURATION and click the right mouse button to open a shortcut menu. 2 Select Revision 16.Legacy 1 Open the File menu.Legacy 1 Add the MVI56-PDPMV1 module to the project. In the Controller Organization window. March 22. On the shortcut menu. Inc. Inc. 2011 . This action opens the New Module dialog box.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2 Select the 1756-MODULE (GENERIC 1756 MODULE) from the list and click OK. Comm Format Select DATA-INT Slot Enter the slot number in the rack where the MVI56PDPMV1 module is located. Page 26 of 255 ProSoft Technology. Example: ProSoft communication module for PROFIBUS communication. March 22. Input Assembly Instance 1 Input Size 250 Output Assembly Instance 2 Output Size 248 Configuration Assembly Instance 4 Configuration Size 0 On the Connection tab. Click OK to confirm. set the RPI value for your project. 3 Set the Module Properties values as follows: 4 Parameter Value Name Enter a module identification string. Example: MVI56PDPMV1 Description Enter a description for the module. In the New Routine dialog box. choose NEW ROUTINE.0. On the shortcut menu.L5X files from PCB. Importing the Ladder Rung . choose IMPORT RUNG. Select an empty rung in the new routine. When using LEGACY mode. ProSoft Technology. version 2.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Now the MVI56-PDPMV1 module will be visible in the I/O Configuration section.L5X rung import file based on the configuration information you enter in PCB.LEGACY Note: ProSoft Configuration Builder (PCB). will allow you to export an . or higher. 1 2 3 4 5 Open your application in RSLogix 5000. enter the name and description of your routine. click the right mouse button to open a shortcut menu. On the MainProgram folder. 2011 Page 27 of 255 . Inc. For additional information on how to export custom-made . please see Exporting the Processor Files (page 105). and then click OK. On the shortcut menu.2. these custom export files will be very similar to the provided sample LEGACY AOI Rung Import files. Expand the Tasks folder. March 22. and then click the right mouse button to open a shortcut menu. and then expand the MainTask folder. Inc.L5X custom file you exported from PCB.ACD standard sample file. 2011 . 8 Page 28 of 255 ProSoft Technology.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 6 Select the MVI56PDPMV1_LEGACY_v*. this step is not required. 7 A window will be displayed showing the controller tags to be created during the import procedure. If you are using the module in a different slot (or remote rack) select the correct connection input and output variables to provide the correct path to the module. or the MVI56PDPMV1_LEGACY_AddOn_Rung_v1_2. and click the IMPORT button. If your module is located in Slot 1 of the local rack. March 22. ProSoft Technology. Inc. 2011 Page 29 of 255 .MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 9 Start Here User Manual Click OK to confirm the import. March 22. controller tags and tag arrays. and the Add-On Instruction to be used at your project. The procedure has also imported new user-defined data types. RSLogix will indicate that the import is in progress: 10 When the import is completed. the new rung with the Add-On Instruction will be visible as shown in the following illustration. 2011 .Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Adding Multiple Modules (Optional) . 3 Fill the module properties as follows: Page 30 of 255 ProSoft Technology. 2 Select 1756-MODULE. Inc.Legacy Important: If your application requires more than one MVI56-PDPMV1 module into the same project. click the right mouse button to open a shortcut menu. 1 In the I/O Configuration folder. March 22. and then choose NEW MODULE. follow the steps below. and then click OK. Inc. 7 ProSoft Technology. On the MainProgram folder. March 22. Example: ProSoft communication module for PROFIBUS communication. The new module is now visible: 5 6 Expand the Tasks folder. The remainder is reserved for PROFIBUS input data.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Parameter Value Name Enter a module identification string. The allowable range is from 12 to 250 words. Each input block will reserve 8 words for general purposes (CRC. Output Assembly Instance 2 Output Size Enter the number of words per backplane output block to copy from the module to the processor. Each output block will reserve 5 words for general purposes (CRC and block handshaking). In the New Routine dialog box. choose NEW ROUTINE. The remainder is reserved for PROFIBUS output data. and then expand the MainTask folder. The allowable range is from 5 to 248 words. Configuration Assembly Instance 4 Configuration Size 0 4 Click OK to confirm. Comm Format Select DATA-INT Slot Enter the slot number in the rack where the MVI56-PDPMV1 module is located. On the shortcut menu. Example: MVI56PDPMV1_2 Description Enter a description for the module. block/CIP handshaking). enter the name and description of your routine. 2011 Page 31 of 255 . click the right mouse button to open a shortcut menu. Input Assembly Instance 1 Input Size Enter the number of words per backplane input block to copy from the module to the processor. On the shortcut menu. Inc. and then click the right mouse button to open a shortcut menu. March 22. choose IMPORT RUNG. 2011 . 9 Select the file PS56PDPMV1_LEGACY_v*.L5X Page 32 of 255 ProSoft Technology.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 8 Select an empty rung in the new routine. March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 10 The following window will be displayed showing the tags to be imported: 11 Associate the I/O connection variables to the correct module. ProSoft Technology. 2011 Page 33 of 255 . Inc. The default values are Local:1:I and Local:1:O so these require change. Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 12 Change the default tags MVI56PDPMV1 and PS56PDPMV1 to avoid conflict with existing tags by append the string "_2" (or any other unique identifier string) as follows: 13 Click OK to confirm. Page 34 of 255 ProSoft Technology. The setup procedure is now complete. Inc. March 22. Save the project and download the application to your ControlLogix processor. 2011 . ProSoft Technology. select 1756-MODULE (GENERIC 1756 MODULE) from the list and. Inc. This action opens the Select Module Type dialog box. 3 In the Select Module Type dialog box. March 22. and then click OK. choose NEW MODULE.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Adding MVI56-PDPMV1 Logic To Existing Applications Perform the following steps to add the sample ladder logic into your existing application. The controller tags and user-defined data types provided with the sample ladder logic are critical to incorporating the MVI56-PDPMV1 into your application. On the shortcut menu. 1 2 Open your application in RSLogix 5000. 2011 Page 35 of 255 . In the Controller Organization list in RSLogix 5000. click the right mouse button on the I/O Configuration option to open a shortcut menu. This action opens the Module Properties dialog box. Legacy Mode Note: You cannot perform this procedure while you are online to the controller. Failure to set the correct parameters will result in backplane communication problems between the module and the processor. Refer to Open the Sample Program in RSLogix (page 16) to determine the correct version of the sample program to use. Page 36 of 255 ProSoft Technology. 6 7 Click FINISH to save the module into your existing application. DESCRIPTION and SLOT options for your application. You must select the COMM FORMAT as DATA .0 MS as shown in the following illustration.INT in the dialog box. Next. open the sample program in RSLogix 5000.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 4 In the Module Properties dialog box. March 22. enter the NAME. Inc. 2011 . 5 Click the CONNECTION tab and change the Requested Packet Interval to 5. using the examples in the following illustration. ProSoft Technology. 9 Copy and paste each of the user-defined types from the sample ladder logic into your existing application. and then import the CSV file (Tools/Import) into your existing application.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 8 Copy the ladder logic routines from the sample ladder logic into your existing application. March 22. 10 Export the controller tags from the sample program (Tools/Export) into a CSV file. 2011 Page 37 of 255 . Inc. Repeat this step for each subroutine. controller tags. 2011 .8] 1 Output 5 248 [bp output size . or download it from www.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1. and ladder logic required to set up the MVI56PDPMV1 module Flexible Connection I/O Length Overview This section describes the flexible backplane connection I/O concept.7. For applications where the module will be used in a remote rack.2 FLEX Sample Add-On Instruction Import Procedure Note: This section applies only if the MVI56-PDPMV1 firmware version is 1. Copy the file from the ProSoft Solutions CD-ROM.21 (or later) AND configured in FLEX mode (USE LEGACY MODE = NO) Before You Begin The following file is required before you start this procedure.com. Page 38 of 255 ProSoft Technology. The connection parameters may assume values within the following ranges: Minimum Size (16-bit) Maximum Size (16. Inc.5] 2 Configuration 0 0 not used 4 For applications where the module will be used in the local rack (the same rack as the ControlLogix processor). File Name Description PS56PDPMV1_FLEX_v*. The configured sizes will have an impact on the number of blocks required to transfer the entire PROFIBUS I/O database between the ControlLogix processor and the MVI56-PDPMV1 module.Maximum PROFIBUS data count per bit) block (16-bit) Assembly Instance Input 12 250 [input size . However.prosoft-technology. doing so will increase the number of backplane block transfers and have a negative effect on overall backplane data transfer efficiency. user-defined data types. use the maximum backplane I/O sizes. Reducing the number of words per backplane block may improve the ControlNet or EtherNet/IP network performance. use the backplane I/O sizes that will provide optimal network performance (PROFIBUS and ControlNet or EtherNet/IP).L5X (where * is the current sample program version number) L5X file containing Add-On Instruction. March 22. you must also update the following data types with the new sizes. if the module profile is configured as: ProSoft Technology.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual IMPORTANT: ControlLogix Version 16 with FLEX Mode If you change the connection sizes in the module profile. Failure to do so will prevent the module from establishing backplane communication with the ControlLogix processor. Example 1 For the following example. The connection I/O sizes defined in the module profile must always match the following user-defined data types: PDPMV1_CONNECTION_INPUT PDPMV1_CONNECTION_OUTPUT You will also need to adjust limits in some of the ladder logic or AOI logic. (page 41) The array sizes must be modified (in the Data Type column) to match the connection sizes configured in the module profile. see Adjusting the Connection Sizes for Your Application. March 22. For additional details. 2011 Page 39 of 255 . Inc. Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Then. You must subtract these reserved words from the total I/O block size to calculate the actual number of PROFIBUS I/O data per backplane I/O block and where the break points between data blocks will be in the PROFIBUS data arrays. Inc. March 22. the PDPMV1_CONNECTION_INPUT user-defined data type must have an array size of 250 words. 2011 . the PDPMV1_CONNECTION_OUTPUT user-defined data type must have an array size of 248 words. The backplane input block reserves 8 words for general purposes and the backplane output block reserves 5 words. as shown in the following illustration. And. Page 40 of 255 ProSoft Technology. Note: Each backplane block contains certain registers reserved for general purposes (nonPROFIBUS data transfer). as shown in the following illustration. If this is the case. Inc. If you use the custom import files. March 22. 2011 Page 41 of 255 . Exporting the Processor Files (page 105). double-click PDPMV1_CONNECTION_INPUT data type. The information provided in this topic shows you what kind of modifications are being done automatically for you by PCB. all you need to do is import the custom . ProSoft Technology. please see the topic. This information can also help you manually edit the standard FLEX sample files to better fit your application or help you determine what kinds of modifications you might need to make to any existing applications you may already be using.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Adjusting the Connection Sizes for Your Application Note: ProSoft Configuration Builder (PCB).L5X file according to the procedure found in Importing the Ladder Rung: FLEX (page 53). The newer versions of PCB allow you to export custom-made RSLogix 5000 .0. 1 2 The AOI Connection Input and Output parameters use certain data type sizes that must be set based on how you configured the MVI56-PDPMV1 module. it will be done for you already. For additional information on how to export custom-made . or higher. These custom files will be similar to the provided sample AOI Rung Import files but will already include the adjustments shown in the next few topics.L5X Add-On Instruction (AOI) Rung Import files that are already tailored to your application-specific configuration. In the DATA TYPES/USER-DEFINED folder. will automatically make the following adjustments for you based on the configuration information you enter in PCB. version 2.L5X files from PCB.2. you will not need to do any of the following. March 22.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3 Adjust the array size for your application. Inc. This example is for 250 input words. 4 In the DATA TYPES/USER-DEFINED folder. The default array size is INT[250] (maximum size). double-click PDPMV1_CONNECTION_OUTPUT data type. Page 42 of 255 ProSoft Technology. 2011 . 6 The imported ladder rung has also used the default I/O settings (Input Count = 250 words. The default uses 250 words. The default array size is INT[248] (maximum size).MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 5 Adjust the array size for your application. since this is the last element of the array of 250 words. set the last element as 121. If different values are used. This example is for 248 output words. The default refers to element 249. Output Count = 248 words). if the module connection input is set as 122 words. make the following changes to the ladder logic: COP Instruction (input) Change the Length to match the number of input words configured for the module. March 22. Inc. NEQ Instruction Change the array element as the last element of the connection input array. For example. 2011 Page 43 of 255 . ProSoft Technology. The default uses 248 words.FLEX application For this example. if your application requires the PROFIBUS total data sizes configured as follows (through the ProSoft Configuration Builder):  PROFIBUS INPUT DATA SIZE: 100 WORDS  PROFIBUS OUTPUT DATA SIZE: 100 WORDS Then. Inc. using different backplane I/O sizes for the same PROFIBUS I/O size. March 22.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master COP Instruction (output) Change the Length to match the number of output words configured for the module. the following four scenarios illustrate the flexible I/O size functionality (FLEX). Example . 2011 . Page 44 of 255 ProSoft Technology. so the data fits into one backplane I/O block. each backplane block reserves 100 words for PROFIBUS data. The module will generate two block IDs. Backplane Block Overview Block Number Input/ Output Total word count PROFIBUS Data in backplane Word Count in block backplane block Initial PROFIBUS Data Word Offset in backplane block Last PROFIBUS Data Word Offset in backplane block 0 Input 108 100 0 99 1 Input 108 100 0 99 0 Output 105 100 0 99 1 Output 105 100 0 99 ProSoft Technology. March 22. blocks 0 and 1. Inc. but both blocks will contain the same data. as required for the ladder logic to function correctly. in order to force a Block ID switch. 2011 Page 45 of 255 .MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Scenario 1: The PROFIBUS data fits into one backplane block This example uses the following backplane configuration: For this scenario. The previous example is a more efficient configuration that will accomplish the same thing.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Scenario 2: The PROFIBUS data fits into two backplane blocks (different PROFIBUS data count per block) For this example. block 0 is no longer required because there are two backplane blocks with different data. Note: For this scenario. March 22. Backplane Block Overview Block Number Input/ Output Total word count in backplane block PROFIBUS Data Word Count in backplane block Initial PROFIBUS Data Last PROFIBUS Data Word Offset in Word Offset in backplane block backplane block 1 Input 107 99 0 98 2 Input 107 1 99 99 1 Output 104 99 0 98 2 Output 104 1 99 99 Note: This configuration would be inefficient and is therefore not recommended. 2011 . each backplane block reserves a maximum of 99 words for PROFIBUS I/O data. Inc. Page 46 of 255 ProSoft Technology. The configured PROFIBUS I/O size (100 words) will not fit into one block. using the following backplane configuration: For this scenario. This example is here solely to illustrate how changing the I/O sizes without changing the amount of PROFIBUS data to be transferred will affect the number of I/O data blocks the module will need to transfer. so two backplane input blocks and two backplane output blocks will be required to transfer the entire PROFIBUS I/O data. we will subtract one word for each I/O backplane block. The first example (Scenario 1) is a more efficient configuration that will accomplish the same thing. ProSoft Technology. each backplane block reserves 50 words for PROFIBUS I/O data. using the following backplane configuration: For this scenario. This example is here solely to illustrate how changing the I/O sizes without changing the amount of PROFIBUS data to be transferred will affect the number of I/O data blocks the module will need to transfer. 2011 Page 47 of 255 . March 22. we will split the PROFIBUS data evenly within two backplane blocks. Backplane Block Overview Block Input/ Total word count PROFIBUS Data Number Output in backplane Word Count in block backplane block Initial PROFIBUS Data Word Offset in backplane block Last PROFIBUS Data Word Offset in backplane block 1 Input 58 50 0 49 2 Input 58 50 50 99 1 Output 55 50 0 49 2 Output 55 50 50 99 Note: This configuration would be inefficient and is therefore not recommended. so two backplane input blocks and two backplane output blocks will be required.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Scenario 3: The PROFIBUS data fits into two backplane blocks (same PROFIBUS data count per block) For this example. The configured PROFIBUS I/O size (100 words) will not fit into one block. Inc. Inc. March 22.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Scenario 4: The PROFIBUS data fits into ten backplane blocks (same PROFIBUS data count per block) For this scenario. The configured PROFIBUS I/O size (100 words) will not fit into one block. each backplane block reserves 10 words for PROFIBUS I/O data. 2011 . The first example (Scenario 1) is a more efficient configuration that will accomplish the same thing much faster with one backplane transfer. This example is here solely to illustrate how changing the I/O sizes without changing the amount of PROFIBUS data to be transferred will affect the number of I/O data blocks the module will need to transfer. so ten backplane input blocks and ten backplane output blocks will be required. Page 48 of 255 ProSoft Technology. Backplane Block Overview Block Number Input/ Output Total word count in Backplane block 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 Input Input Input Input Input Input Input Input Input Input Output Output Output Output Output Output Output Output Output Output 18 18 18 18 18 18 18 18 18 18 15 15 15 15 15 15 15 15 15 15 PROFIBUS Data Word Count in backplane block 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 Initial PROFIBUS Data Word Offset in backplane block 0 10 20 30 40 50 60 70 80 90 0 10 20 30 40 50 60 70 80 90 Last PROFIBUS Data Word Offset in backplane block 9 19 29 39 49 59 69 79 89 99 9 19 29 39 49 59 69 79 89 99 Note: This configuration would be extremely inefficient and is therefore not recommended. ProSoft Technology. 2 Select Revision 16. 2011 Page 49 of 255 . March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Creating a New RSLogix5000 Project 1 Open the File menu and then choose NEW. Inc. Flex 1 Right-click I/O CONFIGURATION and then choose NEW MODULE. 2011 . March 22.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Creating the MVI56-PDPMV1 Module Profile . 2 Select 1756-MODULE. Inc. Page 50 of 255 ProSoft Technology. The allowable range is from 12 to 250 words. Each input block will reserve 8 words for general purposes (CRC. The remainder is reserved for PROFIBUS output data. The remainder is reserved for PROFIBUS input data. 5 Click the CONNECTION tab. block/CIP handshaking). Output Assembly Instance 2 Output Size Enter the number of words per backplane output block to copy from the module to the processor. and then enter the Requested Package Interval (RPI) value. Comm Format Select DATA-INT Slot Enter the slot number in the rack where the MVI56-PDPMV1 module is located. o If the module is located in the local rack (same rack where the processor is located) or in a remote rack connected through EtherNet/IP adapters.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3 Start Here User Manual Fill the module properties as follows: Parameter Value Name Enter a module identification string. March 22. 2011 Page 51 of 255 . adjust the RPI time to be not less than 5 MS and not less than (and. Example: ProSoft communication module for PROFIBUS communication. Configuration Assembly Instance 4 Configuration Size 0 4 The following illustration shows an example for a local rack application where the module was set with the maximum backplane I/O sizes (250/248 words). preferably. o If the module is located in a remote rack connected through ControlNet adapters. Input Assembly Instance 1 Input Size Enter the number of words per backplane input block to copy from the module to the processor. The allowable range is from 5 to 248 words. ProSoft Technology. Each output block will reserve 5 words for general purposes (CRC and block handshaking). some even multiple of) the RSNetWorx for ControlNet Network Update Time (NUT). Inc. select the maximum value of 750 MS. Example: MVI56PDPMV1 Description Enter a description for the module. March 22. Now the MVI56-PDPMV1 module will be visible in the I/O Configuration section. 2011 . Inc. Page 52 of 255 ProSoft Technology.Start Here User Manual 6 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Click OK to confirm. or the MVI56PDPMV1_FLEX_AddOn_Rung_v1_2. and click the IMPORT button. 2 Expand the Tasks folder. and then expand the MainTask folder. select an empty rung. March 22. 4 Select the PS56PDPMV1_FLEX_v*. On the shortcut menu.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Importing the Ladder Rung . 3 In the MainProgram folder. Inc.L5X custom file you exported from PCB. and then click the right mouse button to open a shortcut menu. choose IMPORT RUNG.Flex 1 Open your application in RSLogix 5000.L5X standard sample file. 2011 Page 53 of 255 . ProSoft Technology. The I/O connection parameters will be set (as default) as LOCAL:1:I and LOCAL:1:O. 6 If your module is located in a different slot or in a remote rack. which assumes that the module is located at the local rack and Slot 1.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5 The following window will be displayed showing the controller tags associated with the project. 2011 . Inc. March 22. modify the parameters to set the correct path to the module. as follows: Page 54 of 255 ProSoft Technology. ProSoft Technology. March 22. The new Add-On Instruction can also be used through the new toolbar button (at Add-On tab).MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 7 Click OK to confirm the import. controller tags. and controller tag arrays. 8 The new rung will be now visible in the ladder logic showing also the PS56PDPMV1_FLEX Add-On Instruction. Inc. 9 The procedure has also imported new user-defined data types. 2011 Page 55 of 255 . and then choose NEW MODULE. 1 In the I/O Configuration folder. 2 Select 1756-MODULE. click the right mouse button to open a shortcut menu. Page 56 of 255 ProSoft Technology. March 22.Flex Important: If your application requires more than one MVI56-PDPMV1 module into the same project.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Adding Multiple Modules (Optional) . 2011 . Inc. follow the steps below. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3 Start Here User Manual Fill the module properties as required: Parameter Value Name Enter a module identification string. Example: MVI56PDPMV1_2 Description Enter a description for the module. Example: ProSoft communication module for PROFIBUS communication. Comm Format Select DATA-INT Slot Enter the slot number in the rack where the MVI56-PDPMV1 module is located. Input Assembly Instance 1 Input Size Enter the number of words per backplane input block to copy from the module to the processor. The allowable range is from 12 TO 250 words. Each input block will reserve 8 words for general purposes (CRC, block/CIP handshaking). The remainder is reserved for PROFIBUS input data. Output Assembly Instance 2 Output Size Enter the number of words per backplane output block to copy from the module to the processor. The allowable range is from 5 TO 248 words. Each output block will reserve 5 words for general purposes (CRC and block handshaking). The remainder is reserved for PROFIBUS output data. Configuration Assembly Instance 4 Configuration Size 0 4 Click OK to confirm. The new module is now visible: 5 6 Expand the Tasks folder, and then expand the MainTask folder. On the MainProgram folder, click the right mouse button to open a shortcut menu. On the shortcut menu, choose NEW ROUTINE. In the New Routine dialog box, enter the name and description of your routine, and then click OK. 7 ProSoft Technology, Inc. March 22, 2011 Page 57 of 255 Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 8 Select an empty rung in the new routine, and then click the right mouse button to open a shortcut menu. On the shortcut menu, choose IMPORT RUNG. 9 Select the PS56PDPMV1_FLEX_v*.L5X standard sample file, or the MVI56PDPMV1_FLEX_AddOn_Rung_v1_2.L5X custom file you exported from PCB, and click the IMPORT button. Page 58 of 255 ProSoft Technology, Inc. March 22, 2011 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 10 The following window will be displayed showing the tags to be imported: 11 Change the names of all controller tags to avoid a conflict with the existing names. In this step, you should append a string to the default tag names, such as "_2", as shown in the following illustration. ProSoft Technology, Inc. March 22, 2011 Page 59 of 255 Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 12 For the connection I/O variables, select the variables associated to the correct module as follows: Input Connection Variable Page 60 of 255 ProSoft Technology, Inc. March 22, 2011 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual Output Connection Variable 13 Click OK to confirm the import procedure. ProSoft Technology, Inc. March 22, 2011 Page 61 of 255 March 22. Select the Communication path as follows: Page 62 of 255 ProSoft Technology. You must re-define the path accordingly for each MESSAGE tag associated to the Add-On Instruction. Inc.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 14 The new rung will now be visible in the ladder logic. 15 The module name associated with the project uses a different name than the standard "MVI56PDPMV1". 2011 . Click the symbol to set up each MESSAGE tag. Inc. ProSoft Technology. 2011 Page 63 of 255 . Repeat this procedure for every MESSAGE tag associated to the Add-On Instruction. 17 Click OK to confirm the MESSAGE configuration.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 16 Select the BROWSE button and select the correct module to be associated to the MESSAGE instruction. Click OK to confirm. March 22. March 22. Page 64 of 255 ProSoft Technology. 2011 . Inc.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master The setup procedure is now completed and the processor is ready to communicate with the MVI56-PDPMV1 module. 1. Specific settings for these parameters vary based on which sample is used and the details of your specific custom application. To change the controller type 1 In RSLogix 5000. right-click the Controller <Name> folder at the top of the Controller Organizer pane to open a shortcut menu. or you may left-click the Processor icon in the Online Toolbar .1 Choosing the Controller Type This sample application shows a 1756-L63 ControlLogix 5563 Controller selected. March 22. 2011 Page 65 of 255 . If you are using a different model of the ControlLogix processor. you must configure the sample program to use the correct processor model. once you have loaded a sample program or started a new project. ProSoft Technology.8 Start Here User Manual Common Settings for All Sample Programs Certain parameter options are common to all the various versions of ladder logic and Add-On Instruction sample programs.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1.8. Inc. 2011 . choose PROPERTIES. Page 66 of 255 ProSoft Technology. March 22.Start Here User Manual 2 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master On the shortcut menu. Inc. This action opens the Controller Properties dialog box. 4 5 6 7 Open the TYPE drop-down list. Click OK to save your changes and return to the previous window. 2011 Page 67 of 255 . March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 3 Click the CHANGE CONTROLLER button. Select the chassis type that matches your specific installation. and then select your ControlLogix controller. This action opens the Change Controller dialog box. ProSoft Technology. Inc. Select the correct firmware revision for your controller. choose PROPERTIES. variables and ladder logic rungs that use the MVI56-PDPMV1 slot number for computation.8. To change the slot number 1 2 In the Controller Organization list.2 Selecting the Slot Number for the Module This sample application is for a module installed in Slot 1 in a ControlLogix rack. The ladder logic uses the slot number to identify the module.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1. 3 Page 68 of 255 ProSoft Technology. If you are installing the module in a different slot. Inc. you must update the ladder logic so that program tags and variables are correct. 2011 . select the module and then click the right mouse button to open a shortcut menu. and do not conflict with other modules in the rack. RSLogix will automatically apply the slot number change to all tags. This action opens the Module Properties dialog box. and then click OK. use the spinners on the right side of the field to select the slot number where the module will reside in the rack. On the shortcut menu. In the Slot field. March 22. refer to Setting Module Parameters (page 82).21 or later only. For more information. 2011 Page 69 of 255 . March 22. The following settings are configured in ProSoft Configuration Builder for modules with firmware version 1. keep in mind to set the Use Legacy Mode parameter to match the sample program version (LEGACY or FLEX) that you selected and loaded.8. Inc. Select LEGACY mode (USE LEGACY MODE = Y) ProSoft Technology. the connection parameters may be set as Fixed or Flexible lengths. Depending on these factors.3 Selecting the Connection Parameters for the Module The connection parameters will determine the number of words each backplane I/O block will contain for data transfer between the processor and the module. The input and output backplane block sizes will depend on the MVI56-PDPMV1 version and the selected mode (LEGACY or FLEX). the module will not function. Note that the parameters that are displayed on the Edit screen vary depending on whether YES or NO is selected for the Use Legacy Mode parameter. While following the procedures in the appropriate sections. If you get a mismatch between this parameter setting and the sample ladder program loaded.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 1. 2011 .Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Select FLEX mode (USE LEGACY MODE = N) Set Module Properties in RSLogix 5000 According to Mode Selected For additional details about setting connection parameters for FLEX mode. Inc. see Adjust the Connection Sizes for Your Application (page 41). March 22. Page 70 of 255 ProSoft Technology. 8.30  MVI56-PDPMV1 module firmware version 1.4 Selecting the RPI Time for the Module Refer to the Connection tab and enter the RPI time. The RPI time to enter depends on your application as follows: RPI Time 5 to 750 milliseconds For ANY of the following conditions  MVI56-PDPMV1 module firmware version 0. The connection is scheduled to move data to or from the module at least this often.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 1. ProSoft Technology.21 (or later) AND configured in LEGACY mode (USE LEGACY MODE = YES)  MVI56-PDPMV1 module firmware version 1.21 (or later) AND configured in FLEX mode (USE LEGACY MODE = NO) AND MVI56-PDPMV1 is located in a remote rack through ControlNet Enter the RPI time that will provide optimum backplane performance for your application. 2011 Page 71 of 255 . Inc. within the range from 5 MS to 750 MS. March 22. previous controller tags and ladder logic must be manually deleted before the new rung export file can be successfully imported. Inc.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master RPI Time 750 milliseconds If ALL of the following conditions are true:  MVI56-PDPMV1 module firmware version 1.2. you must do the following steps in the order shown: Page 72 of 255 ProSoft Technology.0 and up only) NOTE: This procedure must be used anytime you wish to change the module configuration after the first time an AOI rung import was performed.21 (or later)  MVI56-PDPMV1 module configured in FLEX mode (USE LEGACY MODE = NO)  MVI56-PDPMV1 module is located in either the local rack or remote rack through EtherNet/IP adapters For optimal performance set the RPI time as 750 MS. To successfully complete this update procedure.2.8. March 22.5 Changing and Importing Configuration Changes (for PCB v 2. Setting a lower RPI time will cause unnecessary interrupts to the module.0 or later (page 107). This procedure assumes you have already made your configuration changes and have re-exported the processor files according the procedure specified in Export the Processor Files for PCB v2. 1. Failure to follow this procedure may result in the module becoming non-functional. 2011 . the module will use the IOT (Immediate Output) instruction that will override the configured RPI time. For changes to be effective. delaying data updates and lowering data throughput. For this scenario. 2011 Page 73 of 255 . DELETE all the controller tags associated with the AOI import. Inc. ProSoft Technology.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Start Here User Manual 1 DELETE the existing ladder logic rung that contains the previously imported Add-On Instruction (AOI) ladder file. March 22. 2 Go to the Controller Tags window and select the EDIT TAGS tab. 4 Go to the Data Types folder. to the User-Defined sub-folder.Start Here User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3 Go to the Add-On Instructions folder in the project tree. March 22. DELETE the "AOI56PDPMV1_FLEX" AOI that was created by the original import. Inc. DELETE the following user-defined data types in the following order: a) PDPMV1_Connection_Input b) PDPMV1_Connection_Output c) PDPMV1_PBInF d) PDPMV1_PBOutF e) PDPMV1_ModuleDefinition f) PDPMV1_UTIL g) PDPMV1_Configuration h) PDPMV1_Backplane_IOSize i) PDPMV1_PROFIBUS_IOSize j) PDPMV1_Status k) PDPMV1_StatusControl l) PDPMV1_Module Page 74 of 255 ProSoft Technology. 2011 . If the two names are not identical.0 or later (page 107). If you receive any warning messages from RSLogix 5000.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5 Start Here User Manual Go to the I/O Configuration folder. Inc. Locate the MVI56-PDPMV1 and right-click on it to open a context menu. you are ready to import your new ladder rung file with your configurations changes. the import may appear to have completed successfully. The name you enter in PCB is used to create a communication path for the Status and Acyclic Data MSG instructions. 6 At this point. You can eliminate any such warning messages by deleting all UDTs before importing the new ladder rung file. about duplicate data types being overwritten or not imported. The module will function correctly. Check and edit (if necessary) the INPUT and OUTPUT Sizes in the Module Properties dialog box so that they match those you configured for the module in the ProSoft Configuration Builder (PCB) MVI Profibus Master DPV1 edit window. REMEMBER: It is also critically important that the I/O Configuration Module Name on the PCB Edit box be set to match the Name parameter in the RSLogix5000 Module Properties box. ProSoft Technology. March 22. 2011 Page 75 of 255 . then left-click on PROPERTIES to open the Module Properties dialog box. you may safely ignore these messages. during or after the import. Exporting the Processor Files for PCB v2. but the module will not work correctly because the MSG instructions will not have the correct module name in the MSG instruction Communication tab Path parameter.2. Please return to the previous section and follow the procedure found in the topic. You will be able to see the numbers change in the MVI56PDPMV1. RSLogix will open a confirmation dialog box. open the COMMUNICATIONS menu. If you are not already online with the processor. RSLogix will compile the program and transfer it to the processor.Start Here User Manual 1. Click the DOWNLOAD button to transfer your application project to the processor. RSLogix will establish communication with the processor. 1 2 3 4 5 Connect to the processor using the best available method. Be sure you have saved a copy of the latest version of your RSLogix 5000 project file before you attempt a download. 2011 . and doubleclick MainRoutine. When communication is established. refer to your RSLogix documentation to interpret and correct the error. Page 76 of 255 ProSoft Technology. Note: If you receive an error message during these steps. and then choose DOWNLOAD. March 22. This process may take a few minutes.Util.9 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Downloading the Sample Program to the Processor To download the sample program from RSLogix 5000 to the ControlLogix processor Note: The key switch on the front of the ControlLogix module must be in the REM position. Click OK to switch the processor from Program mode to RUN mode.LastRead area in Rung 0 of the MainRoutine program. open the Main Program folder in the Controller Organization pane in RSLogix. RSLogix will open another confirmation dialog box. 6 To verify that the processor is communicating with the module. When the download is complete. Inc. March 22. Inc. 2011 Page 77 of 255 .MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 1.10 Start Here User Manual Connecting Your PC to the Module With the module securely mounted. 1 Connect the RJ45-DB-9 Serial Adapter Cable to the Null Modem Cable. 2 Insert the RJ45 cable connector from the RJ45-DB-9 cable into the Configuration/Debug port of the module. ProSoft Technology. 3 Attach the other end to the serial port on your PC. connect your PC to the Configuration/Debug port using the RJ45-DB-9 Serial Adapter Cable and the Null Modem Cable included in the package with the MVI56-PDPMV1 module. March 22. 2011 . Inc.Start Here User Manual Page 78 of 255 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master ProSoft Technology. ........................................ March 22..... ProSoft Technology has provided a configuration tool called ProSoft Configuration Builder (PCB) that will help you with the following tasks:  Creating a configuration project (page 80)  Setting module parameters (page 82)  Configuring the PROFIBUS network (page 84) (Master and slaves)  Downloading the project to the module (page 111) The following topics of this chapter explain each task step-by-step....................................... 2011 Page 79 of 255 ....................................... 123 Because the task of configuring the PROFIBUS network can be challenging............................. ProSoft Technology............................ Inc...............................................................MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2 Configuring the MVI56-PDPMV1 Module User Manual Configuring the MVI56-PDPMV1 Module In This Chapter  Setting Up the Project ....... 82  Configuring the PROFIBUS Master ................................ 84  Downloading the Project to the Module ........ 111  Verifying Correct Operation ..... 80  Setting Module Parameters .................... March 22. Page 80 of 255 ProSoft Technology. When you first start PCB. the tree view consists of folders for Default Project and Default Location. you will find the screen layout familiar.Configuring the MVI56-PDPMV1 Module User Manual 2. Inc. with a Default Module in the Default Location folder.1 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Setting Up the Project To begin. and then click the right mouse button to open a shortcut menu. 2011 . Start configuring the module by adding the MVI56-PDPMV1 module to the project. The following illustration shows the PCB window with a new project. 1 Use the mouse to select DEFAULT MODULE in the tree view. start ProSoft Configuration Builder (PCB). and an information pane and configuration pane on the right side of the window. ProSoft Configuration Builder’s window consists of a tree view on the left. If you have used other Windows configuration tools before. 3 In the Product Line Filter area of the dialog box. select MVI56-PDPMV1. This action opens the Choose Module Type dialog box. and then click OK to save your settings and return to the main PCB window.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual 2 On the shortcut menu. In the Select Module Type dropdown list. choose CHOOSE MODULE TYPE. ProSoft Technology. 2011 Page 81 of 255 . Inc. select MVI56. March 22. To change a value. The red "X" icon indicates that the module’s configuration is incomplete. 2011 .2 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Setting Module Parameters Notice that the contents of the information pane and the configuration pane changed when you added the MVI56-PDPMV1 module to the project. you will provide the missing information to make the red "X"s go away. In the following steps. 3 In the Edit dialog box. 2 Double-click the MVI56 PROFIBUS MASTER object. select the parameter to modify in the left pane. Page 82 of 255 ProSoft Technology. and then expand the MVI PDPM-V1 tree. 1 Click the plus sign [+] next to the module to expand the module tree. Inc. configure the values for INPUT DATA SIZE and OUTPUT DATA SIZE (PROFIBUS input and output words) to match the values required by your application. March 22. and then type the new value in the edit field in the right pane.Configuring the MVI56-PDPMV1 Module User Manual 2. This action opens the Edit dialog box. ProSoft Technology. the input and output data size values should both be 768. To rename an object 1 2 3 Select the object. Inc. March 22. choose RENAME. 2011 Page 83 of 255 . Type the name to assign to the object. and then click the right mouse button to open a shortcut menu. From the shortcut menu.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual For the sample application. Note: Select the module mode (FLEX or LEGACY) to match the sample program previously selected as follows:  If you chose a FLEX sample: Set USE LEGACY MODE = NO  If you chose a LEGACY sample: Set USE LEGACY MODE = YES 4 Click OK to save your settings and return to the main PCB window. Click away from the object to save the new name. At this time. you may wish to rename the DEFAULT PROJECT and DEFAULT LOCATION folders in the tree view. 1 In PCB tree view. Note: The PROFIBUS tab contains the address setting and advanced configuration settings for the Master. name your PROFIBUS drop. you will download the configuration information to the MVI56 module. When this step is complete. Page 84 of 255 ProSoft Technology. March 22. Inc. 2 In the PDPMV1 PROFIBUS Master Setup dialog box. click the CONFIGURE PROFIBUS button. You will also export the I/O maps for the processor. and then add PROFIBUS slaves to the PROFIBUS network. This is automatically done by the software for new applications.Configuring the MVI56-PDPMV1 Module User Manual 2. click [+] to expand the MVI56-PDPMV1 tree. 4 Drag the PROFIBUS Master icon into the Bus Configuration window. 7 Click OK to save your changes and return to the Bus Configuration window. This action opens the Master Properties dialog box. The default settings on this tab work best in most applications. This action opens the ProSoft Configuration Builder for PROFIBUS application. This action opens the PDPMV1 PROFIBUS Master Setup dialog box. 5 Double-click the PROFIBUS MASTER icon in the Bus Configuration window. 6 On the Common tab. and then double-click the PROFIBUS DP icon.3 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the PROFIBUS Master In this task. you will configure the PROFIBUS Master. 3 Click [+] to expand the PROFIBUS Master tree. 2011 . 3. Slave device files sometimes come in various languages. Just because you may have an older GSD file from a manufacturer for the particular make and model of your slave device does not guarantee it will work for a newer revision of that device. it is a common practice to use the third letter of the file extension to indicate the language used in the file.GSE will usually be in English o .1 Installing the GSD Files ProSoft Configuration Builder (PCB) uses PROFIBUS slave device definition files (GSD files) to obtain basic configuration information about the PROFIBUS slaves you add to the network.GSD is the most commonly used file extension and will usually be in either English or German o . Be sure you obtain from the device manufacturer the correct GSD file or files for your PROFIBUS slave or slaves. March 22. GSD files are often both model number specific as well as model revision specific.GSF will usually be in French o other combinations may also be seen. as well as other languages using the letters indicated above Follow these steps to install the GSD file or files for your slave device or devices. Slave device manufacturers provide the GSD files for the equipment they make. Before installing GSD files.GSS will usually be in Spanish o . browse the list of available slaves in the Tree View window to see if GSD files for your slave are already installed. When a manufacturer provides slave device files in several languages.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual 2. The GSD configuration files identify the slave’s capabilities so that the MVI56-PDPMV1 can communicate with it correctly. Inc. For instance: o . ProSoft Technology. Tip: GSD configuration files for popular PROFIBUS slaves and ProSoft Technology solutions are included with PCB. 2011 Page 85 of 255 . the actual extension may be ".3. This action opens the PDPMV1 PROFIBUS Master Setup dialog box.GSD". and then double-click the PROFIBUS DP icon. Use the FILE / OPEN dialog box to browse for the location of the image file to use. (Depending on the device and language used in the file. click [+] to expand the module tree. and then click OPEN. This action opens the ProSoft Configuration Builder for PROFIBUS application. March 22. ". If the file already exists in the configuration file path. Download the PROFIBUS Master configuration to the MVI56-PDPMV1 module.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master To install GSD files manually 1 2 3 4 5 In ProSoft Configuration Builder tree view. 2. and a generic device icon will be used in the Bus Configuration window for this slave device. where "*" is a wildcard that stands for any letter. Click the CONFIGURE PROFIBUS button. Open the TOOLS menu. This action opens a dialog box that allows you to browse for the location of the GSD configuration files to install.2 Configuring the PROFIBUS Slaves There are two essential steps to configuring a slave: 1 Add the slave in ProSoft Configuration Builder (PCB) as a device connected to the PROFIBUS Master. specifying the slave address and any necessary input and output configuration. Verify that the slave address configured in the slave module matches the slave address configured in PCB.GS*" files.GSE". Download the PROFIBUS Slave configuration to the slave module. Inc.) Choose the file to install.GSS". 2011 . you may CANCEL the bitmap upload. You will be prompted to associate the GSD configuration file with a bitmap image of the slave device. If you have no device-specific bitmap file. you will be prompted to overwrite the file. hence the generic reference to ". Page 86 of 255 ProSoft Technology. ". for some PROFIBUS slaves). 2 Configure the slave (using PCB or the configuration tool supplied by the manufacturer. and then choose INSTALL NEW GS* FILE. or other combinations. Inc. 2 Navigate to the PLC/Siemens folder containing the EM 277 slave device to add. click the plus sign [+] to expand the PROFIBUS DP tree. and then click the plus sign [+] to expand the folder. 1 In ProSoft Configuration Builder for PROFIBUS.GSD file) for this module is already installed with ProSoft Configuration Builder. 2011 Page 87 of 255 . March 22. ProSoft Technology. The configuration information (.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual Scanning for Slaves Manually The following steps describe how to add and configure a Siemens EM 277 PLC as a slave module. Inc. March 22. This action adds the slave device and connects it to the Master in a network relationship.Configuring the MVI56-PDPMV1 Module User Manual 3 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Drag the slave icon into the Bus Configuration window. Page 88 of 255 ProSoft Technology. 2011 . 5 Drag the input and output parameters to the Slot Location Grid (Subscriber List) below the Bus Configuration window. and starting input and output addresses.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual 4 In the tree view. 2011 Page 89 of 255 . ProSoft Technology. configuration data. The selections available for other devices will be different. This view displays the slot number. Inc. March 22. The following illustration shows the possible input/output configuration values for a Siemens EM 277 PLC Slave. so you should review the specifications for the product you are installing in order to determine the correct values to use. The MVI56PDPMV1 Master uses this information to identify and communicate with individual slaves on the network. This action opens a list of device configuration values. click the plus sign [+] to expand the slave device you added. we will configure thirty-two (32) words of output and eight (8) words of input. For each new slave added to the PROFIBUS network. Use the Processor Network Memory Map (page 104) as an aid to cross-referencing the slave I/O data in RSLogix 5000. give each slave a meaningful name.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master For this example. PCB automatically converts the input/output byte addresses to word input/output addresses for the tag database in the processor. 2011 . Inc. Tip: To make it easier to view the data from individual slaves. March 22. These input and output words are assigned to addresses within the MVI56-PDPMV1 module's internal database. Page 90 of 255 ProSoft Technology. and place each slave's I/O areas in contiguous blocks. ProSoft Technology. Inc. March 22. PCB automatically assigns a PROFIBUS address to each new slave. When you are finished adding slaves. and is incremented by 1 for each new slave added to the network. You can change the address in the Common tab of the Slave Properties dialog box.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 6 7 8 Configuring the MVI56-PDPMV1 Module User Manual Double-click the SLAVE icon to view the Slave Properties. The address assignment begins at address 3. Click YES to save the project and return to the PROFIBUS Master Setup dialog box. PCB will not allow you to assign a PROFIBUS address that is already in use by another device on this network. Repeat steps 2 through 6 for all slaves you intend to place on the network. open the PROJECT menu and choose EXIT. and click OK to close the Slave Properties dialog box. 2011 Page 91 of 255 . Leave the remaining settings unchanged for now. Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Using The Autoscan Feature The concept of Automatic network scanning means that the user can instruct the Bus Configuration window to automatically gather information about slaves that are connected to the network. Inc. This is especially obvious if no associated GSD-file is found during the network scan. Page 92 of 255 ProSoft Technology. March 22. 2011 . When the scan is completed the user can adopt the detected slaves to the bus configuration and download to the Master. However. this means that no user parameter data would be sent to the slave. one should be aware that it is not guaranteed that any particular slave will enter data exchange since the user parameter data might not match. NETWORK SCAN is selectable from the Online menu as well as from the dropdown menu for the MASTER icon. This is a quick way to get a network up and running. ProSoft Technology. After successful initialization. In this mode it is possible to initialize the Master even if the database does not contain any slaves. 2011 Page 93 of 255 . Send FB_APPL_GET_LIVE_LIST in order to detect connected slaves. Inc. the PROFIBUS Master Configuration window will initialize the Master to operate as a Class 2 Master only.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual When the download is completed. 2 2. 3 3. the PROFIBUS Master Configuration window will issue the following mailboxes in order to gather information about the connected slaves: 1 1. Send FB_APPL_GET_SLAVE_CONFIG to all devices identified as slaves according to the Live list. Send FB_APPL_GET_SLAVE_DIAG (external request) to all devices identified as slaves according to the Live list. March 22. Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master When the information is collected the PROFIBUS Master Configuration window will find a matching GSD-file and extract information from it. Inc. Refer to the flowchart below for this sequence: Page 94 of 255 ProSoft Technology. 2011 . March 22. 2011 Page 95 of 255 . Module Selection Algorithm The algorithm used to find modules in the GSD based on the Identifier byte(s) is as follows: Select the module that matches the largest number of Identifier bytes. Select In this column all found slaves will be marked as selected by default. If the GSD contains two or more modules with the exact set of Identifier bytes. The PROFIBUS Master Configuration window will display the identifier byte(s) instead. “B” = 0x21. “AB” = 0x11. 0x31. Only selected slaves will be added to the PROFIBUS Master Configuration when the ADOPT SELECTED SLAVES button is clicked. 0x31 and that the associated GSD-file contains five modules: “A” = 0x11. 0x21. Address In this column the node address of the slaves will be displayed. ProSoft Technology. the PROFIBUS Master Configuration window will run through the Module Selection Algorithm (described below) again. “C” = 0x31. Note: If no matching module is found in the GSD. use the first module found. March 22. The PROFIBUS Master Configuration window will then select modules "AB" and "C". If the user selects another GSD-file. Network scan window The information extracted from the GSD-file(s) will be displayed in the Network scan window. except for slaves with the special address 126 (refer to the next section that describes the Address column). 0x21 and “BC” = 0x21. Inc. The other compatible files should be stored so that the user can select one of them instead.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual GSD Selection Algorithm If two or more matching GSD-files are found. Found slaves should be listed in ascending order according to their node addresses. Example: If a slave responds with identifier bytes: 0x11. the first one found should be selected. the PROFIBUS Master Configuration window will display the address in red color. By doing so the Set Slave Address dialog box is started.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Special address 126 -Set Slave address: If a slave with node address 126 is detected during the network scan. It will not be possible for the user to adopt the slave to the configuration since it is not allowed to exchange data with devices having this address. March 22. Inc. The check box in the Select column will be grayed out. Page 96 of 255 ProSoft Technology. 2011 . Note that the Old slave address is preset to a value of 126 that is not editable (grayed out). To be able to adopt a slave with address 126 the user must first assign a valid address by clicking the icon next to the node address. the network finds these other slaves: 2. ProSoft Technology. and 25 are found. 6. March 22. Example: After scanning. 2011 Page 97 of 255 . 25.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual If the Slave is in the configuration already then it will not affect the addressing. 6. Inc. and 40 Slaves 2. but are marked as in the bus configuration (the mapping of the inputs and outputs will not be affected) Slaves 40 is new and could be added and the input/output addressing will be appended to the end as shown on the last screen. the PROFIBUS Master Configuration window will update the Network scan window as shown here. a message similar to the one shown here will open. 2011 . this includes detected Master stations as well. Page 98 of 255 ProSoft Technology. The node address will be updated to the one that the user selected in the Set Slave dialog box. The check box in the Select column will be marked allowing the user to adopt the slave to the configuration. Inc. March 22.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master The PROFIBUS Master Configuration window will prevent the user from selecting a New slave address that is already occupied by another device. If the user selects an occupied address. When an address has been successfully assigned. 2011 Page 99 of 255 . If no matching GSD-file is found the Ident number will be displayed in red color in the drop-down list. the first matching module will be displayed in blue color in a drop-down list. If there are more files with the same Ident number in the device catalog. If no GSD-file or no matching module is found the Identifier byte(s) will be displayed in red color. Inc. which matches the Identifier byte(s) derived from the GetCfg mailbox message. Note: Only modules that have the exact same Identifer bytes as the first matching module will be displayed in the drop-down list GSD-file This column shows the name of the GSD-file that matches the Ident number derived from the SlaveDiag mailbox message. the first matching GSD-file will be displayed in blue color in a drop-down list. March 22. The drop-down list will contain all other matching modules so that the user can select the desired one. Module This column shows the name of the module(s) as stated in the assigned GSDfile.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual Slave In this column the name of the slave as stated in the assigned GSD-file will be displayed. If the configuration for a slave is constructed of several modules. If there is more than one module in the GSD-file that matches the Identifer bytes. the modules will be listed under each other. ProSoft Technology. it can only change (if slaves differs) or add. When the file is installed. detected slaves found during the previous scan will be lost. Page 100 of 255 ProSoft Technology. Note: The autoscan function cannot delete slaves in the current configuration. Rescan Pressing the YES button will trigger a new network scan. This will start the Install new GS*-file dialog box.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master This could be the case if the device catalog contains two or more brand labeled devices. Note: If the user selects another GSD-file. If no GSD-file is found the user will be able to copy the expected GSD to the device catalog by clicking the icon next to the text No GSD found. 2011 . Inc. The PROFIBUS Master Configuration window will update the modules for that slave accordingly. Before proceeding with the scan a message similar to the one below will appear. or GSD-files for two or more languages (for example NICEDEV. March 22. The slave must be manually removed from the bus configuration in order to be able to add it again via the scan window.GSE) exist.GSD and NICEDEV. If a new scan is accepted. the PROFIBUS Master Configuration window will verify that the installed file matches the slave and update the modules for the slave accordingly. Before carrying on with this action a message similar to the one below will appear. March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual Adopt selected slaves Pressing this button will cause all selected slaves to be adopted to the PROFIBUS Master Configuration window. If accepted. ProSoft Technology. Note: Slave: is equal to the Ident number and that the Device path: and Order number/designation fields are left empty. Inc. the network scan window will close and the PROFIBUS Master Configuration window will be populated with the slaves that were found during the network scan. 2011 Page 101 of 255 . If the HELP button is pressed the online help will start. Inc. 2011 .Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Cancel and Help If the CANCEL button is pressed a message similar to the one below will appear. Page 102 of 255 ProSoft Technology. the configuration tool for ProSoft PROFIBUS Master devices. The following illustration shows the value of this parameter in ProSoft Configuration Builder for PROFIBUS. Set_Param (SAP61) ProSoft PROFIBUS slave (PDPS) devices have a configurable parameter for SPC3 User Prm Byte. March 22. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual Parameter Data Structure SPC3 evaluates the first seven data bytes (without user prm data). 2011 Page 103 of 255 . Publisher_Enable = 1. Inc. March 22. DXB-requesttelegrams are ignored. or the first eight data bytes (with user prm data). The eighth byte is used for SPC3-specific communications. WD_Base = 0: time base 10 ms WD_Base = 1: time base 1 ms 3 to 4 Res To be parameterized with 0 0 5 Publisher_Enable DXB-publisher-functionality of the SPC3 is activated with this bit Publisher_Enable = 0. The additional bytes are available to the application. 1 Dis_Stopbit Stop bit monitoring in the receiver is switched off with this bit Dis_Stopbit = 0 Stop bit monitoring is not switched off. 2 WD_Base This bit specifies the time base used to WD_Base = 0 clock the watchdog. DXB-requesttelegrams are processed 6 to 7 Res To be parameterized with 0 0 ProSoft Technology. Start bit monitoring is switched off. The first seven bytes are specified according to the standard. The time base is 10 ms. Byte 0 Bit Position Designation 7 6 5 4 3 2 1 0 Lock Reg Unio Req Sync Req Free Req WD on Res Res Res Station status 1 WD_Fact_1 2 WD_Fact_2 3 MinTSDR 4 Ident_Number_High 5 Ident_Number_Low 6 Group_Ident 7 Spec_User_Prm_Byte 8 to 243 User_Prm_Data Byte 7 Spec_User_Prm_Byte Bit Name Significance Default State 0 Dis_Startbit The start bit monitoring in the receiver is switched off with this bit Dis_Startbit = 1. You will need this information to determine the memory areas your application will use in the ControlLogix processor.3. near the bottom of the window. This action opens the inRAx Data Type dialog box. click the SHOW MEMORY MAP button. 2 Notice that there are buttons in the Display area of the dialog box to show INPUTS or OUTPUTS. March 22. These Input and Output maps correspond to the Input and Output data you configured for the PROFIBUS Slaves (page 86). Page 104 of 255 ProSoft Technology. 2011 . Inc.3 Printing the Processor Network Memory Map The Processor Memory Map dialog box uses the information about your PROFIBUS Master and slaves to display the data types you configured. To view or print the Processor Network Memory Map 1 On the Master Setup dialog box.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2. Notice also that there are CHECK BOXES to optionally show (if checked) or hide (if not checked) the slot numbers and PROFIBUS addresses. When you have finished printing the processor memory maps. If you decide to use this functionality. The release of PCB version 2.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3 4 5 Configuring the MVI56-PDPMV1 Module User Manual Click PRINT to print the input and output maps for reference. exporting the processor files. 2011 Page 105 of 255 .0 NOTE: This is an optional step which is not required to set up your application. the data types exported will reflect the data types that you have configured for your PROFIBUS network slave configuration.2. March 22. The sample program stores the PROFIBUS I/O data into two SINT arrays.4 Exporting the Processor Files Prior to PCB v2.3. Note that you must do this separately for each of input and output map by first clicking on the INPUTS radio button and then the PRINT button. then. click on the OUTPUTS radio button and then the PRINT button. PCB versions prior to version 2. leave them open for the next step. Inc.0 has made this particular procedure obsolete. The sample ladder logic contains input and output arrays that must be cross-referenced with the variables. If you choose to use this export option. This simplifies the task of adding data types to handle input and output from the PROFIBUS slaves in your ladder logic. regardless of the ProSoft Configuration Builder (PCB) version you are using. or. you must develop extra ladder logic to copy the PROFIBUS data between controller tags defined with these data types and the standard SINT arrays. ProSoft Technology.2.0 will create a text file containing the Processor Network Memory Map that you printed in the previous step. Keep the printed memory maps available so you can refer to them when you configure the sample ladder logic in RSLogix. 2. This topic has been left in the User Manual solely as historical reference. you can click OK to close the dialog box and click OK again to close the Master Setup dialog box. again. in case you need to understand how older versions of PCB previously functioned. which can be imported into RSLogix 5000 as user-defined data types MVI56PDPMV1_PBInF and MVI56PDPMV1_PBOutF.2. ProSoft Configuration Builder will suggest a file name with the extension . and then click SAVE.L5X (RSLogix 5000 export file). March 22.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master To export the processor files from PCB (versions prior to v2. 2 Choose a location for the file that you can access easily from RSLogix 5000 (My Documents or Desktop.0 only) 1 In the inRAx Data Type dialog box. 3 Page 106 of 255 ProSoft Technology. 2011 . Click OK to close the inRAx Data Type dialog box.2. for example). Inc. click EXPORT PROCESSOR FILES. version 16 or higher.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual 2. use the standard sample ladder logic files without AOIs. Earlier versions of RSLogix did not support the Add-On Instructions (AOIs) created by this procedures. click EXPORT PROCESSOR FILES.0 or later NOTE: The files created in this step are for use with RSLogix 5000. ProSoft Configuration Builder will suggest a file name with the extension L5X (RSLogix AOI rung import file). For details. It is highly recommended that you use the default filename. For your convenience. customized Add-On Instruction (AOI) Rung Export . The following procedure will work for either mode and will export appropriate but different rung import files. depending on which option is selected in the USE LEGACY MODE parameter.L5X file that has been tailored to the specific configuration you created for your PROFIBUS network and module configuration.2.FLEX (page 53). beginning with version 2.3. so the files created here will not work with RSLogix 5000.0.2. For additional details on how to integrate the rung import file into your RSLogix 5000 project.5 Exporting the Processor Files for PCB v2.0 and later only) 1 In the inRAx Data Type dialog box. versions 15 or earlier. see Importing the Ladder Rung . 2011 Page 107 of 255 . To export the AOI Rung Import file from PCB (for version 2. For those earlier versions of RSLogix. Inc. This makes integrating the MVI56-PDPMV1 module into a new or existing application easier than it has ever been.2. ProSoft Configuration Builder (PCB) will create a complete. ProSoft Technology.LEGACY (page 27) or Importing the Ladder Rung . March 22. see Using the MVI56-PDPMV1 Sample Ladder Logic (page 23). and later. March 22. 2011 .Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master For LEGACY Mode: For FLEX Mode: Page 108 of 255 ProSoft Technology. Inc. This action opens the PDPMV1 PROFIBUS Master Setup dialog box. Click OK to close the inRAx Data Type dialog box. click the EXPORT MASTER CONFIG button. and then double-click the PROFIBUS DP icon. NOTE: If you make any changes to your module or PROFIBUS configurations. Tip: You can use the XML file created by ProSoft Configuration Builder in this step to simplify the task of configuring additional PROFIBUS network modules. typically the slot number and I/O addresses. To use this saved configuration.3. To save your project and configuration files 1 2 In ProSoft Configuration Builder tree view. 2011 Page 109 of 255 . ProSoft Technology. Name the project file.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2 3 Configuring the MVI56-PDPMV1 Module User Manual Choose a location for the file that you can access easily from RSLogix 5000 (My Documents or Desktop. and then click SAVE. March 22. open Windows Explorer. Because it saves the entire network configuration. 2. 3 4 In ProSoft Configuration Builder. you will create a backup copy of your project and configuration files. The recommended location for this file is your My Documents folder. please see the topic Changing an Existing Configuration and Importing Changes (page 72). and click SAVE.6 Backing Up the Project In this step. navigate to the folder where you saved the Master Configuration XML file. and then drag the file onto the new PROFIBUS DP icon in the ProSoft Configuration Builder tree view. you will probably want to create new AOI Rung Import files using this procedure. click [+] to expand the MVI56PDPMV1 tree. If you create new files. This action saves the PROFIBUS network configuration for your module in an XML file. Note: All PCB project files and module-related files are automatically saved to C:\PCBExportfFiles. Inc. For additional information. open the FILE menu. and then choose SAVE AS. The recommended location for this file is your My Documents folder. some of the previously imported controller tags and ladder logic will need to be manually deleted. or allows you to restore your data in the event of a system failure. for example). The backup procedure saves your data for reuse on another machine. In the PDPMV1 PROFIBUS Master Setup dialog box. you can add modules quickly by modifying only the items that are unique for each device. before you can import them into your existing application. Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master A complete backup consists of the Project and Master Configuration files. March 22. Inc. All the files associated with your PCB configuration will be stored in a folder with the same name as the name you used to save your PCB configuration (. plus the GSD configuration files. Page 110 of 255 ProSoft Technology. The default location for these backup files is C:\PCBExportFiles. you will be prompted to overwrite your Export folder files. you should click the YES button every time you see this dialog box to have the backup files updated. PCB does this complete backup for you automatically. 2011 . When you exit PCB. If you have made changes to your configuration settings. The default location for the GSD files is C:\Documents and Settings\All Users\Application Data\ProSoft\GSD (Windows XP / 2000) or C:\My Documents\. Having all the files for your PCB configuration stored in one folder makes it easier to transfer the application from one system to the other or to send your files to ProSoft Technical Support when you need assistance.ppf) file. Inc. March 22. 2011 Page 111 of 255 .4 Configuring the MVI56-PDPMV1 Module User Manual Downloading the Project to the Module 1 Right-click the MVI56-PDPMV1 module and choose DOWNLOAD FROM PC TO DEVICE. as shown in the following illustration. choose 1756-ENBT. ProSoft Technology.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2. The default path appears in the text box. 2 In the Select Connection Type dropdown list. The first connection from the PC is always the 1756-ENBT module (Ethernet/IP). The connection between the source and destination modules is performed through the backplane. Inc.  If the MVI56-PDPMV1 is available in a remote rack (accessible through ControlNet or EtherNet/IP) then the user should include all racks (through the ADD RACK button). 2011 . Parameter Description Source Module Source module type.  If the MVI56-PDPMV1 module is located in the same rack as the first 1756ENBT module. Source Module IP Address IP address of the source module (only applicable for 1756ENBT) Source Module Node Address Node address of the source module (only applicable for 1756CNB) Destination Module Select the destination module associated to the source module in the rack. Page 112 of 255 ProSoft Technology. you should only set rack 1 and configure the associated parameters. Destination Module Slot Number The slot number where the destination module is located. The CIPconnect Path Editor allows you to define the path between the PC and the MVI56-PDPMV1 module. March 22. This field is automatically selected depending on the destination module of the last rack (1756CNB or 1756-ENBT).Configuring the MVI56-PDPMV1 Module User Manual 3 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Click CIP PATH EDIT to open the CIPconnect Path Editor dialog box. Each row corresponds to a physical rack in the CIP path. the MVI56-PDPMV1 module is located in the same rack as the 1756-ENBT that is connected to the PC. The following examples should provide a better understanding on how to set up the path for your network. Inc.1 Example 1: Local Rack Application For this example.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual To use the CIPconnect Path Editor. If the module is located in a remote rack. Rack 1 Slot Module Network Address 0 ControlLogix Processor - 1 Any - 2 MVI56-PDPMV1 - 3 1756-ENBT IP=105. 2 Click CONSTRUCT CIP PATH to build the path in text format 3 Click OK to confirm the configured path.102. add more racks to configure the full path. 2011 Page 113 of 255 . ProSoft Technology. follow these steps.12 1 In the Download window. The path can only contain ControlNet or EtherNet/IP networks.0. 2. The maximum number of supported racks is six. click CIP PATH EDIT. March 22.4. 1 Configure the path between the 1756-ENBT connected to your PC and the MVI56-PDPMV1 module. 3 Check the new path in the CIPconnect text box. Inc. and click CONSTRUCT CIP PATH to build the path in text format.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2 Configure the path as shown in the following illustration. March 22. Page 114 of 255 ProSoft Technology. 2011 . The following message should be displayed upon success. 2011 Page 115 of 255 . March 22. ProSoft Technology. Inc. 5 Click DOWNLOAD to download the configuration files to the module through the path.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual 4 Click TEST CONNECTION to verify that the physical path is available. 1 Click CONFIGURE PROFIBUS. 2011 . Inc. Page 116 of 255 ProSoft Technology. 2 Select ONLINE-MONITOR/MODIFY to monitor the PROFIBUS network through the CIPconnect path . and verify the same path you have just created through the Download button.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master You can also monitor the PROFIBUS network through the CIPconnect path. Refer to the PROFIBUS DP section in ProSoft Configuration Builder. You can also re-edit the path through the CIP Path Edit button. March 22. as shown in the following illustration. ProSoft Technology. Inc.2 Example 2: Remote Rack Application For this example. 2. March 22. the MVI56-PDPMV1 module is located in a remote rack accessible through ControlNet.4. 2011 Page 117 of 255 .MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual The configured slave(s) should have a green border indicating successful PROFIBUS communication. Page 118 of 255 ProSoft Technology.0.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Rack 1 Slot Module Network Address 0 ControlLogix Processor - 1 1756-CNB Node = 1 2 Any - 3 1756-ENBT IP=105.12 Slot Module Network Address 0 Any - 1 Any - 2 Any - 3 Any - 4 Any - 5 1756-CNB Node = 2 6 MVI56-PDPMV1 - Rack 2 1 In the Download window. 2011 . Inc. click CIP PATH EDIT.102. March 22. 2011 Page 119 of 255 . Inc. ProSoft Technology. March 22. 3 Check the new path in the CIPconnect text box.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual 2 Configure the path as shown in the following illustration for this example and click CONSTRUCT CIP PATH to build the path in text format. The following message should be displayed upon success. 2011 . Inc.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 4 Click TEST CONNECTION to verify that the physical path is available. 5 Click DOWNLOAD to download the configuration files to the module through the path. March 22. Page 120 of 255 ProSoft Technology. 2011 Page 121 of 255 .MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual You can also monitor the PROFIBUS network through the CIPconnect path. You can also re-edit the path through the CIP Path Edit button. 2 Select ONLINE-MONITOR/MODIFY to monitor the PROFIBUS network through the CIPconnect path . March 22. Refer to the PROFIBUS DP section in ProSoft Configuration Builder. and verify the same path you have just created through the Download button. Inc. ProSoft Technology. 1 Click CONFIGURE PROFIBUS. March 22. Page 122 of 255 ProSoft Technology.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master The configured slave(s) should have a green border indicating successful PROFIBUS communication. Inc. 2011 . the PROFIBUS Master is not communicating with any slaves.5 Configuring the MVI56-PDPMV1 Module User Manual Verifying Correct Operation The final step is to verify that the MVI56-PDPMV1 module is communicating with the PROFIBUS slave.  If you are able to view the module directly: Look at the PROFIBUS LEDs on the MVI56-PDPMV1 (page 123)  If you are able to connect to the module using ProSoft Configuration Builder and a serial cable: View the Fieldbus Data from the MVI56-PDPMV1’s Configuration/Debug menu (page 126)  If you are able to connect to the processor using RSLogix 5000: View the Controller Tags in RSLogix 5000 (page 129)  If you are able to connect to the processor using RSLogix 5000: Send a Mailbox Message in RSLogix 5000 (page 130) 2. The most likely reason is that the slaves are not correctly configured. After restarting the MVI56-PDPMV1 Master and the PROFIBUS slave. 2011 Page 123 of 255 . then the Master is communicating successfully with all slaves.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2. there is a communication or configuration error. If the COM STAT LED is green and flashing. look at the PROFIBUS cable connection.1 Checking the PROFIBUS LEDs on the MVI56-PDPMV1      If all four PROFIBUS LEDs are illuminated green.5. Choose the method that best suits your connection and proximity to the modules and the processor. the PROFIBUS Master is communicating and exchanging data with at least one of the configured slaves. ProSoft Technology. then the PROFIBUS Master is communicating and exchanging data with all configured PROFIBUS slaves. If the COM STAT LED is red. Inc. March 22. If the COM STAT LED is off. If all the PROFIBUS LEDs on the MVI56PDPMV1 are illuminated green. 5. and then choose MONITOR/MODIFY. then the module is not communicating with the slave. then the MVI56-PDPMV1 module is correctly communicating with the PROFIBUS slave.2 Viewing the Online Status of the PROFIBUS Network Note: For this procedure. If the slave icon in the Bus Configuration window has a blue border. the slave is communicating with the Master. On the shortcut menu. select the slave. If the slave icon in the Bus Configuration window has a red border. Page 124 of 255 ProSoft Technology. choose ONLINE PROPERTIES. but is generating diagnostic data. o o o If the slave icon in the Bus Configuration window has a green border. 1 In ProSoft Configuration Builder for PROFIBUS. and will indicate communication status. you must connect a serial cable from the serial port on your PC to the RJ45 to DB9M adaptor cable on the MVI56-PDPMV1 module. March 22.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2. ProSoft Configuration Builder will establish communication with the MVI56-PDPMV1 module. and click the right mouse button to open a shortcut menu. Inc. 2011 . open the ONLINE menu. To view diagnostic data for the slave. Inc. Slave diagnostic information will appear in the Diagnostic window. ProSoft Technology. March 22. and select (CHECK) DETAILS FOR SLAVE DIAGNOSTIC. click the DIAGNOSTIC tab. 2011 Page 125 of 255 .MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2 Configuring the MVI56-PDPMV1 Module User Manual In the Online Slave Properties dialog box. Refer to the documentation for your PROFIBUS slave to determine the meaning of the diagnostic data. then click the right mouse button to open a shortcut menu. however. a value of 20h in the rightmost columns of both of the first two lists means one slave at address 125 is configured and communicating with the Master.Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2. If the Master and the slave are communicating correctly. March 22. 2011 . Page 126 of 255 ProSoft Technology. Notice that the values in the leftmost columns of the first two lists do not match. TRANSFER LIST and SLAVE DIAG LIST. The slave at address 3. and then press [2] to view Fieldbus data. This means that the slave at address 1 is configured. 1 2 3 4 5 In ProSoft Configuration Builder. Note the value in Operation State. This action opens the Diagnostics dialog box. Each (XX XX) grouping represents one word containing 16 slave addresses. Inc. Note the values in SLAVE CFG LIST. select the MVI56-PDPMV1 MODULE. On the shortcut menu.5. Below is an explanation on how to read these bitmaps. Note: Each list is a hexadecimal representation of a bitmap of slave addresses on the PROFIBUS network. Press [?] to display the main menu. If the Master and slave are communicating successfully. is both configured and communicating with the Master. but is not communicating with the Master. In the illustration above. you must connect a serial cable from the serial port on your PC to the RJ45 to DB9M adaptor cable on the MVI56-PDPMV1 module. the values in SLAVE CFG LIST will match the values in TRANSFER LIST. the operation state will be C0 (hex). choose DIAGNOSTICS.3 Viewing the Fieldbus Data from the MVI56-PDPMV1’s Configuration/Debug Menu Note: For this procedure. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual In SLAVE CFG LIST in the example above To find out which slave addresses in Word 1 are occupied by configured slaves, expand Word 1's hexadecimal numbers into a bitmap. Note: A zero (0) in the bitmap indicates an unoccupied slave address; one (1) indicates that the slave address is occupied by a configured slave. Here is the bitmap for Word 8: ProSoft Technology, Inc. March 22, 2011 Page 127 of 255 Configuring the MVI56-PDPMV1 Module User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master So from the SLAVE CFG LIST, we can tell that there are configured slaves at slave addresses 1, 3 and 125. The TRANSFER LIST indicates which configured slaves are actually communicating with the Master. Notice that Word 1 is different in the TRANSFER LIST. Here is the bitmap for Word 1 in the TRANSFER LIST: In conclusion, there are configured slaves at addresses 1,3 and 125, but only the slaves at addresses 3 and 125 are communicating with the Master. Tip: This slave status data can also be found in the MVI56PDPMV1.Status.Fieldbus controller tag structure in the Add-On Instruction ladder. The status data in these controller tags can be used as part of your custom application alarm and control logic. Page 128 of 255 ProSoft Technology, Inc. March 22, 2011 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual 2.5.4 Viewing the Controller Tags in RSLogix 5000 Note: For this procedure, you must connect a serial cable from the serial port on your PC to the DB9M connector on the ControlLogix processor. 1 2 3 4 Open the sample ladder logic in RSLogix 5000. Open the COMMUNICATIONS menu, and choose GO ONLINE. In the Controller Organization window, double-click CONTROLLER TAGS. Expand the MVI56PDPMV1, MVI56PDPMV1.Status and MVI56PDPMV1.Status.Fieldbus tags. Note: For the FLEX sample program, you must toggle the command bit MVI56PDPMV1.Command.GetStatus in order to update the status data. For the LEGACY sample program the status data is updated automatically. In the illustration above, the binary value in MVI56PDPMV1.Status.Fieldbus.FB_Slave_Cfg_List[15] indicates that a slave is configured at address 125 (the PROFIBUS Slave Address configured in the Slave Configuration (page 86) procedure). ProSoft Technology, Inc. March 22, 2011 Page 129 of 255 Configuring the MVI56-PDPMV1 Module User Manual 5 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Next, expand the MVI56PDPMV1.Status.Fieldbus.FB_Slave_xfer tag. The value for MVI56PDPMV1.Status.Fieldbus.FB_Slave_xfer should match the corresponding value in MVI56PDPMV1.Status.Fieldbus.FB_Slave_Cfg_List, indicating that the slave is configured and communicating. Tip: You can add ladder logic to perform an action based on the values of these tags, for example to determine if a slave is misconfigured. If the values of these tags show that the slave is configured, but is not transferring data, the slave is not configured correctly. Refer to the documentation provided with your PROFIBUS Slave for troubleshooting procedures. 2.5.5 Sending a Mailbox Message in RSLogix 5000 Note: For this procedure, you must connect a serial cable from the serial port on your PC to the DB9M connector on the ControlLogix processor. 1 2 3 4 5 Open the sample ladder logic in RSLogix 5000. Open the COMMUNICATIONS menu, and choose GO ONLINE. In the Controller Organization window, double-click CONTROLLER TAGS. Expand the MVI56PDPMV1 and MVI56PDPMV1.[Mailbox]Command tags. Enter "1" (number one) in the tag MVI56PDPMV1.[Mailbox]Command.GetLiveList, and then press [Enter] to send the mailbox message from the processor to the MVI56-PDPMV1. Page 130 of 255 ProSoft Technology, Inc. March 22, 2011 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Configuring the MVI56-PDPMV1 Module User Manual Note: The [Mailbox] string will only be available for the Legacy sample program. For the FLEX sample program the controller tag is MVI56PDPMV1.Command.GetLiveList. 6 Next, expand the tag MVI56PDPMV1.Mailbox.GetLiveList.Station, to verify that the MVI56-PDPMV1 responded to the GetLiveList message. For MVI56PDPMV1.Mailbox.GetLiveList.Station[1] (the PROFIBUS Master Address), notice that the value has changed from 4 (not communicating) to 3 (Master). For MVI56PDPMV1.Mailbox.GetLiveList.Station[125] (the PROFIBUS Slave Address configured in the Slave Configuration (page 86) procedure), notice that the value has changed from 4 (not communicating) to 0 (Slave OK) ProSoft Technology, Inc. March 22, 2011 Page 131 of 255 Configuring the MVI56-PDPMV1 Module User Manual Page 132 of 255 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master ProSoft Technology. 2011 . March 22. Inc. ... Mailbox Messaging commands are incorporated into the sample ladder logic........ The PROFIBUS DP-V1 protocol specifies two types of data transmission messages (telegrams): Cyclic Data Telegrams and Acyclic Data Telegrams........................ Inc.. The following chapter discusses these features in more detail......... deterministic sequence based on the configuration you create in ProSoft Configuration Builder (PCB)...... Cyclic data communication is the exchange of normal slave input and output (I/O) data and is handled automatically by the Master in a defined...... 145  Special Function Mailbox Messaging Commands .... therefore................... Master............ Acyclic data telegrams are transmitted in the gaps between cyclic data telegrams and.............. March 22................................................ Mailbox messages and responses to mailbox messages are stored in mailbox data types.................. This process provides a way to encapsulate and prioritize commands and data sent between the PROFIBUS Master and slaves... have a lower priority and get less bandwidth than cyclic data. 173 The MVI56-PDPMV1 PROFIBUS DP Master uses a process called Mailbox Messaging to exchange parameter data between the processor..... and slave devices.............................. ProSoft Technology...... 148  Mailbox Message Commands ....... 135  Legacy Mode Mailbox Communication ........ recurring...... 150  Mailbox Messaging Error Codes ............................... Acyclic communication extends data communication beyond normal I/O data to allow moving field device parameterization and calibration data over the bus during runtime and to allow for extended diagnostics and alarm messages. 134  Flex Mode Mailbox Communication ..............MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3 Mailbox Messaging User Manual Mailbox Messaging In This Chapter  Mailbox Message Queuing ........................... 2011 Page 133 of 255 ...................... 2011 . If the PROFIBUS Master (for output messages) or the processor (for input and alarm messages) has not successfully received a message within 10 seconds.1 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Message Queuing The MVI56-PDPMV1 module operates asynchronously on the Mailbox Messages and as such provides for the queuing of the messages as they are received. Note that status of the queues can be monitored via the Queue Message Count values. March 22. 3. Page 134 of 255 ProSoft Technology.1. The queue sizes used in the module are as follows: Queue Type Queue Size Max Description Output message from processor 126 Input messages for processor 126 Alarm messages from slaves for processor 100 Number of messages that the MVI56 module will queue by type of message. Inc.1 Queue Timeouts The MVI56-PDPMV1 module will only allow a message to stay in a queue for up to 10 seconds.Mailbox Messaging User Manual 3. the module will clear the message out of the queue. Inc. The ladder logic recognizes this condition and sends another MSG instruction (now Get Attribute Single) to retrieve the mailbox response from the module: ProSoft Technology. it will latch bit 15 of the CIP Mailbox MSG Index word of the input block. 2011 Page 135 of 255 .2 Mailbox Messaging User Manual Flex Mode Mailbox Communication The processor sends a MSG instruction to the module with a Set Attribute Single type to request the module to process a mailbox function. March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3. When the module has a response ready to be processed. March 22. The main controller tag structure.1 Using FLEX Mode MSG Instructions This section will provide further information on how to use the controller tags in the FLEX sample program (if Use Legacy Mode=No).PROFIBUSData PROFIBUS input and output data transferred between the processor and the module MVI56PDPMV1.2. reboot the module and retrieve status information MVI56PDPMV1. Controller Tag Description MVI56PDPMV1.Util Generic tags used for internal ladder processing (DO NOT MODIFY) Page 136 of 255 ProSoft Technology.Mailbox Mailbox output and input data MVI56PDPMV1.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3. MVI56PDPMV1. Inc. is organized as follows.Command Command bits to trigger mailbox commands.Status Status information MVI56PDPMV1.Config Module configuration data copied from the module (or calculated in ladder) MVI56PDPMV1. 2011 . The error code will be stored in the controller tag MVI56PDPMV1. the controller tag MVI56PDPMV1.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual 3.GetStatus bit.Util. The bit is reset when the MSG instruction is enabled to request status data from the module.ACC will be incremented.MSG.ACC will be incremented.DNCounter.MSG.ERCounter. If an error occurs during message execution.Command.Util. then the controller tag MVI56PDPMV1.Util.MSG. When the MSG execution is successfully completed.2 Retrieving Status Information In order to retrieve status data from the module. 2011 Page 137 of 255 . ProSoft Technology. March 22. Inc.GetStatus.GetStatus.LastError.2. toggle the MVI56PDPMV1.GetStatus. Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master The status data retrieved from the module is stored in the MVI56PDPMV1. 2011 . It includes:  General module information  Backplane communication status  PROFIBUS slaves status (configured. exchanging data. reporting diagnostics) Page 138 of 255 ProSoft Technology. March 22. Inc.Status controller tag structure. AcyclicWrite MVI56PDPMV1. AcyclicRead MVI56PDPMV1.Command. Address SetSlaveAddress Set Slave Mode MVI56PDPMV1.Command. SetStopMode Set Slave MVI56PDPMV1.Command. SetOperateMode Set Stop Mode MVI56PDPMV1. Sets the module in STOP mode. SetSlaveAddress MVI56PDPMV1. StopSlaves ProSoft Technology. Sets the node address of a specified slave (if supported at slave) Sets control commands to slaves or group of slaves (sync.Command. unfreeze) Reinitializes communication with a slave after interrupted through Stop Slaves mailbox Stops communication with specified slaves Page 139 of 255 .Command. This is an option for the Set Operating Mode mailbox.Mailbox.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual 3. This is an option for the Set Operating Mode mailbox.Mailbox. SetSlaveMode MVI56PDPMV1. Sets the module in OPERATE mode. StartSlaves Stop Slaves MVI56PDPMV1. GetSlaveConfig MVI56PDPMV1. GetSlaveDiagnostics MVI56PDPMV1. StopSlaves Reads acyclic data information from DPV1 slaves Writes acyclic data information from DPV1 slaves Reads the live list from the module.Mailbox.Command.Mailbox. 2011 Overview Data MVI56PDPMV1. freeze.Mailbox. AcyclicWrite MVI56PDPMV1.Command.3 Sending Mailbox Commands The mailbox commands allow the processor to request specific tasks from the module.Command. GetSlaveConfig MVI56PDPMV1.Mailbox. The live list shows which slave addresses are currently communicating with the module Reads the configuration (identifier bytes) from a specific connected PROFIBUS slave Reads slave diagnostics from a specified slave Sets the module in CLEAR mode. SetClearMode MVI56PDPMV1.Mailbox.Command. unsynch.Command. Inc. This is an option for the Set Operating Mode mailbox. March 22. StartSlaves MVI56PDPMV1. The following table describes the available mailbox commands: Mailbox Acyclic Read Acyclic Write Get Live List Get Slave Configuration Get Slave Diagnostics Set Clear Mode Set Operate Mode Controller Tag Trigger MVI56PDPMV1. GetLiveList MVI56PDPMV1.2.Command.Mailbox. AcyclicRead MVI56PDPMV1.Mailbox. GetLiveList MVI56PDPMV1. GetSlaveDiagnostics - MVI56PDPMV1. SetSlaveMode Start Slaves MVI56PDPMV1.Command. Out.<MailboxName> Verify that the mailbox trigger bit is automatically reset Verify that the message to request the mailbox was successfully executed through the increment of the following controller tag: MVI56PDPMV1.Mailbox. March 22.GetSlaveConfiguration Mailbox The following example shows how to use a mailbox command to retrieve the slave configuration (identifier bytes) from a PROFIBUS slave.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master To send a mailbox request 1 Enter the mailbox configuration parameters (if applicable) in the following controller tag: MVI56PDPMV1.MSG.GetSlaveConfig. For the GetSlaveConfig mailbox.SlaveAddress).<ResponseDataName> Note: this step is not applicable to the following mailboxes (no response data):  SetClearMode  SetStopMode  SetOperatingMode Example . 2011 .Mailbox.<MailboxName>. Toggle the trigger bit to initiate the mailbox message request: Page 140 of 255 ProSoft Technology.Util.MailboxResponse.Command.Mailbox.Out.DNCounter. Inc.ACC Refer to the mailbox response data (if applicable) in the following controller tag: MVI56PDPMV1.Util.DNCounter.In.MailboxRequest.<ParameterName> Note: This step is not applicable to the following mailboxes (no parameters required):  SetClearMode  SetStopMode  SetOperatingMode  GetLiveList 2 3 4 5 6 Toggle the mailbox trigger bit MVI56PDPMV1. the only parameter required is the PROFIBUS slave address (MVI56PDPMV1.ACC Verify that the message to retrieve the mailbox response was successfully executed through the increment of the following controller tag: MVI56PDPMV1.MSG.<MailboxName>. The first step is to configure the parameters that will be required for the mailbox. MSG.GetSlaveConfig.In. the counter ACC values will be incremented:  MVI56PDPMV1.Util.GetSlaveConfig.ACC (Request)  MVI56PDPMV1.Util.MSG.Mailbox.Mailbox.SlaveAddress: slave address  MVI56PDPMV1. which includes:  MVI56PDPMV1.Mailbox. the mailbox response will be stored in the controller tag structure MVI56PDPMV1.GetSlaveConfig.GetSlaveConfig.MailboxRequest. Inc.ReturnCode: 0 if successful  MVI56PDPMV1.GetSlaveConfig. March 22.Mailbox.In.ByteCount: number of identifier bytes returned  MVI56PDPMV1.ACC (Response) When the mailbox execution was successfully performed.In.DNCounter.Mailbox.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual The trigger bit is automatically reset when the message is enabled for execution: When the mailbox is successfully executed.MailboxResponse.In.FaultInformation: 0 if successful ProSoft Technology. 2011 Page 141 of 255 .In.DNCounter. Mailbox.GetSlaveConfig. March 22.Mailbox Messaging User Manual  MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master MVI56PDPMV1.Identifier[ ]: configuration identifier bytes The identifier bytes will match the byte sequence displayed through PCB for PROFIBUS (CFG data column): Page 142 of 255 ProSoft Technology. Inc.In. 2011 . 2011 Page 143 of 255 .Mailbox. the module will latch the MVI56PDPMV1.GetAlarm.GetAlarm.LastError The alarm data will be stored in the MVI56PDPMV1. March 22.Util.Util. Inc. The sample ladder logic will automatically recognize that the module has an alarm pending and execute a message instruction to poll for the alarm.15 bit.4 Reading Alarms The module will automatically read alarms received from DPV1 slaves into specific controller tags.CurrentAlarm.ACC If the message is not successfully executed the ladder logic will increment the following controller tag: MVI56PDPMV1.Util.MSG.MSG. When the message is successfully executed the ladder logic will increment the following controller tag: MVI56PDPMV1.DNCounter. When the ladder recognizes that the module has received a new alarm.2.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual 3.GetAlarm.Alarm controller tag structure: ProSoft Technology.Util.ERCounter.MSG.ACC The error code will be copied to the following controller tag: MVI56PDPMV1. Page 144 of 255 ProSoft Technology.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3.5 Rebooting the Module In order to reboot the module toggle the MVI56PDPMV1.Command.2. March 22. 2011 .Reboot controller tag. Inc. a second action is performed to retrieve the slave's response. The request block contains the mailbox request according to the data listed in Output Mailbox: Legacy Mode.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3. using special block IDs.3. After the mailbox request is processed by the module. For example: command = 02 => Set Operating Mode Response 1 3. March 22. First. a Mailbox Message is sent and then. to complete a Mailbox Message cycle. Therefore. 2011 Page 145 of 255 .3 Mailbox Messaging User Manual Legacy Mode Mailbox Communication The processor requests a mailbox block by sending a block with a block number between 100 and 109. It takes two separate actions. Block Format for Mailbox In Message (Input Image) Word Offset Start Word Offset End Description 0 143 Mailbox input message from module 144 247 Reserved for future use 248 248 Index of Output image to receive (1 to 4 for data. the ladder should refer to the command data. (page 146) The module immediately responds with a confirmation message consisting of the Mailbox Out Message Response block to the processor. 0 or -1 if no data) 249 249 Block number 100 to 109 ProSoft Technology.1 Input Mailbox: Legacy Mode This block contains the actual mailbox response sent by the module. rather than block ID. to copy the mailbox response to the correct controller tag. NOTE: The block ID in the Mailbox In Message Response block may not necessarily be the same as the one sent in the Mailbox Out Message during the mailbox request. containing the same block ID as the request block. This is because using Mailbox Messaging is a multi-stage process: 1 2 3 Send a special Output block to tell the module to send the Acyclic (Mailbox) Message to a specific slave Wait for the module to receive the receive the slave's response and notify the ladder logic that a response in available Send a special Output block to tell the module to send the slave's response to the Acyclic Message. once the reply has been received. it sends the Mailbox In Message Response block to the processor (block ID between 100 and 109). Inc. 1 = queue allocation error 2 = queue is full 2 247 Reserved for future use 248 248 Index of output image to receive (1 to 4 for data. is returned from the MVI56 module to the processor. Remembering the PROFIBUS Input Data Memory Map: Word Offset 0 to 72 73 74 75 76 77 78 79 to 222 223 to n Page 146 of 255 Name Description Configuration. it immediately sends a data block as confirmation that the block was received.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3. Word Offset Start Word Offset End Description 0 0 Block number 100 to 109 1 1 Status of out mailbox request: 0 = request successfully added to mailbox queue. Block Format for Mailbox Out Message Request (Output Image) Word Offset Start Word Offset End Description 0 0 Block number 100 to 109 1 144 Mailbox output message for module 145 247 Reserved for future use Block Format for Mailbox Out Message Response (Input Image) After the module receives the mailbox request.2 Output Mailbox: Legacy Mode The following block requests a mailbox message from the module. 2011 . Inc. 0 or -1 if no data) 249 249 Block number 100 to 109 3. a response from the command. The response is returned from the MVI56PDPMV1 via the PROFIBUS Input data block.3.3 Receiving Mailbox Message Responses from the Module: Legacy Mode After a mailbox message has been sent. status and control data Number of messages in the In Mailbox queue Number of messages in the Out Mailbox queue Number of messages in the alarm queue Last Out Mailbox Message ID processed from output image Current In Mailbox Control Index Current Alarm Control Index Incoming Mailbox Message data PROFIBUS input data ProSoft Technology.3. March 22. usually containing the requested data or the status of the command. the following structure exists: Mailbox Message Structure: From MVI56 module Word Offset Type Description 79 Message ID Message ID value will match value used to generate the outgoing mailbox message 80 Message Info 81 Command See individual commands for data values to be entered in each of these register locations 82 Data Size 83 Frame Count 84 Frame Number 85 Offset high 86 Offset Low 87 Extended Word 1 88 Extended Word 2 89 Extended Word 3 90 Extended Word 4 91 Extended Word 5 92 Extended Word 6 93 Extended Word 7 94 Extended Word 8 - See individual commands 222 ProSoft Technology. March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual The important section relevant to the Mailbox Messaging discussion is the Incoming Mailbox Data section (Byte Offsets 79 to 222). Within this section of data. 2011 Page 147 of 255 . Inc. 2011 . Sending a mailbox message to the MVI56-PDPMV1 module is a relatively simple process.4 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Special Function Mailbox Messaging Commands The MVI56-PDPMV1 module supports some extended PROFIBUS functions. using a mailbox data exchange mechanism implemented in the module. March 22.Mailbox Messaging User Manual 3. Inc. Structure of data is slave-dependent Alarm Confirmation This message is sent by the MVI56 module automatically as a confirmation to the alarm indications. however. The MVI56-PDPMV1 module supports the following special functions through this mailbox messaging scheme: Initiated from Processor Message Description Set Operation Mode Controls the operating state of the PROFIBUS Master Set Slave Mode Sends special control command to one or several slaves (Sync/Freeze) Get Slave Diag Gets diagnostic information from a slave Get Slave Config Gets slave configuration Set Slave Address Sets node address of a slave (if supported by the slave) Get Live List Gets information from all nodes on the network MSAC1 Read DPV1 acyclic read (Class 1) MSAC1 Write DPV1 acyclic write (Class 1) Start Slave Starts slaves dynamically Stop Slave Stops slaves dynamically DPV1 Alarm Handling: Generated by Slave Devices Message Description Alarm Indications Spontaneous alarm indication from DPV1 slave. The provided Function Blocks simplify the processor logic required to implement these messaging mailbox exchanges. it is important to follow a certain sequence. Page 148 of 255 ProSoft Technology. March 22. The sample ladder logic assigns specific message IDs to different mailbox messages. Inc. the message is processed immediately. The Message ID field is used by the MVI56 module to detect a new message in the PROFIBUS output data image. 1 Message Info 2 Command See individual commands for data values to be entered in each of these register locations 3 Data Size 4 Frame Count 5 Frame Number 6 Offset high 7 Offset Low 8 Extended Word 1 9 Extended Word 2 10 Extended Word 3 11 Extended Word 4 12 Extended Word 5 13 Extended Word 6 14 Extended Word 7 15 Extended Word 8 - See individual commands 149 ProSoft Technology.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Mailbox Message Structure: To MVI56 Module Word Offset Type Description 0 Message ID Processor logic or user-set. 2011 Page 149 of 255 . When a non-zero value is detected. or all slaves simultaneously. 2011 .5 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Message Commands 3. The stored output data are not sent to the outputs until the next sync command is received. Page 150 of 255 ProSoft Technology. Inc. During subsequent user data transmissions. Similarly. a freeze control command causes the addressed slaves to assume freeze mode. which is executed automatically.5. Note 2: Not all slaves support this feature.1 Mailbox Message: Set Slave Mode In addition to station-related user data transfer. Refer to the documentation for the actual slave for more information. the output data are stored on the slaves. The slaves begin sync mode when they receive a sync command from their assigned Master. These control commands are transmitted as multicast commands. Freeze mode is concluded with the unfreeze command. The outputs of all addressed slaves are then frozen in their current state. Note 1: It is only possible to send control commands when operating mode is either "CLEAR" or "OPERATE". In this operating mode. Sync mode is concluded with the unsync command. but the output states remain unchanged. a group of slaves. Parameter Description Command Initiator Application Command Name SET SLAVE MODE Command Number 0300h Fragmented No Extended Header Data Fault information may be returned in the header of the response.Mailbox Messaging User Manual 3. the states of the inputs are frozen until the Master sends the next freeze command. March 22. the Master can send control commands to a single slave. This permits use of sync and freeze modes for event-controlled synchronization of the slaves. Refer to the following example: b7 b6 b5 b4 b3 b2 b1 b0 Group 8 Group 7 Group 6 Group 5 Group 4 Group 3 Group 2 Group 1 ProSoft Technology. that slave address must be entered in the range 1 to 125. 127 If the request applies for only one slave. Inc. March 22. If a slave group is to be addressed. Slave Address Range 1 to 125.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Command and Response Layout: Set Slave Mode Command Message ID Response (ID) (ID) Message information 4002h 0002h Command 0003h 0003h Data size 0000h 0000h Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 Slave Address Extended word 2 Control Command Group Select Slave Address Set Slave Mode Group Select Control Command Extended word 3 - - Extended word 4 - - Extended word 5 - - Extended word 6 - - Extended word 7 - Extended Fault Information Extended word 8 Fault Information Message Information Refer to Message Information (page 173). 2011 Page 151 of 255 . slave address should be 127 (multicast address). Group Select Range 01h to FFh (Bit Coded) This parameter determines which group to address. and 4. the correct group selection must also be made. March 22. Inc. set to zero 1 Reserved. 2011 . and is downloaded during initialization to each slave via the PROFIBUS telegram Set_Prm. the Group Select value should be D0h. set to zero Combinations of the bits (Unsync/Sync and Unfreeze/Freeze) Bits 0 or 6 Bits 1 or 7 Explanation 0 0 No function 0 1 Function will be activated 1 0 Function will be inactive 1 1 Function will be inactive Fault Information and Extended Fault Information "Fault Information" Contents 0100h Address out of range 0200h Group number 0 not permitted 0A00h Failed to send Global Control request "Extended Fault Information" Contents 0A00h 0150h 0250h 0350h 0450h FE00h FF00h Page 152 of 255 Command not possible in Class 2 only mode Module not initialized Incorrect operation mode (Clear/Operate Only) Invalid Freeze Group (Group is not initiated to be Freeze Group) Invalid Sync Group (Group is not initiated to be Sync Group) Incorrect Control Command No Sync -/ or Freeze groups enabled in Master configuration - - ProSoft Technology. What group(s) a slave belongs to is determined during network configuration. 2. If an individual slave should be addressed. Control Command This parameter specifies the command to send: Bit Explanation 0 (LSB) Reserved. set to zero 2 Unfreeze input data 3 Freeze input data 4 Unsynchronize output data 5 Synchronize output data 6 Reserved.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Example: To address Group 1. because the slave will ignore the message if it does not belong to the requested group(s). set to zero 7 (MSB) Reserved. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual 3.2 Mailbox Message: Get Slave Diagnostics This command reads diagnostic data from a specified slave. Command and Response Layout: Get Slave Diagnostics Command Message ID Response (ID) (ID) Message information 4002h 0002h Command 0004h 0004h Data size 0000h (Size of data) Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 Slave Address Type of Request Slave Address Get Slave Diagnostics Type of Request Extended word 2 - - Extended word 3 - - Extended word 4 - - Extended word 5 - Extended word 6 - Extended word 7 - Extended Fault Info Extended word 8 - Fault Information Station Station Status 1 Status 2 Station Station Status 3 Status 4 Ident Number Response data word 1 Response data word 2 Response data word 3 Extended Diagnostic Data Response data word 4 .5.. . Note: The response data size depends on the actual slave implementation.. March 22. 2011 Page 153 of 255 . Inc. Parameter Description Command Initiator Application Command Name GET SLAVE DIAGNOSTICS Command Number 0400h Fragmented No Extended Header Data Fault information may be returned in the header of the response.. Range 6 to 244.. Response data word n ProSoft Technology. 0100h: Address out of range. Refer to Return Codes (page 174) for additional fault information.. Type of request 00h: Internal slave diagnostic request... Error Codes 2 to 4 are reserved.. March 22. 3] Refer to EN50170 Vol. FE00h: Command not possible.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Message Information Refer to Message Information (page 173). Slave Address Range 1 to 125. Can only be requested for slaves configured by the Master. Returns the diagnostic information stored in the Master. Return Code Refer to Mailbox Messaging Error Codes (page 173) Fault Information If "Invalid Other" is returned in the Message Information word in the header of the response. 01h: External slave diagnostic request. Note: Not allowed when operating in "Class 2-Only" mode. module operates as a Class 2 Master only. Refer to Mailbox Messaging Error Codes (page 173). information about the fault can be found here.4] If "Return Code" equals 8030h ("Negative indication from lower layer"). 2 for more information. Error code [1 . Refer to Return Codes (page 174) for additional fault information. status values according to the DP-specification may be available in "Error Code 1". specifies the slave from which to read diagnostics. Inc. Can be requested for all slaves on the network. Master Address Address of the Master that parameterized the slave. Page 154 of 255 ProSoft Technology. FF00h: Module offline (not initialized or no valid database). 2011 . 0200h: Incorrect "Type of request" 0A00h: Failed to read diagnostic data from slave. Station Status [1 . 0B00h: Remote station failure. Sends a diagnostic request on the network to the specified slave. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Ident Number Unique ID assigned by the PROFIBUS User Organization. Parameter Description Command Initiator Application Command Name GET SLAVE CONFIGURATION Command Number 0500h Fragmented No Extended Header Data Fault information may be returned in the header of the response. Refer to the documentation for the actual slave for more information. Extended Diagnostic Data Slave user-specific data. 2011 Page 155 of 255 .3 Mailbox Message: Get Slave Configuration This command reads the actual configuration (identifier bytes) of a specified slave.5. Note: The response data size depends on the actual slave implementation. Inc. 3. ProSoft Technology. Range 6 to 244. March 22. specifies the slave from which to read the configuration. Inc. Slave Address Range 1 to 125.. March 22. Page 156 of 255 ProSoft Technology.. Response data word n Acyclic Message Status Word Refer to Acyclic Message Status Word (page 173).. 2011 . Identifier byte n ..Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Command and Response Layout: Get Slave Configuration Command Message ID Response (ID) (ID) Acyclic Message Status Word 4002h 0002h Command 0005h 0005h Data size 0000h (Size of data) Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 Slave Address Get Slave Configuration Number of identifier bytes (n) Slave Address Extended word 2 - - Extended word 3 - - Extended word 4 - - Extended word 5 - Error Code 1 Error Code 2 Extended word 6 - Error Code 3 Error Code 4 Extended word 7 - Return Code Extended word 8 - Fault Information Identifier byte 1 Response data word 1 Identifier byte 2 Response data word 2 Identifier byte 3 Response data word 3 . MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Error Code [1 … 4] If "Return Code" equals 3080h ("Negative indication from lower layer"). 0B00h: Remote station failure. Parameter Description Command Initiator Application Command Name SET SLAVE ADDRESS Command Number 0600h Fragmented No Extended Header Data Fault information may be returned in the header of the response. if the slave supports this feature. Return Code Refer to Mailbox Messaging Error Codes (page 173). Identifier Bytes [1 … n] Refer to EN50170 Vol. status values according to the DP-specification may be available in "Error Code 1". In addition. Inc. ProSoft Technology. refer to the documentation provided with the slave device for more information.4 Mailbox Message: Set Slave Address This command makes it possible to set the node address of a specified slave. Note: The message data size depends on the actual slave implementation. 0A00h: Failed to execute request. Fault Information If "Invalid other" is returned in the Acyclic Message Status Word in the header of the response. 2011 Page 157 of 255 . 3. 2 for information on the structure of these bytes. Refer to Mailbox Messaging Error Codes (page 173). Refer to Return Codes (page 174) for additional information. Refer to Acyclic Message Status Word (page 173). information about the fault can be found here. Range 0 to 240 bytes. Refer to Return Codes (page 174) for additional information.5. 0100h: Address out of range. Error Codes 2 through 3 are reserved. March 22. FF00h: Module not initialized. Slave Data n Slave Data n Message Data byte "n" No. Current Slave Address Range 1 to 125. New Slave Address Current Slave Addr. of Slave Data bytes (n) New Slave Address Extended word 4 . Inc.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Command and Response Layout: Set Slave Address Command Response Message ID (ID) (ID) Message information 4002h 0002h Command 0006h 0006h Data size (Size of data) (Size of data) Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 Extended word 2 Extended word 3 Current Slave Addr... 2011 .... New Slave Address Range 1 to 125. March 22. Set Slave Address Message Information Refer to Message Information (page 173). Page 158 of 255 ProSoft Technology. . specifies the new address of the slave. specifies the current address of the slave.. Slave Ident Number No_add_ Chg Slave Ident Number - No_add_ Chg - - Extended word 5 - Error Code 1 Error Code 2 Extended word 6 - Error Code 3 Error Code 4 Extended word 7 - Return Code Extended word 8 Fault Information Message Data byte 1 Slave Data 1 Slave Data 1 Message Data byte 2 Slave Data 2 Slave Data 2 Message Data byte 3 Slave Data 3 Slave Data 3 . The data is stored in the slave if possible (EEPROM. the slave takes the default address of 126. No_add_Chg This parameter specifies whether it is allowed to change the slave address again later. FLASH. it is only possible to change the address with this function after initial reset. Error Code [1 …4] If "Return Code" equals 3080h ("Negative indication from lower layer"). 0A00h: Failed to execute request. 01h-FFh: Change of address is only possible after the initial address (the default address = 126). ProSoft Technology. March 22. 00h: Change of address is still possible at a later stage. 0B00h: Remote station failure. After the initial reset. 0200h: New slave address out of range. Fault Information If "Invalid Other" is returned in the Message Information word in the header of the response. or other storage media). Error Codes 2 and 3 are reserved. Refer to Return Codes (page 174). which address should be altered. Inc. FF00h: Module not initialized. 2011 Page 159 of 255 . Refer to Mailbox Messaging Error Codes (page 173). information about the fault can be found here: 0100h: Current slave address out of range. status values according to the DP-specification in available in "Error Code 1". it is possible to deliver user-specific data. Return Code Refer to Return Codes (page 174).MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Slave Ident Number Ident number for the slave. If this is not allowed. Slave Data With this parameter. March 22. Inc. and the position of the byte in the response data assigns the address (0 to 126).. Response Data Byte 1 Station Type 126 Response Data Byte 1 . however the module must be initialized properly. Every byte stands for one bus subscriber. Message Data byte "n" Page 160 of 255 ProSoft Technology..5 Mailbox Message: Get Live List This command returns 127 bytes of information about the nodes on the network. CLEAR.5.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3. Command and Response Layout: Get Live List Command Message ID Response (ID) (ID) Message information 4002h 0002h Command 0018h 0018h Get Live List Data size 0000h 0007h 127 Bytes of Data Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 - - Extended word 2 - - Extended word 3 - - Extended word 4 - - Extended word 5 - - Extended word 6 - - Extended word 7 - Return Code Extended word 8 - Fault Information Message Data byte 1 Station Type 0 Response Data Byte 1 Message Data byte 2 Station Type 1 Response Data Byte 1 Message Data byte 3 Station Type 2 Response Data Byte 1 ... and OPERATE). the content assigns the Station Type. 2011 . This command can be sent in all operation modes (STOP. Parameter Description Command Initiator Application Command Name GET LIVE LIST Command Number 1800h Fragmented No Extended Header Data Fault information may be returned in the header of the response. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Message Information Refer to Message Information (page 173). 0AH00: Failed to build Live List. information about the fault can be found here. March 22. Inc. Parameter Description Command Initiator Application Command Name MSAC1 READ Command Number 2000h Fragmented No Extended Header Data Fault information may be returned in the header of the response.5. Refer to EN50170 (DPV1) for more information. ProSoft Technology. FF00h: Module offline (not initialized or no valid database) 3.6 Mailbox Message: Acyclic Data Read: Class 1 This command initiates a DPV1 Class 1 acyclic read request. Station Type [0 … 126] 00h: Slave Station 01h: Master Station not yet ready for Token ring (station only physically at the bus) 02h: Master Station ready to enter Token ring (there is not yet any Token transmission) 03h: Master Station in Token Ring (Token transmission through the station) 04h: Station does not exist Fault Information If "Invalid Other" is returned in the Message Information word in the header of the response. Refer to Message Information (page 173). 2011 Page 161 of 255 . Page 162 of 255 ProSoft Technology. Data n .. Slave Address Station address of the slave responder. Slot Number and Slot Index Used in the slave to address the desired data block. Slot Number Length Index Length Extended word 3 - - Extended word 4 - - Extended word 5 - Extended word 6 - Error Code 1 Error Code 2 Extended word 7 - Extended Fault information Extended word 8 - Fault Information Number of data bytes (n) Error Decode Data 1 Response Data byte 1 Data 2 Response Data byte 1 Data 3 Response Data byte 1 . Response Data byte 1 Message Information Refer to Message Information (page 173).. Extended word 2 Index Acyclic Read Slot Number Slave Addr.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Command and Response Layout: Acyclic Read Command Message ID Response (ID) (ID) Message information 4002h 0002h Command 0020h 0020h Data size 0000h (Size of data) Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 Slave Addr.. March 22. 2011 .. Inc. the response will contain the same amount of data. information about the fault can be found here. 0B00h Remote station failure 1000h Remote station DPV1 failure Function_Number 1100h Length out of range (>240 bytes) - 1200h Slave does not support DPV1 - 1300h Slave not active or not present in configuration - FE00h Command not possible in "Class 2. Data [1 … n] Returned data.Only" mode FF00h Module offline (not initialized or no valid database) - Error Decode. March 22. If the server data block is greater or equal. more information according to the DPV1 specification can be found here. ProSoft Technology. the length of the response will be the actual length of the data block. The slave may answer with an error response if data access is not allowed. Fault Information and Extended Fault Information If "Invalid Other" is returned in the Message Information word in the header of the response. If the server data block length is less than requested.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Length This parameter specifies the number of bytes of the data block to read. Error Code 1 and Error Code 2 If "Fault Information" contains error code 1000h. "Fault Information" "Extended Fault Information" Contents 0100h Address out of range - 0A00h Failed to execute request Refer to Return Codes (page 174). Inc. 2011 Page 163 of 255 . Data n Data n Message Data byte n Number of data bytes (n) Slot Number Length Extended word 4 . Acyclic Write Acyclic Message Status Word Refer to Acyclic Message Status Word (page 173). . 2011 ..5. Index Slot Number Length Slave Addr... Index - - - - Extended word 5 - Extended word 6 - Error DecodeError Code 1 Error Code 2 Extended word 7 - Extended Fault information Extended word 8 - Fault Information Message Data byte 1 Data 1 Data 1 Message Data byte 2 Data 2 Data 2 Message Data byte 3 Data 3 Data 3 .Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3.7 Mailbox Message: Acyclic Data Write: Class 1 This command initiates a DPV1 Class 1 acyclic write request... Page 164 of 255 ProSoft Technology.. March 22. Inc. Command and Response Layout: Acyclic Write Command Message ID Response (ID) (ID) 4002h 0002h 0021h 0021h (Size of data) (Size of data) Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Acyclic Message Status Word Command Data size Extended word 1 Extended word 2 Extended word 3 Slave Addr. Refer to EN50170 (DPV1) for more information. Parameter Description Command Initiator Application Command Name MSAC1 WRITE Command Number 2100h Fragmented No Extended Header Data Fault information may be returned in the header of the response. Fault Information and Extended Fault Information If "Invalid Other" is returned in the Acyclic Message Status Word in the header of the response. Data [1 … n] Data that should be written. This mailbox message is sent spontaneously by the module. Slot Number and Slot Index Used in the slave to address the desired data block. If the destination data block size is less than requested. ProSoft Technology. Error Code 1. March 22. If the data block length is greater than or equal to the requested length. information about the fault can be found here: "Fault Information" "Extended Fault Information" Contents 0100h Address out of range - 0A00h Failed to execute request Refer to Return Codes (page 174). The slave may answer with an error response if data access is not allowed. the module itself initiates the mailbox communications.8 Mailbox Message: Alarm Indication This message indicates to the application that a DPV1 slave has transferred an alarm message to the Master. Length This parameter specifies the number of bytes to write.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Slave Address Station address of the slave responder. the response will contain an error message. 2011 Page 165 of 255 .Only" mode FF00h Module offline (not initialized or no valid database) - Error Decode.5. the response contains the number of bytes that have been written. Inc. 0B00h Remote station failure 1000h Remote station DPV1 failure Function_Number 1100h Length out of range (>240 bytes) - 1200h Slave does not support DPV1 - 1300h Slave not active or not present in configuration - FE00h Command not possible in "Class 2. 3. and Error Code 2 If "Fault Information" contains error code 1000h. more information according to the DPV1 specification can be found here. Slot Number Used by the slave to indicate the source of the alarm.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Detailed information about the cause of the alarm is presented in extended words 1 to 3 and in the message data field (see below). Inc. March 22. Page 166 of 255 ProSoft Technology. 2011 . Range 0 to 254. Command and Response Layout: Alarm Indication Command Message ID Response (ID) (ID) Message information 4002h 0002h Command 0022h 0022h Data size (request length) 0000h Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 Slave Address Extended word 2 Seq Number Extended word 3 Slot Number - Alarm Spec Ack - Ext Diag - Alarm Type Extended word 4 - - Extended word 5 - - Extended word 6 - - Extended word 7 - - Extended word 8 Fault Information - Message Data byte 1 Data 1 Message Data byte 2 Data 2 Message Data byte 3 Data 3 … Message Data byte n Alarm Indication … Data n Slave Address Station address of the slave that issued the alarm. Alarm Spec Ack Provides additional information about the alarm. Inc. 3E00h: Module has received an invalid alarm indication data structure from a DPV1 slave ("Slave Address" contains the node address of the slave that issued the erroneous indication).PDU) Fault Information If the Message Information word in the header of the message indicates "Invalid Other". Plug Alarm. 3. Alarm Type Identifies the alarm type such as Process Alarm. Extended Diagnostic Flag FFh: Slave sends an alarm message with "Extended Diag flag" set 00h: Slave sends an alarm message with "Extended Diag flag" cleared Data [1 … n] Additional manufacturer-specific alarm information (Alarm . Refer to the PNO document "Extensions to EN50170 (DPV)" for more information on how to interpret these parameters. addition information is available in this register. 2011 Page 167 of 255 .9 Mailbox Message: Set Operating Mode This command allows setting the operating mode of the module (STOP. Range 1 to 6. 32 to 126. Also indicates whether the slave needs additional knowledge from the Master. and so on. or OPERATE).MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Seq Number Unique identification number of the alarm.5. ProSoft Technology. Parameter Description Command Initiator Application Command Name SET OPERATING MODE Command Number 0200h Fragmented No Extended Header Data Fault information may be returned in the header of the response. Range 0 to 31. CLEAR. For example: writing to a certain memory area with an Acyclic Write request. March 22. such as if an error appears or disappears. information about the fault can be found here. Refer to Return Codes (page 174) for more information. the user is not required to send a confirmation message. 2011 . Inc. March 22. All confirmations are automatically sent by the Master. Req Mode Set Operation Mode Conf. Req. 0100h: Invalid operating mode FF00h: Module not initialized Page 168 of 255 ProSoft Technology.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Command and Response Layout: Set Operating Mode Command Message ID Response (ID) (ID) Message information 4002h 0002h Command 0002h 0002h Data size 0000h 0000h Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 Mode Conf. 00h: Confirmation is not required 01h: Confirmation required. Req Extended word 2 - - Extended word 3 - - Extended word 4 - - Extended word 5 - - Extended word 6 - - Extended word 7 - - Extended word 8 - Fault Information Mode 40h: STOP 80h: CLEAR C0h: OPERATE Conf. Fault Information If "Invalid Other" is returned in the Message Information word in the header of the response. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual 3. Command and Response Layout: Start Slave Command Message ID Response (ID) (ID) Message information 4002h 0002h Command 000Bh 000Bh Data size 007Eh 007Eh Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 2 - - Extended word 3 - - Extended word 4 - - Extended word 5 - - Extended word 6 - - Extended word 7 - Additional Fault Information Extended word 8 - Fault Information Start Slave Extended word 1 Message data word 1 Message data word 2 Message data word 3 to 62 Message data word 63 ProSoft Technology. This message is allowed in all Operation modes (STOP. CLEAR and OPERATE). Slave 1 Slave 3 . Inc.10 Mailbox Message: Start Slave This mailbox message starts a selection of slaves that was previously removed from the processing cycle by means of the mailbox message FB_APPL_STOP_SLAVE.... Slave 0 Slave 2 .. Note: The message will be accepted even if one or several slaves are not part of the configuration and can therefore obviously not be started.. 2011 Slave 0 Slave 2 . However. March 22. Slave 124 Slave 125 Slave 124 Slave 125 Page 169 of 255 .. the application can find out about this situation by evaluating the "Fault information" and "Message data words" of the response.5.. Slave 1 Slave 3 . 0x0002: At least one slave reports a warning. If "Invalid Other" is returned. 0: Do not affect slave 1: Start slave 2-255: Reserved Response:  Message information (in response header) "Invalid Data Size" is returned if Data size in the command header does not equal 126.  Fault information (Extended word 8) 0x0001: Invalid setting in Message data word 1-63 of the command. 0: Slave unaffected 1: Slave started 2: Warning . 0x000A: Failed to execute request. March 22. Note: The message will be accepted even if one or several slaves are not part of the configuration and can therefore obviously not be stopped. Refer to Message data word 163. Page 170 of 255 ProSoft Technology. 2011 . Inc. 0x00FF: Module not initialized (this command is only possible after END_INIT).  Additional Fault information (Extended word 7) If Extended word 8 equals 0x000A -"Failed to execute request" additional info can be found here. module operates as class 2 Master only. 0x00FE: Command not possible. further information is to be found in Extended word 8.11 Mailbox Message: Stop Slave This mailbox message stops a selection of slaves from the processing cycle. This message is allowed in all Operation modes (STOP.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Command:  Message data word 1-63 Byte-array stating which slave/slaves to start. Array index is equal to slave address. the application can find out about this situation by evaluating the "Fault information" and "Message data words" of the response.Slave could not be started because it is not part of the configuration 3. Array index is equal to slave address. CLEAR and OPERATE).5. Additional fault information is to be found in Extended word 7. However.  Message data word 1-63 Byte-array stating the status of the slaves. 2011 Page 171 of 255 . ... 0: Do not affect slave 1: Stop slave 2-255: Reserved ProSoft Technology. Inc. ... Message data word 63 Slave 124 Slave 125 Slave 124 Slave 125 Command:  Message data word 1-63 Byte-array stating which slave/slaves to stop. . March 22. Array index is equal to slave address..MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual Command and Response Layout: Stop Slave Command Message ID Response (ID) (ID) Message information 4002h 0002h Command 000Ch 000Ch Data size 007Eh 007Eh Frame count 0001h 0001h Frame number 0001h 0001h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 - - Extended word 2 - - Extended word 3 - - Extended word 4 - - Extended word 5 - - Extended word 6 - - Extended word 7 - Additional Fault Information Extended word 8 - Fault Information Stop Slave Message data word 1 Slave 0 Slave 1 Slave 0 Slave 1 Message data word 2 Slave 2 Slave 3 Slave 2 Slave 3 Message data word 3 to 62 .... Slave already stopped Page 172 of 255 ProSoft Technology. If "Invalid Other" is returned. 0: Slave unaffected 1: Slave stopped 2: Warning . 0x0002: At least one slave reports a warning.  Additional Fault information (Extended word 7) If Extended word 8 equals 0x000A -"Failed to execute request" additional info can be found here.  Message data word 1-63 Byte-array stating the status of the slaves. Refer to Message data word 163. 2011 . 0x00FE: Command not possible. Additional fault information is to be found in Extended word 7.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Response:  Message information (in response header) "Invalid Data Size" is returned if Data size in the command header does not equal 126. further information is to be found in Extended word 8. 0x000A: Failed to execute request.  Fault information (Extended word 8) 0x0001: Invalid setting in Message data word 1-63 of the command. Inc. 0x00FF: Module not initialized (this command is only possible after END_INIT). March 22. module operates as class 2 Master only.Slave could not be stopped because it is not part of the configuration 3: Warning . Array index is equal to slave address. 1 Acyclic Message Status Word This register contains bit and code information about the mailbox message. ProSoft Technology. Inc. The register is divided into five areas according to the following illustration: b15 b14 b13 b12 b11 b10 b9 b8 Message Type b7 b6 b 5 b4 ER R C/ R (reserved) Bit / Field Description Contents ERR This bit indicates if the received command contained any errors.6. this field 0h: contains additional information 1h: about the error. 2011 1h: Application Message 2h: PROFIBUS Specific Message 3h: Memory Message 5h: Reset Message (All other values are reserved) Page 173 of 255 . March 22.6 Mailbox Messaging User Manual Mailbox Messaging Error Codes 3. 2h: 3h: 4h: 5h: 6h: 8h: 9h: Fh: b 3 b2 b1 b0 Error Code Invalid Message ID Invalid Message Type Invalid Command Invalid Data Size Message header malformed (offset 008h) Message header malformed (offset 00Ah) Message header malformed (offset 00Ch to 00Dh) Invalid Response Flash Config Error Invalid Other (All other values are reserved) Message Type This field specifies the type of the message.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3. 0: 1: Message OK Error (See also "Error Code" below) C/R This bit specifies whether the message is a command or a response. 0: 1: Response Message Command Message Error Code If the ERR bit is set. 6. Inc.Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3. 2011 . March 22.2 Return Codes Possible error codes in Message Data word "Return Code" (The Return Codes can be byte swapped) Return Code Name Meaning 8010h DPMC_ERR_V1C_CLOSED Internal DPMC instance no longer exists 8011h DPMC_ERR_V1C_STOPPED Internal DPMC instance has already been stopped 8012h DPMC_ERR_V1C_STARTED Internal DPMC instance has already been started 8013h DPMC_ERR_V1C_STATE_UNKNOWN Internal DPMC instance has entered an undefined state 8021h DPMC_ERR_V1C_REQ_ACTIVE A request is already active 8022h DPMC_ERR_V1C_NOT_ALLOWED Internal DPMC module not initialized correctly 8023h DPMC_ERR_V1C_INVALID_PAR Invalid parameter in user request 8024h DPMC_ERR_V1C_MEM_ALLOC Internal memory allocation error 8025h DPMC_ERR_V1C_L2_REQ Unknown opcode in the confirmation 8026h DPMC_ERR_V1C_TIMEOUT Active request terminated with timeout 8028h DPMC_ERR_V1C_INVALID_LEN Invalid length in user request 8030h DPMC_ERR_V1C_REQ_NEG1 Negative indication from lower layer 8031h DPMC_ERR_V1C_REQ_RE Message frame format error in response 8042h DPMC_ERR_V1C_REQ_WITHDRAW Request was recalled 8043h DPMC_ERR_V1C_REQ_NOT_FOUND Associated request block not found 80C1h DPMC_ERR_V1C_MM_FE Format error in request frame 80C2h DPMC_ERR_V1C_MM_NI Function not implemented 80C3h DPMC_ERR_V1C_MM_AD Access denied 80C4h DPMC_ERR_V1C_MM_EA Area too large 80C5h DPMC_ERR_V1C_MM_LE Data block length too large 80C6h DPMC_ERR_V1C_MM_RE Format error in response frame 80C7h DPMC_ERR_V1C_MM_IP Invalid parameter 80C8h DPMC_ERR_V1C_MM_SC Sequence conflict 80C9h DPMC_ERR_V1C_MM_SE Sequence error 80CAh DPMC_ERR_V1C_MM_NE Area non-existent 80CBh DPMC_ERR_V1C_MM_DI Data incomplete or incorrect 80CCh DPMC_ERR_V1C_MM_NC Master parameter set not compatible Refer to Error Codes (page 175). Page 174 of 255 ProSoft Technology. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Mailbox Messaging User Manual 3.6.3 Error Codes If the return code indicates DPMC_ERR_V1C_REQ_NEG, the status values according to the DP-standard may be available in Error Code 1. Refer to the PROFIBUS DP specification for information on how to interpret these status values. Error Code Name 01h L2_STATUS_UE 02h L2_STATUS_RR 03h L2_STATUS_RS 0Ch L2_STATUS_RDL 0Dh L2_STATUS_RDH 0Fh L2_STATUS_NA ProSoft Technology, Inc. March 22, 2011 Meaning Refer to PROFIBUS DP specification Page 175 of 255 Mailbox Messaging User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 3.6.4 DP-V1 Error Codes Possible error codes in Message Data word "Return Code". Return Code Name Meaning 0003h DPMC_ERR_M_MEM_ALLOC Internal memory allocation error 0004h DPMC_ERR_M_L2_REQ Unknown opcode in the configuration 0005h DPMC_ERR_M_INVALID_PAR Invalid parameter in user request 0007h DPMC_ERR_M_NOT_IN_DATA Slave is not in DataExchange (thus no DP-V1 request can exist) 0012h DPMC_ERR_M_REQ_ACTIVE A request is already active 0018h DPMC_ERR_M_NOT_ALLOWED Internal DPMC module not initialized correctly 0021h DPMC_ERR_M_CLOSED Internal DPMC instance no longer exists 0022h DPMC_ERR_M_STOPPED Internal DPMC instance has already been stopped 0023h DPMC_ERR_M_STARTED Internal DPMC instance has already been started 0024h DPMC_ERR_M_STATE_UNKNOWN Internal DPMC instance has entered an undefined state 002Fh DPMC_ERR_M_SLAVE_NOT_FOUND Slave does not respond 0031h DPMC_ERR_M_TIMEOUT Active request terminated with timeout 0034h DPMC_ERR_M_INVALID_LEN Invalid length in user request 0035h DPMC_ERR_M_REQ_NEG Negative indication from lower layer 0036h DPMC_ERR_M_REQ_RE Message frame format error in response 0037h DPMC_ERR_M_REQ_WITHDRAW Request was recalled 0038h DPMC_ERR_M_REQ_NOT_FOUND Associated request block not found 0040h DPMC_ERR_M_MM_FE Format error in request frame 0041h DPMC_ERR_M_MM_NI Function not implemented 0042h DPMC_ERR_M_MM_AD Access denied 0043h DPMC_ERR_M_MM_EA Area too large 0044h DPMC_ERR_M_MM_LE Data block length too large 0045h DPMC_ERR_M_MM_RE Format error in response frame 0046h DPMC_ERR_M_MM_IP Invalid parameter 0047h DPMC_ERR_M_MM_SC Sequence conflict 0048h DPMC_ERR_M_MM_SE Sequence error 0049h DPMC_ERR_M_MM_NE Area non-existent 004Ah DPMC_ERR_M_MM_DI Data incomplete or incorrect 004Bh DPMC_ERR_M_MM_NC Master parameter set not compatible 004Ch DPMC_ERR_M_S7_XA 004Dh DPMC_ERR_M_S7_XR 004Eh DPMC_ERR_M_S7_XW Page 176 of 255 PROFIBUS error for DP-V1 (NRS-PDU received) ProSoft Technology, Inc. March 22, 2011 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 4 Diagnostics and Troubleshooting User Manual Diagnostics and Troubleshooting In This Chapter  Basic Troubleshooting Steps ............................................................... 178  LED Status Indicators: Front of MVI56 Module ................................... 179  Using ProSoft Configuration Builder (PCB) for Diagnostics................. 184 The module provides information on diagnostics and troubleshooting in the following forms:  LED status indicators on the front of the module provide general information on the module's status.  Status data contained in the module can be viewed through the Configuration/Debug port, using the troubleshooting and diagnostic capabilities of ProSoft Configuration Builder (PCB).  Status data values can be transferred from the module to processor memory and can be monitored there manually or by customer-created logic. ProSoft Technology, Inc. March 22, 2011 Page 177 of 255 Diagnostics and Troubleshooting User Manual 4.1 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Basic Troubleshooting Steps 1 2 3 Verify that the module is installed correctly, and is communicating with the processor. Install the most current version of ProSoft Configuration Builder. Note the color and behavior of the LED Status Indicators (lights) on the front panel. Refer to the chart in the following section for examples. Page 178 of 255 ProSoft Technology, Inc. March 22, 2011 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 4.2 Diagnostics and Troubleshooting User Manual LED Status Indicators: Front of MVI56 Module The LEDs indicate the module’s operating status. The module has two sets of LED status indicators:  MVI56 Module Status LEDs on the front of  the module near the top PROFIBUS Master Status LEDs behind the door on the front of the module. 4.2.1 Module Faceplate Status Indicators Indicator CFG Color Green Status ON OFF Indication Configuration/Debug Port is active Configuration/Debug Port is inactive P1 P2 APP STATUS Not Used Not Used Amber ON Amber OFF ON Configuration Error: This LED is illuminated when the PROFIBUS and module CRC values do not match between input/output blocks. Verify that the values match the values generated with the Calculate Checksums button in ProSoft Configuration Builder. If they do not match, you must manually change the values at the appropriate address locations listed in the Input and Output block definitions in this manual. Normal operation. The LED is ON when the module is able to communicate over the backplane. The LED is OFF when the module is unable to communicate with the processor. The processor is either absent or not running. The battery voltage is OK and running. The battery voltage is low or the battery is not present. The battery LED will illuminate briefly upon the first installation of the module or if the unit has not had power for an extended period of time. This behavior is normal; however, should the LED come ON in a working installation, please contact ProSoft Technology. The card is not receiving any power and is not securely plugged into the rack. The module is operating normally. The program has detected an error or is being configured. If the LED remains RED for over 10 seconds, the processor program may be incompatible with the module. Check the module version (page 18) and mode (page 20) (Legacy or Flex) to determine the correct sample ladder logic. Remove the card from the rack and re-insert the card to restart the module’s program. BP ACT OFF BATT Red OFF ON OK Red/ Green OF GREEN RED ProSoft Technology, Inc. March 22, 2011 Page 179 of 255 Normal Operation Page 180 of 255 Processor Status Module Status RUN (ON) ACTIVE (ON) PROFIBUS Master Status PROFIBUS Master Status LED Description COM STAT (GREEN): Master is communicating with all configured slaves.2.3 Examples The following table shows some of the possible status indicators.Diagnostics and Troubleshooting User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 4. DBASE STAT (GREEN): PROFIBUS has been configured. Inc.2 PROFIBUS Master Indicators LED State Description TKN HLD GREEN The module has the token OFF The module does not have the token DBASE STAT GREEN GREEN-Flashing MSTR STAT COM STAT ALL LEDs Database OK Database download in progress RED Invalid database OFF No databases have been downloaded GREEN Operating mode GREEN-Flashing Clear mode RED Stop mode OFF Offline GREEN Data exchange with all configured slaves GREEN-Flashing Data exchange with at least one configured slave but not all configured slaves RED Bus control error (possible bus short circuit or configuration error) OFF No data exchange with any configured slave RED Fatal error 4. TKN HOLD (GREEN): Module is holding the PROFIBUS token.2. ProSoft Technology. MSTR STAT (GREEN): Master is in operating mode. 2011 . March 22. As previously indicated in this User Manual. DBASE STAT (GREEN): PROFIBUS has been configured.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Diagnostics and Troubleshooting User Manual Processor Status Module Status PROFIBUS Master Status PROFIBUS Master Status LED Description PROFIBUS Master is stopped RUN ACTIVE COM STAT (OFF): Master is not communicating with configured slaves. ProSoft Technology. it is required to have a sample program loaded in the processor in order to allow debug menu access through PCB and to be able to reconfigure the MVI56-PDPMV1 module. MSTR STAT (GREEN): Master is in operating mode. Also. MSTR STAT (RED): Master is in STOP mode. TKN HOLD (GREEN): Module is holding the PROFIBUS token. if you observe the MSTR STAT LED as RED or blinking GREEN/RED it means that an incorrect sample ladder logic was loaded to the processor (not matching the actual module mode (LEGACY or FLEX). As indicated below. 2011 Page 181 of 255 . then the module might not fully initialize or allow access to the debug menu through PCB. TKN HOLD (GREEN): Module is holding the PROFIBUS token. CPU is in Program mode PROG ACTIVE COM STAT (OFF): Master is operating but there are no slaves responding. DBASE STAT (GREEN): PROFIBUS has been configured. If the sample program is not set up correctly. March 22. the module requires the correct sample program loaded to the processor for correct initialization and operation. TKN HOLD (GREEN): Module is holding the PROFIBUS token. CPU is in Program mode PROG ACTIVE COM STAT (OFF): Master is not communicating with configured slaves. Inc. DBASE STAT (GREEN): PROFIBUS has been configured. MSTR STAT (RED): Master is in STOP mode. 2.Module located in slot that is not No configured (Waiting for connection to OR processor) . March 22.4 Legacy Mode (Use Legacy Mode = Yes) Scenario Debug Access After Power Up LED Behavior After Power Up . 4.No processor OR .Neither sample logics loaded to processor (LEGACY or FLEX) MSTR STAT= OFF COM STAT=OFF DBASE STAT=GREEN TKN HLD= OFF OK = RED BP ACT = AMBER APP STATUS= AMBER LEGACY Ladder loaded to processor (module is inserted in configured slot) Yes MSTR STAT= GREEN COM STAT= GREEN or OFF (depends if the module is communicating with PROFIBUS slaves) DBASE STAT= GREEN TKN HLD= GREEN OK = GREEN BP ACT = AMBER APP STATUS= AMBER FLEX Ladder Yes MSTR STAT= GREEN (1sec) /RED (2 secs) COM STAT= OFF DBASE STAT= GREEN TKN HLD= GREEN OK = GREEN BP ACT = OFF APP STATUS= AMBER Page 182 of 255 ProSoft Technology. Inc.Diagnostics and Troubleshooting User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master The following tables will help you to troubleshoot different scenarios and the LED behavior. 2011 . No processor OR .Neither sample logics loaded to processor (LEGACY or FLEX) No (Waiting for connection to processor) MSTR STAT= OFF COM STAT=OFF DBASE STAT=GREEN TKN HLD= OFF OK = RED BP ACT = AMBER APP STATUS= AMBER LEGACY Ladder Yes MSTR STAT= RED COM STAT= OFF DBASE STAT= GREEN TKN HLD= GREEN OK = GREEN BP ACT = OFF APP STATUS= AMBER FLEX Ladder Yes MSTR STAT= GREEN COM STAT= GREEN or OFF (depends if the module is communicating with PROFIBUS slaves) DBASE STAT= GREEN TKN HLD= GREEN OK = GREEN BP ACT = AMBER APP STATUS= OFF ProSoft Technology. Inc. 2011 Page 183 of 255 .MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Diagnostics and Troubleshooting User Manual 4.2.Module located in slot that is not configured OR . March 22.5 Flex Mode (Use Legacy Mode=No) Scenario Debug Access After Power Up LED Behavior After Power Up . When you type a [COMMAND LETTER]. To stop the driver your RSWho screen should look like this: Page 184 of 255 ProSoft Technology. If the network is being browsed. 3 Notice how the DF1 driver is opened.3 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Using ProSoft Configuration Builder (PCB) for Diagnostics The Configuration and Debug menu for this module is arranged as a tree structure. a new screen will be displayed in your terminal application. Because this is a text-based menu system. follow these steps to disable the RSLinx driver. 4.3. The module does not respond to mouse movements or clicks. and one or more sub-menus for each menu command. you enter commands by typing the [command letter] from your computer keyboard in the Diagnostic window in ProSoft Configuration Builder (PCB). 2011 . If you are not able to connect to the module’s configuration/debug port using ProSoft Configuration Builder (PCB). Inc. March 22.Diagnostics and Troubleshooting User Manual 4. with the Main menu at the top of the tree. The following shows an actively browsed network. and the driver is looking for a processor on node 1. The first menu you see when you connect to the module is the Main menu. 2 Make sure that you are not actively browsing using the driver that you wish to stop. then you will not be able to stop this driver.1 Disabling the RSLinx Driver for the Com Port on the PC The communication port driver in RSLinx can occasionally prevent other applications from using the PC’s COM port. HyperTerminal or another terminal emulator. The command executes as soon as you press the [COMMAND LETTER] — you do not need to press [ENTER]. 1 Open RSLinx and go to COMMUNICATIONS > RSWHO. and you still cannot stop the driver. ProSoft Technology. When you have verified that the driver is not being browsed. then reboot your PC. 6 You may now use the com port to connect to the debug port of the module. If you have followed all of the above steps. and it will not stop the driver. go to COMMUNICATIONS > CONFIGURE DRIVERS. 2011 Page 185 of 255 . March 22. then make sure you do not have RSLogix open. you will not be able to use this com port for anything other than communication to the processor. You may see something like this: If you see the status as running.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Branches are displayed or hidden by clicking on the 4 Diagnostics and Troubleshooting User Manual or the icons. If RSLogix is not open. Note: You may need to shut down and restart your PC before it will allow you to stop the driver (usually only on Windows NT machines). To stop the driver press the STOP button on the side of the window: 5 After you have stopped the driver you will see the following. Inc. 3. Inc.2 RS-232 Configuration/Debug Port This port is physically an RJ45 connection. The cable pinout for communications on this port is shown in the following diagram.Diagnostics and Troubleshooting User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 4.3 DB9 to RJ45 Adaptor (Cable 14) Page 186 of 255 ProSoft Technology.3. This port permits a PC-based terminal emulation program to view configuration and status data in the module and to control the module. An RJ45 to DB-9 adapter cable is included with the module. 2011 . March 22. 4. Click the right mouse button to open a shortcut menu.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Diagnostics and Troubleshooting User Manual 4. ProSoft Technology.4 Using the Diagnostic Window in ProSoft Configuration Builder Tip: You can have a ProSoft Configuration Builder Diagnostics window open for more than one module at a time. March 22. This action opens the Diagnostics dialog box. choose DIAGNOSTICS. Inc.3. 2 On the shortcut menu. 2011 Page 187 of 255 . To connect to the module’s Configuration/Debug serial port 1 Start PCB. and then select the module to test. Inc. verify that your communication program is connected to the same port that is connected to the module. select a valid com port or other connection type supported by the module. On the Connection Setup dialog box. A regular serial cable will not work.Diagnostics and Troubleshooting User Manual 3 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Press [?] to open the Main menu. 3 On computers with more than one serial port. follow these steps: 1 Click to configure the connection. Verify that the null modem cable is connected properly between your computer’s serial port and the module. March 22. contact ProSoft Technology for assistance. 2 Page 188 of 255 ProSoft Technology. If there is no response from the module. 2011 . If you are still not able to establish a connection. ProSoft Technology. Also. +. on US English keyboards. they perform different actions on the module and may not be used interchangeably.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Diagnostics and Troubleshooting User Manual Navigation All of the submenus for this module contain commands to redisplay the menu or return to the previous menu. and the number one (1). You can enter most commands in lowercase or uppercase letters. enter the ? command as SHIFT and /. uppercase letter "oh" (O) and the number zero (0) are not interchangeable. CTRL. lowercase letter "el" (L). or ALT keys to enter them correctly. You can always return from a submenu to the next higher menu by pressing [M] on your keyboard. Keystrokes The keyboard commands on these menus are usually not case sensitive. The organization of the menu structure is represented in simplified form in the following illustration: The remainder of this section shows the menus available for this module. and briefly discusses the commands available to you. @) that must be entered exactly as shown. The menus use a few special characters (?. Inc. -. Some of these characters will require you to use the SHIFT. take care to distinguish the different uses for uppercase letter "eye" (I). For example. Likewise. 2011 Page 189 of 255 . March 22. Although these characters look alike on the screen. Use this command to display the configuration and statistics of the backplane data transfer operations between the module and the processor. Use this command to display the current configuration and statistics for the module. Viewing Module Configuration Press [C] to view the Module Configuration screen. To activate the main menu. or if you are specifically directed to do so by ProSoft Technology Technical Support Engineers. and want to view the menu choices available to you. the following menu will appear. There may be some special command keys that are not listed on the menu but that may activate additional diagnostic or debugging features. and can cause the module to stop communicating with the processor or with other devices. Then some seconds later activate the command again. 2011 . resulting in potential data loss or other communication failures. Use these commands only if you fully understand their potential effects. Viewing Block Transfer Statistics Press [B] from the Main menu to view the Block Transfer Statistics screen. Caution: Some of the commands available to you from this menu are designed for advanced debugging and system testing only. mark the numbers displayed at a specific time. Tip: To determine the number of blocks transferred each second. Please be careful when pressing keys so that you do not accidentally execute an unwanted command. press the [?] key on your computer’s keyboard. you will be advised how to use them by Technical Support. Redisplaying the Menu Press [?] to display the current menu. March 22. Inc. your terminal screen will be blank. Subtract the previous numbers from the current numbers and divide by the quantity of seconds passed between the two readings.Diagnostics and Troubleshooting User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Main Menu When you first connect to the module from your computer. Page 190 of 255 ProSoft Technology. If you need these functions. The information on this screen can help determine if there are communication problems between the processor and the module. Use this command when you are looking at a screen of data. If the module is connected properly. Inc. Viewing PROFIBUS Data Press [2] to view PROFIBUS data. March 22. as well as other important values. 2011 Page 191 of 255 . You may be asked to provide this information when calling for technical support on the product.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Diagnostics and Troubleshooting User Manual Viewing Input Data Press [I] to open the Input Database View menu. Use this command to view information related to the status of each slave in the PROFIBUS network. Use this command to view the current version of the software for the module. The Program Scan Counter value is incremented each time a module’s program cycle is complete. Use this command to see the contents of data placed in the Output database. Values at the bottom of the display are important in determining module operation. Tip: Repeat this command at one-second intervals to determine the frequency of program execution. This screen also contains useful information for mailbox troubleshooting:  Scan count  Mailbox counters  Alarm counters  Number of acyclic read and write operations performed by the module You can also view the number of mailbox messages in the input and output queues. You can also check the module's operation state. Viewing Output Data Press [O] to open the Output Database menu. and to verify that each slave is configured (SLAVE CFG LIST). and the number of alarms in the alarm queue. where:  00 = Offline  40 = Stop  80 = Clear  C0 = Operate ProSoft Technology. Use this command to see the contents of data placed in the Input database. Viewing Version Information Press [V] to view version information for the module. exchanging data with the Master (TRANSFER LIST) and in diagnostic mode (SLAVE DIAG LIST). Viewing Module Status Press [1] to view status information about the module. This screen displays the current page of 100 registers in the database. such as the firmware version and its serial number. Press [?] to view a list of commands available on this menu. Displaying the Current Page of Registers Again Press [S] from the Database View menu to show the current page of registers again. the status code is displayed as 0400. 2011 . Exiting the Program Press [ESC] to restart the module and force all drivers to be loaded.Diagnostics and Troubleshooting User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Viewing Control Registers Press [3] to view information about the PROFIBUS Master’s Control Registers. Page 192 of 255 ProSoft Technology. The module status contains two possible codes:  0400 = module is running but not communicating with slaves  0401 = module is running and communicating with slaves If the module is in STOP mode. Inc. March 22. Use this menu command to view the current contents of the module’s database. Use this command to view general information about the module. The module will use the configuration stored in the module's flash memory to configure the module. Input Database View Menu Press [I] from the Main Menu to open the Input Database View menu. Viewing Data in Hexadecimal Format Press [H] from the Database View menu to display the data on the current page in hexadecimal format. Viewing Data in Decimal Format Press [D] from the Database View menu to display the data on the current page in decimal format. 2011 Page 193 of 255 . Use this menu command to view the current contents of the module’s database. Viewing Data in ASCII (Text) Format Press [A] from the Database View menu to display the data on the current page in ASCII format. If floating-point values are not aligned as such.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Diagnostics and Troubleshooting User Manual Viewing the Previous Page of Registers Press [P] from the Database View menu to display the previous page of data. Returning to the Main Menu Press [M] to return to the Main menu. Viewing the Next Page of Registers Press [N] from the Database View menu to display the next page of data. Viewing Data in Floating-Point Format Press [F] from the Database View menu to display the data on the current page in floating-point format. The program assumes that the values are aligned on even register boundaries. ProSoft Technology. Inc. This is useful for regions of the database that contain ASCII data. Output Database View Menu Press [O] from the Main menu to open the Database View menu. they are not displayed properly. Press [?] to view a list of commands available on this menu. March 22. Viewing the Next Page of Registers Press [N] from the Database View menu to display the next page of data. Inc. Viewing Data in ASCII (Text) Format Press [A] from the Database View menu to display the data on the current page in ASCII format. This screen displays the current page of 100 registers in the database. Viewing Data in Decimal Format Press [D] from the Database View menu to display the data on the current page in decimal format. Viewing PROFIBUS Slave Diagnostic Bytes Use the Get Slave Diagnostics mailbox message (page 153) to retrieve PROFIBUS slave diagnostic bytes. If floating-point values are not aligned as such. Page 194 of 255 ProSoft Technology. Viewing Data in Floating-Point Format Press [F] from the Database View menu to display the data on the current page in floating-point format.Diagnostics and Troubleshooting User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Displaying the Current Page of Registers Again Press [S] from the Database View menu to show the current page of registers again. Viewing the Previous Page of Registers Press [P] from the Database View menu to display the previous page of data. Returning to the Main Menu Press [M] to return to the Main menu. March 22. This is useful for regions of the database that contain ASCII data. Refer to Mailbox Messaging (page 133) to see how to view the bytes returned by this mailbox message. Viewing Data in Hexadecimal Format Press [H] from the Database View menu to display the data on the current page in hexadecimal format. they are not displayed properly. 2011 . The program assumes that the values are aligned on even register boundaries. March 22. Inc. The standard information is shown in the tables below.Station Status 2 Bits Bit Description 0 Parameter request 1 Static diagnostic 2 Slave device 3 Watchdog on 4 Freeze mode 5 Sync mode 6 Reserved 7 Slave deactivated ProSoft Technology.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Diagnostics and Troubleshooting User Manual Standard PROFIBUS Slave Diagnostic Bytes The diagnostic information consists of 6 bytes of standard diagnostic information plus any user-related diagnostic information. 2011 Page 195 of 255 . Byte Description 0 Station status 1 1 Station status 2 2 Station status 3 3 Master address 4 Ident number high 5 Ident number low Byte 0 .Station Status 1 Bits Bit Description 0 Station not existent 1 Station not ready 2 Configuration fault 3 Extended diagnostic data present 4 Not supported 5 Invalid slave response 6 Parameter fault 7 Master lock Byte 1 . Station Status 3 Bits Bit Description 0 Reserved 1 Reserved 2 Reserved 3 Reserved 4 Reserved 5 Reserved 6 Reserved 7 Extended diagnostic overflow Byte 3 . Page 196 of 255 ProSoft Technology. March 22.Diagnostics and Troubleshooting User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Byte 2 . 2011 . Byte 5 . this byte will display the value FF (hexadecimal).Ident Number High This byte shows the high byte of the specific Ident Number assigned to the module by the PROFIBUS User Organization. If there is an error during the parameterization process. Byte 4 .Master Address This byte shows the address of the assigned PROFIBUS Master after parameterization. Inc.Ident Number Low This byte shows the low byte of the specific Ident Number assigned to the module by the PROFIBUS User Organization. ................................... 209  Module Functional Overview ...................................................MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5 Reference User Manual Reference In This Chapter  Product Specifications ..................................................................................................................... March 22.. 2011 Page 197 of 255 .......... 198  About the PROFIBUS Protocol............................................... Inc....... 201  PROFIBUS comDTM. 229 ProSoft Technology..... Module supports communications with ProSoft Configuration Builder and FDT comDTM via Ethernet routing using Rockwell Automation Ethernet interface. The module supports complete Master specifications according to IEC 61158. Inc. Data transfer from the processor is asynchronous with the I/O data transfer on the PROFIBUS network.1 General Specifications       Single slot . The module acts as an input/output module between the PROFIBUS network and the ControlLogix processor. 2011 . Acyclic parameter data can be transferred with Class 1 or Class 2 DPV1 services.Reference User Manual 5. allowing processors to easily communicate with slave devices supporting PROFIBUS DPV0/V1 protocol.1. Local or remote rack Configurable I/O backplane sizes allow optimal performance for remote rack applications CIPconnect® enabled. Developed under license from Rockwell Automation. 5. Page 198 of 255 ProSoft Technology. Sample ladder file (add-on instruction) included. the module incorporates proprietary backplane technology that enables powerful data exchange with ControlLogix processors.1 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Product Specifications The PROFIBUS DPV1 Master module is a powerful communication interface for Rockwell Automation® ControlLogix® processors.1756 backplane compatible The module is recognized as an Input/Output module and has access to processor memory for data transfer between processor and module Ladder Logic is used for data transfer between module and processor. March 22. 1756EN2T or similar Shipped with Unit RJ45 to DB-9M cables for each port 6-foot RS-232 configuration cable 5.2 Hardware Specifications Specification Description Backplane Current Load 800 mA @ 5 Vdc 3 mA @ 24 Vdc Operating Temperature 0°C to 60°C (32°F to 140°F) Storage Temperature -40°C to 85°C (-40°F to 185°F) Shock 30 g operational 50 g non-operational Vibration: 5 g from 10 Hz to 150 Hz Relative Humidity 5% to 95% (with no condensation) LED Indicators Module Status Backplane Transfer Status Application Status Serial Activity and Error LED Status Debug/Configuration port (CFG) CFG Port (CFG) RJ45 (DB-9M with supplied cable) RS-232 only ® CIPConnect Ethernet routing using 1756-ENBT. Inc. Master Token-Hold and Network Configuration  FDT/DTM PROFIBUS Master transport communication DTM software included (Part Number PSW-CDTM-PDPM) ProSoft Technology.1.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual 5. transferring input and output data between PROFIBUS devices and processor data memory over the backplane.3 Functional Specifications The inRAx PDPMV1 PROFIBUS Master module acts as a PROFIBUS network scanner. 2011 Page 199 of 255 . up to 12 Mbps  Supports extended diagnostic data (DPV1)  Multiple Masters can be placed in a single rack  CRC checksum determination of slave configuration consistency to processor  Master Status LED indicators for Operations. March 22. Network Communication.  Master Busview configuration interface via included ProSoft Configuration Builder software (Part Number PSW-PCB)  Project-unique GSD file import library  Monitoring and modification of process data and DPV1 acyclic data  Multi-drop on a PROFIBUS DPV1 network with other compatible devices  Automatic project documentation  Automatic Bus Parameter calculation  Online slave diagnostics  Supports all standardized baud rates.1. Error and Token LED Indicators  PROFIBUS DPV1 RS-485 interface with a 9-pin D shell female connector and isolated opto-couplers Page 200 of 255 ProSoft Technology. 2011 . March 22.1 compliant parameter read and write operations  Supports Multicast and Broadcast telegrams (DPV1) PROFIBUS Master Port  DB-9F optically isolated RS-485  Ready. Read and Write  Alarm handling (DPV1)  Supports Sync and Freeze commands  Supports PROFIdrive 3. Inc.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master PROFIBUS Master Specifications  Up to 125 slaves can be connected with a repeater  Up to 1536 cyclic bytes input and 1536 bytes output data  Supports Extended Diagnostic Data  RS-485 optically isolated PROFIBUS interface with on board DC-DC converter  Acyclic communications (DPV1). Run. Inc. 5. March 22. The following table shows the most important features of PROFIBUS DPV1: Standard EIN 501 70 DIN 19245 Transmission equipment (Physical) EIA RS-485 IEC 1158-2 (through link or coupler) Fiber Optic Cable (not available) Transfer procedure Half-duplex Bus topology Linear bus with active bus termination Bus cable type Shielded twisted pair conductors Connector 9-pin D-Sub Number of nodes on the bus Max: 32 with no repeaters Max: 125 with 3 repeaters in 4 segments 5.2 Bus Access Two different bus access procedures handle the various communication requirements for the PROFIBUS DPV1 topology:  Token Passing  Polling ProSoft Technology. When the connection is established.1 PROFIBUS DP Architecture The PROFIBUS DPV1 network supports multiple Master systems with several slaves. which is designed for remote I/O systems. the Master sends the PROFIBUS poll messages (called telegrams in PROFIBUS) to the slave or slaves. The Master establishes a connection to one or more remote slaves. PROFIBUS specifications include a variety of network types.0. The network type supported by the MVI56-PDPMV1 module is PROFIBUS DP version 1. 2011 Page 201 of 255 . motor control centers.2 Reference User Manual About the PROFIBUS Protocol PROFIBUS (Process Field Bus) is a widely-used. PROFIBUS is a Master/slave protocol. open-standards protocol created by a consortium of European factory automation suppliers in 1989. It cannot be a slave to some other Master. and variable speed drives.2. The MVI56-PDPMV1 module works as a Master only. The module uses an internal database to pass data and mailbox requests and responses between the processor and the slave devices on the PROFIBUS network.2.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5. The MVI56-PDPMV1 module also acts as an input/output module between devices on a PROFIBUS network and the Rockwell Automation ControlLogix processor. 5 Mbit/sec 0.2 kbit/sec 1.4 How Cable Length Affects Communication Rate Max Bus Cable Length Per Segment Baud Rates (for 12 Mbps cable) 1.1 km 12 Mbit/sec Page 202 of 255 ProSoft Technology. In this case.2 km 19.5 kbit/sec 0. A station is given transmission rights for the duration of time that it has the token. the parameterization and configuration phase runs a device identification test that verifies that the planned configuration matches the actual device configuration for each slave in the PROFIBUS network. active stations. telegram length information.3 Master/Slave Communication Phases The communication between the Master and the slaves takes place in the following phases:  Parameterization and configuration phase  Usable data transfer phase Before a DP slave can be integrated into the usable data transfer phase. Master/Slave Polling Master/slave polling guarantees a cyclic. The services in layer 2 (field-bus data link in ISOOSI reference model) organize this communication.2 km 93. real-time based data exchange between the station with transmission rights. 2011 . the Master is able to pass data to the slave and/or receive data. 5. Inc.2.1 km 3 Mbit/sec 0.2. March 22. and its subordinates.0 km 187.2 km 9. definable token cycle time.6 kbit/sec 1. All stations have the same rights in that a token is passed from station to station in a logical ring.5 km 500 kbit/sec 0. the active station. the passive stations.2 km 1.75 kbit/sec 1. The token is passed to each station with a maximum.1 km 8 Mbit/sec 0.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Token Passing Token passing ring is the basis for communication between the more complex. The test verifies that:  The device is actually there  It is the right type of device  The station address set on the device matches the station address in the bus configuration  The formats. and bus parameters are correct and  The number of configured inputs and outputs is correct 5. Note that the signals to reference are the D-Sub signals in the table.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual 5. Inc.2.5 PROFIBUS Master Port The following diagram has been imported from the PROFIBUS Master documentation. 2011 Page 203 of 255 . ProSoft Technology. March 22. Inc.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5. 2011 .6 Constructing a Bus Cable for PROFIBUS DP The bus cable for connecting PROFIBUS DP devices must be constructed by the user. March 22. This standard cable is available from various manufacturers and is a Belden part number 3079A.2.  PROFIBUS connector: Siemens part number 6ES7972-0BA40-0XA0  PROFIBUS cable: Belden part number 3079A. Page 204 of 255 ProSoft Technology. 5 Plug the leads of the corresponding cable(s) into the terminals as shown: o Green leads in terminal A o Red lead in terminal B  Note: Do not tighten the corresponding screws yet. Wrap the provided copper shielding F around the shield braiding S: J PVC jacket S Braided shielding F Copper foil shielding Additional foil can be obtained from 3M. To construct the cable. proceed as follows: 1 Cut the cable to the required length. If you plan to construct your own bus cable. 2 Prepare the cable ends as shown in the illustration (dimensions in mm): 3 4 J PVC Jacket S Braided shielding Remove the PVC jacket J to the indicated length. the following part numbers are provided for your convenience. A special PROFIBUS cable (twisted pair) is required here. March 22. 2011 Page 205 of 255 .A)) D Cable cleat for reliving tension E Bus connector screws Attach the cables with the provided cable cleat to create a robust shielded connection and to relieve any tension as shown: J PVC Jacket S Braided shielding with foil shielding C Cable cleat  Note: Half of the cable jacket must lie under the cable cleat! 7 8 Pay attention to the cable cleat installation instructions. Fasten the individual wires of the PROFIBUS cable to the terminals Close the connector housing. Inc. ProSoft Technology.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual Connection terminal assignment on the PROFIBUS DP: 6 A Incoming cable B Outgoing cable C Connection terminals (only once (B. Reference User Manual  MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Note: The shielding of both cables is connected internally with the metal housing of the connector. To prevent this. This example indicates the shielding connection from the PROFIBUS cable to the FE/PE rail. Complete the Central Shielding Measures (below) and grounding operations for the shielding before you connect the cable connector to the module. Note: An equalization current can flow across a shield connected at both ends because of fluctuations in ground potential. it is imperative that there is potential equalization between all the attached installation components and devices. These connectors emulate the line impedance. 10 Plug the PROFIBUS DP connector into the module and secure it with the screws. 9 Bus Begin and Bus End The PROFIBUS connector with termination is required at the beginning and the end of the bus. Inc. March 22. Wiring diagram for a PROFIBUS DP cable Grounding and Shielding for Systems with Equipotential Bonding Each cable shield should be galvanically grounded with the earth using FE/PE grounding clamps immediately after the cable has been connected to the cabinet. It is recommended that at least one connector with diagnostics interface is used. Page 206 of 255 ProSoft Technology. 2011 . ProSoft Technology.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual This example indicates the system components and devices in a system with equipotential bonding. 2011 Page 207 of 255 . Inc. Grounding and Shielding for Systems without Equipotential Bonding Note: Grounding and shielding is to be carried out the same as for systems with equipotential bonding. March 22. use distributed ground with a capacitive coupling of high frequency interference signals. If this is not possible because of system or construction specific reasons however. This representation shows distributed grounding with capacitive coupling. Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5. 2011 . Service DDLM_Data-Exchange PROFIBUS Version Master Class 1 Master Class 2 Request Request DP-V0 Yes No Response DDLM_Set_Prm DP-V0 Yes No DDLM_Chk_cfg DP-V0 Yes No DDLM Slave Diag DP-V0 Yes No DDLM_Global_Control DP-V0 Yes No DDLM_Get_Cfg DP-V0 Yes DDLM_Set_Slave_Add DP-V0 Yes DDLM_Read_Input DP-V0 No DDLM_Read_Output DP-V0 No DDLM_Get_Master_Diag DP-V0 Yes DDLM_Start_Seq DP-V0 No No DDLM_Download DP-V0 No No DDLM_Upload DP-V0 No No DDLM_End_Seq DP-V0 No No DDLM_Act_Param_Brct DP-V0 No No DDLM_Act_Param DP-V0 No No MSAC1_Read DP-V1 Yes MSAC1_Write DP-V1 Yes MSAL1_Alarm DP-V1 Yes MSAL1_Alarm_Ack DP-V1 Yes MSAC2_Initiate DP-V1 No MSAC2_Read DP-V1 No MSAC2_Write DP-V1 No MSAC2_DataTransport DP-V1 No MSAC2_Abort DP-V1 Data_eXchange_Broadcast DP-V2 No Isochrone_mode (Takt sync) DP-V2 No Extended_Set_Prm (Subscriber) DP-V2 No Page 208 of 255 Response No ProSoft Technology.2. Inc.7 Supported PROFIBUS Services The following table lists all available services according to the PROFIBUS specification. March 22. is a DTM for PTQ and MVI series PDPMV1 modules and ProLinx PDPMV1 gateways.002 or later to support CIPconnect through the Ethernet port to L32E and L35E CompactLogix processors. Note: This functionality requires comDTM version 1. 2011 Page 209 of 255 . 5. for example a PROFIBUS DP card. PROFIBUS comDTM allows configuration tools. and communication devices on a field network to recognize and use the module's capabilities. distributed by ProSoft Technology. March 22. Inc. This technology is similar to the way Microsoft Windows supports printer drivers supplied by manufacturers and available to any Windows application.3 Reference User Manual PROFIBUS comDTM DTM (Device Type Manager) is a standard way to provide all necessary data and functionality for a communication device.000 or later to support CIPconnect-enabled PC programs (1756-ENBT support). and through RS-232 serial for the MVI series PDPMV1 modules.3. For information on how to check the comDTM version and install version. instruments. PROFIBUS comDTM.1. rather than requiring a custom printer driver for each specific application. Communication Channels Supported Serial Product Local RS-232 Port MVI46-PDPMV1 Supported MVI56-PDPMV1 Supported MVI69-PDPMV1 Supported Ethernet Local Ethernet Port CIPconnect Supported (see note) Supported (see note) PTQ-PDPMV1 Supported ProLinx PDPMV1 Supported Note: MVI56-PDPMV1 requires firmware version 1. Bridging through multiple racks is not supported by the comDTM software.5 with install version 1. MVI69-PDPMV1 requires firmware version 1. Configuration is available through Ethernet for the PTQ and ProLinx series PDPMV1. Ethernet configuration is also available through the CIPConnect® feature for MVI56-PDPMV1 and MVI69-PDPMV1 modules (see note).1 ProSoft Technology Product Availability Part Number Description PSW-cDTM-PDPM PROFIBUS DPV1 Master comDTM software gateway ProSoft Technology.0.37. refer to Verifying the comDTM Version and comDTM Install Version (page 223). The 1756-ENBT card must be located in the same rack as the MVI56-PDPMV1.0003.01.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5.28. FDT frame application is an engineering or configuration tool which has an FDT container. 2011 . Inc. PROFIBUS is a Master/slave protocol.2 Introduction to PROFIBUS comDTM Why Use PROFIBUS comDTM? Customers from around the world have different machines. FDT is manufacturer-independent and allows for trouble-free parameterization and configuration of the user's specific processing system. March 22.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5. FDT technology standardizes the communication interface between field devices and systems. This is where PROFIBUS comDTM can help with configuring and communicating with different networks. Page 210 of 255 ProSoft Technology. The Master establishes a connection to the remote slave. It uses the DTMs to gain access to the devices. open-standards protocol created by a consortium of European factory automation suppliers in 1989. This means that service engineers need to have different configuration tools for every fieldbus. and Communication DTMs. which is designed for remote I/O systems. It serves as interface between FDT and a superior application. The FDT container implements the FDT specification. FDT technology comprises three key components: the Frame Application.  FDT frame application is an engineering or configuration tool that has an FDT container. The user interface of the DTMs is displayed here. fieldbusses. FDT allows any device to be accessed from any host through any protocol. and other end-user equipment.3. The key feature is its independence from the communication protocol and the software environment of either the device or the host system. You want one. products and suppliers. and variable speed drives. the automation solution in their standard machine ends up being different from case to case. PROFIBUS supports a variety of network types. It is only functional with an FDT container. What is FDT? FDT (Field Device Tool) is the specification for software interfaces for the integration of field devices. It uses the DTMs to gain access to devices. and controls in engineering and configuration tools. What is PROFIBUS? PROFIBUS (Process Field Bus) is a widely-used. Device DTMs.  The FDT container implements the FDT specification. but the reality is you have many. Each is equipped with the field bus requested by their end-user. Since there are so many variations. drives. motor control centers. When the connection is established. Or maybe even one for every device. The network type supported by the PTQ and MVI series PROFIBUS modules is PROFIBUS DP (Device Bus) version 1. It serves as an interface between FDT and a superior application. drives and so on.  The DTM (Device Type Manager) is used for the configuration and maintenance of field devices. the Master sends the PROFIBUS commands to the slave.0. the frame application surrounds the device vendor’s DTM. like web pages that let users interact with a reservation system or a shopping service.a standard web browser allows users to view countless web pages created by many content providers. just as Microsoft supplies the Internet Explorer web browser. and a navigation tree. Device Description languages have limitations in the graphical representation of the device at the user interface and allow only a limited integration of special features. the Device DTMs let the user interact with the field device in a wide variety of ways. Visually. This technology is similar to the way Microsoft Windows supports printer drivers supplied by manufacturers and available to any Windows application. Typical frame applications are  Pactware from The PACTware Consortium e. Similar to a web browser. FDT expands the capabilities of DD for complex devices. This ensures that the details of the PC. provides a standardized communication Application Process Interface (API) inside the PC. FDT/DTM removes these limitations. consider the analogy of the Internet . 2011 Page 211 of 255 . a user can navigate down a tree that lists the field device tags. The host system supplier typically creates the Frame Application. the Frame Application has menu bars. Inc. ProSoft Technology. and open the device vendor’s DTM inside the frame. This correlates back to the internet analogy where: the web page is transparent to the PC it’s running in. click on one. which is the plug-in software from the device vendor. It does not replace but rather builds upon existing DDs. rather than requiring a custom printer driver for each specific application. The third part of the technology. the brand of the network interface card in the PC. And. Just as a web browser opens a web page that contains code from the company that makes the web page. FDT technology complements and expands existing device description languages. network. for example a PROFIBUS DP card. and pass-through protocols of the host system. The host system vendor supplies a Communication DTM (comDTM) for each supported fieldbus protocol. Like opening a web page from a ‘favorites' navigation tree.V (freeware)  FieldCare from Endress & Hauser  Field Control from ABB What is DTM? DTM (Device Type Manager) is a standard way to provide all necessary data and functionality for a communication device. March 22. interfacing between the Device Vendor’s DTM and the host system’s specific driver that handles pass-through communications from the PC down to the fieldbus interface card. toolbars.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual To better understand the functionality of these components. interface cards. the Communication DTM. an FDT frame opens the Device DTM. In particular. or whether communication is DSL or broadband cable. are transparent to the device vendor’s DTM. The Device DTM vendor can create a graphically rich user interface that does virtually anything possible in an advanced Windows PC-type interface. Hardware Requirements (Recommended)  Pentium 4 Processor rated for at least 2 GHz  450 MB hard drive space for DTM Libraries  Video card capable of 1024 X 768 resolution at 64k colors  Ethernet Network Interface Card (NIC)  One of the following ProSoft Technology PROFIBUS DPV1 Master communication modules: o ProLinx PDPMV1 Gateway. It allows configuration tools. serial port not supported o MVI series PDPMV1 RS232 serial o MVI56-PDPMV1 RS232 serial. 2011 . Ethernet only. March 22. instruments and communication devices on a field network to recognize and use the module’s capabilities.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master PROFIBUS comDTM. or with CIPconnect for Ethernet support Page 212 of 255 ProSoft Technology. distributed by ProSoft Technology.3. or with CIPconnect and 1756-ENBT module for Ethernet support o MVI69-PDPMV1 RS232 serial. 5. is a DTM for PTQ and MVI series PDPMV1 modules and ProLinx PDPMV1 gateways.3 System Requirements Confirm that your system meets the following hardware and software requirements before you start the installation. Inc. serial port not supported o PTQ-PDPMV1 Ethernet only. 5 with install version 1. refer to Verifying the comDTM Version and comDTM Install Version (page 223). For information on how to check the comDTM version and install version. Bridging through multiple racks is not supported by the comDTM software. Important: Please open and read the Readme file before starting the installation. Software Requirements (Minimum)  Windows NT 4. March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual Note for MVI series and PTQ users: The Ethernet connection implements a version of UDP protocol that dynamically allocates a random UDP port for every connection. Compatible applications include: o PACTware o FieldCare o M&M fdtCONTAINER Some FDT Containers require the following components:  Microsoft Management Console  Adobe Acrobat Reader 5. 2011 Page 213 of 255 .1 compliant FDT frame application. The 1756-ENBT card must be located in the same rack as the MVI56-PDPMV1. or better 5.0. Windows 2000 SP3 or Windows XP Professional SP2. or better  FDT 1.0. which is not available for the current implementation. Note for MVI56-PDPMV1 users: The Ethernet connection uses CIPconnect to communicate with the MVI56-PDPMV1 (firmware version 1. Note for MVI69-PDPMV1 users: The Ethernet connection uses CIPconnect to communicate with the MVI69-PDPMV1 (requires firmware version 1.37.1.0.01. ProSoft Technology.2. since many Ethernet-to-serial converters require the configuration of a fixed UDP port. Note: This functionality requires comDTM version 1.0 Service Pack 6A. The Readme file is located in Utilities > comDTM > Readme on the ProSoft Solutions Product CD-ROM.28.3.0003.002 or later to support CIPconnect through the Ethernet port to L32E and L35E CompactLogix processors). This implementation limits the possibility of using most serial-to-Ethernet converters to access the MVI series PDPMV1 serial port. Inc. or better  Microsoft Internet Explorer Version 6.000 is CIPconnect enabled and is required for 1756ENBT support).4 Installation Important: You must have Administrator rights on your computer to install this application. 0.EXE file. This action starts the installation wizard. Wait for the startup screen to appear. On the startup screen.0003 and later. This action opens a Windows Explorer file tree window. Double-click the SETUP.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master To install comDTM 1 2 3 4 5 6 Insert the ProSoft Solutions Product CD-ROM in an available CD-ROM drive in your computer. Click FINISH to complete the installation. Inc. Page 214 of 255 ProSoft Technology. For information on how to check the comDTM version and install version. March 22. then navigate to COMDTM > COMDTM INSTALL. refer to Verifying the comDTM Version and comDTM Install Version (page 223). and allow the computer to restart. Follow the instructions on the installation wizard to install the program. click PRODUCT DOCUMENTATION. save your work in any applications that are running. 2011 .1. close the applications. If you are prompted to restart your computer. Double-click to open the UTILITIES folder.01. Note: The CIPconnect® components are installed with comDTM version 1.5 with install version 1. ProSoft Technology. Inc. 2011 Page 215 of 255 .3. March 22. 3 4 Select the PROSOFT TECHNOLOGY COMDTM entry in the device catalog. Starting FDT 1 Start the FDT program and login as administrator.0 software. it will appear in the Device Catalog window. Select the correct address for each device. If PROFIBUS comDTM was installed successfully. and then click OK to proceed.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual 5. Repeat steps 1 through 3 to add any other manufacturer’s device DTMs installed on your computer. and then click ADD.5 Quick Start The following steps demonstrate how to start the FDT (Field Device Tool) program and configure the PROFIBUS comDTM. The following procedures use PACTware 3. 2 Click the UPDATE DEVICE CATALOG button. 1 From the Windows START button. March 22. and then choose PROSOFT TRANSPORT PATH EDITOR. Inc. Connecting the comDTM to the Master to Establish Communication Note: The features described in this section require the current version of PROFIBUS comDTM.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Note: You must use the same PROFIBUS device address that you used when setting up the device. navigate to PROGRAMS > PROSOFT TECHNOLOGY.prosoft-technology. Page 216 of 255 ProSoft Technology. 2011 . You can always download the newest version from www.com. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual 2 If you have not created a communication path. ProSoft Technology. 3 For PTQ-PDPMV1 and ProLinx-PDPMV1 users: Select the ETHERNET tab. click the ADD button. If you have already created a path. 2011 Page 217 of 255 . Enter a descriptive path name. Note: Do not include the underscore ( _ ) for the path name. and enter the IP Address of the module or gateway. March 22. Inc. skip to step 5. Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master For MVI-PDPMV1 users: Select the SERIAL tab and enter the COM port number on your PC connected to the module. March 22. Click the CIPCONNECT PATH EDIT button to define the path for this application. Inc. 2011 . The CIPconnect Path Editor allows the configuration of the path between your PC and the MVI56-PDPMV1 or MVI69-PDPMV1 module. For MVI56-PDPMV1 and MVI69-PDPMV1 users with CIPconnect: Select the CIPCONNECT tab. and then click the ADD button. Enter a descriptive path name. Page 218 of 255 ProSoft Technology. 0. Note: CIPconnect is available for MVI56-PDPMV1 firmware version 1.1.002 (or later).100) and the MVI56PDPMV1 card is located in slot 3 of the same rack.01.37. For information on how to check the comDTM version and install version. For more information.0. refer to Verifying the comDTM Version and comDTM Install Version (page 223). Inc. the PC will be connected through Ethernet to a 1756-ENBT communication card (IP=192. 2011 Page 219 of 255 .000 (or later) and for MVI69-PDPMV1 firmware version 1.168.0003 (or later). This functionality requires comDTM version 1.5 with install version 1. please refer to Using the CIPconnect Path Editor (page 222). March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual For the following example. ProSoft Technology.28. choose CONNECT. the icon will be highlighted. March 22. If the connection is successful. 5 Select the path and click the OK button to exit the Transport Path Editor window. Inc. Page 220 of 255 ProSoft Technology. The communication path will be displayed at the top grid panel as shown in the following illustration. 6 Select the COMDTM icon and click the right mouse button to open a shortcut menu.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 4 When you have configured the communication path. 2011 . as shown in the following illustration. On the shortcut menu. click the OK button to confirm. Inc. Click the GUIDED TOUR icon. To open the online help. Use the navigation buttons on each help page to view the help topics. click the right mouse button on PROSOFT TECHNOLOGY COMDTM.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual When the comDTM is connected with the Master. 2011 Page 221 of 255 . Refer to the documentation and online help for your FDT frame program for specific FDT frame instructions. March 22. Refer to the online help and documentation additional information on each DTM component you have installed and configured. This completes the installation and Quick Start Guide for the ProSoft Technology PROFIBUS comDTM. and choose ADDITIONAL FUNCTIONS > ONLINE HELP from the shortcut menu. ProSoft Technology. PACTware indicates the connection Master by displaying a green plug in the status bar. The comDTM provides a Guided Tour section in the online help that explains the basic features and operation of the program. Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Using the CIPconnect Path Editor Example Rack 1 Slot Module Network Address 0 ControlLogix Processor - 1 Any - 2 MVI56-PDPMV1 - 3 1756-ENBT IP=105.0. then click CIPCONNECT PATH EDIT. Inc.12 1 In the Transport Path Editor. Page 222 of 255 ProSoft Technology. March 22.102. click ADD. 2011 . Reference User Manual 5. Starting with comDTM version 1. ProSoft Technology.6 Verifying the comDTM Version and comDTM Install Version Introduction There are two versions associated to the comDTM – the comDTM version and the comDTM install version.5. 2011 Page 223 of 255 .1. March 22. Inc. 3 Check the new path in the Transport Path Editor.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2 Configure the path as shown in the following illustration.3. each upgrade will indicate the same comDTM version but a different comDTM install version.0. and click CONSTRUCT CIP PATH to build the path in text format. March 22. Inc. Checking the comDTM Install Version 1 Click the START menu and then choose CONTROL PANEL. Page 224 of 255 ProSoft Technology.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master This section describes how to check the comDTM version and comDTM install version. 2011 . Checking the comDTM Version Refer to the Version column indicated when you add the comDTM to the DTM Container project. ProSoft Technology. select ADD OR REMOVE PROGRAMS. Inc. March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual 2 In the list of CONTROL PANEL applets. 2011 Page 225 of 255 . 3 Select PROSOFT TECHNOLOGY COM-DTM. and then click on the link CLICK HERE FOR SUPPORT INFORMATION. 01. Inc. March 22. 2011 . Checking the Install Version for Vista 1 Select CONTROL PANEL.0003 for this example).Reference User Manual 4 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master You will see the comDTM Install Version in the Version field. as shown in the following illustration (1. Page 226 of 255 ProSoft Technology. Inc.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 2 Select UNINSTALL PROGRAMS. March 22. 3 Select Prosoft Technology COM-DTM (click once) ProSoft Technology. 2011 Reference User Manual Page 227 of 255 . Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 4 Click the ORGANIZE tab and select LAYOUT > DETAILS PANE. March 22. 5 Check the Install Version at the bottom right portion of the window. Page 228 of 255 ProSoft Technology. 2011 . Inc. MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5.4 Reference User Manual Module Functional Overview The MVI56 module communicates with the processor over the backplane using only the following two blocks of data:  MVI56 Input Data block  MVI56 Output Data block This section of the Application Reference Guide describes the data structures and transfer mechanisms used to transfer data between the MVI56-PDPMV1 module and the ControlLogix processor. The following illustration shows the Input/Output Data block flow between the ControlLogix processor and the MVI56-PDPMV1 module. These two data blocks (Input Data and Output Data) consist of a data structure that provides for the movement of:  Input Data image from PROFIBUS slave devices  Output Data image for writing to PROFIBUS slave devices  Module configuration and status (from module to processor)  PROFIBUS Messaging Mailbox commands (from processor to module)  PROFIBUS Messaging Mailbox responses (from module to processor) In LEGACY mode, the module reports this information through regular I/O blocks. In FLEX mode, this data is exchanged through MSG instructions. The transfer method depends on the configured mode:  LEGACY (page 230) (firmware version 0.30 or version 1.21 or later and Use Legacy Mode = Yes)  FLEX (page 236) (firmware version 1.21 or later and Use Legacy Mode = No) ProSoft Technology, Inc. March 22, 2011 Page 229 of 255 Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 5.4.1 Legacy Mode Input and Output Data Blocks The following illustration shows how the transfer of user data, mailbox block, and status data is performed between the MVI56-PDPMV1 and the ControlLogix processor. The blocks that are transferred between the module and the processor can perform different tasks, according to the Block ID numbers, as listed in the following table. Block ID Numbers for Transfer Block #s Type Description -1 or 0 Status Block containing status data (refer to Status Objects) 1 to 4 Input Data Input data from PROFIBUS network with each block containing up to 200 words of data (refer to Input Data Block) 1 to 4 Output Data Output data for PROFIBUS network with each block containing up to 200 words of data (refer to Output Data Block) 100 to 109 Mailbox These block numbers send or receive mailbox messages (refer to PDPMV1_Mailbox data type) 200 to 209 Alarms These block numbers send alarm messages from the PROFIBUS network to the processor (refer to PDPMV1_Alarm). The size of the input and output areas should be set to the smallest possible values to maximize data throughput. Handshaking is required between the in and out messages used by the module and the controller. Page 230 of 255 ProSoft Technology, Inc. March 22, 2011 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual Normal Backplane Operation The MVI56-PDPMV1 module’s application code initiates the data transfers at the end of every ControlLogix PLC ladder scan. As such, the MVI56-PDPMV1 module is able to actively read and write the PROFIBUS Cyclic Input/Output data blocks in the appropriate locations. Input Data Block (Block ID = 1 to 4) This block contains the previous input data received from the slaves. Input Data Block Format (Input Image) (Local:1:I.Data Controller Tag) You can find the contents of the Input Data Block (Input Image) in the Local:1:I.Data user controller tags in RSLogix. Word Offset Start End Name Description 0 199 PROFIBUS Input Data Data received from the PROFIBUS slave devices on the network. Total size of the PROFIBUS Input Data block is a function of the PROFIBUS network configuration. Block ID 1 = Slave bytes 0 to 399 Block ID 2 = Slave bytes 400 to 799 Block ID 3 = Slave bytes 800 to 1199 Block ID 4 = Slave bytes 1200 to 1535 200 200 Last out mailbox message ID processed from output image The module confirms the receipt of a mailbox by copying its ID code (Message ID) to this register. 201 201 Current in mailbox control index Incremented after the module has transferred a new mailbox response to the processor. 202 202 Current alarm control index Incremented after the module has transferred a new alarm to the processor. 203 203 204 205 PROFIBUS CRC32 value CRC32 checksum for PROFIBUS Master configuration downloaded from configuration utility 206 207 Module CRC32 value MVI56-PDPMV1 module configuration checksum for module configuration downloaded from configuration utility 208 247 248 248 Write Block ID Write block ID of Output image to receive (1 to 4 for data, 0 or -1 if no data) 249 249 Read Block ID Read Block ID number -1 to 4 Reserved for future use Reserved for future use Input Block Status Data Details (Block ID = 0 to -1) The MVI56-PDPMV1 module periodically transfers a status block to the ControlLogix containing relevant information about the module operation (Block IDs 0 to -1). The types of data returned in the PROFIBUS Input Status area include: ProSoft Technology, Inc. March 22, 2011 Page 231 of 255 Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Module configuration data values  MVI56 software revision level  Key PROFIBUS configuration values  PROFIBUS Master hardware/software revision level  MVI56 module statistics  Mailbox messaging control and status You can find the contents of the Status Data block in the MVI56PDPMV1.Status user controller tag structure in RSLogix. These tags reference the PDPMV1_Status user-defined data type. The following table is received periodically from the MVI56 module. Byte Offset Start End Name Description 0 9 Module ID string Unique module 10-byte pattern as text "MVI5PDPMV1" 10 11 Reserved Reserved for future use 12 13 PROFIBUS Input Data size The number of words of PROFIBUS input data to transfer from the PROFIBUS Master to the processor within the Input Data blocks. Value is selected during user configuration 14 15 PROFIBUS Output Data size The number of words to transfer from the processor in the PROFIBUS output space during the output data transfer. Value is selected during user configuration 16 17 Reserved Reserved for future use 18 19 Reserved Reserved for future use 20 21 Reserved Reserved for future use 22 22 Input Data Byte Swap User configured flag to indicate if input data is swapped before being placed in the input image for the controller. 0=No swapping Not 0=Swap bytes 23 23 Output Data Byte Swap User configured flag to indicate if output data is swapped after being received from the output image of the controller. 0=No swapping Not 0=Swap bytes 24 24 Module software major version number. 25 25 Module software minor version number MVI56 module application software version number Bits 16 8 High Byte 7 0 Low Byte 26 41 PROFIBUS Slave Configured List This is a 16-byte array with bit fields where one bit is assigned to each slave station address. The associate bit is set if the slave is present in the database. For the bit/slave relationship, refer to the Slave List Structure below. 42 57 PROFIBUS Data Transfer Status This is a 16-byte array with bit fields where one bit is assigned to each slave station address. The associated bit is set if the slave has reached or retained the "Data Exchange" state at least once during the last three data cycles. For the bit/slave relationship, refer to the Slave List Structure below. Page 232 of 255 ProSoft Technology, Inc. March 22, 2011 MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual Byte Offset Start End Name Description 58 73 PROFIBUS Slave Diagnostic Status This is a 16-byte array with bit fields where one bit is assigned to each slave station address. When a slave leaves the "Deactive" state for the first time, the associated bit is set. This bit is then cleared when the slave enters "Data Exchange" state. If a slave indicates "Extended Diagnostics" when it is in "Data Exchange" state, the associated bit is set. For the bit/slave relationship, refer to the Slave List Structure below. Name Description Slave List Structure Byte Offset Start End 74 74 75 75 PROFIBUS Master Operating State PROFIBUS Master operating state 0x0000=Offline 0x4000=Stop 0x8000=Clear 0xC000=Operate 76 77 PROFIBUS Ident Number PROFIBUS Master PNO Ident number. Bytes will be swapped 78 81 PROFIBUS Master Serial Number Unique 32-bit serial number for the PROFIBUS Master 82 83 PROFIBUS Software Version Software version number for the PROFIBUS Master software Example for Version 1.40: High Byte - 0x40 Low Byte - 0x01 ProSoft Technology, Inc. March 22, 2011 PROFIBUS pad byte to make data word aligned (not used) Page 233 of 255 A reset is requested by the PROFIBUS Master module because a new database has been downloaded 86 89 PROFIBUS CRC32 checksum for PROFIBUS Master configuration configuration Checksum downloaded from configuration utility 90 93 MVI56 Module MVI56-PDPMV1 for module configuration downloaded from configuration checksum configuration utility 94 95 Application program scan counter MVI56-PDPMV1 module program scan counter.No action 1 . March 22.A slave’s inputs in the IN area are frozen if a slave is not in Data Exchange Bit 12=Reset (RDR) 0 . 2011 .Application Stopped 1 .There is no data exchange with any of the assigned slaves 1 .There is Data Exchange with at least one of the assigned slaves Bit 9=Slave input frozen/cleared (FBFC) 0 .A slave's inputs in the IN area are cleared if a slave is not in Data Exchange 1 . Can be used to gauge application code scan time performance 96 97 Module PROFIBUS output image data update counter Counter representing the number of times the output data image is transferred to the module's internal Master 98 99 Module PROFIBUS Counter representing the number of times the input data image input image data update is transferred from the module's internal Master counter 100 101 Module out mailbox counter Module out mailbox counter 102 103 Module in mailbox counter Module in mailbox counter 104 105 Module alarm IND receive counter Number of spontaneous alarm messages received from slave 106 107 Module alarm CON receive counter Number of confirmation messages received from slaves indicating that the slave received the confirmation message from the MVI56-PDPMV1 module 108 109 Reserved 110 111 Reserved 112 113 Module backplane read Rollover counter of the number of MVI56-PDPMV1 to processor count backplane read data transfers 114 115 Module backplane write Rollover counter of the number of MVI56-PDPMV1 to processor count backplane write data transfers 116 117 Module backplane error Rollover counter of the number of MVI56-PDPMV1 to processor count backplane data transfers that have failed Page 234 of 255 ProSoft Technology.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Byte Offset Start End Name Description 84 85 PROFIBUS Master Module Status Represents the PROFIBUS Master module’s operating status Bit 2=Application Status 0 . Inc.Application Running Bit 8=Data exchange (FBRS) 0 . MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual Byte Offset Start End Name Description 118 119 File Error Word This is bit-mapped value that indicates which files are not present. If this word has a value other than 0. 201 201 Reserved Reserved for future use 202 202 Reserved Reserved for future use 203 203 Reserved Reserved for future use ProSoft Technology. Output Data Block Format (Output Image) You can find the contents of the Output Data Block (Output Image) in the MVI56PDPMV1. 120 145 Reserved Reserved for future use 146 147 In mailbox queue count Number of message in the in mailbox queue 148 149 Out mailbox queue count Number of message in the out mailbox queue 150 151 Alarm queue count Number of message in the alarm queue 152 153 Last out mailbox message ID processed from output image Last out mailbox message ID processed from output image 154 155 Current in mailbox control index Current in mailbox control index 156 157 Current alarm control index Current alarm control index 158 496 Reserved for future use 496 497 Index of Output image to receive (1 to 4 for data. 0 or -1 if no data) 498 499 Block index of -1 or 0 for status block Output Data Block (Block ID = 1 to 4) This block contains the PROFIBUS output data to be sent from the processor to the module.Output user controller tag structure in RSLogix. Bit 0: Problem with PDPMV1. Inc.DDB file Bit 3: Problem with PDPMV1. March 22. Word Offset Start End Name Description 0 1 0 Block ID Block number 1 to 4 200 PROFIBUS Output Data PROFIBUS Output Data: Data going to the PROFIBUS Network.XML file Bits 4 to 15 not used. the CFG ERR LED on the module will be illuminated.CFG file Bit 1: Not used Bit 2: Problem with PDPMV1. 2011 Page 235 of 255 . Page 236 of 255 ProSoft Technology. it will compare the values of the two CRC’s in the input and output images. If either one of the CRCs do not match. and status data is performed between the MVI56-PDPMV1 and the ControlLogix processor.4. The status and mailbox data is transferred through MSG instructions. The PROFIBUS I/O data is transferred through the backplane I/O images. Inc. mailbox block. March 22. the module will be placed in Operate mode.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Word Offset Start End Name Description 204 205 PROFIBUS CRC32 value Computed for PROFIBUS Config 206 207 Module CRC32 value Computed for module data When the module first starts up or recognizes an initialization of the processor.2 Flex Mode Input and Output Data Blocks The following illustration shows how the transfer of data. If each set matches. 208 247 Reserved Reserved for future use 5. the module will be placed in Stop mode. 2011 . Input Initialization Block (Block ID = 9990) Block 9990 is the first block transferred by the module to the processor after one of the following events:  Module power up  Module configuration through ProSoft Configuration Builder  Module reboot  ControlLogix mode switch from PROG to RUN It contains general module configuration data. if the PROFIBUS input = 100 and each backplane block will transfer 20 words of PROFIBUS data.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual Block ID Numbers for Transfer Block Type Description 0 Input Data This block is generated only if the module has a single input block (the configured PROFIBUS input data fits into one input backplane block). the MVI56-PDPMV1 module is able to actively read and write the PROFIBUS Cyclic Input/Output data blocks in the appropriate locations. which allows the ladder logic to correctly handle the handshaking between module and processor for proper backplane communication. Word Offset Start End Name Description 0 0 Block Write ID Block ID of the next write block. March 22. Inc.Data Controller Tag) You can find the contents of the Input Data Block (Input Image) in the Local:1:I. Normal Operation The MVI56-PDPMV1 module’s application code initiates the data transfers at the end of every ControlLogix PLC ladder scan. 2011 Page 237 of 255 . As such. So in fact block 0 and block 1 will transfer the same PROFIBUS input data. 1 to n Input Data Input data from PROFIBUS network with each block containing up to 242 words of data (refer to Input Data Block (page 237)) 1 to n Output Data Output data for PROFIBUS network with each block containing up to 243 words of data (refer to Output Data Block (page 242)) Note: The maximum block count n will depend on the configured PROFIBUS I/O size and the backplane block size for each application. ProSoft Technology. It will contain a value of 9990 because the module expects the next block from the processor to have the same block ID.Data user controller tags in RSLogix. Input Data Block Format (Input Image) (Local:1:I. For example. It allows the switching between two blocks with different block IDs but with same content. then n=5. 11 11 Read Block ID 9990 Page 238 of 255 ProSoft Technology. The size indicates the total number of words to transfer from the processor to the module at each time.Config. The last write block is the one with highest block ID.Util.WriteBlockSize) Write block size (backplane connection output length) as configured by the user through RSLogix in the I/O Configuration section. 5 5 Read Block Count (MVI56PDPMV1. 9 9 PROFIBUS Input Data Word Count In Last Read Block (MVI56PDPMV1.Util.Util.Util. 2011 .Util. 6 6 Write Block Count (MVI56PDPMV1. 2 2 Write Block Size (MVI56PDPMV1. March 22.InputWordsPerReadBlock) Maximum number of PROFIBUS input data words that fit into one read block. The size indicates the number of words to transfer from the module to the processor at each time. 3 3 PROFIBUS Total Input Data Size (MVI56PDPMV1.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Word Offset Start End Name Description 1 1 Read Block Size (MVI56PDPMV1.InputWordsInLastReadBlock) Number of PROFIBUS input data words in the last read block. The last read block is the one with highest block ID. 4 4 PROFIBUS Total Output Data Size (MVI56PDPMV1. Inc.Util. 7 7 PROFIBUS Input Data Word Count Per Read Block (MVI56PDPMV1.OutputWordsPerWriteBlock) Maximum number of PROFIBUS output data words that fits into one write block.ReadBlockCount) Number of read blocks to transfer from the module to the processor in order to transfer the configured PROFIBUS input data.ReadBlockSize) Read block size (backplane connection input length) as configured by the user through RSLogix in the I/O Configuration section.Config.OutputWordsInLastWriteBlock) Number of PROFIBUS output data words in the last write block.PROFIBUS. 10 10 PROFIBUS Output Data Words In Last Write Block (MVI56PDPMV1.PROFIBUS.OutputDataSize) PROFIBUS Output size configured in PCB through the Output Data Size parameter.InputDataSize) PROFIBUS Input size configured in PCB through the Input Data Size parameter.WriteBlockCount) Number of write blocks to transfer from the processor to the module in order to transfer the configured PROFIBUS output data.Util.Util. 8 8 PROFIBUS Input Data Word Count Per Write Block (MVI56PDPMV1. These tags reference the PDPMV1_Status user-defined data type. The following table shows the data structure of the GetStatus mailbox response. The types of data returned in the PROFIBUS Input Status area include:  Module configuration data values  MVI56 software revision level  Key PROFIBUS configuration values  PROFIBUS Master hardware/software revision level  MVI56 module statistics  Mailbox messaging control and status. March 22. Word Offset Start End Name Description 0 0 Block Write ID Block ID of the next write block to transfer from the processor to the module 1 2 PROFIBUS CRC32 value CRC32 checksum for PROFIBUS Master configuration downloaded from configuration utility 3 4 Module CRC32 value MVI56-PDPMV1 module configuration checksum for module configuration downloaded from configuration utility 5 5 CIP Mailbox MSG Index Latches bit 15 if new mailbox response is available 6 6 CIP Alarm MSG Index Latches bit 15 if new alarm response is available 7 n-1 PROFIBUS Input Data PROFIBUS input data transferred from the PROFIBUS slaves n n Block Read ID Block ID of this read block MSG Status Data Details The ControlLogix processor may periodically send a MSG request to retrieve the status data from the MVI56-PDPMV1 module. 2011 Page 239 of 255 . You can find the contents of the Status Data block in the MVI56PDPMV1. Inc.Data user controller tags in RSLogix.Data Controller Tag) You can find the contents of the Input Data Block (Input Image) in the Local:1:I. Value is selected during user configuration ProSoft Technology. Input Data Block Format (Input Image) (Local:1:I. Byte Offset Start End Name Description 0 9 Module ID string Unique module 10-byte pattern as text "MVI5PDPMV1" 10 11 Reserved Reserved for future use 12 13 PROFIBUS Input Data size The number of words of PROFIBUS input data to transfer from the PROFIBUS Master to the processor within the Input Data blocks.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual Input Data Block (Block ID = 1 to n) This block contains the previous input data received from the slaves.Status user controller tag structure in RSLogix. Slave List Structure Page 240 of 255 ProSoft Technology. 0=No swapping Not 0=Swap bytes 24 24 Module software major version number. This bit is then cleared when the slave enters "Data Exchange" state. 58 73 PROFIBUS Slave Diagnostic Status This is a 16-byte array with bit fields where one bit is assigned to each slave station address. When a slave leaves the "Deactive" state for the first time. The associated bit is set if the slave has reached or retained the "Data Exchange" state at least once during the last three data cycles. 0=No swapping Not 0=Swap bytes 23 23 Output Data Byte Swap User-configured flag to indicate if output data is swapped after being received from the output image of the controller. 42 57 PROFIBUS Data Transfer Status This is a 16-byte array with bit fields where one bit is assigned to each slave station address. For the bit/slave relationship. the associated bit is set. refer to the Slave List Structure below. MVI56 module application software version number Bits 25 25 Module software minor version number 16 8 High Byte 7 0 Low Byte 26 41 PROFIBUS Slave Configured List This is a 16-byte array with bit fields where one bit is assigned to each slave station address. Inc. The associate bit is set if the slave is present in the database. refer to the Slave List Structure below. For the bit/slave relationship.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Byte Offset Start End Name Description 14 15 PROFIBUS Output Data size The number of words to transfer from the processor in the PROFIBUS output space during the output data transfer. Value is selected during user configuration 16 17 Reserved Reserved for future use 18 19 Reserved Reserved for future use 20 21 Reserved Reserved for future use 22 22 Input Data Byte Swap User-configured flag to indicate if input data is swapped before being placed in the input image for the controller. March 22. refer to the Slave List Structure below. the associated bit is set. For the bit/slave relationship. 2011 . If a slave indicates "Extended Diagnostics" when it is in "Data Exchange" state. A slave’s inputs in the IN area are frozen if a slave is not in Data Exchange Bit 12=Reset (RDR) 0 . March 22. 2011 Page 241 of 255 . Bytes will be swapped 78 81 PROFIBUS Master Serial Number Unique 32-bit serial number for the PROFIBUS Master 82 83 PROFIBUS Software Version Software version number for the PROFIBUS Master software Example for Version 1.No action 1 .MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual Byte Offset Start End Name Description 74 74 75 75 PROFIBUS Master Operating State PROFIBUS Master operating state 0x0000=Offline 0x4000=Stop 0x8000=Clear 0xC000=Operate 76 77 PROFIBUS Ident Number PROFIBUS Master PNO Ident number.Application Running Bit 8=Data exchange (FBRS) 0 .A slave's inputs in the IN area are cleared if a slave is not in Data Exchange 1 .0x01 84 85 PROFIBUS Master Module Status Represents the PROFIBUS Master module’s operating status Bit 2=Application Status 0 .Application Stopped 1 .A reset is requested by the PROFIBUS Master module because a new database has been downloaded 86 89 PROFIBUS configuration Checksum CRC32 checksum for PROFIBUS Master configuration downloaded from configuration utility 90 93 MVI56 Module configuration checksum MVI56-PDPMV1 for module configuration downloaded from configuration utility 94 95 Application program scan counter MVI56-PDPMV1 module program scan counter.40: High Byte .There is data exchange with at least one of the assigned slaves Bit 9=Slave input frozen/cleared (FBFC) 0 . Inc.There is no data exchange with any of the assigned slaves 1 .0x40 Low Byte . Can be used to gauge application code scan time performance 96 97 Module PROFIBUS output image data update counter Counter representing the number of times the output data image is transferred to the module’s internal Master 98 99 Module PROFIBUS input image data update counter Counter representing the number of times the input data image is transferred from the module’s internal Master 100 101 Module out mailbox counter Module out mailbox counter 102 103 Module in mailbox counter Module in mailbox counter 104 105 Module alarm IND receive counter Number of spontaneous alarm messages received from slave 106 107 Module alarm CON receive counter Number of confirmation messages received from slaves indicating that the slave received the confirmation message from the MVI56-PDPMV1 module 108 109 Reserved Reserved for future use PROFIBUS pad byte to make data word aligned (not used) ProSoft Technology. Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Byte Offset Start End Name Description 110 111 Reserved Reserved for future use 112 113 Module backplane read count Rollover counter of the number of MVI56-PDPMV1 to processor backplane read data transfers 114 115 Module backplane write count Rollover counter of the number of MVI56-PDPMV1 to processor backplane write data transfers 116 117 Module backplane error count Rollover counter of the number of MVI56-PDPMV1 to processor backplane data transfers that have failed 118 119 File Error Word Bitmapped value that indicates which files are not present Bit 0: Problem with PDPMV1. 2011 . the CFG ERR LED on the module will be illuminated.CFG file Bit 1: Not used Bit 2: Problem with PDPMV1. Output Data Block Format (Output Image) You can find the contents of the Output Data Block (Output Image) in the MVI56PDPMV1. 0 or -1 if no data) 498 499 Block index of -1 or 0 for status block Output Data Block (Block ID = 1 to n) This block contains the PROFIBUS output data to be sent from the processor to the module.XML file Bits 4 to 15 not used. Byte Offset Start End Name Description 0 0 Write Block ID Block number of this write block 1 to n 1 2 PROFIBUS CRC32 value Computed for PROFIBUS Config Page 242 of 255 ProSoft Technology. Inc.DDB file Bit 3: Problem with PDPMV1. If this word has a value other than 0.Output user controller tags in RSLogix. March 22. 120 145 Reserved Reserved for future use 146 147 In mailbox queue count Number of message in the in mailbox queue 148 149 Out mailbox queue count Number of message in the out mailbox queue 150 151 Alarm queue count Number of message in the alarm queue 152 153 Last out mailbox message ID processed from output image Last out mailbox message ID processed from output image 154 155 Current in mailbox control index Current in mailbox control index 156 157 Current alarm control index Current alarm control index 158 496 Reserved for future use 496 497 Index of Output image to receive (1 to 4 for data. the module will be placed in Stop mode. If either one of the CRCs do not match. Inc. 5 n PROFIBUS Output Data PROFIBUS output data transferred to the PROFIBUS slaves ProSoft Technology. 2011 Page 243 of 255 . the module will be placed in Operate mode. March 22.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Reference User Manual Byte Offset Start End Name Description 3 4 Module CRC32 value Computed for module data When the module first starts up or recognizes an initialization of the processor. it will compare the values of the two CRC’s in the input and output images. If each set matches. CIP messaging is executed using a Generic CIP Message instruction using the Class value of 4 (assembly object). The Class parameter must always be set to a value of 4. The following topics describe how CIP messages are handled. For more information on the CIP message support. Inc. The only two service types supported by the module are Get Attribute Single (0x0E) and Set Attribute Single (0x10). The instance value identifies the data used by the MSG instruction. 2011 . CIP Generic Messages Get Attribute Single (0x0E) Set Attribute Single (0x10) Instance Status - 9 Mailbox - 10 - Mailbox 10 Alarm - 11 Page 244 of 255 ProSoft Technology.Reference User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master CIP Message Support CIP Messaging is supported for mailbox communication and status retrieval. refer to the sample ladder logic. The instance value selects the data set to interface with for the instruction. March 22. The Attribute field is not used by the module and should be set to 0. . if any 2 Module operation and any unusual behavior 3 Configuration/Debug status information 4 LED patterns 5 Details about the serial................................ March 22... 2011 Page 245 of 255 . Detailed contact information for all our worldwide locations is available on the following page.................................. Inc..... Inc.....MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 6 Support..... if any....... 245  Return Material Authorization (RMA) Policies and Conditions. we will also need information regarding: 1 Module configuration and associated ladder files.......... Ethernet or fieldbus devices interfaced to the module.. Before calling............ (ProSoft) is committed to providing the most efficient and effective support possible. 247  LIMITED WARRANTY ......... an after-hours answering system allows 24-hour/7-days-a-week pager access to one of our qualified Technical and/or Application Support Engineers. Service & Warranty User Manual Support......... 248 Contacting Technical Support ProSoft Technology.... please gather the following information to assist in expediting this process: 1 Product Version Number 2 System architecture 3 Network details If the issue is hardware related.. Note: For technical support calls within the United States.. ProSoft Technology................. Service & Warranty In This Chapter  Contacting Technical Support .. English Europe (location in Toulouse.661. English Europe (location in Dubai.com/support E-mail address: [email protected]. Spanish Latin America (Oficina Regional) Tel: +1-281-2989109.2080. E-mail: mea@prosoft-technology. France) Tel: +33 (0) 5. Mexico) E-mail: soporte@prosoft-technology. E-mail: [email protected] x888. March 22.com Languages spoken include: Chinese.com Languages spoken include: Spanish. E-mail: [email protected]. E-Mail: [email protected]. E-mail: brasil@prosoft-technology. E-mail: support.20. Service & Warranty User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Internet Web Site: www. Inc.com Asia Pacific (location in Malaysia) Tel: +603.5100.prosoft-technology. UAE) Tel: +971-4-214-6911.5187.com Languages spoken include: English. (location in Puebla.716.com Languages spoken include: Spanish Brasil (location in Sao Paulo) Page 246 of 255 Tel: +55-11-5083-3776.21. English ProSoft [email protected] Languages spoken include: French.87. English Latin America Tel: +52-222-3-99-6565. E-mail: [email protected] Languages spoken include: Chinese.34.com Languages spoken include: English. English Asia Pacific (location in China) Tel: +86. 2011 . Hindi North America (location in California) Tel: +1.com Languages spoken include: Portuguese. ProSoft Technology.. or otherwise. the Product is found to be the source of the problem. Service & Warranty User Manual Return Material Authorization (RMA) Policies and Conditions The following Return Material Authorization (RMA) Policies and Conditions (collectively. Customer should contact ProSoft Technical Support at one of the telephone numbers listed above (page 245). see Limited Warranty (page 248). exchange. whereby a Customer has an application change.1 Support. or if the defect is otherwise not covered by ProSoft Technology s warranty. the Customer must obtain a Return Material Authorization (RMA) number from ProSoft Technology and comply with ProSoft Technology shipping instructions. Inc. d) A 10% restocking fee applies to all warranty credit returns. does not need. etc. we will issue an RMA. These RMA Policies are subject to change by ProSoft Technology. b) Credit for a product under warranty will be issued upon receipt of authorized product by ProSoft Technology at designated location referenced on the Return Material Authorization i. 6. cables) be returned. or shipped without an RMA number will be returned to the Customer. in the original shipping container or equivalent. A Technical Support Engineer will request that you perform several tests in an attempt to isolate the problem.2 Returning Units Under Warranty A Technical Support Engineer must approve the return of Product under ProSoft Technology’s Warranty: a) A replacement module will be shipped and invoiced. the Warranty shall govern. freight collect.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master 6. to the location specified by ProSoft Technology. March 22. A purchase order will be required. Customer agrees to insure the Product or assume the risk of loss or damage in transit. 2011 Page 247 of 255 . Customer will be contacted and can request module be returned at their expense. c) All returned Products must be shipped freight prepaid. 6. without notice. Contact ProSoft Technical Support for further information. Inc. For warranty information. If after completing these tests. Products shipped to ProSoft Technology using a shipment method other than that specified by ProSoft Technology. The RMA number is to be prominently marked on the outside of the shipping box.e. b) In the event that the Customer experiences a problem with the Product for any reason. Failure to return these items will result in a deduction from the total credit due for each missing item. ordered too many.1. If a defect is found and is determined to be customer generated.1 Returning Any Product a) In order to return a Product for repair. Returns for credit require that all accessory parts included in the original box (i.1. antennas. "RMA Policies") apply to any returned product.. and be accompanied by proof of purchase and receipt date. there will be no credit given. In the event of any inconsistency between the RMA Policies and the Warranty. All o 3250 o 1560 . duties and taxes as applicable. "Product") manufactured and/or offered for sale by ProSoft Technology.Support.All o 3750 o 3600 . duties and taxes as applicable. the "Terms") of this Limited Warranty.2 LIMITED WARRANTY This Limited Warranty ("Warranty") governs all sales of hardware. 6. the individual or entity purchasing or using the Product or Services ("Customer") agrees to all of the terms and provisions (collectively. warranty exchange. The following is a list of non-repairable units: o 3150 . including maintenance.Can be repaired. and other products (collectively. All sales of software or other intellectual property are. plus freight charges. Customer will be charged the equivalent of $100 USD. in addition. only if defect is the power supply o 1550 . customer can authorize ProSoft Technology to repair the unit by providing a purchase order for 30% of the current list price plus freight charges. and service programs (collectively. b) If no defect is found. A new purchase order will be required. March 22. repair.All o 3700 o 3170 . c) If unit is repaired. A new purchase order will be required or authorization to use the purchase order submitted for evaluation fee.3 Returning Units Out of Warranty a) Customer sends unit in for evaluation to location specified by ProSoft Technology. Inc.1. 2011 . "Services"). charge to Customer will be 30% of current list price (USD) plus freight charges. and all related services provided by ProSoft. Page 248 of 255 ProSoft Technology. Incorporated (ProSoft).Can be repaired. duties and taxes as applicable. software. If defect is customer generated and is repairable. Service & Warranty User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master ii. only if defect is the power supply o 3350 o 3300 o 1500 .All 6. freight prepaid. By purchasing or using the Product or Services. subject to any license agreement accompanying such software or other intellectual property. Service & Warranty User Manual 6. approved and issued by ProSoft.2 What Is Not Covered By This Warranty a) ProSoft makes no representation or warranty. to the original purchaser. or one (1) year from the date of shipment for Product purchased before January 1st. Within a reasonable time after notification. that the Product that is the subject of the sale will (1) conform to and perform in accordance with published specifications prepared. the Customer must promptly notify ProSoft by fax. and at its sole discretion. not the date of shipment of the replacement unit. may replace unrepairable units with new or remanufactured equipment. All warranty service will be performed at service centers designated by ProSoft. ProSoft Technology. expressed or implied. Such repair. 2008. March 22. provided these warranties only cover Product that is sold as new. If the Customer discovers within the Warranty Period a failure of the Product to conform to specifications. will be performed at ProSoft’s expense. or a defect in material or workmanship of the Product. b) Warranty On Services: Materials and labor performed by ProSoft to repair a verified malfunction or defect are warranteed in the terms specified above for new Product. that the operation of software purchased from ProSoft will be uninterrupted or error free or that the functions contained in the software will meet or satisfy the purchaser’s intended use or requirements. 2008 (the "Warranty Period"). for a period of 90 days from the date of repair. if the original warranty is no longer in effect. ProSoft will correct any failure of the Product to conform to specifications or any defect in material or workmanship of the Product. Inc. and (2) will be free from defects in material or workmanship. In no event may that notification be received by ProSoft later than 39 months from date of original shipment. This Warranty expires three (3) years from the date of shipment for Product purchased on or after January 1st. 2011 Page 249 of 255 . ProSoft reserves the right. the Customer assumes complete responsibility for decisions made or actions taken based on information obtained using ProSoft software. provided said warranty will be for the period remaining on the original new equipment warranty or.2.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Support. with either new or remanufactured replacement parts. email or telephone.1 What Is Covered By This Warranty a) Warranty On New Products: ProSoft warrants. 6. including both parts and labor.2. All replacement units will be covered under warranty for the 3 year period commencing from the date of original equipment purchase. The user guide included with your original product purchase from ProSoft contains information protected by copyright. investigation. nor for incidental or consequential damages resulting from the furnishing. (ii) improper installation or other failure of Customer to adhere to ProSoft’s specifications or instructions. The Buyer assumes all risks (including the risk of suit) that the product or any use of the product will infringe existing or subsequently issued patents. Without limiting the foregoing. "C" or any variant of "C" programming languages) not furnished by ProSoft. losses. Buyer (at its own expense) shall indemnify and hold harmless ProSoft and defend or settle any action brought against such Companies to the extent based on a claim that any Product made to Buyer specifications infringed intellectual property rights of another party. Page 250 of 255 ProSoft Technology. Service & Warranty User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master b) This Warranty does not cover the failure of the Product to perform specified functions. (iii) unauthorized repair or maintenance. but not limited to. trademarks. "high risk activities"). No part of the guide may be duplicated or reproduced in any form without prior written consent from ProSoft. March 22. losses or damages caused by or attributable to any of the following: (i) shipping. 2011 . (iv) attachments. neglect or misuse by the Customer. equipment. (vii) accident. ProSoft specifically disclaims any express or implied warranty of fitness for high risk activities. options. defects. or any other non-conformance. improper testing or causes external to the Product such as. exposure to extremes of temperature or humidity. wind and lightning. or copyrights. air traffic control. costs and expenses (including attorney’s fees and expenses) related to any claim. but not limited to. earthquake. flood. c) The information in this Agreement is subject to change without notice.3 Disclaimer Regarding High Risk Activities Product manufactured or supplied by ProSoft is not fault tolerant and is not designed.2. litigation or proceeding (whether or not ProSoft is a party) which arises or is alleged to arise from Buyer’s acts or omissions under these Terms or in any way with respect to the Products. programs developed with any IEC 61131-3.Support. software. aircraft navigation of communication systems. direct life support machines or weapons systems in which the failure of the product could lead directly or indirectly to death. performance or use of this material. ProSoft makes no warranty that the product is or will be delivered free of any person’s claiming of patent. claims. ProSoft shall not be liable for technical or editorial errors or omissions made herein. Inc.2. personal injury or severe physical or environmental damage (collectively. 6. (vi) any other abuse. or (viii) disasters such as fire. manufactured or intended for use in hazardous environments requiring fail-safe performance including and without limitation: the operation of nuclear facilities. or user-created programming (including. trademark. misapplication.4 Intellectual Property Indemnity Buyer shall indemnify and hold harmless ProSoft and its employees from and against all liabilities. power failure or power surges. parts. 6. (v) use of the Product for purposes other than those for which it was designed. or similar infringement. disassemble. incidental or consequential damages based on breach of warranty. ProSoft Technology. cost of capital. breach of contract.5 Disclaimer of all Other Warranties The Warranty set forth in What Is Covered By This Warranty (page 249) are in lieu of all other warranties. and. reverse-engineer or otherwise attempt to derive the source code of the software or create derivative works based on the software. export the software or underlying technology in contravention of applicable US and international export laws and regulations. 6. decode. Customers purchasing software or other intellectual property shall comply with any license agreement accompanying such software or other intellectual property. and shall not authorize others to. modify. 6. b) ProSoft’s technical specifications and documentation that are included with the Product are subject to editing and modification without notice. but are not limited to: Loss of profits. c) Transfer of title shall not operate to convey to Customer any right to make. translate. cost of any substitute equipment. negligence. e) Customer agrees that it shall not. March 22. transfer software to a third party separately from the Product. loss of data. or have made. facilities. downtime. including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Damages that ProSoft or its Dealer will not be responsible for include.6 Limitation of Remedies ** In no event will ProSoft or its Dealer be liable for any special. or use the software other than as authorized in connection with use of Product. customers of the Purchaser.2. loss of savings or revenue. alter. copy software provided by ProSoft (except as expressly permitted in any license agreement accompanying such software). Inc. 2011 Page 251 of 255 . injury to property. or services.2. decompile. Failure to do so may void this Warranty with respect to such software and/or other intellectual property. strict tort or any other legal theory. any Product supplied by ProSoft.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Support. loss of use of the product or any associated equipment. the claims of third parties including. d) Customer is granted no right or license to use any software or other intellectual property in any manner or for any purpose not expressly permitted by any license agreement accompanying such software or other intellectual property. Service & Warranty User Manual a) Any documentation included with Product purchased from ProSoft is protected by copyright and may not be duplicated or reproduced in any form without prior written consent from ProSoft. f) Additional Restrictions Relating To Software And Other Intellectual Property In addition to compliance with the Terms of this Warranty. express or implied. Inc. to be unenforceable. No employee of ProSoft or any other party is authorized to make any warranty in addition to those made in this Warranty. therefore. without reference to its conflicts of law provisions.2.8 No Other Warranties Unless modified in writing and signed by both parties. to check this Warranty carefully to see that it correctly reflects those terms that are important to the Customer. including statements made by salesperson. Page 252 of 255 ProSoft Technology. This Warranty gives you specific legal rights. suspending all oral or written prior agreements and all other communications between the parties relating to the subject matter of this Warranty. the above limitations may not apply.10 Controlling Law and Severability This Warranty shall be governed by and construed in accordance with the laws of the United States and the domestic laws of the State of California. or allow the exclusion or limitation of incidental or consequential damages. 6.Support.2. 6.7 Time Limit for Bringing Suit Any action for breach of warranty must be commenced within 39 months following shipment of the Product. Service & Warranty User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master ** Some areas do not allow time limitations on an implied warranty.2.2. 6. 6. and you may also have other rights which vary from place to place. and is bound by its Terms. The Customer acknowledges that it has read this Warranty. understands it. Any cause of action with respect to the Product or Services must be instituted in a court of competent jurisdiction in the State of California. this Warranty is understood to be the complete and exclusive agreement between the parties. The Customer is warned. or a portion thereof. In such areas. that provision shall be enforced to the maximum extent permissible and the remainder of this Warranty shall remain in full force and effect. This allocation is recognized by both parties and is reflected in the price of the goods. If for any reason a court of competent jurisdiction finds any provisions of this Warranty. March 22.9 Allocation of Risks This Warranty allocates the risk of product failure between ProSoft and the Customer. 2011 . March 22. 105 F Flex Mode (Use Legacy Mode=No) • 183 Flex Mode Input and Output Data Blocks • 229.Ident Number Low • 196 C Changing and Importing Configuration Changes (for PCB v 2. 70 Allocation of Risks • 252 B Backing Up the Project • 109 Basic Troubleshooting Steps • 178 Battery Life Advisory • 3 Block ID Numbers for Transfer • 230. 41. 104. 177 Disabling the RSLinx Driver for the Com Port on the PC • 184 Disclaimer of all Other Warranties • 251 Disclaimer Regarding High Risk Activities • 250 Displaying the Current Page of Registers Again • 192. 175 Example • 222 Example . 237 Bus Access • 201 Byte 0 . 36 Choosing the Controller Type • 65 CIP Generic Messages • 244 CIP Message Support • 244 Common Settings for All Sample Programs • 23. 154.Legacy • 30 Adding MVI56-PDPMV1 Logic To Existing Applications • 35 Adjusting the Connection Sizes for Your Application • 39.Ident Number High • 196 Byte 5 .Station Status 3 Bits • 196 Byte 3 . 194 Downloading the Project to the Module • 79.0 • 27. 41.Station Status 1 Bits • 195 Byte 1 .2.Flex • 56 Adding Multiple Modules (Optional) .2. 2011 Index User Manual DB9 to RJ45 Adaptor (Cable 14) • 186 Determining the Firmware Version of the MVI56PDPMV1 Module • 18. 109 Checking the comDTM Install Version • 224 Checking the comDTM Version • 224 Checking the Install Version for Vista • 226 Checking the PROFIBUS LEDs on the MVI56PDPMV1 • 123 Choosing Sample Ladder Logic For Your Application • 16. 50 Index D A About the PROFIBUS Protocol • 201 Acyclic Message Status Word • 151.Legacy • 23.Legacy • 25 Creating the Module . 75. 131 Connecting the comDTM to the Master to Establish Communication • 216 Connecting Your PC to the Module • 77 Constructing a Bus Cable for PROFIBUS DP • 204 Contacting Technical Support • 245.Station Status 2 Bits • 195 Byte 2 .0 or later • 16. Inc. 161. 247 Controlling Law and Severability • 252 COP Instruction (input) • 43 COP Instruction (output) • 44 Creating a New RSLogix5000 Project • 49 ProSoft Technology. 162.FLEX application • 44 Example . 25 Creating the MVI56-PDPMV1 Module Profile .0 and up only) • 72. 164.Flex • 23. 84 Configuring the PROFIBUS Slaves • 86. 72. 158. 179 Determining the Firmware Version of Your Processor • 17 Determining the Module Mode (LEGACY or FLEX) • 20.2.Master Address • 196 Byte 4 . 129. 156. 65 Configuring the MVI56-PDPMV1 Module • 79 Configuring the PROFIBUS Master • 79. 179 Diagnostics and Troubleshooting • 9. 173 Adding Multiple Modules (Optional) .GetSlaveConfiguration Mailbox • 140 Example 1 Local Rack Application • 113 Example 2 Remote Rack Application • 117 Examples • 180 Exiting the Program • 192 Exporting the Processor Files for PCB v2. 157. 107 Exporting the Processor Files Prior to PCB v2. 236 Flex Mode Mailbox Communication • 135 FLEX Sample Add-On Instruction Import Procedure • 38 Flexible Connection I/O Length Overview • 38 Functional Specifications • 199 G General Specifications • 198 Guide to the MVI56-PDPMV1 User Manual • 9 H Hardware Requirements (Recommended) • 212 Hardware Specifications • 199 How Cable Length Affects Communication Rate • 202 Page 253 of 255 . 111 Downloading the Sample Program to the Processor • 76 DP-V1 Error Codes • 176 E Error Codes • 174.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master Creating a New RSLogix5000 Project . March 22.Flex • 41. 239 Input Database View Menu • 192 Input Initialization Block (Block ID = 9990) • 237 Input Mailbox Legacy Mode • 145 Installation • 213 Installing ProSoft Configuration Builder Software • 14 Installing the GSD Files • 85 Installing the Module in the Rack • 15 Intellectual Property Indemnity • 250 Introduction • 223 Introduction to PROFIBUS comDTM • 210 K Mailbox Messaging Error Codes • 154. 163. 194 Returning Units Out of Warranty • 248 Returning Units Under Warranty • 247 ProSoft Technology. 157. 237.LEGACY • 27. 204 Printing the Processor Network Memory Map • 90. 53. 107 Input Block Status Data Details (Block ID = 0 to -1) • 231 Input Data Block (Block ID = 1 to 4) • 231 Input Data Block (Block ID = 1 to n) • 239 Input Data Block Format (Input Image) (Local 1 I. 186. 168.Index User Manual MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master How to Contact Us • 2 I Important Installation Instructions • 3 Importing the Ladder Rung . 159. 197 Retrieving Status Information • 137 Return Codes • 154. 104 Product Specifications • 9. 165. 194 Set Operating Mode • 167 Set Slave Address • 157 Set Slave Mode • 150 Start Slave • 169 Stop Slave • 170 Mailbox Message Commands • 150 Mailbox Message Queuing • 134 Mailbox Messaging • 133. 242 Output Database View Menu • 193 Output Mailbox Legacy Mode • 145. 159. Inc. 237. 146 P Keystrokes • 189 L LED Status Indicators Front of MVI56 Module • 179 Legacy Mode • 35 Legacy Mode (Use Legacy Mode = Yes) • 182 Legacy Mode Input and Output Data Blocks • 229. 174 Return Material Authorization (RMA) Policies and Conditions • 247 Returning Any Product • 247 Returning to the Main Menu • 193. 2011 . 230 Legacy Mode Mailbox Communication • 145 LEGACY Sample Add-On Instruction Import Procedure • 24 Limitation of Remedies ** • 251 LIMITED WARRANTY • 247. 198 PROFIBUS comDTM • 209 PROFIBUS DP Architecture • 201 PROFIBUS Master Indicators • 180 PROFIBUS Master Port • 203 ProSoft Technology Product Availability • 209 ProSoft Technology® Product Documentation • 2 Q Queue Timeouts • 134 Quick Start • 215 R Reading Alarms • 143 Rebooting the Module • 144 Receiving Mailbox Message Responses from the Module Legacy Mode • 146 Redisplaying the Menu • 190 Reference • 9.Data Controller Tag) • 231. 107 Importing the Ladder Rung . 173 Main Menu • 190 Markings • 4 Master/Slave Communication Phases • 202 Master/Slave Polling • 202 Module Faceplate Status Indicators • 179 Module Functional Overview • 229 MSG Status Data Details • 239 MVI (Multi Vendor Interface) Modules • 3 N Navigation • 189 NEQ Instruction • 43 No Other Warranties • 252 Normal Backplane Operation • 231 Normal Operation • 237 O Output Data Block (Block ID = 1 to 4) • 235 Output Data Block (Block ID = 1 to n) • 242 Output Data Block Format (Output Image) • 235. 194 Page 254 of 255 Package Contents • 13 Pinouts • 3. 157. 248 M Mailbox Message Acyclic Data Read Class 1 • 161 Acyclic Data Write Class 1 • 164 Alarm Indication • 165 Get Live List • 160 Get Slave Configuration • 155 Get Slave Diagnostics • 153. Inc. 245 Supported PROFIBUS Services • 208 System Requirements • 12. Service & Warranty • 9. 222 Using the Diagnostic Window in ProSoft Configuration Builder • 187 Using the MVI56-PDPMV1 Add-On Instruction • 16.MVI56-PDPMV1 ♦ ControlLogix Platform PROFIBUS DPV1 Master RPI Time 5 to 750 milliseconds • 71 RPI Time 750 milliseconds • 72 RS-232 Configuration/Debug Port • 186 S Sample Program Summary • 22 Scanning for Slaves Manually • 87 Scenario 1 The PROFIBUS data fits into one backplane block • 45 Scenario 2 The PROFIBUS data fits into two backplane blocks (different PROFIBUS data count per block) • 46 Scenario 3 The PROFIBUS data fits into two backplane blocks (same PROFIBUS data count per block) • 47 Scenario 4 The PROFIBUS data fits into ten backplane blocks (same PROFIBUS data count per block) • 48 Selecting the Connection Parameters for the Module • 20. 80 Software Requirements (Minimum) • 213 Special Function Mailbox Messaging Commands • 148 Standard PROFIBUS Slave Diagnostic Bytes • 195 Start Here • 9. 24. 214. 129 Viewing the Fieldbus Data from the MVI56-PDPMV1’s Configuration/Debug Menu • 123. 130 Sending Mailbox Commands • 139 Set_Param (SAP61) • 102 Setting Module Parameters • 69. 126 Viewing the Next Page of Registers • 193. 194 Viewing the Online Status of the PROFIBUS Network • 124 Viewing the Previous Page of Registers • 193. 82 Setting Up the Project • 79. 24 Using the MVI56-PDPMV1 Sample Ladder Logic • 22. 213. 23. 194 Viewing Version Information • 191 W Warnings • 3 What Is Covered By This Warranty • 249. 223 Viewing Block Transfer Statistics • 190 Viewing Control Registers • 192 Viewing Data in ASCII (Text) Format • 193. 22. 194 Viewing Data in Hexadecimal Format • 193. 2011 Page 255 of 255 . 194 Viewing Input Data • 191 Viewing Module Configuration • 190 Viewing Module Status • 191 Viewing Output Data • 191 Viewing PROFIBUS Data • 191 Viewing PROFIBUS Slave Diagnostic Bytes • 194 Viewing the Controller Tags in RSLogix 5000 • 123. 79. 11 Starting FDT • 215 Support. 219. 212 Index User Manual V Verifying Correct Operation • 123 Verifying the comDTM Version and comDTM Install Version • 209. 251 What is DTM? • 211 What is FDT? • 210 What Is Not Covered By This Warranty • 249 What is PROFIBUS? • 210 Why Use PROFIBUS comDTM? • 210 Y Your Feedback Please • 2 T Time Limit for Bringing Suit • 252 Token Passing • 202 U Using FLEX Mode MSG Instructions • 136 Using ProSoft Configuration Builder (PCB) for Diagnostics • 184 Using The Autoscan Feature • 92 Using the CIPconnect Path Editor • 219. 194 Viewing Data in Decimal Format • 193. 107 ProSoft Technology. March 22. 23. 194 Viewing Data in Floating-Point Format • 193. 69 Selecting the RPI Time for the Module • 71 Selecting the Slot Number for the Module • 68 Sending a Mailbox Message in RSLogix 5000 • 123.
Copyright © 2024 DOKUMEN.SITE Inc.