Deditec USB-OPTOIN-8-RELAIS-8, USB-OPTOIN-16-RELAIS-16, USB-OPTOIN-32-RELAIS-32, USB-OPTOIN-32, USB-RELAIS-32 Hardware-Description

...
USB-OPTOIN-X-RELAIS-X
Hardware-Description
2011
November
INDEX
1. Introduction 6
1.1. General remarks 6
1.2. Customer satisfaction 6
1.3. Customer response 6
2. Hardware description 8
2.1. Introduction 8
2.2. Quick installation 9
2.2.1. Step 1 - Installation of the software and driver
2.2.2. Step 2 - Connecting of the module
2.2.3. Step 3 - Testing the connection and the module
2.3. Technical data 10
2.4. Overview screen 11
2.4.1. Overview screen USB-OPTOIN-8-RELAIS-8
2.4.2. Overview screen USB-OPTOIN-16-RELAIS-16
2.4.3. Overview screen USB-OPTOIN-32-RELAIS-32
2.4.4. Overview screen USB-OPTOIN-32
2.4.5. Overview screen USB-RELAIS-32
2.4.6. Overview screen USB-OPTOIN-64
2.4.7. Overview screen USB-RELAIS-64
11 12 13 14 15 16 17
2.5. Pin assignment 18
2.5.1. Pin assignment output channels
2.5.2. Pin assignment input channels
18 19
2.6. J2 - Configuration of the power supply 20
2.7. Outputs 21
2.7.1. Relais outputs
2.7.2. Timeout-protection
2.7.3. Visual control of the outputs
21 21 21
2.8. Inputs 22
Index | 2Seite
INDEX
2.8.1. Registering short input pulses
2.8.2. Galvanically decouppled through optocouplers
2.8.3. Visual control of the inputs
22 22 22
3. Software 24
3.1. Using our products 24
3.1.1. Access via graphical applications
3.1.2. Access via the DELIB driver library
3.1.3. Access via protocol
3.1.4. Access via provided test programs
3.2. DELIB driver library 26
3.2.1. Overview
3.2.1.1. Program under diverse operating systems
3.2.1.2. Program with diverse programming languages
3.2.1.3. Program independent of the interface
3.2.1.4. SDK-Kit for Programmer
3.2.2. Supported operating systems
3.2.3. Supported programming languages
3.2.4. Installation DELIB driver library
3.2.5. DELIB Configuration Utility
3.3. Test programs 34
24 24 24 25
26
26 27 27 27
28 28 29 33
3.3.1. Digital Input-Output Demo
34
4. DELIB API reference 36
4.1. Management functions 36
4.1.1. DapiOpenModule
4.1.2. DapiCloseModule
4.1.3. DapiGetDELIBVersion
4.1.4. DapiSpecialCMDGetModuleConfig
36 37 38 39
4.2. Error handling 41
4.2.1. DapiGetLastError
4.2.2. DapiGetLastErrorText
41 42
4.3. Reading Digital inputs 43
4.3.1. DapiDIGet1
4.3.2. DapiDIGet8
43 44
Index | 3Seite
INDEX
4.3.3. DapiDIGet16
4.3.4. DapiDIGet32
4.3.5. DapiDIGet64
4.3.6. DapiDIGetFF32
4.3.7. DapiDIGetCounter
45 46 47 48 49
4.4. Setting Digital outputs 50
4.4.1. DapiDOSet1
4.4.2. DapiDOSet8
4.4.3. DapiDOSet16
4.4.4. DapiDOSet32
4.4.5. DapiDOSet64
4.4.6. DapiDOReadback32
4.4.7. DapiDOReadback64
50 51 52 53 54 55 56
4.5. Setting Output-timeouts 57
4.5.1. DapiSpecialCMDTimeout
4.5.2. DapiSpecialCMDTimeoutGetStatus
57 58
4.6. Example program 59
5. Appendix 64
5.1. Revisions 64
5.2. Copyrights and trademarks 65
Index | 4Seite
Introduction
I
Introduction |Seite 5
1. Introduction
1.1. General remarks
First of all, we would like to congratulate you to the purchase of a high quality DEDITEC product.
Our products are being developed by our engineers according to quality requirements of high standard. Already during design and development we take care that our products have -besides quality- a long availability and an optimal flexibility.
Modular design
The modular design of our products reduces the time and the cost of development. Therefor we can offer you high quality products at a competitive price.
Availability
Because of the modular design of our products, we have to redesign only a module instead of the whole product, in case a specific component is no longer available.
1.2. Customer satisfaction
Our philosophy: a content customer will come again. Therefor customer satisfaction is in first place for us.
If by any chance, you are not content with the performance of our product, please contact us by phone or mail immediately.
We take care of the problem.
1.3. Customer response
Our best products are co-developments together with our customers. Therefor we are thankful for comments and suggestions.
Introduction |Seite 6
Hardware description
II
Hardware description |Seite 7
2. Hardware description
2.1. Introduction
The USB-OPTOIN-X-RELAIS-X modules provide relays with a maximum switching voltage of 36V DC (max. 1A, 15 watts) and Opto-in inputs, which
are suitable for industrial applications for registration of status or even to count the changes of state of the inputs.
Our USB modules have been developed for industrial applications for measurement, control and regulation. The modules all feature a USB interface and can therefore be connected to PC systems with USB bus. The USB bus has been used successfully for many years in use and is characterized by its high flexibility.
As terminal block, user-friendly terminal strips with locking protection and ejection mechanism are used. They allow quick replugging . The wire connection itself is realised with a screwless connector system. A tool is included with each module.
Hardware description |Seite 8
2.2. Quick installation
2.2.1. Step 1 - Installation of the software and driver
Now install the driver DELIB library with the file "delib_install.exe" from the supplied DEDITEC-Driver CD.
These can be found in the "\zip\DELIB\delib_install.exe" on the DEDITEC-Driver CD.
Note: On our website www.deditec.de you can always find the latest DELIB driver version.
2.2.2. Step 2 - Connecting of the module
Connect your PC via USB cable to the USB connector of the module.
After about 20 seconds, the module is detected by the driver and can now be tested and operated.
2.2.3. Step 3 - Testing the connection and the module
In the Start menu, see "Start -> All Programs -> DEDITEC -> DELIB -> Sample Programs" you will find some example programs to test your module.
Hardware description |Seite 9
2.3. Technical data
Product
Inputs
Outputs
Length x width x height in mm
USB-OPTOIN-8-RELAIS-8
88102,5 x 105 x 74,5
USB-OPTOIN-16-RELAIS-16
16
16
125 x 105 x 74,5
USB-OPTOIN-32
32
-
USB-RELAIS-32
-
32
USB-OPTOIN-32-RELAIS-32
32
32
230 x 105 x 74,5
USB-OPTOIN-64
64
-
USB-RELAIS-64
-
64
USB-Interface (USB 1.1 / USB 2.0) Power supply: +5V (supply occurs over USB bus)
8/16/32/64 opto-coupler inputs (depending on module) Variable input voltage range min 5V, max 30V AC (standard: 15-30V)
Galvanically isolated using opto-couplers Logging of impulses between 2 read out cycles
8/16/32/64 Relay outputs (depending on module)(36V, 1A, 15W, Closer-relay) Timeout protection Galvanically isolated using relays
Operating temperature: 10°C .. 50°C
Product specific data:
Hardware description |Seite 10
2.4. Overview screen
2.4.1. Overview screen USB-OPTOIN-8-RELAIS-8
Hardware description |Seite 11
2.4.2. Overview screen USB-OPTOIN-16-RELAIS-16
Hardware description |Seite 12
2.4.3. Overview screen USB-OPTOIN-32-RELAIS-32
Hardware description |Seite 13
2.4.4. Overview screen USB-OPTOIN-32
Hardware description |Seite 14
2.4.5. Overview screen USB-RELAIS-32
Hardware description |Seite 15
2.4.6. Overview screen USB-OPTOIN-64
Hardware description |Seite 16
2.4.7. Overview screen USB-RELAIS-64
Hardware description |Seite 17
2.5. Pin assignment
Pin
Description
1a
Output Channel 1
1b
Output Channel 1
2a
Output Channel 2
2b
Output Channel 2
3a
Output Channel 3
3b
Output Channel 3
4a
Output Channel 4
4b
Output Channel 4
5a
Output Channel 5
5b
Output Channel 5
6a
Output Channel 6
6b
Output Channel 6
7a
Output Channel 7
7b
Output Channel 7
8a
Output Channel 8
8b
Output Channel 8
2.5.1. Pin assignment output channels
Hardware description |Seite 18
2.5.2. Pin assignment input channels
Pin
Description
1a
Input Channel 1
1b
Input Channel 1
2a
Input Channel 2
2b
Input Channel 2
3a
Input Channel 3
3b
Input Channel 3
4a
Input Channel 4
4b
Input Channel 4
5a
Input Channel 5
5b
Input Channel 5
6a
Input Channel 6
6b
Input Channel 6
7a
Input Channel 7
7b
Input Channel 7
8a
Input Channel 8
8b
Input Channel 8
Hardware description |Seite 19
2.6. J2 - Configuration of the power supply
The configuration of the power supply via a jumper. (J2)
Supply via the USB bus (J3) of the module Jumper pin 1 & 2 (+5V DC)
Supply from an external power supply (J1) Jumper pin 2 & 3 (+7-24V DC)
Hardware description |Seite 20
Loading...
+ 45 hidden pages