USB-7230/7250 USB 2.0-based Digital I/O Module User’s Manual Manual Rev.: 2.00 Revision Date: Nov. 16, 2012 Part No: 50-1Z138-2000 Advance Technologies; Automate the World.
Revision History Revision Release Date Description of Change(s) 2.00 Nov.
USB-7230/7250 Preface Copyright 2012 ADLINK Technology, Inc. This document contains proprietary information protected by copyright. All rights are reserved. No part of this manual may be reproduced by any mechanical, electronic, or other means in any form without prior written permission of the manufacturer.
Additional information, aids, and tips that help users perform tasks. NOTE: CAUTION: WARNING: iv Information to prevent minor physical injury, component damage, data loss, and/or program corruption when trying to complete a task. Information to prevent serious physical injury, component damage, data loss, and/or program corruption when trying to complete a specific task.
USB-7230/7250 Table of Contents Revision History...................................................................... ii Preface .................................................................................... iii List of Figures ....................................................................... vii List of Tables.......................................................................... ix 1 Introduction ........................................................................ 1 1.1 Overview.....
3 Operations ......................................................................... 27 3.1 Isolated Digital Input .......................................................... 28 3.2 Change of State (COS) Detection...................................... 29 3.3 Optical Isolated Frequency/Event Counter ........................ 31 3.4 Digital Filtering ................................................................... 33 3.5 Isolated Digital Output (USB-7230 only) ............................ 34 3.
USB-7230/7250 List of Figures Figure 1-1: Figure 1-2: Figure 1-3: Figure 1-4: Figure 1-5: Figure 1-6: Figure 1-7: Figure 1-8: Figure 1-9: Figure 1-10: Figure 1-11: Figure 1-12: Figure 1-13: Figure 1-14: Figure 1-15: Figure 2-1: Figure 3-1: Figure 3-2: Figure 3-3: Figure 3-4: Figure 3-5: Figure 3-6: Figure 3-7: Figure 3-8: Figure 3-9: Figure 3-10: Figure 3-11: Figure 3-12: Figure 3-13: List of Figures USB-7230/7250 Module Rear View............................ 6 USB-7230/7250 Module Side View .............
This page intentionally left blank.
USB-7230/7250 List of Tables Table Table Table Table 1-1: 1-2: 1-3: 1-4: List of Tables USB-7230 Pin Assignment ............................................ 20 USB-7230 I/O Signal Description .................................. 21 USB-7250 Pin Assignment ............................................ 22 USB-7250 I/OSignal Description ...................................
This page intentionally left blank.
USB-7230/7250 1 Introduction 1.1 Overview The USB-7230/7250 are USB-based digital I/O modules, featuring high voltage ON/OFF control and monitoring, and isolation voltage supported up to 2500VRMS. The USB-7230 provides 32-channel isolated digital I/O and 2-channel frequency/event counters, and USB-7250 provides 8-channel isolated digital inputs, 8-channel solid-state relays, and 2-channel frequency/event counters.
1.3 Applications X Automotive testing X Laboratory research X Industrial I/O control X Signal switching 1.4 Specifications 1.4.1 General Specifications Physical, Power, and Operating Environment Interface High speed USB 2.0 compatible, mini-USB connector Dimensions 156.5 (L) x 114 (W) x 41.3 (H) mm (6.16 X 4.49 X 1.63 in.
USB-7230/7250 USB-7230 Min. pulse width for change of state (COS) detection USB-7250 20.83 ns (software programmable) Data transfer Programmed I/O Optical Isolated Frequency/Event Counter Number of channels 2 Logic level VIH=5~12V, VIL=0~1.5V Event counter width 32-bit Max. input frequency (DC coupled) 1 MHz Min. input frequency (DC coupled) 0.1 Hz Max. frequency error 0.5% (f≤50kHz) 1% (50kHz
Breakdown voltage 1000 VAC Data transfer Programmed I/O 1.5 Software Support ADLINK provides comprehensive software drivers and packages to suit various user approaches to system building. In addition to programming libraries, such as DLLs, for most Windows-based systems, ADLINK also provides drivers for other application environments such as LabVIEW® and MATLAB®. ADLINK also pro vides ActiveX component ware for measurement and SCADA/HMI, and breakthrough proprietary software.
USB-7230/7250 experienced programmers. As a task-oriented DAQ driver, SDK and wizard for Windows systems, DAQPilot helps shorten development time while accelerating the learning curve for data acquisition programming. Download and install DAQPilot from: http://www.adlinktech.com/TM/DAQPilot.html Only UD-DASK versions 2.3.4.1109 and later and later support the USB-7230/7250 module. NOTE: 1.
1.8 Schematics and Dimensions All dimensions shown are in millimeters (mm) NOTE: 1.8.
USB-7230/7250 114 156.
114 41.
USB-7230/7250 114 41.3 Figure 1-4: USB-7250 Module Front View 1.8.2 Module Stand The multi-function USB-7230/7250 stand is compatible with desk, rail, or wall mounting. To fix the module in the stand, slide the module body into the stand until a click is heard.
from the stand, twist the bottom of the stand in a back-and forth motion and separate from the module.
USB-7230/7250 200.1 169.4 156.
114.
USB-7230/7250 26 B 20.4 20.
5.89 1.5 3.
USB-7230/7250 1.8.3 Rail Mounting The multi-function stand can be mounted on the DIN rail using the rail-mount kit as shown.
Figure 1-12: Module Pre-Rail Mounting 16 Introduction
USB-7230/7250 Figure 1-13: Module Rail-Mounted Introduction 17
1.8.4 Wall Mounting The multi-function stand can be fixed to a wall using four flush head screws as shown. The four screw holes should be approximately 3.4 mm in diameter. 20.4 13.
USB-7230/7250 Figure 1-15: Module with Wall Mount Apparatus Introduction 19
1.9 Connector Pin Assignment The USB-7230/7250 module is equipped with 40-pin removable screw-down terminal connectors, with pin assignment as follows.
USB-7230/7250 Signal Name Reference COM -------- CNT<0,1> CGND CGND -------- DO<0..
Pin Function Pin Function 4 COM1 24 DI1L 3 NC0 23 DI1H 2 NO0 22 DI0L 1 COM0 21 DI0H Table 1-3: USB-7250 Pin Assignment Signal Name Reference Direction Description COM<0..7> ---------- I Common pin of relay <0..7> NO<0..7> COM<0..7> I Normal open pin of relay <0..7> NC<0..3> COM<0..3> I Normal close pin of relay <0..3> DI<0..7>H DI<0..7>L I High input of isolated differential digital input DI<0..
USB-7230/7250 2 Getting Started WARNING: The appropriate driver must be installed before connection to the computer system. See Section 1.5: Software Support for driver support information. 2.1 Unpacking Checklist Before unpacking, check the shipping carton for any damage. If the shipping carton and/or contents are damaged, inform the dealer immediately. Retain the shipping carton and packing materials for inspection. Obtain authorization from the dealer before returning any product to ADLINK.
NOTE: The USB-7230/7250 module is exclusively powered by the USB port and requires 400 mA @ 5 V. If the USB-7230/7250 module cannot be detected, power provided by the USB port may be insufficient. 2.3 Device ID A rotary control on the rear of the module (as shown) controls device ID setting and can be set from 0 to 7. The device ID allows dedicated control of the USB-7230/7250 module irrespective of the connected USB port.
USB-7230/7250 All remaining hardware configuration is software programmable, including sampling/update rate, input/output channel, input range, and others. Please see the UD-DASK Function Reference manual for details.
This page intentionally left blank.
USB-7230/7250 3 Operations Figure 3-1: USB-7230 Functional Block Diagram The USB-7250 provides 8CH optical isolation digital inputs, 8CH relay outputs (4CH form C and 4CH form A), and 2CH frequency/event counters.
Figure 3-2: USB-7250 Functional Block Diagram 3.1 Isolated Digital Input The USB-7230/7250 support 16 or 8 opto-isolated input channels,as follows, with digital input first routed through a photo-coupler (PC3H4), and normal input voltage range for high state from 5 to 24V.
USB-7230/7250 Figure 3-3: USB-7230 Isolated Input Figure 3-4: USB-7250 Isolated Input 3.2 Change of State (COS) Detection COS (Change of State) refers to input state (logic level) changing from low to high or vice versa, wherein the COS detection circuit registers the edge of the level change.
In the USB-7230/7250, the COS detection circuit is applied to all DI channels, with the channel(s) to enable COS detection selectable by software. When an enabled channel changes logic level, the COS detection circuit generates an interrupt request to the USB microcontroller, which, when detected, latches corresponding DI data into the COS latch register.
USB-7230/7250 DI (all channels enable) 0027 0028 0029 FFFF Interrupt Request Interrupt Clear COS Latch register XXXX 0028 FFFF Figure 3-6: COS Example 3.3 Optical Isolated Frequency/Event Counter Calculates the number of rising or falling edges occurring on the input channel, with counter width of 32 bits counting up from 0. The polarity (rising or falling edge) of valid events is software configurable.
counter1 with falling-edge polarity. Counter value is updated and reset in every period. CLK CNT0 Polarity Freq = 1 MHz CNT0 CNT0 FREQ 1 2 3 46 47 48 1 24 1 CNT1 Polarity Freq = 500 KHz CNT1 CNT1 FREQ 1 24 1 Figure 3-8: Frequency Counter Example Since the signals are sampled by a 48MHz base clock, latch timing can generate measurement error, maximum error ratio vs. input frequency is as follows.
USB-7230/7250 2 1.5 Error (%) 1 .5 100 1000 10000 100000 1000000 Frequency (Hz) Figure 3-9: Frequency Counter Error % 3.4 Digital Filtering Filters unexpected glitch signals from the input channels. By default, when enabled, the input channel ignores signal changes from one state to another when not remaining in the state for a pre-defined period. The digital filter function is applied on all DI channels and counters, with the default setting disabled.
nals is 180 ns when filter is disabled, definitely, the last two states are recognized.
USB-7230/7250 VDD DO_n Controller (n=0~15) PHOTO COUPLER 5V DOn LOAD 5~35V IGND IGND Figure 3-11: USB-7230 Isolated Output 3.6 Relay Output (USB-7250 only) USB-7250 provides Form C and Form A relays, with channels 0 to 3 Form C, and 4 to 7 form A, as shown. Figure 3-12: Form C Relay Figure 3-13: Form A Relay Form C relays have NC (Normal Close), NO (Normal Open), and COM (Common) contacts. The COM terminal, located in the center,must contact either the NO pole or NC pole.
A relays have only NO (Normal Open) and COM (Common) contacts. When the control bit is high (1), the COM terminal znd NO pole contact. If the control bit is low (0), no contact takes place. Current relay output status can be read back by software, and during normal power up, reset, and power down (ejection from USB port), the relay is low status. In addition, USB-7250 also features programmable power-up output status, providing output state when powered up.
USB-7230/7250 Important Safety Instructions For user safety, please read and follow all instructions, WARNINGS, CAUTIONS, and NOTES marked in this manual and on the associated equipment before handling/operating the equipment. X Read these safety instructions carefully. X Keep this user’s manual for future reference. X Read the specifications section of this manual for detailed information on the operating environment of this equipment.
X Never attempt to fix the equipment. Equipment should only be serviced by qualified personnel. A Lithium-type battery may be provided for uninterrupted, backup or emergency power. Risk of explosion if battery is replaced with an incorrect type; please dispose of used batteries appropriately.
USB-7230/7250 Getting Service Contact us should you require any service or assistance. ADLINK Technology, Inc. Address: 9F, No.166 Jian Yi Road, Zhonghe District New Taipei City 235, Taiwan ᄅؑקխࡉ৬ԫሁ 166 ᇆ 9 ᑔ Tel: +886-2-8226-5877 Fax: +886-2-8226-5717 Email: service@adlinktech.com Ampro ADLINK Technology, Inc. Address: 5215 Hellyer Avenue, #110, San Jose, CA 95138, USA Tel: +1-408-360-0200 Toll Free: +1-800-966-5200 (USA only) Fax: +1-408-360-0222 Email: info@adlinktech.
ADLINK Technology, Inc. (French Liaison Office) Address: 15 rue Emile Baudot, 91300 Massy CEDEX, France Tel: +33 (0) 1 60 12 35 66 Fax: +33 (0) 1 60 12 35 66 Email: france@adlinktech.com ADLINK Technology Japan Corporation Address: ͱ101-0045 ᵅҀ䛑गҷ⬄ऎ⼲⬄䤯 ⬎ފ3-7-4 ⼲⬄ 374 ɛɳ 4F KANDA374 Bldg. 4F, 3-7-4 Kanda Kajicho, Chiyoda-ku, Tokyo 101-0045, Japan Tel: +81-3-4455-3722 Fax: +81-3-5209-6013 Email: japan@adlinktech.com ADLINK Technology, Inc.