ACL-7225 Ver.B
Relay Actuator &
Isolated D/I Card

@Copyright 1995~1996

All Rights Reserved.
Manual edition 27, December 1995
Second edition 03, October 1996

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

ACL-7225 is registered trademarks of ADLink Technology Inc., ACL-725 is a trademark of ADClone Inc., Ltd. IBM PC is a registered trademark of International Business Machines Corporation. Intel is a registered trademark of Intel Corporation. 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 ACL-7225's Layout
2.4 Jumper and DIP Switch Description
2.5 Base Address Setting
2.6 Input Signal Selection
2.7 Connector Pin Assignment
3. Low-Level Programming
3.1 I/O Port Address Map
3.2 Relay Output Register
3.3 Isolated Input Register
3.4 Relay Output
3.5 Programming
Appendix A. I/O Address Map
Appendix B. Relay Contact Protection Circuits
Product Warranty/Service





How to Use This Guide

This manual is designed to help you use the ACL-7225. The manual describes how to modify various settings on the ACL-7225 card to meet your requirements. It is divided into three chapters:





1. Introduction

The ACL-7225 - 16-CH Relay Actuator and Isolated D/I card is a compact-size and AT-Bus digital I/O card for IBM Personal computer or compatibles in control and sensing applications.

This card provides 16 relay actuators and 16 opto-isolated digital inputs. You can use 16 on-board relays to control power switches or ON/OFF control devices, and use 16 opto-isolated D/I channels to collect digital inputs in any noisy environments . It is very essential to use isolated input to prevent the ground loop problems.

Each relay is matched with one red LED to reflect its ON/OFF status. Each input channel is jumper selectable to either AC or DC input control voltage. The isolation voltage is guaranteed at 1,000V, so that common-mode voltages and voltage spikes that often occurs in industrial environments are safety isolated form the PC and the ACL-7225.

The digital I/O is via two 37 pin D-type connectors that project through the computer case at the rear of the board.



1.1 Features

The ACL-7225 Relay Actuator and D/I Card provides the following advanced features:




1.2 Applications


1.3 Specifications:

¨ Relay Outputs

The 16 electro-mechanical relay output are addressed as two I/O bytes, Eight of the relays ( outputs 0~4 and 8~12) are Form C contacts ( Normal Open and Normal Closed) and the remaining relays are Form A (Normal Open only). A LED indicates each relay's ON/OFF status for monitoring.

¨ Isolated Inputs

The 16 opto-isolated D/I channels are used for sensing digital inputs and provide 1,000V for isolation. Each channel can be configured as AC Filter or Non-AC Filter by jumper settings.

¨ Power Consumption

¨ Physical/ Environment





2. Installation

This chapter describes how to install the ACL-7225. At first, the contains in the package and unpacking information that you should be careful are described. The jumpers and switches setting for the ACL-7225's base address and digital input configuration (AC signal or DC signal) are also specified.


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 ACL-7225 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 ACL-7225.


2.3 ACL-7225's Layout

Figure 2.1


2.4 Jumper and DIP Switch Description

You can change the ACL-7225's input signals and base address by setting jumpers and DIP switches on the card. The card's jumpers and switches are preset at the factory. Under normal circumstances, you should not need to change the jumper settings.

A jumper switch is closed (sometimes referred to as shorted) with the plastic cap inserted over two pins of the jumper. A jumper is open with the plastic cap inserted over one or no pin(s) of the jumper.


2.5 Base Address Setting

The ACL-7225 occupies eight consecutive address locations in I/O address space. Actually, only 4 consecutive address loactions are used. The base address of the ACL-7225 is restricted by the following conditions.

1. The base address must be within the range 200hex to 3FFhex.

2. The base address should not conflict with any PC reserved I/O address. see Appendix A.

The ACL-7225's I/O port base address is selectable by an 6 position DIP switch SW1 ( refer to Figure 2.1). The default base address is set as Hex 300, which is shown as following figure 2.2. All the possible combinations of SW1 switch configuration are listed in the table 2.1 below.

Figure 2.2 Default Base Address Setting

I/O Port
Address(Hex)
1
A8
2
A7
3
A6
4
A5
5
A4
6
A3
200-207 ON
(0)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
208-20F ON
(0)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
OFF
(1)
:
2F8-2FF ON
(0)
OFF
(1)
OFF
(1)
OFF
(1)
OFF
(1)
OFF
(1)
(*) 300-308 OFF
(1)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
308-30F OFF
(1)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
OFF
(1)
: : : : : : :
3F8-3FF OFF
(1)
OFF
(1)
OFF
(1)
OFF
(1)
OFF
(1)
OFF
(1)

(*) : default setting
ON = 0 ; OFF = 1.
A9, ..., A3 are corresponding to PC Bus address lines
A9 is fixed as 1, and A2, A1 and A0 are fixed by 0 with hardware

Table 2.1

How to Define a Base Address for the ACL-7225 ?
The DIP1 to DIP7 in the switch SW1 are one to one corresponding to the PC bus address line A3 to A8. A9 is always set as 1, and A0, A1 and A2 are always 0. If you want to change the base address, you can only change the values of A9 to A3 ( shadow area of below diagram). Following is an example, which shows you how to define the base address as Hex 300.

Base Address : Hex 300

3 0 0
1 1 0 0 0 0 0 0 0 0
A9 A8 A7 A6 A5 A4 A3 A2 A1 A0



2.6 Input Signal Selection

The ACL-7225's input signal can be selected either AC input or DC input signal. There are 16 jumpers (JP1...JP8 and JP9...JP16) associated with each digital input channel for configuring the channel as AC or DC input. The digital input channels and their corresponding jumpers is shown in the following Table 2.3.

JUMPER INPUT SIGNAL JUMPER INPUT SIGNAL
JP1 DI0 JP9 DI8
JP2 DI1 JP10 DI9
JP3 DI2 JP11 DI10
JP4 DI3 JP12 DI11
JP5 DI4 JP13 DI12
JP6 DI5 JP14 DI13
JP7 DI6 JP15 DI14
JP8 DI7 JP16 DI15

Table 2.3

The default setting of the input signal selection is DC type, which is shown as below :

Input Signal Selection AC Input DC Input (Default)
Jumper
JP1 ~ JP16 AC psoition DC position



2.7 Connector Pin Assignments

The ACL-7225 card comes equipped with two I/O connectors CON1 and CON2. The CON1 is an on-board 40-pin connector, and CON2 is a 37 pin D-type connector accessible from the rear panel of the card, and . The pin assignment of these connectors is described by Figure 2.4 and Figure 2.5, respectively.

Legend :
1. DIAn - digital input A of channel n
2. DIBn - digital input B of channel n
3. NCn - normal close pin of relay n
4. NOn - normal open pin of relay n
5. COMn - common pin of relay n
6. GND - ground
7. NC - Not Connected

Note : Isolated Digital Input is polarity-free, so you can connect the digital inputs signal on input A and input B points and do not care the polarity.

Fig 2.4 Pin Assignment of 37-pin CON2 connector

Fig 2.5 Pin Assignment of 40-pin CON1 connector

A cable connector to convert the CON1 40-pin header to 37-pin male D-type connector is enclosed with the ACL-7225. The mapping between the 40-pin header and 37-pin D-type connector are shown on next page.

Figure 2.6



3. low-level Programming


A low-level programming interface of ACL-7225 is described in this chapter. If you wish to control the digital input/output operations through the primitive I/O functions ( inportb and outportb), you have to be careful to understand the meaning of 8 registers structure. Here, you will get all detailed information of the ACL-825B's register format and control procedures.

3.1 I/O Port Address Map

The ACL-7225 requires 8 consecutive addresses( only 4 are used) in the PC I/O address space. The following table ( Table 3.1) shows the location of each register and driver relative to the base address, and its description.

Location FUNCTION DESCRIPTION TYPE
Base + 0 Relay Outputs ( R0~R7) Read/Write
Base + 1 Relay Outputs ( R8~R15) Read/Write
Base + 2 Isolated Inputs (DI0 ~DI7) Read Only
Base + 3 Isolated Inputs (DI8 ~DI15) Read Only
Base + 4 Not Used ---
Base + 5 Not Used ---
Base + 6 Not Used ---
Base + 7 Not Used ---

Table 3.1 I/O Register Map


3.2 Relay Output Register - BASE + 0/ BASE + 1

The ACL-7225 provides 16 relay output channels, and they are arranged into two groups. First group( R0 ~R7) is controlled by the register Base + 0, and the second group( R8~R15) is by the register Base + 1. The ON/OFF status of each relay is controlled by its corresponding one bit of register, i.e. the control bit is low (0) status, it turns the relay OFF, and high status (1) will energized the relay.

The readback capability is also support in the ACL-7225, i.e. you can read back each relay's status through the relay output registers.

The relationships between the bit of relay output register and its corresponding relays are shown as below.

Data Format :

Realy Output Register : (Base + 0)

Bit 7 6 5 4 3 2 1 0
RO7 RO6 RO5 RO4 RO3 RO2 RO1 RO0

Realy Output Register : (Base + 1)

Bit 7 6 5 4 3 2 1 0
RO15 RO14 RO13 RO12 RO11 RO10 RO9 RO8

RO : Relay Output


3.3 Isolated Input Registers

There are 16 non-polarity isolated inputs are provided in the ACL-7225. These inputs are also divided into two groups and each group is controlled by one input register. The register can be read only, because it use to get status of input channels.

Data Format :

Isolated Input Register : (Base + 2)

Bit 7 6 5 4 3 2 1 0
DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0

Isolated Input Register : (Base + 3)

Bit 7 6 5 4 3 2 1 0
DI15 DI14 DI13 DI12 DI11 DII0 DI9 DI8



3.4 Relay Output

The ACL-7225 contains two types of relay : Form C and Form A. The relay R0 ~ R4 and R9 ~ R12 are form C relays, and R5 ~ R7 and R13 ~ R15 are form A type. The difference between these two types of relay are :

1. Form C Relay : ( R0 ~ R4 and R9 ~ R12)

Form C relay has three contacts : NC ( Normal Close), NO ( Normal Open), and CM( 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 CM post and NO post are contacted. If the control bit is low (0), the CM post and NC post make contact.

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

2. Form A Relay : ( R5 ~ R7 and R13 ~ R15)

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

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

3.5 Programming

The ACL-7225's registers can be accessed through direct I/O instructions, such as inport and outport instructions in Borland C/C++ language. You can write ( outport) control word to relay output register to turn the relay's ON/OFF. Also, you can read (inport) back the signal of relay status or isolated input signals.

  1. Read operation
    A read operation on BASE+2 will read in the value ( status) of the first 8 corresponding digital input channels.

    For example : 
    
    To get the status of these channels using the BASIC 
    language, 
    
    Value = INP(BASE+2)
    
    In C Language
      
     value = inp( BASE + 2);
    

  2. Write operation
    A write operation on BASE+0 will set the desired status on the first 8 corresponding relay output channels.

    For example :
    
    In Basic Language :
    OUT BASE,abc
    
    In C Language :
    outp( BASE, abc);
    
    the value of abc should be between 0 and 255 . The status
    of the relay output can be monitored by reading back the BASE byte as show below :
    
    In Basic :
    
    STATUS = INP(BASE)
    
    In C Language:
    
    status = inp( base);
    

Appendix A . I/O Port Address Map


I/O Address Device
000-01F DMA controller 1
020-03F interrupt controller
040-05F Timer
060-06F Keyboard
070-07F Real-time clock
080-09F DMA page register
0A0-0BF Interrupt controller 2
0C0-0DF DMA controller
0F0-0FF Math coprocessor
100-1EF Not usable
1F0-1F8 Fixed disk
200-207 Game I/O
278-27F Parallel printer port 2 ( LPT2: )
2F8-2FF Serial Port 2 ( COM2: )
300-31F Prototype card
360-36F Reserved
378-37F Parallel printer port 1 ( LPT1: )
3B0-3BF Monochrome display
3C0-3CF Reserved
3D0-3DF Color graphics display
3F0-3F7 Diskette controller
3F8-3FF Serial port 1 ( COM 1: )

Appendix B. Realy 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 :

1. RC Circuit

This circuit is suitable for DC application. If the load is a timer, leakage current flows through the RC circuit causing faulting operation.

The below circuit is suitable for both AC and DC applications. If the load is a relay or solenoid, the release time lengthens. Effective when connected to both contacts if the power supply voltage is 24V or 48V and the voltage cross the load is 100 to 200V.

Device Selection :
As a guide in selecting R and C,
R : 0.5 to 1 W per 1V contact voltage
C : 0.5 to 1 mF per 1A contact current
Value vary depending on the properties of the capacity C acts to suppress the discharge the moment the contacts open. Resistor R acts to limit the current when the power is turned on the next time. Test to confirm. Use a capacitor with a breakdown voltage of 200 to 300V. Use AC type capacitors( non-polarized) for AC circuits.

2. Diode Circuit
This circuit is suitable for DC application. The diode connected in parallel causes the energy stored in the coil to flow to the coil in the form of current and dissipates it as joule heat at the resistance component of the inductive load. This circuit further delays the release time compared to the RC circuit.

Device Selection :
Use a diode with a reverse breakdown voltage at least 10 times the circuit voltage and a forward current at least as large as the load current. In electronic circuits where the circuit voltages reverse breakdown voltage of above 2 to 3 times the power supply voltage.

3. Diode & Zener diode Circuit
This circuit is also suitable for DC application. Effective when the release time i the diode circuit is too long.

Device Selection :

Use a zener diode with a zener voltage about the same as the power supply voltage.

4. Varistor Circuit
This circuit is also suitable for both AC & DC applications. Using the stable voltage characteristics of the varistor, this circuit prevents excessively high voltages from being applied across the contacts. This circuit also slightly delays the release time. Effective when connected to both contacts of the power supply voltage is 24 or 48V and the voltage across the load is 100 to 200 V.

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's 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.