background image

APCI-3xxx 

Functions of the board 

 

 

35 

8.2.4

 

Input modes of the analog inputs 

16 differential channels are available on the board for the analog inputs. The 
acquisition can be realized in the following modes 
1) Simple mode 
2) Scan mode 
 
 

1)

 

Simple mode 

The software initializes and starts the A/D conversion and after this step it 
reads the digital value of one or more channels. For more detailed 
information please refer to the software function “Analog Inputs” in the 
ADDIPACK manual. 

 

 

 

 

2)

 

Scan modes 

There are 6 different scan modes: 

a)

 

Single software scan  

b)

 

Single hardware triggered scan 

c)

 

Continuous software scan  

d)

 

Continuous software scan with timer delay  

e)

 

Continuous hardware triggered scan 

f)

 

Continuous hardware triggered scan with timer delay  

The following section will describe the above mentioned scan modes more 
detailed:  
 

a)

 

Single software scan  

The user interrupt routine is called after the last IRQ (=ADDI-DATA 
driver). 

Note: In the scan mode no DMA functionality is used!  

Summary of Contents for APCI-3000

Page 1: ...001 2000 certified Edition 01 10 10 2006 ADDI DATA GmbH Dieselstraße 3 D 77833 OTTERSWEIER Technical support 49 0 7223 9493 0 Technical description APCI 3000 APCI 3006 APCI 3100 APCI 3106 APCI 3500 Analog I O board ...

Page 2: ...only is protected by copyright Duplication of the information contained in the operating instructions and of any other product information or disclosure of this information for use by third parties is not permitted unless this right has been granted by the product licence issued Non compliance with this could lead to civil and criminal proceedings ADDI DATA software product licence Please read thi...

Page 3: ...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 4: ... 3 3 TTL I O 13 4 3 4 Timer and counter 13 4 4 Component scheme 15 5 INSTALLATION OF THE BOARD 16 5 1 Opening the PC 16 5 2 Selecting a free slot 16 5 3 Plugging the board into the slot 17 5 4 Closing the PC 18 6 SOFTWARE 19 6 1 Board registration 20 6 1 1 Installation of a new board 20 ADDevice Manager 21 6 1 2 Changing the registration of a board 22 Description of the ADDIREG program 22 6 2 Ques...

Page 5: ...e multiplex system 32 8 2 2 Voltage ranges 33 8 2 3 Analog input switch differential inputs 33 8 2 4 Input modes of the analog inputs 35 1 Simple mode 35 2 Scan modes 35 8 3 Analog outputs 38 8 4 TTL inputs and outputs 39 8 5 Timer 40 8 6 Counter 40 8 7 Setting a TTL output 42 9 STANDARDSOFTWARE 43 9 1 Software functions 43 9 2 Software samples 50 10 APPENDIX 54 10 1 Glossary 54 10 2 Index 58 ...

Page 6: ...onnection box 30 Fig 7 5 Connection example Analog inputs 31 Fig 7 6 Connection example Analog outputs 31 Fig 8 1 Block diagram 32 Fig 8 2 Time multiplex system 32 Fig 8 3 Analog input switch differential 34 Fig 8 4 Reaction time of the analog outputs 38 Fig 8 5 Circuitry of the analog ground lines voltage version 39 Fig 8 6 Block diagram of the TTL I O 39 Fig 8 7 Run down of the upwards counter 4...

Page 7: ...ics The board has up to 16 single ended input channels or up to 8 differential input channels for processing analog signals The following table shows the most significant characteristics of your board Table 1 1 Overview APCI 3000 APCI 3006 APCI 3100 APCI 3106 APCI 3500 Analoginputs Single ended SE ordifferential diff Upto16 SE Upto8 diff Upto16 SE Upto 8 diff Upto16 SE Upto8 diff Upto16 SE Upto8 d...

Page 8: ...e connected to the peripheral The connection of our standard cable ST010 complies with the following specifications metallized plastic hoods shielded cable cable shield folded back and firmly screwed to the connector housing Remarks The use of the board in a PC could change the PC features regarding noise emission and immunity Increased noise emission or decreased noise immunity could result in th...

Page 9: ...ed 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 10: ...Handling of the board APCI 3xxx 10 3 HANDLING OF THE BOARD Fig 3 1 Correct handling ...

Page 11: ... 10 V 4 2 Physical set up of the board The board is assembled on a 4 layer printed circuit card Dimensions 175 mm 99 mm Weight approx 160 g Installation in 32 64 bit PCI slot 3 3 V 5 V Connection to peripheral Front connector 37 pin SUB D male connector Additional connector APCI 3000 APCI 3006 APCI 3100 APCI 3106 APCI 3500 50 pin male connector for the TTL I O Accessories1 For analog I O Cable ST0...

Page 12: ...on 1 0 Bus speed 33 MHz Operating system Windows 2000 XP further on request Slots PCI 5 V or PCI 3 3 V 32 bit 1 slot opening for the connection of the TTL I O or digital I O Fig 4 1 Required slots 37x 4 3 1 Analog inputs Number of channels 16 analog inputs Resolution APCI 3000 and APCI 3100 12 bit Resolution APCI 3006 and APCI 3106 16 bit Please note that there are no analog inputs are available o...

Page 13: ...ppm C Max output current 5 mA Short circuit current 20 mA 4 3 3 TTL I O Number of I O channels 24 3 ports with each 8 channels Type TTL Logic input level UH max 5 5 V UH min 2 0 V UL max 0 8 V UL min 0 V Input frequency max 5 MHz1 Logic output level UH typ 3 3 V at Iout 100 μA UH min 2 4 V at Iout 20 mA UL max 0 55 V at Iout 20 mA 4 3 4 Timer and counter Timer interruptible Number 3 Timer depth 16...

Page 14: ...ical data APCI 3xxx 14 Counter interruptible Number 3 Counter depth 16 bit Reload value 16 bit programmable Input Low High programmable Output Low High programmable Operation mode Mode 2 Mode 3 programmable ...

Page 15: ...APCI 3xxx Technical data 15 4 4 Component scheme Fig 4 2 Component scheme ...

Page 16: ...t Open your PC as described in the manual of the PC manufacturer 5 2 Selecting a free slot Insert the board into a free slot PCI 5 V or PCI 3 3 V 32 64 bit Fig 5 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...

Page 17: ...gging the board into the slot Insert the board vertically into the chosen slot Fig 5 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 5 3 Fastening the board at the back cover ...

Page 18: ...Installation of the board APCI 3xxx 18 Tighten all the loosen screws 5 4 Closing the PC Close your PC as described in the manual of the PC manufacturer ...

Page 19: ...8 The user can register all hardware information necessary to operate the ADDI DATA PC boards ADDIDRIVER contains API functions to operate the ADDI DATA boards in 32 bits ADDevice Manager configures the resources of the ADDI DATA virtual board see below ADDI DATA virtual board ADDI DATA software is based on the principle of a virtual board it transposes the different functions e g digital inputs a...

Page 20: ...If a new board is recognised the following window is displayed Fig 6 1 New inserted board The boards which have been removed from the PC since the last ADDIREG start are listed in the upper table The new inserted boards are listed in the lower table In case further information is required for the operation of the board click on More Information ADDevice Manager is started ...

Page 21: ...n the resources Analog digital input output watchdog of the virtual board V software and the real board R board The following parameters are listed Module number Number of resources Index The first index line represents the number of the first resource left virtual resource right real board The second index line represents the number of the last resource left virtual resource right real board Type...

Page 22: ...ards Once you have controlled the registration you can quit the window of ADDevice Manager The board is ready to operate 6 1 2 Changing the registration of a board You can change the current board configuration with ADDIREG Description of the ADDIREG program The program is automatically installed with ADDIPACK Start ADDIREG under Start Programme ADDIPACK ADDIREG i IMPORTANT First quit all the appl...

Page 23: ...l or Not available if the board uses no DMA or if the board is no ISA board More information Additional information like the identifier string or the installed COM interfaces It also displays whether the board is programmed with ADDIDRIVER or if a PCI DMA memory is allocated to the board Text boxes Base address name Description of the used base addresses for the board Select a name through the pul...

Page 24: ...f the board set through the ADDEVICE Manager ADDevice Manager starts and displays a list of all resources available for the virtual board Test registration Controls if there is a conflict between the board and other devices installed in the PC A message indicates the parameter which has generated the conflict If no conflict has occurred Test of device registration OK is displayed Deinstall registr...

Page 25: ...oads on the web Do not hesitate to e mail us your questions by e mail info addi data de or hotline addi data de Free downloads of standard software You can download the latest version of the software for the board APCI 3xxx http 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...

Page 26: ...Connecting to the peripheral APCI 3xxx 26 7 CONNECTING TO THE PERIPHERAL 7 1 Connector pin assignment Fig 7 1 37 pin SUB D male connector analog inputs and outputs ...

Page 27: ...he numbering of the 50 pin SUB D connector corresponds to the usual numbering as printed on the connector for the LP mounting However on the connector for the connection to a ribbon cable a different numbering is printed as on the connector corresponds to the numbering of the ribbon cable ...

Page 28: ...27 TTL channel 15 26 28 TTL channel 23 10 29 TTL channel 7 43 30 TTL channel 14 27 31 TTL channel 22 11 32 TTL channel 6 44 33 TTL channel 13 28 34 TTL channel 21 12 35 TTL channel 5 45 36 TTL channel 12 29 37 TTL channel 20 13 38 TTL channel 4 46 39 TTL channel 11 30 40 TTL channel 19 14 41 TTL channel 3 47 42 TTL channel 10 31 43 TTL channel 18 15 44 TTL channel 2 48 45 TTL channel 9 32 46 TTL c...

Page 29: ... connected either through the screw terminal panel PX 901 AG see Fig 7 3 or the connection box PX BNC see Fig 7 4 Our technical support will be pleased to answer your questions about our cables and screw terminal panels boxes Fig 7 3 Connection of the APCI 3xxx to the screw terminal panels i IMPORTANT Plug the ribbon cable FB8001 with the red cable line on the side of pin 1 ...

Page 30: ...Connecting to the peripheral APCI 3xxx 30 Fig 7 4 Connection to the screw terminal panel and connection box i IMPORTANT Plug the ribbon cable FB8001 with the red cable line on the side of pin 1 ...

Page 31: ...necting to the peripheral 31 7 3 Connection examples 7 3 1 Analog inputs Fig 7 5 Connection example Analog inputs 7 3 2 Analog outputs only APCI 3100 APCI 3106 and APCI 3500 Fig 7 6 Connection example Analog outputs ...

Page 32: ... the APCI 3006 and APCI 3106 16 bit see Table 1 1 8 2 1 Overview time multiplex system Up to 16 analog Single Ended or up to 8 analog differential signals can be connected to the board Fig 8 2 Time multiplex system After the signals are transferred over a filter RC component to a multiplexer time multiplexed system they are lead over a programmable instrumental gain to a 16 bit A D converter 12 bi...

Page 33: ...s at 20 V interval Maximum voltage bounce from one channel to another Source impedance of the sensors Filter option Input impdance 1012 Ω 5 nF differential input You can set this settling time conversion time in steps from 1 μs between 10 μs and 65535 μs This is set by the driver 8 2 2 Voltage ranges The analog input ranges 0 10 V 10 V 0 5 V 5 V 0 2 V 2 V 0 1 V 1 V and optional 0 20 mA and the gai...

Page 34: ...PCI 3xxx 34 Fig 8 3 Analog input switch differential R Strom optional component part for the version current C DF optional component part for DF filter Limit frequency fg 1 212 2 KHz 2 п 75 Ω 75 Ω CDF C1 C2 C DF not assembled ...

Page 35: ...ailed information please refer to the software function Analog Inputs in the ADDIPACK manual 2 Scan modes There are 6 different scan modes a Single software scan b Single hardware triggered scan c Continuous software scan d Continuous software scan with timer delay e Continuous hardware triggered scan f Continuous hardware triggered scan with timer delay The following section will describe the abo...

Page 36: ...s of the board APCI 3xxx 36 b Single hardware triggered scan This scan can be triggered with rising or falling edge software initializes it c Continuous software scan d Continuous software scan with timer delay ...

Page 37: ...APCI 3xxx Functions of the board 37 e Continuous hardware triggered scan Note In this scan mode the external signal triggers only one scan at a time f Continuous hardware triggered scan with timer delay ...

Page 38: ...r a new update The time Time to ready see Fig 8 4 between the writing on the I O addresses DAC register and the update of the analog outputs is 5 µs Further accesses to the DAC register will not be considered in this period The time between writing in the software command and reaching the set value for the analog outputs is 15 µs settling time Fig 8 4 Reaction time of the analog outputs After the ...

Page 39: ...ge version 8 4 TTL inputs and outputs The board APCI 3xxx has 24 TTL channels that are divided into three ports Table 8 1 TTL I 0 ports Port Description Channel Port 0 Output Channel 0 7 Port 1 Input Channel 8 15 Port 2 Programmable I O Channel 16 23 Fig 8 6 Block diagram of the TTL I O ...

Page 40: ...he status of the counter value and of the reload value as well as the status and interrupt register can be read back through software The operation states can be read back As time bases for the timer three different clock signals μs ms s can be used 8 6 Counter On the APCI 3xxx 3 x 16 bit counter inputs are available Each of these counters can be programmed through software The counter inputs are ...

Page 41: ...eleted reload and counting value are set on 0 The 3 counters can be initialized started or stopped simultaneously through synchronous control The status of the inputs 0 to 2 can be read through external clock Upwards counter Fig 8 7 Run down of the upwards counter After reaching the reload value the counting value is set on 0 and continues to be counted At an overflow an interrupt can be generated...

Page 42: ...unter counts down to 0 and will be reset to the reload value from the next edge cycle on 8 7 Setting a TTL output At the run down of the counter timer watchdog a TTL output can be set Here also the output level can be defined The output will be enabled for an input clock Fig 8 9 Example Setting a TTL output Allocation to counters timers Counter Timer 0 TTL0 Counter Timer 1 TTL1 Counter Timer 2 TTL...

Page 43: ...le conversion timing µs ms Conversion resolution 16 bit Min conversion time 10 µs b_ADDIDATA_GetAnalogInputModuleSingleAcquisitionInformation Return Available interrupt Available gains 1 2 5 10 No hardware software trigger available No hardware gate b_ADDIDATA_GetAnalogInputModuleSCANInformation Rückgabe Available gains 1 2 5 10 Hardware software trigger available No hardware gate SingleSCAN cycle...

Page 44: ...le parameters Conversion time unit µs ms Conversion time 10 to 65535 for µs 1 to 65535 for ms Scan mode single X cycles continuous Delay mode Not used Mode1 Mode2 Delay timing µs ms b_ADDIDATA_StartAnalogInputSCAN b_ADDIDATA_GetAnalogInputSCANStatus b_ADDIDATA_ConvertDigitalToRealAnalogValueSCAN b_ADDIDATA_StopAnalogInputSCAN b_ADDIDATA_CloseAnalogInputSCAN b_ADDIDATA_EnableDisableAnalogInputHardw...

Page 45: ...urable Available conversion timing µs ms Conversion resolution 16 bit Min conversion time 10 µs b_ADDIDATA_GetAnalogInputModuleSingleAcquisitionInformation Return Interrupt available Available gains 1 2 5 10 No hardware software trigger No hardware gate b_ADDIDATA_GetAnalogInputModuleSCANInformation Return Available gains 1 2 5 10 Hardware software trigger available No hardware gate Single SCAN cy...

Page 46: ...e parameters Conversion time unit µs ms Convert time 10 to 65535 for µs 1 to 65535 for ms Scan mode Single X cycles continuous Delay mode Not used Mode1 Mode2 Delay timing µs ms b_ADDIDATA_StartAnalogInputSCAN b_ADDIDATA_GetAnalogInputSCANStatus b_ADDIDATA_ConvertDigitalToRealAnalogValueSCAN b_ADDIDATA_StopAnalogInputSCAN b_ADDIDATA_CloseAnalogInputSCAN b_ADDIDATA_EnableDisableAnalogInputHardwareT...

Page 47: ... Bipolar 12 bit Mode 1 Unipolar 11 bit No synchronisation available b_ADDIDATA_InitMoreAnalogOutputs Available parameters Available voltage modes 2 Mode 0 Bipolar 12 bit Mode 1 Unipolar 11 bit No synchronisation available b_ADDIDATA_Write1AnalogOutput b_ADDIDATA_WriteMoreAnalogOutputs b_ADDIDATA_Release1AnalogOutput b_ADDIDATA_ReleaseMoreAnalogOutputs b_ADDIDATA_GetAnalogOutputInformation Synchron...

Page 48: ...putOn b_ADDIDATA_Set1DigitalOutputOff b_ADDIDATA_Set2DigitalOutputOn b_ADDIDATA_Set2DigitalOutputOff b_ADDIDATA_Set4DigitalOutputOn b_ADDIDATA_Set4DigitalOutputOff b_ADDIDATA_Set8DigitalOutputOn b_ADDIDATA_Set8DigitalOutputOff b_ADDIDATA_Set16DigitalOutputOn b_ADDIDATA_Set16DigitalOutputOff b_ADDIDATA_Set32DigitalOutputOn b_ADDIDATA_Set32DigitalOutputOff b_ADDIDATA_Get1DigitalOutputStatus b_ADDIDA...

Page 49: ...Available parameters Interrupt Enabled or disabled Resolution 16 bit Time unit µs or ms or s Modes 2 or 3 b_ADDIDATA_EnableDisableTimerInterrupt b_ADDIDATA_StartTimer b_ADDIDATA_StartAllTimers b_ADDIDATA_TriggerTimer b_ADDIDATA_TriggerAllTimers b_ADDIDATA_StopTimer b_ADDIDATA_StopAllTimers b_ADDIDATA_ReleaseTimer b_ADDIDATA_ReadTimerValue b_ADDIDATA_ReadTimerStatus b_ADDIDATA_EnableDisableTimerOut...

Page 50: ...er b_ADDIDATA_StartAllCounters b_ADDIDATA_ClearCounter b_ADDIDATA_TriggerCounter b_ADDIDATA_TriggerAllCounters b_ADDIDATA_StopCounter b_ADDIDATA_StopAllCounters b_ADDIDATA_ReleaseCounter b_ADDIDATA_ReadCounterValue b_ADDIDATA_ReadCounterStatus Vorhandene Parameter Vorhandene Einganglevels High Low b_ADDIDATA_GetCounterHardwareOutputStatus b_ADDIDATA_TestCounterAsynchronousFIFOFull 9 2 Software sam...

Page 51: ...Reads 4 digital inputs SAMPLE04 Reads 8 digital inputs SAMPLE05 Reads 16 digital inputs SAMPLE06 Reads 32 digital inputs Digital outputs SAMPLE01 Tests 1 digital output with or without Output Memory Option Gives the status of the digital output if possible SAMPLE02 Tests 2 digital outputs with or without Ouptut Memory Option Gives the status of the digital outputs if possible SAMPLE03 Tests 4 digi...

Page 52: ...by key press The user selects the timer he wants to test The user defines if the HW gate the HW trigger and the HW output are used The user defines the interrupt mode asynchronous synchronous Counter SAMPLE00 Shows all counter information SAMPLE01 Initialisation of 1 counter without interrupt The user can trigger the counter by key press The user selects the counter he wants to test The user defin...

Page 53: ...cts the counter he wants to test The user defines if the HW gate the HW trigger and the HW output are used The user defines the interrupt mode asynchronous synchronous Analog outputs SAMPLE00 Shows 1 analog output information SAMPLE01 Writes 1 analog output value without synchronisation ramp generation SAMPLE02 Writes more analog output values without synchronisation ramp generation ...

Page 54: ...aviour is of high significance Differential inputs DIFF An analog input with two input terminals neither of which is grounded whose value is the difference between the two terminals Disturb signal Interferences that occur during the transfer caused by reduced bandwidth attenuation gain noise delay time etc Driver A part of the software that is used to control a specific hardware device such as a d...

Page 55: ... digital 1 L represents the range that is closer to Minus infinite the L level is the digital 0 The rising edge is the transition from the 0 state to the 1 state and the falling edge is the transition from the 1 state to the 0 state Limit value Exceeding the limit values even for just a short time can lead to the destruction or to a loss of functionality MUX Multiplexer An array of semiconductor o...

Page 56: ... For example a converter with 12 bit resolution can resolve 1 part in 4096 Sensor A device that responds to physical stimuli heat light sound pressure motion etc and produces a corresponding electrical output Settling time The time required after application of a step input signal for the output voltage to settle and remain within a specified error band around the final value The settling time of ...

Page 57: ...Digital trigger An event that occurs at a user selected point on a digital input signal The polarity and sensitivity of the digital trigger can often be programmed TTL transistor transistor logic A popular logic circuit family that uses multiple emitter transistors Simple mode The software initializes and starts the A D conversion and after this step it reads the digital value of one or more chann...

Page 58: ...unction description Analog inputs 32 Input modes 35 Input switch 33 Scan modes 35 Simple mode 35 Voltage ranges 33 Analog outputs 38 Counter 40 Timer 40 TTL inputs and outputs 39 Functions of the board 32 G General description of the board 7 H Handling of the board 10 I Installation of a new board 20 Installation of the board 16 K Karte Einbau 17 L Limit values 12 analog inputs 12 Analog outputs 1...

Page 59: ...APCI 3xxx Appendix 59 Use Intended use 7 Usage restrictions 7 User Personal protection 9 Qualification 9 V Virtual board 19 ...

Reviews: