PEP Modular Computers PMC251 User manual

® PEP Modular Computers GmbH
This page was intentionally left blank.

PMC251 Preface
Preface
Revision History........................................................... 0 - 4
Trademarks.................................................................. 0 - 4
Explanation of Symbols ............................................... 0 - 5
For Your Safety............................................................ 0 - 6
High Voltage Safety Instructions.............................. 0 - 6
Special Handling and Unpacking Instructions.......... 0 - 6
General Instructions on Usage................................. 0 - 7
Two Years Warranty .................................................... 0 - 8
Table of Contents......................................................... 0 - 9
ID 19942, Rev. 0100 Page 0 - 3® PEP Modular Computers GmbH

Preface PMC251
2.1 Revision History
This document contains information proprietary of PEP Modular Computers. 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 PEP Modular Computers GmbH or one of its autho-
rized agents.
The information contained in this document is, to the best of our knowledge, entirely correct.
However, PEP Modular Computers cannot accept liability for any inaccuracies, or the conse-
quences thereof, nor for any liability arising from the use or application of any circuit, product,
or example shown in this document.
PEP Modular Computers reserve the right to change, modify, or improve this document or the
product described herein, as seen fit by PEP Modular Computers without further notice.
2.1 Trademarks
PEP Modular Computers, the PEP logo and “CXM” are trade marks owned by PEP Modular
Computers GmbH, Kaufbeuren (Germany). In addition, this document may include names,
company logos and trademarks, which are registered trademarks and, therefore, proprietary
of their respective owners.
ID 19942, Rev. 0100Page 0 - 4 ® PEP Modular Computers GmbH
Revision History
Manual/Product Title: PMC251
Manual ID Number: 19942
Rev.
Index Brief Description of Changes Board Index Date of
Issue
0100 Initial Issue -- Mar. 99

PrefacePMC251
ID 19942, Rev. 0100 Page 0 - 5® PEP Modular Computers GmbH
Explanation of Symbols
CE Conformity
This symbol indicates that the item described in this manual
is in compliance with all applied CE standards. See also the
section “Applied standards” of this manual.
Caution!
This symbol and title warn you of hazards due to electrical
shocks (> 60 V) when touching products or parts of them.
The non-observance of the measures indicated and/or pre-
scribed by the law may cause harm to your product and/or
life/health.
See also the section “High Voltage Safety Instructions”.
ESD-Sensitive Device!
This symbol and title inform you that electronic boards and
their components are sensitive to static electricity. There-
fore, care must be taken during all handling operations and
inspections of this product, in order to ensure product integ-
rity at all times.
Please read also the section “Special Handling and Unpack-
ing Instructions” of this manual.
Attention!
This symbol and title emphasize aspects which, if not read
through carefully by the reader, might cause hazards to
health and/or damages to material.
Note:
This symbol and title emphasize aspects the reader should
read through carefully for his or her own advantage.
PEP Advantage
This symbol and title emphasize advantages or positive
aspects of a product and/or procedure.
Troubleshooting
This symbol and title characterize a message containing
useful information on troubleshooting and problem solving.
!
$

PMC251Preface
2.1 For your safety
Your new PEP product was developed and tested carefully to provide all features necessary
to ensure the renown electrical safety requirements. It was also designed for a long fault-free
life. However, the life expectancy of your product can be drastically reduced by improper treat-
ment during unpacking and installation. Therefore, in the interests of your own safety and of
the correct operation of your new PEP product, you are requested to conform with the follow-
ing guidelines.
High Voltage Safety Instructions
Special Handling and Unpacking Instructions
$Do not handle this product out of its protective enclosure while it is not used for opera-
tional purposes, unless it is otherwise protected.
$Whenever possible, unpack or pack this product only at EOS/ESD safe work stations.
Where safe work stations are not guaranteed, it is important for the user to be electri-
cally discharged before touching the product with his/her hands or tools. This is most
easily done by touching a metal part of your system housing.
$It is particularly important to observe standard anti-static precautions when changing
piggybacks, ROM devices, jumper settings etc. If the product contains batteries for RTC
or memory back-up, ensure that the board is not placed on conductive surfaces, includ-
ing anti-static plastics or sponges. They can cause short circuits and damage the batter-
ies or tracks on the board.
Warning!
All operations on this device must be carried out by sufficiently
skilled personnel only.
Caution!
However, serious electrical shock hazards exist during all installa-
tion, repair and maintenance operations with this product. There-
fore, always unplug the power cable to avoid exposure to
hazardous voltage.
Before installing your new PEP product into a system always
ensure that your mains power is switched off. This applies also to
the installation of piggybacks.
ESD Sensitive Device!
Electronic boards and their components are sensitive to static
electricity. Therefore, care must be taken during all handling oper-
ations and inspections of this product, in order to ensure product
integrity at all times.
!
ID 19942, Rev. 0100Page 0 - 6 ® PEP Modular Computers GmbH

PrefacePMC251
General Instructions on Usage
$In order to maintain PEP’s product warranty, this product must not be altered or modi-
fied in any way. Changes or modifications to the device, which are not explicitly
approved by PEP Modular Computers and described in this manual or received from
PEP Technical Support as a special handling instruction, will void your warranty.
$This device should only be installed in or connected to systems that fulfill all necessary
technical and specific environmental requirements. This applies also to the operational
temperature range of the specific board version, which must not be exceeded. If batter-
ies are present, their temperature restrictions must be taken into account.
$In performing all necessary installation and application operations, please, follow only
the instructions supplied by the present manual.
$Keep all the original packaging material for future storage or warranty shipments. If it is
necessary to store or ship the board please re-pack it as nearly as possible in the man-
ner in which it was delivered.
$Special care is necessary when handling or unpacking the product. Please, consult the
special handling and unpacking instruction on the previous page of this manual.
ID 19942, Rev. 0100 Page 0 - 7® PEP Modular Computers GmbH

PMC251Preface
2.1 Two Years Warranty
PEP Modular Computers grants the original purchaser of PEP products a TWOYEARSLIMITED
HARDWAREWARRANTYas described in the following. However, no other warranties that may
be granted or implied by anyone on behalf of PEP are valid unless the consumer has the
express written consent of PEP Modular Computers.
PEP Modular Computers warrants their own products, excluding software, to be free from
manufacturing and material defects for a period of 24 consecutive months from the date of
purchase. This warranty is not transferable nor extendible to cover any other users or long-
term storage of the product. It does not cover products which have been modified, altered or
repaired by any other party than PEP Modular Computers or their authorized agents. Further-
more, any product which has been, or is suspected of being damaged as a result of negli-
gence, improper use, incorrect handling, servicing or maintenance, or which has been
damaged as a result of excessive current/voltage or temperature, or which has had its serial
number(s), any other markings or parts thereof altered, defaced or removed will also be
excluded from this warranty.
If the customer’s eligibility for warranty has not been voided, in the event of any claim, he may
return the product at the earliest possible convenience to the original place of purchase,
together with a copy of the original document of purchase, a full description of the application
the product is used on and a description of the defect. Pack the product in such a way as to
ensure safe transportation (see our safety instructions).
PEP provides for repair or replacement of any part, assembly or sub-assembly at their own
discretion, or to refund the original cost of purchase, if appropriate. In the event of repair,
refunding or replacement of any part, the ownership of the removed or replaced parts reverts
to PEP Modular Computers, and the remaining part of the original guarantee, or any new
guarantee to cover the repaired or replaced items, will be transferred to cover the new or
repaired items. Any extensions to the original guarantee are considered gestures of goodwill,
and will be defined in the “Repair Report” issued by PEP with the repaired or replaced item.
PEP Modular Computers will not accept liability for any further claims resulting directly or indi-
rectly from any warranty claim, other than the above specified repair, replacement or refund-
ing. In particular, all claims for damage to any system or process in which the product was
employed, or any loss incurred as a result of the product not functioning at any given time, are
excluded. The extent of PEP Modular Computers liability to the customer shall not exceed the
original purchase price of the item for which the claim exists.
PEP Modular Computers issues no warranty or representation, either explicit or implicit, with
respect to its products’ reliability, fitness, quality, marketability or ability to fulfil any particular
application or purpose. As a result, the products are sold “as is,” and the responsibility to
ensure their suitability for any given task remains that of the purchaser. In no event will PEP
be liable for direct, indirect or consequential damages resulting from the use of our hardware
or software products, or documentation, even if PEP were advised of the possibility of such
claims prior to the purchase of the product or during any period since the date of its purchase.
Please remember that no PEP Modular Computers employee, dealer or agent is authorized to
make any modification or addition to the above specified terms, either verbally or in any other
form, written or electronically transmitted, without the company’s consent.
ID 19942, Rev. 0100Page 0 - 8 ® PEP Modular Computers GmbH

PMC251 Preface
ID 19942, Rev. 0100 Page 0 - 9® PEP Modular Computers GmbH
Table of Contents
Chapt 1
Chapter 1
1. Introduction ............................................................1 - 3
1.1 System Overview .............................................1 - 3
1.2 System Components .......................................1 - 4
1.3 Product Overview ............................................1 - 7
1.4 Functional Block Diagram ................................1 - 7
1.5 Board Interfaces ..............................................1 - 7
1.6 Fieldbus Interface ............................................1 - 9
1.7 Board Layout .................................................1 - 10
1.8 Front Panel ....................................................1 - 11
1.9 Technical Specifications................................ 1 - 11
1.10 CE Compliance ..............................................1 - 12
1.11 Related Publications ......................................1 - 13
Chapter 2
2. Functional Description ...........................................2 - 3
2.1 PMC251 Address Map ....................................2 - 3
2.2 Board Control/Status Register .........................2 - 3

Preface PMC251
ID 19942, Rev. 0100Page 0 - 10 ® PEP Modular Computers GmbH
Chapter 3
3. Configuration .........................................................3 - 3
3.1 Jumper Setting .................................................3 - 3
3.2 Pinouts .............................................................3 - 3
Chapter 4
4. Programming .........................................................4 - 3
4.1 PEP PROFIBUS Documentation .....................4 - 3

PMC251
ID 19942, Rev. 0100
Introduction
Page 1 - 1® PEP Modular Computers GmbH
Introduction
1.1 System Overview................................................................. 1 - 3
1.1.1 Note on CompactPCI.................................................. 1 - 3
1.1.2 Main Features of CompactPCI Systems..................... 1 - 3
1.2 System Components........................................................... 1 - 4
1.3 Product Overview................................................................ 1 - 7
1.4 Functional Block Diagram.................................................... 1 - 7
1.5 Board Interfaces.................................................................. 1 - 8
1.5.1 PCI Bus Interface Block.............................................. 1 - 8
1.5.2 PCI-to-Local Interface Block...................................... 1 - 8
1.6 Fieldbus Interface................................................................ 1 - 9
1.6.1 On-Board Bus Error Timer.......................................... 1 - 9
1.6.2 Watchdog Timer.......................................................... 1 - 9
1.7 Board Layout..................................................................... 1 - 10
1.8 Front Panel........................................................................ 1 - 11
1.9 Technical Specifications.................................................... 1 - 11
1.10 Applied Standards............................................................. 1 - 12
1.10.1 CE Compliance......................................................... 1 - 12
1.10.2 Mechanical Compliance............................................ 1 - 13
1.10.3 Environmental Tests................................................. 1 - 13
1.11 Related Publications.......................................................... 1 - 13
1.11.1 CompactPCI Systems/Boards .................................. 1 - 13
1.11.2 PMC Add-On Modules/Carriers................................ 1 - 13
Chapter1

® PEP Modular Computers GmbH
This page was intentionally left blank.

PMC251 Introduction
ID 19942, Rev. 0100 Page 1 - 3® PEP Modular Computers GmbH
1. Introduction
1.1 System Overview
The PEP Modular Computers CompactPCI systems described in this chapter operate
with the PCI bus architecture to support additional I/O and memory-mapped devices as
required by various industrial applications. In the following you will find the most impor-
tant information on all system relevant CompactPCI features. For more detailed infor-
mation concerning the CompactPCI standard, please consult the complete Peripheral
Component Interconnect (PCI) and CompactPCI Specifications. For further information
regarding these standards and their use, visit the homepage of the PCI Industrial Com-
puter Manufacturers Group (PICMG).
1.1.1 Note on CompactPCI
CompactPCI is an extension of the PCI specification. It has been optimized for industrial
and embedded applications that require a more robust mechanical form factor as com-
pared to Desktop PCI. CompactPCI systems use industry standard mechanical compo-
nents and high performance connector technologies to provide systems that are well
suited for rugged applications. CompactPCI stands for systems that are electrically
compatible with the PCI Specification, allowing low cost PCI components to be used.
CompactPCI is an open specification supported by PICMG.
1.1.2 Main Features of CompactPCI Systems
Some of the outstanding features of the CompactPCI systems compliant with Specifica-
tion 2.0, Release 2.1 are:
•PCI signalling
•32 and 64 bit data transfer at 33 MHz
•up to 16 PCI slots per backplane
•industry standard software support
•3U small form factor (100 mm by 160 mm)
•6U form factor (233 mm by 160 mm)
•Eurocard packaging
•wide variety of available I/O functions
•industry support from over 350 members.
•possibility of PMC modules on some boards
PEP Advantage
PEP Modular Computers’ CompactPCI systems are designed as
open systems, able to be expanded at any time, so that their back-
planes can be equipped with precisely the CPCI boards that corre-
spond to a customer’s specific needs. However, in order to supply
you with an appropriate choice of workstations, the PEP basic
equipment is divided into pre-configured sets and custom solutions.

PMC251 Introduction
ID 19942, Rev. 0100Page 1 - 4 ® PEP Modular Computers GmbH
1.2 System Components
PEP Modular Computers have devised their CompactPCI systems as a comprehensive
open solution for industrial environments, offering different workstation configurations
which are capable of including all the components necessary to fulfill the requirements
of virtually all existing system functionalities.
CompactPCI Backplane(s)
•4-slot backplane;
•6-slot backplane;
•8-slot backplane;
•16-slot backplane.
CPU Function
PEP Modular Computers provides CPU boards corresponding in size and characteris-
tics to the special features of the PEP systems.
Display Related Functions
Display related functions such as frame grabbing are supported by dedicated boards.
Communication
Communication boards are provided for the currently relevant industrial communication
systems such as Fast Ethernet.
Fieldbus Control
Fieldbus control boards provide data exchange with field control and automation sub-
systems like PEP Modular Computers’ SMART2 or VMEbus systems using up-to-date
transmission standards for example:
•CAN fieldbus control
•PROFIBUS control
Industrial I/O Functions
PEP’s CompactPCI systems support an ever increasing number of industrial I/O func-
tionalities in the fields of:
•Digital I/O
•Analog I/O
Self-Testing
A special PEP self-testing board provides a trouble-spotting capability within your PEP
system.
System Hardware
The PEP CompactPCI system hardware includes housings, storage devices, power
supply units, network adapters etc. The most important system hardware elements with
which to configure your CompactPCI system are as follows:

PMC251 Introduction
ID 19942, Rev. 0100 Page 1 - 5® PEP Modular Computers GmbH
Multiprocessor
In a CompactPCI multiprocessor system, a system controller communicates with other
CPU’s through a non-transparent PCI / PCI bridge. PEP Modular Computers’
CompactPCI system controllers, CP600/CP610, which are designed to work together
with PEP CPU’s, CP611/CP612, provide full multiprocessor solutions.
Housings
•Board cages for 19-inch cabinets or wall mounting
•PCI tower
•PCI desktop housing
Mass Storage Devices
•Hard-disk drive
•Floppy-disk drive
•CD-ROM drive
Power Supply Units
•6U “M”, 270 W, 120/230 V AC, 3.3V/30A, 5.1V/20A, 12V/4A, -12V/2A
•3U “M”, 180 W, 120/230 V AC, 3.3V/14A, 5.1V/20A, 12V/2A, -12V/1A
•“ATX”, 235 W, 120/230 VAC, 3.3V/14A, 5V/22A, 12V/8A,-12V/1A, -5V/0.5A,
5VSB/0.1A
Form Factors
PEP Modular Computers CompactPCI boards are available in different form factors,
mainly as 3U (single-height) and 6U (double-height) boards and as 4HP (single-width),
8HP (double-width), and 12HP (triple-width) boards.
Please note that the following units of measurement are used to express the dimensions
of PEP CompactPCI card slots:
•Height: 1 U = 44.45 mm
•Width: 1 HP = 5.08 mm
On certain boards/carriers with PMC connectors, PMC add-on modules can also be
installed. Please note that the form factor of PEP Modular Computers PMC modules is:
•149mm x 74mm (single-size standard).
For a detailed description of the PEP Modular Computers CompactPCI modules please
consult the specific component’s manuals or data sheets.
PEP Advantage
As the PEP Modular Computers CompactPCI system provides
comprehensive open solutions, new features and functionalities
may be added to our range. To keep abreast of the latest develop-
ments, please contact your local PEP Sales Office or visit the PEP
Web Site.

PMC251 Introduction
ID 19942, Rev. 0100Page 1 - 6 ® PEP Modular Computers GmbH
Figure 1-1: Example of a PEP Modular Computers CompactPCI System
ImageControl
WD Timer
HDD
FDD
CD-ROM
COM
LPT
Keyboard
SMART2
SMART I/O
PEP9300
Host
Computer
WWW
CPU
Server
Computer
Fast
Ethernet
VGA
LVDS
Graphics
F.Ethernet
Communic. RGB
SYNC
IndustrialI/O
Digital I/O
Analog I/O
CPCI Backplane
Fieldbus
PROFIBUS
CAN
Host
Computer
Multi
Processor
C
ompactPCI
W
orkstation
Add-on
Carriers
Add-ons

PMC251 Introduction
ID 19942, Rev. 0100 Page 1 - 7® PEP Modular Computers GmbH
1.3 Product Overview
The PMC251 is an intelligent PROFIBUS controller board providing PROFIBUS FMS
master/slave and PROFIBUS DP master functionality with high communication speeds.
The PROFIBUS protocol FMS is particularly well suited for general purpose communi-
cation at cell or field level, while DP is designed for time-critical communication between
systems and distributed peripherals.
To exchange data between the local Motorola M68360 CPU and the system host CPU,
a PCI-to-local bridge, an SRAM interface architecture and an interrupt mechanism are
realized.
1.4 Functional Block Diagram
Figure 1-2: PMC251 Functional Block Diagram
Llll
PMC INTERFACE
PROFIBUS
Interface
LED
SRAM SRAM
CPU
PCI-to-Local
Bridge
PROFIBUS
Controller Control
Logic

PMC251 Introduction
ID 19942, Rev. 0100Page 1 - 8 ® PEP Modular Computers GmbH
1.5 Board Interfaces
1.5.1 PCI Bus Interface Block
The PMC251 is interfaced to the PCI bus via the TUNDRA PCI-to-local processor
bridge (QSPAN chip).
•32-bit PCI interface capabilities on both the local bus (QBus) and the PCI Bus
•Master and slave capability on both busses
•Decoupled transfer technology: FIFO
•Four user programmable images
•Serial EEPROM interface for Plug and Play compatibility
•Interrupt generator on PCI and processor bus
•QSPAN control and status register accessible both from PCI and processor bus
Figure 1-3: PCI-to-Local Bridge Functional Block Diagram
1.5.2 PCI-to-Local Interface Block
The QSPAN PCI interface is made up of a PCI Master Module and a PCI Target Mod-
ule. For transfers from QBus to the PCI Bus the QSPAN provides the QBus slave chan-
nel. A transfer from the QBus to the PCI bus is initiated by a dedicated chip select
signal (CSPCI) whereas two independent, progammable slave images access PCI
memory and I/O spaces. Data transfers from QBus to PCI Bus are either posted (64
byte FIFO for zero wait state bursting on the PCI bus) or delayed accesses.
For the transfers from PCI to the QBus the PCI target channel is used. Two programma-
ble target images can be mapped anywhere in memory or I/O space. The transfers from
PCI to QBus can also be posted or delayed whereas these transactions are always buff-
ered. Therefore, delayed single transfers are buffered in the single transfer buffer, and
PCI Master
Module QBus Slave
Module
PCI Target
Module QBus Master
Module
Q-FIFO
I-FIFO
QBus Slave Channel
IDMA Channel
Register
Channel
Interrupter
P-FIFO
PCI Target Channel
PCI Bus
QBus

PMC251 Introduction
ID 19942, Rev. 0100 Page 1 - 9® PEP Modular Computers GmbH
all the other transfers are buffered in a 64 byte FIFO. Higher transfer performance can
be reached by the use of the IDMA channel.
For the configuration of the QSPAN’s transfer channels as described above, 4 KBytes of
configuration and status registers are provided which can be accessed both from PCI
and local side (QBus).
Further the PCI interface allows the generation of interrupts to the PCI and the QBus
(one dedicated interrupt pin per side).
For the realization of Plug and Play compatibility it is possible to program certain
QSPAN registers from a serial EEPROM at system reset or power up.
1.6 Fieldbus Interface
The fieldbus interface is an opto-isolated RS485 interface providing RxD and TxD lines.
The RTS signal is used to enable the transmitter and the serial interface is opto-isolated
between the ASPC2 and the transceiver.
The RS485 interfaces are routed to a 9-pin D-Sub connector. This interface is used in
conjunction with external connectors providing integrated termination as the PROFIBUS
interface itself is not provided with termination resistors. A list of recommended external
connectors is given in chapter “Configuration” of this manual.
A zero ohm resistor is also present on the board to disconnect the local supply from the
fieldbus. This is used for those applications that may require an external supply. The
standard installation is with isolated 5V termination power.
1.6.1 On-Board Bus Error Timer
The CP 351 provides an on-board bus error timer which monitors the cycle lengths of
data transfers to and from locations beyond the CPU data bus buffer.
1.6.2 Watchdog Timer
The on-board system reset generator is triggered at timeout by a watchdog timer.

PMC251 Introduction
ID 19942, Rev. 0100Page 1 - 10 ® PEP Modular Computers GmbH
1.7 Board Layout
Figure 1-4: PMC251 Board Layout (Front Side)
1.8 Front Panel
Figure 1-5: PMC251 Front Bezel
The PMC251 front bezel is provided with a female 9-pin DSUB connec-
tor according to DIN 19245 supplying potential-free termination power.
A yellow LED indicating the RTS status is provided:
LED “ON” = Transmission active.
PCI
BRIDGE
1 1
64 64
2 2
63 63
CON2
CON3
CPU SRAM
SRAM
PROFIBUS
CONTROLLER
CLOCK
BUFFER
CHIP
DATA
BUFFER
ADDRESS
BUFFERS
DC/DC
PROFIBUS
LED
Table of contents
Other PEP Modular Computers Carrier Board manuals