ProSoft Technology MVI46-PDPMV1 User Manual

MVI46-PDPMV1
SLC 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 support@prosoft-technology.com
Copyright © 2011 ProSoft Technology, Inc., all rights reserved.
MVI46-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 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.
Warning: This module is not hot-swappable! Always remove power from the rack before inserting or removing this module, or damage may result to the module, the processor, or other connected devices.
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  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)  All phase conductor sizes must be at least 1.3 mm(squared) and all earth ground conductors must be at least
4mm(squared).
Agency Approvals and Certifications
Agency Applicable Standards
CSA 61010 CB Safety CA/10533/CSA IEC 61010-1 Ed. 2
CB 243333-2056722 (2090408)
243333
MVI46-PDPMV1 ♦ SLC Platform Contents PROFIBUS DPV1 Master 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 MVI46-PDPMV1 User Manual 9
1 Start Here 11
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.7.1
System Requirements ............................................................................................. 12
Package Contents ................................................................................................... 13
Installing ProSoft Configuration Builder Software ................................................... 14
Setting Jumpers ...................................................................................................... 15
Installing the Module in the Rack ............................................................................ 16
Connecting Your PC to the Processor .................................................................... 18
Downloading the Sample Program to the Processor .............................................. 19
Configuring the RSLinx Driver for the PC COM Port .............................................. 20
Connecting Your PC to the Module ......................................................................... 22
2 Configuring the MVI46-PDPMV1 Module 23
2.1
2.2
2.3
2.4
2.2.1
2.2.2
2.2.3
2.2.4
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
Setting Up the Project ............................................................................................. 24
Setting Module Parameters ..................................................................................... 26
Input Data Size ........................................................................................................ 27
Output Data Size ..................................................................................................... 27
Input Byte Swap ...................................................................................................... 28
Output Byte Swap ................................................................................................... 28
Configuring the PROFIBUS Master ........................................................................ 29
Installing the GSD Files ........................................................................................... 30
Configuring the PROFIBUS Slaves ......................................................................... 31
Calculating the Checksums ..................................................................................... 45
Printing the Processor Network Memory Map......................................................... 45
Downloading the Project to the Module Using a Serial COM Port .......................... 47
Backing Up the Project ............................................................................................ 48
Verifying Correct Operation ..................................................................................... 50
Checking the PROFIBUS LEDs on the MVI46-PDPMV1 ....................................... 50
Viewing the Online Status of the PROFIBUS Network ........................................... 51
Viewing the Fieldbus Data from the MVI46-PDPMV1’s Configuration/Debug Menu53
Viewing the Data Files in RSLogix 500 ................................................................... 56
Sending a Mailbox Message in RSLogix 500 ......................................................... 58
3 Ladder Logic 59
3.1
Adding the Module to an Existing Project ............................................................... 60
ProSoft Technology, Inc. Page 5 of 160 March 25, 2011
Contents MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
4 Mailbox Messaging 63
4.1
4.2
4.3
4.4
4.1.1
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
4.2.6
4.2.7
4.2.8
4.2.9
4.2.10
4.2.11
4.4.1
4.4.2
4.4.3
4.4.4
Mailbox Message Queuing ..................................................................................... 64
Queue Timeouts ..................................................................................................... 64
Special Function Mailbox Messaging Commands .................................................. 65
Mailbox Message: Set Slave Mode ........................................................................ 66
Mailbox Message: Get Slave Diagnostics .............................................................. 69
Mailbox Message: Get Slave Configuration ........................................................... 72
Mailbox Message: Set Slave Address .................................................................... 73
Mailbox Message: Get Live List .............................................................................. 76
Mailbox Message: Acyclic Data Read: Class 1 ...................................................... 77
Mailbox Message: Acyclic Data Write: Class 1 ...................................................... 79
Mailbox Message: Alarm Indication ........................................................................ 81
Mailbox Message: Set Operating Mode ................................................................. 83
Mailbox Message: Start Slave ................................................................................ 85
Mailbox Message: Stop Slave ................................................................................ 87
Receiving Mailbox Message Responses from the Module ..................................... 89
Mailbox Messaging Error Codes............................................................................. 90
Acyclic Message Status Word ................................................................................ 90
Return Codes .......................................................................................................... 91
Error Codes ............................................................................................................. 92
DP-V1 Error Codes ................................................................................................. 93
5 Diagnostics and Troubleshooting 95
5.1
5.2
5.3
5.4
5.5
5.6
5.4.1
5.5.1
5.5.2
5.5.3
5.6.1
5.6.2
5.6.3
5.6.4
5.6.5
5.6.6
Basic Troubleshooting Steps .................................................................................. 96
LED Status Indicators: Front of MVI46 Module ...................................................... 97
Module Faceplate Status Indicators ....................................................................... 98
PROFIBUS Master Indicators ................................................................................. 99
Examples .............................................................................................................. 100
Using ProSoft Configuration Builder (PCB) for Diagnostics ................................. 102
Using the Diagnostic Window in ProSoft Configuration Builder ........................... 102
Navigation ............................................................................................................. 104
Main Menu ............................................................................................................ 105
Standard PROFIBUS Slave Diagnostic Bytes ...................................................... 108
Byte 0 - Station Status 1 Bits ................................................................................ 108
Byte 1 - Station Status 2 Bits ................................................................................ 108
Byte 2 - Station Status 3 Bits ................................................................................ 109
Byte 3 - Master Address ....................................................................................... 109
Byte 4 - Ident Number High .................................................................................. 109
Byte 5 - Ident Number Low ................................................................................... 109
6 Reference 111
6.1
6.2
6.1.1
6.1.2
6.1.3
6.2.1
6.2.2
6.2.3
6.2.4
Product Specifications .......................................................................................... 112
General Specifications .......................................................................................... 112
Hardware Specifications ....................................................................................... 112
Functional Specifications ...................................................................................... 113
Functional Overview ............................................................................................. 114
About the PROFIBUS Protocol ............................................................................. 114
Backplane Data Transfer ...................................................................................... 115
PROFIBUS DP Architecture ................................................................................. 120
Communication Types .......................................................................................... 121
Page 6 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Contents PROFIBUS DPV1 Master User Manual
6.2.5
6.3
6.4
6.5
6.6
6.7
6.8
6.9
6.3.1
6.3.2
6.3.3
6.3.4
6.3.5
6.3.6
Master/Slave Communication Phases .................................................................. 121
PROFIBUS comDTM ............................................................................................ 122
ProSoft Technology Product Availability ............................................................... 122
Introduction to PROFIBUS comDTM .................................................................... 123
System Requirements ........................................................................................... 126
Installation ............................................................................................................. 127
Quick Start ............................................................................................................. 128
Verifying the comDTM Version and comDTM Install Version ............................... 135
Disabling the RSLinx Driver for the Com Port on the PC ...................................... 140
RS-232 Configuration/Debug Port ........................................................................ 142
DB9 to RJ45 Adaptor (Cable 14) .......................................................................... 143
PROFIBUS Master Port ........................................................................................ 144
Supported PROFIBUS Services ........................................................................... 145
Constructing a Bus Cable for PROFIBUS DP ....................................................... 146
7 Support, Service & Warranty 151
Contacting Technical Support ......................................................................................................... 151
7.1
7.2
7.1.1
7.1.2
7.1.3
7.2.1
7.2.2
7.2.3
7.2.4
7.2.5
7.2.6
7.2.7
7.2.8
7.2.9
7.2.10
Return Material Authorization (RMA) Policies and Conditions.............................. 153
Returning Any Product .......................................................................................... 153
Returning Units Under Warranty ........................................................................... 154
Returning Units Out of Warranty ........................................................................... 154
LIMITED WARRANTY ........................................................................................... 155
What Is Covered By This Warranty ....................................................................... 155
What Is Not Covered By This Warranty ................................................................ 156
Disclaimer Regarding High Risk Activities ............................................................ 156
Intellectual Property Indemnity .............................................................................. 157
Disclaimer of all Other Warranties ........................................................................ 157
Limitation of Remedies ** ...................................................................................... 158
Time Limit for Bringing Suit ................................................................................... 158
No Other Warranties ............................................................................................. 158
Allocation of Risks ................................................................................................. 158
Controlling Law and Severability ........................................................................... 158
Index 159
ProSoft Technology, Inc. Page 7 of 160 March 25, 2011
Contents MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
Page 8 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Guide to the MVI46-PDPMV1 User Manual PROFIBUS DPV1 Master User Manual
Guide to the MVI46-PDPMV1 User Manual
Function
Introduction (Must Do)
Diagnostic and Troubleshooting
Reference
Product Specifications
Support, Service, and Warranty
Index
Section to Read Details
Start Here (page 11) This section introduces the customer to the
Diagnostics and
Troubleshooting (page 95)
Reference (page
111)
Product Specifications (page
112)
Support, Service
and Warranty (page
151)
Index
module. Included are: package contents, system requirements, hardware installation, and basic configuration.
This section describes Diagnostic and Troubleshooting procedures.
These sections contain general references associated with this product and its Specifications..
This section contains Support, Service and Warranty information.
Index of chapters.
ProSoft Technology, Inc. Page 9 of 160 March 25, 2011
Guide to the MVI46-PDPMV1 User Manual MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
Page 10 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Start Here PROFIBUS DPV1 Master User Manual
1 Start Here
In This Chapter
System Requirements ........................................................................... 12
Package Contents ................................................................................. 13
Installing ProSoft Configuration Builder Software .................................. 14
Setting Jumpers .................................................................................... 15
Installing the Module in the Rack ........................................................... 16
Connecting Your PC to the Processor ................................................... 18
Downloading the Sample Program to the Processor ............................. 19
Connecting Your PC to the Module ....................................................... 22
To get the most benefit from this User Manual, you should have the following skills:
Rockwell Automation® RSLogix™ software: launch the program, configure
ladder logic, and transfer the ladder logic to the processor
Microsoft Windows: install and launch programs, execute menu commands,
navigate dialog boxes, and enter data
Hardware installation and wiring: install the module, and safely connect
PROFIBUS DPV1 and SLC devices to a power source and to the MVI46­PDPMV1 module’s application port(s)
ProSoft Technology, Inc. Page 11 of 160 March 25, 2011
Start Here MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
1.1 System Requirements
The MVI46-PDPMV1 module requires the following minimum hardware and software components:
Rockwell Automation SLC 5/02 M0/M1 capable processors (or newer), with
compatible power supply and one free slot in the rack, for the MVI46­PDPMV1 module. The module requires 800mA of available power.
Rockwell Automation RSLogix 500 programming software. Rockwell Automation RSLinx communication software Pentium® II 500 MHz minimum. Pentium III 733 MHz (or better)
recommended
Supported operating systems:
o
Microsoft® Windows 98
o
Windows NT® (version 4 with SP4 or higher)
o
Windows 2000
o
Windows XP
32 Mbytes of RAM minimum, 64 Mbytes of RAM recommended 50 Mbytes of free hard disk space (or more based on application
requirements)
16-color VGA graphics adapter, 640 x 480 minimum resolution (256 Color
800 × 600 recommended)
CD-ROM drive
Page 12 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Start Here PROFIBUS DPV1 Master User Manual
1.2 Package Contents
The following components are included with your MVI46-PDPMV1 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 MVI46-PDPMV1
Module
1 Cable Cable #15, RS232
1 Cable Cable #14, RJ45 to
If any of these components are missing, please contact ProSoft Technology Support for replacement parts.
MVI46-PDPMV1 PROFIBUS DPV1 Master
For RS232 Connection to the CFG Port
Null Modem
For DB9 Connection to Module’s Port DB9 Male Adapter cable
ProSoft Technology, Inc. Page 13 of 160 March 25, 2011
Start Here MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
1.3 Installing ProSoft Configuration Builder Software
You must install the ProSoft Configuration Builder (PCB) software to configure the module. You can always get the newest version of ProSoft Configuration Builder from the ProSoft Technology website.
To install ProSoft Configuration Builder from the ProSoft Technology website
1 Open your web browser and navigate to http://www.prosoft-
technology.com/pcb
2 Click the D
Configuration Builder.
3 Choose S 4 Save the file to your Windows Desktop, so that you can find it easily when
you have finished downloading.
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 Product CD-ROM, included in the package with your module.
To install ProSoft Configuration Builder from the Product CD-ROM
1 Insert the ProSoft Solutions Product CD-ROM into the CD-ROM drive of your
PC. Wait for the startup screen to appear.
2 On the startup screen, click P
Windows Explorer file tree window.
3 Click to open the U
and files you will need to set up and configure your module.
4 Double-click the S
PCB_*.
software on your PC. The information represented by the "*" character in the file name is the PCB version number and, therefore, subject to change as new versions of PCB are released.
OWNLOAD HERE
AVE
or S
AVE FILE
TILITIES
ETUP CONFIGURATION TOOL
EXE
file and follow the instructions on your screen to install the
link to download the latest version of ProSoft
when prompted.
RODUCT DOCUMENTATION
folder. This folder contains all of the applications
folder, double-click the
. This action opens a
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.
Page 14 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Start Here PROFIBUS DPV1 Master User Manual
1.4 Setting Jumpers
The Setup Jumper acts as "write protection" for the 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.
The following illustration shows the MVI46-PDPMV1 jumper configuration.
Note: If you are installing the module in a remote rack, you may prefer to leave the Setup pins jumpered. That way, you can update the module’s firmware without requiring physical access to the module.
ProSoft Technology, Inc. Page 15 of 160 March 25, 2011
Start Here MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
1.5 Installing the Module in the Rack
If you have not already installed and configured your SLC processor and power supply, please do so before installing the MVI46-PDPMV1 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 plan to connect to verify that suitable safety procedures are in place before installing or servicing the device.
After you have checked the placement of the jumpers, insert MVI46-PDPMV1 into the SLC™ chassis. Use the same technique recommended by Rockwell Automation to remove and install SLC™ modules.
Warning: This module is not hot-swappable! Always remove power from the rack before inserting or removing this module, or damage may result to the module, the processor, or other connected devices.
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.
Page 16 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Start Here PROFIBUS DPV1 Master User Manual
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 SLC rack.
6 Turn power ON.
Note: If you insert the module improperly, the system may stop working, or may behave unpredictably.
ProSoft Technology, Inc. Page 17 of 160 March 25, 2011
Start Here MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
1.6 Connecting 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.
Page 18 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Start Here PROFIBUS DPV1 Master User Manual
1.7 Downloading the Sample Program to the Processor
To download the sample program from RSLogix 500 to the SLC processor
Note: The key switch on the front of the SLC processor must be in the REM position.
1 If you are not already online to the processor, open the C
menu, and then choose D with the processor.
OWNLOAD
. RSLogix will establish communication
OMMUNICATIONS
2 Click the D
OWNLOAD
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 YES 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.
ProSoft Technology, Inc. Page 19 of 160 March 25, 2011
Start Here MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
1.7.1 Configuring the RSLinx Driver for the PC COM Port
If RSLogix is unable to establish communication with the processor, follow these steps.
1 Open RSLinx. 2 Open the C
This action opens the Configure Drivers dialog box.
OMMUNICATIONS
menu, and choose C
ONFIGURE DRIVERS
.
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.
Page 20 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Start Here PROFIBUS DPV1 Master User Manual
3 Click to select the driver, and then click C
ONFIGURE
. This action opens the
Configure RS-232 DF1 Devices dialog box.
4 Click the A
UTO-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 fails, verify that the cables are connected correctly between the processor and the serial port on your computer, and then try again. If you are still unable to auto-configure the port, refer to your RSLinx documentation for further troubleshooting steps.
ProSoft Technology, Inc. Page 21 of 160 March 25, 2011
Start Here MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
1.8 Connecting 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 MVI46-PDPMV1 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.
Page 22 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Configuring the MVI46-PDPMV1 Module PROFIBUS DPV1 Master User Manual
2 Configuring the MVI46-PDPMV1 Module
In This Chapter
Setting Up the Project ........................................................................... 24
Setting Module Parameters ................................................................... 26
Configuring the PROFIBUS Master ....................................................... 29
Verifying Correct Operation ................................................................... 50
Because the task of configuring the PROFIBUS network can be challenging, 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 24) Setting module parameters (page 26) Configuring the PROFIBUS network (page 29) (Master and slaves) Downloading the project to the module (page 47)
The following topics of this chapter explain each task step-by-step.
ProSoft Technology, Inc. Page 23 of 160 March 25, 2011
Configuring the MVI46-PDPMV1 Module MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
2.1 Setting Up the Project
To begin, start ProSoft Configuration Builder. If you have used other Windows configuration tools before, you will find the screen layout familiar. ProSoft Configuration Builder’s window consists of a tree view on the left, and an information pane and configuration pane on the right side of the window. When you first start ProSoft Configuration Builder, the tree view consists of folders for
Default Project and Default Location, with a Default Module in the Default Location folder. The following illustration shows the ProSoft Configuration Builder
window with a new project.
Your first task is to add the MVI46-PDPMV1 module to the project.
1 Use the mouse to select D
EFAULT MODULE
in the tree view, and then click the
right mouse button to open a shortcut menu.
Page 24 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Configuring the MVI46-PDPMV1 Module PROFIBUS DPV1 Master User Manual
2 On the shortcut menu, select C
HOOSE MODULE TYPE
. This action opens the
Choose Module Type dialog box.
3 In the Product Line Filter area of the dialog box, select MVI46. In the Select
Module Type dropdown list, select MVI46-PDPMV1, and then click OK to
save your settings and return to the ProSoft Configuration Builder window.
The next task is to set the module parameters.
ProSoft Technology, Inc. Page 25 of 160 March 25, 2011
Configuring the MVI46-PDPMV1 Module MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
2.2 Setting Module Parameters
Notice that the contents of the information pane and the configuration pane changed when you added the MVI46-PDPMV1 module to the project. The red "X" icon indicates that the module’s configuration is incomplete.
In the following steps, you will provide the missing information to begin configuring the module.
1 Click the plus sign [+] next to the module icon to expand the module tree, and
then expand the MVI PDPM-V1 tree.
2 Double-click the MVI P
ROFIBUS MASTER
DPV1 icon. This action opens the
Edit dialog box.
3 In the Edit dialog box, configure the values for Input Data Size and Output
Data Size (PROFIBUS input and output point words) to match the values required by your application. To change a value, select the parameter to modify in the left pane, and then type the new value in the edit field in the right pane.
Page 26 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Configuring the MVI46-PDPMV1 Module PROFIBUS DPV1 Master User Manual
For the sample application, the Input Data Size and Output Data Size values should both be 768.
4 Click OK to save your settings and return to the ProSoft Configuration Builder
window.
At this time, you may wish to rename the Default Project and Default Location folders in the tree view.
To rename an object
1 Select the object, and then click the right mouse button to open a shortcut
menu. From the shortcut menu, choose R
ENAME
.
2 Type the name to assign to the object. 3 Click away from the object to save the new name.
2.2.1 Input Data Size
0 to 768 Number of words to transfer from the PROFIBUS input image to the controller.
2.2.2 Output Data Size
0 to 768 Number of words to transfer to the PROFIBUS output image from the controller.
ProSoft Technology, Inc. Page 27 of 160 March 25, 2011
Configuring the MVI46-PDPMV1 Module MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
2.2.3 Input Byte Swap
YES or NO
This parameter determines if the bytes in the PROFIBUS Input Data area are swapped before being stored in the module memory database. If the parameter is set to NO, no swapping will be applied. If the parameter is set to YES, the order of bytes in each word will be swapped before being stored in memory.
Example:
With Input Byte Swap set to NO, incoming order is unchanged - ABCDEF  With Input Byte Swap set to YES, each byte pair is swapped - BADCFE
2.2.4 Output Byte Swap
YES or NO
This parameter determines if the bytes in the PROFIBUS Output Data area are swapped before being transmitted to slaves on the PROFIBUS network. If the parameter is set to NO, no swapping will be applied. If the parameter is set to
YES, the order of bytes in each word will be swapped before being transmitted.
Example: With Output Byte Swap set to NO, outgoing output order is unchanged -
ABCDEF
With Output Byte Swap set to YES, each output byte pair is swapped -
BADCFE
Page 28 of 160 ProSoft Technology, Inc. March 25, 2011
MVI46-PDPMV1 ♦ SLC Platform Configuring the MVI46-PDPMV1 Module PROFIBUS DPV1 Master User Manual
2.3 Configuring the PROFIBUS Master
In this task, you will configure the PROFIBUS Master, and then add PROFIBUS slaves to the PROFIBUS network. When this step is complete, you will download the configuration information to the MVI46 module. You will also export the I/O maps for the processor.
1 In PCB tree view, click [+] to expand the MVI46-PDPMV1 tree, and then
double-click the PROFIBUS DP icon. This action opens the PDPMV1 PROFIBUS Master Setup dialog box.
2 In the PDPMV1 PROFIBUS Master Setup dialog box, click the C
PROFIBUS button. This action opens the ProSoft Configuration Builder for
PROFIBUS application.
3 Click [+] to expand the PROFIBUS Master tree. 4 Drag the PROFIBUS Master icon into the Bus Configuration window. This is
automatically done by the software for new applications.
ONFIGURE
ProSoft Technology, Inc. Page 29 of 160 March 25, 2011
Configuring the MVI46-PDPMV1 Module MVI46-PDPMV1 ♦ SLC Platform User Manual PROFIBUS DPV1 Master
5 Double-click the PROFIBUS Master icon in the Bus Configuration window.
This action opens the Master Properties dialog box.
6 On the Common tab, name your PROFIBUS drop.
Note: The PROFIBUS tab contains the address setting and advanced configuration settings for the Master. The default settings on this tab work best in most applications.
7 Click OK to save your changes and return to the Bus Configuration window.
2.3.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. The GSD configuration files identify the slave’s capabilities so that the MVI46-PDPMV1 can communicate with it correctly. Slave device manufacturers provide the GSD files for the equipment they make. Slave device files sometimes come in various languages. When a manufacturer provides slave device files in several languages, it is a common practice to use the third letter of the file extension to indicate the language used in the file. For instance:
o
.GSD is the most commonly used file extension and will usually be in either English or German
o
.GSE will usually be in English
o
.GSS will usually be in Spanish
o
.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.
Page 30 of 160 ProSoft Technology, Inc. March 25, 2011
Loading...
+ 130 hidden pages