ProSoft Technology MVI56-PDPS User Manual

MVI56-PDPS
ControlLogix Platform
Profibus DP Slave Communication Module
User Manual
April 22, 2008
Successful application of this module requires a reasonable working knowledge of the Rockwell Automation ControlLogix hardware, the MVI56-PDPS Module and the application in which the combination is to be used. For this reason, it is important that those responsible for implementation satisfy themselves that the combination will meet the needs of the application without exposing personnel or equipment to unsafe or inappropriate working conditions.
This manual is provided to assist the user. Every attempt has been made to ensure that the information provided is accurate and a true reflection of the product's installation requirements. In order to ensure a complete understanding of the operation of the product, the user should read all applicable Rockwell Automation documentation on the operation of the Rockwell Automation hardware.
Under no conditions will ProSoft Technology be responsible or liable for indirect or consequential damages resulting from the use or application of the product.
Reproduction of the contents of this manual, in whole or in part, without written permission from ProSoft Technology is prohibited.
Information in this manual is subject to change without notice and does not represent a commitment on the part of ProSoft Technology Improvements and/or changes in this manual or the product may be made at any time. These changes will be made periodically to correct technical inaccuracies or typographical errors.
Warnings
UL Warnings
A Warning - Explosion Hazard - Substitution of components may impair suitability for
Class I, Division 2.
B 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.
C 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.
Electrical Ratings
Backplane Current Load: 800 mA @ 5 V DC; 3mA @ 24V DC Operating Temperature: 0 to 60°C (32 to 140°F) Storage Temperature: -40 to 85°C (-40 to 185°F) Shock: 30g Operational; 50g non-operational; Vibration: 5 g from 10 to 150 Hz Relative Humidity 5% to 95% (non-condensing) All phase conductor sizes must be at least 1.3 mm(squared) and all earth ground
conductors must be at least 4mm(squared).
Markings:
II 3 G 0C <=Ta<= 60C EEx nA IIC T4 DEMKO 07ATEX0710717X
Battery Life Advisory
All modules in the MVI series use a rechargeable Lithium Vanadium Pentoxide battery to backup the 512K SRAM memory, 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 it becomes fully charged. After it is fully charged, the battery provides backup power for the CMOS setup and configuration data, the real-time clock, and the 512K SRAM memory for approximately 21 days.
Before you remove a module from its power source, ensure that the battery within the module is fully charged. A fully charged battery will hold the BIOS settings (after being removed from its power source) for a limited number of days (15 for the PC56). When the battery is fully discharged, the module will revert to the default BIOS settings.
Note: The battery is not user replaceable.
ProSoft® 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 and are available at no charge from our web site: http://www.prosoft-technology.com
Printed documentation is available for purchase. Contact ProSoft Technology for pricing and availability.
Asia Pacific: +603.7724.2080 Europe, Middle East, South Africa: +33.5.34.36.87.20 Latin America: +1.281.298.9109 North America: +1.661.716.5100
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 the product, documentation or support, please write or call us.
ProSoft Technology
1675 Chester Avenue, Fourth Floor Bakersfield, CA 93301 +1 (661) 716-5100 +1 (661) 716-5101 (Fax)
http://www.prosoft-technology.com
Copyright © ProSoft Technology, Inc. 2000 - 2008. All Rights Reserved.
MVI56-PDPS User Manual April 22, 2008 PSFT.PDPS.MVI56.UM.08.04.22
ProSoft Technology ®, ProLinx ®, inRAx ®, ProTalk® and RadioLinx ® are Registered Trademarks of ProSoft Technology, Inc.
Certifications
Contents MVI56-PDPS ♦ ControlLogix Platform Profibus DP Slave Communication Module
Contents
PLEASE READ THIS NOTICE................................................................................................................2
Warnings............................................................................................................................................2
Battery Life Advisory.......................................................................................................................... 3
ProSoft® Product Documentation .....................................................................................................3
Your Feedback Please ......................................................................................................................4
Certifications......................................................................................................................................4
GUIDE TO THE MVI56-PDPS USER MANUAL .....................................................................................7
1 START HERE....................................................................................................................................9
1.1 System Requirements.................................................................................................................9
1.2 Package Contents.....................................................................................................................10
1.3 Install ProSoft Configuration Builder Software.......................................................................... 10
1.4 Setting Jumpers ........................................................................................................................12
1.5 Install the Module in the Rack...................................................................................................12
1.6 Connect your PC to the Processor ...........................................................................................14
1.7 Open the Sample Ladder Logic ................................................................................................ 14
1.7.1 To Determine the Firmware Version of your Processor............................................................. 15
1.7.2 Select the Slot Number for the Module...................................................................................... 16
1.7.3 Configuring RSLinx.................................................................................................................... 17
1.8 Download the Sample Program to the Processor..................................................................... 18
1.9 Connect your PC to the Module................................................................................................19
2 CONFIGURING THE MODULE WITH RSLOGIX 5000..................................................................21
2.1 Initial Processor Ladder File Setup...........................................................................................21
2.2 Module Data Object ..................................................................................................................26
2.2.1 Status Object (PDPSInStat Data Structure) .............................................................................. 27
2.2.2 User Data Objects ..................................................................................................................... 27
2.2.3 Block Control Data (PDPSBackplane)....................................................................................... 28
2.3 ProSoft Configuration Builder ...................................................................................................28
2.3.1 Set Up the Project .....................................................................................................................29
2.3.2 Set Module Parameters............................................................................................................. 31
2.4 [MODULE].................................................................................................................................33
2.5 [BACKPLANE]...........................................................................................................................33
2.6 [PROFIBUS SLAVE] .................................................................................................................33
2.6.1 Slave Address ...........................................................................................................................33
2.6.2 Swap Input Bytes.......................................................................................................................34
2.6.3 Swap Output Bytes.................................................................................................................... 34
2.6.4 Comm Failure Mode .................................................................................................................. 34
2.6.5 Comm Timeout Multiplier........................................................................................................... 34
2.7 Set_Param (SAP61)..................................................................................................................35
2.8 Download the Project to the Module......................................................................................... 36
3 LADDER LOGIC .............................................................................................................................39
4 DIAGNOSTICS AND TROUBLESHOOTING.................................................................................41
4.1 Reading Status Data from the Module......................................................................................41
4.1.1 Definition of Module's Extended Diagnostics Data ....................................................................41
4.1.2 Required Hardware ...................................................................................................................42
4.1.3 The Configuration/Debug Menu................................................................................................. 42
4.1.4 Main Menu................................................................................................................................. 45
4.1.5 PROFIBUS Slave Menu ............................................................................................................47
4.2 LED Indicators...........................................................................................................................53
4.2.1 Module Status Indicators ........................................................................................................... 53
ProSoft Technology, Inc. Page 5 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Contents Profibus DP Slave Communication Module
4.2.2 LEDs for the PROFIBUS Slave Port.......................................................................................... 54
5 REFERENCE.................................................................................................................................. 55
5.1 Product Specifications .............................................................................................................. 55
5.1.1 Features and Benefits ............................................................................................................... 55
5.1.2 General Specifications .............................................................................................................. 55
5.1.3 Hardware Specifications............................................................................................................ 56
5.1.4 PROFIBUS Slave Port Specifications ....................................................................................... 56
5.1.5 Functional Specifications........................................................................................................... 57
5.2 Functional Overview ................................................................................................................. 57
5.2.1 About the PROFIBUS Protocol.................................................................................................. 57
5.2.2 General Concepts ..................................................................................................................... 58
5.2.3 PROFIBUS DP Architecture...................................................................................................... 59
5.2.4 Backplane Data Transfer........................................................................................................... 60
5.2.5 Normal Data Transfer................................................................................................................ 62
5.2.6 Command Control Blocks..........................................................................................................62
5.2.7 PROFIBUS Slave Error and Status Data................................................................................... 63
5.3 RS-232 Configuration/Debug Port............................................................................................ 68
5.3.1 Disabling the RSLinx Driver for the Com Port on the PC .......................................................... 68
5.4 DB9 to RJ45 Adaptor (Cable 14).............................................................................................. 71
5.5 PROFIBUS Slave Port.............................................................................................................. 71
5.6 Constructing a Bus Cable for PROFIBUS DP .......................................................................... 72
6 SUPPORT, SERVICE & WARRANTY ........................................................................................... 77
6.1 How to Contact Us: Sales and Support.................................................................................... 78
6.2 Return Material Authorization (RMA) Policies and Conditions................................................. 78
6.2.1 All Product Returns ................................................................................................................... 79
6.3 Procedures for Return of Units Under Warranty ...................................................................... 79
6.4 Procedures for Return of Units Out of Warranty ...................................................................... 80
6.4.1 Un-repairable Units ................................................................................................................... 80
6.4.2 Purchasing Warranty Extension ................................................................................................ 81
6.5 LIMITED WARRANTY.............................................................................................................. 81
6.5.1 What Is Covered By This Warranty ........................................................................................... 81
6.5.2 What Is Not Covered By This Warranty..................................................................................... 82
6.5.3 DISCLAIMER REGARDING HIGH RISK ACTIVITIES .............................................................. 83
6.5.4 DISCLAIMER OF ALL OTHER WARRANTIES......................................................................... 83
6.5.5 LIMITATION OF REMEDIES**.................................................................................................. 83
6.5.6 Time Limit for Bringing Suit ....................................................................................................... 83
6.5.7 No Other Warranties ................................................................................................................. 84
6.5.8 Intellectual Property................................................................................................................... 84
6.5.9 Additional Restrictions Relating To Software And Other Intellectual Property........................... 84
6.5.10 Allocation of risks ...................................................................................................................... 84
6.5.11 Controlling Law and Severability ............................................................................................... 85
INDEX.................................................................................................................................................... 87
Page 6 of 88 ProSoft Technology, Inc. April 22, 2008
Start Here MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
Guide to the MVI56-PDPS User Manual
Function Section to Read Details
Introduction (Must Do)
Verify Communication, Diagnostic and Troubleshooting
Reference Product Specifications Functional Overview Glossary
Support, Service, and Warranty
Index
Start Here (page 9)
Verifying Communication (page 53)
Diagnostics and Troubleshooting (page 41)
Reference (page
55) Functional
Overview (page 57) Product
Specifications (page 55)
Support, Service and Warranty (page 77)
This Section introduces the customer to the module. Included are: package contents, system requirements, hardware installation, and basic configuration.
This section describes how to verify communications with the network. Diagnostic and Troubleshooting procedures.
These sections contain general references associated with this product, Specifications, and the Functional Overview.
This section contains Support, Service and Warranty information.
Index of chapters.
ProSoft Technology, Inc. Page 7 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Start Here Profibus DP Slave Communication Module
Page 8 of 88 ProSoft Technology, Inc.
April 22, 2008
Start Here MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
1 Start Here
In This Chapter
System Requirements .............................................................................9
Package Contents .................................................................................10
Install ProSoft Configuration Builder Software....................................... 10
Setting Jumpers ....................................................................................12
Install the Module in the Rack ............................................................... 12
Connect your PC to the Processor ........................................................14
Open the Sample Ladder Logic............................................................. 14
Download the Sample Program to the Processor.................................. 18
Connect your PC to the Module ............................................................19
Installing the MVI56-PDPS module requires a reasonable working knowledge of the Rockwell Automation hardware, the MVI56-PDPS Module and the application in which they will be used.
Caution: It is important that those responsible for implementati on can complete the application without exposing perso nnel, or equipment, to unsafe or inappropr iate working conditions. Safety, quality and experience ar e key factors in a successful installation.
1.1 System Requirements
The MVI56-PDPS module requires the following minimum hardware and software components:
Rockwell Automation ControlLogix™ processor, with compatible power
supply and one free slot in the rack, for the MVI56-PDPS module. The module requires 800mA of available power.
Rockwell Automation RSLogix 5000 programming software version 2.51 or
higher.
Rockwell Automation RSLinx communication software Pentium® II 450 MHz minimum. 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, 2, or 3
o
Microsoft Windows Server 2003
128 Mbytes of RAM minimum, 256 Mbytes of RAM recommended
ProSoft Technology, Inc. Page 9 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Start Here Profibus DP Slave Communication Module
100 Mbytes of free hard disk space (or more based on application
requirements)
256-color VGA graphics adapter, 800 x 600 minimum resolution (True Color
1024 × 768 recommended)
CD-ROM drive HyperTerminal or other terminal emulator program.
Note: You can install the module in a local or remote rack. For remote rack installation, the modul e requires EtherNet/IP or ControlNet communication with the processor.
1.2 Package Contents
The following components are included with your MVI56-PDPS module, and are all required for installation and configuration.
Important: Before beginning the installation, please verify that all of the following items are present.
Qty. Part Name Part Number Part Description
1
1 Cable
1 Cable
MVI56­PDPS Module
MVI56-PDPS Profibus DP Slave Communication Module
Cable #15, RS232 Null Modem
Cable #14, RJ45 to DB9 Male Adapter cable
For RS232 Connection to the CFG Port
For DB9 Connection to Module's Port
If any of these components are missing, please contact ProSoft Technology Support for replacement parts.
1.3 Install ProSoft Configuration Builder Software
You must install the ProSoft Configuration Builder (PCB) software in order to configure the MVI56-PDPS module. You can always get the newest version of ProSoft Configuration Builder from the ProSoft Technology web site.
To install ProSoft Configuration Builder from the ProSoft Web Site
1 Open your web browser and navigate to http://www.prosoft-
technology.com/pcb
2 Click the Download Here link to download the latest version of ProSoft
Configuration Builder.
Page 10 of 88 ProSoft Technology, Inc.
April 22, 2008
Start Here MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
3 Choose "Save" or "Save File" when prompted. The following illustrations
show the file download prompt for two of the most common web browsers.
4 Make a note of the location where you saved the file, for example "Desktop",
or "My Documents", so you can start the installation program.
5 When the download is complete, locate and open the file, and then follow the
instructions on your screen to install the program.
If you do not have access to the Internet, you can install ProSoft Configuration Builder from the ProSoft Solutions CD-ROM, included in the package with your MVI56-PDPS module.
To install ProSoft Configuration Builder from the CD-ROM
1 Insert the ProSoft Solutions CD-ROM into the CD drive of your PC. Wait for
the startup screen to appear.
2 On the startup screen, click Product Documentation. This action opens an
explorer window.
3 Click to open the Utilities folder. This folder contains all of the applications
and files you will need to set up and configure your module.
4 Double-click the ProSoft Configuration Builder Setup program and follow the
instructions on your screen to install the software on your PC.
Note: Many of the configuration and maintenance procedures use files and other utilities on the CD-ROM. You may wish to copy the files from the Utilities folder on the CD-ROM to a convenient location on your hard drive.
ProSoft Technology, Inc. Page 11 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Start Here Profibus DP Slave Communication Module
1.4 Setting Jumpers
Note: The Setup Jumper acts as "write protection" for th e module's flash memory. In "write protected" mode, the Setup pins are not connected, and the module's firmware cannot be overwritten. Do not jumper the Setup pins together unless you are directed to do so by ProSoft Technical Support.
1.5 Install the Module in the Rack
If you have not already installed and configured your ControlLogix processor and power supply, please do so before installing the MVI56-PDPS module. Refer to your Rockwell Automation product documentation for installation instructions.
Warning: You must follow all safety instructions when installing this or any other electronic devices. Failure to follow safety procedures could result in damage to hardware or data, or even serious injury or death to personnel. Refer to the documentation for each device you p la n to connect to verify that suitable safety procedures ar e in place before installing or servicing the device.
After you have checked the placement of the jumpers, insert MVI56-PDPS into the ControlLogix chassis. Use the same technique recommended by Rockwell Automation to remove and install ControlLogix modules.
Page 12 of 88 ProSoft Technology, Inc.
April 22, 2008
Start Here MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
Warning: When you insert or remove the module while backplane power is on, an electrical arc can occur. This could cause an explosion in hazardous location installations. Verify that power is removed or the area is non-hazardous before proceeding. Repeated electrical arcing causes excessive wear to contacts on both the module and its mating con nector. Worn contacts may create electrical resistance that can affect module operation.
1 Turn power OFF. 2 Align the module with the top and bottom guides, and slide it into the rack
until the module is firmly against the backplane connector.
3 With a firm but steady push, snap the module into place. 4 Check that the holding clips on the top and bottom of the module are securely
in the locking holes of the rack.
5 Make a note of the slot location. You will need to identify the slot in which the
module is installed in order for the sample program to work correctly. Slot numbers are identified on the green circuit board (backplane) of the ControlLogix rack.
6 Turn power ON.
Note: If you insert the module improperly, the system may stop working, or may behave unpredictably. Note: If you are installing MVI56-PDPS with other modul es connected to the PCI bus, the peripheral modules will not have holdi ng clips. Make sure all of the modules are aligned with their respective slots before you snap them into place.
ProSoft Technology, Inc. Page 13 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Start Here Profibus DP Slave Communication Module
1.6 Connect your PC to the Processor
1 Connect the right-angle connector end of the cable to your controller at the
communications port.
2 Connect the straight connector end of the cable to the serial port on your
computer.
1.7 Open the Sample Ladder Logic
The sample program for your MVI56-PDPS module includes custom tags, data types and ladder logic for data I/O and status monitoring. For most applications, you can run the sample ladder program without modification, or, for advanced applications, you can incorporate the sample program into your existing application.
The inRAx Solutions CD provides one or more versions of the sample ladder logic. The version number appended to the file name corresponds with the firmware version number of your ControlLogix processor. The firmware version and sample program version must match.
Page 14 of 88 ProSoft Technology, Inc.
April 22, 2008
Start Here MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
1.7.1 To Determine 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. Refer to your RSLinx and RSLogix documentation for help configuring and troubleshooting these applications.
1 Connect an RS-232 serial cable from the COM (serial) port on your PC to the
communication port on the front of the processor.
2 Start RSLogix 5000 and close any existing project that may be loaded. 3 Open the Communications menu and choose Go Online. RSLogix will
establish communication with the processor. This may take a few moments.
4 When RSLogix has established communication with the processor, the
Connected To Go Online dialog box will open.
ProSoft Technology, Inc. Page 15 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Start Here Profibus DP Slave Communication Module
5 On the Connected To Go Online dialog box, click the General tab. This tab
shows information about the processor, including the Revision (firmware) version. In the following illustration, the firmware version is 11.32
1.7.2 Select the Slot Number for the Module
The 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. If you are installing the module in a different slot, you must update the ladder logic so that program tags and variables are correct, and do not conflict with other modules in the rack.
To change the slot number
1 In the Controller Organization list, select the module [1] 1756-MODULE
MVI56, and then click the right mouse button to open a shortcut menu.
2 On the shortcut menu, choose Properties. This action opens the Module
Properties dialog box.
Page 16 of 88 ProSoft Technology, Inc.
April 22, 2008
Start Here MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
3 In the Slot: field, use the spinners on the right side of the field to select the
slot number where the module will reside in the rack, and then click OK.
RSLogix will automatically apply the slot number change to all tags, variables and ladder logic rungs that use the MVI56-PDPS slot number for computation.
1.7.3 Configuring RSLinx
If RSLogix is unable to establish communication with the processor, follow these steps:
1 Open RSLinx. 2 Open the Communications menu, and choose Configure Drivers.
This action opens the Configure Drivers dialog box.
Note: If the list of configured drivers is blank, you must first choose and configure a driver from the Available Driver Types list. The recommended driver type to choose for serial communication with the processor is "RS-232 DF1 Devices".
ProSoft Technology, Inc. Page 17 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Start Here Profibus DP Slave Communication Module
3 Click to select the driver, and then click Configure. This action opens the
Configure Allen-Bradley DF1 Communications Device dialog box.
4 Click the Auto-Configure button. RSLinx will attempt to configure your serial
port to work with the selected driver.
5 When you see the message "Auto Configuration Successful", click the OK
button to dismiss the dialog box.
Note: If the auto-configuration procedure fai ls, verify that the cables are connected correct ly between the processor and the serial p ort on your computer, and then try again. If you are still unable to auto-configure the port, refer to your RSLinx documentation for further troubleshooti ng steps.
1.8 Download the Sample Program to the Processor
Note: The key switch on the front of the ControlLogix module must be in the REM position.
To download the sample program from RSLogix 5000 to the ControlLogix processor
1 If you are not already online to the processor, open the Communications
menu, and then choose Download. RSLogix will establish communication with the processor.
Page 18 of 88 ProSoft Technology, Inc.
April 22, 2008
Start Here MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
2 When communication is established, RSLogix will open a confirmation dialog
box. Click the Download button to transfer the sample program to the processor.
3 RSLogix will compile the program and transfer it to the processor. This
process may take a few minutes.
4 When the download is complete, RSLogix will open another confirmation
dialog box. Click OK to switch the processor from Program mode to Run mode.
Note: If you receive an error message during these steps, refer to your RSLogix documentation to interpret and correct the error.
1.9 Connect your PC to the Module
With the module securely mounted, 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-PDPS module.
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.
3 Attach the other end to the serial port on your PC or laptop.
ProSoft Technology, Inc. Page 19 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Start Here Profibus DP Slave Communication Module
Page 20 of 88 ProSoft Technology, Inc.
April 22, 2008
Configuring the Module with RSLogix 5000 MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
2 Configuring the Module with RSLogix 5000
In This Chapter
Initial Processor Ladder File Setup........................................................ 21
Module Data Object............................................................................... 26
ProSoft Configuration Builder ................................................................28
[MODULE]............................................................................................. 33
[BACKPLANE].......................................................................................33
[PROFIBUS SLAVE] .............................................................................33
Set_Param (SAP61).............................................................................. 35
Download the Project to the Module...................................................... 36
This section contains the setup procedure, data and ladder logic requirements for successful application of the MVI56-PDPS module. Each step in the setup procedure is defined in order to simplify the use of the module. Go to the Initial Processor ladder File Setup section to begin setting up RSLogix 5000 ladder file. Additionally, this document contains a discussion on configuring the module using the PDPS.CFG file. All configuration information used by the module is stored in this file. Go to the Configuration File section to begin setting up this file.
The document also contains a discussion of the data areas defined for the module. These areas contain the read and write data from the module and status related to the module. It is important to understand each element of the data areas for proper application of the module. Go to the Module Data Object section for the presentation of the data areas.
The ladder logic requirement section defines the minimum ladder logic required to apply the module in a user application. The logic is simple to understand and implement. Go to the Ladder Logic section for a complete discussion of the ladder logic requirements.
2.1 Initial Processor Ladder File Setup
Processor communication to the MVI56-PDPS module requires configuration using the RSLogix 5000 program. The quickest way to configure the module is to start with the example provided with the module () and the default PDPS configuration file. If you are installing this module in an existing application, you can copy the elements required from the example ladder logic to your application.
Note: The module can only be added to a project us ing the software in offline mode.
ProSoft Technology, Inc. Page 21 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Configuring the Module with RSLogix 5000 Profibus DP Slave Communication Module
The first step in setting up the processor ladder file is to define the I/O type module to the system. Click the right mouse button on the I/O Configuration option in the Controller Organization list to open a shortcut menu. Select the New Module… option from the I/O Configuration menu:
This action opens the following dialog box.
Page 22 of 88 ProSoft Technology, Inc.
April 22, 2008
Configuring the Module with RSLogix 5000 MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
Select the 1756-Module (Generic 1756 Module) from the list and click OK. The following dialog box is displayed.
Fill in the dialog boxes as shown adjusting the Name, Description and Slot options for your application. You must select the Comm Format as Data - INT in the dialog box. Failure to set the Assembly Instance and Size values correctly will result in a module that will not communicate over the backplane of the ControlLogix rack. Click Next to display the next dialog box:
Select the Request Packet Interval value for scanning the I/O on the module. This value represents the minimum frequency the module will handle scheduled events. This value should not be set to less than 1 millisecond. Values between 1 and 10 milliseconds should work with most applications.
ProSoft Technology, Inc. Page 23 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Configuring the Module with RSLogix 5000 Profibus DP Slave Communication Module
After completing the module setup, the Controller Organization list will display the module's presence. The data required for the module will be defined to the application, and objects will be allocated in the Controller Tags data area. An example of the Controller Organization list follows:
The next step in the module's setup is to define the User Defined Data Types to be used with the module. Copy these data types from the example ladder logic if you are not using the example. They will be defined if you are starting from the example ladder logic. The Controller Organization list should display the User Defined Data Types shown in the following example:
Page 24 of 88 ProSoft Technology, Inc.
April 22, 2008
Configuring the Module with RSLogix 5000 MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
The next step in module setup is to define the data to be used to interface with the module and the ladder logic. Open the Controller Tags Edit Tags dialog box and enter the values shown in the following example. The MVI56-PDPS module is defined in the example as PDPS. You can set the tag name to any valid tag name you desire. If you are using the example ladder logic, this step has already been performed.
At this point, take the time to adjust the array sizes PDPS data table for the read and write data. The last step is to add the ladder logic. If you are using the example ladder logic, adjust the ladder to fit your application. If you are not using the ladder example, copy the ladder logic shown in the Controller Organization list shown to your application.
ProSoft Technology, Inc. Page 25 of 88 April 22, 2008
MVI56-PDPS ControlLogix Platform Configuring the Module with RSLogix 5000 Profibus DP Slave Communication Module
It is now time to edit the PDPS.CFG file to set up the module for the specific application. Refer to the Configuration File section of this document. The module is now set up and ready to use with your application. Insert the module in the rack and attach the PROFIBUS cable. Download the new application to the controller and place the processor in run mode. Download the new PDPS.CFG file to the module using HyperTerminal. If all the configuration parameters are set correctly and the module is attached to a network, the module's Application LED (APP LED) should remain off and the backplane activity LED (BP ACT) should blink very rapidly. If you encounter errors, refer to Diagnostics and Troubleshooting (page 41) for information on how to connect to the module's Config/Debug port to use its troubleshooting features.
2.2 Module Data Object
All data related to the MVI56-PDPS module is stored in a user defined data type. An instance of the data type is required before the module can be used. This is done by declaring a variable of the data type in the Controller Tags Edit Tags dialog box.
The structure of the object is displayed in the following figure:
This object contains objects that define user and status data related to the module. Each of these object types is discussed in the following topics of the document.
Page 26 of 88 ProSoft Technology, Inc.
April 22, 2008
Configuring the Module with RSLogix 5000 MVI56-PDPS ControlLogix Platform Profibus DP Slave Communication Module
2.2.1 Status Object (PDPSInStat Data Structure)
This object views the status of the module. The PDPSInstat object shown below is updated each time a read block is received by the processor. Use this data to monitor the state of the module at a "real-time rate".
Refer to Status Data Definition for a complete listing of the data stored in this object.
2.2.2 User Data Objects
These objects hold data to be transferred between the processor and the MVI56­PDPS module. The user data is the read and write data transferred between the processor and the module as "pages" of data up to 200 words long.
The read data (ReadData) is an array set to match the value entered in the Read Register Count parameter of the PDPS.CFG file. This data is paged up to 200 words at a time from the module to the processor. The ReadData task places the data received into the proper position in the read data array. This data will be data sent to the module by the PROFIBUS Master (PROFIBUS Outputs) and can be used for status and control in the ladder logic of the processor.
ProSoft Technology, Inc. Page 27 of 88 April 22, 2008
Loading...
+ 61 hidden pages