background image

11

Chapter 2  

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 two 8-bit ports and two 4-bit ports, designated PA, PB PCL 
and PCH.
Each port can be programmed as an input or an output port. You can set 
the corresponding ports to be configurable as input or output ports by 
switch SW2 or software. When “IO CF.” position is “ON”, set the ports 
to be input or output ports by the software. Else, when “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 Output Signal at Hot Reset Setting (JP1)

As shown below, JP1 is used to set the output signal after a hot reset.

Table 2.3: Hot Reset Mode Setting

JP1

Output Signals Status after Hot Reset

Hot Reset Output Memory.
Remember the last output signals and I/O 
settings before reset and keep these val-
ues on power up.
Default Output Setting
Clear the I/O configuration to default if hot 
reset.

Note

The reset must be a "hot" reset (power not dis-
connected) for enabled JP1 to return ports to 
their prior values. Otherwise, the card behaves 
as though JP1 was not enabled.

Summary of Contents for PCI-1757UP

Page 1: ...PCI 1757UP 24 channel Digital Input Output Low Profile Universal PCI Card User Manual...

Page 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...

Page 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...

Page 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...

Page 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...

Page 6: ...PCI 1757UP User Manual vi...

Page 7: ...2 CHAPTER 1 General Information This chapter introduces PCI 1757UP and provides detailed specifications Sections include Introduction Numbering Convention Features Specifications...

Page 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...

Page 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...

Page 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...

Page 11: ...5 Chapter1...

Page 12: ...PCI 1757UP User Manual 6...

Page 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...

Page 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...

Page 15: ...9 Chapter2 Figure 2 1 Locations of Connectors and Jumpers...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 21: ...2 CHAPTER 3 Operation This chapter shows how to operate PCI 1757UP Sections include Overview Digital I O Ports Interrupt Function BoardID Switch...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 27: ...2 APPENDIX A Register Format...

Page 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...

Reviews: