DASP-52032

DASP-52032
16 Isolated D/I and &
16 Relay Output Card
User’s Manual
Disclaimers
The information in this manual has been carefully checked and is
believed to be accurate. Axiomtek Co., Ltd. assumes no responsibility
for any infringements of patents or other rights of third parties which
may result from its use.
Axiomtek assumes no responsibility for any inaccuracies that may be
contained in this document. Axiomtek makes no commitment to
update or to keep current the information contained in this manual.
Axiomtek reserves the right to make improvements to this document
and/or product at any time and without notice.
No part of this document may be reproduced, stored in a retrieval
system, or transmitted, in any form or by any means, electronic,
mechanical, photocopying, recording, or otherwise, without the prior
written permission of Axiomtek Co., Ltd.
Copyright 2004 by Axiomtek Co., Ltd.
All rights reserved.
September 2004, Version A1.0
Printed in Taiwan
ii
ESD Precautions
Integrated circuits on computer boards are sensitive to static
electricity. To avoid damaging chips from electrostatic discharge,
observe the following precautions:
Do not remove boards or integrated circuits from their anti-static
packaging until you are ready to install them.
Before handling a board or integrated circuit, touch an unpainted
portion of the system unit chassis for a few seconds. This helps to
discharge any static electricity on your body.
Wear a wrist-grounding strap, available from most electronic
component stores, when handling boards and components.
Trademarks Acknowledgments
AXIOMTEK is a trademark of Axiomtek Co., Ltd.
IBM is a registered trademark of International Business
Machines Corporation.
MS-DOS, and Windows 95/98/NT/2000 are trademarks of
Microsoft Corporation.
Phoenix-Award is a trademark of Phoenix-Award Software,
Inc.
IBM, PC/AT, PS/2, VGA are trademarks of International
Business Machines Corporation.
Intel and Celeron, Pentium III are trademarks of Intel
Corporation.
Other brand names and trademarks are the properties and
registered brands of their respective owners.
iii
Table of Contents
Chapter 1
1.1
1.2
1.3
Chapter 2
2.1
2.2
Introduction.....................................................1
Features ...................................................................2
Specifications..........................................................2
Accessories .............................................................4
Hardware Installation ...................................5
Board Layout ...........................................................5
Signal Connections.................................................6
2.2.1 Signal Connection Descriptions ..............................6
2.3
2.4
Jumper Setting ......................................................11
DI/DO Circuits and Wiring ....................................13
2.4.1 SPDT Relay: Single Pole Double Throw ................. 13
2.4.2 Isolated Input: AC/DC Polarity-Free..................... 13
2.5
Quick Setup and Test ...........................................14
Chapter 3
3.1
3.2
3.3
Registry Structure and Format...................19
Overview ................................................................19
Relay Output..........................................................19
Isolated Input.........................................................20
Appendix A Dimension of DASP-52032 and
Accessories ..........................................................................21
iv
DASP-52032 Card User’s Manual
C h a p t e r 1
Introduction
The DASP-52032 is a PCI-bus, 16 isolated D/I and 16 relay output
card. It supports not only optical isolation (2500VDC), but also
over-voltage protection (50VDC) to enhance the reliability of the
system. The DASP-52032 also supports two types of relay actuatorSPDT & SPST, making it suitable for controls and sensing
applications such as load switching, external switching detection, and
contact closure.
Easy to Troubleshoot Hardware Resource- PCI Scan
Utility
The PCI scan utility can scan all the DASP products within the system,
and can show users all system resources, such as serial numbers,
IRQ, and I/O addresses. This lets users clearly see through and
immediately know whether all DASPs are working normally,
decreasing the time of searching confirmation.
Introduction
1
DASP-52032 Card User’s Manual
1.1 Features
16 optically isolated digital input channels
8 SPDT & 8 SPST relay output channels
On board relay status LED indicator
AC/DC polarity-free isolated input
Output status read-back
Optical isolation on input channels (2500VDC) and
high
Over-voltage protection (50VDC)
Serial number on EEPROM supported
Windows® 98/NT/2000/XP and Labview 6.0/7.0
driver supported
Complete sample program- VB, VC, BCB, Delphi
1.2 Specifications
Isolated Digital Inputs
Channels: 16
Optical isolated: 2500VDC
Photo-coupler: PC-3H4
Photo-isolator response time: 20μs
Over-voltage protect: 50VDC
Input voltage:
VIH (max.) 36VDC
VIH (min.) 4VDC
VIL (max.) 3VDC
Low Logic 0-3VDC
High Logic 4-36VDC
2
Introduction
DASP-52032 Card User’s Manual
Input current:
10 VDC 2.9mA (typical)
12 VDC 3.6mA (typical)
24 VDC 7.5mA (typical)
36 VDC 11.5mA (typical)
Relay Outputs
Output channels: 16
Relay type: 8 SPDT & 8 SPST
Rating (resistive): 10 A @120 VAC, 6 A @ 250 VAC,
5 A @ 30 VDC
Relay on/off time: 10ms typical
Max. switching power: 62.5VA ,60W
Max. switching voltage: 250VAC,220VDC
Breakdown voltage: 750 Vrms (1 sec)
Operate time: 5ms
Release time: 4ms
Life expectancy: 10,000,000 operations
General Environment
I/O connector: 2 sets 37-pin D-Sub type female
Power consumption:
+5 V @ 250 mA (typical)
+5 V @ 800 mA (max.)
Operation temperature: 0 ~ 60°C
Storage temperature: -20 ~ 70°C
Humidity: 0 to 90% non-condensing
Dimensions: 185mm x 122mm
Introduction
3
DASP-52032 Card User’s Manual
1.3 Accessories
To make the DASP-52032 functionality complete, we carry a
versatility of accessories for different user requirements in the
following items:
Wiring Cable
CB-89037-2:
37-pin male D-sub type cable with 2m length
CB-89037-5:
37-pin male D-sub type cable with 5m length
The shielded D-sub cable with 2m and 5m are designed
for the DASP-52032 connector, respectively.
Terminal Block
TB-88037:
D-sub 37P female terminal block with DIN-rail mounting
The terminal block is directly connected to I/O connector
CON1 and CON2 of the DASP-52032.
4
Introduction
DASP-52032 Card User’s Manual
C h a p t e r 2
Hardware Installation
2.1 Board Layout
Board Layout for DASP-52032
Hardware Installation
5
DASP-52032 Card User’s Manual
2.2 Signal Connections
2.2.1
Signal Connection Descriptions
Signal Connections for DASP-52032
CON1:
The I/O connector CON1 on the DASP-52032 is a 37-pin
D-sub female connector for digital input signals. CON1
enables you to connect to accessories, the terminal block
TB-88037, with the shielded D-sub cable CB-89037-2 or
CB-89037-5.
CON2:
The I/O connector 40-pin header box connector CON2 on
the DASP-52032 is transformed into a 37-pin D-sub
female connector for digital input signals. CON2 enables
you to connect to accessories, the terminal block
TB-88037, with the shielded D-sub cable CB-89037-2 or
CB-89037-5.
6
Hardware Installation
DASP-52032 Card User’s Manual
Digital Input Connector CON1 and CON2
CON1/2
CB-89037
TB-88037
DIO Signal Connections for DASP-52032
Hardware Installation
7
DASP-52032 Card User’s Manual
The pin assignment of CON1 of DASP-52032 is listed as follows.
D-Sub 37-pin Connector for DASP-52032 CON1
Pin
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
8
Description
DIL_7
DIL_6
DIL_5
DIL_4
DIL_3
DIL_2
DIL_1
DIL_0
GND
COM_6
NO_6
COM_5
NO_5
COM_4
NO_4
NC_3
COM_3
NO_3
Pin
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Description
DIH_7
DIH_6
DIH_5
DIH_4
DIH_3
DIH_2
DIH_1
DIH_0
COM_7
NO_7
NC_2
COM_2
NO_2
NC_1
COM_1
NO_1
NC_0
COM_0
NO_0
Hardware Installation
DASP-52032 Card User’s Manual
NO n: normal open of the channel n
GND: ground
COM n: common of the channel n
DI nH: digital input signal (+) of the channel n
NC n: normal close of channel n
DI nL: digital input signal (-) of the channel n
D-Sub 37-pin Connector for DASP-52032 CON2
2
4
6
8
10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
1
3
5
7
9
11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
Hardware Installation
9
DASP-52032 Card User’s Manual
Pin
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
10
Description
DIL_15
DIL_14
DIL_13
DIL_12
DIL_11
DIL_10
DIL_9
DIL_8
GND
COM_14
NO_14
COM_13
NO_13
COM_12
NO_12
NC_11
COM_11
NO_11
Pin
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Description
DIH_15
DIH_14
DIH_13
DIH_12
DIH_11
DIH_10
DIH_9
DIH_8
COM_15
NO_15
NC_10
COM_10
NO_10
NC_9
COM_9
NO_9
NC_8
COM_8
NO_8
Hardware Installation
DASP-52032 Card User’s Manual
2.3 Jumper Setting
Each digital input channel of DASP-52032 can be configured to AC
type or DC type independently. Jumper 1 ~ Jumper 8 relates DI0~DI7,
and Jumper 9 ~ Jumper 16 relates DI8~DI15, as listed in the following
table. When the AC input type of a specific channel is configured, the
input path of the channel is automatically attached to an AC filter with
a time constant of 1.2ms (60Hz low pass).
Jumper 0~7 and Jumper 8~15 of DASP-52032
Jumper
JP1
JP2
JP3
JP4
JP5
JP6
JP7
JP8
Hardware Installation
Channel
DI_0
DI_1
DI_2
DI_3
DI_4
DI_5
DI_6
DI_7
Jumper
JP9
JP10
JP11
JP12
JP13
JP14
JP15
JP16
Channel
DI_8
DI_9
DI_10
DI_11
DI_12
DI_13
DI_14
DI_15
11
DASP-52032 Card User’s Manual
1
12
2
1
3
2
3
Jumper
DC signal input
AC signal input with filter
JPn
1-2
3-4
Hardware Installation
DASP-52032 Card User’s Manual
2.4 DI/DO Circuits and Wiring
2.4.1
SPDT Relay: Single Pole Double Throw
The contact rating of the relay output is 120V AC/10A, 250V AC/6A,
and 30V DC/5A. The basic layout and wiring is presented as below.
Block Diagram of Internal Circuits and Wiring of SPDT Relay
Digital Output for DASP-52032
2.4.2
Isolated Input: AC/DC Polarity-Free
The normal input voltage range is AC/DC 4-32V (AC 50-500 Hz). The
basic layout is presented as below.
Block Diagram of Internal Circuits and Wiring of Isolated Digital
Input for DASP-52032
Hardware Installation
13
DASP-52032 Card User’s Manual
2.5 Quick Setup and Test
To install a new DASP-52032 into an IBM PC compatible computer, at
first, power-off the PC and open its chassis, then plug the
DASP-52032 into a PCI slot of mother-board. The DASP-52032 is a
plug and play device for MS Windows, and the OS will detect your
DASP-52032 after you power on the PC. The detail of driver and
software installation is described in software manual of DASP-52032.
After the hardware and software installation, user can emulate and
test DASP-52032 step by step as follows.
To perform a complete test of DASP-52032, we can
route the input signals of DASP-52032 with a
specific input pattern for read-back. And the output
status of each channel can be observed directly
from the on-board led indicator of each channel, or
to estimate the mechanical movement of the SPDT
relay of each channel. And then, by following the
DASP-52032 test branch of the ToolWorkShop
which will fully test all the digital I/O channels of
the DASP-52032 as descried in the following
paragraphs.
Launch
the
‘PCI
Configuration
Utility’
of
DASP-52032 to ensure that the resource of
DASP-52032 is properly dispatched by the OS.
Press the scan button in the toolbar of the ‘PCI
Configuration
Utility’
to
find
the
installed
DASP-52032, and then check the resource list.
14
Hardware Installation
DASP-52032 Card User’s Manual
Scan DASP-52032 with PCI Configuration Utility and Check the
Dispatched Resource
Hardware Installation
15
DASP-52032 Card User’s Manual
Exit the ‘PCI Configuration Utility’ and launch the
‘ToolWorkShop’ for DASP-52032.
Launch ToolWorkShop
Select board test
16
Hardware Installation
DASP-52032 Card User’s Manual
Perform Timer/Counter and DIO test of
DASP-52032
Select test Target: DASP52032
Hardware Installation
17
DASP-52032 Card User’s Manual
Check Device Information and Press ‘Enable’ Button to Load
DASP-52032 Library
Perform Digital Input/Output Test by Set the DO Port Value and
Read Back the DO Port Value of DASP-52032
Before exiting ‘ToolWorkShop’, press ‘Release’
button to release DASP-52032 library.
18
Hardware Installation
DASP-52032 Card User’s Manual
C h a p t e r 3
Register Structure and Format
3.1 Overview
The DASP-52032 board occupies 4 consecutive I/O address. The
address of each register is defined as the board’s base address plus
an offset. The I/O registers and their corresponding functions are
listed in the followings.
Address
Base Address 0
Base Address 1
Base Address 2
Base Address 3
Write
Read
PCI Bridge Configuration Registers in
Memory Space
PCI Bridge Configuration Registers in I/O
Space
Readback of the
Reserved
output status
Low byte
Low byte
Relay output
Digital input
(CH0 ~ CH7)
(CH0~CH7)
Relay output
Digital input
(CH8 ~ CH15)
(CH8~CH15)
3.2 Relay Output
The DASP-52032 provides 8 relay output. The low 8 bits (D0 - D7) of
the relay 0 ~ 7 outputs are stored in base address 0. For DASP-52032,
the high 8 bits (D8 – D15) of the relay 8 ~ 15 outputs are stored in
base address 0. A high bit turns the relay on while a low bit turns the
relay off. The 8 bits of relay output register are shown in the following.
Registry Structure and Format
19
DASP-52032 Card User’s Manual
Relay output (Write):
Base Address 3
D7
D6
D5
D4
D3
D2
D1
D0
Output Channel
7
6
5
4
3
2
1
0
Relay output (Write):
Base Address 3 D15 D14 D13 D12 D11 D10 D9
Output Channel
15
14
13
12
11
D8
10
9
8
Read back of relay output (Read):
Base Address 2
D7
D6
D5
D4
D3
D2
D1
D0
Read back
Channel
7
6
5
4
3
2
1
0
Read back of relay output (Read):
Base Address 2 D15 D14 D13 D12 D11 D10 D9
Read back
Channel
15
14
13
12
11
10
9
D8
8
3.3 Isolated Input
The DASP-52032 provides 16 digital input. The 16 bits (D0 – D15) of
the digital inputs are stored in base address 3. A high bit represents a
high state while a low bit represent a low state. The 16 bits of isolated
input register are shown in the following.
Relay input: (Read)
Base Address 3
D7
D6
D5
D4
D3
D2
D1
D0
Input Channel
7
6
5
4
3
2
1
0
Relay input: (Read)
Base Address 3 D15 D14 D13 D12 D11 D10 D9
Input Channel
20
15
14
13
12
11
10
9
D8
8
Registry Structure and Format
DASP-52032 Card User’s Manual
Appendix A
Dimension of DASP-52032 and Accessories
DASP-52032
Dimension of DASP-52032 and Accessories
21
DASP-52032 Card User’s Manual
TB-88037
77
52
112
22
Dimension of DASP-52032 and Accessories