Download Manual - TopsCCC

Transcript
EX94664 User’s manual
Table of Contents
Chapter 1 Introduction ..................................................................................... 5
1.1
1.2
1.3
1.4
1.5
1.6
Introduction ............................................................................................... 6
Features.................................................................................................... 6
Applications............................................................................................... 6
Specifications ............................................................................................ 7
Software Supporting.................................................................................. 8
Programming Library................................................................................. 8
Chapter 2 Installation ....................................................................................... 9
2.1
2.2
2.3
2.4
2.5
2.6
2.7
What You Have ......................................................................................... 10
Unpacking ................................................................................................. 10
Hardware Installation Outline .................................................................... 10
PCB Layout............................................................................................... 11
Installation Procedures.............................................................................. 12
Device Installation for Windows Systems.................................................. 12
Connector Pin Assignment of EX-94664 ................................................... 13
Chapter 3 Registers Format............................................................................. 15
3.1
3.2
3.3
3.4
3.4.1
3.4.2
3.4.3
3.5
PCI PnP Registers .................................................................................... 16
Digital Input/Output Register Address Map ............................................... 17
PCI controller register address map.......................................................... 17
Interrupt and I/O direction control registers ............................................... 18
Digital I/O data register ............................................................................. 19
Interrupt status registers ........................................................................... 19
Interrupt mode control register .................................................................. 21
Timer/Counter registers ............................................................................ 19
EX94664 User’s manual
6.3
6.4
6.5
6.6
6.7
6.8
6.9
6.10
6.11
6.12
6.13
6.14
6.15
6.16
6.17
6.18
6.19
6.20
6.21
6.22
Chapter 7 EX-98068 Terminal board ...............................................................56
Chapter 4 Jumper setting ................................................................................ 23
4.1
4.2
Card number setting ................................................................................. 24
Input power-on state setting ...................................................................... 25
Chapter 5 Operation Theorem ......................................................................... 27
5.1
5.2
5.3
5.4
5.5
5.6
Digital Input Channels ............................................................................... 28
Digital Output Channels ............................................................................ 28
Input Initial state........................................................................................ 29
Edge Change Detection ............................................................................ 30
Digital debounce ....................................................................................... 31
Timer/Counter operation ........................................................................... 32
Chapter 6 Libraries........................................................................................... 33
6.1
6.2
Libraries Installation .................................................................................. 34
How to use the Functions in PCIDAQ.DLL................................................ 34
3
Summary of function calls..........................................................................35
W_4664_Open...........................................................................................36
W_4664_Version .......................................................................................37
W_4664_GetBusSlot .................................................................................37
W_4664_Close ..........................................................................................39
W_4664_Set_DIOMode.............................................................................40
W_4664_Read_Di .....................................................................................41
W_4664_Read_Do ....................................................................................42
W_4664_Write_Do.....................................................................................43
W_4664_Set_Do_Bit .................................................................................44
W_4664_Reset_Do_Bit .............................................................................45
W_4664_Enable_Debounce ......................................................................46
W_4664_Set_DebounceTime ....................................................................47
W_4664_Write_Counter ............................................................................48
W_4664_Read_Counter ............................................................................49
W_4664_Stop_Counter .............................................................................50
W_4664_IntEnable ....................................................................................51
W_4664_IntDisable ...................................................................................53
W_4664_Clear_IntStatus ...........................................................................54
D_4664_Read_IntStatus............................................................................55
4