Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 3 of 6

USB-4761 8-channel Relay, 8-channel IDI USB Module User Manual: Chapter 1 Introduction

Pages 8 to 15 of 38, from USB-4761 8-channel Relay, 8-channel IDI USB Module User Manual

The original document is the PDF (768 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Advantech USB-4761

Page 8

Chapter 1 Introduction Thank you for buying the Advantech’s USB-4761 data acquisition module. The Advantech USB-4761 is a powerful data acquisition (DAS) module for the USB port. It features a unique circuit design and complete functions for data acquisition and control.

1.1 Features USB-4761 has the most requested measurement & control functions: • 8 relay output (Form C) and 8 isolated digital input channels • LED indicators to show activated relays • High-voltage isolation on input channels (2,500 VDC) • High ESD protection (2,000 VDC) • Wide input range (5 ~ 30 VDC) • Interrupt handling capability • Supports USB 2.0 • Bus-powered • Wiring terminal on Modules Note:

You can install up to sixteen USB-4761’s to a system because of the restriction of device BoardID

Note:

The power output of an USB port is 500 mA, while the USB-4761 requires 400mA (Max.). This means that if an USB hub is used, it will need an external power supply to support more than one USB-4761 device.

USB-4761 User Manual

2

Page 9

1.1.1 Robust Protection The USB-4761 digital input channels feature a robust isolation protection for industrial, lab and machinery automation applications. It durably withstands voltage up to 2,500 VDC, preventing your host system from any incidental harms. If connected to an external input source with surge protection, the USB-4761 can offer up to a maximum of 2,000 VDC ESD (Electrostatic Discharge) protection.

1.1.2 Wide Input Range The USB-4761 has a wide range of input voltage from 5 to 30 VDC, and it is suitable for most industrial applications with 12 and 24 VDC input voltage.

1.1.3 Reset Protection for Industrial Applications When the system has undergone a hot reset (i.e. without turning off the system power), USB-4761 can either retain outputs values of each channel, or return to its default configuration as open status, depending on its onboard jumper setting. This function protects the system from wrong operations during unexpected system resets.

1.1.4 Plug & Play Function USB-4761 is a portable Plug-&-Play device that fully complies with the USB 2.0 specification. During module installation, all bus-related configurations such as base I/O address and interrupts are conveniently taken care of by the Plug-&-Play function. You have virtually no need to set any jumpers or DIP switches. Note:

For detailed specifications of USB-4761, please refer to Appendix A, Specifications.

3

Chapter 1

Page 10

1.2 Applications • Industrial On/Off control • Switch status sensing • Digital I/O control • Industrial and lab automation • SMT/PCB machinery • Semi-conductor machinery • PC-based Industrial Machinery • Testing & Measurement • Laboratory & Education • External relay driving

1.3 Installation Guide Before you install your USB-4761 module, please make sure you have the following necessary components: • USB-4761 DAS Module • USB-4761 User Manual • Shielded USB 2.0 cable (1.8 m) • Driver software Advantech DLL drivers (included in the companion CD-ROM) • Personal computer or workstation with a USB port (running Windows 2000, or XP) Some application software is also available for enhanced operation. USB4761 works with ActiveDAQ, ActiveDAQ Pro, and other third-party software packages. After you have the necessary components and maybe some accessories for enhanced operation of your USB DAS module, you can then begin the installation procedure. Figure 1.1 on the next page provides a concise flow chart to give a broad picture of the software and hardware installation procedures.

USB-4761 User Manual

4

Page 11 read from a scan by OCR; it may hold reading errors

Install Driver from CD-ROM a

Install hardware a

Use driver utility to configure hardware a

Use test utility to test hardware a

Read examples & driver manual am

Start to write your own application

Figure 1.1: Installation Flow Chart

Jj

Chapter 1

Page 12

1.4 Software Overview Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully exploit the functions of your USB-4761 module: • Device Drivers (on the companion CD-ROM) • LabVIEW driver • Advantech ActiveDAQ • Advantech ActiveDAQ Pro

1.4.1 Programming Choices for DA&C Module: You may use Advantech application software like Advantech Device Drivers. On the other hand, advanced users are allowed to use registerlevel programming as another option, although this is not recommended due to its laborious and time-consuming nature.

1.4.2 Device Drivers The Advantech Device Drivers software is included on the companion CD-ROM. Advantech’s Device Drivers features a complete I/O function library to help boost your application performance. The Advantech Device Drivers for Windows 2000/XP works seamlessly with development tools such as Visual C++, Visual Basic, Inprise C++ Builder, and Inprise Delphi.

USB-4761 User Manual

6

Page 13

1.5 Device Driver Programming This section will provide a roadmap to demonstrate how to build an application from scratch using Advantech Device Drivers with your favorite development tools such as Visual C++, Visual Basic, Delphi, or C++ Builder. The step-by-step instructions on how to build your own applications using each development tool will be given in the Device Drivers Manual. Moreover, a rich set of example source code is also given for your reference.

1.5.1 Programming Tools Programmers can develop application programs with the following development tools: • Visual C++ • Visual Basic • Delphi • C++ Builder For instructions on how to begin programming in each development tool, Advantech offers a Tutorial Chapter in the Device Drivers Manual for your reference. Please refer to the corresponding sections in this chapter on the Device Drivers Manual to begin your programming efforts. You can also look at the example source code provided for each programming tool, since they can get you very well oriented. The Device Drivers Manual can be found on the companion CD-ROM. Alternatively, if you have already installed the Device Drivers on your system, The Device Drivers Manual can be readily accessed through the Start button: Start/Programs/Advantech Automation/Advantech Device Manager /Device Driver’s Manual The example source code can be found under the corresponding installation folder such as the default installation path: \Program Files\Advantech\ADSAPI\Examples For information about using other function groups or other development tools, please refer to Creating Windows 2000/XP Applications with Device Drivers chapter and the Function Overview chapter in the Device Drivers Manual.

7

Chapter 1

Page 14

1.5.2 Programming with Device Drivers Function Library Advantech Device Drivers offer a rich function library that can be utilized in various application programs. This function library consists of numerous APIs that support many development tools, such as Visual C++, Visual Basic, Delphi and C++ Builder.

1.5.3 Troubleshooting Device Drivers Error Driver functions will return a status code when they are called to perform a certain task for the application. When a function returns a code that is not zero, it means the function has failed to perform its designated function. To troubleshoot the Device Drivers error, you can pass the error code to DRV_GetErrorMessage function to return the error message. Alternatively, you can refer to the Device Drivers Error Codes Appendix in the Device Drivers Manual for a detailed listing of Error Codes, Error IDs and the Error Messages.

USB-4761 User Manual

8

Page 15

CHAPTER

2

2

Installation This chapter has a package item checklist, proper instructions about unpacking and step-by-step procedures for both driver and USB installation.. Sections include: • Unpacking • Driver Installation • Hardware Installation • Device Setup & Configuration • Device Testing • Hardware Uninstallation