Contec CPU-CA10(USB)GY Owner's manual

Type
Owner's manual
PC-HELPER
I/O Controller Module with USB
CPU-CA10(USB)GY
User’s Guide
CONTEC CO.,LTD.
CPU-CA10(USB)GY
i
Copyright
Copyright 2003 CONTEC CO., LTD. ALL RIGHTS RESERVED
No part of this document may be copied or reproduced in any form
by any means without prior written consent of CONTEC CO., LTD.
CONTEC CO., LTD. makes no commitment to update or keep
current the information contained in this document.
The information in this document is subject to change without
notice.
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.
Trademarks
All company and product names that are referred to in this manual
are generally trademarks or registered trade.
ii CPU-CA10(USB)GY
Product Configuration
- Module (one of the following products)
[CPU-CA10(USB)GY]…1
- First step guide…1
- CD-ROM *1 [API-USBP(WDM)]…1
- AC adapter (1.5m)…1
- AC cable (1.5m)…1
- USB cable (1.8m)…1
- Rubber feet…4
- Magnet…2
*1 The CD-ROM contains the driver software and Users Guide
(this guide)
USB Module
CD-ROM
[API-USBP(WDM)]
Rubber feet
LINK
0
1
2
3
4
5
6
7
9
A
C
D
E
F
8
0
1
2
3
4
5
6
7
9
A
C
D
E
F
8
CPU-CA10
Magnet
USB cable
AC adapter
First step guide
AC cable
Check the contents to make sure that you have everything listed
below. If you do not have all the items or have any damage,
contact your distributor or CONTEC group office where you
purchased.
CPU-CA10(USB)GY
iii
Table of Contents
Copyright.......................................................................... i
Trademarks ...................................................................... i
Product Configuration ....................................................ii
Table of Contents ...........................................................iii
1. Introduction ................................................................... 1
Summary ......................................................................... 1
Features....................................................................... 2
Support Software ........................................................ 6
Accessories (Option).................................................... 7
Customer Support ........................................................... 8
Web Site....................................................................... 8
Limited One-Year Warranty ........................................... 8
How to Obtain Service .................................................... 9
Liability ........................................................................... 9
Safety Precautions .......................................................... 9
Safety Information ...................................................... 9
Operation Precautions .............................................. 10
Environment ............................................................. 12
Inspection .................................................................. 12
Storage....................................................................... 12
Disposal ..................................................................... 12
2. Module Nomenclature.................................................. 13
3. Setup ............................................................................ 15
Connection-Overall Diagram........................................ 15
Setting a Module ID...................................................... 15
Connecting with Device Modules ................................. 16
Device Modules ......................................................... 16
Setting a Device ID ................................................... 17
Connection between Device Modules ....................... 18
Setup Flow..................................................................... 21
Software Installation .................................................... 21
Illustration of Menu Screen...................................... 21
Installation of API-USBP(WDM) Development
Environment ............................................................. 22
iv CPU-CA10(USB)GY
Installing the Utility .................................................23
Connecting to a PC ........................................................23
Setting Properties Using Device Manager ...................26
Connecting an External Power Supply.........................28
How to Install the Module.............................................31
Installation Orientation ............................................31
Mounting with magnets ............................................32
Mounting on a DIN Rail ............................................33
Using Several Products of the same Model ..................36
Setting a Module ID ..................................................36
4. Application Development .............................................37
Reference to Online Help...............................................37
Printing Function Reference .........................................37
Sample Program ............................................................38
Distributing Developed Application..............................38
Utility .............................................................................38
5. Troubleshooting............................................................39
Troubleshooting .............................................................39
Q & A ..............................................................................40
Diagnostic Program .......................................................42
Version Upgrade ............................................................43
How to Upgrade the Firmware .................................43
Driver Upgrade..........................................................44
Returning to Initial State..............................................45
6. Product Specification....................................................49
Hardware Specification .................................................49
Software Specification ...................................................50
Physical dimensions ......................................................51
7. Appendix.......................................................................53
Glossary..........................................................................53
1. Introduction
CPU-CA10(USB)GY
1
1.
Introduction
Summary
Before, the measurement and control was realized by way of
inserting PCI interface boards into expansion slots of a desktop
computer in case of configuring system using computers. However,
because of the limit on number of expansion slots, it is difficult to
configure system sometimes, or it is difficult to perform the same
measure and control as PCI interface boards for a note PC. The USB
module can be used to resolve that kind of problems.
The CPU-CA10(USB)GY is a compact and easy to use
USB-mounted I/O control module. Module can be used to input and
output a wide range of different signals by connecting F&eIT
compatible device modules (sold separately).
- Input and output digital signals to an external device
- Convert external analog voltage signals to digital data
- Convert digital data to an analog voltage signal for output to an
external device
- Count high-frequency pulse signals, or use in conjunction with an
encoder for position control
As the CPU used to control the module is isolated from external
signals by Optocoupler, disturbances on the external electrical
circuit are not transmitted to the host computer.
This manual explains important information that you should know
before using this product.
It can be used by PC with USB interface and is for note PC best.
When using it on a desktop computer, you can perform simple
connection without the need for opening the host cover.
Easy to setup
Simple on utilization
Corresponding to USB
Desktop Computer Note PC
1. Introduction
2 CPU-CA10(USB)GY
Being connected with USB port, module can be setup simply. In
addition, it can be used immediately owing to the supplied Windows
development environment and Utility.
The communication in Full Speed (12Mbps) is added to this USB
module, and which is compatible with High Speed (480Mbps).
High Speed is namely High-Speed data communication which is
additional definition in the specification of USB2.0. The host
controller performs communication in 480Mbps when
corresponding to High Speed of USB2.0. Comparing with
communication in Full Speed, the response for module access as
communication in High Speed improves.
Features
Digital input Using a DI-16(FIT)GY or similar digital input module
The module can be used to input digital signals
from an external device.
Monitor the status of a switch, for example.
Digital output Using a DO-16(FIT)GY or similar digital input module
The module can be used to output a digital signal
to an external device.
Can directly drive an LED display.
Analog input Using a ADI12-8(FIT)GY or similar digital input module
The CPU on the module performs A/D sampling.
The sampled and converted A/D data is sent to
the PC via the USB interface.
Analog output Using a DAI12-4(FIT)GY or similar digital input module
The CPU on the module can perform D/A
conversion and output. The data for D/A
conversion is received from the PC via the USB
interface.
Switch monitoring
Lamp ON
1. Introduction
CPU-CA10(USB)GY
3
Count input Using a CNT24-2(FIT)GY or similar digital input module
The count method supports single-phase input,
2-phase input and single-phase input with gate
control. Because it can be connected with a
rotary encoder, using it can easily perform the
position detection and revolution speed
measurement.
- Single-phase input
It can be used to keep track of the number of good products and inferior products
on a product examination line.
- 2-phase input
It can be used to measure moving distance and to detect position. Detailed
control can be effected by setting the count input multiplier to 2 or 4.
- Single-phase input with gate control
Because the pulse count time can be controlled via external signal, it is very
convenient to use the module to measure the revolution speed.
Can use either the internal or external power
supply
- Bus power (Power is supplied from the PC.)
This simply requires that the USB cable is
connected.
No external power supply is required.
- Self power (Uses an AC adaptor)
If you are using a notebook or other
battery-powered PC and wish to
minimize the power consumption, you
have the option of using an external
power supply.
Designed for easy installation
The module includes an attachment for directly
attaching to a 35mm DIN rail. This permits easy
installation and removal.
1. Introduction
4 CPU-CA10(USB)GY
Sample programs are supplied to help with
application development
Sample programs are provided for Visual
Basic, Visual C++, Delphi, and C++ Builder.
General-purpose functions suitable for use in
application development are also provided.
For example, retrieving a list of the available
modules.
Convenient utility
- Hyper Logger
An easy way to operate the module without
requiring programming. Various settings are
available for data logging, graphing, and saving
to file.
- Digital monitor
An easy way to operate the module without
requiring programming. This utility displays
lamps indicating the current status of the device
and allows output values to be set by clicking
switches with the mouse.
- Counter monitor
An easy way to operate the module without
requiring programming. Various different
counter modes can be set and the current count
values displayed.
1. Introduction
CPU-CA10(USB)GY
5
Restrictions for Each Utility
Hyperlogger
Does not support the high-speed conversion mode
setting. Use the low speed setting (this sampling mode
uses a system timer to perform sampling at an interval of
several hundred milliseconds or more.)
Digital monitor
No restrictions.
Counter monitor
Does not support notification of counter match events,
output of a counter match pulse, or the function to
generate an e-mail notification when a count match event
occurs.
Diagnostic Program
Saves a file version check and the result of
executing basic operations in a file. This is
useful for fault diagnosis in the event of a
problem.
1. Introduction
6 CPU-CA10(USB)GY
Support Software
It is suggested that support software produced by our company
should be used according to the goal and development environment.
API Functions Library API-USBP(WDM) (Bundled)
It is the library software, and which supplies command of hardware
produced by our company in the form of standard Win32 API
function(DLL). Using programming languages supporting
Win32API functions, such as Visual Basic and Visual C/C++ etc.,
you can develop high-speed application software with feature of
hardware produced by our company.
In addition, you can verify the operation of hardware using
Diagnostic programs.
< Operating Environment >
Primary corresponding OS Windows Vista, XP, 2000, Me,
98
Primary corresponding language Visual C++.NET, Visual
C#.NET, Visual Basic.NET,
Visual C++, Visual Basic,
Delphi, Builder
CONTEC provides download services (at
http://www.contec.com/apiusbp/) to supply the updated drivers and
differential files.
1. Introduction
CPU-CA10(USB)GY
7
Accessories (Option)
Isolated digital I/O module(12 - 24VDC input:8-points,
output:8-points) : DIO-8/8(FIT)GY
Isolated digital I/O module(12 - 24VDC input:16-points,
12 - 48VDC output 16-points): DIO-16/16(FIT)GY
Isolated digital input module(12 - 24VDC input:16-points):
DI-16(FIT)GY
Isolated digital input module(12 - 24VDC input:32-points) :
DI-32(FIT)GY
Isolated digital output module(12 - 48VDC output:16-points):
DO-16(FIT)GY
Isolated digital output module(12 - 48VDC output:32-points:
DO-32(FIT)GY
Isolated analog input module(12bit, 8ch): ADI12-8(FIT)GY
Isolated analog input module (16bit, 4ch): ADI16-4(FIT)GY
Isolated analog output module(12bit, 4ch): DAI12-4(FIT)GY
Isolated analog output module(16bit, 4ch): DAI16-4(FIT)GY
Isolation counter module(24bit, UP/DOWN 2ch counter):
CNT24-2(FIT)GY
Input Module for Pt100 Thermo-sensor
(Pt100 temperature sensor input 4ch):
PTI-4(FIT)GY
AC-DC power supply unit
(input: 90 - 264VAC, output: 5VDC 2.0A): POA200-20
AC-DC power supply unit
(input: 85 - 132VAC, output: 5VDC 3.0A): POW-AC13GY
AC-DC power supply unit
(input: 85 - 264VAC, output: 5VDC 2.0A): POW-AD22GY
DC-DC power supply unit
(input: 10 - 30VDC, output: 5VDC 3.0A): POW-DD10GY
DC-DC power supply unit
(input: 30 - 50VDC, output: 5VDC 3.0A): POW-DD43GY
* Further details of the accessories may be verified in the homepage
of our company.
1. Introduction
8 CPU-CA10(USB)GY
Customer Support
CONTEC provides the following support services for you to use
CONTEC products more efficiently and comfortably.
Web Site
Japanese http://www.contec.co.jp/
English http://www.contec.com/
Chinese http://www.contec.com.cn/
The latest product information
Up-to-date information of the product is supplied.
In addition, the product manual with the form of PDF file and
various technical data are supplied.
Free download
You can download the up-to-date driver and missing files.
In addition, you can also download sample programs in various
languages.
Limited One-Year Warranty
CONTEC product is warranted by CONTEC CO., LTD. to be free
from defects in material and workmanship for up to one year from
the date of purchase by the original purchaser.
Repair will be free of charge only when this device is returned
freight prepaid with a copy of the original invoice and a Return
Merchandise Authorization to the distributor or the CONTEC group
office, from which it was purchased.
This warranty is not applicable for scratches or normal wear, but
only for the electronic circuitry and original boards. The warranty is
not applicable if the device has been tampered with or damaged
through abuse, mistreatment, neglect, or unreasonable use, or if the
original invoice is not included, in which case repairs will be
considered beyond the warranty policy.
1. Introduction
CPU-CA10(USB)GY
9
How to Obtain Service
For replacement or repair, return the device freight prepaid, with a
copy of the original invoice. Please obtain a Return Merchandise
Authorization Number (RMA) from the CONTEC group office
where you purchased before returning any product.
* No product will be accepted by CONTEC group without the
RMA number.
Liability
The obligation of the warrantor is solely to repair or replace the
product. In no event will the warrantor be liable for any incidental
or consequential damages due to such defect or consequences that
arise from inexperienced usage, misuse, or malfunction of this
device.
Safety Precautions
Understand the following definitions and precautions to use the
product safely.
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.
If you disregard this information and perform a wrong operation, personal
death and severe injury could occur.
If you disregard this information and perform a wrong operation, personal
death and severe injury maybe occur.
If you disregard this information and perform a wrong operation, personal
injury and damage to a program, system or device, etc. could occur.
DANGER
WA RN IN G
CAUTION
1. Introduction
10 CPU-CA10(USB)GY
Operation Precautions
DANGER
Please do not use the product in environments subject to
flammable and corrosive gas. Otherwise, it can bring on
exploding, fire, electric shock and trouble.
CAUTION
- There are switches on this product that need to be set in advance.
Be sure to check its switch settings before using the module.
- Please do not change this product switch settings in an
unauthorized manner.
Otherwise, it can bring about malfunction, heating and trouble.
- Please do not subject this product to impact or bend it.
Otherwise, it can bring about malfunction, heating, trouble and
damage.
- Please do not touch the metallic pins on the external module
connector.
Otherwise, it can bring about malfunction, heating and trouble.
- Please do not connect expansion module when the power for this
product is turned on.
Otherwise, it can bring about malfunction, heating and trouble.
Be sure to turn off the power for this product.
- Please do not touch this product with a wet hand when the power
for this product is turned on. It is danger of electric shock.
Be sure to turn off the power for this product.
- When you use this product in a noisy environment or are nervous
about noise, attach ferrite cores to the connection cable.
- Attach ferrite cores to the cable connected to the interface
connector.
- Attach ferrite cores to the USB cable.
- Connect the USB connector plug to the ground.
- When using the AC adapter, attach ferrite cores to its power
cable.
- Connect the AC adapter (option) connector to the ground so that
the FG pin in the +5-VDC input terminal is grounded.
1. Introduction
CPU-CA10(USB)GY
11
- If you notice any strange odor or overheating, please unplug the
power cord and USB cable immediately.
Otherwise, it can bring about malfunction, heating and trouble.
In the event of an abnormal condition or malfunction, please
consult the dealer from whom this product was purchased.
- In order to add functions to this product and perform quality
improvement, this product specification is subject to change
without notice.
Even if you use this product again, please be sure to read the
manual to confirm the content.
- Please do not modify this product.
CONTEC will bear no responsibility for any problems, etc.,
resulting from modifying this product.
- Please do not open this product casing.
CONTEC will disclaim any responsibility for products whose
casing has been opened.
- 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.
- It may cause a trouble in recognizing and operating the device
according to the kind of USB hub. If you use the USB hub, we
encourage you to take advantage of the CONTEC’s product loan
service to confirm operation before purchasing.
1. Introduction
12 CPU-CA10(USB)GY
Environment
Use this product in the following environment. If used in an
unauthorized environment, the board may overheat, malfunction, or
cause a failure.
Operating temperature
0 - 50°C
Operating humidity
10 - 90%RH (No condensation)
Corrosive gases
None
Floating dust particles
Not to be excessive
Inspection
Inspect the product periodically as follows to use it safely.
*Make sure that the connectors
on the module side are correctly
connected with the cables
*The ventilation slits are not covered,
and neither dust nor alien substance is attached to the ventilation slits
LINK
0
1
2
3
4
5
6
7
9
A
C
D
E
F
8
0
1
2
3
4
5
6
7
9
A
C
D
E
F
8
CPU-CA10
Storage
When storing this product, keep it in its original packing form.
(1) Put this product in the storage bag
(2) Wrap it in the packing material, then put it in the box.
(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.
2. Module Nomenclature
CPU-CA10(USB)GY
13
2.
Module Nomenclature
Figures 2.1 shows the names of module components.
In the figures, the indicated switch settings represent factory
settings.
CPU-CA10(USB)GY
Figure 2.1. Nomenclature of Module Components
<CPU-CA10(USB)GY>
*1 When you use the module in a noisy environment or are nervous
about noise, ground the module (using a M3 screw).
*2 When you use the module in a noisy environment or are nervous
about noise, connect the FG pin in the +5 VDC input terminal to
the ground.
(To ground the FG pin, use the AC adapter (accessory).)
Table 2.1. List of Status LED Functions
<CPU-CA10(USB)GY>
Name Function Indicator color LED indicator
ON: Communication is established.
LINK status USB communication status GREEN
OFF: Communication is not
established.
LINK Status LED
+5VDC Input *1
Module ID
USB Port *2
2. Module Nomenclature
14 CPU-CA10(USB)GY
3. Setup
CPU-CA10(USB)GY
15
3.
Setup
Connection-Overall Diagram
This is connection-overall diagram. Please reference to this page for
actual connection.
Figure 3.1. Connection-Overall Diagram
Setting a Module ID
The host computer distinguishes and keeps track of the products of
same model by assigning Module IDs to them. Use the factory
default setting if only a single CPU-CA10(USB)GY is connected to
the computer. (When the module is connected along with the
PTI-4(USB), assign different module IDs to them.)
If more than one CPU-CA10(USB)GY is connected, different
module IDs must be set (in the range 00 - 7FH) for each module.
There are two rotary switches, moreover, “x16” and “x1” represent
high bits and low bits of Module ID respectively.
Module
ID(x16)
Module
ID (x1)
[0]
[0]
Module
ID(x16)
Module
ID (x1)
[1]
[2]
0
1
2
3
4
5
6
7
9
A
C
E
F
8
0
1
2
3
4
5
6
7
9
A
C
E
F
8
0
1
2
3
4
5
6
7
9
A
C
E
F
8
0
1
2
3
4
5
6
7
9
A
C
E
F
8
Figure 3.2. Setting a Module ID
Module ID 00h
[Factory Setting]
Module ID 12h
Software Installation
(Page 21)
Connecting to a PC
(Page 23)
Connecting with
Device Modules
(Page 16)
Mounting on a
DIN Rail
(Page 33)
  • 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

Contec CPU-CA10(USB)GY Owner's manual

Type
Owner's manual

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

Finding information in a document is now easier with AI