ESD CPCI-PN-DEV Manual

ESD CPCI-PN-DEV Manual

Profinet® io /compactpci® interface

Advertisement

Quick Links

CPCI-PN-DEV
®
®
PROFINET
IO /CompactPCI
Interface
Manual
to Product I.2329.02
CPCI-PN-DEV
Manual • Doc. No.: I.2329.21 / Rev. 1.3
Page 1 of 30
esd electronics 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-PN-DEV and is the answer not in the manual?

Questions and answers

Summary of Contents for ESD CPCI-PN-DEV

  • Page 1 CPCI-PN-DEV Manual • Doc. No.: I.2329.21 / Rev. 1.3 Page 1 of 30 esd electronics 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 Chapter “Order Information” moved Safety information revised Chapter revised 2015-011-05 New chapter: “Using the CPCI-PN-DEV with the TIA Portal V13SP1” Order Information of Linux driver inserted New PROFINET IO Certificate inserted 2017-07-28 Technical details are subject to change without further notice.
  • Page 4: Safety Instructions

    It is the responsibility of the device's user to take care that necessary safety precautions for the device's network interface are in place.
  • Page 5: Table Of Contents

    7.1 Firmware..........................14 Host-Operating System and Drivers..................15 7.2.1 PNCTL_START......................15 7.2.2 PNCTL_SEND......................16 7.2.3 PNCTL_TAKE......................16 Library and Application Software ..................17 Using the CPCI-PN-DEV with the TIA Portal V13SP1............19 7.4.1 Quick Start........................19 7.4.2 Installation of the GSDML File..................20 7.4.3 Insert CPCI-PN-DEV Hardware and Network Configuration........22...
  • Page 6: Overview

    The module integrates a CompactPCI-based application into the PROFINET IO network, e.g. a SIMATIC-S7. The CPCI-PN-DEV is a CompactPCI board in 3U format. The 100 BASE-TX PROFINET IO interface is compatible to IEEE802.3 and runs with 100 Mbit/s. The PROFINET IO interface is electrically isolated.
  • Page 7: Pcb View With Connectors

    2. PCB View with Connectors Figure 2: PCB top view See also page 13 for signal assignment of the PROFINET IO connectors. NOTICE Do not change the jumper setting! CPCI-PN-DEV Manual • Doc. No.: I.2329.21 / Rev. 1.3 Page 7 of 30...
  • Page 8: Hardware Installation

    NOTICE Electrostatic discharges may cause damage to electronic components. To avoid this, please perform the following steps before you touch the CPCI-PN-DEV, in order to discharge the static electricity from your body: Switch off the power of your computer, but leave it connected to the mains until ...
  • Page 9: Leds

    PROFINET IO-Force, blinking on request of the master LED530A green Link PROFINET IO-Link, data exchange with PLC active LED530B green Boot Application on CPCI-PN-DEV started LED530C green Power Control by Power supervisor circuit, CPU started LED530D Table 1: Description of LEDs CPCI-PN-DEV Manual •...
  • Page 10 PROFINET IO or Ethernet connection Link green PROFINET IO or Ethernet connection exists. no PROFINET IO connection Activity yellow flickering PROFINET IO connection active Table 2: Indication of the RJ-45-LEDs Page 10 of 30 Manual • Doc. No.: I.2329.21 / Rev. 1.3 CPCI-PN-DEV...
  • Page 11: Technical Data

    Table 3: General data of the module 5.2 CPU and Memory Siemens ERTEC400, 150MHz SDRAM 64 MByte SDRAM, 50MHz EEPROM 16kByte SPI Table 4: CPU and Memory CPCI-PN-DEV Manual • Doc. No.: I.2329.21 / Rev. 1.3 Page 11 of 30...
  • Page 12: Compactpci Bus

    Twisted Pair (compatible to IEEE 802.3), 100BASE-TX Electrical isolation Via transformer Connector 2x dual port RJ-45-sockets with integrated LEDs in the front panel Table 6: Data of the PROFINET IO interface Page 12 of 30 Manual • Doc. No.: I.2329.21 / Rev. 1.3 CPCI-PN-DEV...
  • Page 13: Connector Assignments

    IMPORTANT Cables of category CAT5 or higher have to be used to grant the function in networks with 100 Mbit/s. esd grants the EC conformity of the product, if the wiring is carried out with shielded twisted pair cables. CPCI-PN-DEV Manual •...
  • Page 14: Software

    The process images are exchanged with the driver without information about the validity (IOPS and IOCS). Operating system eCOS Driver Operating system-specific Licences Royalty-free Update mechanism Not necessary, because the driver loads the firmware via CompactPCI Page 14 of 30 Manual • Doc. No.: I.2329.21 / Rev. 1.3 CPCI-PN-DEV...
  • Page 15: Host-Operating System And Drivers

    Software 7.2 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 PNCTL_START: Start the gateway application – PNCTL_SEND: Transmit the input process data to PROFINET IO –...
  • Page 16: Pnctl_Send

    => Offset and/or len do not match the PN input buffer pnStatus: >=0 => Data read <0 => Firmware running with error code. No data transferred. Description: Receive the output process data from PROFINET IO Page 16 of 30 Manual • Doc. No.: I.2329.21 / Rev. 1.3 CPCI-PN-DEV...
  • Page 17: Library And Application Software

    0 != result ) { printf("DIOCTL_START:%s PN Status:0x%08x\n", strerror(result), pnStatus); return -1; printf("PN-Node=%d Baudrate=%d, OutBufferLen=%d, InBufferLen=%d\n", pnStart.node, pnStart.baud, pnStart.buf_out_len, pnStart.buf_in_len ); switch( test ) { case 1: do { CPCI-PN-DEV Manual • Doc. No.: I.2329.21 / Rev. 1.3 Page 17 of 30...
  • Page 18 } 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 18 of 30 Manual • Doc. No.: I.2329.21 / Rev. 1.3 CPCI-PN-DEV...
  • Page 19: Using The Cpci-Pn-Dev With The Tia Portal V13Sp1

    7.4 Using the CPCI-PN-DEV with the TIA Portal V13SP1 NOTICE This chapter does only describe the steps which are relevant for the usage of the esd GSDML file and the CPCI-PN-DEV with the TIA Portal. Please read the documentation of your TIA Portal for a detailed description.
  • Page 20: Installation Of The Gsdml File

    7.4.2 Installation of the GSDML File IMPORTANT Before you start with the installation of the GSDML file for the CPCI-PN-DEV 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 21 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-PN-DEV Manual • Doc. No.: I.2329.21 / Rev. 1.3 Page 21 of 30...
  • Page 22: Insert Cpci-Pn-Dev Hardware And Network Configuration

    Therefore choose Other field devices->PROFINET IO->Network Components->"esd electronic system design gmbh"->CPCI-DEV-PN->CPCI-DEV-PN . To import the device in your project, select the CPCI-PN-DEV with the left mouse button in the tree-structure in the field Catalogue, drag it into the field Network View and drop it.
  • Page 23: Customize The Automatically Generated Name

    The CPCI-PN-DEV is connected to the PLC_1 now. Figure 12: Connection is established 7.4.4 Customize the automatically generated Name Double click on the newly added CPCI-PN-DEV in the Network view. The device name is displayed in the first line in the tab Device overview.
  • Page 24 The new name is assigned now as you see in Figure 16 and the status OK is shown in the table. Figure 16: New name is assigned Page 24 of 30 Manual • Doc. No.: I.2329.21 / Rev. 1.3 CPCI-PN-DEV...
  • Page 25: Insert I/O Words For Exchange Of Information

    Hardware catalogue the window Catalog of the CPCI-PN-DEV. Open the folder Headmodules / Module. Select the required data structures and drag and drop them into the slots of the CPCI-PN-DEV. Figure 18: Example for assigned slots Do not leave any free rows in the assignment of the slots.
  • Page 26: Go Online

    Figure 20: Download hardware (detail) 7.4.7 Go online Click on the button Go online in the tool bar under the main menu to change to online mode. Page 26 of 30 Manual • Doc. No.: I.2329.21 / Rev. 1.3 CPCI-PN-DEV...
  • Page 27 Input elements are omitted. Die CPCI-PN-DEV transmits an input process image to the PLC, in which all input elements are shown in the order as they are listed in the slots. Output elements are omitted.
  • Page 28: Declaration Of Conformity

    Declaration of Conformity 8. Declaration of Conformity Page 28 of 30 Manual • Doc. No.: I.2329.21 / Rev. 1.3 CPCI-PN-DEV...
  • Page 29: Profinet Io Certificate

    PROFINET IO Certificate 9. PROFINET IO Certificate CPCI-PN-DEV Manual • Doc. No.: I.2329.21 / Rev. 1.3 Page 29 of 30...
  • Page 30: Order Information

    Table 7: Order information PDF Manuals Manuals are available in English and usually in German as well. For availability of 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