Check Your Package Thank you for purchasing the CONTEC product. The product consists of the items listed below. Check, with the following list, that your package is complete. If you discover damaged or missing items, contact your retailer. Product Configuration List - Board (One of the following) …1...
All relevant issues have been considered in the preparation of this document. Should you notice an omission or any questionable item in this document, please feel free to notify CONTEC CO., LTD. Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that may appear in this document or for results obtained by the user as a result of using this product.
Step 2 Setting the Hardware ........................14 Replacing the Bracket ........................14 Parts of the Board and Factory Defaults ..................15 Setting the Board ID.......................... 15 Plugging the Board ..........................16 Step 3 Installing the Hardware ........................ 17 Turning on the PC ..........................17 AO-1616L-LPE, AO-1608L-LPE...
Page 5
Accessing the Help File ........................50 Using Sample Programs ........................51 Usage of Utility Program........................53 Uninstalling the Driver Libraries ..................... 56 About Software for Linux ........................59 Driver Software Install Procedure ....................59 Accessing the Help File ........................60 AO-1616L-LPE, AO-1608L-LPE...
Page 6
Hardware specification ..........................62 Block Diagram ............................64 Control Signal Timings ..........................66 Control Signal Timings for Analog Output ..................66 Control Signal Timings for Counter ....................67 About Calibration ............................. 68 Difference from DA16-16(LPCI)L, DA16-8(LPCI)L ................69 AO-1616L-LPE, AO-1608L-LPE...
- High precision analog output 16 channels and 8 channels, each 4 channels for digital I/O, counter 1 channel AO-1616L-LPE has analog output (10 µ sec, 16-bit, 16 channels), analog output control signal (LVTTL level 3 channels), digital I/O (each 4 channels for LVTTL level), counter (32-bit, LVTTL level 1 channel).
API functions (DLL). Various sample programs such as Visual Basic and Visual C++, etc and diagnostic program *1useful for checking operation is provided. For more details on the supported OS, applicable language and new information, please visit the CONTEC’s Web site.
The API-AIO(LNX) is the Linux version driver software which provides device drivers (modules) by shared library and kernel version. Various sample programs of gcc are provided. For more details on the supported OS, applicable language and new information, please visit the CONTEC’s Web site.
You can download updated driver software and differential files as well as sample programs available in several languages. Note! For product information Contact your retailer if you have any technical question about a CONTEC product or need its price, delivery time, or estimate information. Limited Three-Years Warranty CONTEC products are warranted by CONTEC CO., LTD.
WARNING indicates a potentially hazardous situation which, if not avoided, could WARNING result in death or serious injury. CAUTION indicates a potentially hazardous situation which, if not avoided, may CAUTION result in minor or moderate injury or in property damage. AO-1616L-LPE, AO-1608L-LPE...
Even when using the product continuously, be sure to read the manual and understand the contents. Do not modify the product. CONTEC will bear no responsibility for any problems, etc., resulting from modifying this product. Regardless of the foregoing statements, CONTEC is not liable for any damages whatsoever (including damages for loss of business profits) arising out of the use or inability to use this CONTEC product or the information contained herein.
(3) Store the package at room temperature at a place free from direct sunlight, moisture, shock, vibration, magnetism, and static electricity. Disposal When disposing of the product, follow the disposal procedures stipulated under the relevant laws and municipal ordinances. AO-1616L-LPE, AO-1608L-LPE...
Page 15
1. Before Using the Product AO-1616L-LPE, AO-1608L-LPE...
For setting up software other than API-PAC(W32), refer to the manual for that software. See also the following parts of this manual as required. This chapter Step 2 Setting the Hardware This chapter Step 3 Installing the Hardware Chapter 3 External Connection Chapter 6 About Hardware AO-1616L-LPE, AO-1608L-LPE...
Chapter 6 About Hardware For using the board under an OS other than Windows and Linux, see the following parts of this manual. This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware AO-1616L-LPE, AO-1608L-LPE...
Although some user interfaces are different depending on the OS used, the basic procedure is the same. About the Driver Two Analog I/O drivers are available : API-AIO(WDM) and API-AIO(98/PC). Please use the API-AIO(WDM) with this board. API-AIO(98/PC) is not supported. AO-1616L-LPE, AO-1608L-LPE...
If the panel does not appear, run (CD-ROM drive letter):\AUTORUN.exe. (3) Click on the [Install Development or Execution Environment] button. CAUTION Before installing the software in Windows Vista, XP, Server 2003, 2000, or NT, log in as a user with administrator privileges. AO-1616L-LPE, AO-1608L-LPE...
Page 20
Clicking the [Detail] button displays detailed information about API-AIO(WDM) and API-AIO(98/PC). Executing the Installation (1) Complete the installation by following the instructions on the screen. (2) The Readme file appears when the installation is complete. You have now finished installing the software. AO-1616L-LPE, AO-1608L-LPE...
The replacing method is as follows : Standard-sized bracket - Remove the screws and replace it with the Standard-sized bracket. Low Profile size bracket Screw Use a flathead screwdriver or hexagonal spanner to undo and tighten the screws. Figure 2.1. Replacing the Bracket AO-1616L-LPE, AO-1608L-LPE...
To set the board ID, use the rotary switch on the board. Turn the SW1 knob to set the board ID as shown below. BOARD ID Factory setting: (Board ID = 0) Figure 2.3. Board ID Settings (SW1) AO-1616L-LPE, AO-1608L-LPE...
Doing so could cause trouble. Be sure that the personal computer or the I/O expansion unit power is turned off. Make sure that your PC or expansion unit can supply ample power to all the boards installed. Insufficiently energized boards could malfunction, overheat, or cause a failure. AO-1616L-LPE, AO-1608L-LPE...
(1) When the " Found New Hardware Wizard" opens, select "Install the software automatically [Recommended]" and then click the "Next" button. The wizard may not appear for some OS versions and instead the installation will start automatically. In this case, proceed to the software initial setup step. AO-1616L-LPE, AO-1608L-LPE...
Page 25
If using Windows 98 or Windows Me, specify the folder that contains the setup information (INF) file from the CD-ROM. Source folder The setup information file (INF) is contained in the following folder on the bundled CD-ROM. \INF\WDM\AIO \INF\WDM\AIO You have now finished installing the software. AO-1616L-LPE, AO-1608L-LPE...
- AO-1616L-LPE - AO-1608L-LPE (2) The installed hardware appears under the CONTEC Devices node. Open the CONTEC Devices node and select the device you want to setup (the device name should appear highlighted). Click [Properties]. AO-1616L-LPE, AO-1608L-LPE...
Page 27
* The name of the board you have just added is displayed. - AO-1616L-LPE - AO-1608L-LPE The initial device name that appears is a default value. You can use this default name if you wish. Make sure that you do not use the same name for more than one device.
The analog output example illustrated below is an example of using analog output channel 0. Use the diagnosis program to perform an operation check. Connection diagram < Analog Output > Interface connector (CN1)25pin e.g.Tester Analog Ground (CN1)24pin Figure 2.4. Connection diagram AO-1616L-LPE, AO-1608L-LPE...
Click the [Diagnosis] button on the device property page to start the diagnosis program. * The name of the board you have just added is displayed. - AO-1616L-LPE - AO-1608L-LPE * The name of the board you have just added is displayed.
Page 30
Clicking the lower row of switches turns the digital output bits ON or OFF. Counter input Selecting a counter channel displays the count value and state of that counter channel. Clicking the zero clear button resets the count to zero. AO-1616L-LPE, AO-1608L-LPE...
Page 31
Clicking [Diagnosis Report] prompts you to specify where to save the report text file. * The name of the board you have just added is displayed. - AO-1616L-LPE - AO-1608L-LPE (2) The diagnosis report contains the following data. - Version of OS...
Check the return values of the API functions. Refer to the source code for the sample programs. The OS won’t normally get started or detect the device. Refer to the "Troubleshooting" section of API-AIO(WDM) HELP. If your problem cannot be resolved Contact your retailer. AO-1616L-LPE, AO-1608L-LPE...
(CN1) shown below. Interface connector (CN1) - Connector used 50-pin mini-ribbon connector 10250-52A2JL[mfd.by 3M] Compatible connector 10150-6000EL[mfd. by 3M] * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector (CN1) Shape AO-1616L-LPE, AO-1608L-LPE...
Reserved pin. N.C. No connection to this pin. Figure 3.2. Pin Assignments of Interface Connector (CN1) < AO-1616L-LPE > CAUTION Do not connect any of the outputs and power outputs to the analog or digital ground. Neither connect outputs to each other. Doing either can result in a fault.
Page 36
If analog and digital ground are shorted together, noise on the digital signals may affect the analog signals. Accordingly, analog and digital ground should be separated. Leave "Reserved" pins unconnected. Connecting these pins may cause a fault in the board. AO-1616L-LPE, AO-1608L-LPE...
Figure 3.5. Analog Output Connection (Shield Cable) *1 The number of channels depends on each board. The AO-1616L-LPE has 16 channels; the AO-1608L-LPE has 8 channels. CAUTION When the power supply is turned on, the output voltage of all channels becomes 0 V.
CAUTION Do not short the output signals to analog ground, digital ground, and/or power line. Doing so may damage the board. Reference For the operation timings for control signal input, see ”Control Signal Timings” in Chapter 6 “Hardware”. AO-1616L-LPE, AO-1608L-LPE...
Analog output processes are classified as follows: 1.Setting the Conversion Condititions Resolution Clock Channel Start Condition Range Stop Condition Event Output data Data transfer method Memory Repeat Setting data 2.Starting/stopping operation Start Stop 3.Monitoring the Status and Acquiring Data Status Sampling 4.Reset Status Memory AO-1616L-LPE, AO-1608L-LPE...
0) in which it wants to convert DA. Range "Range" means the range of voltages at which analog output can be performed. Software setup of the range is not required as this board uses a fixed range of voltages. : ±10V AO-1616L-LPE : ±10V AO-1608L-LPE AO-1616L-LPE, AO-1608L-LPE...
Page 42
The analog signal corresponding to the output data contains an error as follows: - Output data "42598" converted to: 2.9998 V - Output data "42598" converted to: 3.0001 V This error is a consequential error occurring when output data is obtained from an expected analog value. AO-1616L-LPE, AO-1608L-LPE...
Page 43
The device buffer mode provides a function that allows the number of items of conversion data using the number of sampling times as a unit to set the number of items of conversion data directly using the voltage. Device buffer mode AO-1616L-LPE, AO-1608L-LPE...
Page 44
DA conversion is performed on the oldest data in memory. You can write to memory during analog output operation. An error occurs if the volume of data exceeds the memory size. However, this error does not stop analog output if it is in progress. AO-1616L-LPE, AO-1608L-LPE...
Page 45
Analog output as Data0 - DataN Although the figure shows a single analog output channel, output from multiple channels is also possible. Repeat You can specify a repeat count to perform sampling for a specified number of times. AO-1616L-LPE, AO-1608L-LPE...
Page 46
When using FIFO format, setting data to memory is always performed from the most recent data. New data can be added during conversion. Procedure for RING format When using ring format, a ring memory area large enough for the data to be set is reserved. Data cannot be modified during DA conversion. AO-1616L-LPE, AO-1608L-LPE...
Page 47
Sampling stops when the specified edge (rising edge or falling edge) is input from the external control signal. Software Sampling continues indefinitely in this mode. Sampling only stops in response to a software command or an error. AO-1616L-LPE, AO-1608L-LPE...
This event occurs when conversion stops due to a DA conversion error. 2. Starting/Stopping Operation Analog output operation is started by a software command (the analog output start command). Similarly, you can stop analog output at any time using a software command (the analog output stop command). AO-1616L-LPE, AO-1608L-LPE...
ON. This error stops sampling. Sampling The number of sampled items of output data transferred from in memory can be obtained by the software command. This command can only be used in device buffer mode. AO-1616L-LPE, AO-1608L-LPE...
This command resets the following memory related states. Resets the conversion data in memory. Resets the repeat count to 0. Resets the sampling count to 0 when a stop trigger is input. Resets the status information for the specified data save count. AO-1616L-LPE, AO-1608L-LPE...
Input signal The external clock can be used as the counter input signal. Digital filter A digital filter can be used on external input bits. The filter time can be set to "don't use", 1 µ s by software. AO-1616L-LPE, AO-1608L-LPE...
Execution of driver processing may not be able to keep up if multiple count match events occur within a short time period. In this case, the counter operation error status turns ON and counter operation stops. Data acquisition The current count value can be read using a software command. AO-1616L-LPE, AO-1608L-LPE...
4. Functions 4.Reset Various states can be reset by executing the following reset commands: Counter reset Resets the counter. This restores the counter to its state after power on. Status Resets the compare count match status and overrun status. AO-1616L-LPE, AO-1608L-LPE...
Bit 3 Bit 0 Bit 2 Bit 1 0(OFF) 1(ON) 0(OFF) 1(ON) Digital filter A digital filter can be used on the input bits. The filter time can be set to "don't use", 1 µ s by software. AO-1616L-LPE, AO-1608L-LPE...
0 and 15. Ex. Output of bit 3 (ON), bit 2 (OFF), bit 1 (ON), bit 0 (OFF) Byte data = 10(AH) Bit 0 Bit 3 Bit 2 Bit 1 1(ON) 0(OFF) 1(ON) 0(OFF) AO-1616L-LPE, AO-1608L-LPE...
“Function Reference”, “Sample Programs”, “Tutorial”, “FAQs”and “Troubleshooting”. Use them for program development and troubleshooting. Accessing the Help File (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “AIOWDM” – “API-AIO(WDM) HELP” to display help information. AO-1616L-LPE, AO-1608L-LPE...
The sample programs are stored in \Program Files\CONTEC\API-PAC(W32)\AIOWDM\Samples. Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “AIOWDM” – “SAMPLE…”. (3) A sample program is invoked.
Page 59
- AiUser2 Perform analog input indefinitely using a user buffer Digital I/O - DioBit Perform digital I/O using bit values - DioByte Perform digital I/O using port values Others - Convert Data conversion - Multi1 Synchronized analog I/O AO-1616L-LPE, AO-1608L-LPE...
* The name of the board you have just added is displayed. - AO-1616L-LPE - AO-1608L-LPE Procedure (1) Chose the measure device from device list. (2) Click the button written with the function name to measure the execution speed of the function.
Page 61
* The name of the board you have just added is displayed. - AO-1616L-LPE - AO-1608L-LPE AO-1616L-LPE, AO-1608L-LPE...
Page 62
It means that the conversion speed is too fast and the driver processing is not in time when converting at the internal clock. The cycle of the clock is too fast when converting it at the external clock. Moreover, the cause by noise etc. is also concerned. (4) Click the “stop” button, and measurement stops. AO-1616L-LPE, AO-1608L-LPE...
[Device Manager] tab. (You can also open Device Manager by right clicking on My Computer and selecting Properties.) 2. All of the hardware that uses the API-TOOL(WDM) driver is registered under the CONTEC Devices tree. Open the device tree, select the hardware to uninstall, and then right-click the hardware.
Page 64
< Uninstall the device driver > Use [My Computer] - [Control Panel] - [Add and Remove Programs] to uninstall the device driver. Select [Windows driver package - CONTEC (****)] and then click [Change/Remove]. * "***" contains the driver category name (caio, ccnt, cdio, csmc, etc.).
Page 65
< Uninstall the development environment > Use [My Computer] - [Control Panel] - [Add and Remove Programs] to uninstall the development environment. Select [CONTEC API-***(WDM) VerX.XX (development environment)] and then click [Add/Remove]. * "***" contains the driver category name (AIO, CNT, DIO, SMC, etc.).
# mount /dev/cdrom /mnt/cdrom Mount the CD-ROM. # cp /mnt/cdrom/linux/aio/caioXXX.tgz ./ Copy the compressed file. # tar xvfz caioXXX.tgz Decompress the compressed file....# cd contec/caio # make Compile the file....# make install Install....# cd config # ./config...
Sample programs for each language are contained in the contec/caio/samples directory. For compiling them, refer to the manual for the desired language. Uninstalling the driver To uninstall the driver, use the uninstall shell script contained in the contec/caio directory. For details, check the contents of the script. AO-1616L-LPE, AO-1608L-LPE...
This chapter provides hardware specifications and hardware-related supplementary information. For detailed technical information For further detailed technical information (“Technical Reference” including the information such as an I/O map, configuration register, etc.), visit the Contec's web site to call for it. AO-1616L-LPE, AO-1608L-LPE...
6. About Hardware Hardware specification AO-1616L-LPE Table 6.1. Specification < AO-1616L-LPE > Item Specification Analog output Isolated specification Unisolated Number of output 16ch channels Output range Bipolar ±10V Absolute max. output ±3mA currency Output impedance 1 Ω or less Resolution...
Page 70
*1: The non-linearity error means an error of approximately 0.1% occurs over the maximum range at 0 ° C and 50 ° C ambient temperature. Board Dimensions 121.69(L) The standard outside dimension(L) is the distance from the end of the board to the outer surface of the slot cover. [mm] AO-1616L-LPE, AO-1608L-LPE...
Hold time of sampling stop (Rising edge) nsec Set up time of sampling stop (Falling edge) nsec Hold time of sampling stop (Falling edge) nsec CAUTION The times listed in Table 6.3 are for standard operating conditions. AO-1616L-LPE, AO-1608L-LPE...
Set up time of counter input signal (Rising edge) nsec Hold time of counter input signal (Rising edge) nsec Pulse width of counter output signal 1000 nsec CAUTION The times listed in Table 6.4 are for standard operating conditions. AO-1616L-LPE, AO-1608L-LPE...
Click the [Calibration] button on the property page for the device to start the calibration program. * The name of the board you have just added is displayed. - AO-1616L-LPE - AO-1608L-LPE Proceed with connecting the calibration equipment and performing the calibration in accordance with the instructions displayed by the calibration program.
6. About Hardware Difference from DA16-16(LPCI)L, DA16- 8(LPCI)L AO-1616L-LPE, DA16-16(LPCI)L The functions same with conventional product of DA16-16(LPCI)L are provided with the AO-1616L- LPE. In addition, as there is compatibility in terms of connector shape and pin assignments, it is easy to migrate from the existing system.
Page 77
December 2017 Edition 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan https://www.contec.com/ No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. [12252017] [09022015] Management No. A-51-549 [12252017_rev4] Parts No.