+ All Categories
Home > Documents > cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The...

cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The...

Date post: 02-Aug-2020
Category:
Upload: others
View: 7 times
Download: 0 times
Share this document with a friend
15
cPCI-DIO02 Users Manual (Rev 1.0) -1- http://www.daqsystem.com cPCI-DIO02 User’s Manual Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the trademarks or service names of all other organizations mentioned in this document as their own property. Information furnished by DAQ system is believed to be accurate and reliable. However, no responsibility is assumed by DAQ system for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or copyrights of DAQ system. The information in this document is subject to change without notice and no part of this document may be copied or reproduced without the prior written consent. Copyrights 2007 DAQ system, All rights reserved.
Transcript
Page 1: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-1- http://www.daqsystem.com

cPCI-DIO02 User’s Manual

Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the

trademarks or service names of all other organizations mentioned in this document as their own property.

Information furnished by DAQ system is believed to be accurate and reliable. However, no responsibility is assumed by DAQ

system for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is

granted by implication or otherwise under any patent or copyrights of DAQ system.

The information in this document is subject to change without notice and no part of this document may be copied or

reproduced without the prior written consent.

Copyrights 2007 DAQ system, All rights reserved.

Page 2: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-2- http://www.daqsystem.com

Contents

1. cPCI-DIO02 Block Diagram

2. cPCI-DIO02 Internal Placement

3. Connector Pin Map & SW1 Setup

3.1 Front Panel – CN1 (MDR 100pin)

3.2 Box Header – J1

3.3 Address Setup – SW1

3.4 I/O Register Map

4. Installation

5. Application Program Explanation

References

Page 3: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-3- http://www.daqsystem.com

1. cPCI-DIO02 Block Diagram

[Figure 1-1. cPCI-DIO02 Internal Block Diagram]

The cPCI-DIO02 is designed high speed digital logger with Compact PCI interface. It composed of

128bit I/O ports for external interface like a Figure 1-1. (Usable a selection Input/Output at programs)

It is possibility selective Read/Write to 16bit each 8 groups.

Page 4: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-4- http://www.daqsystem.com

2. cPCI-DIO02 Internal Placements

[Figure 2-1. cPCI-DIO02 Placement]

No. Name Description and Note

1 CN1 MDR 100pin connector / External interface (I/O 0~95)

2 J1 Box Header 2x20 / External interface (I/O 96~127)

3 CJ1 Compact PCI interface / PCI Bus

4 U1 Serial Flash program EPLD

5 U4 I/O Expansion EPLD

6 U8 System control FPGA

J1

Box Header 32 I/O

U4

EPLD

I/O확장 U8

FPGA

System

control

CJ1

cPCI

interface

U1

EPLD

Program CN1

External

interface

Page 5: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-5- http://www.daqsystem.com

3. Connector Pin Map & SW1 Setup

3.1 Front Panel – CN1 (MDR 100pin)

LD_64

LD_94

LD_88LD_90LD_92

LD_82LD_84LD_86

LD_80LD_78

LD_72LD_74LD_76

LD_66LD_68LD_70

LD_35

LD_59LD_61LD_63

LD_33

LD_51LD_53LD_55LD_57

LD_43LD_45LD_47LD_49

LD_3

LD_37LD_39LD_41

LD_27LD_29LD_31

LD_1

LD_19LD_21LD_23LD_25

LD_11LD_13LD_15LD_17

LD_5LD_7LD_9

11

22

33

44

55

66

77

88

99

1010

1111

1212

1313

1414

1515

1616

1717

1818

1919

2020

2121

2222

2323

2424

2525

2626

2727

2828

2929

3030

3131

3232

3333

3434

3535

3636

3737

3838

3939

4040

4141

4242

4343

4444

4545

4646

4747

4848

4949

5050

5151

5252

5353

5454

5555

5656

5757

5858

5959

6060

6161

6262

6363

6464

6565

6666

6767

6868

6969

7070

7171

7272

7373

7474

7575

7676

7777

7878

7979

8080

8181

8282

8383

8484

8585

8686

8787

8888

8989

9090

9191

9292

9393

9494

9595

9696

9797

9898

9999

100100

CN1

MDR 100Pin

LD_26LD_28LD_30

LD_0

LD_18LD_20LD_22LD_24

LD_10LD_12LD_14LD_16

LD_2LD_4LD_6LD_8

LD_93LD_95

LD_65LD_67

LD_85LD_87LD_89LD_91

LD_77LD_79LD_81LD_83

LD_69LD_71LD_73LD_75

LD_58LD_60LD_62

LD_32

LD_52LD_54LD_56

LD_46LD_48LD_50

LD_38LD_40LD_42LD_44

LD_34LD_36

[Figure 3-1. cPCI-DIO02 Front Panel – MDR 100pin]

The cPCI-DIO02 has a MDR 100PIN connector in front of panel, and has 96 I/O ports.

Page 6: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-6- http://www.daqsystem.com

3.2 Box header – J1

LD_122LD_124LD_126

LD_96

LD_114LD_116LD_118LD_120

LD_108LD_110LD_112

LD_102LD_104LD_106

LD_98LD_100

1 23 45 67 89 10

11 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 3233 3435 3637 3839 40

J1

Box header 2x20 2.54mm

LD_99

LD_127

LD_97

LD_119LD_121LD_123LD_125

LD_111LD_113LD_115LD_117

LD_103LD_105LD_107LD_109

LD_101

+3.3V+3.3V

[그림 3-2. cPCI-DIO02 ‘J2’ Box-header]

The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector.

3.3 Address Setup – SW1

Several DIO02 series boards classify each board address, you shall use it at systems that a lot of

I/O ports was required.

Distribution of each board sets it up through 4 pin switch (SW1) in a board. A system is designed of

4 maximum boards at the same time so as usable.

SW1 Setup

2 1ON

OFF

1 2 Board No.

OFF OFF 0

ON OFF 1

OFF ON 2

ON ON 3

Page 7: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-7- http://www.daqsystem.com

3.4 I/O Register Map

VENDOR ID : 0x0303 DEVICE ID : 0x7040

<IO MAP>

IO-offset NAME BIT

할당 DESC

0x00 Local Data #0

bit15~0

LD00~LD15 Data

0x04 Local Data #1 LD16~LD31 Data

0x08 Local Data #2 LD32~LD47 Data

0x0C Local Data #3 LD48~LD63 Data

0x10 Local Data #4 LD64~LD79 Data

0x14 Local Data #5 LD80~LD95 Data

0x18 Local Data #6 LD96~LD111 Data

0x1C Local Data #7 LD112~LD127 Data

0x20 Data Direction bit7~0

Group Data Direction

'H' : output, 'L' : input

bit0 : Local Data #0

bit1 : Local Data #1

bit2 : Local Data #2

bit3 : Local Data #3

bit4 : Local Data #4

bit5 : Local Data #5

bit6 : Local Data #6

bit7 : Local Data #7

0xF0 Board Number bit1~0 Board Number Selection

Page 8: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-8- http://www.daqsystem.com

4. Installation

- After system power off, the cPCI-DIO02 and CPU board (cPCI-CPU03) connects to slot in the

Back-Plane and then power on. If it turn on the power, LED3 is light on, LED1, 2 repeats light On/Off.

- The CPU starts power switch on, and CPU board is booting. After finish booting, You can show the

message of “New Hardware Search Wizard” window.

Select the item “Install from a list or specific location (Advanced)” and click “Next”.

cPCI-CPU03 cPCI-DIO02

Back-Plane

전원인가 LED점등

Page 9: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-9- http://www.daqsystem.com

“Click” select the driver accompanying CD at a product contents.

For installation of the driver, you need a “pci_di02.inf” and “pci_dio02.sys” files at driver folder.

Page 10: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-10- http://www.daqsystem.com

“Finish” button click.

If the installation is completely finished, you confirm it in the following ways. Do the following steps to

show up the “Device Manager” window. [My Computer -> Properties -> Hardware -> Device Manager ->

Multifunction Adaptors -> “PCI-DIO02”]

Page 11: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-11- http://www.daqsystem.com

Page 12: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-12- http://www.daqsystem.com

If you can see the “PCI-DIO02” (The cPCI-DIO02 uses a same driver with PCI-DIO02 because of

compatibility.) at the Multi-functions Adaptors, the driver installation is to have

been over. (Check the red circle)

Important Notice : After installation, you should re-boot the system for the proper operation.

Page 13: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-13- http://www.daqsystem.com

5. Application Program Explanation

DAQ system provides a sample program to make the user be familiar with the board operation and

to make the program development easier. You can find the sample program in the CDROM

accompanying with the board. One of the execution file is “PCI_DIO02.exe”.

Sample program is provided in source form in order to show the usage of API(Application

Programming Interface) of the board and may be modified for customer’s own usage.

[Figure 5-1. When Sample program “PCI_DIO02.exe’ is executed]

To run the sample application program, you need to use API, it is a form of client DLL. To compile

the sample source to make its executable file, you have to use Import Library files and header files.

You can find them in the CDROM. To run the .exe file, the API DLL file (PCI_DIO02.DLL) must be in

the same directory with the .exe file or Windows system folder. Another method is to add the directory

of API DLL file to PATH environmental variable.

1

2

3

5

4

6 7

8

Page 14: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-14- http://www.daqsystem.com

No. Name Description Note

1 Model No Select the Model Name PCI-DIO02 selection

2 Board No Select the Board Number By SW1 Setup

3 Open Device Open the selected Board

4 List Device It displays a board number which installed in a

system.

5 Direction Select Read / Write

8bit each bit ‘0’ : Read

‘1’ : Write

The lowest bit is 0~15 group setup.

The most bit is 112~127 group setup.

Select it in 16bits unit

6 Digital Input Input confirm by each 16bits group

It confirms an input value of group when “Read”

button click.

When “Auto DIN Read” checks, if input is

confirmed, it can just confirm it.

“Read All” will confirm

the all input groups.

7 Digital Output Output confirm by each 16bits group

If “Read” button click, it display the “Write” value.

If “Write” button click, it write at port.

When “Auto DOUT Test” checks, it will write in

order on data about groups set up to output.

“Write All” will confirm

the all output groups.

8 Finish It will finish the application program.

Page 15: cPCI-DIO02 - DAQ SYSTEM · 2013-10-12 · [그림 3-2. cPCI-DIO02 ‘J2’ Box-header] The cPCI-DIO02 has the last 32 I/O (total 128) through ‘J1’ Box header connector. 3.3 Address

cPCI-DIO02 Users Manual (Rev 1.0)

-15- http://www.daqsystem.com

References

1. PCI System Architecture

-- MindShare Inc.

2. PCI Local Bus Specification

-- PCI-SIG

3. General information on PCI board API

-- DAQ system

4. AN201 How to build application using APIs

-- DAQ system

5. AN242 cPCI-DIO02 API Programming

-- DAQ system


Recommended