ICP USB-2064 User manual

Category
Digital & analog I/O modules
Type
User manual

This manual is also suitable for

USB-2000 Series
USB 2.0 Full-Speed High Performance DAQ module
User's Manual
Revision History / Overview
i
Document version: 1.09
Revision History
Revision
Date
Description of Change
1.09
May 8, 2014
1. Adding USB-2045 Module Information
2. Adding USB-2051 Module Information
3. Adding USB-2055 Module Information
4. Adding USB-2060 Module Information
5. Adding DI API
1.08
Jan 29, 2013
6. Adding System API SetAutoResetWDT
1.07
Sep 20, 2012
7. Adding DO API DO_WriteValue
1.06
Jul 6,2012
1. Adding DO API
2. Adding information for USB-2064
1.05
Jun 21, 2012
1. Modifying analog output type code
1.04
Apr 23, 2012
1. Changing the color of LED indicators
1.03
Dec 29, 2011
1. Adding information for USB-2084
2. Adding PI API
3. Adding PI related error codes
1.02
Dec 20, 2011
Adding ERR_USBDEV_ERROR_WRITEFILE error code
1.01
Dec 15, 2011
Modify specification of USB-2019
1.00
Oct 31, 2011
First revision released
Preface / Overview
ii
Document version: 1.09
Preface
Warranty
All products manufactured by ICP DAS are under warranty regarding defective
materials for a period of one year from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages resulting from the use of this product. ICP
DAS reserves the right to change this manual at any time without notice. The information
furnished by ICP DAS is believed to be accurate and reliable. However, no responsibility
is assumed by ICP DAS for its use, or for any infringements of patents or other rights of
third parties resulting from its use.
Copyright
Copyright © 2011 by ICP DAS CO., LTD. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of their
respective companies.
Content / Overview
iii
Document version: 1.09
Content
Revision History .................................................................................................................................. i
Preface ................................................................................................................................................... ii
Content ............................................................................................................................................... iii
1 Introduction .................................................................................................................................... 1
1.1 Overview .............................................................................................................................. 1
1.2 Feature ................................................................................................................................. 1
1.3 Applications ....................................................................................................................... 2
1.4 Specifications ..................................................................................................................... 2
1.4.1 General ..................................................................................................................... 2
1.4.2 USB-2019 ................................................................................................................ 3
1.4.3 USB-2045 ................................................................................................................ 4
1.4.4 USB-2051 ................................................................................................................ 5
1.4.5 USB-2055 ................................................................................................................ 6
1.4.6 USB-2060 ................................................................................................................ 8
1.4.7 USB-2064 .............................................................................................................. 10
1.4.8 USB-2084 .............................................................................................................. 11
1.5 Product Check List ......................................................................................................... 12
2 Hardware Information .............................................................................................................. 13
2.1 Module Overview ........................................................................................................... 13
2.1.1 USB-2019 .............................................................................................................. 14
2.1.2 USB-2045 & USB-2051 & USB-2055 &USB-2060 ................................ 15
2.1.3 USB-2064 .............................................................................................................. 15
2.1.4 USB-2084 .............................................................................................................. 16
2.1.5 CA-USB15 ............................................................................................................. 16
2.2 Connector Pin Assignment ........................................................................................ 17
2.2.1 USB-2019 .............................................................................................................. 17
2.2.2 USB-2045 .............................................................................................................. 17
2.2.3 USB-2051 .............................................................................................................. 18
2.2.4 USB-2055 .............................................................................................................. 18
2.2.5 USB-2060 .............................................................................................................. 19
2.2.6 USB-2064 .............................................................................................................. 19
2.2.7 USB-2084 .............................................................................................................. 20
2.3 Wiring ................................................................................................................................. 21
2.3.1 USB-2019 .............................................................................................................. 21
Content / Overview
iv
Document version: 1.09
2.3.2 USB-2045 .............................................................................................................. 21
2.3.3 USB-2051 .............................................................................................................. 21
2.3.4 USB-2055 .............................................................................................................. 22
2.3.5 USB-2060 .............................................................................................................. 23
2.3.6 USB-2064 .............................................................................................................. 23
2.3.7 USB-2084 .............................................................................................................. 24
2.4 Hardware Configuration ............................................................................................. 25
2.4.1 Board ID ................................................................................................................. 25
2.4.2 Firmware Update ............................................................................................... 25
2.4.3 USB-2019 .............................................................................................................. 26
2.4.4 USB-2045 .............................................................................................................. 26
2.4.5 USB-2051 .............................................................................................................. 27
2.4.6 USB-2055 .............................................................................................................. 27
2.4.7 USB-2060 .............................................................................................................. 27
2.4.8 USB-2064 .............................................................................................................. 28
2.4.9 USB-2084 .............................................................................................................. 29
2.5 LED Indicators .................................................................................................................. 30
2.5.1 Normal Operation ............................................................................................. 30
2.5.2 Firmware update ................................................................................................ 30
3 Installation ..................................................................................................................................... 31
3.1 Hardware ........................................................................................................................... 31
3.1.1 Connecting to ICP DAS USB series I/O module ..................................... 31
3.2 Software ............................................................................................................................. 31
3.2.1 Utility ....................................................................................................................... 32
3.2.2 ICP DAS USB I/O Software Integration ...................................................... 42
3.2.3 Samples ................................................................................................................. 44
4 Operation ...................................................................................................................................... 45
4.1 Hardware structure........................................................................................................ 45
4.2 Software structure ......................................................................................................... 45
5 ICP DAS USB Class Members ................................................................................................. 48
5.1 Table of Constructors ................................................................................................... 48
5.2 Table of Static Methods .............................................................................................. 48
5.3 Table of Public Methods ............................................................................................. 48
5.3.1 System .................................................................................................................... 48
5.3.2 Device ..................................................................................................................... 49
5.3.3 Digital Input ......................................................................................................... 49
Content / Overview
v
Document version: 1.09
5.3.4 Digital Output ..................................................................................................... 50
5.3.5 Analog Input ........................................................................................................ 50
5.3.6 Pulse Input ............................................................................................................ 51
5.3.7 Other ....................................................................................................................... 52
5.4 Constructors ..................................................................................................................... 52
5.4.1 ICPDAS_USBIO .................................................................................................... 52
5.5 Static Methods ................................................................................................................ 53
5.5.1 ListDevice .............................................................................................................. 53
5.5.2 ScanDevice ........................................................................................................... 54
5.6 Public Methods ............................................................................................................... 55
5.6.1 System .................................................................................................................... 55
5.6.2 Device ..................................................................................................................... 61
5.6.3 Digital Input ......................................................................................................... 82
5.6.4 Digital Output ..................................................................................................... 97
5.6.5 Analog Input ..................................................................................................... 119
5.6.6 Pulse Input ......................................................................................................... 157
6 Troubleshooting ...................................................................................................................... 199
Appendix A .................................................................................................................................... 200
A.1 Analog Input Type Code .......................................................................................... 200
A.2 Analog Output Type Code ...................................................................................... 201
A.3 Pulse Input Type Code .............................................................................................. 201
A.4 Channel Status ............................................................................................................. 201
Appendix B .................................................................................................................................... 202
B.1 Error Codes .................................................................................................................... 202
Introduction / Overview
1
Document version: 1.09
1 Introduction
1.1 Overview
The ICP DAS USB series I/O modules are highly flexible solution for data acquisition.
It provides easy USB plug-and-play operation and equips accurate measurement for all
kinds of applications of automations. Compared with the traditional PC-based cards like
PCI, PC/104 and ISA cards, users can achieve data acquisition easier and quicker via ICP
DAS USB series I/O modules. Besides, through ICP DAS USB I/O utility, users can
configure and test modules directly and easily without any coding. The friendly API
library is also provided for users to develop own USB application.
1.2 Feature
Maximum 10KS/s sampling rate
Wide operating temperature range
RoHS compliant
USB 2.0 Full-Speed compliant
No external power supply (Powered by USB)
Plug-and-Play without driver installation
Lockable USB cable
Support firmware update via USB
Utility tool for module configuration and I/O testing easily and quickly
PWR/RUN/ERR LED indicator
Built-in dual watchdog (hardware/software)
Providing API Library (VC/VB/BCB/.NET)
Module supported for Win2000/XP and Win7 (32/64 bit)
Introduction / Applications
2
Document version: 1.09
1.3 Applications
Building automation
Factory automation
Machine automation
Data acquisition and control
Environment monitor
Laboratory equipment and research
1.4 Specifications
1.4.1 General
Communication
Interface
USB 2.0 Full-Speed
Watchdog
1 Hardware watchdog ( 1.6 second )
1 Software watchdog ( Programmable )
LED Indicators / Display
System LED Indicators
3 LED as Power, Run and Error
I/O LED Indicators
1 LED / channel as I/O status for Digital and Pulse I/O
EMC
ESD ( IEC 61000-4-2 )
4 kV contact for each terminal
8 kV air for random point
EFT (IEC 61000-4-4)
0.5kV for USB cable
0.5kV for I/O terminal
Environment
Operating Temperature Range
-25 ~ +75
Storage Temperature Range
-40 ~ +85
Humidity
10 ~ 95% RH, non-condensing
Introduction / Specifications
3
Document version: 1.09
1.4.2 USB-2019
The USB-2019 is an 8-channel universal analog input
module. It supports the over-voltage protection of up to
240Vrms. In addition, it has voltage and current input types. It
also widely supports thermocouple devices with J, K, T, E, R, S, B,
N, C, L, M and L
DIN43710
types. Moreover, it provides extremely
accurate thermocouple measurement and automatically
cold-junction compensation for each channel. Finally, it features
open wire detection for thermocouple and 4 ~ 20 mA inputs for
each channel.
Analog Input
8 differential
Input Type
Voltage
±15 mV, ±50 mV, ±100 mV, ±150 mV,
±500 mV, ±1 V, ±2.5 V, ±5 V, ±10 V
Current
±20 mA, 0 ~ +20 mA, +4 ~ +20 mA
( Note : An external resistor is required )
Thermocouple
J, K, T, E, R, S, B, N, C, L, M and L
DIN43710
16 bit
±0.1% FSR
10 Hz ( Total )
±20 μV/
±25 ppm/
86 dB
100 dB
Input Impedance
Voltage
> 400 kΩ
Current
125Ω (External resistor is required)
3000 V
DC
240 V
rms
Yes
Yes (Software programmable)
Power
1.45W maximum
Mechanical
Dimensions ( W×L×H )
33mm × 119mm × 107mm
Introduction / Specifications
4
Document version: 1.09
1.4.3 USB-2045
The USB-2045 is a full-speed USB device with 16 digital
output channels module. The USB-2045 supports source type
output and equips with short circuit protection. There are 16
LED indicators that can be used to monitor the status of the
digital output channels. The 4 kV ESD protection, 4 kV EFT
protection, 3 kV surge protection for power input and 3750
VDC Intra-module isolation are standard.
Digital Output
16
Open Collector, Sink (NPN)
+3.5~+50VDC
650 mA/Channel
60 VDC
Overload Protection
1.4A (with short-circuit protection)
Power-on Value
Yes
Safe Value
Yes
Power
1.0 W max.
Mechanical
72 mm x 123 mm x 35 mm
Introduction / Specifications
5
Document version: 1.09
1.4.4 USB-2051
The USB-2051 is a full-speed USB device with 16 digital
input channels module. The USB-2051 offers 16 channels for
digital input, catering for both dry and wet contact, with an
effective distance for dry contact of up to 500 meters. All
channels not only feature photocouple isolation, but can also
be used as 16-bit counters. The USB-2051 has 16 LED
indicators that can be used to monitor the status of the digital
input channels. 4 kV ESD protection and 3750 VDC
intra-module isolation are standard.
Digital Input
16
Type
Dry Contact
Source
Wet Contact
Sink/Source
On Voltage
Level
Dry Contact
Close to GND
Wet Contact
+10 VDC ~ +50 VDC
Off Voltage
Level
Dry Contact
Open
Wet Contact
+4 VDC Max.
500 meters Max.
10 KΩ
70 VDC
Counter
Max. Count
65535 (16-bit)
Max. Input
Frequency
500 Hz
Min. Pulse
Width
1 ms
Power
1.03 W max.
Mechanical
72 mm x 123 mm x 35 mm
Introduction / Specifications
6
Document version: 1.09
1.4.5 USB-2055
The USB-2055 is a full-speed USB device with 8 digital
input and digital output channels module. The USB-2055
offers 8 isolated channels for digital input and 8 isolated
channels for digital output. Either sink-type or source-type
digital input can be selected via wire connections. All digital
input channels are also able to be used as 16-bit counters.
The USB-2055 supports source-type output with short circuit
protection. There are options to enable both power-on and
safety values. The USB-2055 has 16 LED indicators that can be
used to monitor the status of the digital input and digital
output channels. 4 kV ESD protection and 3750 VDC
intra-module isolation are standard.
Digital Input
8
Type
Dry Contact
Source
Wet Contact
Sink/Source
On Voltage
Level
Dry Contact
Close to GND
Wet Contact
+10 VDC ~ +50 VDC
Off Voltage
Level
Dry Contact
Open
Wet Contact
+4 VDC Max.
500 meters Max.
10 KΩ
70 VDC
Counter
Max. Count
65535 (16-bit)
Max. Input
Frequency
500 Hz
Min. Pulse
Width
1 ms
Digital Output
8
Open Collector, Sink (NPN)
+3.5~+50VDC
650 mA/Channel
60 VDC
Overload Protection
1.4A (with short-circuit protection)
Introduction / Specifications
7
Document version: 1.09
Power-on Value
Yes
Safe Value
Yes
Power
1.2 W max.
Mechanical
33mm × 87mm × 107mm
Introduction / Specifications
8
Document version: 1.09
1.4.6 USB-2060
The USB-2060 is a full-speed USB device with 8 digital
input and digital output channels module. The USB-2060
provides 6 digital input channels, 6 Form A signal relay output
channels. All digital input channels can be used as 16-bit
counters. In addition, the digital input channels can be
selected either as sink or source type via wire connections.
The USB-2060 also provides 12 LED indicators that can be
used to monitor the status of the digital input and relay
output. There are also options for configuring power-on and
safe values. 4 kV ESD protection and 3750 VDC intra-module
isolation are also provided to enhance noise protection
capabilities in industrial environments.
Digital Input
6
Type
Dry Contact
Source
Wet Contact
Sink/Source
On Voltage
Level
Dry Contact
Close to GND
Wet Contact
+10 VDC ~ +50 VDC
Off Voltage
Level
Dry Contact
Open
Wet Contact
+4 VDC Max.
500 meters Max.
10 KΩ
70 VDC
Counter
Max. Count
65535 (16-bit)
Max. Input
Frequency
500 Hz
Min. Pulse
Width
1 ms
Relay Output
6
Form A (SPST-NO)
Contact Rating
(Resistive Load)
DC
5A 30V
DC
AC
5A 250V
AC
(47~63Hz)
10ms max.
5ms max.
Introduction / Specifications
9
Document version: 1.09
1,000 MΩ at 500V
DC
Dielectric
Strength
Between Open
Contact
1000V
AC
(1 min.)
Between Coil and
Contact
3000V
AC
(1 min.)
Endurance
Mechanical
2 x 10
7
ops
Electrical
1 x 10
5
ops
Power-on Value
Yes
Safe Value
Yes
Power
1.3 W max.
Mechanical
33mm × 87mm × 107mm
Introduction / Specifications
10
Document version: 1.09
1.4.7 USB-2064
The USB-2064 is an 8-channel power relay output
module with the USB interface. It provides a maximum 5A
driving load current for variety applications. In addition, This
module also provides the safety functionality to secure
devices in the field. Besides, it also supports power-on
configuration to customize initial state.
Relay Output
8
Form A (SPST-NO)
5A 250V
AC
(47~63Hz)
5A 30V
DC
10ms max.
5ms max.
1,000 MΩ at 500V
DC
Between Open Contact
1000V
AC
(1 min.)
Between Coil and Contact
3000V
AC
(1 min.)
Endurance
Mechanical
20,000,000 times min.
Electrical
100,000 times min.
1.235W max.
Mechanical
33mm × 87mm × 107mm
Introduction / Specifications
11
Document version: 1.09
1.4.8 USB-2084
The USB-2084 is an 8-channel counters module with the
USB interface. It provides a variety of measurement applications,
such as measuring a number of time-related quantities, counting
events or totalizing, and monitoring position with quadrature
encoders. In addition, a digital filter is used to eliminate the
effects of noise, and the filters parameters are adjustable by
software.
Counter
4 channel counter type Up/Down
4 channel counter type Dir/Pulse
4 channel counter type A/B Phase
8 channels for counter type Up and Frequency
Up, Frequency, Up/Down, Dir/Pulse, A/B Phase
32 bit
500kHz maximum
1~32767uS (Software programmable)
±0.4%
On Voltage Level
+4.5V
DC
~+30V
DC
Off Voltage Level
+1V
DC
maximum
On Voltage Level
+2V
DC
~+5V
DC
Off Voltage Level
0V
DC
~+0.8V
DC
2500 V
DC
Yes
1.11W maximum
Mechanical
33mm × 102mm × 107mm
Introduction / Product Check List
12
Document version: 1.09
1.5 Product Check List
The package includes the following items:
One ICP DAS USB I/O module
One Quick Start Guide
One USB cable with lockable kit (CA-USB15)
It is highly recommended to read the Quick Start Guide first before using ICP DAS
USB I/O modules. There is some useful information in the Quick Start Guide:
How to install hardware and use utility
Hardware Information / Module Overview
13
Document version: 1.09
2 Hardware Information
2.1 Module Overview
Normal / Firmware
update Mode Switch
USB Type B connector
Board ID Rotary Switch
LEDs & I/Os Terminal
Frame Ground
DIN Rail Mount
DIN Rail Lock
Board ID Rotary Switch
0
: User defined (Software Programmable)
1 ~ 15
: Fix board ID
Normal / Firmware Update Mode Switch
INIT
: Firmware update mode
RUN
: Normal mode
Hardware Information / Module Overview
14
Document version: 1.09
2.1.1 USB-2019
2.1.1.1 Body
2.1.1.2 CN-1824
The CN-1824 is a connector transfers DB-25 connector to 18-pin terminal block to
help user to wire. The dimension is shown as follow.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210

ICP USB-2064 User manual

Category
Digital & analog I/O modules
Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI