Page 1
DIN EN ISO 9001:2000 certified 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 Edition: 01.10 - 10/2006...
Page 2
The user is not permitted to make changes to the product beyond the intended use, or to interfere with the product in any other way. ADDI-DATA shall not be liable for obvious printing and phrasing errors. In addition, ADDI DATA, if legally permissible, shall not be liable for personal injury or damage to materials caused by improper...
Page 3
WARNING In case of wrong uses and if the board is not used for the purpose it is intended: ♦ people may be injured ♦ the board, PC and peripheral may be destroyed ♦ the environment may be polluted ♦ Protect yourself, the others and the environment! ♦...
Contents APCI-3xxx DEFINITION OF APPLICATION ....... 7 Intended use ..............7 Usage restrictions.............7 General description of the board ........7 USER ..............9 Qualification ..............9 Personal protection............9 HANDLING OF THE BOARD ........10 TECHNICAL DATA..........11 Electromagnetic compatibility (EMC) ......11 Physical set-up of the board ..........11 Limit values..............12 4.3.1 Analog inputs ..............
Page 5
Contents APCI-3xxx 7.3.1 Analog inputs ..............31 7.3.2 Analog outputs (only APCI-3100, APCI-3106 and APCI-3500)31 FUNCTIONS OF THE BOARD ........ 32 Block diagram..............32 Analog input ..............32 8.2.1 Overview – time-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 ........
Page 6
Contents APCI-3xxx Figures Fig. 3-1: Correct handling ..............10 Fig. 4-1: Required slots ..............12 Fig. 4-2: Component scheme ............15 Fig. 5-1: PCI-5V slot (32-bit)............... 16 Fig. 5-2: Inserting the board ............. 17 Fig. 5-3: Fastening the board at the back cover ......17 Fig.
Throughput 100 kHz 100 kHz 100 kHz 100 kHz Analog outputs Resolution 12-bit 12-bit 12-bit TTL inputs/outputs Timer 3 (16-bit) 3 (16-bit) 3 (16-bit) 3 (16-bit) 3 (16-bit) Counter Common name for the boards APCI-3000, APCI-3006, APCI-3100, APCI-3106 und APCI-3500.
Page 8
Definition of application APCI-3xxx Connection Data exchange between the board APCI-3xxx board and the peripheral is to occur through a shielded cable. The cable must be connected to the 37-pin SUB-D connector of the board. Furthermore, there is a 50-pin male connector for the connection of the TTL I/O available, which must be connected to the ribbon cable.
APCI-3xxx User USER Qualification Only persons trained in electronics are entitled to perform the following works: installation maintenance Personal protection Consider the country-specific regulations about: the prevention of accidents electrical and mechanical installations radio interference suppression.
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 Accessories For analog I/O: Cable: ............- ST010...
I/O Fig. 4-1: Required slots 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 on the board APCI-3500.
APCI-3xxx Technical data 4.3.2 Analog outputs Analog outputs are available on the following boards: APCI-3100 APCI-3106 APCI-3500 Number of channels: ......... 4 analog outputs Output type:..........Voltage outputs: Single-Ended Resolution: ..........12-bit Output range: ..........0 to 10 V - LSB (- 10 V -1LSB) LSB: ............
Installation of the board APCI-3xxx INSTALLATION OF THE BOARD IMPORTANT! Do observe the safety precautions! Opening the PC ♦ Switch off your PC and all the units connected to the PC ♦ Pull the PC mains plug from the socket. ♦...
APCI-3xxx Installation of the board Plugging 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.
ADDI-DATA software is based on the principle of a virtual board: it transposes the different functions (e.g. digital inputs, analog outputs, timer, ...) of all inserted ADDI-DATA boards as the functions of a single (virtual) board. The virtual board features a pool of functions, the functionality of which can be called up without calling a specific board.
Software APCI-3xxx Board registration When starting the set-up of ADDIREG, the APCI-3xxx is automatically recognised and registered. 6.1.1 Installation of a new board 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.
APCI-3xxx Software ADDevice Manager Fig. 6-2: ADDevice Manager The following parameters are displayed for every inserted board: First column: Board name Board index: Number allocated to the board when it is registered in ADDIREG. Slot number IRQ line Different addresses which are automatically allocated to the board by the BIOS.
Software APCI-3xxx By clicking twice within a column, the connection principle and the technical data of the resource are displayed. This function is only possible if a question mark appears with the cursor. You can export the set configuration as a text file. Click on "file" and save the configuration as a .txt file with "Export information to file...".
Page 23
Selected base address of the board. For PCI boards the base address is allocated through BIOS. Access: Selection of the access mode for the ADDI-DATA digital boards. Access in 8-bit or 16-bit or 32-bit mode. PCI bus/device/(slot): Number of the used PCI bus, slot, and device. If the board is no PCI board, the message "NO"...
Page 24
Software APCI-3xxx Buttons: Edit: Selection of the highlighted board with the different parameters set in the text boxes. Set: Sets the parametered board configuration. The configuration should be set before you save it. Cancel: Reactivates the former parameters of the saved configuration. Default: Sets the standard parameters of the board.
ADDIREG program and directly begin with your application. Questions and software downloads on the web Do not hesitate to e-mail us your questions. by e-mail: info@addi-data.de 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...
Connecting to the peripheral APCI-3xxx CONNECTING TO THE PERIPHERAL Connector pin assignment Fig. 7-1: 37-pin SUB-D male connector (analog inputs and outputs)
APCI-3xxx Connecting to the peripheral Fig. 7-2: 50 pin connector (TTL I/O) IMPORTANT! The 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).
Connecting to the peripheral APCI-3xxx Table 7-1: Connection of the digital inputs/outputs (24 V and TTL) Pin number at Description Pin number at the front the 50 pin plane of the FB8001 connector (50 pin SUB-D male connector) Pins 1-24 Not connected TTL channel GND TTL channel GND...
APCI-3xxx Connecting to the peripheral Connection to the screw terminal panels The TTL I/O are connected through the screw terminal panel PX 8000. The analog inputs are 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.
Connecting to the peripheral APCI-3xxx Fig. 7-4: Connection to the screw terminal panel and connection box IMPORTANT! Plug the ribbon cable FB8001 with the red cable line on the side of pin 1.
APCI-3xxx Connecting to the peripheral 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...
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-bit for APCI-3000 and APCI-3100).
APCI-3xxx Functions of the board Data acquisition with the APCI-3xxx is based on a time-multiplex system. The board is equipped with a single A/D converter to which the channels are led through an analog multiplexer. By switching from one channel to another, the output capacity of the multiplexer must be reloaded with the new value.
Functions of the board APCI-3xxx Fig. 8-3: Analog input switch (differential) = optional component part for the version current Strom = optional component part for DF filter Limit frequency f 212.2 KHz 2 п * (75 Ω + 75 Ω) * [C + (C ] (C not assembled)
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!
Page 36
Functions of the board APCI-3xxx 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 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...
Functions of the board APCI-3xxx Analog outputs There are 4 analog output channels with a resolution of 12-bit and a precision of 11-bit on the APCI-3100, APCI-3106 and APCI-3500. The analog outputs are updated by 32-bit writing on the I/O addresses. The status bit (DAC Ready) indicates if the analog outputs are ready for a new update.
APCI-3xxx Functions of the board Fig. 8-5: Circuitry of the analog ground lines (voltage version) 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...
Functions of the board APCI-3xxx Allocation to counters/timers/triggers: As option a part of the TTL I/O can be used for counter, timer and trigger (see table below) Table 8-2: TTL inputs and outputs Channel Description 0 (output) Timer 0 / Counter 0 1 (output) Timer 1 / Counter 1 2 (output)
APCI-3xxx Functions of the board Trigger function: Sets the counter to its start value 0 in the upwards mode = clear function Reload value in the downwards mode Clear function: The counter state is deleted (reload and counting value are set on 0) The 3 counters can be initialized, started or stopped simultaneously through synchronous control.
Functions of the board APCI-3xxx Downwards counter Fig. 8-8: Run down of the downwards counter In order to get the same counting value as in the upwards mode, the reload value must be set on 3. The counter counts down to 0 and will be reset to the reload value from the next edge cycle on.
APCI-3xxx Standardsoftware STANDARDSOFTWARE Software functions ADDIPACK supports the following functions for the APCI-3xxx. Table 9-1: Supported software functions Functionality Function name b_ADDIDATA_GetNumberOfAnalogInputs Analog b_ADDIDATA_GetNumberOfAnalogInputModules inputs b_ADDIDATA_GetNumberOfAnalogInputsForTheModule (APCI-3006, b_ADDIDATA_GetAnalogInputModuleNumber APCI-3106) b_ADDIDATA_GetAnalogInputModuleGeneralInformation Return: - Resolution: 16-bit - Unipolar/bipolar configurable - Available conversion timing: µs, ms - Conversion resolution: 16-bit...
Page 44
Standardsoftware APCI-3xxx Functionality Function name b_ADDIDATA_Read1AnalogInput Available parameters: - Interrupt: Enabled/disabled - Conversion time unit: µs/ms - Conversion time: 10 to 65535 for µs 1 to 65535 for ms b_ADDIDATA_ReadMoreAnalogInputs Available parameters: - Interrupt: Enabled/disabled - Conversion time unit: µs/ms - Conversion time: 10 to 65535 for µs 1 to 65535 for ms...
Page 45
- Action: SCAN One shot Single cycle x cycles b_ADDIDATA_GetAnalogInputSoftwareTriggerStatus b_ADDIDATA_GetNumberOfAnalogInputs b_ADDIDATA_GetNumberOfAnalogInputModules Analog b_ADDIDATA_GetNumberOfAnalogInputsForTheModule inputs b_ADDIDATA_GetAnalogInputModuleNumber (APCI-3000, b_ADDIDATA_GetAnalogInputModuleGeneralInformation APCI-3100) Return: - Resolution: 12-bit - Unipolar/bipolar configurable - Available conversion timing: µs, ms - Conversion resolution: 16-bit - Min. conversion time: 10 µs...
Page 46
Standardsoftware APCI-3xxx Functionality Function name b_ADDIDATA_Read1AnalogInput Available parameters: - Interrupt: Enabled/disabled - Conversion time unit: µs/ms - Convert time: 10 to 65535 for µs 1 to 65535 for ms b_ADDIDATA_ReadMoreAnalogInputs Available parameters: - Interrupt: Enabled/disabled - Conversion time unit: µs/ms - Convert time: 10 to 65535 for µs 1 to 65535 for ms b_ADDIDATA_ConvertDigitalToRealAnalogValue...
Page 47
APCI-3xxx Standardsoftware Functionality Function name b_ADDIDATA_EnableDisableAnalogInputSoftwareTrigger Available parameters: - Action: SCAN One shot Single cycle x cycles b_ADDIDATA_GetAnalogInputSoftwareTriggerStatus b_ADDIDATA_GetNumberOfAnalogOutputs Analog outputs Rückgabe: - Available voltage modes: 2 (APCI-3100, - Mode 0: Bipolar (12-bit) APCI-3106, - Mode 1: Unipolar (11-bit) APCI-3500) - No synchronisation available b_ADDIDATA_Init1AnalogOutput Available parameters:...
Page 48
Max. output value = 10 V Polarity selection via hardware = No Polarity selection via software = Yes Unipolar configurable = Yes Bipolar configurable = No b_ADDIDATA_GetNumberOfDigitalOutputs TTL- b_ADDIDATA_GetDigitalOutputInformation Outputs (APCI-3000, Return: Output type: TTL APCI-3006, No interrupt available APCI-3100, b_ADDIDATA_SetDigitalOutputMemoryOn APCI-3106, b_ADDIDATA_SetDigitalOutputMemoryOff...
Page 49
APCI-3xxx Standardsoftware Functionality Function name b_ADDIDATA_Read4DigitalInputs b_ADDIDATA_Read8DigitalInputs b_ADDIDATA_Read16DigitalInputs b_ADDIDATA_Read32DigitalInputs b_ADDIDATA_GetNumberOfTimers Timer b_ADDIDATA_GetTimerInformationEx (APCI-3000, Return: APCI-3006, Interrupt available: 16-bit APCI-3100, Time unit available: µs, ms, s Output available: High/Low APCI-3106, Available modes: 2 and 3 APCI-3500) b_ADDIDATA_InitTimer Available parameters: Interrupt: Enabled or disabled...
Standardsoftware APCI-3xxx Functionality Function name Return: APCI-3006, Interrupt available: 16-bit APCI-3100, Output available: High/Low Available counter mode: Up/Down APCI-3106, Available input levels: High/Low APCI-3500) b_ADDIDATA_InitCounter Available parameters: Resolution: 16-bit Input levels: High/Low b_ADDIDATA_SetCounterDirection Available parameters: Counter mode: Up/Down b_ADDIDATA_EnableDisableCounterInterrupt b_ADDIDATA_StartCounter b_ADDIDATA_StartAllCounters b_ADDIDATA_ClearCounter b_ADDIDATA_TriggerCounter...
Page 51
APCI-3xxx Standardsoftware Functionality Sample Description number SAMPLE02 Reads 1 analog input channel with interrupt. The user defines the channel he wants to use. The user defines the interrupt mode (synchronous, asynchronous) SAMPLE03 Reads more analog input channels without interrupt. SAMPLE04 Reads more analog input channels with interrupt The user defines the interrupt mode (synchronous, asynchronous)
Page 52
Standardsoftware APCI-3xxx Functionality Sample Description number The user selects the timer he wants to use. The user defines if the HW gate, the HW trigger and the HW output are used. SAMPLE02 Initialisation of 1 timer with interrupt. The user can trigger the timer by key press. The user selects the timer he wants to use.
Page 53
APCI-3xxx Standardsoftware Functionality Sample Description number SAMPLE04 Initialisation of all counters with interrupt. The user can trigger the counter by key press. The user selects the counter he wants to test. The user defines if the HW gate, the HW trigger and the HW output are used.
Appendix APCI-3xxx APPENDIX 10.1 Glossary Table 10-1: Glossary Term Description A/D converter = ADC An electronic device that produces a digital output directly proportional to an analog signal output. Acquisition The process by which data is gathered by the computer for analysis or storage.
Page 55
APCI-3xxx Appendix Impedance The reciprocal of admittance. Admittance is the complex ratio of the voltage across divided by the current flowing through a device, circuit element, or network. Inductive loads The voltage over the inductor is U=L.(dI/dt), whereas L is the inductivity and I is the current.
Page 56
Appendix APCI-3xxx Parameter The parameters of a control comprise all for the control process required numeric values, e.g. for limit values and technological number. PCI bus PCI bus is a fast local bus with a clock rate up to 33 MHz. This bus is used for processing a great number of data.
Page 57
APCI-3xxx Appendix Timer The timer allows the adaptation of program processes between processor and peripheral devices. It usually contains from each other independent counters and can be programmed for several operation types over a control word register. Trigger Internal trigger: A software generated event that starts an operation.
10.2 Index Accessories 11 Handling of the board 10 ADDevice Manage 21 ADDevice Manager 19 ADDEVICE MAPPER 19 ADDI-DATA virtual board 19 Installation of a new board 20 ADDIDRIVER 19 Installation of the board 16 ADDIPACK 19 ADDIREG Buttons 24...
Page 59
APCI-3xxx Appendix Intended use 7 Usage restrictions 7 Virtual board 19 User Personal protection 9 Qualification 9...
Need help?
Do you have a question about the APCI-3000 and is the answer not in the manual?
Questions and answers