@Copyright 1997

All Rights Reserved.

Manual first edition 7, July 1997


The information in this document is subject to change without prior notice in order to improve reliability, design and function and does not represent a commitment on the part of the manufacturer.

In no event will the manufacturer be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the product or documentation, even if advised of the possibility of such damages.

This document contains proprietary information protected by copyright. All rights are reserved. No part of this manual may be reproduced by any mechanical, electronic, or other means in any form without prior written permission of the manufacturer.

 

Trademarks

PCI-7250/7251 is registered trademarks of ADLink Inc. Other product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective companies.


Contents




How to Use This Guide
1 Introduction

1.1 Features
1.2 Applications
1.3 Specifications
2 Installation
2.1 What You Have
2.2 Unpacking
2.3 PCI-7250's Layout
2.4 Input Signal Setting
2.5 Connector Pin Assignments
2.6 PCI-7250 and PCI-7251 Connection
3 Programming
3.1 Control and Status Registers
3.2 Relay Output and Readback Data
3.3 Isolation Input
4 Relay Outputs & Isolated Inputs
4.1 Using Relay Output
4.2 Using Isolated Input
5 C/C++ Libraries
5.1 Installation
5.1.1. Backup Your Disk
5.1.2. Installation
5.2 Running Testing Utility (7250UTIL.EXE)
5.3 Software Driver Naming Convention
5.4 _7250_Initial
5.5 _7250_DI
5.6 _7250_DO
5.7 _7250_DO_Read_Back
5.8 _7250_Check_Exist
6 Troubleshooting
Appendix A. Relay Contact Protection Circuits
Product Warranty/Service





How to Use This Guide



This manual is designed to help you use the PCI-7250. The manual describes how to modify various settings on the PCI-7250 card to meet your requirements. It is divided into five chapters:
· Chapter 1, "Introduction", gives an overview of the product 9273 features, applications, and specifications.
· Chapter 2, "Installation", describes how to install the PCI-7250. The layout of PCI-7250 is shown, the jumpers setting for input configuration are specified.
· Chapter 3, "Digital I/O Programming", describes how to program the digital input and output channels on the PCI-7250.
· Chapter 4, "Relay Output & Isolation Input", gives an overview of PCI-7250's relay outputs and isolation inputs.
· Chapter 5, "Troubleshooting", describes how to use DOS DEBUG utility to vertify the functionality of PCI-7250.


 

1

Introduction


COLOR="#000000">
The PCI-7250 - Relay Actuator and Isolated D/I card is a basic Digital I/O card for PCI bus computer in industrial applications.

This card provides 8 relay actuators and 8 opto-isolated digital inputs. From the eight relays, four relays are Form C (R0~R3) and four relays are Form A ( R4~R7). They are very suitable for ON/OFF control devices.

For 8 identical non-polarity opto-isolated digital input channels, each of them can be switchable by using RC filter or non-RC filter. All channels are isolated and suitable for collecting digital inputs in noisy environments.

The status of each relay output is reflected by a LED. When the relay is energized, its corresponding LED will turn ON, otherwise it is OFF.

The relay outputs and digital inputs are controlled by two bytes of I/O address. When the corresponding bit is read or written, its output status will be controlled, or its input status be monitored. The I/O signals are via a 37 pin D-type connector that projects through the computer case at the rear of the board.


1.1 Features

The PCI-7250 Relay Actuator and D/I Card provides the following advanced features:

· 32-bit PCI-Bus, Plug and Play
· 8 relay actuator outputs
· 8 opto-isolated digital inputs
· LED indicators to show activated relays


The PCI-7251 can attach to the PCI-7250 card. Each PCI-7251 card provides another 8 relay output and 8 photo isolated input signals. There are at most three PCI-7251 cards can be attached on one PCI-7250 card so that the system can provide 32 relay output signals and 32 photo isolated inputs signals.

1.2 Applications


1.3 Specifications

    Input channels
8
Optocoupler PC-814
Input current 60 mA max. for isolated input
Input Voltage 3 - 24 VDC ( AC 50-1,000Hz)
Input impedance 1.2 K
Threshold Voltage 2.4 VDC , adjustable by changing voltage dividing resistors
Input mode Isolation AC-filter/ Non-AC-filter
Withstanding voltage 1,000 VDC

    Output Channels
8
Relay Type 8 SPST ( Form C )
Contact rating

120V AC/DC , 0.5 A

    24V Vdc, 1A

Breakdown Voltage 1000 V AC/DC min..
Release time 8 msec max.
Operate time 8 msec max..
Insulation Resistance 100M min.
Life Expectancy > 10 million operations at full load
Power Consumption +12V , 33 mA for each relay , total 0.264 A if all relay are energized +5V, less than 0.2A
Power supply + 12V from the PCI-Bus

    Dimensions
5.75" x 3.75" ( 147 mm x 95 mm )
Bus 32-bit PCI bus
I/O port address Assigned By System BIOS
Temperature 0 ~ 50 C (Operating);
Humidity 0 to 90% non-condensing




2

 

Installation



This chapter describes how to install the PCI-7250. At first, the contains in the package and unpacking information that you should be careful are described. The jumpers setting for digital input channel configuration (AC-filter or Non-AC-filter) and the signals definitions of the 37-pins connectors are also specified in this chapter.


2.1 What You Have

In addition to this User`s Manual , the package includes the following items:

If any of these items is missing or damaged, contact the dealer from whom you purchased the product. Save the shipping materials and carton in case you want to ship or store the product in the future.


2.2 Unpacking

Your PCI-7250 card contains sensitive electronic components that can be easily damaged by static electricity.

The card should be done on a grounded anti-static mat. The operator should be wearing an anti-static wristband, grounded at the same point as the anti-static mat.

Inspect the card module carton for obvious damage. Shipping and handling may cause damage to your module. Be sure there are no shipping and handing damages on the module before processing.

After opening the card module carton, extract the system module and place it only on a grounded anti-static surface component side up.

Again inspect the module for damage. Press down on all the socketed IC's to make sure that they are properly seated. Do this only with the module place on a firm flat surface.

Note : DO NOT APPLY POWER TO THE CARD IF IT HAS BEEN DAMAGED.

You are now ready to install your PCI-7250.


2.3 PCI-7250's Layout





Figure 2.1 PCI-7250 Layout



2.4 Input Signal Setting

There are 8 jumpers (JP1 to JP8) associated with each digital input channel for configuring the channel as AC-Filter or Non-AC-Filter input. Each digital input channel and their corresponding jumper are shown in the following Table 2.1.

JUMPER

INPUT SIGNAL

JP1

DI0

JP2

DI1

JP3

DI2

JP4

DI3

JP5

DI4

JP6

DI5

JP7

DI6

JP8

DI7

Table 2.1 The jumper and DI channels

The default setting of the input signal selection is Non-AC-Filter ( DC signal input), which is shown as below :






Input Signal Selection

Non-AC-Filter


(DC Signal)

AC-Filter


(AC Signal)

Jumper JP1 ~ JP8

2-3

1-2

Table 2.2 Input Signal Selection Jumper Setting



2.5 Connector Pin Assignments

The PCI-7250 card comes equipped with a 37-pin D type connector (CN1) accessible from the rear of the card ( Ref. Fig 2.1). The pin assignment of the D type connector is described by Figure 2.2.


Legend :
1. DIn - digital input low, channel n ( input signal Is not polarity sensitive)
2. NC n - normal close pin of relay n
3. NO n - normal open pin of relay n
4. COM n - common pin of relay n
5. N/C - No Connection

 

2.6 PCI-7250 and PCI-7251 Connection

There are 8 relay output and 8 isolation input on both PCI-7250 and PCI-7251. The PCI-7251 is used as expansion of the PCI-7250. The operations of PCI-7251 are the same as which in PCI-7250. There are at most 3 PCI-7251 expansion boards to attach on the PCI-7250. Therefore, the PCI-7250 can control up to 32 relays and sense 32 isolation signals. Figure 2.3 shows the block diagram of connecting PCI-7250 and PCI-7251.

In addition, the existance of the PCI-7251 expansion boards can be detected. Refer to the section 4.x. for using the function library.







3

 

Programming



In this chapter, a primitive digital I/O operations of PCI-7250 / 7251 will be specified. AC language I/O functions for the I/O operations are also included.


3.1 Control and Status Registers

The control of the relays and status of the isolation input is by means of registers. The PCI-7250 and three PCI-7251 expansion boards occupy 8 I/O address. Table 3.1 shows the registers` description and offset address relative to the base address. If the expansion PCI-7251 boards is not installed, the corresponding registers are not used and meanningless.

Offset

Write

Read

Board

0

Relay Output Isolation Input PCI-7250

1

not used Output readback

2

Relay Output Isolation Input PCI-7251 #1

3

not used Output readback

4

Relay Output Isolation Input PCI-7251 #2

5

not used Output readback

6

Relay Output Isolation Input PCI-7251 #3

7

not used Output readback

Table 3.1 The register offset and the functions


3.2 Relay Output and Readback Data

There are 8 relays on each PCI-7250 / 7251 board. Each relay are controlled by one bits of the control register. The bit value `0' means the relay is not excited. The normal open signal line is `open' with the common line and the normal closed signal line is connected with the common line. The bit value `1' means the relay is excited and the normal open signal line is now closed, and vise versa.

The initial bits values of the control register are all `0'. And the status of the relay can be readback from the readback register. If the relay is open, the corresponding bit value is `0'. If the relay is closed, the bit value is `1'.

Refer to section 4.x and 4.x for the relative function library.

Data Format of Relay Output and Readback Status Registers:

Bit 7 6 5 4 3 2 1 0
Relay Output DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
Output Readback RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0



3.3 Isolation Input

There are 8 isolation input channels on each PCI-7250 / 7251 board. The status of the 8 channels can be read from the isolation input register. Each bit is corresponding to each channel. As the DI status are controlled by one bits of the control register. The bit value "1" means input voltage is high and "0" menas input voltage is low.

Relay Outputs & Isolated Inputs





4.1 Using Relay Output

The PCI-7250 contains two types of relay : Form C and Form A. The relay R0 ~ R3 are form C relays, and R4 ~ R7 are plain form A type. The difference between these two types of relay are :

Form C relay has three contacts : NC (Normal Close), NO (Normal Open), and COM (Common). The CM post, located at the middle, can make contact either NO post or NC post. When the control bit is high (1), the COM post and NO post are contacted. If the control bit is low (0), the COM post and NC post make contact.

In normal power-up and reset, the relay is in low status.

Form A relay only has two contacts : NC (Normal Close) and COM (Common). The COM post can make contact either NO post or not contact NO post. When the control bit is high (1), the COM post and NO post are contacted. If the control bit is low (0), the COM post and NO post does not make contact.

In normal power-up and reset, the relay is in low status.

The relay output contacts are rated for a maximum of 0.5A at 120VAC (resistive), 1A 24VDC, or 0.3A 60VDC. You should reduce these ratings for inductive loads. For more detailed information of relay contact, please refer Appendix B.


4.2 Using Isolated Input

The PCI-7250 contains 8 identical opto-isolated control input channels. The circuit diagram of the isolated input channel is shown on next page. The digital input is first routed through a photo-coupler (PC-814), so that the connection are not polarity sensitive whether used on AC or DC voltage.

In addition, a single-pole filter with a time constant about 5ms is used to filter when the AC inputs passed through.




The normal input voltage range for high state is 3 to 24VAC or DC. The normal input range can be extended by changing the resister (Ri) to limit the current ( I
F ) through the PC-814 (opto-isolator to about 10mA . The exact resister value to replace the original resister Ri (1.2K ) can be calculated by the following formula.

C/C++ Libraries



In this chapter, the PCI-7250's software drivers : C/C++ language library for DOS is described.

5.1 Installation


5.1.1 Backup Your Disk

The Utility Software and Library supplied with PCI-7250 are in DOS format which is compatible with DOS 3.0 or higher reversions. It is advisable to make a back up copy before using the software.

For a direct back up, use the DOS DISKCOPY or alternatively XCOPY *.* to a pre-formatted disk. The back up procedures are specified as follows:

5.1.2 Installation

The PCI-7250's Utility Diskette includes a utility software,

C-language library, DLL libraries and some demonstration programs which can help you reduce programming work.

Due to the installation on different O.S. platforms should follow different procedures. The installation procedures are classified to four O.S..


5.2 Running Testing Utility ( 7250UTIL.EXE)

After finishing the installation, you can execute the utility by typing as follows :



5.3 Software Driver Naming Convention

The functions of PCI-7250's software drivers are using full-names to represent the functions' real meaning. The naming convention rules are :


5.4 _7250_Initial
@ Description


5.5. _7250_DI
@ Description


5.6. _7250_DO
@ Description


5.7. _7250_DO_Read_Back
@ Description




Troubleshooting



If your PCI-7250 can not work properly, use the information in this chapter to isolated the problem. You can use the DOS debug program to verify the functionality of your PCI-7250 card. The verification procedures are as follows.

Note : Before doing the following procedures, please inspect your PCI-7250 is not damaged and your computer system is proper operation.





Appendix A. Relay Contact Protection Circuits



The contacts are the most important elements of relay constructions, Contact performance conspicuously influenced by contact material, and voltage and current values applied to the contacts.

Another important issue is contact protection, a right contact protection circuit can suppress the counter emf to a low level. However, note that incorrect use will result in an adverse effect. Typical contact protection circuits are given below :





Product Warranty/Service



Seller warrants that equipment furnished will be free form defects in material and workmanship for a period of one year from the confirmed date of purchase of the original buyer and that upon written notice of any such defect, Seller will, at its option, repair or replace the defective item under the terms of this warranty, subject to the provisions and specific exclusions listed herein.

This warranty shall not apply to equipment that has been previously repaired or altered outside our plant in any way as to, in the judgment of the manufacturer, affect its reliability. Nor will it apply if the equipment has been used in a manner exceeding its specifications or if the serial number has been removed.

Seller does not assume any liability for consequential damages as a result from our products uses, and in any event our liability shall not exceed the original selling price of the equipment.

The equipment warranty shall constitute the sole and exclusive remedy of any Buyer of Seller 9273 equipment and the sole and exclusive liability of the Seller, its successors or assigns, in connection with equipment purchased and in lieu of all other warranties expressed implied or statutory, including, but not limited to, any implied warranty of merchant ability or fitness and all other obligations or liabilities of seller, its successors or assigns.

The equipment must be returned postage-prepaid. Package it securely and insure it. You will be charged for parts and labor if you lack proof of date of purchase, or if the warranty period is expired.



©1995 Circuit Specialists, Inc.