ProSoft Technology 5205-DFNT-PDPS User Manual

PDPS
ProLinx Gateway
PROFIBUS DP Slave
December 31, 2008
DRIVER MANUAL
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:
A WARNING - EXPLOSION HAZARD - SUBSTITUTION OF COMPONENTS MAY IMPAIR SUITABILITY FOR
CLASS I, DIV. 2;
B WARNING - EXPLOSION HAZARD - WHEN IN HAZARDOUS LOCATIONS, TURN OFF POWER BEFORE
REPLACING OR WIRING MODULES, and
C WARNING - EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN
SWITCHED OFF OR THE AREA IS KNOWN TO BE NONHAZARDOUS.
D "THIS DEVICE SHALL BE POWERED BY CLASS 2 OUTPUTS ONLY.
All ProLinx® Products
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'EQUIPMENT, COUPER LE COURANT OU S'ASSURER QUE L'EMPLACEMENT EST DÉSIGNÉ NON DANGEREUX.
Markings
243333 CL I Div 2 GP A, B, C, D
Temp Code T5 II 3 G Ex nA nL IIC T4 X 0° C <= Ta <= 60° C II – Equipment intended for above ground use (not for use in mines). 3 – Category 3 equipment, investigated for normal operation only. G – Equipment protected against explosive gasses.
ProLinx Modules with Ethernet Ports
Series C ProLinx™ modules with Ethernet ports do NOT include the HTML Web Server. The HTML Web Server must be ordered as an option. This option requires a factory-installed hardware addition. The HTML Web Server now supports:
8 MB file storage for HTML files and associated graphics files (previously limited to 384K)  32K maximum HTML page size (previously limited to 16K)
To upgrade a previously purchased Series C model:
Contact your ProSoft Technology distributor to order the upgrade and obtain a Returned Mercha ndise Authorization (RMA) to return the unit to ProSoft Technology.
To Order a Series C mode with the -WEB option:
Add -WEB to the standard ProLinx part number. For example, 5201-MNET-MCM-WEB.
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. PDPS Driver Manual
December 31, 2008 ProSoft Technology ®, ProLinx ®, inRAx ®, ProTalk® and RadioLinx ® are Registered Trademarks of ProSoft
Technology, Inc.
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 provide d 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, Africa: +33.5.34.36.87.20 Latin America: +1.281.298.9109 North America: +1.661.716.5100
Contents PDPS ProLinx Gateway PROFIBUS DP Slave
Contents
Important Installation Instructions.......................................................................................................2
Your Feedback Please........................................................................................................................3
ProSoft® Product Documentation.......................................................................................................3
1 Start Here 7
1.1 System Requirements...............................................................................................7
1.2 Package Contents.....................................................................................................8
1.3 Setting Port 0 Configuration Jumpers.......................................................................9
1.4 Mounting the Module on the DIN Rail.....................................................................10
1.5 Connecting Power to the Unit .................................................................................10
1.6 RS-232 Configuration Port Serial Connection ........................................................11
1.7 Install ProSoft Configuration Builder Software........................................................11
2 Functional Overview 15
2.1 About the PROFIBUS Protocol...............................................................................15
2.2 Port Physical and Protocol Specifications...............................................................16
2.3 Module Internal Database.......................................................................................17
2.4 Mailbox Commands.................................................................................................18
2.5 Mailbox Structure ....................................................................................................19
3 Configuration 21
3.1 Configure the Module..............................................................................................21
3.2 PDPS Protocol Configuration..................................................................................25
3.3 [PROFIBUS SLAVE] ...............................................................................................26
3.4 Set_Param (SAP61)................................................................................................27
3.5 Downloading a File from PC to the Module.............................................................29
4 Diagnostics and Troubleshooting 31
4.1 PROFIBUS Slave Error and Status Data................................................................31
4.2 Base Module LEDs..................................................................................................35
4.3 PROFIBUS Slave LED Indicators...........................................................................35
4.4 Definition of Module's Extended Diagnostics Data .................................................35
5 Reference 49
5.1 GSD File - prlx05a5.gsd..........................................................................................49
6 Support, Service & Warranty 53
6.1 How to Contact Us: Technical Support...................................................................53
6.2 Return Material Authorization (RMA) Policies and Conditions................................54
6.3 LIMITED WARRANTY.............................................................................................55
Index 60
ProSoft Technology, Inc. Page 5 of 61 December 31, 2008
Contents PDPS ProLinx Gateway PROFIBUS DP Slave
Page 6 of 61 ProSoft Technology, Inc. December 31, 2008

Start Here PDPS ProLinx Gateway PROFIBUS DP Slave

1 Start Here
In This Chapter
System Requirements.............................................................................7
Package Contents...................................................................................8
Setting Port 0 Configuration Jumpers......................................................9
Mounting the Module on the DIN Rail....................................................10
Connecting Power to the Unit................................................................10
RS-232 Configuration Port Serial Connection.......................................11
Install ProSoft Configuration Builder Software.......................................11
1.1 System Requirements
The for the PDPS module requires the following minimum hardware and software components:
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 Megabytes of RAM minimum, 256 Megabytes of RAM recommended 100 Megabytes 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
ProSoft Technology, Inc. Page 7 of 61 December 31, 2008
PDPS ProLinx Gateway Start Here PROFIBUS DP Slave
1.2 Package Contents
The following components are included with your 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 PDPS Module PLX-#### ProLinx communication gateway module 1 Cable
Varies Cable
Varies Adapter 1454-9F
1
ProSoft Solutions CD
If any of these components are missing, please contact ProSoft Technology Support for replacement parts.
Cable #15, RS232 Null Modem
Cable #9, Mini-DIN8 to DB9 Male Adapter
For RS232 Connection to the CFG Port
For DB9 Connection to Module's Port. One DIN to DB-9M cable included per configurable serial port
Adapters, DB9 Female to Screw Terminal. For RS422 or RS485 Connections to each serial application port of the Module
Contains sample programs, utilities and documentation for the PDPS module.
Page 8 of 61 ProSoft Technology, Inc.
December 31, 2008
Start Here PDPS ProLinx Gateway PROFIBUS DP Slave

1.3 Setting Port 0 Configuration Jumpers

Before installing the module on the DIN rail, you must set the jumpers for the Port 0 application port.
Note: Ethernet-only ProLinx modules do not use the serial port jumper settings. The serial configuration jumper settings on an Ethernet-only module have no effect. Note: The presence of Port 0 depends on the specific combination of protocols in your ProLinx module. If your module does not have a Port 0, the following jumper settings do not apply.
Port 0 is preconfigured for RS-232. You can move the port configuration jumper on the back of the module to select RS-485 or RS-422.
The following illustration shows the jumper positions for Port 0:
ProLinx 5000/6000 Series Module
ProSoft Technology, Inc. Page 9 of 61 December 31, 2008
PDPS ProLinx Gateway Start Here PROFIBUS DP Slave

1.4 Mounting the Module on the DIN Rail

ProLinx 5000/6000 Series Module

1.5 Connecting Power to the Unit

WARNING: Ensure that you do not reverse polarity when applying power to the module. This will cause damage to the module's power supply.
Page 10 of 61 ProSoft Technology, Inc.
December 31, 2008
Start Here PDPS ProLinx Gateway PROFIBUS DP Slave
1.6 RS-232 Configuration Port Serial Connection
This port is physically a Mini-DIN connection. A Mini-DIN to DB-9 adapter cable is included with the module. This port permits ProSoft Configuration Builder to view configuration and status data in the module and to control the module. The following illustration shows the pinout for communications on this port.

1.7 Install ProSoft Configuration Builder Software

You must install the ProSoft Configuration Builder (PCB) software in order to configure the 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.
ProSoft Technology, Inc. Page 11 of 61 December 31, 2008
PDPS ProLinx Gateway Start Here PROFIBUS DP Slave
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 PDPS module.

To install ProSoft Configuration Builder from the Product CD

1 Insert the ProSoft Solutions Product CD 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.
Page 12 of 61 ProSoft Technology, Inc.
December 31, 2008
Start Here PDPS ProLinx Gateway PROFIBUS DP Slave
1.7.1 Using the help system
Most of the information needed to help you use is provided in a help system that is always available whenever you are running . The help system does not require an Internet connection.
To view the help pages, start , open the Help menu, and then choose Contents.
ProSoft Technology, Inc. Page 13 of 61 December 31, 2008
PDPS ProLinx Gateway Start Here PROFIBUS DP Slave
Page 14 of 61 ProSoft Technology, Inc.
December 31, 2008

Functional Overview PDPS ProLinx Gateway PROFIBUS DP Slave

2 Functional Overview
In This Chapter
About the PROFIBUS Protocol..............................................................15
Port Physical and Protocol Specifications .............................................16
Module Internal Database .....................................................................17
Mailbox Commands...............................................................................18
Mailbox Structure ..................................................................................19
The PROFIBUS slave protocol driver may exist in a single port implementation. The driver can be configured as a slave interface with other PROFIBUS devices. The PROFIBUS slave port can be used to continuously interface with other PROFIBUS devices over a serial communication interface (RS-485).

2.1 About the PROFIBUS Protocol

PROFIBUS (Process Field Bus) is a widely-used, open-standards protocol created by a consortium of European factory automation suppliers in 1989.
PROFIBUS is a master/slave protocol. The master establishes a connection to the remote slave. When the connection is established, the master sends the PROFIBUS commands to the slave. The PDPS module works as a slave only.
The module uses an internal database to pass data and commands between the processor and the client and server devices on the PROFIBUS network.
PROFIBUS supports a variety of network types. The network type supported by the PDPS module is PROFIBUS DP (Device Bus), which is designed for remote I/O systems, motor control centers, and variable speed drives.
ProSoft Technology, Inc. Page 15 of 61 December 31, 2008
PDPS ProLinx Gateway Functional Overview PROFIBUS DP Slave

2.2 Port Physical and Protocol Specifications

2.2.1 PROFIBUS Slave Port Specifications
Type Specifications
General Parameters Internal Database Up to 4000 registers (words) available. GSD File
Downloadable from ProSoft-Technology.com web site
PROFIBUS Slave
Communication parameters Baud Rate: 9.6 kbps to 12 Mbps Supported I/O length
Supported PROFIBUS DP features Freeze Mode
Configurable Parameters a) PROFIBUS Node Address: 0 to 125
Status Data
Physical Connection
PROFIBUS Connector
122 words Input data 122 words Output data 200 words max
Sync Mode Auto Baud Setting
b) Data byte swapping c) Action on loss of PROFIBUS connection d) Comm Fail Timeout Multiplier e) Status Data location in Internal Database Error codes available on an individual command
basis. In addition, a slave status list is maintained per active PROFIBUS Slave port.
Standard PROFIBUS DB-9F communication connector. Cable connection matches PROFIBUS pin out specification.
Important Note: The slave node address is set to 126 by default in the module configuration file (page 21). The default node address must be changed to a valid address between 0 to 125 by the user for the slave to function on the PROFIBUS network.
Page 16 of 61 ProSoft Technology, Inc.
December 31, 2008
Functional Overview PDPS ProLinx Gateway PROFIBUS DP Slave

2.3 Module Internal Database

Central to the functionality of the module is the internal database. This database is shared between all the ports on the module and is used as a conduit to pass information from one device on one network to one or more devices on another network. This permits data from devices on one communication port/network to be viewed and controlled by devices on another port/network. In addition to data from the slave port, status and error information generated by the module can also be mapped into the internal database.
2.3.1 PROFIBUS Slave Port Access to Database
The Slave driver uses the database in two ways: 1 A read command issued to a slave device by the slave driver will return the
slave data into the internal database.
2 A write command issued to a slave device by the slave driver uses the data in
the internal database to write to the slave device
Besides the standard PROFIBUS interface reserved Database range from word 0 to word 399, the PDPS driver recognizes a special command code in the PROFIBUS protocol that causes the PDPS driver to write to, or read from the Database range word 400 to word 3999. This feature opens up to the user the whole capacity of the PDPS module's Database.
To use the Database Paging functionality in the PDPS driver the following three items must be implemented.
1 Enable the paging feature in the PDPS module's configuration file under the
[Profibus Slave] section, set Use Database Paging : Y.
2 In PROFIBUS Master module's configuration the PROFIBUS Slave must be
set to 100 Input Words and 100 Output Words.
ProSoft Technology, Inc. Page 17 of 61 December 31, 2008
PDPS ProLinx Gateway Functional Overview PROFIBUS DP Slave
3 In the PLC Program create an array of 200 bytes. The contents of the array
are described in the Mailbox Command and Mailbox Structure tables.
2.4 Mailbox Commands
Start Value Stop Value Direction Description
150 151
160 161
PLC = PROFIBUS master interface in PLC. PDPM = PROFIBUS Master. PDPS = PROFIBUS Slave.
NOTES: The block number for each device must be changed to trigger an operation. The I/O data area is owned exclusively by only the PLC or PDPM. A timeout must be implemented in the PLC in case the PDPM is not present.
PLC to PDPM to PDPS
PDPS to PDPM to PLC
Database Write transfer, from the PLC's perspective.
The value of 150 in the specific Array index location as indicated in the Mailbox structure table will cause the PROFIBUS Slave driver to transfer the data in the 200 Byte array to the Database locations above word 400. The Value of 151 stops the data transfer.
Database Read transfer, from the PLC's perspective.
The value of 160 in the specific Array index location as indicated in the Mailbox structure table will cause the PROFIBUS Slave driver to transfer the data to the 200 Byte array from the Database locations above word 400. The Value of 161 stops the data transfer.
Page 18 of 61 ProSoft Technology, Inc.
December 31, 2008
Functional Overview PDPS ProLinx Gateway PROFIBUS DP Slave
2.5 Mailbox Structure
This 200 Byte Array is located in the PLC containing the PDPM gateway module, not in the PDPS.
Example Raw Database Exchange. Output from PLC to PDPM
Word
0
1 2 3
2 4 5
3 6 7
4 8 9
5 to 98 10 197
Start Byte
0 0
1 1
198 198 Reserved. Do not use. 99 199 199
End Byte
Description
150 (Raw data write).This value tells PDPS driver to write into Database paging section.
160 (Raw data read). This value tells PDPS driver to read from Database Paging section.
Start register in database for write. This value tells the PDPS driver where in the Database Paging section to start writing to.
Number of registers to write (1 to 94). This value tells the PDPS Driver the quantity of registers to be filled with data.
Start register in database for read. This value tells the PDPS driver where in the Database Paging section to start reading from.
Number of registers to read (1 to 96). This value tells the PDPS Driver the quantity of registers to read from.
Words to write to the database. The actual data to be transferred to the Database paging section. In the PLC, fill these bytes of the Array with values to be transferred to the PDPS's Database paging section.
150 (Raw data write). This value tells PDPS driver to write into Database paging section. Duplicated from Array[0] index.
Example Response Block From PDPM. Input to PLC from PDPM. Communications acknowledgement.
Word
0
1 2 3
2 4 5
3 to 98 6 197 99 198 199 Reserved. Do not use.
Start Byte
0 0
1 1
199 199 160 (Raw data read). Signifies the end of the read block
End Byte
Description
160 (Raw data read). PDPS Driver responded to the PDPM driver which in turn responded to the PLC that the data in this 200 word Array is from the PDPS drive's Database paging section.
150 (Raw data write). PDPS driver is responding to the PDPM driver which in turn responds to the PLC that the data has been written.
Start register in database for read. PDPS driver is responding to the PDPM driver which in turn responds to the PLC where in the PDPS Database paging was the beginning of the data read.
Number of registers to read (1 to 96). This value tells the PLC the quantity of registers that the PDPS Driver read.
Words read from the database. The actual words that were readfrom the PDPS Database Paging section.
ProSoft Technology, Inc. Page 19 of 61 December 31, 2008
Loading...
+ 42 hidden pages