background image

PCI-1757UP User Manual

16

Chapter 3  Operation

3.1  Overview

This chapter describes how to operate PCI-1757UP. The driver software 
provided allows a user to access all of the card's functions without regis-
ter level programming. Please see the User's Manual for the driver bun-
dled with this card for more information. For those who prefer to 
implement their own bit-level programming to drive the card's functions, 
information useful for making such a program is included in this chapter.

3.2  Digital I/O Ports

3.2.1 Introduction

PCI-1757UP emulates one 8255 programmable peripheral interface (PPI) 
chip in mode 0, but with higher driving capability than a standard 8255 
chip. Each of the 8255 chips has 24 programmable I/O pins that are 
divided into three 8-bit ports, designated PA, PB and PC. Each port can 
be programmed as an input or an output port. The I/O pins in port A are 
designated PA0, PA1,..., PA7; the pins in port B are designated PB0, 
PB1,..., PB7, etc. These port names are used both in this manual and in 
the software library. Refer to Section 2.4, Pin Assignments.

3.2.2 8255 Mode 0

The basic functions of 8255 mode 0 include:
• Two 8-bit I/O ports - port A (PA) and port B (PB)
• Port C is divided into two nibble-wide (4-bit) I/O ports: PC upper and 
PC lower
• Any port can be used for either input or output.
• Output status can be read back.

    

Содержание PCI-1757UP

Страница 1: ...PCI 1757UP 24 channel Digital Input Output Low Profile Universal PCI Card User Manual...

Страница 2: ...ibility for its use nor for any infringements of the rights of third parties which may result from its use Acknowledgements PC LabCard is a trademark of Advantech Co Ltd IBM and PC are trademarks of I...

Страница 3: ...lacement materials service time and freight Please consult your dealer for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem enc...

Страница 4: ...exact wording of any error messages Packing List Before setting up the system check that the items listed below are included and in good condition If any item does not accord with the table please co...

Страница 5: ...n Pin24 JP2 12 2 4 Pin Assignments 13 2 5 Installation Instructions 14 Chapter 3 Operation 16 3 1 Overview 16 3 2 Digital I O Ports 16 3 2 1 Introduction 16 3 2 2 8255 Mode 0 16 3 2 3 Input Output Con...

Страница 6: ...PCI 1757UP User Manual vi...

Страница 7: ...2 CHAPTER 1 General Information This chapter introduces PCI 1757UP and provides detailed specifications Sections include Introduction Numbering Convention Features Specifications...

Страница 8: ...he connector can output a digital signal simultaneously with the card s generating an interrupt This card uses a DB 25 pin connector for easy and reliable connections to field devices One feature give...

Страница 9: ...0 of 8255 PPI Buffered circuits provide higher driving capability Output status read back I O configured by software or onboard DIP switch Hot reset output memory keeps I O settings and digital output...

Страница 10: ...urce Logic Low Voltage 0 5 V max 24 mA sink Interrupt Source PC0 PC4 General Connector One D SUB 25 pin female connector Power Consumption 5 V 200 mA Typical Operating Temperature 0 70 C 32 158 F Stor...

Страница 11: ...5 Chapter1...

Страница 12: ...PCI 1757UP User Manual 6...

Страница 13: ...ation This chapter provides information on installing your card and making jumper switch configurations Sections include Initial Inspection Unpacking Jumper and Switch Settings Pin Assignments Install...

Страница 14: ...lectricity on your body to ground by touching the back of the system unit grounded metal before you touch the board Remove the PCI 1757UP card from its protective packaging by grasping the card s rear...

Страница 15: ...9 Chapter2 Figure 2 1 Locations of Connectors and Jumpers...

Страница 16: ...ting is 0 2 3 2 Set Ports as Input or Output SW2 Figure 2 2 SW2 Settings Default setting is all positions off Table 2 1 BoardID Setting SW1 Position1 Position2 Position3 Position4 Board ID ID3 ID2 ID1...

Страница 17: ...IO CF position is Off you can set the ports by the switch SW2 directly The position setting is ON the corresponding port is input port else position is OFF the corresponding port is output port 2 3 3...

Страница 18: ...PCI 1757UP User Manual 12 2 3 4 Select PC7 or 5V on Pin24 JP2 5 V output can be output by setting JP2 JP2 Power on configuration after hot reset Pin 24 is connected to 5V Pin 24 is for PC7 Default...

Страница 19: ...3 Chapter2 2 4 Pin Assignments Description of pin use Mode Description Pin PA0 PA7 I O pins of Port A Pin 1 8 PB0 PB7 I O pins of Port B Pin 9 16 PC0 PC7 I O pins of Port C Pin 17 24 GND Ground Pin 25...

Страница 20: ...unit Save the screw to secure the interface card with the retaining bracket 5 Carefully grasp the upper edge of PCI 1757UP Align the hole in the retaining bracket with the hole on the expansion slot a...

Страница 21: ...2 CHAPTER 3 Operation This chapter shows how to operate PCI 1757UP Sections include Overview Digital I O Ports Interrupt Function BoardID Switch...

Страница 22: ...grammable peripheral interface PPI chip in mode 0 but with higher driving capability than a standard 8255 chip Each of the 8255 chips has 24 programmable I O pins that are divided into three 8 bit por...

Страница 23: ...effect if the correspond ing port is set as an output port by the SMD switch SW2 D7 is a read only bit for identifying the SMD switch SW2 position 1 is ON or OFF D7 0 means the I O configuration is se...

Страница 24: ...ts The interrupt control register can be programmed Base 32 to select the interrupt sources The Interrupt Control Register Base 32 controls the interrupt signal source edge and flag Table 3 2 shows th...

Страница 25: ...re 3 1 Interrupt Sources 3 3 3 Interrupt Triggering Edge Control The interrupt can be triggered by a rising edge or a falling edge of the interrupt signal selectable by the value written in the trigge...

Страница 26: ...dentifier You can determine this identity number in the register as shown in Table 3 6 If there are multiple cards in the same chassis this BoardID setting is useful for identifying each card s device...

Страница 27: ...2 APPENDIX A Register Format...

Страница 28: ...dix A Register Format Base Address n Decimal Function Read Write 0 Port A Port A 1 Port B Port B 2 Port C Port C 3 Configuration Register Configuration Register 32 Interrupt Status Register Interrupt...

Отзывы: