Advantech PCL-735 User Manual

PCL-735
12-channel Relay
Actuator Card
Copyright
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.
Acknowledgments
PC-LabCard is a trademark of Advantech Co., Ltd. IBM and PC are trademarks of International Business Machines Corporation. MS­DOS, 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 1 General Information ..................................... 1
IntroductionIntroduction
Introduction
IntroductionIntroduction FeaturesFeatures
Features
FeaturesFeatures ApplicationsApplications
Applications
ApplicationsApplications SpecificationsSpecifications
Specifications
SpecificationsSpecifications
Relay Output .................................. 3
General ..................................... 3
Chapter 2 Installation..................................................... 5
Initial InspectionInitial Inspection
Initial Inspection
Initial InspectionInitial Inspection Switch and Jumper SettingsSwitch and Jumper Settings
Switch and Jumper Settings
Switch and Jumper SettingsSwitch and Jumper Settings
Base address selection (SW1) ....................... 8
Hardware InstallationHardware Installation
Hardware Installation
Hardware InstallationHardware Installation
Chapter 3 Signal Connections ..................................... 11
Connector Pin AssignmentsConnector Pin Assignments
Connector Pin Assignments
Connector Pin AssignmentsConnector Pin Assignments Relay OutputRelay Output
Relay Output
Relay OutputRelay Output
Appendix A Register Format .......................................... 15
Appendix B PC I/O Port Address Map ............................ 17
......................................................................
...................................
......................................................................
............................................................................
......................................
............................................................................
......................................................................
...................................
......................................................................
....................................................................
..................................
....................................................................
..............................................................
...............................
..............................................................
................................................
........................
................................................
........................................................
............................
........................................................
..............................................
.......................
..............................................
..................................................................
.................................
..................................................................
1212
12
1212 1313
13
1313
22
2
22 22
2
22 22
2
22 33
3
33
66
6
66 77
7
77
99
9
99
1
CHAPTER
General Information
Chapter 1 General Information
11
1
11
Introduction
Ideal for applications such as device On/Off control or signal switch­ing, the PCL-735 12-channel relay actuator provides 12 electrome­chanical 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
2 PCL-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 electrical­ly 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
CN1 Relay output
CN1CN1 SW1SW1
S W 1 Card 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
¡ = Off l = 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
Switch 1 2 345678
SwitchSwitch LineLine
Line A 9 A 8 A 7 A 6 A 5 A 4 A 3 A 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 assign­ments 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
NO Normally open NC Normally closed C O M Common relay pin
CN1 Pin AssignmentsCN1 Pin Assignments
CN1 Pin Assignments
CN1 Pin AssignmentsCN1 Pin Assignments
12 12
12 PCL-735 User's Manual
12 12
NO0 1
COM0 2
NC0 3 NO1 4
COM1 5
NC1 6 NO2 7
COM2 8
NC2 9 NO3 10
COM3 11
NC3 12 NO4 13
COM4 14
NC4 15 NO5 16
COM5 17
NC5 18
N/A 19
20 NO6 21 COM6 22 NC6 23 NO7 24 COM7 25 NC7 26 NO8 27 COM8 28 NC8 29 NO9 30 COM9 31 NC9 32 NO10 33 COM10 34 NC10 35 NO11 36 COM11 37 NC11
Relay Output
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+0 DO bits 0-7 DI bits 0-7 status
BASE+1 DO bits 8-11 DI bits 8-11 status BASE+2 — BASE+3
WriteWrite
Write
WriteWrite
ReadRead
Read
ReadRead
Register format
BASE+0
D7 D6 D5 D4 D3 D2 D1 D0
BASE+1
N/A N/A N/A N/A D11 D10 D9 D8
Relay status for Dn
SettingSetting
Setting
SettingSetting
00
0 com
00
11
1 com
11
16 16
16 PCL-735 User's Manual
16 16
StatusStatus
Status
StatusStatus
N.C. N.O.
N.C. N.O.
PC I/O Port
Address Map
B
APPENDIX
Appendix B PC I/O Port Address Map
1717
17
1717
PC I/O port address map
Range (hex)Range (hex)
Range (hex)
Range (hex)Range (hex)
FunctionFunction
Function
FunctionFunction
000 - 1FF Base system 200 Reserved 201 Game control 202 - 2 77 Reserved 278 - 27F LPT2: (2nd printer port) 280 - 2F7 Reserved 2F8 - 2FF COM2: 300 - 3 77 Reserved 378 - 37F LPT1: (1st printer port) 380 - 3 AF Reserved 3B0 - 3BF Mono Display/Print adapter 3C0 - 3 C F Reserved 3D0 - 3DF Color/Graphics 3E0 - 3EF Reserved 3F0 - 3F7 Floppy disk drive 3F8 - 3FF COM1:
18 18
18 PCL-735 User's Manual
18 18
Loading...