Page 1
Manual Rev. 1.0 ADQ-330/340 series Isolated Multi I/O board – up to 32 analog inputs, 4 analog outputs, 32 digital I/Os, counter …...
Page 2
Manual ADQ-330/340 series Rev. 1.0 Date: 04/19/2018 Manufacturer and Support ® ® ® ALLNET and ALLDAQ are registered trademarks of the ALLNET GmbH Computersysteme. For questi- ons, problems and product information please contact the manufacturer directly: ® ALLNET GmbH Computersysteme Division ALLDAQ...
1.2 Safety instructions ������������������������������������������������������� 7 1.3 Location of installation and mounting ��������������������������������������� 8 1.4 Short description �������������������������������������������������������� 8 1.4.1 The ADQ-330 series in overview ��������������������������������������� 10 1.4.2 The ADQ-340 series in overview ��������������������������������������� 11 1.5 System Requirements ��������������������������������������������������� 12 1.5.1 Hardware ����������������������������������������������������������...
Page 4
Manual ADQ-330/340 series Rev. 1.0 3.2 Analog acquisition ������������������������������������������������������ 27 3.2.1 Wiring of the Analog Inputs ������������������������������������������ 29 3.2.1.1 Differential Voltage Inputs ���������������������������������������� 29 3.2.1.2 External Trigger A/D Section ��������������������������������������� 30 3.2.1.2.1 Non-isolated Models ����������������������������������������� 30 3.2.1.2.2 Isolated Models ���������������������������������������������� 31 3.2.2 Programming �������������������������������������������������������...
Please read – before installing the device – this manual watchfully! Scope of delivery • ALLDAQ board of the ADQ-330/340 series for CompactPCI (4 HP) or PCI-Express • Additional mounting bracket/bezel with 25-pin D-Sub female connector to 20-pin IDC connector for cPCI systems (ADQ-AP-D25F-cPCI) resp. PCI-Express slots (ADQ-AP-D25F- PCI) • 25-pin D-Sub male connector...
Short description The ALLDAQ multi I/O boards of the ADQ-330/340 series are available isolated (ADQ-34x) and non-isolated (ADQ-33x) versions for CompactPCI bus. They offer a very wide functional scope for universal use in the industrial field.
Page 9
Manual ADQ-330/340 series Rev. 1.0 Introduction The 16 bit analog output section with up to 4 channels can output single values or timer-cont- rolled with up to 500 kS/s per channel. Beside the standard signal curves like sine, rectangular, triangular, ramp and other pre-defined signals the boards can also generate arbitrary wave- forms, e.
Introduction Manual ADQ-330/340 series Rev. 1.0 1.4.1 The ADQ-330 series in overview ADQ-331 ADQ-332 ADQ-334 (Art. no. 142251) (Art. no. 142252) (Art. no. 142253) PC interface CompactPCI Analog inputs Number of channels 16 pseudo-differential 32 pseudo-differential Resolution 18 bit 18 bit...
1.5.2 Software • Operating system – Windows 7 (32 and 64 bit) – Windows 8/8.1 (32 and 64 bit) – Windows 10 (32 and 64 bit) • ALLDAQ device driver • Some tools and examples require the Microsoft .NET framework. Introduction...
The ALLDAQ driver system 1.6.1 Architecture The ALLDAQ driver system consists of several kernel mode device driver and an user mode DLL, which provides the application programming interface (API). The API is exported from a shared library for the different Windows platforms (32/64 bit). During installation, the libraries are copied to the respective Windows system directory.
The ALLDAQ-Manager gives you a quick overview of the installed ALLDAQ hardware and a central access to the software developer kit (SDK), software tools and help files. You can open the ALLDAQ Manager by the so-called ALLDAQ Launcher in the info area of the taskbar or via the Windows start menu.
Introduction Manual ADQ-330/340 series Rev. 1.0 1.6.4 Pin-assignment tool Tool for interactive illustration of the pin-assignment with the possibility to generate a PDF. Figure 4: Pin-Assignment tool Introduction...
Manual ADQ-330/340 series Rev. 1.0 Introduction 1.6.5 Software developer kit (SDK) The software developer kit (SDK) offers programming support with examples for C++, C#, ® Visual Basic, Delphi/Pascal and Python . Numerous EXE programs can be used to test the individual function groups.
Introduction Manual ADQ-330/340 series Rev. 1.0 1.6.7 LabVIEW™ support A library with virtual instruments (VIs) for easy access to the ALLDAQ hardware is included with the ALLDAQ SDK. ™ Figure 7: Graphical programming with LabVIEW ® 1.6.8 MATLAB support ®...
Manual ADQ-330/340 series Rev. 1.0 Initial operation Initial operation Installing the board Please read the manual of your computer prior installing the board regarding the installation of additional hardware components. Handling the board should be done with care to ensure that the device will not be damaged by electrostatic discharge (ESD), mechanical stress or current surges.
After installation is complete, the ALLDAQ Launcher will start. The system tray icon - usually in the bottom right corner of the screen - allows you easy access to the ALLDAQ Manager, the Software Developer Kit (SDK), software tools, help files and manuals with the right mouse button.
Figure 11: ALLDAQ-Launcher Test programs The ALLDAQ SDK contains simple command line and test programs with graphical user in- terface. For Visual C++, you will find the most extensive collection of sample programs with program code and the corresponding executables that you can use to test the board in the subdirectory "Applications".
Basically you can choose by the ALLDAQ Manager which adjustment data record (factory or user) should be activated on boot. You can change the setting anytime by the ALLDAQ Manager. The setting can be found under "Tools - Adjustment AI" resp. "Adjustment AO". With "Ad- justment on Boot"...
Manual ADQ-330/340 series Rev. 1.0 Initial operation 2.4.2.1 Analog inputs For a detailed description of the procedure, refer to the chapter "Adjustment AI" in the ALLDAQ Manager's help file (see Figure 14). Basically applies: 1. Power-on the system with the ADQ-330/340 series.
Manual ADQ-330/340 series Rev. 1.0 2.4.2.2 Analog outputs For a detailed description of the procedure, refer to the chapter "Adjustment AO" in the ALLDAQ Manager's help file (see fFigure 14). Basically applies: 1. Power-on the system with the ADQ-330/340 series.
32 bit counter, I C bus functions* port, incremental encoder, Address-/ GND_PC frequency measurement GND_PC data bus for rectangular signals and PWM output. Molex connector CompactPCI interface PCI-Express interface (+5V / +12V for PCIe) Figure 19: Block diagram ADQ-330 series Functional groups...
Manual ADQ-330/340 series Rev. 1.0 Functional groups Analog acquisition Analog inputs of the e Eingänge der ADQ-330/34ADQ-330/340 series in overview: ADQ-331/341 ADQ-332/342 ADQ-334/344 Channels 2 x 8 pseudo-differential 2 x 8 pseudo-differential 4 x 8 pseudo-differential Resolution 18 bit Bandwidth (-3 dB) 96 kHz Common mode 128 dB between adjacent channels...
Page 28
Functional groups Manual ADQ-330/340 series Rev. 1.0 The sampling rate can be set separately for each channel group (AI port). All channels are recorded synchronously, "frozen" in a sample-and-hold unit and "picked up" with an 8:1 mul- tiplexer. Depending on the number of active channels used per port, the sampling rate per channel applies: Number of channels Sample rate...
Manual ADQ-330/340 series Rev. 1.0 Functional groups 3.2.1 Wiring We recommend the use of the VHDCI cable with matching connection block, see chapter 4.3 on page 72. 3.2.1.1 Differential voltage inputs A differential input only measures the potential difference between positive and negative input. Common mode interference is thus effectively suppressed.
Functional groups Manual ADQ-330/340 series Rev. 1.0 The input voltage ranges can be programmed for each channel. Depending on the application, select the smallest possible measuring range to benefit from the optimum resolution (sensiti- vity). Measuring range Resolution (18 bit) Accuracy Range 0 -10,24 V..(+10,24 V-1 LSB)
Manual ADQ-330/340 series Rev. 1.0 Functional groups 3.2.1.2.2 Isolated models The digital trigger inputs are designed for a TTL high level of +5V. The trigger signals require a reference to TRIG_AI_GND as a common ground. Abb. 25: Wiring of the isolated trigger inputs AI section 3.2.2 Programming The analog inputs are combined into channel groups (AI ports) with eight channels each and are addressed in the software via a module index.
Page 32
Functional groups Manual ADQ-330/340 series Rev. 1.0 The following figure shows eight channels of an AI port, which are always scanned synchro- nously. Synchronization of the acquisition across multiple ports is possible by appropriate pro- gramming. Figure 26: Timer-controlled acquisition The dependency of the max.
Manual ADQ-330/340 series Rev. 1.0 Functional groups Analog output 3.3.1 Voltage outputs Depending on the version, the ADQ-330/340 series multi I/O boards are equipped without, with 2 or 4 analog outputs, which are galvanically isolated from PC ground and the other function groups up to 1500 VDC (60 s).
Page 34
Functional groups Manual ADQ-330/340 series Rev. 1.0 Tip: With the utility program "WriteBufferAO" you can easily output the following pre-defined waveforms: • Rectangular • Sine • Triangular • Saw tooth rising/falling • Sinc function • Sine with phase control • Sinusoid modulated rectangular • Sweep signal • NRZ-coded signal If necessary, the fundamental oscillation can be superimposed with either Gaussian noise or...
Manual ADQ-330/340 series Rev. 1.0 Functional groups 3.3.2 Wiring We recommend the use of the VHDCI cable with matching connection block, see chapter 4.3 on page 72. 3.3.2.1 Output voltage range The output voltage range is ±10.24 V. The load for each channel is 15 mA max. The capacitive load at the output should not exceed 1 nF to ensure a stable signal.
Functional groups Manual ADQ-330/340 series Rev. 1.0 3.3.2.2.1 Not-isolated models The digital trigger inputs are designed for a TTL high level of +5 V. The trigger signals require a reference to the PC ground (GND_PC). Figure 29: Wiring of the not-isolated trigger inputs AO section 3.3.2.2.2 Isolated models The digital trigger inputs are designed for a TTL high level of +5 V.
Manual ADQ-330/340 series Rev. 1.0 Functional groups 3.3.3.1 Single value output This operation mode is for output of single values without fixed time reference. Depending on the configuration the output can be started either by software or by a rising and/ or falling edge at the corresponding external trigger input (TRIG_AO_y).
Functional groups Manual ADQ-330/340 series Rev. 1.0 Isolated digital inputs The ADQ-340 series provides an isolated digital input port with 8 bits. The isolated inputs have a Schmitt trigger characteristic according to IEC 61131-2 (type 1) and are designed for a maximum input voltage of 35 V.
Manual ADQ-330/340 series Rev. 1.0 Functional groups Figure 33: Wiring of the isolated digital inputs 3.4.3 Status LEDs The isolated digital input port DI_x is equipped with 8 blue status LEDs. The assignment of the individual bits is shown in the following figure. DI_0 .
Functional groups Manual ADQ-330/340 series Rev. 1.0 3.4.4.1 Simple reading In this operation mode one digital value can be read with the appropriate port width. 3.4.4.2 Streaming operation The software-controlled streaming operation enables a continuous reading of digital input ports with up to 10 kHz (depending on operation system and PC configuration). 3.4.4.3 Interrupt modes On demand the isolated input port can be monitored on bit change or bit-pattern match and can be evaluated as an interrupt event.
Manual ADQ-330/340 series Rev. 1.0 Functional groups 3.4.4.3.2 Bit-pattern compare In the operation mode „bit-pattern compare“ a pre-defined reference bit-pattern is compared with the bit-pattern attached to the corresponding input port. On bit-pattern match an inter- rupt is triggered (see Figure 36). Digital input port Reference bit-pattern Figure 36: Bit-pattern compare...
Functional groups Manual ADQ-330/340 series Rev. 1.0 Isolated digital outputs The ADQ-340 series provides an isolated digital output port with 8 bits. The outputs are as- sembled with a power FET which can drive up to 0.6 A per channel. The isolation voltage against PC ground is 500 VAC 3.5.1 Wiring The outputs are dimensioned for a high level of 24 VDC (U...
Manual ADQ-330/340 series Rev. 1.0 Functional groups Figure 37: Wiring of the isolated digital outputs 3.5.2 Programming The output port DO_x is 8 bit wide. It is addressed in the software via a module index. The port direction is fixed by the hardware. Please note the order of operation as described in the online help.
(see chapter 3.5). The remaining 16 TTL digital I/Os, which are connected to ST5 as in the ADQ-330 series, are addressed as port DIO_Cx and DIO_Dx. For access to port DIO_Cx and DIO_Dx there is an additional front panel for cPCI slots in the cPCI models and an additional mounting bracket for PCI-Express models (pin-out see page ??).
Manual ADQ-330/340 series Rev. 1.0 Functional groups 3.6.2 Programming The four digital I/O ports (DIO_Ax, DIO_Bx, DIO_Cx, DIO_Dx) can be programmed port by port (8 bit wide) as input or output. They are addressed in the software via a module index. After power-up all bi-directional ports are configured as input.
Functional groups Manual ADQ-330/340 series Rev. 1.0 • When passing the value FFHex in the member variable uiPortBitChangeRising Edge of the structure SADQIRQEnable in function adqEnableIRQ() all bits of a port are monitored on a rising edge for example. If only single bits should be monitored (e.
Manual ADQ-330/340 series Rev. 1.0 Functional groups Special Functions Special functions such as 32 bit counter, I C bus port, incremental encoder (in preparation), frequency meter for square wave signals and PWM output. 3.7.1 Wiring The inputs and outputs of the special functions are routed to the HDMI connector ST3. For pin assignment see page <?>.
Page 48
Functional groups Manual ADQ-330/340 series Rev. 1.0 The following control signals and the counter output are available on the HDMI connector ST3: • Enable input (CNT_EN, pin 14): Enabling the counter is always necessary. Either by this input or by software (then this input will be ignored). –...
Manual ADQ-330/340 series Rev. 1.0 Functional groups Adresse Adresse Quittierung Daten Daten Quittierung Clock internal/external (ext.: CNT_EXT_CLK) Enable input (CNT_EN) Trigger input Trigger-Verhalten mit/ohne Schwellwert? (CNT_TRIG) min. 2 clocks Threshold value Counter value (in register) Default: 4294967295 Interrupt: Interrupt: ...or start value (preset) threshold value Zero axis crossing Interrupt...
Page 50
Functional groups Manual ADQ-330/340 series Rev. 1.0 VCC_OUT (3.3 V / 5 V) Device 1 Device 2 Device n 2 x 40 k Figure 43: I C bus structure A maximum of 128 devices can be connected to an I C bus, if each of the devices occupies only one address, otherwise correspondingly less.
Manual ADQ-330/340 series Rev. 1.0 Functional groups to low level. Since this corresponds to a low-active wired-OR, it is sufficient, if one slave sends the ACK signal. Address Address Acknowledge Data Data Acknowledge START Slave address (7 bit) + read/write bit (R/W) Data byte (8 bit) STOP Figure 46: Complete transfer cycle at the I...
Page 52
Functional groups Manual ADQ-330/340 series Rev. 1.0 The Gray code offers the advantage that only one bit changes between adjacent codes. The counting direction results from the sequence of the states of the 2-bit Gray code: 00 01 11 10 Count direction up Count direction down Edges...
Page 53
Manual ADQ-330/340 series Rev. 1.0 Functional groups Assuming B is set to 1 and A bounces when toggling from 1 to 0, false pulses can be prevented with the following strategy: • A and B should be the stored values prior a new edge. • On the first change from A to 0, A = 0 and B = 1 are stored.
Functional groups Manual ADQ-330/340 series Rev. 1.0 3.7.2.4 Frequency measurement The ADQ-330/340 series has a frequency measuring input which allows you to measure the frequency of a rectangular signal up to about 660 kHz and its duty factor. Each individual mea- surement must be started by software.
− Manual ADQ-330/340 series Rev. 1.0 Functional groups In order to calculate the so-called duty factor, the API returns not only the frequency but also the pulse duration (high level) in steps of 15.15 ns. The measurement always starts with the first positive edge of the measuring signal.
Functional groups Manual ADQ-330/340 series Rev. 1.0 As you can see in Figure 51, slow frequencies can be resolved much accurately than high fre- quencies. The API automatically sets the next possible value to the desired frequency and re- turns it. As soon as low level is applied to the enable input, the output stops.
Manual ADQ-330/340 series Rev. 1.0 Appendix Appendix Specifications Conditions: T = 25°C if not otherwise specified; warm-up time: 30 minutes. In line with continuous tests we monitor the long-term stability of the specifications regularly. Analog inputs Element Condition Specification Channels ADQ-331/332 16 pseudo differential (2 channel groups) ADQ-341/342...
Page 58
Appendix Manual ADQ-330/340 series Rev. 1.0 Element Condition Specification Differential linearity min. -0.9 LSB, typ. ±0.2 LSB, max. 0.9 LSB error Zero-point error min. -700 µV, typ. ±160 µV, max. 700 µV Zero-point error drift ±4 µV/°C Error on full scale (FS = full scale) min.
Page 59
Manual ADQ-330/340 series Rev. 1.0 Appendix Trigger inputs for AI section Element Condition Specification Number ADQ-331/332 2 external trigger inputs (one per channel group) ADQ-341/342 ADQ-334/344 4 external trigger inputs (one per channel group) Level max. -0.5..+5.5 V (different input level on request) Input level VCC = 5V min.
Page 60
Appendix Manual ADQ-330/340 series Rev. 1.0 Element Condition Specification Ext. trigger edges rising, falling, any Total accuracy ±0.01% (±1 mV) from full-scale Temperature drift 20 ppm/°C Isolation voltage ADQ-331/332/334 – ADQ-341/342/344 1500 VDC (60 s), D/A section to PC ground Ground reference ADQ-331/332/334 GND_PC...
Page 61
Manual ADQ-330/340 series Rev. 1.0 Appendix Element Condition Specification Overload protection on too low ext. Shutdown min. 8.0 V; startup max. 9.6 V; hysteresis typ. 1 V supply on missing ext. supply Switch-on threshold min. 12.1 V; switch-off threshold max. 13.9 V L → H: >...
Page 62
Appendix Manual ADQ-330/340 series Rev. 1.0 Element Condition Specification Leckage current on typ. 5 µA, max. 30 µA deactivated channel Shutdown current on typ. 1.4 A inductive loads (switch-on time) = 47Ω, to 90% U typ. 64 µs; max. 120 µs (switch-off time) = 47Ω, to 10% U typ.
Page 63
Manual ADQ-330/340 series Rev. 1.0 Appendix Counter The specification of the electrical parameters corresponds to those of the bidirectional TTL digital I/Os (see page 62). Element Condition Specification Counter type 32 bit downward counter Preset 32 bit start value can be loaded Mode Einmaliges Zählen bis Null (retriggerbar) oder kontinuierlich mit automatischem Nachladen des Startwertes...
Page 64
Appendix Manual ADQ-330/340 series Rev. 1.0 Element Condition Specification Inputs via HDMI (ST3) Sensor input "Channel A" (INC_A) Sensor input "Channel B" (INC_B) External reset input (INC_EXT_RST) Frequency measurement The specification of the electrical parameters corresponds to those of the bidirectional TTL digital I/Os (see page 62). Element Condition Specification...
Page 65
Manual ADQ-330/340 series Rev. 1.0 Appendix Element Condition Specification Physical size (without cPCI models 3 U CompactPCI board, 4 HP wide mounting bracket and connectors) Connectors 3-pol. connector, type: Phoenix Contact MC 1,5/ 3-G-3,5 (grid spacing: 3.5 mm) ST2A, ST2B Two 68-pin VHDCI female connectors HDMI connector, type HEC 25-pin D-Sub female connector via additional mounting...
Page 70
Appendix Manual ADQ-330/340 series Rev. 1.0 Connection of the flat-ribbon cable to ST5 Pin 1 IDC female plug 20-pin Abb. 59: Connection of flat-ribbon cable to ST5 Note: When connecting the adapter cable, connect pin 1 of the flat-ribbon cable (red marked cable) to pin 1 of the IDC male connector ST5 as shown above.
Manual ADQ-330/340 series Rev. 1.0 Appendix 4.2.7 Special terminal block Special terminal block for ADQ-330/340 series. The connection to the board is made by two 68-pin VHDCI and a HDMI cable. The signals are provided via 14 x 10-pin clamps of type Phoenix Contact MCV 1,5/10-G-3,81. The corresponding mating plug with push-in spring connection of type Phoenix Contact FMC 1,5/10-ST-3,81 (grid spacing: 3.81 mm) are included with the terminal block.
Appendix Manual ADQ-330/340 series Rev. 1.0 Accessories 4.3.1 Terminal blocks • ADQ-TB-300-HUT (Art. no. 146811) Special terminal block for ADQ-330/340 series for mounting on DIN rail. The connection to the board is made via two 68-pin VHDCI and one HDMI connectors. The signals are provi- ded by 14 x 10-pin Phoenix type clamps.
Manual ADQ-330/340 series Rev. 1.0 Appendix Manufacturer and support ® ® ® ALLNET and ALLDAQ are registered trademarks of the ALLNET GmbH Computersysteme. For questions, problems and product information please contact the manufacturer directly: ® ALLNET GmbH Computersysteme Division ALLDAQ...
The warranty terms valid for your country can be found on the homepage of your distributor. If you have questions or problems applying the warranty you can contact us during our nor- mal opening hours under the following phone number +49 (0)89 894 222 – 474 or by email: support@alldaq.com. Appendix...
Page 75
Filter (isolated inputs) ... . 38 ALLDAQ-Manager....14 Frequency measurement..54 Analog acquisition .
Page 76
Appendix Manual ADQ-330/340 series Rev. 1.0 Warranty..... . 74 Programming Wiring Analog inputs ....31 Analog inputs .
Page 77
Manual ADQ-330/340 series Rev. 1.0 Appendix Appendix...
Need help?
Do you have a question about the ADQ-330 Series and is the answer not in the manual?
Questions and answers