ESD CPCI-DP-2S Hardware Manual

ESD CPCI-DP-2S Hardware Manual

Intelligent compactpci® board with 2 profibus-dp® slave interfaces

Advertisement

Quick Links

CPCI-DP-2S
®
Intelligent CompactPCI
Board with 2
®
PROFIBUS-DP
Slave Interfaces
Hardware Manual
to Product I.2322.02
CPCI-DP-2S
Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2
Page 1 of 36
esd electronic system design gmbh
Vahrenwalder Str. 207 • 30165 Hannover • Germany
http://www.esd.eu
Phone: +49 (0) 511 3 72 98-0 • Fax: +49 (0) 511 3 72 98-68

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPCI-DP-2S and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ESD CPCI-DP-2S

  • Page 1 CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 1 of 36 esd electronic system design gmbh Vahrenwalder Str. 207 • 30165 Hannover • Germany http://www.esd.eu Phone: +49 (0) 511 3 72 98-0 • Fax: +49 (0) 511 3 72 98-68...
  • Page 2 The information in this document has been carefully checked and is believed to be entirely reliable. esd makes no warranty of any kind with regard to the material in this document, and assumes no responsibility for any errors that may appear in this document. In particular descriptions and technical data specified in this document may not be constituted to be guaranteed product features in any legal sense.
  • Page 3 New chapter “Host-Operating System and Drivers” with description of DPCTL_START, DPCTL_SEND and DPCTL_TAKE New chapter “Library and Application Software” New chapter “Using the CPCI-DP-2S with the TIA Portal V13SP1” Technical details are subject to change without further notice. CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2...
  • Page 4 This NOTICE statement contains the general mandatory sign and gives information that must be heeded and complied with for a safe use. INFORMATION INFORMATION Notes to point out something important or useful. Page 4 of 36 Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 CPCI-DP-2S...
  • Page 5: Safety Instructions

    ● The CPCI-DP-2S may become warm during normal use. Always allow adequate ventilation around the CPCI-DP-2S and use care when handling. ● Do not operate the CPCI-DP-2S adjacent to heat sources and do not expose it to unnecessary thermal radiation. Ensure an ambient temperature as specified in the technical data.
  • Page 6 The intended use of the CPCI-DP-2S is the operation as CompactPCI Board with 2 PROFIBUS- DP® Slave Interfaces in a CompactPCI system. The guarantee given by esd does not cover damages which result from improper use, usage not in accordance with regulations or disregard of safety instructions and warnings.
  • Page 7: Table Of Contents

    7.2 Firmware..........................19 Host-Operating System and Drivers..................20 7.3.1 DPCTL_START......................20 7.3.2 DPCTL_SEND......................21 7.3.3 DPCTL_TAKE......................21 Library and Application Software ..................22 Using the CPCI-DP-2S with the TIA Portal V13SP1.............25 7.5.1 Quick Start........................25 7.5.2 Installation of the GSD File..................26 7.5.3 Insert CPCI-DP-2S Hardware and Network Configuration...........28...
  • Page 8: Overview

    Both interfaces are electrically isolated from the other units via RS-485 driver components with isolation (IL485) and DC/DC-converters. The status of the CPCI-DP-2S is indicated by LEDs in the front panel. Page 8 of 36 Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2...
  • Page 9: Front Panel View With Leds

    2.1 Position of the LEDS and PROFIBUS DP Connectors Figure 2: Connectors and LEDs See also page 16 for signal assignment of the PROFIBUS DP connectors. CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 9 of 36...
  • Page 10: Overview

    - TWO long ON periods (0,25 s OFF + 0,75 s ON + 0,25 s OFF + 0,75 s ON) Afterwards the error status is shown via the blinking sequences described in the following table: Page 10 of 36 Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 CPCI-DP-2S...
  • Page 11 Example 3: Channel 0 is searching for the correct bit rate (1x blinking), channel 2 is operating properly Figure 3: Examples for PROFIBUS DP Status-LED “E” CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 11 of 36...
  • Page 12: Hardware Installation

    DANGER Hazardous Voltage - Risk of electric shock due to unintentional contact with uninsulated live parts with high voltages inside of the system into which the CPCI-DP-2S is to be integrated. → Disconnect all hazardous voltages (mains voltage) before opening the system.
  • Page 13: Software Configuration

    Please note that at least an output module has to be defined! See chapter “Using the CPCI-DP-2S with the TIA Portal V13SP1” from page 25 for further information. An S7-example can be made available on request.
  • Page 14: Technical Data

    (9-pin DSUB) - PROFIBUS DP Interface DP0 X1100 (9-pin DSUB) - PROFIBUS DP Interface DP1 Connectors Only for test- and programming purposes (esd internal): X710 (6-pin connector strip, 2 rows) - Serial interface X720 (8-pin connector strip) - JTAG/Debug interface Temperature 0...+50 °C ambient temperature...
  • Page 15: Compactpci Interface

    Table 6: Data of the PROFIBUS DP interface 5.5 Software Support Software drivers for PowerPC and x86 processors are available for QNX, drivers for other operating systems are available on request. CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 15 of 36...
  • Page 16: Connector Assignments

    RTS ... Control signal for repeater (Request to Send) + 5V ... Power supply voltage for external termination resistor networks (maximum 50 mA)) GND ... Reverence potential Page 16 of 36 Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 CPCI-DP-2S...
  • Page 17: Software

    Software 7. Software 7.1 GSD File ;====================================================================================================== ; (c) esd electronic system design GmbH Hannover ; PROFIBUS-DP Geraetestammdatei ; Version: 1.30 ; Autor: Ulrich Hartmann ; Erstellungsdatum: V1.1 18.10.2005 ; Aenderungen: 18.10.2005 Module Names for consistent outputs corrected 01.07.2007 Input 10 Byte Life Counter added 15.08.2011 length restricted to 240 bytes...
  • Page 18 Module= "Output 64 Word (consistent)" 0x80,0xFF EndModule Max_Diag_Data_Len = 16 ; max. 16 Byte Diagnosedaten Modul_Offset ; (D ab GSD_Revision 1) erste Steckplatznummer Max_User_Prm_Data_Len= 0 Slave_Family = 0@CPCI@V01 OrderNumber = "I.2322.02" Page 18 of 36 Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 CPCI-DP-2S...
  • Page 19: Firmware

    7.2 Firmware Operating system RTOS-UH Driver Operating system-specific Licences Included in delivery of the CPCI-DP-2S Update mechanism Not necessary, because the driver loads the firmware via CompactPCI CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 19 of 36...
  • Page 20: Host-Operating System And Drivers

    Software 7.3 Host-Operating System and Drivers Operating system QNX 6.x Drivers esd Resource-Manager Licenses The resource-manager provides the functionalities per devctl() with the following commands DPCTL_START: Start the gateway application – DPCTL_SEND: Transmit the input process data to PROFIBUS –...
  • Page 21: Dpctl_Send

    => Offset and/or len do not match the DP input buffer pnStatus: >=0 => Data read <0 => Firmware running with error code. No data transferred. Description: Receive the output process data from PROFIBUS DP CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 21 of 36...
  • Page 22: Library And Application Software

    = 2; i < argc; i ++) { dpData.byte[i-2] = (uint8_t)strtoul( argv[i], NULL, 0 ); if( -1 == test || -1 == node || argc < 2) { help(); return -1; Page 22 of 36 Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 CPCI-DP-2S...
  • Page 23 } while( timeDelay ); break; default: printf("Unknown test.\n"); return 0; static void dumpBuffer(unsigned char *buffer, int len, int offset) int i, j; unsigned char lastBuf[16]; int line =0; CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 23 of 36...
  • Page 24 } else { i = 16; if( i > len ) { i -=16; printf("\n%08x:", i+offset); for( ; i < len; i ++){ printf(" %02x", buffer[i]); printf("\n%08x\n", i+offset); Page 24 of 36 Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 CPCI-DP-2S...
  • Page 25: Using The Cpci-Dp-2S With The Tia Portal V13Sp1

    7.5 Using the CPCI-DP-2S with the TIA Portal V13SP1 NOTICE This chapter does only describe the steps which are relevant for the usage of the esd GSD file and the CPCI-DP-2S with the TIA Portal. Please read the documentation of your TIA Portal for a detailed description.
  • Page 26: Installation Of The Gsd File

    7.5.2 Installation of the GSD File IMPORTANT Before you start with the installation of the GSD file for the CPCI-DP-2S make sure that your TIA Portal is offline. In the program window of your TIA Portal change into project view to import the device description file.
  • Page 27 If the installation of the selected file has been successful, you see the message as shown in the window on the left. Figure 8: Installation has been successful CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 27 of 36...
  • Page 28: Insert Cpci-Dp-2S Hardware And Network Configuration

    Therefore choose: Other field devices->PROFIBUS-DP->General->esd->CPCI->VD1->CPCI-DP-2->I.2322.02. To import the device in your project, select the CPCI-DP-2S with the left mouse button in the tree- structure in the field Catalogue, drag it into the field Network View and drop it.
  • Page 29 Software Figure 10: CPCI-DP-2S in the window Network View The CPCI-DP-2S is now displayed in the field Network View as CPCI-DP-2, but it is not connected to PROFIBUS (see Figure 10). To assign the device, click onto the button Not assigned.
  • Page 30: Customize The Automatically Generated Name

    Software 7.5.4 Customize the automatically generated Name Double click on the newly added CPCI-DP-2S in the Network view. The device name is displayed in the first line in the tab Device overview. See Figure 13. Click on the field of the device name to edit it.
  • Page 31 Software Figure 15: Set Parameters PROFIBUS Address CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 31 of 36...
  • Page 32: Insert I/O Words For Exchange Of Information

    Hardware catalogue the window Catalog of the CPCI-DP-2S is shown. Open the folder Headmodules / Module. Select the required data structures and drag and drop them into the slots of the CPCI-DP-2S. Do not leave any free rows in the assignment of the slots.
  • Page 33: Compile Hardware Configuration

    Download to device and then Hardware configuration. The Hardware is loaded now. Figure 19: Download hardware (detail) CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 33 of 36...
  • Page 34: Go Online

    The I/O addresses of the single units are shown in detail in the device overview. Figure 21: main window with device overview The CPCI-DP-2S receives an output process image from the PLC, in which all output elements are shown in the order as they are listed in the slots. Input elements are omitted.
  • Page 35: Declaration Of Conformity

    Declaration of Conformity 8. Declaration of Conformity CPCI-DP-2S Hardware Manual • Doc. No.: I.2322.21 / Rev. 1.2 Page 35 of 36...
  • Page 36: Order Information

    Table 7: Order information PDF Manuals Manuals are available in English and usually in German as well. For availability of English manuals see table below. Please download the manuals as PDF documents from our esd website www.esd.eu for free. Manuals Order No.

Table of Contents