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...
● 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.
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...
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...
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...
- 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...
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.
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.
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...
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...
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 –...
=> 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...
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.
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...
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.
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.
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.
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.
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.
Need help?
Do you have a question about the CPCI-DP-2S and is the answer not in the manual?
Questions and answers