ProSoft Technology 5104-DNPS-PDPM User Manual

PDPM
ProLinx Gateway
PROFIBUS DP Master
June 24, 2013
PROTOCOL 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.
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 © 2013 ProSoft Technology, Inc., all rights reserved.
PDPM Driver Manual
June 24, 2013
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.
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 DVD and are available at no charge from our web site: http://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.
ProLinx® Products Warnings
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.
ProLinx Gateways with Ethernet Ports
Series C ProLinx™ Gateways 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)
1.1.1 To upgrade a previously purchased Series C model
Contact your ProSoft Technology distributor to order the upgrade and obtain a Returned Merchandise Authorization (RMA) to return the unit to ProSoft Technology.
1.1.2 To order a ProLinx Plus gateway with the -WEB option
Add -WEB to the standard ProLinx part number. For example, 5201-MNET-MCM-WEB.
Markings
Label Markings
<cULus> E183151 Class I Div 2 Groups A,B,C,D T6
-30°C <= Ta <= 60°C <Ex> II 3 G Ex nA IIC T4
-20°C <= Ta <= 50°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.
PDPM ProLinx Gateway Contents PROFIBUS DP Master Protocol Manual
Contents
Your Feedback Please ........................................................................................................................ 2
Important Installation Instructions ....................................................................................................... 2
ProLinx® Products Warnings ............................................................................................................... 2
ProLinx Gateways with Ethernet Ports ............................................................................................... 3
1.1.1 To upgrade a previously purchased Series C model ................................................ 3
1.1.2 To order a ProLinx Plus gateway with the -WEB option ........................................... 3
Markings .............................................................................................................................................. 3
2 Functional Overview 7
2.1 About the PROFIBUS Protocol ................................................................................. 7
2.2 PROFIBUS DP Architecture ...................................................................................... 7
2.2.1 Bus Access ................................................................................................................ 8
2.2.2 Token Passing ........................................................................................................... 8
2.2.3 Master/Slave Polling .................................................................................................. 8
2.3 Communication Types ............................................................................................... 8
2.4 Master/Slave Communication Phases ...................................................................... 9
2.5 Module Internal Database ......................................................................................... 9
2.5.1 PROFIBUS Master Port Specifications ................................................................... 10
2.5.2 PROFIBUS Master Port Access to Database ......................................................... 10
2.6 Master/Slave Communication Phases .................................................................... 11
2.7 Port Physical and Protocol Specifications ............................................................... 11
2.7.1 Serial Port Specifications ........................................................................................ 12
3 Configuration 13
3.1 Using the ProLinx SyCon PROFIBUS Configurator ................................................ 13
3.1.1 Install ProLinx Sycon Configurator .......................................................................... 13
3.1.2 Installation ............................................................................................................... 13
3.1.3 Configuring a PROFIBUS Using PROLINX SyCon ................................................ 16
3.1.4 Inserting a Master .................................................................................................... 17
3.1.5 Master Configuration ............................................................................................... 18
3.1.6 Inserting a Slave Device.......................................................................................... 18
3.1.7 Settings.................................................................................................................... 23
3.1.8 Project Information .................................................................................................. 28
3.1.9 Path ......................................................................................................................... 29
3.1.10 Language ................................................................................................................ 29
3.1.11 View the Configuration ............................................................................................ 30
3.1.12 Printing the Configuration File ................................................................................. 32
3.1.13 Saving the Configuration ......................................................................................... 32
3.1.14 Downloading the Configuration ............................................................................... 32
3.1.15 Online Functions ..................................................................................................... 33
4 PDPM Protocol Configuration 43
4.1 [PROFIBUS Master] ................................................................................................ 43
4.1.1 Swap Input Bytes .................................................................................................... 44
4.1.2 Swap Output Bytes .................................................................................................. 44
4.1.3 Comm Failure Mode ................................................................................................ 44
ProSoft Technology, Inc. Page 5 of 70 June 24, 2013
Contents PDPM ProLinx Gateway Protocol Manual PROFIBUS DP Master
4.1.4 Watchdog Parameters ............................................................................................ 44
4.2 [PROFIBUS Master Commands] ............................................................................ 45
4.2.1 66 - Read Diag ........................................................................................................ 45
4.2.2 70 - Global Cmd ...................................................................................................... 45
4.2.3 254 - Read Cntrs .................................................................................................... 46
4.2.4 Command 70 Control Byte ..................................................................................... 46
5 Diagnostics and Troubleshooting 47
5.1 LED Indicators ........................................................................................................ 47
5.1.1 LEDs for the PROFIBUS Master Port ..................................................................... 47
5.2 PROFIBUS Master Error and Status Data ............................................................. 48
5.2.1 Viewing Error and Status Data ............................................................................... 48
5.3 PROFIBUS Master: Error and Status Data ............................................................ 48
5.3.1 General Status ........................................................................................................ 49
5.3.2 Command Status .................................................................................................... 49
5.3.3 Standard PROFIBUS Slave Diagnostic Bytes ........................................................ 49
5.3.4 Byte 0 - Station Status 1 Bits .................................................................................. 49
5.3.5 Byte 1 - Station Status 2 Bits .................................................................................. 50
5.3.6 Byte 2 - Station Status 3 Bits .................................................................................. 50
5.3.7 Byte 3 - Master Address ......................................................................................... 51
5.3.8 Byte 4 - Ident Number High .................................................................................... 51
5.3.9 Byte 5 - Ident Number Low ..................................................................................... 51
5.3.10 Device Error Listing ................................................................................................ 51
5.4 Error Numbers ........................................................................................................ 51
5.4.1 Serial Driver Error Numbers (-20 … -71) ................................................................ 51
5.4.2 RCS Error Numbers (4 to 93) ................................................................................. 52
5.4.3 Data Server Error Numbers (1001 … 1009) ........................................................... 54
5.4.4 Command Administrator Error Numbers (2001 … 2006) ....................................... 54
5.4.5 Converting Functions Error Numbers (4000 … 4098) ............................................ 54
5.4.6 Data Base Functions Error Numbers (5001 … 5008)............................................. 57
6 Reference 59
6.1 RS-232 Configuration/Debug Port .......................................................................... 59
6.2 DB9 to Mini-DIN Adaptor (Cable 09) ...................................................................... 60
6.3 PROFIBUS Master Port .......................................................................................... 60
6.4 Supported PROFIBUS Services ............................................................................. 60
6.5 Constructing a Bus Cable for PROFIBUS DP ........................................................ 61
7 Support, Service & Warranty 67
Contacting Technical Support .......................................................................................................... 67
7.1 Warranty Information .............................................................................................. 68
Index 69
Page 6 of 70 ProSoft Technology, Inc. June 24, 2013
PDPM ProLinx Gateway Functional Overview
In This Chapter
About the PROFIBUS Protocol ................................................................ 7
PROFIBUS DP Architecture .................................................................... 7
Communication Types ............................................................................. 8
Master/Slave Communication Phases ..................................................... 9
Module Internal Database ....................................................................... 9
Master/Slave Communication Phases ................................................... 11
Port Physical and Protocol Specifications ............................................. 11
PROFIBUS DP Master Protocol Manual
2 Functional Overview
The PROFIBUS Master protocol driver exists as a single port implementation. The driver can be configured as a Class 1 PROFIBUS Master to interface with other PROFIBUS slave devices. The unit is also used for configuration of the nodes on the PROFIBUS network. It provides access to both standard as well as extended diagnostic information and freeze/sync capability. The PROFIBUS master port can be used to continuously interface with PROFIBUS slave 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 PDPM module works as a master 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 PDPM module is PROFIBUS DP (Device Bus), which is designed for remote I/O systems, motor control centers, and variable speed drives.
2.2 PROFIBUS DP Architecture
The PROFIBUS DP Master network supports multiple Master systems with several slaves.
The following table shows the most important features of PROFIBUS DP Master:
ProSoft Technology, Inc. Page 7 of 70 June 24, 2013
Functional Overview PDPM ProLinx Gateway
Standard
EIN 501 70 DIN 19245
Transmission equipment (Physical)
EIA RS-485 IEC 1158-2 (through link or coupler) Fiber Optic Cable (not available)
Transfer procedure
Half-duplex
Bus topology
Linear bus with active bus termination
Bus cable type
Shielded twisted pair conductors
Connector
9-pin D-Sub
Number of nodes on the bus
Max: 32 with no repeaters Max: 125 with 3 repeaters in 4 segments
Protocol Manual PROFIBUS DP Master
2.2.1 Bus Access
Two different bus access procedures handle the various communication requirements for the PROFIBUS DP Master topology:
Token Passing Polling
2.2.2 Token Passing
Token passing ring is the basis for communication between the more complex, active stations. All stations have the same rights in that a token is passed from station to station in a logical ring. The token is passed to each station with a maximum, definable token cycle time. A station is given transmission rights for the duration of time that it has the token.
2.2.3 Master/Slave Polling
Master/slave polling guarantees a cyclic, real-time based data exchange between the station with transmission rights, the active station, and its subordinates, the passive stations. In this case, the Master is able to pass data to the slave and/or receive data. The services in layer 2 (field-bus data link in ISO­OSI reference model) organize this communication.
2.3 Communication Types
In addition to point-to-point data transfer, the PROFIBUS protocol can also handle the following types of communication.
Broadcast communication: An active node sends an unacknowledged
message to all other nodes (Master and slaves)
Multicast communication (control instructions): An active node sends an
unacknowledged message to a group of nodes (Master and slaves)
Page 8 of 70 ProSoft Technology, Inc. June 24, 2013
PDPM ProLinx Gateway Functional Overview
Input
Image
Data
Other
ProLinx
Protocol
Driver
0
ProLinx
Communication
Gateways
Internal
Database
Output
Image
Data
PROFIBUS
Master
Status &
User Data
Register range
255
556
555
300
3999
PROFIBUS
Master
Driver
PROFIBUS DP Master Protocol Manual
2.4 Master/Slave Communication Phases
The communication between the Master and the slaves takes place in the following phases:
Parameterization and configuration phase Usable data transfer phase
Before a DP slave can be integrated into the usable data transfer phase, the parameterization and configuration phase runs a device identification test that verifies that the planned configuration matches the actual device configuration for each slave in the PROFIBUS network. The test verifies that:
The device is actually there It is the right type of device The station address set on the device matches the station address in the bus
configuration
The formats, telegram length information, and bus parameters are correct
and
The number of configured inputs and outputs is correct
2.5 Module Internal Database
The internal database is central to the functionality of the module. 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 master port, status and error information generated by the module can also be mapped into the internal database.
ProSoft Technology, Inc. Page 9 of 70 June 24, 2013
Functional Overview PDPM ProLinx Gateway
Type
Specifications
General Parameters
Internal Database
Up to 4000 registers (words) available.
Communication parameters
Baud Rate: 9.6 kbps to 12 Mbps
PROFIBUS Master
Command List
Read Diag Global Cmd Read Cntrs Reset Cntrs
Status Data
Error codes available on an individual command basis. In addition, a slave status list is maintained per active PROFIBUS Master port.
PROFIBUS Master
Node address
0 to 125 (software selectable)
Status Data
Error codes, counters and port status available per configured slave on the network.
Virtual
Database
Command
List
Other
Driver
PROFIBUS Driver
Slave
Device
Databases
Other
Protocol
PROFIBUS
Master
PROFIBUS
Slaves
Request
Response
Read
Read for
Write Command
Write for Read
Command
Write
Read
Protocol Manual PROFIBUS DP Master
2.5.1 PROFIBUS Master Port Specifications
2.5.2 PROFIBUS Master Port Access to Database
The Master driver uses the database in two ways: 1 A read command issued to a slave device by the master driver will return the
slave data into the internal database.
2 A write command issued to a slave device by the master driver uses the data
in the internal database to write to the slave device.
Page 10 of 70 ProSoft Technology, Inc. June 24, 2013
PDPM ProLinx Gateway Functional Overview
ACTIVE
ERR
Port 0
ACTIVE
ERR
Debug
ACTIVE
ERR
Port 0
Config
TKN
ERR RUN
RDY
Profibus Master
PROFIBUS DP Master Protocol Manual
In addition to data from the master port, status and error information generated by the module can also be mapped into the internal database.
2.6 Master/Slave Communication Phases
The communication between the Master and the slaves takes place in the following phases:
Parameterization and configuration phase Usable data transfer phase
Before a DP slave can be integrated into the usable data transfer phase, the parameterization and configuration phase runs a device identification test that verifies that the planned configuration matches the actual device configuration for each slave in the PROFIBUS network. The test verifies that:
The device is actually there It is the right type of device The station address set on the device matches the station address in the bus
configuration
The formats, telegram length information, and bus parameters are correct
and
The number of configured inputs and outputs is correct
2.7 Port Physical and Protocol Specifications
The ProLinx module supports the PROFIBUS Master protocol as a Master on either a Mono-Master or Multi-Master network.
ProSoft Technology, Inc. Page 11 of 70 June 24, 2013
Functional Overview PDPM ProLinx Gateway
Port Label
Function
Debug
Debug/Configuration
Port 0
Communication Port 0
Config
PROFIBUS Master Configuration Port
PROFIBUS Master
PROFIBUS Master Port
Type
Specifications
Serial Ports
Serial Port Adapter Cables
One Mini DIN to DB-9M adapter cable included for each configurable serial port
Config Port Connector/ Pinout
DB-9F connector / DTE pinout
Serial Port Isolation
2500V RMS port-to-port isolation per UL 1577. 3000V DC min. port to ground and port to logic
power isolation.
Serial Port Protection
RS-485/422 port interface lines TVS diode protected at +/- 27V standoff voltage.
RS-232 port interface lines fault protected to +/- 36V power on, +/- 40V power off.
Protocol Manual PROFIBUS DP Master
The relationship between the port labeling on the front of the ProLinx module and the application is as follows:
2.7.1 Serial Port Specifications
Note: On all ProLinx modules, data from the application port on the main board, serial Port 0, is not buffered. Packets go directly to and from the serial chipset to the processor. This has the potential to cause the serial communications to become erratic at baud rates above 38,400 baud. ProLinx modules with 4 serial ports have a separate serial interface board for serial Ports 1, 2, and
3. These serial ports are buffered and can handle communications up to 115,200 baud.
Page 12 of 70 ProSoft Technology, Inc. June 24, 2013
PDPM ProLinx Gateway Configuration
In This Chapter
Using the ProLinx SyCon PROFIBUS Configurator .............................. 13
PROFIBUS DP Master Protocol Manual
3 Configuration
3.1 Using the ProLinx SyCon PROFIBUS Configurator
The ProLinx SyCon PROFIBUS is a PROFIBUS-DP configurator that provides an automatic means of configuring a PROFIBUS Master Module. All devices are configured using a single tool which checks dependencies between devices and thereby only allows configurations that make sense.
In addition, ProLinx SyCon documents the fieldbus system. Detailed configuration documentation may be printed out that includes details between the bus topology and the utmost detail of a single device. ProLinx SyCon supports standardized files that contain information about all features and limitations of the slave device and uses these files for configuration.
Lastly, the ProLinx SyCon is equipped with a diagnostic mode that allows viewing of fieldbus status information.
3.1.1 Install ProLinx Sycon Configurator
PROLINX SyCon requires:
A DVDdrive 486 or better CPU 20Mb of free hard disk space Minimum 16 Mb RAM Serial (RS232) Communication Port (COM1, COM2, COM3 or COM4) A screen and graphics card capable of 800x600 resolution Windows 95, Windows 98, Win NT4 with Service Pack 3 or higher For Windows 95, minimum Service Pack 1 For Windows NT 4.0, minimum Service Pack 3
3.1.2 Installation
Close all active applications before starting the installation program and perform the following:
1 Start the installation by running \ProLinx\Utilities\Sycon\SyCon\Setup.exe
from the installation DVD.
2 As the setup program runs, the program prompts you to make selections as
to what components to install.
3 Select the appropriate components based on the following example.
ProSoft Technology, Inc. Page 13 of 70 June 24, 2013
Configuration PDPM ProLinx Gateway Protocol Manual PROFIBUS DP Master
Note: ProLinx SyCon does not use the OPC server and a license number must be entered in order to complete the installation.
4 Enter the license code and company information when prompted. You will
find the license code in E:\ProLinx\Utilities\Sycon\SyCon\LIC_044.TXT (double-click the filename to open in Notepad.exe)
Page 14 of 70 ProSoft Technology, Inc. June 24, 2013
PDPM ProLinx Gateway Configuration PROFIBUS DP Master Protocol Manual
The System Installation program automatically launches the PROLINX SyCon installation program. When prompted for components to install, choose Configurator and CIF Device Driver.
GSD Files
Each PROFIBUS-DP manufacturer uses standard device description files to define the PROFIBUS-DP device functionalities on the network. These definitions are called GSD files. The set of device description files (GSD files) build the device database.
PROLINX Devices
The GSD files for PROLINX devices are located on the ProLinx Solutions DVDin the \ProLinx\Utilities\PDPS_GSD folder.
Refer to E:\ProLinx\Utilities\PDPS_GSD\ProLinx_PDPS\readme.pdf to determine the correct GSD files to use.
To import the ProLinx GSD files:
1 In SyCon, open the File menu, and choose Copy GSD. 2 In the Copy GSD dialog box, navigate to your DVDdrive, and select the path
\ProLinx\Utilities\PDPS_GSD.
3 Press [Ctrl][A] to select all the GSD files in that folder, and then click Open.
4 You will be prompted to import the BMP files that accompany the GSD files.
Click Open to import each of the selected BMP files.
Other Devices
For other devices, these files should be provided and updated by the device manufacturer.
ProSoft Technology, Inc. Page 15 of 70 June 24, 2013
Configuration PDPM ProLinx Gateway Protocol Manual PROFIBUS DP Master
You can also get the GSD files from the homepage of the PROFIBUS user association:
http://www.PROFIBUS.com (http://www.profibus.com) For all available configurations, GSD files must be contained in the directory
GSD. During installation of the program PROLINX SyCon, the available files will be included. If you need another GSD file during PROLINX SyCon runtime you have to copy this file with the menu item File - Copy GSD.
The GSD directory path is changeable. To modify it from the default to another path use the menu Settings - Path.
All GSD files have to be present in this directory. The default path for ProLinx SyCon GSD files is
C:\Program Files\HMS\SyCon\Fieldbus\PROFIBUS\GSD
At program startup, PROLINX SyCon automatically reads in all GSD files that are present in the GSD directory. Because of this, device names are placed in an internal list. The device-specific data is taken online directly from the GSD file during the configuration phase.
If you must use a GSD file that is not included in the selection list during the configuration phase, you have to copy the file to the GSD using the File - Copy GSD command. If you use this option or manually copy a file to the directory using Windows Explorer, you must activate the Reread command using the menu Settings - Path and OK acknowledgement.
In the menu Tools - GSD Viewer all GSD files of the directory are shown.
3.1.3 Configuring a PROFIBUS Using PROLINX SyCon
Basic Configuration
ProLinx SyCon configures the PROFIBUS system quickly and easily. Perform the following procedure to configure the PROFIBUS system.
1 Select File - New from the menu. 2 ProLinx SyCon will start the configuration mode and open the window with
the bus line.
Page 16 of 70 ProSoft Technology, Inc. June 24, 2013
PDPM ProLinx Gateway Configuration PROFIBUS DP Master Protocol Manual
3 Insert the master you are defining on the bus. 4 Insert DP slaves and assign them to the master. 5 Configure these DP slaves with the actual I/O modules, parameter data, and
so on. Ensure that the right addressing mode has been selected.
6 If using a multi-master network, look at the dependencies/connections
between the devices by selecting one master after the other as actual master to check your configuration.
7 Select the baud rate and bus parameters. 8 Set up the device assignment that defines how ProLinx SyCon is to
communicate with the devices.
9 Save the configuration. 10 Select the port to be configured and perform the download process to all
devices.
11 Connect the PROFIBUS cable to the device. 12 Start the debug mode to check the communication. 13 Print out the documentation produced by the PROFIBUS system. If
PROFIBUS is running, start with the installation of the application.
3.1.4 Inserting a Master
To insert a master in the configuration, select the Insert - Master menu to open the selection dialog box or click the following button:
The mouse cursor changes automatically to the insert master cursor. Click on the position where you want to insert the new master. A dialog box appears where you can select one or more masters. You can select different master types (depending on the vendor brand).
If you chose the ProLinx PROFIBUS Master, the Vendor information is displayed exactly as shown in the following example:
In this example, a PROFIBUS-DP Master will be added with Station Address 1 and the Description Master 1.
ProSoft Technology, Inc. Page 17 of 70 June 24, 2013
Configuration PDPM ProLinx Gateway Protocol Manual PROFIBUS DP Master
3.1.5 Master Configuration
Double-click the master to configure it. The following dialog box appears.
This configuration window allows you to:
Specify the station address of the master Specify a (symbolic) description for this master Set this master as the actual master (to do a download for example) Activate or deactivate the auto addressing
3.1.6 Inserting a Slave Device
To insert new PROFIBUS-DP slaves in the configuration, select the Insert ­Slave menu to open the selection window or click the following button:
Page 18 of 70 ProSoft Technology, Inc. June 24, 2013
PDPM ProLinx Gateway Configuration PROFIBUS DP Master Protocol Manual
The mouse cursor changes automatically to the insert slave cursor. Click on the position where you want to insert the new slave. A dialog box appears where you have to select one or more slaves.
The Available slaves list-box displays all slave devices present in the GSD directory. A filtering feature is available is you want to view by a special slave family. If a slave is selected, information about that slave appears below the Available slaves list box..
With a double click or with the button Add, the slave appears in the right list box. All devices in this box will be connected to the active master displayed in the Master window. You must select each slave one-by-one. You can also give each a device a name or a short description in the Description Field.
The Station address field increments with each addition of a new slave. However, this address may be overwritten.
Note: It is possible to choose one slave several times but each device must have its own station address to distinguish them on the network.
Configuring a Slave
Slave-specific configuration is accomplished using the Slave Configuration dialog box. Here, modules and associated data are assigned to the address of the process data image in the master device. These addresses correspond to the application in the PLC.
Select the menu Settings - DP Slave Configuration or double-click on a slave to open Slave Configuration dialog box.
ProSoft Technology, Inc. Page 19 of 70 June 24, 2013
Configuration PDPM ProLinx Gateway Protocol Manual PROFIBUS DP Master
There are two types of DP-slaves; simple and modular. A simple slave has a fixed data length. A modular slave's data length is configurable. This type of slave can be understood as an assembly of one or more simple slaves with one bus address.
The upper table contains all available modules of the slave. In the case of a simple slave, there is only one module that is automatically copied into the lower table by ProLinx SyCon. A modular slave must be copied by the user by double­clicking on the module or selected module in combination with the Append Module button.
If a module has several inputs or outputs (sub modules), more lines appear in the configuration table. These additional lines will be signed with a higher index in the column Idx. The column Slot counts the modules.
Perform the following steps to configure the modules of the slave: 1 If not already present, select all modules from the upper table and insert them
in the lower table to be configurable.
2 The sequence of the modules in the lower list is important and must
correspond to the real physical slave configuration.
Page 20 of 70 ProSoft Technology, Inc. June 24, 2013
PDPM ProLinx Gateway Configuration PROFIBUS DP Master Protocol Manual
3 Assign the addresses of the module data in the process image for each
module in the lower table. This is done in the columns Type and Address for input and output separately.
4 The I/O address can be entered by the user or set automatically by ProLinx
SyCon. Therefore the flag Auto Addressing must be set in the window Master Settings. If active, ProLinx SyCon will place all I/O data offsets in physical order. This is done during the download procedure and the assigned addresses can be checked in the Address Table. If the addresses are entered manually the default address 0 in the field I Address respectively O Address must be overwritten.
Note: Offset addresses are entered as a word (16-bit) address.
With the flag Watchdog Control activated it is fixed how the slave will react to the interruption of the communication with the belonging master. Is this flag activated and the slave recognized the interrupted communication over the control interval, the slave will set all outputs to 0 and will set itself into the main mode.
Caution: If Watchdog Control is switched off, possible set outputs will not be reset by the slave, although the communication is broken.
Set_Param (SAP61)
ProSoft PROFIBUS Slave (PDPS) devices have a configurable parameter for SPC3 User Prm Byte. The following illustration shows the value of this parameter in Sycon, the configuration tool for ProLinx PROFIBUS Master devices.
ProSoft Technology, Inc. Page 21 of 70 June 24, 2013
Loading...
+ 49 hidden pages