background image

Technical data 

APCI-1710 

 

18 

 

4.4.3

 

Safety 

Optical isolation 
(DIN VDE 0411-100): ...............................1000 V (from the PC to the 
external periphery) 
Logic: .........................................................positive 
Creeping distance:......................................3.2 mm on the printed board 
 
 
 

 

Summary of Contents for APCI-1710

Page 1: ...nction counter board APCI 1710 in the following table Chemical substance symbol Coarse classification Pb Hg Cd Cr VI PBB PBDE Printed circuit board 0 0 0 0 0 0 Connectors 0 0 0 0 0 0 Logic ICs 0 0 0 0 0 0 Power IC VN340 X 0 0 0 0 0 Capacitors 0 0 0 0 0 0 Resistors X 0 0 0 0 0 Diodes with glass housings X 0 0 0 0 0 X Limit value exceeded 0 Limit value kept Should you have any questions that you do ...

Page 2: ...ISO 9001 2000 certified Edition 07 09 04 2007 ADDI DATA GmbH Dieselstraße 3 D 77833 OTTERSWEIER Technical support 49 0 7223 9493 0 Technical description APCI 1710 Multifunction counter board optically isolated ...

Page 3: ...ect to wear disasters caused by the intrusion of foreign bodies and by influence beyond the user s control Licence for ADDI DATA software products Read carefully this licence before using the standard software The right for using this software is given to the customer if he she agrees to the conditions of this licence this software can only be used for configuring ADDI DATA boards copying the soft...

Page 4: ...recautions yellow leaflet If this leaflet is not with the documentation please contact us and ask for it Observe the instructions of the manual Make sure that you do not forget or skip any step We are not liable for damages resulting from a wrong use of the board Used symbols i IMPORTANT designates hints and other useful information WARNING It designates a possibly dangerous situation If the instr...

Page 5: ...3 Safety 18 4 5 Component scheme 19 5 AVAILABLE FUNCTIONS OF THE APCI 1710 20 5 1 Available signals 20 5 1 1 Connectable signal lines 20 5 1 2 Maximal signal wirings of the APCI 1710 20 5 2 Available functions 21 5 2 1 Programmable functions of the counter board 21 5 2 2 Connection facilities depending on the chosen function 22 5 2 3 Delivered manuals 22 6 INSTALLATION OF THE BOARD 23 6 1 Opening ...

Page 6: ... Connection at the TTL inputs and outputs 45 9 FUNCTIONS OF THE BOARD 46 9 1 Description 46 9 2 Digital inputs and outputs 47 9 2 1 Description 47 9 2 2 Inputs 48 9 2 3 Outputs 50 9 3 TTL inputs and outputs 52 9 3 1 Common signals for all function modules 52 9 3 2 Single signals 52 9 4 PCI bus interface 53 10 STANDARD SOFTWARE 55 10 1 Introduction 55 10 2 Software functions 57 10 2 1 Initialisatio...

Page 7: ... APCI 1710 6 11 i_APCI1710_TestInterrupt 76 12 i_APCI1710_ResetBoardIntRoutine 78 10 2 3 Initialisation input filter 79 13 i_APCI1710_InitInputFilter 79 14 i_APCI1710_CheckInputFilter40MHzStatus 81 11 INDEX 82 ...

Page 8: ... 8 8 Example Connection of 2 incremental encoders at FM1 44 Fig 8 9 Connection of a differential output 44 Fig 8 10 Connection at TTL inputs and outputs 45 Fig 9 1 Block diagram of the APCI 1710 46 Fig 9 2 Block diagram of the digital inputs and outputs 1 function module 48 Fig 9 3 Basic circuit of the differential inputs 5 V 49 Fig 9 4 Basic circuit of the differential inputs 5 V used as TTL inpu...

Page 9: ...38 Table 8 4 Pin assignment for function module No 4 FM4 38 Table 8 5 Special pin assignment 38 Table 8 6 External supply through terminal ST2 39 Table 8 7 Description of the pin assignment 41 Table 9 1 Assignment of the function modules 53 Table 9 2 I O range 54 Table 10 1 Type declaration for DOS and Windows 3 1x 55 Table 10 2 Type declaration for Windows 95 NT 56 Table 10 3 Define value 56 Tabl...

Page 10: ...re intended to be connected to incremental encoders They can also be used as TTL inputs 24 V version APCI 1710 24 these inputs can also be used for processing 24 V signals 2 up to 12 mass related inputs which can be operated for any function provided they are used within the defined limit values Option these inputs can also be adapted for processing 5 V signals 3 up to 12 outputs for the emission ...

Page 11: ...ed plastic hoods shielded cable cable shield folded back and firmly screwed to the connector housing Uses beyond these specifications are not allowed The manufacturer is not liable for any damages which would result from the non observance of this clause The use of the board according to its intended purpose includes observing all advises given in this manual and in the safety leaflet Therefore pl...

Page 12: ...ned in electronics are entitled to perform the following works installation use maintenance 2 2 Personal protection Consider the country specific regulations about the prevention of accidents electrical and mechanical installations radio interference suppression ...

Page 13: ...Handling of the board APCI 1710 12 3 HANDLING OF THE BOARD Fig 3 1 Correct handling ...

Page 14: ...8 kV Fields 10 V m 10 V m Burst 4 kV 2 kV Conducted radio interferences 10 V 10 V 4 2 Physical set up of the board The board is assembled on a 4 layer printed circuit card Dimensions 179 mm 99 mm Weight approx 150 g Installation in 32 64 bit PCI slot 5 V Connection to the peripheral 50 pin SUB D male connector Accessories1 Standard cable ST370 16 Screw terminal panel PX8000 WARNING The supply line...

Page 15: ...ure 25 to 70 C Relative humidity at indoor installation 50 at 40 C 80 at 31 C Minimum PC requirements PCI BIOS from Version 1 0 Bus speed 33 MHz Data bus access 32 bit Decoding in the 64 K I O area of the PC Target Only operation Operating system Windows NT 4 0 9x 2000 Linux Resources I O area 3 areas 64 bytes 8 bytes 256 bytes IRQs INTA of the PCI bus Energy requirements Operating voltage of the ...

Page 16: ...put frequency 5 MHz at nominal voltage Open Circuit Fail Safe Receiver Design 1 inputs open ESD protection up to 15 kV Mass related inputs 24 V channels E F G Nominal voltage 24 VDC Input current when nominal voltage 11 mA typical Logic input level UH max 30 V UH min 19 V UL max 15 V UL min 0 V Signal delay 120 ns at nominal voltage Max input frequency 2 5 MHz at nominal voltage Mass related input...

Page 17: ...ominal voltage 24 VDC 11 mA Max input frequency 1 MHz at nominal voltage with input filter Logic input level UH max 30 V UH min 19 V UL max 15 V UL min 0 V 4 4 2 Outputs Differential outputs 5 V Fulfil the EIA standard RS485 Nominal voltage 5 VDC Max output frequency 5 MHz Max number of outputs 8 if not used as differential inputs Fig 4 1 Output current versus differential output voltage ...

Page 18: ...s inputs i e that the function PWM and digital I O not all as inputs cannot be used with this board Protection against overtemperature 24 V outputs Activation from approx 150 170 C chip temperature Deactivation automatically from approx 125 140 C chip temperature Outputs when excess temperature outputs switch off Undervoltage protection active when Vext 5 V Outputs when undervoltage all outputs sw...

Page 19: ...Technical data APCI 1710 18 4 4 3 Safety Optical isolation DIN VDE 0411 100 1000 V from the PC to the external periphery Logic positive Creeping distance 3 2 mm on the printed board ...

Page 20: ...APCI 1710 Technical data 19 4 5 Component scheme Figure 4 1 Component scheme ...

Page 21: ...ls A B 24 V version APCI 1710 24V 7 x 24 V inputs signals A to G 1 x 14 V output TTL optional signal H 5 1 2 Maximal signal wirings of the APCI 1710 Table 5 1 Maximal input lines on the board Inputs Available outputs 28 4 H of them are 16 differential inputs and 12 x 24 V inputs Table 5 2 Maximal input lines on a module Inputs Available outputs 7 1 of them are 4 differential 3 x 24 V inputs Table ...

Page 22: ... channels Reserved output channels Incremental counter 7 inputs A to G 1 output H SSI 6 inputs B to G 2 outputs A H Chronos 5 inputs C to G 3 outputs A B H Counter timer 5 inputs C to G 3 outputs A B H Digital I O 7 inputs A to G 1 output H Or 5 inputs C to G 3 outputs A B H PWM 5 inputs C to G 3 outputs A B H TOR 2 inputs C D 2 outputs A B TTL 24 digital channels configurable as inputs or outputs...

Page 23: ...ed reserve and programming information in the respecting manuals Table 5 7 Delivered manuals Function PDF file CD2 technical manuals Function description in SET1710 CFG file German English Incremental counter Inkr_zähler_d pdf Incr_counter_e pdf Incremental counter inc_cpt cfg SSI SSI_d pdf ssi_e pdf SSI ssi cfg SSI monitor SSI Monitor_d SSIMonitor_e pdf SSI_Monitor ssi_mon cfg Chronos chronos_d p...

Page 24: ... socket Open your PC as described in the manual of the PC manufacturer 6 2 Selecting a free slot Insert the board in a free PCI 5V slot 32 bit Fig 6 1 PCI 5V slot 32 bit Remove the back cover of the selected slot according to the instructions of the PC manufacturer Keep the back cover You will need it if you remove the board Discharge yourself from electrostatic charges Take the board out of its p...

Page 25: ... into the chosen slot Fig 6 2 Inserting the board Fasten the board to the rear of the PC housing with the screw which was fixed on the back cover Fig 6 3 Fastening the board at the back cover Tighten all the loosen screws 6 4 Closing the PC Close your PC as described in the manual of the PC manufacturer ...

Page 26: ...erent drivers is to be found in the delivered description Installations instructions for the PCI and ISA bus A link to the corresponding PDF file is available in the navigation pane bookmarks of Acrobat Reader 7 2 Configuration of the APCI 1710 with ADDIREG The ADDIREG registration program is a 32 bit program With this program the user can register all hardware information that is required for the...

Page 27: ...le APCI 7800 When you use the program for the first time no board appears under this entry Base address Chosen base address of the board Access Selection of the access mode of the ADDI DATA digital boards Access in 8 bit or in 16 bit PCI slot Used PCI slot If the board is no APCI board appears NO Interrupt Used interrupt of the board If the board do not have an interrupt appears Not available DMA ...

Page 28: ...to be changed Base address In this box you can select your PC board s base address All vacant base addresses are listed A base address that is already used is not displayed in this entry Interrupt name Selection of the interrupt number that shall be used by the board DMA name for ISA boards only When the board supports 2 DMA channels you can select which DMA channel you want to change DMA channel ...

Page 29: ...to the first screen Clear You can delete the registration of your board Highlight the board to be deleted and click on Clear Set Sets the parameterized board configuration The configuration shall be set before you save it Cancel Resets the modified parameter to the currently saved configuration parameterized board configuration Default Sets the board s standard parameter More information You can c...

Page 30: ...ilable of the virtual board As the APCI 1710 is not programmed with ADDIPACK this button is deactivated Save Saves the parameter and registrates the board Default Reactivation of the parameter and registration that were saved at last Test registration Checks if there is a conflict between the board and other devices A message indicates the parameter that has generated the conflict If there is no c...

Page 31: ...ave You can control if the registration is right be conducting a test If the test result is positive you can leave the ADDIREG program Then the board will be initialized with the set parameters and can be operated You will be requested to restart your PC Otherwise the parameters will be saved in files so that there is no need to restart the PC 7 2 2 Changing the registration of an existing board i...

Page 32: ...is a 16 bit or 32 bit program for Windows 3 11 and Windows XP NT 2000 98 It will be installed automatically when installing the driver in 32 bit Windows XP NT 2000 98 At delivery time all function modules are preset with the function incremental counter The functions are programmed once and separate for each function module through SET1710 exe which is delivered with the board After the PC s new s...

Page 33: ...h the registration program ADDIREG under Windows XP NT 2000 98 before configuring the function modules with the program SET1710 Fig 7 4 SET1710 Configuration program for modules Fig 7 5 Selection of a APCI CPCI 170 Under About you can find general information about the board and our customer service ...

Page 34: ...d the APCI 1710 the following box is displayed Fig 7 7 Function list and module configuration Function list In this box all available module functions are listed Each function will be set in a configuration file into the directory CFG Module configuration Current module configuration of the selected board ...

Page 35: ...CPCI 1710 with the current module configuration Exit Closes the box 7 3 2 Setting a module configuration Module configuration through mouse click Fig 7 8 Setting a module configuration by mouse click Click with the right mouse button on the function in the list and move it into the required module Module configuration through keyboard Select the function in the list tabulator Then press the Return...

Page 36: ...E mail info addi data de or hotline addi data de Free downloads of standard software You can download the driver for your board from the internet www addi data com i IMPORTANT Before using the board or in case of malfunction during operation check if there is an update of the product technical description driver The current version can be found on the internet or contact us directly ...

Page 37: ...tential sources of interference like frequency converter mains supply circuit shall be as long as possible If you operate the outputs with maximum load you shall place the connection cable freely and well ventilated 8 1 Connector pin assignment i IMPORTANT The function modules are described with different definitions in the hardware and software descriptions For the connector pin assignment Hardwa...

Page 38: ... 24 V input 5 B1 Input Output 1 Diff TTL 6 C1 Input Diff TTL 24 V 7 C1 Input Diff TTL 8 D1 Input Diff TTL 24 V 9 D1 Input Diff TTL 35 H1 Digital Output 24 V 24 V 39 E1 Digital Input 24 V 24 V 43 F1 Digital Input 24 V 24 V 47 G1 Digital Input 24 V 24 V Table 8 2 Pin assignment for function module No 2 FM2 Pin Description Input Output APCI 1710 APCI 1710 24 V 10 A2 Input Output 1 Diff TTL 24 V input...

Page 39: ...gnment for function module No 4 FM4 Pin Description Input Output ACPI 1710 APCI 1710 24 V 26 A4 Input Output 1 Diff TTL 24 V input 27 A4 Input Output 1 Diff TTL 28 B4 Input Output 1 Diff TTL 24 V input 29 B4 Input Output 1 Diff TTL 30 C4 Input Diff TTL 24 V 31 C4 Input Diff TTL 32 D4 Input Diff TTL 24 V 33 D4 Input Diff TTL 38 H4 Digital Output 24 V 24 V 42 E4 Digital Input 24 V 24 V 46 F4 Digital...

Page 40: ...status The 24 supply of the outputs H1 to H4 is conducted through Pin 34 of the front connector ST1 Jumper ST3 is on position A Use of TTL inputs The 24 V supply of the outputs H1 to H4 is conducted through terminal ST2 Jumper ST3 must be set on position B Pin 34 is considered for the auxiliary voltage UREF for the adaptation of the 5 V differential inputs on TTL signals Fig 8 2 Terminal ST2 Table...

Page 41: ...Connecting the peripheral APCI 1710 40 8 1 3 50 pin ribbon cable connector ST5 Fig 8 3 Position of the connector ST5 on the board Fig 8 4 Pin assignment of the ribbon cable connector ...

Page 42: ... after reset input 7 20 PA3 TTL input or output after reset input 40 21 GND PC GND without isolation 24 22 PA4 TTL input or output after reset input 8 23 PA5 TTL input or output after reset input 41 24 PA6 TTL input or output after reset input 25 25 PA7 TTL input or output after reset input 9 26 V ext 42 27 PB0 TTL input or output after reset input 26 28 PB1 TTL input or output after reset input 1...

Page 43: ...utput FM2 33 49 I12 TTL input or output after reset output FM1 17 50 J12 TTL input or output after reset output FM1 50 1 PA PB and PC Pullup on 5 V 2 Serial resistance 100 Ω PD PA PB PC and PD can be used through the function module TTL I O 8 2 Connection of mass related inputs and outputs Fig 8 5 Connection of a mass related input ...

Page 44: ...APCI 1710 Connecting the peripheral 43 Fig 8 6 Connection of a mass related output 8 3 Connection of the differential digital I O Fig 8 7 Connection of a differential input ...

Page 45: ...Connecting the peripheral APCI 1710 44 Fig 8 8 Example Connection of 2 incremental encoders at FM1 Fig 8 9 Connection of a differential output ...

Page 46: ...APCI 1710 Connecting the peripheral 45 8 4 Connection at the TTL inputs and outputs Fig 8 10 Connection at TTL inputs and outputs ...

Page 47: ...on of TTL signals to the board These signals are not isolated optically from the PC The APCI 1710 board consists of 4 function modules that are assembled with 4 reprogrammable CPLDs Complex Programmable Logic Devices Digital inputs and outputs are allocated firmly to each function module Fig 9 1 Block diagram of the APCI 1710 The user can reprogram the board without uninstalling it This has the fo...

Page 48: ...ailable for each module see Fig 9 2 block diagram of digital inputs and outputs 1 function module The lines are divided according to the board as follows APCI 1710 Input lines 2 x TTL RS422 signals C D 3 x 24 V 5 V optional signals E F G Output lines 1 x 24 V TTL optional signal H Free definable lines input or output 2 x TTL RS422 signals A B APCI 1710 24 V 7 x 24 V inputs signals A to G 1 x 24 V ...

Page 49: ...ction module 9 2 2 Inputs The inputs are distinguished as follows differential inputs for very fast signals mass related inputs Differential inputs Max 4 differential inputs A B C and D are available for each function module The levels in the standard delivery correspond with the RS485 5 V standard ...

Page 50: ...verted according to the wiring to the function module Fig 9 4 Basic circuit of the differential inputs 5 V used as TTL inputs In version APCI 1710 24 the differential inputs A to D are individually designed for the connection to a 24 V impulse transmitter signal transmitter Fig 9 5 Basic circuit of the 24 V inputs APCI 1710 24V Mass related inputs Max 3 mass related inputs E F and G are available ...

Page 51: ... Fig 9 7 Basic circuit of the digital inputs 5 V OPTION 9 2 3 Outputs The outputs are distinguished as follows differential outputs for very fast signals mass related outputs Differential outputs Max 2 differential outputs A and B are available for one function module The levels in the standard delivery correspond with the RS485 5 V standard In this case A and B can not be used as common inputs ...

Page 52: ...evels in the standard delivery correspond with the 24 V standard IEC1131 2 High Side driver Fig 9 9 Basic circuit of the digital output H 24 V The 24 V can be fed either through the connector ST1 jumper in position A or separately through the terminal ST2 The output can also be delivered on request as opto coupler output TTL compatible Fig 9 10 Basic circuit of a digital output H 5 V OPTION ...

Page 53: ...nnected through the connector ST5 to the peripheral 9 3 1 Common signals for all function modules The signals PA0 to PA7 PB0 to PB7 and PC0 to PC7 are connected with all function modules They are available for max one function module e g TTL I O available Example Only the function module No 4 FM4 is programmed with the function TTL I O The signals can be set as inputs or outputs 9 3 2 Single signa...

Page 54: ... can be accessed via the usual I O write read commands The four function modules need 256 bytes of the 64 kilobytes I O range of the PC always 64 bytes for each function module WARNING The addresses allocated by the BIOS should not be reprogrammed The following table shows the I O assignment Table 9 1 Assignment of the function modules IORD IOWR D31 D24 D23 D16 D15 D8 D7 D0 BYTES HIGHBYTE MIDHIGHB...

Page 55: ...al counter 1 BASE 59 Incremental counter 1 BASE 60 bis 63 Function module 1 Info SCxx BASE 64 Incremental counter 2 BASE 123 Incremental counter 2 BASE 124 bis 127 Function module 2 Info SCxx BASE 128 Incremental counter 3 BASE 187 Incremental counter 3 BASE 188 bis 191 Function module 3 Info SCxx BASE 192 Incremental counter 4 BASE 251 Incremental counter 4 BASE 252 bis 255 Function module 4 Info...

Page 56: ...oft C Borland Pascal Microsoft Visual Basic Dos Microsoft Visual Basic Windows VOID void void pointer any BYTE unsigned char unsigned char byte integer integer INT int int integer integer integer UINT unsigned int unsigned int word long long LONG long long longint long long PBYTE unsigned char unsigned char var byte integer integer PINT int int var integer integer integer PUINT unsigned int unsign...

Page 57: ...eger UINT unsigned int unsigned int long long long LONG long long longint long long PBYTE unsigned char unsigned char var byte integer integer PINT int int var integer integer integer PUINT unsigned int unsigned int var long long long PCHAR char char var string string string Table 10 3 Define value Define name Decimal value Hexadecimal value DLL_COMPILER_C 1 1 DLL_COMPILER_VB 2 2 DLL_COMPILER_PASC...

Page 58: ... BYTE b_CompilerDefine The user shall select under Windows the language which he wants to use for programming DLL_COMPILER_C The user programs in C DLL_COMPILER_VB Programming in Visual Basic for Windows DLL_COMPILER_VB_5 Programming in Visual Basic 5 für Windows NT or Windows 95 98 DLL_COMPILER_PASCAL Programming in Pascal or Delphi DLL_LABVIEW Programming in Labview Output No output signal Task ...

Page 59: ...Standard software APCI 1710 58 Calling convention ANSI C int i_ReturnValue i_ReturnValue i_APCI1710_InitCompiler DLL_COMPILER_C Return value 0 No error 1 Compiler Parameter is wrong ...

Page 60: ...Controls all APCI 1710 and shows the slot number of each board Each parameter pb_SlotNumberArray contains the slot number 1 to 8 of a APCI 1710 board Calling convention ANSI C int i_ReturnValue unsigned char b_SlotNumberArray 8 i_ReturnValue i_APCI1710_CheckAndGetPCISlotNumber b_SlotNumberArray Return value Returns the number of APCI 1710 boards that are installed in the PC If the Return Value sho...

Page 61: ...if there is a xPCI 1710 board and saves the slot number The user gets back a handle so that the next functions can be used Handles enable the administration of several boards Calling convention ANSI C int i_ReturnValue unsigned char b_BoardHandle i_ReturnValue i_APCI1710_SetBoardInfomation 1 b_BoardHandle Return value 0 No error 1 Slot number not available 2 There is no board 3 No handle for the b...

Page 62: ...register Task Initializes the function modules through software Calling convention ANSI C int i_ReturnValue unsigned char b_BoardHandle unsigned long ul_WriteAddressError i_ReturnValue i_APCI1710_ ConfigureAllModule b_BoardHandle CFG INC_CPT CFG CFG INC_CPT CFG CFG INC_CPT CFG CFG INC_CPT CFG ul_WriteAddressError Return value 0 No error 1 The handle parameter of the board is wrong 2 Error during l...

Page 63: ...board PBYTE pb_InterruptNbr Interrupt channel of the board PBYTE pb_SlotNumber Slot number of the board Task Returns the base address the interrupt and the slot number of the board Calling convention ANSI C int i_ReturnValue unsigned int ui_BaseAddress unsigned char b_InterruptNbr unsigned char b_SlotNumber unsigned char b_BoardHandle i_ReturnValue i_APCI1710_GetHardwareInformation b_BoardHandle u...

Page 64: ...ardHandle BYTE b_BoardHandle Parameter Input BYTE b_BoardHandle Handle der xPCI 1710 Output No output signal Aufgabe Releases the handle of the board Blocks the access to the board Calling convention ANSI C int i_ReturnValue unsigned char b_BoardHandle i_ReturnValue i_APCI1710_CloseBoardHandle b_BoardHandle Return value 0 No error 1 Handle parameter of the board is wrong ...

Page 65: ...oard the user interrupt routine is installed interrupts are made possible If you operate various xPCI 1710 boards that shall react to interrupts you shall call the function as many times as how many xPCI 1710 boards you are operating The variable v_FunctionName is only important at the first calling From the second calling of the function on next boards interrupts are enabled Interrupt If an inter...

Page 66: ..._CounterLatchValue The latched values of the time are returned See table of the interrupt mask in the respecting manual The user can specify another name for v_FunctionName b_BoardHandle ul_InterruptMask ul_CounterLatchValue Calling convention ANSI C void v_FunctionName unsigned char b_BoardHandle unsigned char b_ModuleMask unsigned long ul_InterruptMask unsigned long ul_CounterLatchValue int i_Re...

Page 67: ...u operate various xPCI 1710 boards that shall react to interrupts you shall call the function as many times as how many xPCI 1710 boards you are operating Interrupt If an interrupt is being generated the user interrupt routine of the system is called Controlling the interrupt administration Use the functions ON UEVENT GOSUB xxxxxxxxx of Visual Basic DOS and i_APCI1710_TestInterrupt This function t...

Page 68: ...t i_BoardHandle _ i_ModuleMask _ l_InterruptMask _ l_CounterLatchValue Return ON UEVENT GOSUB IntLabel UEVENT ON i_ReturnValue i_APCI1710_SetBoardIntRoutineVBDos b_BoardHandle Return value 0 No error 1 Handle parameter of the board is wrong 2 Interrupt already installed ...

Page 69: ...ous xPCI 1710 boards that shall react to interrupts you shall call the function as many times as how many xPCI 1710 boards you are operating The variable v_FunctionName is only important at the first calling From the second calling of a function on next boards interrupts are enabled Interrupt If an interrupt is generated the user interrupt routine of the system is called If various boards are oper...

Page 70: ...l_CounterLatchValue i IMPORTANT If you use Visual Basic for Windows the following parameter does not exist Use the function i_APCI1710_TestInterrupt VOID v_FunctionName BYTE b_BoardHandle BYTE b_ModuleMask ULONG ul_InterruptMask ULONG ul_CounterLatchValue Calling convention ANSI C void v_FunctionName unsigned char b_BoardHandle unsigned char b_ModuleMask unsigned long ul_InterruptMask unsigned lon...

Page 71: ...lingMode APCI1710_SYNCHRONOUS_MODE The user routine is called directly through the interrupt routine of the driver APCI1710_ASYNCHRONOUS_MODE The user routine is called directly through the Interrupt Thread of the driver VOID v_FunctionName Name of the interrupt routine ULONG ul_UserSharedMemorySize Defines the size in bytes of the user shared memory You can use the parameter only if you have sele...

Page 72: ...us xPCI 1710 boards that shall react to interrupts you shall call the function as many times as how many xPCI 1710 boards you are operating The variable v_FunctionName is only at the first calling of importance From the second calling of a function on next boards interrupts are enabled Interrupt If an interrupt is generated the user interrupt routine of the system is called If various boards are o...

Page 73: ...le However the user can use a shared memory The user interrupt routine can only call the functions of the xPCI 1710 device driver which have the following extension i_APCI1710_KRNL_XXX This mode can not be used under Visual Basic ASYNCHRONOUS MODE A debug of the user interrupt routine is possible ADVANTAGES The user interrupt routine can call the API functions The user interrupt routine can call t...

Page 74: ...ated the interrupt b_ModuleMask Mask of the module which has generated the interrupt see table in the interrupt of the respecting manual ul_InterruptMask Mask of the event which has generated the interrupt see table of the interrupt mask in the respecting manual ul_CounterLatchValue The latched values of the counter are returned See table of the interrupt mask in the respecting manual b_UserCallin...

Page 75: ...str_UserStruct ps_InterruptSharedMemory ps_InterruptSharedMemory str_UserStruct pv_UserSharedMemory int i_ReturnValue unsigned char b_BoardHandle i_ReturnValue i_APCI1710_SetBoardIntRoutineWin32 b_BoardHandle APCI1710_SYNCHRONOUS_MODE sizeof str_UserStruct void ps_UserSharedMemory v_FunctionName Visual Basic 5 Sub v_FunctionName ByVal i_BoardHandle As Integer ByVal i_ModuleMask As Integer ByVal l_...

Page 76: ...RONOUS_MODE 0 0 AddressOf v_FunctionName Return value 0 No error 1 Handle parameter of the board is wrong 2 Interrupt is already installed 3 The selected calling mode of the user interrupt routine is wrong 4 No memory space fort the user shared memory available ...

Page 77: ...nual PULONG pul_InterruptMask Mask of the events which have generated the interrupt see table of the interrupt mask in the respecting manual PULONG pul_CounterLatchValue Returns the latched values of the counter Task Controls if a xPCI 1710 has generated an interrupt If yes returns the handle of the board and the source of the interrupt i IMPORTANT This function can be used only in Visual Basic fo...

Page 78: ...APCI 1710 Standard software 77 1 No interrupt 0 IRQ number ...

Page 79: ...red Task Stops the interrupt administration of the xPCI 1710 Deinstalls the interrupt routine if the interrupt administration of all xPCI 1710 is stopped Calling convention ANSI C int i_ReturnValue unsigned char b_BoardHandle i_ReturnValue i_APCI1710_ResetBoardIntRoutine b_BoardHandle Return value 0 No error 1 Handle parameter of the board is wrong 2 No interrupt installed with the function i_APCI...

Page 80: ...xPCI 1710 BYTE b_ModulNbr Number of the module to be configured 0 to 3 BYTE b_TimeBase Selection of the filter clock APCI1710_30 MHZ The PC has a PCI bus clock of 30 MHz APCI1710_33MHZ The PC has a PCI bus clock of 33 MHz APCI1710_40 MHz The board has a 40 MHz quartz BYTE b_Filter Selection of the filter See Table 10 4 Filter time Output There is no output Task Disables or enables the filter of th...

Page 81: ...00 ns 12 867 ns 788 ns 650 ns 13 933 ns 848 ns 700 ns 14 1000 ns 909 ns 750 ns 15 1067 ns 970 ns 800 ns i IMPORTANT This function is only availabe for the following modules Chronos pulse counter incremental counter Calling convention ANSI C int i_ReturnValue unsigned char b_BoardHandle i_ReturnValue i_APCI1710_InitInputFilter b_BoardHandle 0 APCI1710_40MHz 9 Return value 0 No error 1 Handle parame...

Page 82: ...ailable 1 40 MHz available Task Checks the availability of the 40 MHz clock on the board i IMPORTANT This function is only available for the following modules Chronos pulse counter incremental counter Calling convention ANSI C int i_ReturnValue unsigned char b_BoardHandle unsigned char b_40MHz_Status i_ReturnValue i_APCI1710_CheckInputFilter40MHzStatus b_BoardHandle b_40MHz_Status Return value 0 N...

Page 83: ... 12 I Initialisation Software functions 59 Initialisation input filter Software functions 81 Inputs Limit values 15 Installation of the board 24 Intended use 9 Internet 36 Interrupt Software functions 66 L Limit values 14 Loading a function into a function module SET1710 32 M Manuals 23 Module configuration with SET1710 33 O Optical isolation 18 Outputs Limit values 16 P PCI bus interface Descript...

Page 84: ...APCI 1710 Index 83 V Versions 14 W Weight 13 ...

Reviews: