ProSoft Technology PDPMV1 Manual

Stand-alone gateway profibus dpv1 master
Table of Contents

Advertisement

Quick Links

PDPMV1
Stand-alone Gateway
PROFIBUS DPV1 Master
December 13, 2022
PROTOCOL MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PDPMV1 and is the answer not in the manual?

Questions and answers

Summary of Contents for ProSoft Technology PDPMV1

  • Page 1 PDPMV1 Stand-alone Gateway PROFIBUS DPV1 Master December 13, 2022 PROTOCOL MANUAL...
  • Page 2: Your Feedback Please

    ® 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 at: www.prosoft-technology.com ProSoft Technology, Inc.
  • Page 3: Important Installation Instructions

    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 Merchandise Authorization (RMA) to return the unit to ProSoft Technology.
  • Page 4: Table Of Contents

    PDPMV1 ♦ Stand-alone Gateway Contents PROFIBUS DPV1 Master Protocol Manual Contents Your Feedback Please ........................2 How to Contact Us ..........................2 ® ProSoft Technology Product Documentation ................... 2 Important Installation Instructions ....................... 3 ® ProLinx Products Warnings ......................3 ProLinx Gateways with Ethernet Ports ....................
  • Page 5 3.3.5 Command Error Codes ................... 96 Diagnostics and Troubleshooting Required Hardware ....................97 Basic Troubleshooting Steps .................. 97 PROFIBUS DP-V1 (PDPMV1 Driver) Master LED Indicators ........ 98 4.3.1 PROFIBUS Master Indicators ................. 98 4.3.2 Examples ........................ 99 Viewing the Online Status of the PROFIBUS Network ......... 100 Using ProSoft Configuration Builder (PCB) for Diagnostics .........
  • Page 6 PDPMV1 ♦ Stand-alone Gateway Contents PROFIBUS DPV1 Master Protocol Manual 5.1.1 ProSoft Technology Product Availability ............... 110 5.1.2 Introduction to PROFIBUS comDTM ..............110 5.1.3 System Requirements ..................113 5.1.4 Installation ......................114 5.1.5 Quick Start ......................115 5.1.6 Verifying the comDTM Version and comDTM Install Version ......119 RS-232 Configuration/Debug Port ................
  • Page 7: Functional Overview

    The PDPMV1 PROFIBUS DP-V1 Master gateway provides enhanced features beyond the PDPM DP-V0 gateway as follows: Increased Cyclic I/O. The PDPMV1 provides 768 Words of Input and 768 Words of Output. ProSoft Configuration Builder (PCB) complete support. The PCB provides module- level configuration and integrated PROFIBUS Master network configuration support.
  • Page 8: Profibus Dp Architecture

    PDPMV1 ♦ Stand-alone Gateway Functional Overview PROFIBUS DPV1 Master Protocol Manual PROFIBUS DP Architecture The PROFIBUS DP-V1 Master network supports multiple Master systems with several slaves. The following table shows the most important features of PROFIBUS DP-V1 Master: Standard EIN 501 70...
  • Page 9: Token Passing

    PDPMV1 ♦ Stand-alone Gateway Functional Overview PROFIBUS DPV1 Master Protocol Manual 1.3.3 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.
  • Page 10: Configuration

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Configuration Configuring the Gateway 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: ...
  • Page 11 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Adding a Project to an Existing Project File Select the D icon. EFAULT ROJECT Open the P menu, choose P , and then choose A . This ROJECT ROJECT ROJECT action opens a new Project folder.
  • Page 12 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Configuring Gateway Parameters Click the [+] sign next to the module icon to expand gateway information. Click the [+] sign next to any icon to view gateway information and configuration options.
  • Page 13: Setting Up The Project

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 2.1.2 Setting Up the Project To begin, start the ProSoft Configuration Builder utility. 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, an information pane and a...
  • Page 14 PLX6K for wireless gateways). In the Select Module Type dropdown list, select the model number for your gateway (for example, 5204-MNET- PDPMV1), and then click OK to save your settings and return to the ProSoft Configuration Builder window.
  • Page 15: Setting Gateway Parameters

    2.1.3 Setting Gateway Parameters Notice that the contents of the information pane and the configuration pane changed when you added the PDPMV1 gateway to the project. The red "X" icon indicates that the gateway’s configuration is incomplete. Click the plus sign [+] next to the module icon to expand the module tree, and then expand the PLX PDPM-V1 tree.
  • Page 16 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual For the sample application, the input and output data size values are fixed to a value of 768. Click OK to save your settings and return to the ProSoft Configuration Builder window.
  • Page 17: Profibus Master Dpv1

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual PROFIBUS Master DPV1 2.2.1 Input Start Register 0 to 3230 Database start register for input data. 2.2.2 Input Data Size 0 to 768 Total number of PROFIBUS Input Words (one word equals two bytes) from all PROFIBUS slaves.
  • Page 18: Input Byte Swap

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 2.2.5 Input Byte Swap or N This parameter determines if the bytes in the PROFIBUS Input Data area are swapped before being stored in the gateway memory database. If the parameter is set to N , no swapping will be applied.
  • Page 19: Mailbox Register

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 2.2.7 Mailbox Register 0 to 3700, -1 to disable Enter the database register for DPV1 mailbox messages, or -1 to disable mailbox messages. Mailbox messages can be sent through the database to the PROFIBUS Master. This functionality requires 290 registers of the database.
  • Page 20: Slave Diagnostics Register

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 2.2.8 Slave Diagnostics Register 0 to 3600, -1 to disable Enter the database register start location for DPV1 slave diagnostics messages, or -1 to disable slave diagnostics. When this register is enabled, the gateway will automatically place 378 words of collected slave diagnostic data into the specified database start register.
  • Page 21: Watchdog Reset Value

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 2.2.15 Watchdog Reset Value Sets the value that will be sent to the PROFIBUS output byte registers upon communication loss as detected by the Watchdog function. To disable this function, set this parameter to a value of -1.
  • Page 22: Profibus Master Commands

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual PROFIBUS Master Commands Type  Disabled: command will not be executed.  Enabled Continuous: command will be executed as frequently as set by Poll Interval parameter.  Enabled Conditional: command will only be executed if the values at the database at address set by Database Register parameter changes.
  • Page 23 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Operation Mode  This field is required if the count field is set to 1 and represents the new operation mode as follows: 64=Stop 128=Clear 192=Operate ProSoft Technology, Inc. Page 23 of 131...
  • Page 24: Example Mailbox Commands

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Example Mailbox Commands The following examples show how to issue mailbox commands for Set Operating Mode, Get Live List and Start/Stop Slaves. The rest of the supported mailbox commands are configured the same way.
  • Page 25 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual To add a command, click A . This action adds a command to the list, populated with the default values for the command. To change the settings for the command, select the row, and then click E This action opens the Edit - Row 1 dialog box.
  • Page 26 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Command Layout for Set Operating Mode Column Value Description Type 0 to 3 Command Disabled Command Enabled, use poll interval Command executed when database changes (Func 2, 3, 11, 12 or 33 only)
  • Page 27 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual In the following illustration, from the Diagnostics window in ProSoft Configuration Builder, the Master's operation state is Operate (C0 hex). To see this screen, press [2] from the Main menu.
  • Page 28: Get Live List

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Press [M] to return to the Main menu, and then press [2] to view the Fieldbus Data again. Notice that the Operation State has changed to Stop (40 hex). 2.4.2 Get Live List In ProSoft Configuration Builder (PCB), expand the PLX PDPM-V1 section.
  • Page 29 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual This action opens the Edit - Profibus Master Commands dialog box. This dialog box allows you to add commands, one row at a time, with all the necessary parameters. To add a command, click A .
  • Page 30 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual To change the settings for the command, select the row, and then click E This action opens the Edit - Row 1 dialog box. ProSoft Technology, Inc. Page 30 of 131...
  • Page 31 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Command Layout for Get Live List Column Value Description Type 0, 1 or 3 Type Command Disabled Command Enabled, use poll interval Command executed when database trigger set != 0 DB_Reg Location where the results from the command are placed.
  • Page 32 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual When you download the configuration containing this mailbox command to the gateway, and then return to the Diagnostics window, press [F] at the Main menu, and then press [S] to view the command list. The following illustration shows the command list. Notice that the first command matches the settings you made in the Edit - Profibus Master Commands dialog box.
  • Page 33 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual  A value of 03 HEX indicates this is the Master address which is in this case is 01.  A value of 04 HEX indicates the slave is not configured and not connected.
  • Page 34: Start/Stop Slaves

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 2.4.3 Start/Stop Slaves In ProSoft Configuration Builder (PCB), expand the PLX PDPM-V1 section. Select P , click the right mouse ROFIBUS ASTER OMMANDS TART LAVE button, and then choose C .
  • Page 35 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual To add a command, click A . This action adds a command to the list, populated with the default values for the command. To change the settings for the command, select the row, and then click E This action opens the Edit - Row 1 dialog box.
  • Page 36 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Command Layout for Start/Stop Slaves Column Value Description Type 0 to 3 Type Command Disabled Command Enabled, use poll interval Command executed when database changes (Func 2, 3, 11, 12 or 33 only)
  • Page 37 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual When you download the configuration containing this mailbox command to the gateway, and then return to the Diagnostics window, press [F] at the Main menu, and then press [S] to view the command list. The following illustration shows the command list. Notice that the first two commands match the settings you made in the Edit - Profibus Master Commands dialog box.
  • Page 38 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual The Monitor/Modify Slave screen in ProSoft Configuration Builder for PROFIBUS will show that the slave is working properly. Double-click on Slave 10. ProSoft Technology, Inc. Page 38 of 131...
  • Page 39 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual The Diagnostic tab contains the following information for Slave 10, indicating that the slave has stopped exchanging cyclic data. To start the slaves again, place any value in database register 3198.
  • Page 40: Other Mailbox Commands

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 2.4.4 Other Mailbox Commands 3 - Set Slave Mode Field Value Description Type 0 to 3 DB_Reg Database location for the three values used by the command. Count If count == 0, the three values for the command are derived from the database.
  • Page 41 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 5 - Get Slave Configuration Field Value Description Type 0, 1 or 3 DB_Reg This is the database location where the results of the command will be placed Count This parameter specifies the number of words in the response message to place in the database.
  • Page 42 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 33 - Acyclic Write Field Value Description Type 0 to 3 DB_Reg Starting database location of the write data. Count Number of word registers to read from the database into the command.
  • Page 43: Configuring The Profibus Dp Network

    Follow these steps to install the GSD file or files for your slave device or devices. Tip: GSD configuration files for popular PROFIBUS slaves and ProSoft Technology solutions are included with PCB. Before installing GSD files, browse the list of available slaves in the Tree View window to see if GSD files for your slave are already installed.
  • Page 44: Configuring The Profibus Slaves

    Protocol Manual To install GSD files manually In ProSoft Configuration Builder tree view, click [+] to expand the module tree, and then double-click the PROFIBUS DP icon. This action opens the PDPMV1 PROFIBUS Master Setup dialog box. Click the C PROFIBUS button.
  • Page 45 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Navigate to the folder containing the type of slave device to add (PLC IEMENS 277, in this example), and then click the plus sign [+] to expand the folder. Click the EM 277 PROFIBUS-DP icon in the tree view and drag and drop the icon into the Bus Configuration view.
  • Page 46 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual In the tree view, click the plus sign [+] to expand the slave device you added. This action opens a list of device configuration values. The following illustration shows the possible input/output configuration values for a Siemens EM 277.
  • Page 47 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual For this example, we will configure 8 words of input and 32 words of output. These input and output words are assigned to addresses within the gateway's internal database. For each new slave added to the PROFIBUS network, ProSoft Configuration Builder automatically converts the input/output byte addresses to word input/output addresses.
  • Page 48 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Double-click the S icon to view the Slave properties dialog box. LAVE ProSoft Configuration Builder automatically assigns a PROFIBUS address to each new slave. The slave address assignment begins at address 3 for the first slave added to the network (addresses 0, 1, and 2 are reserved for use with PROFIBUS Masters), and is incremented by 1 for each new slave added to the network.
  • Page 49 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Using The Autoscan Feature The concept of Automatic network scanning means that the user can instruct the Bus Configuration window to automatically gather information about slaves that are connected to the network. When the scan is completed the user can adopt the detected slaves to the bus configuration and download to the Master.
  • Page 50 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual When the download is completed, the PROFIBUS Master Configuration window will initialize the Master to operate as a Class 2 Master only. In this mode it is possible to initialize the Master even if the database does not contain any slaves.
  • Page 51 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual GSD Selection Algorithm If two or more matching GSD-files are found, the first one found should be selected. The other compatible files should be stored so that the user can select one of them instead. If the user selects another GSD-file, the PROFIBUS Master Configuration window will run through the Module Selection Algorithm (described below) again.
  • Page 52 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Special address 126 -Set Slave address: If a slave with node address 126 is detected during the network scan, the PROFIBUS Master Configuration window will display the address in red color. It will not be possible for the user to adopt the slave to the configuration since it is not allowed to exchange data with devices having this address.
  • Page 53 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual If the Slave is in the configuration already then it will not affect the addressing. Example: After scanning, the network finds these other slaves: 2, 6, 25, and 40 Slaves 2, 6, and 25 are found, but are marked as in the bus configuration (the mapping...
  • Page 54 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual The PROFIBUS Master Configuration window will prevent the user from selecting a New slave address that is already occupied by another device; this includes detected Master stations as well. If the user selects an occupied address, a message similar to the one shown here will open.
  • Page 55 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual GSD-file This column shows the name of the GSD-file that matches the Ident number derived from the SlaveDiag mailbox message. If there are more files with the same Ident number in the device catalog, the first matching GSD-file will be displayed in blue color in a drop- down list.
  • Page 56 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Adopt selected slaves Pressing this button will cause all selected slaves to be adopted to the PROFIBUS Master Configuration window. Before carrying on with this action a message similar to the one below will appear.
  • Page 57 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Cancel and Help If the C button is pressed a message similar to the one below will appear. ANCEL If the H button is pressed the online help will start.
  • Page 58 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Parameter Data Structure SPC3 evaluates the first seven data bytes (without user prm data), or the first eight data bytes (with user prm data). The first seven bytes are specified according to the standard.
  • Page 59: Printing The Prolinx Memory Map

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 2.5.3 Printing the ProLinx Memory Map The ProLinx Memory Map dialog box uses the information about your PROFIBUS Master and slaves to display the data types that are configured. You need this information to know the starting address of cyclic I/O and gateway status data.
  • Page 60 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual To view or print the ProLinx Memory Map In the Master Setup dialog box, click the S PLX M button, near the EMORY bottom of the window. This action opens ProLinx Memory Map window.
  • Page 61: Downloading The Project To The Gateway

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Downloading the Project to the Gateway In order for the gateway to use the PROFIBUS network settings, you must download the Project file from your PC to the gateway via an Ethernet or serial connection.
  • Page 62: Assigning A Temporary Ip Address

    A temporary IP address can be used to assign the gateway to your local network. In the tree view in ProSoft Configuration Builder, select the PDPMV1 gateway. Click the right mouse button to open a shortcut menu. On the shortcut menu, choose...
  • Page 63 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual In the Connection Setup dialog box, click the B ) button to open the ROWSE EVICE ProSoft Discovery Service. Select the gateway, then right-click and choose A SSIGN EMPORARY The module’s default IP address is 192.168.0.250. Choose an unused IP within your subnet, and then click OK.
  • Page 64 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual Close the ProSoft Discovery Service window. Open the Diagnostics window and navigate to C > C ONNECTION ONNECTION ETUP In the Connection Setup dialog box, enter the temporary IP address in the Ethernet...
  • Page 65: Download Via Serial Port

    PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual 2.6.3 Download via Serial Port In the tree view in ProSoft Configuration Builder, click once to select the gateway that has PLX PDPMV1 section.  D Open the P menu, and then choose M .
  • Page 66: Backing Up The Project

    To save your project and configuration files In ProSoft Configuration Builder tree view, click [+] to expand the PDPMV1 tree, and then double-click the PROFIBUS DP icon. This action opens the PDPMV1 PROFIBUS Master Setup dialog box.
  • Page 67 PDPMV1 ♦ Stand-alone Gateway Configuration PROFIBUS DPV1 Master Protocol Manual If you have made changes to your configuration settings, you should click the Y button every time you see this dialog box to have the backup files updated. Having all the files...
  • Page 68: Mailbox Messaging

    Protocol Manual Mailbox Messaging The PDPMV1 PROFIBUS DP Master uses a process called Mailbox Messaging to exchange parameter data between the processor, Master, and slave devices. This process provides a way to encapsulate and prioritize commands and data sent between the PROFIBUS Master and slaves.
  • Page 69: Mailbox Message Queuing

    3.1.1 Queue Timeouts The PDPMV1 gateway will only allow a message to stay in a queue for up to 10 seconds. If the PROFIBUS Master (for output messages) or the processor (for input and alarm messages) has not successfully received a message within 10 seconds, the gateway will clear the message out of the queue.
  • Page 70: Special Function Mailbox Messaging Commands

    The provided Function Blocks simplify the processor logic required to implement these messaging mailbox exchanges. Sending a mailbox message to the PDPMV1 gateway is a relatively simple process, however, it is important to follow a certain sequence. ProSoft Technology, Inc.
  • Page 71: Mailbox Message: Set Operating Mode

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Mailbox Message Structure: To PDPMV1 Gateway Byte Offset Type Description Message ID Processor logic or user set. The Message ID field is used by the ProLinx gateway to detect a new message in the PROFIBUS Output data image.
  • Page 72 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Command and Response Layout: Set Operating Mode Command Response Message ID (ID) (ID) Acyclic Message Status 4002h 0002h Word Command 0002h 0002h Set Operation Mode Data size 0000h 0000h...
  • Page 73: Mailbox Message: Set Slave Mode

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual 3.2.2 Mailbox Message: Set Slave Mode In addition to station-related user data transfer, which is executed automatically, the Master can send control commands to a single slave, a group of slaves, or all slaves simultaneously.
  • Page 74 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Command and Response Layout: Set Slave Mode Command Response Message ID (ID) (ID) Acyclic Message Status 4002h 0002h Word Command 0003h 0003h Set Slave Mode Data size 0000h 0000h...
  • Page 75 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Group Select Range 01h to FFh (Bit Coded) This parameter determines which group to address. Refer to the following example: Group 8 Group 7 Group 6 Group 5 Group 4...
  • Page 76: Mailbox Message: Get Slave Diagnostics

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Fault Information and Extended Fault Information "Fault Information" Contents "Extended Fault Information" Contents 0100h Address out of range 0200h Group number 0 not permitted 0A00h Failed to send Global...
  • Page 77 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Command and Response Layout: Get Slave Diagnostics Command Response Message ID (ID) (ID) Acyclic Message Status 4002h 0002h Word Command 0004h 0004h Get Slave Diagnostics Data size 0000h (Size of data)
  • Page 78 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Type of request 00h: Internal slave diagnostic request. Returns the diagnostic information stored in the Master. Can only be requested for slaves configured by the Master. Note: Not allowed when operating in "Class 2-Only" mode.
  • Page 79: Mailbox Message: Get Slave Configuration

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual 3.2.4 Mailbox Message: Get Slave Configuration This command reads the actual configuration (identifier bytes) of a specified slave. Note: The response data size depends on the actual slave implementation. Range 6 to 244.
  • Page 80: Mailbox Message: Get Database Information

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Acyclic Message Status Word Refer to Acyclic Message Status Word (page 92). Slave Address Range 1 to 125; specifies the slave from which to read the configuration. Error Code [1 … 4] If "Return Code"...
  • Page 81 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Command and Response Layout: Get Database Information Command Response Message ID (ID) (ID) Acyclic Message Status 4002h 0002h Word Command 0017h 0017h Get Database Info Number of identifier bytes...
  • Page 82: Mailbox Message: Get Live List

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Total Input Length, Total Output Length: The sum of Input/Output lengths for all slaves in the database (in bytes). Init Input size, Init Output size: Required initialization Input/Output sizes for the current database.
  • Page 83 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Command and Response Layout: Get Live List Command Response Message ID (ID) (ID) Acyclic Message Status 4002h 0002h Word Command 0018h 0018h Get Live List Data size 0000h 007Fh...
  • Page 84: Mailbox Message: Acyclic Data Read: Class 1

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual 3.2.7 Mailbox Message: Acyclic Data Read: Class 1 This command initiates a DPV1 Class 1 acyclic read request. Refer to EN50170 (DPV1) for more information. Parameter Description Command Initiator...
  • Page 85 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Acyclic Message Status Word Refer to Acyclic Message Status Word (page 92). Slave Address Station address of the slave responder. Slot Number and Slot Index Used in the slave to address the desired data block.
  • Page 86: Mailbox Message: Acyclic Data Write: Class 1

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual 3.2.8 Mailbox Message: Acyclic Data Write: Class 1 This command initiates a DPV1 Class 1 acyclic write request. Refer to EN50170 (DPV1) for more information. Parameter Description Command Initiator...
  • Page 87 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Acyclic Message Status Word Refer to Acyclic Message Status Word (page 92). Slave Address Station address of the slave responder. Slot Number and Slot Index Used in the slave to address the desired data block.
  • Page 88: Mailbox Message: Start Slave

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual 3.2.9 Mailbox Message: Start Slave This mailbox message starts a selection of slaves that was previously removed from the processing cycle by means of the mailbox message FB_APPL_STOP_SLAVE. This message is allowed in all operation modes (STOP, CLEAR and OPERATE).
  • Page 89: Mailbox Message: Stop Slave

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Response:  Acyclic Message Status Word (in response header) "Invalid Data Size" is returned if Data size in the command header does not equal 126. If "Invalid Other" is returned, further information is to be found in Extended word 8.
  • Page 90 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Command and Response Layout: Stop Slave Command Response Message ID (ID) (ID) Acyclic Message Status 4002h 0002h Word Command 000Ch 000Ch Stop Slave Data size 007Eh 007Eh Frame count...
  • Page 91 PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Response:  Acyclic Message Status Word (in response header) "Invalid Data Size" is returned if Data size in the command header does not equal 126. If "Invalid Other" is returned, further information is to be found in Extended word 8.
  • Page 92: Mailbox Messaging Error Codes

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual Mailbox Messaging Error Codes 3.3.1 Acyclic Message Status Word This register contains bit and code information about the mailbox message. The register is divided into five areas according to the following illustration:...
  • Page 93: Return Codes

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual 3.3.2 Return Codes Possible error codes in Message Data word "Return Code" (The Return Codes can be byte swapped) Return Code Name Meaning 8010h DPMC_ERR_V1C_CLOSED Internal DPMC instance no longer exists...
  • Page 94: Error Codes

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual 3.3.3 Error Codes If the return code indicates DPMC_ERR_V1C_REQ_NEG, the status values according to the DP-standard may be available in Error Code 1. Refer to the PROFIBUS DP specification for information on how to interpret these status values.
  • Page 95: Dp-V1 Error Codes

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual 3.3.4 DP-V1 Error Codes Possible error codes in Message Data word "Return Code". Return Code Name Meaning 0003h DPMC_ERR_M_MEM_ALLOC Internal memory allocation error 0004h DPMC_ERR_M_L2_REQ Unknown opcode in the configuration...
  • Page 96: Command Error Codes

    PDPMV1 ♦ Stand-alone Gateway Mailbox Messaging PROFIBUS DPV1 Master Protocol Manual 3.3.5 Command Error Codes Errors reported from the command list of the gateway require 8 bytes or 4 words per command. If the first 7 bytes of the error are 0xFF, this is a gateway-generated error as...
  • Page 97: Diagnostics And Troubleshooting

    You can connect directly from your PC’s serial port to the serial port on the gateway to view configuration information, perform maintenance, and send or receive configuration files. ProSoft Technology recommends the following minimum hardware to connect your PC to the gateway: ...
  • Page 98: Profibus Dp-V1 (Pdpmv1 Driver) Master Led Indicators

    PDPMV1 ♦ Stand-alone Gateway Diagnostics and Troubleshooting PROFIBUS DPV1 Master Protocol Manual PROFIBUS DP-V1 (PDPMV1 Driver) Master LED Indicators The LEDs indicate the gateway’s operating status. PROFIBUS Master Status LEDs COM STAT DBASE STAT MAST STAT TKN HOLD 4.3.1 PROFIBUS Master Indicators...
  • Page 99: Examples

    PDPMV1 ♦ Stand-alone Gateway Diagnostics and Troubleshooting PROFIBUS DPV1 Master Protocol Manual 4.3.2 Examples Gateway PROFIBUS Master PROFIBUS Master Status LED Status Status Description Normal operation ACTIVE COM STAT (GREEN): (ON) Master is communicating with all configured slaves. DBASE STAT (GREEN): PROFIBUS has been configured.
  • Page 100: Viewing The Online Status Of The Profibus Network

    . ProSoft Configuration Builder will establish communication ONITOR ODIFY with the PDPMV1 gateway, and will indicate communication status. If the slave icon in the Bus Configuration window has a green border, then the PDPMV1 gateway is correctly communicating with the PROFIBUS slave.
  • Page 101 PDPMV1 ♦ Stand-alone Gateway Diagnostics and Troubleshooting PROFIBUS DPV1 Master Protocol Manual In the Online Slave Properties dialog box, click the D tab, and select IAGNOSTIC . Slave diagnostic information will appear in CHECK ETAILS FOR SLAVE DIAGNOSTIC the Diagnostic window. Refer to the documentation for your PROFIBUS slave to determine the meaning of the diagnostic data.
  • Page 102: Using Prosoft Configuration Builder (Pcb) For Diagnostics

    PDPMV1 ♦ Stand-alone Gateway Diagnostics and Troubleshooting PROFIBUS DPV1 Master Protocol Manual Using ProSoft Configuration Builder (PCB) for Diagnostics The Configuration and Debug menu for this gateway is arranged as a tree structure, with the Main menu at the top of the tree, and one or more sub-menus for each menu command.
  • Page 103 PDPMV1 ♦ Stand-alone Gateway Diagnostics and Troubleshooting PROFIBUS DPV1 Master Protocol Manual This action opens the following dialog box. Press [?] to display the Main menu. If there is no response from the gateway, follow these steps. Verify that the cables are connected properly between your computer and the gateway.
  • Page 104: Main Menu

    Use these commands only if you fully understand their potential effects, or if you are specifically directed to do so by ProSoft Technology Technical Support Engineers.
  • Page 105 PDPMV1 ♦ Stand-alone Gateway Diagnostics and Troubleshooting PROFIBUS DPV1 Master Protocol Manual Viewing PROFIBUS Data Press [2] to view PROFIBUS data. Use this command to view information related to the status of each slave in the PROFIBUS network, and to verify that each slave is configured (SLAVE CFG LIST), exchanging data with the Master (TRANSFER LIST) and in diagnostic mode (SLAVE DIAG LIST).
  • Page 106: Standard Profibus Slave Diagnostic Bytes

    PDPMV1 ♦ Stand-alone Gateway Diagnostics and Troubleshooting PROFIBUS DPV1 Master Protocol Manual Standard PROFIBUS Slave Diagnostic Bytes The diagnostic information consists of 6 bytes of standard diagnostic information plus any user-related diagnostic information. The standard information is shown in the tables below.
  • Page 107: Byte 2 - Station Status 3 Bits

    PDPMV1 ♦ Stand-alone Gateway Diagnostics and Troubleshooting PROFIBUS DPV1 Master Protocol Manual 4.6.3 Byte 2 - Station Status 3 Bits Description Reserved Reserved Reserved Reserved Reserved Reserved Reserved Extended diagnostic overflow 4.6.4 Byte 3 - Master Address This byte shows the address of the assigned PROFIBUS Master after parameterization.
  • Page 108: Status And Status Mapping

    PDPMV1 ♦ Stand-alone Gateway Diagnostics and Troubleshooting PROFIBUS DPV1 Master Protocol Manual Status and Status Mapping If the Status Data Register parameter is set to any value between 0 and 3900 in the PCB configuration, gateway status data will be placed in the gateway's database, starting at the register specified by the parameter.
  • Page 109: Pdpmv1 Command Status Data Area

    Number of message in the in mailbox queue Number of message in the out mailbox queue Number of message in the alarm queue Reserved Reserved Reserved 4.7.1 PDPMV1 Command Status Data Area Status Register Description 13100 Command Count 13101 Command Request Count...
  • Page 110: Reference

    Windows application, rather than requiring a custom printer driver for each specific application. PROFIBUS comDTM, distributed by ProSoft Technology, is a DTM for PDPMV1 gateways. Configuration is available through Ethernet for the ProLinx series PDPMV1.
  • Page 111 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual FDT technology standardizes the communication interface between field devices and systems. The key feature is its independence from the communication protocol and the software environment of either the device or the host system. FDT allows any device to be accessed from any host through any protocol.
  • Page 112 Windows application, rather than requiring a custom printer driver for each specific application. PROFIBUS comDTM, distributed by ProSoft Technology, is a DTM for PTQ and MVI series PDPMV1 modules and ProLinx PDPMV1 gateways. It allows configuration tools, instruments and communication devices on a field network to recognize and use the module’s capabilities.
  • Page 113: System Requirements

    Video card capable of 1024 X 768 resolution at 64k colors  Ethernet Network Interface Card (NIC)  One of the following ProSoft Technology PROFIBUS DPV1 Master modules: ProLinx PDPMV1 Ethernet only, serial port not supported Software Requirements (Minimum) ...
  • Page 114: Installation

    PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual 5.1.4 Installation To install comDTM Navigate to www.prosoft-technology.com and download the PROFIBUS comDTM Software. Double-click the file. This action starts the installation wizard. SETUP Follow the instructions on the installation wizard to install the program.
  • Page 115: Quick Start

    PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual 5.1.5 Quick Start The following steps demonstrate how to start the FDT (Field Device Tool) program and configure the PROFIBUS comDTM. Starting FDT Start the FDT program and login as administrator. The following procedures use PACTware 3.0 software.
  • Page 116 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual Connecting the comDTM to the Master to Establish Communication Note: The features described in this section require the current version of PROFIBUS comDTM. You can always download the newest version from www.prosoft-technology.com.
  • Page 117 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual The communication path will be displayed at the top grid panel as shown in the following illustration. Select the path and click the OK button to exit the Transport Path Editor window.
  • Page 118 Reference PROFIBUS DPV1 Master Protocol Manual This completes the installation and Quick Start Guide for the ProSoft Technology PROFIBUS comDTM. Refer to the online help and documentation additional information on each DTM component you have installed and configured. The comDTM provides a Guided Tour section in the online help that explains the basic features and operation of the program.
  • Page 119: Verifying The Comdtm Version And Comdtm Install Version

    PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual 5.1.6 Verifying the comDTM Version and comDTM Install Version Introduction There are two versions associated to the comDTM – the comDTM version and the comDTM install version. Starting with comDTM version 1.0.1.5, each upgrade will indicate the same comDTM version but a different comDTM install version.
  • Page 120 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual In the list of C applets, select A ONTROL ANEL DD OR EMOVE ROGRAMS Select P COM-DTM, and then click on the link C ECHNOLOGY LICK HERE FOR SUPPORT INFORMATION ProSoft Technology, Inc.
  • Page 121 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual You will see the comDTM Install Version in the Version field, as shown in the following illustration (1.01.0003 for this example). Checking the Install Version for Vista Select C ONTROL ANEL ProSoft Technology, Inc.
  • Page 122 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual Select U NINSTALL ROGRAMS Select ProSoft Technology COM-DTM (click once) ProSoft Technology, Inc. Page 122 of 131...
  • Page 123 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual Click the O tab and select L > D RGANIZE AYOUT ETAILS Check the Install Version at the bottom right portion of the window. ProSoft Technology, Inc. Page 123 of 131...
  • Page 124: Configuration/Debug Port

    PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual RS-232 Configuration/Debug Port This port is physically an eight-pin, Mini-DIN8F connection. A Mini-DIN8M to DB9M adapter cable is included with the gateway. This port permits a PC-based terminal emulation program to view configuration and status data in the gateway and to control the gateway.
  • Page 125: Profibus Master Port

    PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual PROFIBUS Master Port The following diagram has been imported from the PROFIBUS Master documentation. Note that the signals to reference are the D-Sub signals in the table. ProSoft Technology, Inc.
  • Page 126: Supported Profibus Services

    PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual Supported PROFIBUS Services The following table lists all available services according to the PROFIBUS specification. Service PROFIBUS Master Class 1 Master Class 2 Version Request Response Request Response DDLM_Data-Exchange DP-V0...
  • Page 127: Constructing A Bus Cable For Profibus Dp

    PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual Constructing a Bus Cable for PROFIBUS DP The bus cable for connecting PROFIBUS DP devices must be constructed by the user. A special PROFIBUS cable (twisted pair) is required here. This standard cable is available from various manufacturers and is a Belden part number 3079A.
  • Page 128 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual Connection terminal assignment on the PROFIBUS DP: A = Incoming cable B = Outgoing cable C = Connection terminals (only once (B,A)) D = Cable cleat for reliving tension E = Bus connector screws...
  • Page 129 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual Complete the Central Shielding Measures (below) and grounding operations for the shielding before you connect the cable connector to the gateway. 10 Plug the PROFIBUS DP connector into the gateway and secure it with the screws.
  • Page 130 PDPMV1 ♦ Stand-alone Gateway Reference PROFIBUS DPV1 Master Protocol Manual This example indicates the system components and devices in a system with equipotential bonding. Grounding and Shielding for Systems without Equipotential Bonding Note: Grounding and shielding is to be carried out the same as for systems with equipotential bonding.
  • Page 131: Support, Service & Warranty

    LED patterns Details about the serial, Ethernet or Fieldbus devices interfaced to the module, if any. Note: For technical support calls within the United States, ProSoft Technology’s 24/7 after-hours phone support is available for urgent plant-down issues. North America (Corporate Location) Europe / Middle East / Africa Regional Office Phone: +1.661.716.5100...

Table of Contents