PTQ-PDPMV1 Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum August 12, 2014 USER MANUAL
Your Feedback Please We always want you to feel that you made the right decision to use our products. If you have suggestions, comments, compliments or complaints about our products, documentation, or support, please write or call us. How to Contact Us ProSoft Technology 5201 Truxtun Ave., 3rd Floor Bakersfield, CA 93309 +1 (661) 716-5100 +1 (661) 716-5101 (Fax) www.prosoft-technology.com support@prosoft-technology.com Copyright © 2014 ProSoft Technology, Inc. All rights reserved.
Information for ProTalk® Product Users The statement "power, input and output (I/O) wiring must be in accordance with Class I, Division 2 wiring methods Article 501-10(b) of the National Electrical Code, NFPA 70 for installations in the U.S., or as specified in section 181J2 of the Canadian Electrical Code for installations within Canada and in accordance with the authority having jurisdiction".
Label Markings E183151 Class I Div 2 Groups A,B,C,D T6 -30°C <= Ta <= 60°C II 3 G EEx nL IIc T6 -20°C <= Ta <= 60°C Shock & Vibration tested to EN 60068 Standard Agency Approvals and Certifications CE cULus Shock & Vibration CB Safety GOST-R RoHS ATEX Important Notice: CAUTION: THE CELL USED IN THIS DEVICE MAY PRESENT A FIRE OR CHEMICAL BURN HAZARD IF MISTREATED. DO NOT DISASSEMBLE, HEAT ABOVE 100°C (212°F) OR INCINERATE. Maximum battery load = 200 μA. Maximum battery charge voltage = 3.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Contents User Manual Contents Your Feedback Please ........................................................................................................................ 2 How to Contact Us .............................................................................................................................. 2 ® ProSoft Technology Product Documentation ............................................................
Contents User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3.3.1 3.4 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.5 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.5.10 3.5.11 4 Using the Derived Function Blocks ......................................................................... 82 Using Mailbox Function Blocks ............................................................................... 85 Overview ......................................................
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.12.8 4.12.9 4.12.10 4.12.11 Contents User Manual SetOperatingMode Mailbox ................................................................................... 142 SetSlaveMode Mailbox.......................................................................................... 142 Start/Stop Slaves Mailbox ..................................................................................... 143 Coldboot Mailbox ............
Contents User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.3.2 7.3.3 7.3.4 7.3.5 7.3.6 7.3.7 7.4 7.4.1 7.4.2 7.4.3 8 Switchover Timeline .............................................................................................. 212 Bus Parameters .................................................................................................... 212 HSBY Master GSD File .................................................................................
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 9.4.1 9.4.2 9.5 9.5.1 9.6 9.7 9.8 9.8.1 9.8.2 9.9 9.10 9.10.1 9.10.2 9.10.3 9.10.4 10 Contents User Manual Ethernet Connection .............................................................................................. 278 RS-232 Configuration/Debug Port ........................................................................ 279 PROFIBUS Master Port ...................................................................
Contents User Manual Page 10 of 306 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Guide to the PTQ-PDPMV1 User Manual User Manual Guide to the PTQ-PDPMV1 User Manual Function Section to Read Details Introduction (Must Do) Start Here (page 13) This section introduces the customer to the module. Included are: package contents, system requirements, hardware installation, and basic configuration.
Guide to the PTQ-PDPMV1 User Manual User Manual Page 12 of 306 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 1 Start Here User Manual Start Here In This Chapter Hardware and Software Requirements ................................................. 14 Deployment Checklist ............................................................................ 15 Installing ProSoft Configuration Builder Software .................................. 16 Installing the Module .........................................................
Start Here User Manual 1.1 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hardware and Software Requirements 1.1.1 Quantum Hardware This guide assumes that you are familiar with the installation and setup of the Quantum hardware.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 1.2 Start Here User Manual Deployment Checklist This is a list of the steps you must complete to install your ProTalk module. We recommend that you read this section completely before you begin the installation.
Start Here User Manual 1.3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Installing ProSoft Configuration Builder Software You must install the ProSoft Configuration Builder (PCB) software to configure the module. You can always get the newest version of ProSoft Configuration Builder from the ProSoft Technology website. To install ProSoft Configuration Builder from the ProSoft Technology website 1 Open your web browser and navigate to http://www.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 1.4 Start Here User Manual Installing the Module 1.4.1 Installing the ProTalk Module in the Quantum Rack 1 2 3 Place the module in the Quantum rack. The ProTalk module must be placed in the same rack as the processor. Tilt the module at a 45 angle and align the pegs at the top of the module with the slots on the backplane. Push the module into place until it seats firmly in the backplane.
Start Here User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 1.4.2 Connecting to the ProTalk Configuration/Debug Port Note: The module has a serial port as well as an Ethernet port. The first time you connect to the module to configure it, you can connect to the module’s serial port using the supplied null-modem cable, because the module’s default Ethernet settings may not match your network. HSBY Note: For HSBY units the Ethernet connection must be applied.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Start Here User Manual If the default values are valid on your network, and you are using an Ethernet connection, please connect your computer to the PTQ-PDPMV1 module using either of the methods described below: Computer to Ethernet Port Connection via Hub 1.4.
Start Here User Manual Page 20 of 306 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 2 Configuring the Module User Manual Configuring the Module In This Chapter Configuring the Module with ProSoft Configuration Builder ................... 22 Downloading the Ethernet Configuration to the Module ........................ 33 Configuring the PROFIBUS Master ....................................................... 34 ProSoft Technology, Inc.
Configuring the Module User Manual 2.1 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module with ProSoft Configuration Builder In this step of the setup process, you will use ProSoft Configuration Builder to configure the parameters that affect the interface between the PTQ module and the processor (Quantum or Unity). These parameters indicate: The physical position of the module in the rack.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual 2.1.1 Setting Up the Project To begin, start ProSoft Configuration Builder. If you have used other Windows configuration tools before, you will find the screen layout familiar. ProSoft Configuration Builder’s window consists of a tree view on the left, and an information pane and configuration pane on the right side of the window.
Configuring the Module User Manual 2 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum On the shortcut menu, select CHOOSE MODULE TYPE. This action opens the Choose Module Type dialog box. HSBY Note: For Hot Standby support, select the Enable "Hot Standby" checkbox. 3 In the Product Line Filter area of the dialog box, select PTQ.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual 2.1.2 Setting Module Parameters Notice that the contents of the information pane and the configuration pane changed when you added the PTQ-PDPMV1 module to the project. The red "X" icon indicates that the module’s configuration is incomplete. HSBY Note: For Hot Standby modules, a double module icon will be displayed.
Configuring the Module User Manual 3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum In the Edit dialog box, change the values for the selections in this section of the configuration to match the values in the following illustration. To change a value, select the parameter to modify in the left pane, and then type the new value in the edit field in the right pane. If you are not sure what to enter here, use the default values.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual Slot Number The Slot Number is the physical location of the module in the rack. The example here assumes a basic configuration with a power supply occupying the first slot, the processor occupying the next two slots, and the PTQ-PDPMV1 module occupying the fourth slot. In this case the module would be in slot 4.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The Input Start Register address refers to the 3x (%IW) location in the processor’s State RAM and the Output Start Register refers to the 4x (%MW) location of State RAM. You can view State RAM information in Unity XL Pro.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual Slave Diagnostics Get slave diagnostic data (Y/N with N=default). For this example, leave the setting at its default. If you change the default value of this setting and the previous one (Mailbox Messaging) from their default values, the layout of the I/O blocks changes.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The following diagram shows the layout of the I/O blocks if Mailbox Messaging is set to NO, and Slave Diagnostics to YES. The following diagram shows the layout of the I/O blocks if Mailbox Messaging is set to NO, and Slave Diagnostics to NO.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual Duplex/Speed Code 0=Auto-negotiate 1=10 MB / half-duplex 2=10 MB / full-duplex 3=100 MB / half-duplex 4=100 MB / full-duplex This parameter allows you to set the connection speed manually between 10 Mbps full / half-duplex and 100 Mbps full / half-duplex or to auto-negotiate the baud rate with a hub or switch. The default value is 10 MB / half-duplex.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 2.1.3 Updating the Ethernet Settings Use this procedure to configure the Ethernet settings for your module. You must assign an IP address, subnet mask and gateway address. After you complete this step, you can connect to the module with an Ethernet cable. 1 Determine the network settings for your module, with the help of your network administrator if necessary.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 2.2 Configuring the Module User Manual Downloading the Ethernet Configuration to the Module In order for your changes to take effect, you must download (copy) the updated Ethernet configuration from your computer to the module. 1 Connect the serial cable between the module and the computer. 2 Select the ETHERNET CONFIGURATION icon, and then click the right mouse button to open a shortcut menu.
Configuring the Module User Manual 2.3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the PROFIBUS Master In this task, you will configure the PROFIBUS Master, and then add PROFIBUS slaves to the network. When this step is complete, you will download the configuration information to the PTQ module. You will also export the I/O maps for the processor.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual 5 Double-click the PROFIBUS MASTER icon in the Bus Configuration window. This action opens the Master Properties dialog box. 6 On the COMMON tab, name your PROFIBUS drop. The name should match the module name from step 4 in this procedure. Note: The PROFIBUS tab contains the address setting and advanced configuration settings for the Master.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum To install GSD files manually 1 2 3 4 5 6 7 In ProSoft Configuration Builder tree view, click [+] to expand the PTQPDPMV1 tree, and then double-click the PROFIBUS DP icon. This action opens the PROFIBUS Master Setup dialog box. Click the CONFIGURE PROFIBUS button. This action opens the ProSoft Configuration Builder for PROFIBUS application. Click [+] to expand the PROFIBUS DP tree.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual Scanning for Slaves Manually In this part of the procedure, you will add and configure the PROFIBUS slaves. In the following steps, you will add and configure a ProLinx PROFIBUS slave module. The configuration information (.GSD file) for this module is provided on the PTQ-PDPMV1 Solutions CD-ROM.
Configuring the Module User Manual 5 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Drag the input and output parameters to the slot location grid below the Bus Configuration window. This view displays the configuration data, order number, and starting input and output addresses. Important: The starting input and output addresses that you select here are actually byte offsets within the PROFIBUS Data area inside each Input and Output backplane block.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 6 Configuring the Module User Manual Double click the SLAVE icon to view the Slave properties. In particular, note the following settings: o Automatic PROFIBUS Address Assignment: ProSoft Configuration Builder automatically assigns a PROFIBUS address to each new slave. The address assignment begins at address 3, and is incremented by 1 for each new slave added to the network.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 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. This is a quick way to get a network up and running.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User 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.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Module Selection Algorithm The algorithm used to find modules in the GSD based on the Identifier byte(s) is as follows: Select the module that matches the largest number of Identifier bytes. If the GSD contains two or more modules with the exact set of Identifier bytes, use the first module found.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User 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.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum If the Slave is in the configuration already then it will not affect the addressing.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User 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.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum If there is more than one module in the GSD-file that matches the Identifer bytes, the first matching module will be displayed in blue color in a drop-down list. The drop-down list will contain all other matching modules so that the user can select the desired one.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual If no GSD-file is found the user will be able to copy the expected GSD to the device catalog by clicking the icon next to the text No GSD found. This will start the Install new GS*-file dialog box. When the file is installed, the PROFIBUS Master Configuration window will verify that the installed file matches the slave and update the modules for the slave accordingly.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum If accepted, the network scan window will close and the PROFIBUS Master Configuration window will be populated with the slaves that were found during the network scan. Note: Slave: is equal to the Ident number and that the Device path: and Order number/designation fields are left empty. Cancel and Help If the CANCEL button is pressed a message similar to the one below will appear.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual 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 ProSoft Configuration Builder for PROFIBUS, the configuration tool for ProSoft PROFIBUS Master devices. ProSoft Technology, Inc.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 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. The eighth byte is used for SPC3-specific communications. The additional bytes are available to the application.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual To export the processor memory map 1 In the Master Setup dialog box, click SHOW CONCEPT MAP (for processors configured with Concept software) or click SHOW UNITY MAP (for processors configured with ProSoft Configuration Builder software). 2 This action opens the Memory Map dialog box. 3 On the Memory Map dialog box, click EXPORT PROCESSOR FILES.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4 Name the file and choose a location on your hard drive. The recommended location is your My Documents folder, and then click SAVE. 5 Click PRINT to print the input and output maps for reference. When you import this memory map file into the processor configuration, it simplifies the task of establishing communications between the module and the processor.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual 2.3.4 Downloading the Project to the Module In order for the module to use the PROFIBUS network settings you configured, you must download (copy) the updated project file from your computer to the module. Note: The processor (Quantum) must be in "Stop" mode before you download the file to the module.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The module will perform a platform check to read and load its new settings. When the platform check is complete, the status bar in ProSoft Configuration Builder will be updated with the message Module Running. 2.3.5 Backing Up the Project In this step, you will create a backup copy of your project and configuration files.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3 4 5 6 7 Configuring the Module User Manual Unity Pro Users: From the PROFIBUS Master Setup Screen, click the SHOW UNITY MAP button, then click the EXPORT PROCESSOR FILES button. This action exports the xfm file (created only if the Mailbox parameter is set to YES) and xsy file. The recommended location for these files is your My Documents folder. If you are using Unity 7.X or later, you will use the PTQ-PDPMV1.
Configuring the Module User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 2.3.6 File Locations The folder structure implemented for each PCB project (ppf) is as follows: {rootdrive}\PCBExportFiles\'ppf name'\'Project Name'\'Location Name'\'Module Name'\ For example, The following files will be created in each folder created by PCB {rootdrive}\PCBExportFiles\'ppf name'\ o Project ppf file (.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Module User Manual If you have followed the previous steps in order, your PTQ module is now configured with the settings for your PROFIBUS Master and slaves. The final task is to import this information into the processor. This task allows the processor to communicate with the PTQ module and its slave devices over the backplane.
Configuring the Module User Manual Page 58 of 306 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3 Configuring the Processor with Unity Pro User Manual Configuring the Processor with Unity Pro In This Chapter Importing the Functional Module ........................................................... 60 Function Blocks Operation Overview .................................................... 79 Derived Function Blocks Overview ........................................................
Configuring the Processor with Unity Pro User Manual 3.1 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Importing the Functional Module To simplify the task of programming the processor when communicating with the PTQ-PDPMV1 module, ProSoft Technology has created a Unity Pro Functional Module type (XFM). Warning: The Functional Module is intended for new installations of PTQ-PDPMV1.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual This action populates the Project Browser with a Functional Station icon, as shown in the following illustration. 2 Select FUNCTIONAL STATION, and then click the right mouse button to open a shortcut menu. On the shortcut menu, choose IMPORT. Click NO to dismiss the confirmation dialog box. ProSoft Technology, Inc.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum In the Import dialog box, choose FUNCTIONAL MODULE (*.XFM) in the Files of Type dropdown list, and then select the XFM file to import. The XFM file name matches the module name you defined in PCB and exported in step 3 of Back up the Project (page 54). Click IMPORT to import the file. Note: Use the XFM file created by PCB.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3 Configuring the Processor with Unity Pro User Manual To view the DFBs, data types and variables associated with the Functional Module, open the VIEW menu and choose STRUCTURAL VIEW. Notice that all function blocks have been defined using the ST type language. To import the variables Import the PROFIBUS I/O table, found in the .
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum At this point, the input and output variables have been imported to the application. HSBY Note: If the Non-Transfer parameter value is used and it is greater than zero, then the XSY file will contain the correct CRC for the module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual You must enter the same value in this location of the processor memory. To modify an animation table Note: An animation table is required to send and receive mailbox messages, monitor State Ram status and read/write IO data. An animation table is provided with the XFM file, but certain data variables must be added to monitor the status or health of the module.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Double-click the animation table, and under the name column, select the {MODULENAME}_STATIN variables. Under the folder, select the MODIFICATION TAB. You should see the module status counters update. Page 66 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual 3.1.1 Updating Checksum Values The PTQ-PDPMV1 module is almost ready, and the CRC values for the PROFIBUS configuration should match between the module and the processor. To confirm that both CRCs match 1 2 3 4 From PCB, select the MODULE icon, and then click the right mouse button to open a shortcut menu. On the shortcut menu, choose DIAGNOSTICS.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum To calculate checksums 1 On the PDPMV1 PROFIBUS Master Setup dialog box, click the CALCULATE CHECKSUMS button. Notice the NEW checksums for the module and PROFIBUS appear. Note: The module checksum will change when parameters such as 3X or 4X starting address are changed. The PROFIBUS checksum will change if a network parameter is changed.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual 3 Go to the UNITY PRO VARIABLES TAB and select the _StatOut variable and expand the structure to expose the ModuleStatus_ProfibusCRC32 element. Under the Value column area, paste the copied checksum. 4 Repeat steps 2 and 3 above for the module checksum value. PASTE the value into ModuleStatus_ModuleCRC32 variable.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3 In the Project Browser tree view, double-click LOCAL BUS to open the Local Bus window. Notice that the image in the window shows the processor in the second position in the rack. (The first position is for the power supply, which you will add later.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual 5 Click the [+] sign next to Communication to open the list of communication devices. Select PTQ PDPMV1 from the list, and then click OK. This action adds the module to the Local Bus image. 6 Repeat the previous two steps to add other devices, such as power supplies, to the rack. When you have finished adding devices, open the FILE menu and choose SAVE.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Data registers must exceed starting registers. This is in the memory map page that you printed. You must assign the PTQ module to a block of processor memory that is not being used by any other device.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 5 Configuring the Processor with Unity Pro User Manual To view detailed information about the processor's memory configuration, click VIEWER. The viewer offers tools to view the types of data stored at specific addresses in the processor. Make note of memory areas that are already allocated, and select an area of contiguous memory that be allocated to the PTQ module. 3.1.
Configuring the Processor with Unity Pro User Manual 3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum As the project is built, Unity Pro reports its process in a Progress dialog box, with details appearing in a pane at the bottom of the window. If you are using the sample project, the project should build without errors. The following illustration shows the build process under way. 3.1.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual 3 Click the TRANSFER button to download the project to the processor. As the project is transferred, Unity Pro reports its process in a PROGRESS dialog box, with details appearing in a pane at the bottom of the window. When the transfer is complete, place the processor in RUN mode. The processor will start scanning your process logic application. 3.1.
Configuring the Processor with Unity Pro User Manual 5 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Scroll within {MODULENAME}_STATIN. Notice that when the processor and the PTQ module are communicating successfully, the numbers in the Value column for items such as ModuleStatus_Applicationprogramscancounter are continuously updated. Page 76 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual To test the Unity interface The following steps show how to use the mailbox message GetLiveList. Note: Make sure the Unity program is connected and the processor is running. 1 From the table (public folder), select PTQPDPMV1_MAILVAR.GETLIVELIST.OUT.GETLIST and set it to 1. ProSoft Technology, Inc.
Configuring the Processor with Unity Pro User Manual 2 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The GetLiveList response will be automatically copied into the GetLiveList.In.StationStatus array. The following illustration shows an example where slave address 3 is connected to the Master (address 1). The GetList bit is automatically cleared. Refer to Mailbox Messaging (page 151) for specific help on the mailbox commands and response values.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3.2 Configuring the Processor with Unity Pro User Manual Function Blocks Operation Overview Function blocks define software components or modules that perform a specific function. Each function block has its own, pre-defined set of inputs and outputs. The function blocks provided with the PTQ-PDPMV1 module contain the logic to handle PROFIBUS acyclic mailbox messages and alarms.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum MailOut[0] = StatIn.MailBoxData_LastOutMailboxMessageID Each mailbox data structure is implemented through variables that are divided into Out and In data structures, where: Out = values copied from the processor to the module In = values copied from the module to the processor Each Out data structure contains a Cmd bit.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual StatOut.ModuleStatus_LastinMailBoxMessageID <> StatIn.MailBoxData_CurrentInMailboxControlIndex The module will increment StatIn.MailBoxData_CurrentAlarmControlIndex when the module contains alarms to be sent to the processor. The function block implementation will then copy the alarm to the appropriate data structure.
Configuring the Processor with Unity Pro User Manual 3.3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Derived Function Blocks Overview The Unity Pro programming language for Schneider Electric Automation Quantum processors supports user-defined function blocks (DFB). The user function block types (Derived Function Blocks) are developed by the user using one or more languages (according to the number of sections).
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual The PTQ_PDPMV1_Sample Functional Module supports input and output variables used for PTQ status, acyclic mailbox and slave cyclic I/O data.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox data values are pre-defined for the specific mailbox command. The first statement represents the Message Information of the command (4002h) Set Operating Mode (see specific mailbox command). Note: The information is byte swapped for PTQ Master module (Motorola big-endian format).
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3.4 Configuring the Processor with Unity Pro User Manual Using Mailbox Function Blocks Function blocks define software components or modules that perform a specific function. Each function block has its own, pre-defined set of inputs and outputs. The function blocks provided with the PTQ-PDPMV1 module contain the logic to handle acyclic mailbox messages and alarms.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3.4.2 Configuration The mailbox function block contains inputs, outputs and input/output pins that must be associated to specific variables. The mailbox function blocks (except GetAlarm, which will be covered later) require the usage of the following pins (common for all mailbox function blocks): Pin Name Pin Type Description StatIn Input Input Status pin.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual 3.4.3 Trigger Bytes Mailbox requests are initiated by "triggers" (bytes) that are defined as input/output pins. A mailbox request is initiated after the application moves a value of 1 to the appropriate trigger byte. Only one mailbox function may be active at any given time.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The Get Alarm function block does not require a trigger because this mailbox is initiated from the module. Refer to Alarm Indication (page 170) for more information. The trigger byte is a variable that can assume different states as follows: Value Description 0 OK to send new mailbox request. The last mailbox request was already acknowledged by the module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual You can add SETOPERMODE to the table with three trigger variables for the Set Operating Mode mailbox. Start by moving a value of 1 to SelectStop in order to set the module’s mode to STOP.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum At this point, you should notice the following LED display, indicating that the module’s mode was changed to OPERATE: LED Status MSTR STAT GREEN COM STAT GREEN or OFF DBASE STAT GREEN TK HOLD GREEN The COM STAT LED will be either GREEN if the Master is communicating with all slaves, blinking if it is communicating with some of the slaves or OFF if it is not c
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3.5 Configuring the Processor with Unity Pro User Manual Mailbox Overview This section provides a brief description on how to use each mailbox function block. Refer to Mailbox Messaging (page 151) for detailed information about each mailbox parameter. 3.5.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3.5.2 Acyclic Write Mailbox Function Block: ACYCLWRITE Trigger Byte: Acyclicwrite Description: The ACYCLWRITE function block is used to perform an Acyclic Write request to a PROFIBUS slave device.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual 3.5.3 Alarm Mailbox Function Block: GETALARMS Trigger Byte: The GETALARMS function block does not require a trigger because this mailbox is initiated from the module. Description: The GETALARMS mailbox is used to read the alarm mailbox messages sent by the module.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The following illustration shows a sample instance of the GetAlarms mailbox function block: 3.5.4 GetConfiguration Mailbox Function Block: GETCFG Trigger Byte: GetConfig Description: The GETCFG function block can be used to read the configuration of any PROFIBUS slave connected to the PTQ-PDPMV1 module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual 3.5.5 GetDiagnostics Mailbox Function Block: GETDIAGNOSTICS Trigger Byte: GetDiagnostics Description: The GETDIAGNOSTICS function block can be used to read the diagnostics from any PROFIBUS slave connected to the PTQ-PDPMV1 module. The slave address must be set at the SlaveAddress input pin. The diagnostics data is copied at the ExtendedDiagData output pin.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Refer to Mailbox Messaging Error Codes (page 180) for further information about the valid status codes. The ReturnCode and FaultInformation output pins can be used for mailbox status information. 3.5.7 SetSlaveAddress Mailbox Function Block: SETADDRESS Trigger Byte: SetAddress Description: The SETADDRESS mailbox can be used to change the slave address.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual 3.5.8 SetOperatingMode Mailbox Function Block: SETOPERMODE Trigger Byte: SetOperate, SetStop, SetClear Description: The following trigger values can be used to change the current operating mode of the module: SETOPERATINGMODE.Out.SelectOperate = Set Operate SETOPERATINGMODE.Out.SelectStop = Set Stop SETOPERATINGMODE.Out.SelectClear = Set Clear 3.5.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum To determine your Anybus firmware version, use ProSoft Configuration Builder to connect to the module and open the Diagnostics window. On the Main menu, press [3] to view the Control Registers. Note the firmware version number displayed on this screen. 3.5.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Unity Pro User Manual 3.5.11 Coldboot Mailbox Important: The Coldboot mailbox is only supported on PTQ-PDPMV1 modules running firmware version 1.19 or newer. Earlier versions of the firmware do not support this feature. If you require this functionality, please contact ProSoft Technical Services for information on how to upgrade your module.
Configuring the Processor with Unity Pro User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Using a Control Word to Reboot the Module If you need to cold boot the module from the processor without using the Coldboot mailbox, use the ModuleStatus_SetOperatingMode control word variable. To reboot the module 1 Enter the hexadecimal value 16#9999 in the ModuleStatus_SetOperatingMode register, as shown in the following illustration.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4 Configuring the Processor with Concept 2.6 User Manual Configuring the Processor with Concept 2.6 In This Chapter Overview ............................................................................................. 102 Before You Begin ................................................................................ 103 Information for Concept Version 2.6 Users..........................................
Configuring the Processor with Concept 2.6 User Manual 4.1 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Overview This section will guide you through the steps required to set up your Concept Project with the PTQ-PDPMV1 module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.2 Configuring the Processor with Concept 2.6 User Manual Before You Begin 1 Verify that your computer has the following software tools installed: o ProSoft Configuration Builder (version 2.0.0 Build 15 or later) o Concept Programming Unit (version 2.6 or later) 2 Create a folder C:\project\DFB, where: C:\project - will store the main Concept project (.PRJ) C:\project\DFB - will store the data type definition file (.
Configuring the Processor with Concept 2.6 User Manual 4.3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Information for Concept Version 2.6 Users This guide uses Concept PLC Programming Software version 2.6 to configure the Quantum PLC. The ProTalk installation CD includes MDC module configuration files that help document the PTQ installation. Although not required, these files should be installed before you proceed to the next section. 4.3.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual Select the files that go with the Concept version you are using, and then click OK. This action opens the Add New Modules dialog box. 5 6 Click the ADD ALL button. A series of message boxes may appear during this process. Click YES or OK for each message that appears. When the process is complete, open the FILE menu and choose EXIT to save your changes.
Configuring the Processor with Concept 2.6 User Manual 4.4 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Step 1: Exporting the Files from PCB 1 2 3 In ProSoft Configuration Builder, right-click the PROFIBUS DP FOLDER, and then click CONFIGURE. Click SHOW CONCEPT MAP. Click EXPORT PROCESSOR FILES. 4 Browse to the folder C:\project\DFB and click OK. Page 106 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 5 Configuring the Processor with Concept 2.6 User Manual All the files required for your Concept application will be now located at C:\project\DFB. The following section provides a general overview of the files that were exported. 4.4.1 -.ASC files Each function block is available in ASCII format. These files can be converted through the Concept Converter tool in order to be used in the Concept project.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.4.2 -.DTY file This file contains the data type definitions that will be required for the Concept project. The default DTY file name will be the same as the PTQ module name in the PCB configuration. Note: If your application requires multiple PTQ-PDPMV1 modules for the same project, you must merge the .DTY files.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.5 Configuring the Processor with Concept 2.6 User Manual Step 2: Converting the Function Blocks 1 Run the Concept Converter tool as follows: 2 Click FILE-IMPORT. Browse the SETCRC.ASC file at the C:\project\DFB folder. After you click OK, the following warning message will be displayed. Click NO. ProSoft Technology, Inc.
Configuring the Processor with Concept 2.6 User Manual 3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum If you use the same filename as the ones PCB generated (PTQPDPMV1_sample) you will see the following message: Click OK to dismiss the warning message.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4 5 Configuring the Processor with Concept 2.6 User Manual List all optional mailbox functions that will be required for your application. Repeat steps 2 and 3 for each required mailbox. This setup procedure will consider (as an example) that only the Set Operating Mode mailbox is required.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The following warning is displayed (this is expected). 7 At Concept Converter click FILE-EXIT. Page 112 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.6 Configuring the Processor with Concept 2.6 User Manual Step 3: Setting up the Concept Project 1 2 3 4 Start Concept Version 2.6. Open the FILE menu, and then choose NEW PROJECT. Open the FILE menu again, and then click SAVE PROJECT AS. Navigate to C:\project, and enter PTQPROJ as the file name. Click OK to save the file. 5 Configure the general settings for your application.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Using the example in the illustration, note the following values: Total Size Start Address Last Address PROFIBUS Input 991 301000 301990 PROFIBUS Output 918 403000 403917 For this example, select 3000 input registers and 4000 holding registers as shown in the following illustration. Note: Use these values for reference only.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 8 Configuring the Processor with Concept 2.6 User Manual Open the FILE menu again, and then choose OPEN-PROJECT to reopen the file that you have just saved. This step allows Concept to recognize the data type definitions and function blocks that are located in C:\project\DFB. ProSoft Technology, Inc.
Configuring the Processor with Concept 2.6 User Manual 4.7 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Step 4: Importing the Variables 1 In Concept, open the FILE menu, and then choose IMPORT. Select VARIABLES: TEXT DELIMITED and click OK. 2 Select USER DEFINED, with ; as the delimiter, and leave all other options unselected. Click OK. 3 Navigate to the .TXT file you exported in Step 1, located in C:\project\DFB and then click OK to import the variables.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual To view the variables that were created during this procedure, open the PROJECT menu, and then choose VARIABLE DECLARATIONS. The following illustration shows a variable for Slave Diagnostics (PTQPDPMV1_SLDG), which is an optional selection.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Buffer: These variables store the mailbox requests and responses between the processor and the module. These mailbox variables (input and output) must be linked to the MailIn and MailOut function block pins (as covered later in this document). PROFIBUS Data: These variables store the input and output PROFIBUS data associated to the PROFIBUS slaves.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.8 Configuring the Processor with Concept 2.6 User Manual Step 5: Creating the Function Block Instances 1 2 3 In Concept click PROJECT-PROJECT BROWSER. In Project Browser right-click PROJECT: PTQPROJ and click NEW PROGRAM SECTION. Configure the New Program Section as follows (select the Editor Type as FBD). 4 Double-click the FBD section you have just created. 5 Click OBJECTS-FFB SELECTION.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Insert the SETCRC function block in the MAINPTQ section. Select the imported variables to be associated with the input and output pins. The input status and output status variables must be the same ones that were previously imported by PCB. Double-click the STATOUT pin and click LOOKUP.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual Double-click the STATIN pin and select LOOKUP. Select the variable that was previously imported to the project. The function block is now ready: 6 Now you should repeat steps 5 through 7 for every mailbox function block to be used by the application. This setup procedure considers only the SETOPMD (Set Operating Mode function block) for the next 3 steps.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7 Select OBJECTS-FFB SELECTION. Click the DFB button and select the SETOPMD function block. Click at the CLOSE button to confirm. 8 Insert the SETOPMD function block in the MAINPTQ section. Associate the variables required for the input and output pins for this function block. IMPORTANT: The following pins must be associated to the variables previously imported.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual The actual variable name will depend on the module name configured in PCB. The default module name is PTQPDPMV1. However, the data types used by these variables will always have a fixed name as shown in the table above.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum c) Click OK to confirm the variable creation. 10 Repeat the same procedure for all other pins until the function block configuration is completed. 11 Save the Concept Project (FILE-SAVE PROJECT) Page 124 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual Note: While the project is being analyzed (depending on the number of mailbox function blocks used), the following error message might be generated: The error message means that you must increase the size of the global output data for your project. You can select Project-PLC Configuration-PLC Selection to increase the size of the global output data.
Configuring the Processor with Concept 2.6 User Manual 4.9 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Step 6: Downloading the Concept Project Download the project to the Quantum processor (Online Connect and OnlineDownload). Once the download operation is concluded, there will be a few warning messages generated in Concept. The warnings, indicating that some input/output variables are being used by more than one function block, can be safely disregarded.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.10 Configuring the Processor with Concept 2.6 User Manual Using the Concept Project 4.10.1 Accessing PROFIBUS Data After the module's CRC values are synchronized (through the SETCRC function block) then no other function blocks are required for the PROFIBUS input/output data exchange.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The following illustration shows an example of two registers that indicate whether the first 16 devices are currently configured (PTQPDPMV1_In_Stat.ConfigList[0]), and if these devices are in data exchange mode (PTQPDPMV1_In_Stat.TransferStat[0]). The following illustration shows an example in which slave 13 is configured and in data exchange mode.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 2 Configuring the Processor with Concept 2.6 User Manual Select the SHOW EN/ENO checkbox Create a BOOL variable and associate it to the EN input pin of the SETCRC function block. If this variable has a value of 0 (OFF) the SETCRC function block will be disabled. Therefore, further changes to the module configuration would cause the module to be switched to STOP mode.
Configuring the Processor with Concept 2.6 User Manual 4.11 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Using Mailbox Function Blocks 4.11.1 Overview The mailbox function blocks build mailbox requests to the module and read the mailbox response from the module. These mailbox function blocks are optional, meaning that the project will update PROFIBUS data and status information even if no function blocks are used. 4.11.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual 1 The actual variable name will depend on the module name configured by the user at PCB. These data type names are considering the default module name (PTQPDPMV1). 4.11.3 Trigger Register The mailbox requests are initiated by the "trigger" register (INT) that is defined as an input/output pin.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The Get Alarm function block does not require a trigger because this mailbox is initiated from the module (as covered later in this User Manual). The trigger register is a variable that can assume different states as follows: Value Description 0 OK to send new mailbox request. The last mailbox request was already acknowledged by the module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual Example If the Set Operating Mode mailbox function block is used as follows: You can create a Reference Data Editor table with three trigger variables for the Set Operating Mode mailbox. Start by moving a value of 1 to SetStop in order to set the module’s mode to STOP.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum You will also notice that the function block automatically clears the trigger register after it receives the acknowledgment from the module. Move a value of 1 to the SetOperate trigger variable.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual You will also notice that the function block automatically clears the trigger register after it receives the acknowledgment from the module. ProSoft Technology, Inc.
Configuring the Processor with Concept 2.6 User Manual 4.12 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Overview This section provides a brief description on how to use each mailbox function block. Refer to Mailbox Messaging (page 151) for detailed information about each mailbox parameter: 4.12.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual 4.12.2 Acyclic Write Mailbox Function Block: ACCWRITE Trigger Register: AcWrite Description: The ACCWRITE function block is used to perform an Acyclic Write request to a PROFIBUS slave device.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.12.3 Alarm Mailbox Function Block: GETALARM Trigger Register: The GETALARM function block does not require a trigger because this mailbox is initiated from the module. Description: The GETALARM mailbox is used to read the alarm mailbox messages sent by the module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual The following illustration shows a sample instance of the GetAlarm mailbox function block: 4.12.4 GetConfiguration Mailbox Function Block: GETCFG Trigger Register: GetCnfg Description: The GETCFG function block can be used to read the configuration of any PROFIBUS slave connected to the PTQ-PDPMV1 module.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.12.5 GetDiagnostics Mailbox Function Block: GETDIAGN Trigger Register: GetDiag Description: The GETDIAG function block can be used to read the diagnostics from any PROFIBUS slave connected to the PTQ-PDPMV1 module. The slave address must be set at the SlvAddr input pin. The diagnostics data is copied at the ExtDiag output pin.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual Refer to the User Manual for more information about the valid status codes. The RetCode and FaulInf output pins can be used for mailbox status information. 4.12.7 SetSlaveAddress Mailbox Function Block: SETADDRS Trigger Register: SetAddr Description: The SETADDRS mailbox can be used to change the slave address. Only specific PROFIBUS devices support this feature.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4.12.8 SetOperatingMode Mailbox Function Block: SETOPMD Trigger Register: SetOper, SetStop, SetClear Description: The following trigger values can be used to change the current operating mode of the module: SetOper = Set Operate SetStop = Set Stop SetClear = Set Clear 4.12.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual 4.12.10 Start/Stop Slaves Mailbox Function Block: STSLVS Trigger Byte: Start / Stop Description: The STSLVS function block can be used to request the module to start/stop certain slaves dynamically. The slave address must be selected through the SlveNumb input pin. This is an array of 126 slaves.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Description: The COLDBOOT function block allows you to remotely reboot the module. To trigger a reboot of the module, change the value of the Cldboot bit from OFF (zero) to ON (one). The bit is reset back to OFF when the function is executed. HSBY Note: This function block will reset both the local (active) Master and the remote (passive) Master.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with Concept 2.6 User Manual Using a Control Word to Reboot the Module If you need to cold boot the module from the processor without using the Coldboot mailbox, use control word zero of the output image. If mailbox messaging is enabled in the configuration: Use the PTQPDPMV1_OUT_Stat.LastinMailID[0] control word variable to cold boot the module.
Configuring the Processor with Concept 2.6 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum To reboot the module 1 Enter the hexadecimal value 16#9999 in the PTQPDPMV1_Out_Stat.LastInMailID[0] or the PTQPDPMV1_OUT_Stat.Setoperatingmode[0] register. The following illustration shows the PTQPDPMV1_OUT.Stat.LastInMailID[0] control word variable being used. 2 Add the following Structured Text lines to the program file.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 5 Configuring the Processor with ProWORX 32 User Manual Configuring the Processor with ProWORX 32 HSBY Note: ProWorx32 software does not support the 140CPU67160 processor and therefore does not support the PTQ-PDPMV1 HSBY functions. 1 Run the SCHNEIDER_ALLIANCES.EXE application that is installed with the ProWORX 32 software. 2 Click IMPORT. ProSoft Technology, Inc.
Configuring the Processor with ProWORX 32 User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3 Select the .SAF file that is located on the CD-ROM shipped with the PTQ module. 4 Select OPEN to import the PTQ module profiles (select I/O series as QUANTUM): Page 148 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Configuring the Processor with ProWORX 32 User Manual The following modules will be available after the .SAF file is imported: 5 6 Card Description Use with the Following Module(s) PTQPDPMV1 PTQ-PDPMV1 module PTQ All PTQ modules except PTQ-PDPMV1 Close the Schneider Alliances application and run the PROWORX software.
Configuring the Processor with ProWORX 32 User Manual Page 150 of 306 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 6 Mailbox Messaging User Manual Mailbox Messaging In This Chapter Mailbox Message Queuing .................................................................. 152 Special Function Mailbox Messaging Commands ............................... 153 Receiving Mailbox Message Responses from PTQ Module ................ 178 Mailbox Messaging Error Codes .........................................................
Mailbox Messaging User Manual 6.1 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Message Queuing The PTQ-PDPMV1 module operates asynchronously on the Mailbox Messages and as such provides for the queuing of the messages as they are received.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 6.2 Mailbox Messaging User Manual Special Function Mailbox Messaging Commands The PTQ-PDPMV1 module supports some extended PROFIBUS functions, using a mailbox data exchange mechanism.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The processor logic required to implement these messaging mailbox exchanges will be made simpler after the function blocks are provided. Sending a mailbox message to the PTQ-PDPMV1 module is a relatively simple process, however, it is important to follow a certain sequence.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Mailbox Message Structure: To PTQ module Quantum Address (Example) Unity Address (Example) Relative Word Offset Type Description 40107 %MW107 6 Message ID Processor logic or user set. The Message ID field is used by the PTQ module to detect a new message in the PROFIBUS Output data image. When the value is detected as nonzero, the message is processed immediately.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Please keep the following key points in mind: If no message is to be sent in the mailbox, the Message ID value in the Output Image must be set to zero (0). The PTQ module will set the Last Out Mailbox Message ID value in the Input Image to zero (0). The Message ID field is used by the PTQ module to detect new outgoing messages.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Parameter Description Command Initiator Application Command Name SET SLAVE MODE Command Number 0300h Fragmented No Extended Header Data Fault information may be returned in the header of the response.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Example: To address Group 1, 2, and 4, the Group Select value should be D0h. If an individual slave should be addressed, the correct group selection must also be made, as the slave will ignore the message if it does not belong to the requested group(s).
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual 6.2.2 Mailbox Message: Get Slave Diagnostics This command reads diagnostic data from a specified slave. Note: The response data size depends on the actual slave implementation. Range 6 to 244.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Message Information Refer to Message Information (page 180). Slave Address Range 1 to 125; specifies the slave to read diagnostics from. Type of request 00h: Internal slave diagnostic request. The diagnostic information stored in the Master is returned. Can only be requested for slaves configured by the Master. Note: Not allowed when operating in "Class 2-Only" mode.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Ident Number Unique ID assigned by the PROFIBUS User Organization. Extended Diagnostic Data Slave user-specific data. Refer to the documentation for the actual slave for more information. 6.2.3 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.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Message Information Refer to Message Information (page 180). Slave Address Range 1 to 125; specifies the slave to read the configuration from. Error Code [1 … 4] If "Return Code" equals 3080h ("Negative indication from lower layer"), status values according to the DP-specification may be available in "Error Code 1", Error Codes 2 through 3 are reserved.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Command and Response Layout: Set Slave Address Command Message ID Message information Response (ID) (ID) 0240h 0200h Command 0600h 0600h Data size (Size of data) (Size of data) Frame count 0100h 0100h Frame number 0100h 0100h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 Extended word 2 New Slave Address Current Slave Addr.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum No_add_Chg This parameter specifies whether it is allowed to change the slave address again at a later stage. If this is not allowed, it is only possible to change the address with this function after initial reset. After the initial reset, the slave takes the default address of 126. 00h: Change of address is still possible at a later stage.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual 6.2.5 Mailbox Message: Get Live List This command returns 127 bytes of information about the nodes on the network. Every byte stands for one bus subscriber, and the position of the byte in the response data assigns the address (0 to 126). The content assigns the Station Type.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Station Type [0 … 126] 00h: Slave Station 01h: Master Station not yet ready for Token ring (station only physically at the bus) 02h: Master Station ready to enter Token ring (there is not yet any Token transmission) 03h: Master Station in Token Ring (Token transmission through the station) 04h: Station does not exist Fault Information If "Invalid Other" is returned in the Message Information
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Command and Response Layout: Acyclic Read Command Message ID Response (ID) (ID) Message information 0240h 0200h Command 2000h 2000h Acyclic Read Data size 0000h (Size of data) Frame count 0100h 0100h Frame number 0100h 0100h Offset high 0000h 0000h Offset low 0000h Number of data bytes (n) 0000h Extended word 1 Slot Slave Addr. Slot Slave Addr.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Data [1 … n] Returned data. Fault Information and Extended Fault Information If "Invalid Other" is returned in the Message Information word in the header of the response, information about the fault can be found here. Fault Information Extended Fault Information Contents 0100h Address out of range - 0A00h Failed to execute request Refer to Return Codes (page 181).
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Command and Response Layout: Acyclic Write Command Message ID Response (ID) (ID) Message information 0240h 0200h Command 2100h 2100h Data size Acyclic Write (Size of data) (Size of data) Frame count 0100h 0100h Frame number 0100h 0100h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 Slot Slave Addr. Slot Slave Addr.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Data [1 … n] Data that should be written. Fault Information and Extended Fault Information If "Invalid Other" is returned in the Message Information word in the header of the response, information about the fault can be found here: Fault Information Extended Fault Information Contents 0100h Address out of range - 0A00h Failed to execute request Refer to Return Codes (page 181).
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Command and Response Layout: Alarm Indication Command Message ID Response (ID) (ID) Message information 0240h 0200h Command 2200h 2200h Data size (request length) 0000h Frame count 0100h 0100h Frame number 0100h 0100h Offset high 0000h 0000h Offset low 0000h Extended word 1 Slot Number 0000h Slave Address - Extended word 2 Alarm Spec Ack Seq Number - Extended w
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Alarm Type Identifies the alarm type such as Process Alarm, Plug Alarm, and so on. Range 1 to 6, 32 to 126.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Command and Response Layout: Set Operating Mode Command Message ID Response (ID) (ID) Message information 0240h 0200h Command 0200h 0200h Data size 0000h 0000h Frame count 0100h 0100h Frame number 0100h 0100h Offset high 0000h 0000h Offset low Extended word 1 0000h Conf Req Req Mode Set Operation Mode 0000h Conf. Req Act. mode.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 6.2.10 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. The message is allowed in all operation modes (STOP, CLEAR and OPERATE).
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Command: Message data word 1-63 Byte-array stating which slave/slaves to start. Array index is equal to slave address. 0: Do not affect slave 1: Start slave 2-255: Reserved Response: Message information (in response header) "Invalid Data Size" is returned if Data size in the command header does not equal 126.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Command and Response Layout: Stop Slave Command Message ID Response (ID) (ID) Message information 0240h 0200h Command 0C00h 0C00h Data size 7E00h 7E00h Frame count 0100h 0100h Frame number 0100h 0100h Offset high 0000h 0000h Offset low 0000h 0000h Extended word 1 - - Extended word 2 - - Extended word 3 - - Extended word 4 - - Extended word 5 - - Extende
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Response: Message information (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. Additional Fault information (Extended word 7) If Extended word 8 equals 0x000A -"Failed to execute request" additional info can be found here.
Mailbox Messaging User Manual 6.3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Receiving Mailbox Message Responses from PTQ Module After a mailbox message has been sent, a response from the command, usually containing the requested data or the status of the command, is returned from the PTQ module to the processor. The response is returned from the PTQ-PDPMV1 via the PROFIBUS Input data block.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual Mailbox Message Structure: From PTQ module Quantum Address (Example) Unity Address (Example) Relative Word Offset Type Description 41180 %MW1180 79 Message ID Message ID value will match value used to generate the outgoing mailbox message 41181 %MW1181 80 Message Info 41182 %MW1182 81 Command See individual commands for data values to be entered in each of these register lo
Mailbox Messaging User Manual 6.4 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging Error Codes 6.4.1 Acyclic Message Status Word This register contains bit and code information about the mailbox message.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual 6.4.
Mailbox Messaging User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 6.4.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.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Mailbox Messaging User Manual 6.4.4 DP-V1 Error Codes Possible error codes in Message Data word "Return Code".
Mailbox Messaging User Manual Page 184 of 306 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7 Hot Standby Support User Manual Hot Standby Support In This Chapter Hot Standby Overview ......................................................................... 186 Setting Up the Modicon Quantum Hot Standby with Unity System ..... 191 PTQ-PDPMV1 Operation .................................................................... 201 PTQ-PDPMV1 Master Bus Properties for Use of a P&F DP/PA Segment Coupler ..
Hot Standby Support User Manual 7.1 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Overview This section describes the PTQ-PDPMV1 PROFIBUS DP Master module specifications and startup support for Modicon Quantum Hot Standby system. Use a Modicon Quantum Hot Standby with Unity system and PROFIBUS when downtime cannot be tolerated. Hot standby systems deliver high availability through redundancy.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual 7.1.3 System Components The following illustration shows the components required for a Modicon Quantum Hot Standby with Unity system. 1 2 3 Primary PLC Standby PLC Modicon Quantum Hot Standby with Unity controller with integrated coprocessor 4 Fiber Optic Cable to connect to both controllers 5 Modicon Quantum power supply module: Install power supply in first slot for better rack layout.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.1.4 Modicon Quantum Hot Standby with Unity and IEC Logic Overview A Modicon Quantum Hot Standby with Unity system requires two backplanes configured with identical hardware, software, and firmware. One of the controllers (PLC) functions as the Primary controller and the other as a Standby controller. The Primary updates the Standby after every scan.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual A Hot Standby system Most of the time, the MAST scan hides the network scan. However, when some application programs are processed, additional system overhead may occur. Example #1 Stand-alone application scan time: 80 ms Data (state RAM + unallocated variables): 100 Kb ProSoft Technology, Inc.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Example #2 Stand-alone application scan time: 80 ms Data (state RAM + unlocated variables): 300 Kb Note: In addition to the above times for system overhead, the PTQ-PDPMV1 module may acquire from 100 ms to 300 ms of switch-over time.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.2 Hot Standby Support User Manual Setting Up the Modicon Quantum Hot Standby with Unity System 7.2.1 Overview Schneider Electric is a leader in offering fault-tolerant, redundant systems, and Hot Standby. Setting up a Modicon Quantum Hot Standby with Unity system involves a number of processes, summarized in the following paragraphs here, and explained in detail elsewhere. 7.2.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.2.4 Hot Standby States State Description There are three normal running states of operation in a general Hot Standby system. PRIMARY: The PLC is set as the Primary CPU and controls the Input/Output process as if it is stand-alone. STANDBY: This PLC is set as the Standby CPU and is ready to take over as Primary at all times, but the Primary CPU controls process and network.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual 7.2.5 Transition Description Offline to Standby (1) The remote (passive) Master would attain its node address by subtracting one (1) from the address derived from the database. For example, if the Master address in the database equals 2, the remote (passive) Master would use address 1. If the Master address in the database equals 0, it would use address 125.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Standby to Offline (5) The time it takes to switch to offline is not critical since the transition would not influence the operation of the counter part, which will carry on working as a stand-alone Master. Note: For additional information and restrictions with Quantum processor behavior, refer to the Unity Pro HSBY User Guide. 7.2.6 HSBY State vs.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual If the local (active) Master fails when it is in possession of the token, the remote (passive) Master would sense this and reclaim the token after the timeout time TTO. In other words, the remote (passive) Master will not wait for the entire TTR (Target Rotation time) to expire before it can send a ping request and detect the faulty local (active) Master.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Calculated Times for Detecting a Missing Counterpart Baud Rate TA[ms] TP[ms] TFA[ms] 12 Mbps TTR = 50 ms, TSL = 1000 Tbits 55 ≤ TTR 1 1.5 Mbps TTR = 186 ms, TSL = 300 Tbits 205 2 500 kbps TTR = 500 ms, TSL = 200 Tbits 550 4 93.75 kbps (PA) TTR = 2374 ms, TSL = 100 Tbits 2611 9 45.45 kbps (PA) TTR = 14000 ms, TSL = 640 Tbits 15400 113 9.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual Remote (passive) Master operational prior to active As soon as the remote (passive) Master is ready to communicate on the PROFIBUS network, it would start sending ping messages to the local (active) one. As soon as the local (active) Master responds, the COM-bit is altered from zero to one.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Ping Message Structure In addition to detecting a lost counterpart, the ping message is also used to communicate status information between the local (active) and remote (passive) Master. The ping message would carry the following data (4 bytes). Ping.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual 7.2.9 Crossed Status Information The ping message communicates status information between the active and remote (passive) Masters, and vice versa. A part of this "crossed status information" (CSI) would be presented in the "HSBY Remote status"-/"HSBY Nr of remote slaves" registers located in the fieldbus specific area of the DPRAM.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.2.10 Conditions for Switchover Each PTQ situated in the Primary or the Standby local rack must provide both CPUs with its own diagnostics in order to request and perform a switchover. Diagnostics must be crossed between Primary and Standby PTQs and the associated CPU. Both CPUs (Primary and Standby) must be informed anytime of the status of all PTQs.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.3 Hot Standby Support User Manual PTQ-PDPMV1 Operation While in Primary mode, the module will read the output area and write the input area. The module will constantly scan the HSBY control word to determine the HSBY state. Active LED will flash if the module is in Standby mode in a Hot Standby system. The Hot Standby Status Word of the Modicon Quantum processor is read during each end-of-scan.
Hot Standby Support User Manual Quantum Address (Example) 1060 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Unity Address (Example) %IW1060 Word Offset Name 60 Low byte: HSBY Remote Status from PROFIBUS interface High byte: HSBY Remote number of slaves - from PROFIBUS interface Description High Byte 16 8 Bit PA SO CE DB OD COM Page 202 of 306 Low Byte 7 0 CO - - O D C S P M - - D B E O A Explanation This bit would indicate the state of the local Maste
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Quantum Address (Example) 1061 Unity Address (Example) %IW1061 Word Offset Name 61 Low byte: HSBY Local Status - from PROFIBUS interface High byte: HSBY Local number of slaves - from PROFIBUS interface 1062 %IW1062 62 1063 %IW1063 63 1064 to 1165 %IW1064 to %IW1165 64 to 65 1066 to 1167 %IW1066 to %IW1167 66 to 67 Hot Standby Support User Manual Description High Byte 16 8 Low Byte 7 H - - O S D Explana
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Word Offset 61 HSBY Passive Master Status Data HSBY Passive # of Slaves (High byte) HSBY Passive Status (Low byte) 15 7 8 0 Active and Passive HSBY Master Status Data Low Byte - Bits 0 to 7 Note. Bits 0 to 7 are not considered valid until the "HS-bit" equals one, that is, the Master module is initialized as a HSBY Master (passive or active).
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual Active and Passive HSBY Master Status Data High Byte - Bits 8 to 15 The "COM-bit" would be set to one when the counterpart is present on the network (that is, ping sequence is successfully running). The other bits (8 to 14) are considered valid only when the "COM-bit" equals one. If the ping sequence is terminated the "COM-bit" and all other bits (8 to 14) are set to zero.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum PLC HSBY Command Register The following illustration identifies the operating options provided by the Command Register (%SW60). The Command Register defines the operation of the Hot Standby application. That means both the Primary and Standby. Therefore the Command Register is transferred to the Standby PLC each scan.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual %SW60.3: Setting this bit = 0 will force the Standby PLC offline if a logic mismatch is detected. Logic mismatch is defined as either the MID, LID or CID being different on Primary and Standby sides. Setting this bit = 1 will allow the Standby PLC to continue to operate normally even if the MID is different on the Primary and Standby. %SW60.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum %SW61.4: This bit is set = 1 whenever a logic mismatch is detected between the Primary and Standby PLCs. This means that either the MID, CID or LID is different on the two PLCs. Under this condition, if bit 13 of the Command Register is set = 0, bit 1 of the Status Register will be set = 1. %SW61.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual Slave Status Both Masters inform the counterpart of its slave status as a part of the CSI. The slave status information includes two parts, the SO-bit in register "HSBY local status", and register "HSBY Nr of local slaves". Based on this information, a high-level system could switch to the Master that recognize the most slaves.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Slave Status Example MA MP Type of Failure Local "SO-bit" HSBY Nr of local slaves Local "SO-bit" HSBY Nr of local slaves No errors 1 3 1 3 Cable is cut at 1. 0 0 1 3 Cable is cut at 2. 0 1 0 2 Cable is cut at 3.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual SAP number SAP 10 is used for ping messages SAP 11 is used for DPV1 status messages No SAP is defined for slave status messages (FDL_Status) The following table lists FDL services that are needed for the HSBY functionality. The two right-hand columns indicate which services are used by the active and remote (passive) Masters.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.3.2 Switchover Timeline The overall switchover time for a Hot Standby system depends on several sequential events, which are outlined in the timeline below. The elapsed time between some events is not static but highly dependent on the baud rate; these events are indicated with bold text.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual Highest Station Address (HSA) HSA defines the highest address that a Master can have to be included in the token ring. For example, a Master with address 35 will not be included in the token ring if the HSA is set to 34. It is recommended to keep the HSA as low as possible since it affects the time it takes for a Master to enter the token ring.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.3.6 Unsupported Functions When the Master module operates as a passive HSBY Master, the following mailboxes are not allowed and will be rejected with "Fault information code" 0x00FD.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual PCB Master Configuration Software The configuration software should readily make available HSBY diagnostic and status information in the bus view configuration mode. A separate and single Master GSD file for a HSBY Master should be created and used.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The Watchdog Time, Delta Ttr and other parameters can only be edited by selecting the User-Defined profile. When the "Hot Standby System" checkbox is marked, the PCB Master configuration tool follows the rules below: Parameter Calculation Ttr is to be doubled in order to support one "passive" and one "active" Hot Standby Master on the same network.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.4 Hot Standby Support User Manual PTQ-PDPMV1 Master Bus Properties for Use of a P&F DP/PA Segment Coupler 7.4.1 PROFIBUS DP Time Behavior The segment coupler supports both cyclic and acyclic data exchange of the PROFIBUS DPV1. Cyclic communication services are performed based on a specific time grid, which is referred to as the bus cycle time.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 7.4.2 Commissioning of Communication with the SK1 Segment Coupler Since the SK1 segment coupler works transparently, PROFIBUS PA stations are treated like PROFIBUS DP stations by the control system. This also applies to commissioning.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual The PROFIBUS DP transfer rate is fixed at 93.75 kbit/s for non-modular segment couplers. The bit time is thus tbit DP = 10.67 µs. The PROFIBUS PA transfer rate is fixed at 31.25 kBit/s; while the bit time is tbit PA = 32 µs. The slot-time setting of the table above works if the total of input data bytes plus output data bytes < 253 bytes.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Information for Determining the Watchdog Time TWD PROFIBUS devices are able to activate a watchdog mechanism that monitors each time interval of cyclic calls (data exchange) to make certain the PROFIBUS Master is still active. The time measurement takes place in the PROFIBUS slave.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Hot Standby Support User Manual Determining the Parameter TWD The watchdog time for the value above is a number based on experience, in other words one that usually works.
Hot Standby Support User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Page 222 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 8 Diagnostics and Troubleshooting User Manual Diagnostics and Troubleshooting In This Chapter Basic Troubleshooting Steps ............................................................... 224 LED Indicators: Front of PTQ Module ................................................. 225 Module Status Indicators ..................................................................... 228 PROFIBUS Master Indicators...
Diagnostics and Troubleshooting User Manual 8.1 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Basic Troubleshooting Steps 1 Verify that the module is installed correctly, and is communicating with the processor. 2 Install the most current version of ProSoft Configuration Builder. 3 Note the color and behavior of the LED Status Indicators (lights) on the front panel. Refer to the tables in the following section for examples.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 8.2 Diagnostics and Troubleshooting User Manual LED Indicators: Front of PTQ Module The LEDs indicate the module’s operating status. The module has two sets of LED Indicators: PTQ Module Status LEDs on the front of the module near the top ProSoft Technology, Inc. August 12, 2014 PROFIBUS Master Status LEDs behind the door on the front of the module.
Diagnostics and Troubleshooting User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum The following table shows some of the possible status indicators: Processor Status RUN (ON) PTQ Module Status ACTIVE (ON) RUN (ON) or STOP ACTIVE (OFF) HSBY: After the hot swap of the module, the PTQ module is correctly SET as the remote (passive) Master.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum CPU is running Processor Status RUN ProSoft Technology, Inc. August 12, 2014 PTQ Module Status ACTIVE PROFIBUS Master Status Diagnostics and Troubleshooting User Manual PROFIBUS Master Status LED Description COM STAT (OFF): Master is operating, but there is no communication with slaves, or PROFIBUS cable is disconnected. DBASE STAT (GREEN): PROFIBUS has been configured.
Diagnostics and Troubleshooting User Manual 8.3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Module Status Indicators Indicator Color Status Indication DEBUG Green ON Configuration/Debug Port is active OFF Configuration/Debug Port is inactive CFG ERR Red ON Configuration Error: This LED is illuminated when the PROFIBUS and module CRC values do not match between input/output blocks.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 8.
Diagnostics and Troubleshooting User Manual 8.5 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum View the Online Status of the PROFIBUS Network 1 In ProSoft Configuration Builder for PROFIBUS, open the ONLINE menu, and then choose MONITOR/MODIFY. ProSoft Configuration Builder will establish communication with the PTQ-PDPMV1 module, and will indicate communication status.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 8.6 Diagnostics and Troubleshooting User Manual Using ProSoft Configuration Builder (PCB) for Diagnostics The Configuration and Debug menu for this module 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. The first menu you see when you connect to the module is the Main menu.
Diagnostics and Troubleshooting User Manual 3 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Press [?] to display the Main menu. If there is no response from the module Verify that the cable between the module and your computer’s serial or Ethernet port is connected properly. A regular serial cable will not work. 2 On computers with more than one serial port, verify that your communication program is connected to the same port that is connected to the module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Diagnostics and Troubleshooting User Manual Keystrokes The keyboard commands on these menus are usually not case sensitive. You can enter most commands in lowercase or uppercase letters. The menus use a few special characters (?, -, +, @) that must be entered exactly as shown. Some of these characters will require you to use the SHIFT, CTRL, or ALT keys to enter them correctly.
Diagnostics and Troubleshooting User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Viewing Block Transfer Statistics Press [B] from the Main menu to view the Block Transfer Statistics screen. Use this command to display the configuration and statistics of the backplane data transfer operations between the module and the processor. The information on this screen can help determine if there are communication problems between the processor and the module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Diagnostics and Troubleshooting User Manual Viewing Version Information Press [V] to view Version information for the module. Use this command to view the current version of the software for the module, as well as other important values. You may be asked to provide this information when calling for technical support on the product. Values at the bottom of the display are important in determining module operation.
Diagnostics and Troubleshooting User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum HSBY State: 0 = Not Connected 1 = Passive 2 = Active 3 = Stand-alone. This is not a HSBY state. Rather, it provides the state of the Master when HSBY is disabled.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Diagnostics and Troubleshooting User Manual Local PB Mstr: Same as offset word 61 Low byte: HSBY local (active) Master status High byte: HSBY active number of slaves High Byte Low Byte 16 8 7 HS 0 - Bit Explanation PA Bits 0 to 6 refer to Remote Byte reference above. - OD DB CE SO PA SO CE DB OD HS This bit indicates whether or not the Hot Standby functionality is enabled. 0 - HSBY disabled.
Diagnostics and Troubleshooting User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Viewing Ethernet NIC Configuration Press [4] to view the configuration for the Ethernet Network Interface Card (NIC) in the module. Viewing the WATTCP.CFG File Press [@] from the Network menu. Use this command to view the module’s IP address settings. Exiting the Program Press [ESC] to restart the module and force all drivers to be loaded.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Diagnostics and Troubleshooting User Manual Viewing Data in Decimal Format Press [D] from the Database View menu to display the data on the current page in decimal format. Viewing Data in Hexadecimal Format Press [H] from the Database View menu to display the data on the current page in hexadecimal format.
Diagnostics and Troubleshooting User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Viewing the Next Page of Data Press [N] to display the next page of data. Viewing Data in Decimal Format Press [D] from the Database View menu to display the data on the current page in decimal format. Viewing Data in Hexadecimal Format Press [H] from the Database View menu to display the data on the current page in hexadecimal format.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 8.7 Diagnostics and Troubleshooting User 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. Byte Description 0 Station status 1 1 Station status 2 2 Station status 3 3 Master address 4 Ident number high 5 Ident number low 8.7.
Diagnostics and Troubleshooting User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 8.7.3 Byte 2 - Station Status 3 Bits Bit Description 0 Reserved 1 Reserved 2 Reserved 3 Reserved 4 Reserved 5 Reserved 6 Reserved 7 Extended diagnostic overflow 8.7.4 Byte 3 - Master Address This byte shows the address of the assigned PROFIBUS Master after parameterization.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 9 Reference User Manual Reference In This Chapter Product Specifications ......................................................................... 244 Functional Overview ............................................................................ 248 PROFIBUS comDTM........................................................................... 261 Cable Connections ...........................................
Reference User Manual 9.1 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Product Specifications The PTQ-PDPMV1 module is a powerful communication interface for Quantum platform processors. Developed under license from Schneider Electric, the module incorporates proprietary backplane technology that enables powerful data exchange with Quantum processors. The PTQ-PDPMV1 PROFIBUS DP/DPV1 Master module supports complete Master specifications according to IEC 61158.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4 5 Reference User Manual Existing PROFIBUS networks: PROFIBUS network baud rates greater than or equal to 500 kBaud are recommended to obtain a < 300 ms switchover time, based on an average processor scan time of 100 ms.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 9.1.3 Hardware Specifications Specification Value Backplane Current Load 1100 mA maximum @ 5 Vdc ± 5% Operating Temperature 0°C to 60°C (32°F to 140°F) Storage Temperature -40°C to 85°C (-40°F to 185°F) Relative Humidity 5% to 95% (with no condensation) Vibration Sine vibration 4-100 Hz in each of the 3 orthogonal axes Shock 30 g, 11 mSec.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual 9.1.
Reference User Manual 9.2 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Functional Overview 9.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 one or more remote slaves.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual These two data blocks (Input Data and Output Data) consist of a data structure that provides for the movement of: Input Data image from PROFIBUS slave devices Output Data image for writing to PROFIBUS slave devices PTQ Module Configuration and Status (from PTQ to Quantum) PROFIBUS Messaging Mailbox commands (from Quantum to PTQ) PROFIBUS Messaging Mailbox responses (from PTQ to Quantum) 9
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Bus Access Two different bus access procedures handle the various communication requirements for the topology: Token Passing Polling 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.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual 9.2.5 PTQ Input and Output Data Blocks The PTQ-PDPMV1 Input Data block contains PROFIBUS input data received from slaves on the PROFIBUS network, as well as module and slave status data. It may also include extended slave diagnostics and acyclic message (mailbox) response data, if these are enabled.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Input Data Block from Module to Processor (991 Words Maximum) Word Offset Description 0 to 78 Configuration and status data 79 to 222 Incoming Mailbox Message data: 144-word Incoming Message block 223 to n PROFIBUS Input Data: Data received from the PROFIBUS slave devices on the network Total size of the PROFIBUS Input Data block is a function of the PROFIBUS network configuration.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual Without Mailbox Messaging and With Slave Diagnostics Mailbox Messaging = N Slave Diagnostics = Y Input Data Block from Module to Processor (1219 Words Maximum) Word Offset Description 0 to 72 Configuration and status data 73 to 450 Incoming slave 6-byte diagnostics data for 126 slaves (378 words of data for slaves 0 to 125). Refer to Standard PROFIBUS Slave Diagnostic Bytes (page 241).
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Input Data Block from Module to Processor (841 Words Maximum) Word Offset Description 0 to 72 Configuration and status data 73 to n PROFIBUS Input Data: Data received from the PROFIBUS slave devices on the network Total size of the PROFIBUS Input Data block is a function of the PROFIBUS network configuration. Maximum size is 1536 bytes (768 words).
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual With Mailbox Messaging and With Slave Diagnostics Mailbox Messaging = Y Slave Diagnostics = Y Input Data Block from Module to Processor (1369 Words Maximum) Word Offset Description 0 to 78 Configuration and status data 79 to 222 Incoming Mailbox Message data: 144 word Incoming Message block 223 to 600 Incoming slave 6 byte diagnostics data for 126 slaves (378 words of data for slaves 0 to
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Status Data in Input Data Block The PTQ-PDPMV1 module's Input Data block contains several types of data in addition to the PROFIBUS network Input data. Much of this data is useful for determining the operational status and the configuration of the module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Word Offset 29 to 36 Reference User Manual Name Description PROFIBUS Slave Diagnostic Status This is a 16-byte array with bit fields where one bit is assigned to each slave station address. When a slave leaves the "Deactive" state for the first time, the associated bit is set. This bit is then cleared when the slave enters "Data Exchange" state.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Word Offset Name Description 42 PROFIBUS Master Module Status Represents the PROFIBUS Master module’s operating status Bit 2=Application status 0 - Application stopped 1 - Application running Bit 8=Data exchange (FBRS) 0 - There is no data exchange with any of the assigned slaves 1 - There is data exchange with at least one of the assigned slaves Bit 9=Slave input frozen/cleared (FBFC) 0 - A sl
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual Word Offset Name Description 59 File Error Word Bitmapped value that indicates which files are not present Bit 0: Problem with PDPMV1.CFG file Bit 1: Problem with WATTCP.CFG file Bit 2: Problem with PDPMV1.DDB file Bit 3: Problem with PDPMV1.ZIP file Bits 4 to 15 not used If this word has a value other than 0, the CFG ERR LED on the module will be illuminated.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Word Offset Name Description 64 to 65 HSBY Passive PROFIBUS CRC32 (Unity only) CRC32 checksum for PROFIBUS Master configuration downloaded from configuration utility via UDP 66 to 67 HSBY Passive User Cfg CRC32 PTQ-PDPMV1 module configuration checksum for module configuration downloaded from configuration utility via UDP (Unity only) 68 to 71 Reserved Reserved for future use 72 Control D
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 9.3 Reference User Manual PROFIBUS comDTM DTM (Device Type Manager) is a standard way to provide all necessary data and functionality for a communication device, for example a PROFIBUS DP card. This technology is similar to the way Microsoft Windows supports printer drivers supplied by manufacturers and available to any Windows application, rather than requiring a custom printer driver for each specific application.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 9.3.2 Introduction to PROFIBUS comDTM Why Use PROFIBUS comDTM? Customers from around the world have different machines, fieldbusses, and other end-user equipment. Each is equipped with the field bus requested by their end-user. Since there are so many variations, the automation solution in their standard machine ends up being different from case to case.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual Similar to a web browser, the Frame Application has menu bars, toolbars, and a navigation tree. Visually, the frame application surrounds the device vendor’s DTM. Like opening a web page from a ‘favorites' navigation tree, a user can navigate down a tree that lists the field device tags, click on one, and open the device vendor’s DTM inside the frame.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum What is DTM? DTM (Device Type Manager) is a standard way to provide all necessary data and functionality for a communication device, for example a PROFIBUS DP card. This technology is similar to the way Microsoft Windows supports printer drivers supplied by manufacturers and available to any Windows application, rather than requiring a custom printer driver for each specific application.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual 9.3.3 System Requirements Confirm that your system meets the following hardware and software requirements before you start the installation.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum To install comDTM 1 2 3 4 5 6 Insert the ProSoft Solutions Product CD-ROM in an available CD-ROM drive in your computer. Wait for the startup screen to appear. On the startup screen, click PRODUCT DOCUMENTATION. This action opens a Windows Explorer file tree window. Double-click to open the UTILITIES folder, then navigate to COMDTM > COMDTM INSTALL. Double-click the SETUP.EXE file.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual 9.3.5 Quick Start The following steps demonstrate how to start the FDT (Field Device Tool) program and configure the PROFIBUS comDTM. Starting FDT 1 Start the FDT program and login as administrator. The following procedures use PACTware 3.0 software. 2 Click the UPDATE DEVICE CATALOG button. If PROFIBUS comDTM was installed successfully, it will appear in the Device Catalog window.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 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. 1 2 From the Windows START button, navigate to PROGRAMS > PROSOFT TECHNOLOGY, and then choose PROSOFT TRANSPORT PATH EDITOR.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 3 Reference User Manual For PTQ-PDPMV1 and ProLinx-PDPMV1 users: Select the ETHERNET tab, and enter the IP Address of the module or gateway. Enter a descriptive path name. Note: Do not include the underscore ( _ ) for the path name. For MVI-PDPMV1 users: Select the SERIAL tab and enter the COM port number on your PC connected to the module. Enter a descriptive path name. ProSoft Technology, Inc.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum For MVI56-PDPMV1 and MVI69-PDPMV1 users with CIPconnect: Select the CIPCONNECT tab, and then click the ADD button. Click the CIPCONNECT PATH EDIT button to define the path for this application. The CIPconnect Path Editor allows the configuration of the path between your PC and the MVI56-PDPMV1 or MVI69-PDPMV1 module.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual 4 When you have configured the communication path, click the OK button to confirm. The communication path will be displayed at the top grid panel as shown in the following illustration. 5 Select the path and click the OK button to exit the Transport Path Editor window. 6 Select the COMDTM icon and click the right mouse button to open a shortcut menu. On the shortcut menu, choose CONNECT.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum When the comDTM is connected with the Master, PACTware indicates the connection Master by displaying a green plug in the status bar. 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.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual 9.3.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. This section describes how to check the comDTM version and comDTM install version.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 2 In the list of CONTROL PANEL applets, select ADD OR REMOVE PROGRAMS. 3 Select PROSOFT TECHNOLOGY COM-DTM, and then click on the link CLICK HERE FOR SUPPORT INFORMATION. Page 274 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4 Reference User 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 1 Select CONTROL PANEL. ProSoft Technology, Inc.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 2 Select UNINSTALL PROGRAMS. 3 Select Prosoft Technology COM-DTM (click once) Page 276 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4 Click the ORGANIZE tab and select LAYOUT > DETAILS PANE. 5 Check the Install Version at the bottom right portion of the window. ProSoft Technology, Inc.
Reference User Manual 9.4 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Cable Connections The PTQ-PDPMV1 module has the following communication connections on the module: One Ethernet port (RJ45 connector) One RS-232 Configuration/Debug port (DB9 connector) 9.4.1 Ethernet Connection The PTQ-PDPMV1 module has an RJ45 port located on the front of the module, labeled Ethernet, for use with the TCP/IP network.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual You may also view the network configuration using a PC serial port connection and an ASCII terminal program (like Windows HyperTerminal) by selecting [@] (Network Menu) and [V] (View) options when connected to the Debug port. For more information on serial port access, see the chapter on Diagnostics and Troubleshooting (page 223). 9.4.
Reference User Manual 9.5 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 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. 9.5.1 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.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 4 Reference User Manual Wrap the provided copper shielding F around the shield braiding S: J PVC jacket S Braided shielding F Copper foil shielding Additional foil can be obtained from 3M. 5 Plug the leads of the corresponding cable(s) into the terminals as shown: o Green leads in terminal A o Red lead in terminal B Note: Do not tighten the corresponding screws yet.
Reference User Manual 6 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Attach the cables with the provided cable cleat to create a robust shielded connection and to relieve any tension as shown: J PVC jacket S Braided shielding with foil shielding C Cable cleat Note: Half of the cable jacket must lie under the cable cleat! 7 8 Pay attention to the cable cleat installation instructions. Fasten the individual wires of the PROFIBUS cable to the terminals.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual Grounding and Shielding for Systems with Equipotential Bonding Each cable shield should be galvanically grounded with the earth using FE/PE grounding clamps immediately after the cable has been connected to the cabinet. This example indicates the shielding connection from the PROFIBUS cable to the FE/PE rail.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum This representation shows distributed grounding with capacitive coupling. Page 284 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 9.6 Reference User Manual Supported PROFIBUS Services The following table lists all available services according to the PROFIBUS specification.
Reference User Manual 9.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual Backplane Loop 2 When the processor reaches end of scan (EOS), the processor provides an interrupt to the PTQ. The PTQ locks out the processor and takes control of the backplane for a period of time to transfer all input and output data described above. After the data is transferred, the PTQ releases the backplane hook to the processor, and the processor continues with the next scan.
Reference User Manual 9.8 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Calculating System Response Time Processor, PTQ module, and PROFIBUS system response times are essentially dependent on the following factors: TSCAN1 processor scan time (Loop1) TBP2 max. BP transfer time (Loop 2) TPTQ3 max. PTQ process time (Loop 3) TMC4 time of PROFIBUS message cycle time (Loop 4) PTQ max. TSR (System Response Time) = TSCAN1 + TBP2 + TPTQ3 + TMC4 TSR = 7.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Reference User Manual Initiator Idle Time (TID1) After receiving the last character of a telegram, the initiator must wait this amount of time before it sends the next telegram. The idle time (TID1) is the time between transmission of the last bit of a frame (no acknowledge) and the transmission of the first bit of the next frame.
Reference User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum In data exchange mode, a telegram header consists of only 9 character bytes. If we include the bits of the character frame, there are 11 bits for every character byte (Start Bit + 8bits/char + Stop Bit + Parity). Because only 1 Master is present, we can ignore the token hold time of token telegrams.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 9.9 Reference User Manual Using Multiple PTQ-PDPMV1 Modules with Concept If your application requires more than one PTQ-PDPMV1 module for a single Quantum processor, you must manually merge the exported DTY files for each module into a single DTY file. The only difference between the DTY files for each module is the PROFIBUS data types (input and output) that define the data associated to configured slaves.
Reference User Manual 9.10 PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Frequently Asked Questions 9.10.1 How do I configure the module? The PTQ-PDPMV1 requires a simple text-based configuration file to make it operational. 9.10.2 Is a .MDC available for configuration of the module? Yes. The CD-ROM that ships with the module should have a version for both Concept 2.5 and 2.6 in the PTQ-PDPMV1 directory. 9.10.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Support, Service & Warranty User Manual 10 Support, Service & Warranty In This Chapter Contacting Technical Support ............................................................. 293 Return Material Authorization (RMA) Policies and Conditions ............. 295 LIMITED WARRANTY ......................................................................... 297 Contacting Technical Support ProSoft Technology, Inc.
Support, Service & Warranty User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Internet Web Site: www.prosoft-technology.com/support E-mail address: support@prosoft-technology.com Asia Pacific (location in Malaysia) Tel: +603.7724.2080, E-mail: asiapc@prosoft-technology.com Languages spoken include: Chinese, English Asia Pacific (location in China) Tel: +86.21.5187.7337 x888, E-mail: asiapc@prosoft-technology.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 10.1 Support, Service & Warranty User Manual Return Material Authorization (RMA) Policies and Conditions The following Return Material Authorization (RMA) Policies and Conditions (collectively, "RMA Policies") apply to any returned product. These RMA Policies are subject to change by ProSoft Technology, Inc., without notice. For warranty information, see Limited Warranty (page 297).
Support, Service & Warranty User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 10.1.2 Returning Units Under Warranty A Technical Support Engineer must approve the return of Product under ProSoft Technology’s Warranty: a) A replacement module will be shipped and invoiced. A purchase order will be required.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 10.2 Support, Service & Warranty User Manual LIMITED WARRANTY This Limited Warranty ("Warranty") governs all sales of hardware, software, and other products (collectively, "Product") manufactured and/or offered for sale by ProSoft Technology, Incorporated (ProSoft), and all related services provided by ProSoft, including maintenance, repair, warranty exchange, and service programs (collectively, "Services").
Support, Service & Warranty User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 10.2.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Support, Service & Warranty User Manual 10.2.
Support, Service & Warranty User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum 10.2.6 Limitation of Remedies ** In no event will ProSoft or its Dealer be liable for any special, incidental or consequential damages based on breach of warranty, breach of contract, negligence, strict tort or any other legal theory.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Glossary of Terms User Manual Glossary of Terms A Active Master An active Master is controlled by the Primary PLC and exchanges I/O data, diagnostics and parameter data with its assigned slaves. Application If nothing else is stated, the term "application" refers to the application of the Master module. ASPC2 Bus controller ASIC C Counterpart The remote Master.
Glossary of Terms User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum S SRD FDL-service for Send and Receive Data in one request. Switchover A switchover occurs when the Standby PLC takes over control and becomes Primary. T TBD Short for "To Be Defined" Page 302 of 306 ProSoft Technology, Inc.
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Index % %SW60 Hot Standby Command Register • 207 %SW61 Hot Standby Status Register • 208 . -.ASC files • 108 -.DTY file • 109 -.
Index User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Function Blocks Operation Overview • 79 Functional Overview • 249 Functional Specifications • 248 G General Overview • 249 General Specifications • 246 GetConfiguration Mailbox • 94, 140 GetDiagnostics Mailbox • 95, 141 GetLiveList Mailbox • 95, 141 Guide to the PTQ-PDPMV1 User Manual • 11 H Hardware and Software Requirements • 14 Hardware Requirements (Recommended) • 266 Hardware Specifications • 247
PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Index User Manual P S Parameter Calculation • 217 Passive Master • 302 PC and PC Software • 14 PCB (ProSoft Configuration Builder) • 302 PCB Master Configuration Software • 216 Performance Considerations • 189 Ping Message • 195 Ping Message Structure • 199 Ping Sequence • 197 Ping Timing Values • 196 Pinouts • 3, 279, 281 PLC HSBY Command Register • 207 PLC HSBY Status Register • 208 Primary and Standby Controllers •
Index User Manual PTQ-PDPMV1 ♦ Quantum Platform PROFIBUS DP Master Network Interface Module for Quantum Trigger Register • 132 U Understanding System Scan Time in Modicon Quantum Hot Standby with Unity Systems • 189 Unsupported Functions • 215 Updating Checksum Values • 52, 67 Updating the Ethernet Settings • 32 Using a Control Word to Reboot the Module • 101, 146 Using Mailbox Function Blocks • 85, 131 Using Multiple PTQ-PDPMV1 Modules with Concept • 109, 292 Using ProSoft Configuration Builder (PCB) fo