This documentation is copyrighted 1996 by Advantech Co., Ltd. All
rights are reserved. Advantech Co., Ltd. reserves the right to make
improvements in the products described in this manual at any time
without notice.
No part of this manual may be reproduced, copied, translated or
transmitted in any form or by any means without the prior written
permission of Advantech Co., Ltd. Information provided in this
manual is intended to be accurate and reliable. However, Advantech
Co., Ltd. assumes no responsibility for its use, nor for any infringements of the rights of third parties which may result from its use.
Acknowledgments
PC-LabCard is a trademark of Advantech Co., Ltd. IBM and PC are
trademarks of International Business Machines Corporation. MSDOS, Microsoft C and Quick BASIC are trademarks of Microsoft
Corporation. BASIC is a trademark of Dartmouth College. Intel is a
trademark of Intel Corporation. TURBO C is a trademark of Borland
International.
Part No. 2003735000 1st Edition
Printed in Taiwan May 1996
Contents
Chapter 1General Information ..................................... 1
Ideal for applications such as device On/Off control or signal switching, the PCL-735 12-channel relay actuator provides 12 electromechanical SPDT relays on a half-size card.
To prevent relay fault, the On/Off status of each relay is easy to
monitor. A red LED next to each relay shows its On/Off status, and the
software can read each relay's status. Plus, an on-board DB-37
connector provides access to all output channels.
Features
• 12 relay outputs
• LED relay status indicators
• Male DB-37 matching connector included
• Relay status readback function
Applications
• Industrial On/Off control
• Signal switching
• External relay driving
22
2PCL-735 User's Manual
22
Specifications
Relay Output
••
Relay type:Relay type:
•
Relay type: Single-pole double-throw (SPDT, Form C)
••
Relay type:Relay type:
••
Output type: Output type:
•
Output type: Ch0 to Ch11, normally open/normally closed
••
Output type: Output type:
••
Contact rating:Contact rating:
•
Contact rating: 2 A @ 30 VDC, 1 A @ 125 V
••
Contact rating:Contact rating:
••
Breakdown voltage:Breakdown voltage:
•
Breakdown voltage: 1000 V AC/DC min.
••
Breakdown voltage:Breakdown voltage:
••
Relay on time:Relay on time:
•
Relay on time: 5 msec. typical
••
Relay on time:Relay on time:
••
Relay off time:Relay off time:
•
Relay off time: 5 msec. typical
••
Relay off time:Relay off time:
••
Total switching time:Total switching time:
•
Total switching time: 10 msec. typical
••
Total switching time:Total switching time:
••
Insulation resistance: Insulation resistance:
•
Insulation resistance: 1000 MW @ 500 VDC min.
••
Insulation resistance: Insulation resistance:
••
Life expectancy:Life expectancy:
•
Life expectancy:
••
Life expectancy:Life expectancy:
> 5 x 105 operations @ 30 VDC and 2 A
> 2 x 106 operations @ 30 VDC and 1 A
General
••
Dimensions:Dimensions:
•
Dimensions: 6.07" x 3.89" (155 mm x 99 mm)
••
Dimensions:Dimensions:
••
I/O port address:I/O port address:
•
I/O port address: Two consecutive bytes from hex 200 to 3F8
••
I/O port address:I/O port address:
AC
••
Power consumption: Power consumption:
•
Power consumption: +5 V @ 200 mA, +12 V @ 200 mA max.
••
Power consumption: Power consumption:
Chapter 1 General Information
33
3
33
Installation
2
CHAPTER
Chapter 2 Installation
55
5
55
Initial Inspection
We carefully inspected the PCL-735 both mechanically and electrically before shipment. It should be free of marks and in perfect order on
receipt.
As you unpack the PCL-735, check it for signs of shipping damage
(damaged box, scratches, dents, etc.). If it is damaged or fails to meet
specifications, notify our service department or your local sales
representative immediately. Also, call the carrier immediately and
retain the shipping carton and packing material for inspection by the
carrier. We will then make arrangements to repair or replace the unit.
Discharge any static electricity on your body before you touch the
board by touching the back of the system unit (grounded metal).
Remove the PCL-735 card from its protective packaging by grasping
the rear metal panel. Handle the card only by its edges to avoid static
electric discharge which could damage its integrated circuits. Keep the
antistatic package. Whenever you remove the card from the PC, please
store the card in this package for protection.
You should also avoid contact with materials that hold static electricity
such as plastic, vinyl and styrofoam.
6 6
6 PCL-735 User's Manual
6 6
Switch and Jumper Settings
The PCL-735 card has one function switch (SW1). The following
sections tell how to configure the card. Refer to the figure below for
help identifying card components.
SW1
Switch and Connector LocationsSwitch and Connector Locations
Switch and Connector Locations
Switch and Connector LocationsSwitch and Connector Locations
Switches and Connectors
LabelLabel
Label
LabelLabel
CN1CN1
CN1Relay output
CN1CN1
SW1SW1
S W 1Card base address
SW1SW1
FunctionFunction
Function
FunctionFunction
CN1
Chapter 2 Installation
77
7
77
Base address selection (SW1)
You control the PCL-735's operation by reading or writing data to the
PC's I/O (input/output) port addresses. The PCL-735 requires two
consecutive address locations. Switch SW1 sets the card's base
(beginning) address. Valid base addresses range from Hex 200 to Hex
3F0. Other devices in your system may, however, be using some of
these addresses.
We set the PCL-735 for a base address of Hex 300 at the factory. If
you need to adjust it to some other address range, set switch SW1 as
shown in the following table:
Card I/O addresses (SW1)
Range (hex)Range (hex)
Range (hex)
Range (hex)Range (hex)
200 - 203¡lllllll
204 - 207¡llllll¡
´
*300 - 303¡¡llllll
´
3F0 - 3F3¡¡¡¡¡¡l l
¡ = Offl = On* = default
Note:Note:
Note: Switches 1-8 control the PC bus address lines as shown below:
Note:Note:
Switch positionSwitch position
Switch position
Switch positionSwitch position
12345678
SwitchSwitch
Switch12345678
SwitchSwitch
LineLine
LineA 9A 8A 7A 6A 5A 4A 3A 2
LineLine
Appendix A provides a PC I/O port address map to help you avoid the
I/O addresses for standard PC devices.
8 8
8 PCL-735 User's Manual
8 8
Hardware Installation
Warning! TURN OFF your PC power supply whenever you
install or remove the PCL-735 or connect and
disconnect cables.
1. Turn the computer off. Turn the power off to any peripheral
devices such as printers and monitors.
2. Disconnect the power cord and any other cables from the back of
the computer.
3. Remove the system unit cover (see the user's guide for your chassis
if necessary).
4. Locate the expansion slots at the rear of the unit and choose any
unused slot.
5. Remove the screw that secures the expansion slot cover to the
system unit. Save the screw to secure the interface card retaining
bracket.
6. Carefully grasp the upper edge of the PCL-735 card. Align the
hole in the retaining bracket with the hole on top of the expansion
slot and align the gold striped edge connector with the expansion
slot socket. Press the board firmly into the socket.
7. Secure the PCL-735 using the screw you removed in step 5.
8. Attach any accessories (using 20 pin flat cables, a DB-37 cable,
etc.) to the PCL-735.
9. Replace the system unit cover. Connect the cables you removed in
step 2. Turn the computer power on.
Chapter 2 Installation
99
9
99
Signal Connections
3
CHAPTER
Chapter 3 Signal Connections
1111
11
1111
Good signal connections can avoid a lot of unnecessary damage to
your valuable PC and other hardware. This chapter gives pin assignments for each of the card's connectors and signal connections for
different applications.
Connector Pin Assignments
The PCL-735 has a DB-37 connector accessible from the card bracket.
Abbreviations
NONormally open
NCNormally closed
C O MCommon relay pin
The PCL-735 has 12 channels of Single Pole Double Throw (SPDT)
Form C relay output. Each relay has two Form C contacts, which are
controlled by the same coil. One of the contacts is connected directly
to CN1 for relay output, while the other contact controls the LED that
displays the relay status, which can also be read back by a read
command to the I/O port.
KO
VCC
I/O port
VCC
COM
N.C.
N.O.
COM
N.C.
N.O.
E
Load 1
Load 2
A write operation to I/O address BASE+0 will change the output
status of each relay. For example, if Bit 0 of BASE+0 is set to "1"
(logic high), K0 (Relay 0) will switch from position NC0 (Normal
Close) to position NO0 (Normal Open). This means that Load 2 is
energized, while Load 1 is de-energized.
In summary, when the bit has a value of "0" (power-on default), the
corresponding COM line is in the "Normal Close" position. When the
bit has a value of "1", the corresponding COM line is in the "Normal
Open" position.
Warning:External circuits connected to the PCL-735's relay
ouput port must be fused at 1A or less and be rated
at 120 VA or less. Voltage must not exceed the
±120V peak.
E
Chapter 3 Signal Connections
1313
13
1313
Register Format
A
APPENDIX
Appendix A Register Format
1515
15
1515
Programming the PCL-735 is extremely simple. Each I/O channel
corresponds to a bit in the card's registers. To turn on an output
channel you write a ‘‘1” to the corresponding bit.
The card requires four I/O register addresses. The address of each
register is specified as an offset from the card's base address. For
example, BASE+0 is the card's base address and BASE+2 is the base
address + two bytes. If the card's base address is 300h, the register's
address is 302h. See Chapter 2 for information on setting the card's
base address.
Register Assignments
AddressAddress
Address
AddressAddress
BASE+0DO bits 0-7DI bits 0-7 status
BASE+1DO bits 8-11DI bits 8-11 status
BASE+2——
BASE+3——