Instruction manual
Table Of Contents
- INTRODUCTION
- GETTING STARTED
- MAKING THE CONNECTIONS
- USING THE PC215E
- STRUCTURE AND ASSIGNMENTS OF THE REGISTERS
- Register Assignments
- Register Groups
- The Register Details
- Programmable Peripheral Interface PPI-X Data Register Port A
- Programmable Peripheral Interface PPI-X Data Register Port B
- Programmable Peripheral Interface PPI-X Data Register Port C
- Programmable Peripheral Interface PPI-X Command Register
- Programmable Peripheral Interface PPI-Y Data Register Port A
- Programmable Peripheral Interface PPI-Y Data Register Port B
- Programmable Peripheral Interface PPI-Y Data Register Port C
- Programmable Peripheral Interface PPI-Y Command Register
- Z1 Counter 0 Data Register
- Z1 Counter 1 Data Register
- Z1 Counter 2 Data Register
- Counter/Timer Z1 Control Register
- Z1 Counter/Timer Status Register
- Z2 Counter 0 Data Register
- Z2 Counter 1 Data Register
- Z2 Counter 2 Data Register
- Counter/Timer Z2 Control Register
- Z2 Counter/Timer Status Register
- Group Z Clock Connection Register
- Group Z Gate Connection Register
- Interrupt Source Selection Register
- Interrupt Status Register
- PROGRAMMING THE PC215E
- Copyright
- Files installed from the Distribution Diskette
- Windows DLL and Examples
- DOS 'C' Library and Examples
- Using the Dynamic Link Library
- Windows and DOS Library Functions
- Initialisation Functions
- Interrupt Control Functions
- Data Buffer Functions
- Timer/Counter Functions
- Differential Counter Functions
- Frequency Generation Functions
- Millisecond Stopwatch Functions
- Frequency Input and Output Functions
- Digitally- and Voltage-Controlled Oscillator Functions
- Digital Input/Output Functions
- Switch Scanner Matrix Functions
- Bi-Directional Data Bus Functions
- PC215E Library Error Codes
- PC215E Interface Guide For LABTECH NOTEBOOK
- Guide to User Programming
- Signal Centre
- CONTENTS
- DECLARATION OF CONFORMITY

PC215E Page 16
4. USING THE PC215E
This chapter describes the various operations associated with implementing the user’s application.
Programming and usage operations are discussed and include references to the various register
operations and software library functions required for each application. Details of the registers and
software are given in chapters 5 and 6 respectively.
Reference should also be made to chapter 2 ‘Getting Started’ and chapter 3 ‘Making the Connections’
before implementing any of the described operations.
4.1 Multiple PC215E Boards in a Single Application
More than one PC215E board may be installed in a single host PC. Furthermore, up to eight of
any combination of boards in the PC214E, PC215E, PC212E, PC218E and PC272E range may
be installed in a single host PC.
To install more than one board in the host PC, the following points should be checked:
1. Sufficient space is available to mount the required number of boards.
2. Sufficient power is available for all the plug in boards and adapters. Each PC215E
requires +5V at up to 30 mA (unloaded).
3. The base address of each board is set by switch SW1 to a different value, preferably at
contiguous even addresses, and with no conflict with other installed devices. Suitable
base addresses for four boards could be 300
16
, 320
16
, 340
16
and 360
16
.
4. The interrupt level (IRQ) of each board is set by jumper J1 to a different value, and with
no conflict with other installed devices.
4.2 User Applications
The PC215E board features two uncommitted 82C55 CMOS Programmable Peripheral
Interface devices, PPIX and PPIY, and two uncommitted 82C54 CMOS Counter/Timer devices,
Z1 and Z2, all of which can each be configured in a variety of operating modes. The operational
mode for each device is established by writing to its control register.
The Windows DLL and the DOS 'C' library contain functions that implement a number of typical
applications for these devices. These functions can be used with any board in the PC214E,
PC215E, PC212E, PC218E and PC272E range. The following paragraphs describe the twelve
applications.