Bi-directional digital i/o
terminal for usb2.0 (39 pages)
Summary of Contents for Contec AO-1604VIN-USB
Page 1
N Series for USB Reference Manual Isolated Analog Output Unit (±10V Voltage Output) AO-1604VIN-USB Isolated Analog Output Unit (0 - 20mA Current Output) AO-1604AIN-USB CONTENTS Introduction ..............5 Safety Precautions ............ 13 Setup ................20 Installation ..............36 Software ............... 56 Function ...............
Table of Contents Introduction ............... 5 1. Related Manuals ..............................6 2. About the Product ..............................7 3. Features ..................................8 1. AO-1604VIN-USB .............................8 2. AO-1604AIN-USB .............................8 3. Common ................................8 4. Product Configuration List ..........................10 5. Support Software ..............................11 6. Optional Products ..............................12 Safety Precautions ............
Page 3
1. Connecting an Interface Connector ...................... 45 2. Connecting Cable ............................46 3. Signal Layout on the Interface Connector ..................47 3. Connecting Analog Output Signal (AO-1604VIN-USB) ..............48 1. Connection Example of Voltage Output ....................48 4. Connecting Analog Output Signal (AO-1604AIN-USB) ..............50 1.
Page 4
Table of Contents Appendix ................78 1. Hardware Specification ............................79 2. Physical Dimensions ............................82 1. Product ................................82 2. Physical dimensions of supplied AC adapter (POA201-10-2) ..........82 3. Circuit Block Diagram ............................83 4. Control Signal Timings ............................84 1.
— — Introduction AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 1. Related Manuals The manuals related to the product are listed below. Read them as necessary along with this document. Must Read the Followings. Name Purpose Contents How to get Setup Guide...
DIN rail. For AO-1604VIN-USB, 4 channels of 16-bit analog output, and digital input and output (4 channels respectively) are equipped, and these circuits are isolated from the computer.
— — Introduction AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 3. Features 1. AO-1604VIN-USB 4 channels of analog output (voltage output) with high accuracy, and 4 channels of digital input and output respectively are contained Analog output (10μsec, 16bit, 4ch), digital input and output (Input: TTL level 4 channels, Output: Open-collector 4 channels)) are equipped.
Page 9
— — Introduction AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Compatible to USB1.1/USB2.0 Compatible to USB1.1/USB2.0 and capable to achieve high speed transfer at High Speed (480 Mbps) Diverse installations such as screw fastening, magnet, DIN rail are possible Installation on the floor / wall /ceiling is possible by screw fastening, magnet, rubber feet, etc.
— — Introduction AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 4. Product Configuration List 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.
AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 5. Support Software You can use CONTEC support software according to your purpose and development environment. For more details on the supported OS, applicable languages, or to download the latest version of software, visit the CONTEC Web site.
*1 The specification of the operating ambient temperature is 0 to 40 °C. It is the same adapter included in this package. *2 The specification of the operating ambient temperature is -20 to 70 °C. Visit the CONTEC website for the latest optional products. https://www.contec.com/ Website...
Safety Precautions Understand the following definitions and precautions to use the product safely. Never fail to read them before using the product. — 13 —...
— — Safety Precautions AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 1. Safety Information This document provides safety information using the following symbols to prevent accidents resulting in injury or death and the destruction of equipment and resources. Understand the meanings of these labels to operate the equipment safely.
Even when using the product continuously, be sure to read the manual in the CONTEC's website and understand the contents. Do not modify the product. CONTEC will bear no responsibility for any problems, etc., resulting from modifying the product.
— — Safety Precautions AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 1. Regarding “CE EMC Directive Class A Notice” The ferrite core must be installed on the AC adapter so that this product may suit the above- mentioned standard. See below for the type of the ferrite core. (Equivalent product can also be used).
— — Safety Precautions AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 2. FCC PART15 Subpart B Class A NOTE This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
— — Safety Precautions AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 3. Environment Use this product in the following environment. If used in an unauthorized environment, this product may overheat, malfunction, or cause a failure. Operating temperature -20 - 60ºC Humidity 10 - 90%RH (No condensation)
— — Safety Precautions AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 5. Storage When storing this product, keep it in its original packing form. Put this product in the storage bag. Wrap it in the packing material, and then put it in the box.
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 1. What is Setup? Setup means a series of steps to take before the product can be used. Different steps are required for driver software and hardware. The setup procedure varies with the OS or driver software used.
CONTEC website. 1. Starting Up the Install Program Download the API-AIO(WDM) for USB from CONTEC website. Expand the downloaded file. Execute the installer in the expanded folder. As the installer differs depending on OS used, check the list below to execute.
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 3. Hardware Setting This section describes how to set up the product and how to connect it to a PC. 1. Nomenclature of Product Components Component names of the product are shown in the figure below.
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 2. LED Indicator The product indicates its operation state by means of light emitting diodes. The LED indicates as listed below. List of Status LED Functions Function Color Display Description The power is supplied to this product.
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 5. Power Supply Connector This product must be connected by using the 12-24VDC power supply (in a self-powered state). Connect the external power supply to the power supply connector. Pin Assignment Mark...
Page 26
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual About a power rise Input voltage range: 12 - 24VDC plus or minus 10 percentages. Use the power that can rise in the input voltage range of 11.4VDC or greater within 10ms. Other power supply may cause a damage to the product or an accident.
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 4. Hardware installation Under Windows, the peripherals need to be recognized by the OS. This is called hardware installation. When using multiple products, install one product at a time. Complete the setup of the product before starting to install the next one.
Page 28
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual CAUTION Connect the 12 - 24VDC power supply (such as the AC adapter) to the product first, then connect to a PC. Do not turn on or off during the operation. When unplugging, unplug the USB cable first, then disconnect the external power supply.
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 2. Connecting the Product Turn on the power to the PC before connecting this product. When the PC has been up and running, connect the product to a USB port in the PC.
For other than Windows 10, From the [Control Panel], select the [Hardware and Sounds] or the [System] and then select the [Device Manager]. The installed hardware appears under the CONTEC Devices node. Open the CONTEC Devices node and select the device you want to setup. Click the [Properties]. — 30 —...
Page 31
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual The property page for the device opens. Enter the device name in the Common Settings tab page and then click the [OK]. The device name you set here is used later when programming.
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 6. Operation Check You must make sure that this product and driver software operate properly. By taking this step, you can be certain that this product has been set up appropriately. 1. Check Method Connect the product to an external target device to test the communication and check the execution environment.
Page 33
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Checking Functions The main dialog box of the Diagnosis Program appears. You can check the current operation states of the product in the following boxes: Analog input Select the input channel and input type from the lists.
Page 34
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Diagnosis Report Clicking on [Diagnosis] displays detailed data including product settings and the diagnosis results while saving them in text format. The diagnosis program performs the presence or absence of the product, driver file test, the board setting test, and so on.
— — Setup AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 7. Setup Troubleshooting 1. Examples and Solution The diagnostic program works properly but the application program does not. The diagnostic program uses the API-AIO(WDM) for USB functions. If the diagnostic program works properly, other applications should also work properly.
Installation This section describes how to mount the product on a DIN rail or on the wall, and to connect to an external device with a cable. — 36 —...
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 1. Installing the Product 1. Installation Conditions Installation Orientation It is possible to mount it in the orientations shown in the following figure. Other orientations would cause problems in usage, such as inadequate heat dissipation.
Page 38
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Screws / magnet fixation Vertical installation CAUTION The product cannot be installed on the ceiling with magnets. — 38 —...
Page 39
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Spacing between the system unit and any surrounding objects Secure a distance of at least 50mm between the top of the product (single use) and any surrounding objects. Do not locate the product in a fully enclosed housing.
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 2. Mounting on/Removing from a DIN Rail How to Mount Pull down the hooks to unlock. If the hooks are stuck, use a slotted screwdriver to unlock. (1). Hang the product on the upper part of the DIN rail.
Page 41
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual How to Remove Pull down the hooks to unlock. If the hooks are stuck, use a slotted screwdriver to unlock. (1). With the hooks unlocked, pull the lower part of the product toward you.
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 3. Desktop Installation Using the rubber feet When required to mount the product on the desktop, mount it horizontally on a sturdy platform. The rubber feet can be mounted in their mounting holes as shown in the following figure.
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 5. Installation Using the Magnet Attaching the magnet (optional) with the product makes it easy to mount or remove the product on or from a metal surface such as steel desk or partition.
Page 44
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Mounting onto the steel wall Mount the product directly onto the steel wall. Pull it gently after mounting to confirm that it will not drop off from the body. — 44 —...
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 2. Connecting to an External Device 1. Connecting an Interface Connector Use the supplied interface connector (connector plug) to connect the product to an external device. The following example describes how to make the connecting cable with the interface connector (connector plug).
Use the analog output cable listed below. Applicable wire AWG28 - 16 Cable Length For AO-1604VIN-USB : Within 1.5 meters * If higher accuracy is required, the cable length should be 0.5 meters or shorter. For AO-1604AIN-USB : Within 20 meters Digital I/O Cable Use the digital I/O cable listed below.
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 3. Signal Layout on the Interface Connector The product can be connected to an external device using two 10-pin connectors included in the package. Layout on the Interface Connector DI 00 -- DI 03 Digital input pins.
AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 3. Connecting Analog Output Signal (AO-1604VIN-USB) The AO-1604VIN-USB has 4 channels of AO that supports voltage output. 1. Connection Example of Voltage Output Example of flat cable connection Connect the voltage output pins of each channel of the interface connector to the analog ground.
Page 49
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual The maximum current capacity for a voltage output signal is ±5mA. To avoid any malfunction, do not connect an external device that generates a load exceeding this range. In situations where the connecting cable is excessively long, the accurate voltage output can ...
AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 4. Connecting Analog Output Signal (AO-1604AIN-USB) The AO-1604VIN-USB has 4 channels of AO that supports current output. 1. Connection Example of Current Output Floating Load and Fixed Load Two types of connection methods can be employed: fixed load and floating load.
Page 51
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Connecting to a Fixed Load Example of coaxial cable connection A coaxial cable can be used in situations where the product is at a relatively large distance from the external device or when the noise immunity of the product must be improved.
Page 52
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Example of connecting to multiple floating load resistors As shown below, connect the current output and the analog ground of each channel to the load resistance R Multiple current loops can be implemented by using the same power supply.
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 5. Connecting Digital I/O Signals Digital I/O signals can be used as control I/O signals (external trigger input signals, sampling clock input signals, etc.). The following section shows examples of how to connect signals.
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 2. Example Connection with switch When switch is “ON”, the corresponding bit is “1”. When switch is “OFF” in contrast, the corresponding bit is “0”. — 54 —...
— — Installation AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 3. Output Circuit The following is an output circuit of the interface (connector) part. Signal output section is an open-collector, and each signal is sent to external devices using negative logic. Outputting by open-collector makes outputting in accordance with the power of the external devices.
From “Start” menu on Windows task bar, click on [CONTEC API-USBP(WDM)]-[API-USBP(W32) Help] to display help information. If this link cannot be found, go to the “Start” menu on Windows task bar, click “CONTEC API- USBP(WDM)” – “API-AIO(WDM) “ – “API-AIO(WDM) HELP”.
Software AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 3. Running a Sample Program From the Start Menu on the Windows taskbar, go to “Programs” - “CONTEC API-AIO(WDM) for API-USBP(WDM)” and select the sample programs. Sample Programs - Examples Perform single analog input from specified channel [SingleAi] ...
Page 59
— — Software AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Analog Output Measurement Tool It is an analog output measurement utility to carry out infinity sample in the FIFO memory. Once the conversion data of memory accumulates to a certain quantity, the event occurs and new output data is added.
Uninstall of Device Driver Use [Control Panel] - [Programs and Features] to uninstall the development environment. Select [Windows driver package - CONTEC (Caio) Contec] and then click [Uninstall/Change]. Uninstall the Development Environment Use [Control Panel] - [Programs and Features] to uninstall the development environment.
Then, unplug the external power supply (AC adapter) for self-power as well. Uninstall two of the following programs listed from Control Panel in order. “Windows Driver Package - CONTEC (caio) Contec” “CONTEC API-AIO(WDM) driver” Reboot OS, and install software and hardware again.
Software AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 2. CONTEC Device Utility CONTEC Device Utility is utility software to setup the CONTEC's measuring control device. Use this software to update firmware of the product. 1. Updating Firmware Firmware is namely software which is embedded in the product. Up-to-date firmware (update file) will be supplied in the CONTEC website when function upgrades and so on.
Page 63
— — Software AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Start up the Utility. Start up CONTEC Device Utility. (The utility can be found in Utility folder of API-AIO(WDM) for USB driver.) Write firmware. Select the product from the list, and perform updating firmware.
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 1. Analog Output Function This product converts digital data to analog signals according to the resolution. You can set a variety of conditions for analog output, including the output channel, sampling period, and sampling start/stop conditions.
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 1. Setting the Conversion Conditions First, set the conditions for executing analog output. Resolution “Resolution” signifies the number of bits used by an analog output device to represent analog signals. The higher the resolution, the more finely the voltage range is segmented, allowing the device to convert analog values to digital equivalents more precisely.
Page 67
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Output data Output data = ((Voltage or Current - Min. range value) x Resolution) ÷ (Max. range value - Min. range value) The value of resolution for the 16-bit device is 65536.
Page 68
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Data Transfer Method A device buffer mode is available, which uses the device's or driver's conversion data storage memory. The application output data is first stored in the device buffer (memory on the device itself or in the driver).
Page 69
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Memory Format This product uses device buffer transfer mode; it does not require software setup of the memory format. FIFO format Use FIFO format if you wish to output a continuous arbitrary analog output like that shown below.
Page 70
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual RING format Use ring format if you wish to output a repeated pattern like that shown below. When using ring format, write the data for one complete cycle of the output waveform before starting operation.
Page 71
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Setting data Use a software command to save the data in memory. The figure below shows the relation between the sampling count of the conversion data stored in memory and conversion channels.
Page 72
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Clock The sampling clock controls the sampling frequency. You can select either the internal sampling clock, or external sampling clock. The sampling clock is selected by means of software. Internal sampling clock The clock signal from the installed clock generator is used.
Page 73
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Stop Condition The condition for controlling the stop of sampling can be selected from among the last sampling count, an external trigger, and software abort. This product stops sampling whenever an error occurs irrespective of the stop condition setting.
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual “Specified number of output samples complete” event This event occurs each time a specified number of samples (set by software) has been completed. When FIFO format is used, the event occurs when the remaining number of samples falls below a specified level.
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Waiting for start trigger This status remains ON, after this product starts sampling until the start trigger is input, if the conversion start condition is an external trigger. The status is set to OFF when the input trigger is input to start conversion.
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 2. Digital Input Function Input bit Individual digital input points are called input bits. When the number of input points of a device is 4, the bits are determined as bit 0 - bit 3.
— — Function AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 3. Digital Output Function Output bit Individual digital output points are called output bits. When the number of output points of a device is 4, the bits are determined as bit 0 - bit 3.
— — Appendix AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 1. Hardware Specification Function Specifications Item AO-1604VIN-USB AO-1604AIN-USB Analog Isolated specification Bus-Isolated output Output channel Output range Voltage: Bipolar ±10V Current: 0 - 20mA Maximum output current ±5mA Output impedance 1Ω or less...
Page 80
— — Appendix AO-1604VIN-USB / AO-1604AIN-USB Reference Manual *1 The non-linearity error means an error of approximately 0.1% occurs over the maximum range at -20°C and 60°C ambient temperature. *2 Data “0” and “1” correspond to the High and Low levels, respectively.
Page 81
— — Appendix AO-1604VIN-USB / AO-1604AIN-USB Reference Manual AC adapter environmental condition (environmental specification) Item Specifications Input voltage range 90 - 264VAC Rated input current 300mA Number of frequency 50 - 60Hz Rated output voltage 12.0VDC Rated output current 1.0A (Max.) Physical dimensions (mm) 47.5(W) x 75(D) x 27.3(H) (No protrusions)
— — Appendix AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 4. Control Signal Timings 1. Control Signal Timings for Analog Output Figures and a Table below show the control signal timings for the analog output function. Timing Chart of External Sampling Clock...
— — Appendix AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 5. About Calibration Although this product is calibrated before shipping, you can use the calibration program to calibrate analog output yourself. Starting the calibration program Click the [Calibration] button on the property page for the device to start the calibration program.
— — Customer Support and Inquiry AO-1604VIN-USB / AO-1604AIN-USB Reference Manual 1. Services CONTEC offers the useful information including product manuals that can be downloaded through the CONTEC website. Download https://www.contec.com/download/ You can download updated driver software, firmware, and differential manuals in several languages.
Page 88
— — Customer Support and Inquiry AO-1604VIN-USB / AO-1604AIN-USB Reference Manual Revision History MONTH YEAR Summary of Changes March 2019 The First Edition. May, 2019 Support software and optional products are added. — 88 —...
Page 89
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. AO-1604VIN-USB / AO-1604AIN-USB Reference Manual NA06372 (LYWF602) 05102019_rev2 [03152019] May 2019 Edition...