Download Manual - TopsCCC
Transcript
How to use the Functions in PCIDAQ.DLL................................................ 26 Summary of function calls ......................................................................... 27 W_8354_Open.......................................................................................... 28 W_8354_GetCardsID................................................................................ 29 W_8354_Version....................................................................................... 30 W_8354_GetBusSlot ................................................................................ 31 W_8354_Close ......................................................................................... 32 W_8354_Read_Di..................................................................................... 33 W_8354_Write_Do.................................................................................... 34 W_8354_Set_Do_Bit................................................................................. 35 W_8354_Reset_Do_Bit............................................................................. 36 D_8354_Set_Counter ............................................................................... 37 W_8354_Set_CLKSource ......................................................................... 38 W_8354_Write_Counter............................................................................ 39 W_8354_Read_Counter ........................................................................... 40 W_8354_Stop_Counter............................................................................. 41 W_8354_Set_CK1 .................................................................................... 42 W_8354_Set_DebounceCLK .................................................................... 43 W_8354_Set_DebounceMode .................................................................. 44 D_8354_Read_IntStatus ........................................................................... 45 W_8354_Clear_IntStatus .......................................................................... 46 W_8354_IntEnable ................................................................................... 47 W_8354_IntDisable................................................................................... 48 Chapter 1 Introduction 1.1 Introduction EX-98354 is a general-purpose counter / timer and digital I/O card. This card have four 8254 chips on board, so it provides twelve 16 bits down counter or frequency dividers. This card has multi-configurations. The counters can be set as independent counter or cascaded counter. The gate control of counter comes from either external source or internal default enable signal. The clock source of the counters can be set as internal or external clock source, user can set the jumper to decide whether the debounce function is used or not used. It is possible to use this card on variety of powerful counter / timer functions to match your industry and laboratory applications. The card also provides digital output and input port. There are 8 bits digital output and 8 bits digital input channels that can be used to control or monitor the external devices. EX-98354 provides one interrupt signal that comes from internal or external interrupt sources. The interrupt can be used for watchdog timer or others applications. The maximum interrupt time interval can be 536 sec. Chapter 6 EX-9837 Terminal board.................................................................. 49 16 digital input/output 16 IN 16 OUT ECLK1 ~ ECLK3 Chip #1 GATE1 ~ GATE3 COUT1 ~ COUT3 ECLK4~ ECLK6 PCI BUS Data Address INT #A PCI controller Chip #2 GATE4 ~ GATE6 COUT4 ~ COUT6 ECLK7 ~ ECLK9 Chip #3 Interrupt control GATE7 ~ GATE9 COUT7 ~ COUT9 COUT10 ~ COUT11 Chip #4 COUT12 ECLK10 ECLK1 ~ ECLK10 Block diagram of the EX-98354 3 4 37-pin D-type connector (CN3) 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.11 5.12 5.13 5.14 5.15 5.16 5.17 5.18 5.19 5.20 5.21 5.22 5.23 5.24 EX-98354 User’s manual 40-pin FRC (CN2) EX98354 User’s manual