Kontron CP384 User Manual
Kontron CP384 User Manual

Kontron CP384 User Manual

16 digital inputs - 8 digital outputs (relay) compactpci controller
Table of Contents

Advertisement

Quick Links

CP384
16 Digital Inputs - 8 Digital Outputs (Relay)
CompactPCI Controller
Manual ID: 31440, Rev. Index 01
3 May 2006
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Kontron CP384

  • Page 1 CP384 16 Digital Inputs - 8 Digital Outputs (Relay) CompactPCI Controller Manual ID: 31440, Rev. Index 01 3 May 2006 User Guide...
  • Page 2: Imprint

    Disclaimer Copyright © 2006 Kontron AG. All rights reserved. All data is for information purposes only and not guaranteed for legal purposes. Information has been carefully checked and is believed to be accurate; however, no responsibility is assumed for inaccuracies.
  • Page 3: Table Of Contents

    Board Layout .................. 1 - 9 1.6 Technical Specifications ............... 1 - 10 1.7 Software Support ................... 1 - 12 1.8 Applied Standards ................. 1 - 13 1.9 Related Publications ..................1 - 13 ID 31440, Rev. 01 Page iii Kontron Modular Computers GmbH...
  • Page 4 3.2 Software Installation ................3 - 5 Chapter Configuration ....................4 - 3 4.1 Jumper Settings ..................4 - 3 4.2 Digital Input Signal Requirements ............4 - 3 4.2.1 Channels ..................4 - 3 Page iv ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 5 5.4 Debouncing for Digital Inputs ..............5 - 3 5.5 Process-Side Signal Conditioning for Digital Inputs ........ 5 - 4 5.6 External Power Supply for Digital Outputs ..........5 - 4 5.7 Cable Interfacing ..................5 - 4 ID 31440, Rev. 01 Page v Kontron Modular Computers GmbH...
  • Page 6 Preface CP384 This page has been intentionally left blank. Page vi ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 7: List Of Tables

    Pinout of the Digital Input and Output Interface Connector CON2 ..2 - 7 Pinout of the CPCI Connector CON1 (J1) ..........2 - 9 Digital Input Function Modes of the CP384 ........... 2 - 10 Backend Register Address Map .............. 4 - 8 Input Data Register ..................
  • Page 8 Preface CP384 4-24 ROM Status Register ................4 - 16 4-25 ROM Data Register ................4 - 16 Debouncing Periods ................. 5 - 4 Page viii ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 9: List Of Figures

    CP384 Preface List of Figures CP384 System Level Interfacing Diagram ..........1 - 8 CP384 Front Panel .................. 1 - 9 CP384 Board (Front View) ............... 1 - 9 CP384 Board Level Interfacing ..............2 - 4 Pin Layout of the Digital Input and Output Interface Connector CON2 .
  • Page 10 Preface CP384 This page has been intentionally left blank. Page x ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 11: Proprietary Note

    This document contains information proprietary to Kontron Modular Computers GmbH. It may not be copied or transmitted by any means, disclosed to others, or stored in any retrieval system or media without the prior written consent of Kontron Modular Computers GmbH or one of its authorized agents.
  • Page 12: Explanation Of Symbols

    Note ... This symbol and title emphasize aspects the reader should read through carefully for his or her own advantage. Page xii ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 13: For Your Safety

    However, the life expectancy of your product can be drastically reduced by improper treatment during unpacking and installation. Therefore, in the interest of your own safety and of the correct operation of your new Kontron product, you are requested to conform with the following guidelines.
  • Page 14: General Instructions On Usage

    CP384 General Instructions on Usage In order to maintain Kontron’s product warranty, this product must not be altered or modified in any way. Changes or modifications to the device, which are not explicitly approved by Kontron Modular Computers GmbH and described in this manual or received from Kontron’s Technical Support as a special handling instruction, will void your warranty.
  • Page 15: Two Year Warranty

    However, no other warran- YEAR LIMITED HARDWARE WARRANTY ties that may be granted or implied by anyone on behalf of Kontron are valid unless the con- sumer has the express written consent of Kontron Modular Computers GmbH.
  • Page 16 Preface CP384 This page has been intentionally left blank. Page xvi ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 17: Introduction

    CP384 Introduction Chapter Introduction ID 31440, Rev. 01 Page 1 - 1 Kontron Modular Computers GmbH...
  • Page 18 Introduction CP384 This page has been intentionally left blank. Page 1 - 2 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 19: System Overview

    • Information on the distinctive features of Kontron CompactPCI boards, such as function- ality, hot swap capability. In addition, an overview is given for all existing Kontron Com- pactPCI boards with links to the relating data sheets.
  • Page 20: Product Overview

    As an enhancement to this concept, the CP384 combination board has been designed to im- plement digital input and digital output functions on one board. The CP384 is a 3U/4HP Com- pactPCI board which provides 24 channels that are organized into two separate clusters, one cluster consisting of 16 channels for digital input, and one cluster consisting of 8 channels of relay switched (SPDT) digital output.
  • Page 21: Board Overview

    Board Overview 1.3.1 Board Introduction The CP384 is a digital input and digital output board which provides 24 channels grouped into one digital input cluster consisting of 16 channels and one digital output clusters consisting of 8 channels. ID 31440, Rev. 01...
  • Page 22 This reset can be used by the application to keep the inputs low after a fault condition occurs. Page 1 - 6 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 23: Board Specific Information

    When implementing applications, precautions must be taken to ensure that the input signals presented to the CP384 comply with the specifications set forth in this manual. For this reason it will be necessary for most applications to provide signal conditioning prior to presenting the digital inputs to the CP384.
  • Page 24: Board Diagrams

    Introduction CP384 Board Diagrams The following diagrams illustrate board functionality and component layout. 1.5.1 System Level Interfacing Figure 1-1: CP384 System Level Interfacing Diagram CompactPCI System System Master CPCI BUS Digital Input CP384 and Output System CP384 digital digital input...
  • Page 25: Front Panel

    LEDs. However, they are user configurable and may be employed for user defined RUN FAIL purposes. 1.5.3 Board Layout Figure 1-3: CP384 Board (Front View) LED1 CON3 Digital Input Signal Conditioning CapROM Channels 0 ... 15...
  • Page 26: Technical Specifications

    “11” relates to the data acquisition and signal processing control- lers and “0000” relates to the DPIO modules. Subsystem Device ID and Sub- system Vendor ID are defined by Kontron. Page 1 - 10 ID 31440, Rev. 01...
  • Page 27: Cp384 Digital Input Specifications

    This results in all outputs being switched to the NC position irrespective of the input data for these channels. Switching Voltage Range The CP384 is designed to switch up to 250V DC/AC and up to 0.5A of current, but the total power per contact being switched must be less then 15W. (Resistive Load) A relay’s life time is about 2x10...
  • Page 28: Software Support

    • 110 mA at 24.0V • 130 mA at 28.8V Signal Output No over current protection is provided by the CP384 for the digital outputs. If Over Current Protection over current protection is required, it must be provided by the application sys- tem.
  • Page 29: Applied Standards

    CP384 Introduction Applied Standards The Kontron Modular Computers’ CP384 board complies with the requirements of the following standards: Table 1-6: Applied Standards COMPLIANCE TYPE STANDARD TEST LEVEL Emission EN55022 EN61000-6-3 Immission EN55024 EN61000-6-2 Electrical Safety EN60950-1 Mechanical Mechanical Dimensions IEEE 1101.10...
  • Page 30 Introduction CP384 This page has been intentionally left blank. Page 1 - 14 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 31: Functional Description

    CP384 Functional Description Chapter Functional Description ID 31440, Rev. 01 Page 2 - 1 Kontron Modular Computers GmbH...
  • Page 32 Functional Description CP384 This page has been intentionally left blank. Page 2 - 2 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 33: General Information

    Board Level Interfacing Diagram The following figure demonstrates the interfacing structure between the internal processing modules of the CP384 and other major CP384 system components. Where CP384 system el- ements have common interfacing they are grouped into a block. Interfacing common to only one element of a block is indicated with a direct connecting line.
  • Page 34: Optoisolation

    Functional Description CP384 Figure 2-1: CP384 Board Level Interfacing CP384 Digital Input and Digital Output Controller CPCI Interface DIO ProComm Controller Optoisolation DIGOUT DIGIN CLUSTER CLUSTER Signal Signal Cond. Cond. RELAYS Inputs Outputs 0 ... 15 0 ... 7 Reset &...
  • Page 35: System Interfaces

    CompactPCI System Master. Applications address the CP384 through its software driver interface within the System Master whereby the controller accepts requests from the driver and executes them ac- cordingly.
  • Page 36: Digital Input And Output Interface

    The connection for the external supply (+24V DC ± 20%) is realized by reserved/defined pins within the output cluster at the front panel connector CON2. Note ... The external power is supplied only to the relay coils. Within the CP384, the external supply power is galvanically isolated from all digital output pins on CON2 At power up, all digital outputs are switched off (NC).
  • Page 37: Pinout Of The Digital Input And Output Interface Connector Con2

    DOUT1_NO DOUT1_NC DOUT1_Com DOUT2_NO DOUT2_NC DOUT2_Com DOUT3_NO DOUT3_NC DOUT3_Com DOUT4_NO DOUT4_NC DOUT4_Com DIGOUT DOUT5_NO DOUT5_NC DOUT5_Com DOUT6_NO DOUT6_NC DOUT6_Com DOUT7_NO DOUT7_NC DOUT7_Com EXTVCC EXTVCC EXTVCC EXTGND EXTRESET EXTGND ID 31440, Rev. 01 Page 2 - 7 Kontron Modular Computers GmbH...
  • Page 38: Cpci Interface And Pinout

    The CPCI interface is based on the specification PICMG 2.0 R 3.0, 10/1/99. The following fig- ure and table indicate the pin layout and pinout of the CPCI connector, CON1 (J1). Figure 2-3: CPCI Connector CON1 (J1) F EDCBA CON1 Page 2 - 8 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 39: Pinout Of The Cpci Connector Con1 (J1)

    3.3V PERR# SERR# 3.3V C/BE[1] 3.3V AD[15] AD[14] AD[13] AD[12] AD[11] AD[10] 3.3V AD[9] AD[8] M66EN C/BE[0] AD[7] 3.3V AD[6] AD[5] 3.3V AD[4] AD[3] AD[2] AD[1] AD[0] 3.3V ID 31440, Rev. 01 Page 2 - 9 Kontron Modular Computers GmbH...
  • Page 40: Caprom Eeprom

    CP384. Monitor and Control (M/C) Various monitor and control functions are available for the operation of the CP384. The front panel of the board is equipped with two LEDs for user-defined purposes. One green (RUN) and one red (FAIL) have been placed on the front panel in anticipation of their most likely use.
  • Page 41: Installation

    CP384 Installation Chapter Installation ID 31440, Rev. 01 Page 3 - 1 Kontron Modular Computers GmbH...
  • Page 42 Installation CP384 This page has been intentionally left blank. Page 3 - 2 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 43: Hardware Installation

    Installation Installation The CP384 has been designed for easy installation. However, the following standard precau- tions, installation procedures, and general information must be observed to ensure proper in- stallation and to preclude damage to the board or injury to personnel.
  • Page 44: Installation Procedures

    6. Ensure that the interfacing cables are properly secured. Warning! Proper and safe operation of the CP384 Digital Input and Digital Output Controller depends on the correct configuration of the external voltage and loads. System integrators must ensure that all voltages presented to the CP384 comply with the specifications set forth in this manual.
  • Page 45: Removal Procedures

    5. Dispose of the board as required observing applicable environmental regulations govern- ing the handling and disposition of this type of product. Software Installation Installation of the CP384 driver software is a function of the application operating system. For further information refer to the appropriate software documentation. ID 31440, Rev. 01...
  • Page 46 Installation CP384 This page has been intentionally left blank. Page 3 - 6 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 47: Configuration

    CP384 Configuration Chapter Configuration ID 31440, Rev. 01 Page 4 - 1 Kontron Modular Computers GmbH...
  • Page 48 Configuration CP384 This page has been intentionally left blank. Page 4 - 2 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 49: Jumper Settings

    4.2.1 Channels The CON2 connector of the CP384 provides two input pins per channel. This allows each chan- nel to be configured separately as required. This is illustrated in figure 2-2, which shows the front panel connector pinout, with the 16 input channels shown starting at the top of the con- nector with channel 0 (DIGIN cluster).
  • Page 50: Channel Configuration

    Signal inputs are required to be connected: plus to plus, minus to ground as shown in figure 4-3 below. Figure 4-3: Input Configuration (Example for Channel 0) CP384 Voltage DIGIN0+ Source Pin21 DIGIN0- Pin42 CON2 Page 4 - 4 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 51: Digital Output Signal Properties

    4.3.1 Channels The CON2 connector of the CP384 provides two output pins per channel. This is illustrated in figure 2-2, which shows the front panel connector pinout with the 8 output channels shown starting at the middle of the connector with channel 0.
  • Page 52: Channel Connection

    Configuration CP384 4.3.3 Channel Connection The following diagrams illustrate the external connection of the CP384 to the application. Figure 4-5: Digital Output Connectionr CON2 Supply Voltage ExtVCC Channel 0 External Channel 7 ExtGND CP384 External GND Figure 4-6: Digital Output Circuit...
  • Page 53: External Reset Connection

    20%, and it supplies only the power to drive the relay control circuits, but not the output channels themselves. The channel output pins are galvanically isolated from the VCC within the CP384 board. ID 31440, Rev. 01 Page 4 - 7 Kontron Modular Computers GmbH...
  • Page 54: Programming Interface

    Access Control Logic (Address Decoder) All the resources of the CP384 are mapped within the 64 kB PCI memory address space which itself is set in the PCI configuration register BAR0. The port size of all local or backend registers is 32-bit by default.
  • Page 55: Reading Input Data

    By default, all inputs are filtered through a passive analog low-pass filter placed immediately behind the input connector. Additionally, the CP384 provides a programmable digital debounc- er which is common for all inputs. The input ports are sampled at a programmable sample rate which is derived from PCI bus clock.
  • Page 56: Detecting Input Events

    4.4.4 Detecting Input Events Detecting events on input means that the CP384 hardware can supervise the input ports upon their changing state and without being continuously polled. This mode is controlled by three control registers. In the Input Event Mask Register, individual input events can be enabled which should be monitored.
  • Page 57: Latching On Input Events

    "1" to the corresponding bits in the Input Status Register. ID 31440, Rev. 01 Page 4 - 11 Kontron Modular Computers GmbH...
  • Page 58: Comparing Input Patterns

    Writing Output Data Table 4-12: Output Data Register BITS TYPE DEFAULT FUNCTION 31-8 Reserved Data, 8-bit digit Note ... Output data is 8 bit; this register is read/write enable. Page 4 - 12 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 59: Hardware Debug/Test Registers

    LEDs. Table 4-15: Hardware Debug Register BITS TYPE DEFAULT FUNCTION 31-2 Reserved FAIL Table 4-16: Hardware Status Register DEFAULT BITS TYPE FUNCTION 31-16 Reserved 15-8 Reserved Logic Version ID 31440, Rev. 01 Page 4 - 13 Kontron Modular Computers GmbH...
  • Page 60: Generating Interrupts

    Note ... A set bit means that the board’s interrupt is pending. A board interrupt must be cleared by writing a "1" to the corresponding output irqen event flag. Page 4 - 14 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 61: Programming The Board Capability Rom

    Read action) can be fetched from the ROM Data Register. Table 4-21: ROM Command Register BITS TYPE DEFAULT FUNCTION Startbit 30-0 Reserved Note ... The Startbit will be automatically reset as soon as an action is completed. ID 31440, Rev. 01 Page 4 - 15 Kontron Modular Computers GmbH...
  • Page 62: Rom Control Register

    Table 4-25: ROM Data Register BITS TYPE DEFAULT FUNCTION 31-8 Reserved Data (for data read and write commands) Page 4 - 16 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 63: System Considerations

    CP384 System Considerations Chapter System Considerations ID 31440, Rev. 01 Page 5 - 1 Kontron Modular Computers GmbH...
  • Page 64 System Considerations CP384 This page has been intentionally left blank. Page 5 - 2 ID 31440, Rev. 01 Kontron Modular Computers GmbH...
  • Page 65: Introduction

    The requirements for shielding can be seen primarily as a function of the system design and environment, but empirical results must also be considered. The CON2 connector has a metal housing which is connected to the CP384 shield and is iso- lated from the system ground.
  • Page 66: Process-Side Signal Conditioning For Digital Inputs

    10 kHz. Process-Side Signal Conditioning for Digital Inputs Input signals presented to the CP384 must be within the ranges specified for signals in table 1- 4 or erroneous results will occur as well as possible damage to the CP384. External Power Supply for Digital Outputs Voltage sources presented to the CP384 must be within the ranges specified in table 1-5 or erroneous results will occur as well as possible damage to the CP384.

Table of Contents