Merz UHOO-16 User manual

USB-I/O Manual
16 PHOTO COUPLE INPUT /
16 PHOTO COUPLE OUTPUT CHANNELS
UHOO-16 - DIN-Rail-Version
UPOO-16 - Board-Version
DECISION-COMPUTER Jürgen Merz e.K.
Lengericher Str. 21
49536 Lienen
Telefon +49 (0)5483-77002
Telefax +49 (0)5483-77003
http://www.decision-computer.de

Product Code: AUSB16P/R USB 16 PHOTO ISO./ RELAY BOARD
Item-No.: UHRO-16 - DIN-Rail-version
Item-No.: UPRO-16 - Board-version
Bus: USB 2.0
Description:
16 photo couple input / 16 photo couple output channels
Input:
Input maximum load voltage is 30V
By jumper, you can select two range of voltage
0 - 4.5V o and 6V - 20V on. (0 - 20V)
0 - 16.5V o and 18 - 30V on (0 - 30V)
PC817 photo couple chips.
5000V isolation voltage.
Output:
Switching current: 10mA
Max switching current: 50mA
32 LED correspond to I/O ports activation status
Connections via Pluggable Screw Terminals
Features:
For direct DIN-Rail mounting
Also as board without DIN Rail adapter available
High Speed 8051 μC Core
USB 2.0 Function Controller
Support USB ID 0~14 SET
POWER External DC+5V 0,5A
Software/Driver:
Windows-7/8/10 will use HID-interface and sample for pro-
gramming, Linux driver and sample for programming.
Package includes the following items:
USB Board
USB cable
Software and Manual CD
The DIN-Rail-version comes with a EMI-Protection-kit
This kit is optional in the board-version!
Operating temperature range: 0 ~ 55C.
Relative humidity rage: 0 ~ 90%.
Size: 250 mm x 120 mm x 55 mm
Security Note
This device should not be used in applications where failure may result in death or injury without
proper consideration and design of associated system architecture and redundant safety features.
Connection and repairs are allowed only by a specialist.
When used in a machine or plant, is to ensure that after installation continues to the relevant
provisions, rules and guidelines are complied with!
These products come into contact voltage, therefore to consider the applicable VDE regulations
VDE 0550 / 0551, VDE 0700, VDE 0711, especially VDE 0100 and VDE 0860.

J1 USB Connection USB-B
A suitable cable is included
Power Supply - TB1
USB wiring is very sensitive against EMI errors (mainly sparking when opening contacts). The U-EMI-1 Kit is included with the DIN
rail version and includes two Würth folded cores for the USB data cable and a Ferrite sleeve for the power cable. If you are using
a HUB, it should be protected the connection HUB/computer (U-EMI-2)! The kit includes two Würth folded cores for the USB data
cable.
The cores must be mounted as shown in the illustrations, as close as possible on the connectors.
But also the avoidance of errors is very important. Therefore, the careful layout and installation of the wiring is very important!
Folding core on the USB cable to the computer Folding core on the USB cable to the USB IO
1 or 2 x through the core
Internal power by USB
Do not connect external 5V!
For USB-boards with relays only:
For earlier versions of the Decision-USB IO was also the possibility of the power supply via the USB bus. To get greater stability,
this connection was removed. The USB bus power is not always able to provide enough power for the Relais switched on! The
result is a loss of connection or "hanging" USB module. An external power supply provides a secure power supply!
USB Power Management in Windows - In Window System, USB communication might disconnect under Power Saving Mode or
Sleep Mode. When connecting USB boards on PC, please make sure windows power management set in case interference with
USB communication.
VCC +5 VDC (USB VBUS POWER)
D- Data -
D+ Data +
SGND Signal Ground

Multiple Boards Connect
When you need to connect more than 3 boards on one PC, please make sure the following below
1. Set dierent ID for each board.
2. Supply external 5V to each USB board.
3. Supply external 5V to USB hub.
Please make sure your external 5V power supply enough for the USB I/O boards. If input voltage is below 4.8V for USB I/O board,
it can’t work normally and sometimes it will cause device manager keeping refreshing itself or can’t recognize the device.
S1 Reset Button
S2 USB ID
To reset the "hanging" USB-Module
Set dierent ID for each board
1 2 3 4 Card ID
ON ON ON ON --
OFF ON ON ON 14
ON OFF ON ON 13
OFF OFF ON ON 12
ON ON OFF ON 11
OFF ON OFF ON 10
ON OFF OFF ON 9
OFF OFF OFF ON 8
ON ON ON OFF 7
OFF ON ON OFF 6
ON OFF ON OFF 5
OFF OFF ON OFF 4
ON ON OFF OFF 3
OFF ON OFF OFF 2
ON OFF OFF OFF 1
OFF OFF OFF OFF 0

TB2/3 ISOLATOR Input Ports
Schematic Input Ports
ISOLATOR Input SET JP3 to JP18
The JP3 is used to select voltage signal opto+ and opto- range of photo couple input channel 1, and the JP4 is used to select
voltage signal range of photo input channel 2, …etc. When we short the jumper, the input voltage range is 0 to 20V, and open the
jumper means input voltage range is 0 to 30V
Jumper Input Range Inactive Voltage Active Voltage
short 0 to 30V 0 to 1.5V 3 to 20V
open 0 to 20V 0 to 16.5V 18 to 30V
Pin Signal Description
1 IN0+ Opto-isolator Ch. 00 + Input
2 IN0- Opto-isolator Ch. 00 - Input
3 IN1+ Opto-isolator Ch. 01 + Input
4 IN1- Opto-isolator Ch. 01 - Input
5 IN2+ Opto-isolator Ch. 02 + Input
6 IN2- Opto-isolator Ch. 02 - Input
7 IN3+ Opto-isolator Ch. 03 + Input
8 IN3- Opto-isolator Ch. 03 - Input
9 IN4+ Opto-isolator Ch. 04 + Input
10 IN4- Opto-isolator Ch. 04 - Input
11 IN5+ Opto-isolator Ch. 05 + Input
12 IN5- Opto-isolator Ch. 05 - Input
13 IN6+ Opto-isolator Ch. 06 + Input
14 IN6- Opto-isolator Ch. 06 - Input
15 IN7+ Opto-isolator Ch. 07 + Input
16 IN7- Opto-isolator Ch. 07 - Input
Pin Signal Description
1 IN8+ Opto-isolator Ch. 08 + Input
2 IN8- Opto-isolator Ch. 08 - Input
3 IN9+ Opto-isolator Ch. 09 + Input
4 IN9- Opto-isolator Ch. 09 - Input
5 IN10+ Opto-isolator Ch. 10 + Input
6 IN10- Opto-isolator Ch. 10 - Input
7 IN11+ Opto-isolator Ch. 11 + Input
8 IN11- Opto-isolator Ch. 11 - Input
9 IN12+ Opto-isolator Ch. 12 + Input
10 IN12- Opto-isolator Ch. 12 - Input
11 IN13+ Opto-isolator Ch. 13 + Input
12 IN13- Opto-isolator Ch. 13 - Input
13 IN14+ Opto-isolator Ch. 14 + Input
14 IN14- Opto-isolator Ch. 14 - Input
15 IN15+ Opto-isolator Ch. 15 + Input
16 IN15- Opto-isolator Ch. 15 - Input

TB4/5 Relay-Output
Schematic Outputs
Loopback Diagnostic
Pin Signal Description
1 OUT0+ Opto-isolator Ch. 00 + Output
2 OUT0- Opto-isolator Ch. 00 - Output
3 OUT1+ Opto-isolator Ch. 01 + Output
4 OUT1- Opto-isolator Ch. 01 - Output
5 OUT2+ Opto-isolator Ch. 02 +Output
6 OUT2- Opto-isolator Ch. 02 - Output
7 OUT3+ Opto-isolator Ch. 03 + Output
8 OUT3- Opto-isolator Ch. 03 - Output
9 OUT4+ Opto-isolator Ch. 04 + Output
10 OUT4- Opto-isolator Ch. 04 - Output
11 OUT5+ Opto-isolator Ch. 05 + Output
12 OUT5- Opto-isolator Ch. 05 - Output
13 OUT6+ Opto-isolator Ch. 06 + Output
14 OUT6- Opto-isolator Ch. 06 - Output
15 OUT7+ Opto-isolator Ch. 07 + Output
16 OUT7- Opto-isolator Ch. 07 - Output
Pin Signal Description
1 OUT8+ Opto-isolator Ch. 08 + Output
2 OUT8- Opto-isolator Ch. 08 - Output
3 OUT9+ Opto-isolator Ch. 09 + Output
4 OUT9- Opto-isolator Ch. 09 - Output
5 OUT10+ Opto-isolator Ch. 10 + Output
6 OUT10- Opto-isolator Ch. 10 - Output
7 OUT11+ Opto-isolator Ch. 11 + Output
8 OUT11+ Opto-isolator Ch. 11 - Output
9 OUT12+ Opto-isolator Ch. 12 + Output
10 OUT12- Opto-isolator Ch. 12 - Output
11 OUT13+ Opto-isolator Ch. 13 + Output
12 OUT13- Opto-isolator Ch. 13 - Output
13 OUT14+ Opto-isolator Ch. 14 + Output
14 OUT14- Opto-isolator Ch. 14 - Output
15 OUT15+ Opto-isolator Ch. 15 + Output
16 OUT15- Opto-isolator Ch. 15 - Output
To test your 16 channel photo isolator input/output card, we
recommend you use loopback circuit shown in below. Where
IA*+ means input channel+ and IA*- means input channel-,
OA*+ means output channel+ and OA*- means output channel-.
* means channel number. Please note that, if you use IA2+, you
must connect its pair IA2- …,otherwise if may short the circuit.
In this experiment, if VCC larger than 10V, then it input HIGH
to input channel, otherwise it input LOW; your program can
get this digital signal easily. If no VCC voltage input, the output
channel will be loopback to input channel, it means when output
HIGH then input channel get HIGH, when output LOW then input
channel get LOW.
1 2 3 4 5 6
A
B
C
D
6
54321
D
C
B
A
Title
Number RevisionSize
B
Date: 21-Dec-2002 Sheet of
File: \\192.168.2.2\ming\PCI16PHOTO\LAYOUT\0529\Pcipho16.ddbDrawn By:
1
2
4
3
U?
PC817
1
2
4
3
U?
PC817
OUT
IN
R?
1K/1W
R?
1K/1W
VCC
OB*+.*
OA*+.*
IB*+.*
IA*+.*
OB*-.*
OA*-.*
IB*-.*
IA*-.*

The LED1 is an indicator to show the power is supplied normally.
The LED2 is an indicator to warning the USB link status. When it lights, it me-
ans USB connection works normally, otherwise it is fail.
LED

The decision-computer USB devices use the HID (human interface device). The HID belongs to the generic device class is
integrated in the operating system. If a new HID device is connected, no driver installation is required. The functions for access and
control of HID hid.dll you can nd in the Windows System32 folder.
Installation
Windows 7 installation example
1. Power supply 5V connect
2. USB connect
3. USB input device - device driver
software is successfully installed
4. USB input device - use now
possible
5. In the Control Panel, you can nd
the Decision-USB module now
6. Ready to use

On Windows, we oer a function library and dll le as programming help. See the manual „USBDII_Manual.pdf“ and demo code in
VB/VC / Delphi on the decision-Studio CD.
We oer a C-source Linux users for direct access to the USB devices. See „Dcihid 0.5.1.tgz“ manual and example.
USB test Program.exe is a diagnostic tool to test USB devices on Windows/XP.
The USB test software can be found on the decision-Studio CD.
The examples and drivers be developed continuously. See the latest on the decision-computer-Merz „Service CD“.
An important way to get more informations you nd at http://www.usb-industrial.com
Software support on the short way: http://www.usb-industrial.com/support.html
USB Industrial.com Overview:
Windows Support 2010/04 USBDII.dll
2.0.0.4
This package includes Dynamic-link library which is developed by De-
cision Computer to communicate with the USB Series Device. It can be
included in multiple computer language (VB6, VC6, VB.NET, C# Delphi)
under Windows.
Watchdog Timer This watchdog timer is a kind of software timer that triggers a system
reset or other corrective action if the main program, due to some fault
condition. The intention is to bring the system back from the unresponsi-
ve state into normal operation. This function is new released and please
contact us to get further information.
VCP driver ( For LABKIT Only ) Virtual COM port (VCP) drivers cause the USB device to appear as
an additional COM port available to the PC. Application software can
access the USB device in the same way as it would access a standard
COM port. This function is only implemented in USBLABKIT
Linux Support dcihid - 0.5.1
Basic function library
and demo program
2009.05.01
This package includes a c library and a demo program which is develo-
ped by Decision Computer to communicate with the USB Series Device
under Linux. It also includes a ReadMe le to demonstrate how to use it
and package‘s format is .tgz.
Firmware Update Firmware Hex le
Download
This Package includes a driver and a software which is developed by
Decision Computer to update the newest rmware into the USB Series
Device. When new version of rmware is released, user can follow the
instructions to update the rmware.
LabVIEW Support LabVIEW 8
LabVIEW 2009
This package includes manual and examples which demonstrate how
to connect and develop USB Series Device under LabVIEW,which is a
well-known platform and development environment for a visual program-
ming language from NI.
ProLAB Support This package includes manual and examples which demonstrate how
to connect and develop USB Series Device under ProLAB, which is a
well-known platform and development environment for a visual program-
ming language from Abacom.
Init Value Setting Tool (For Output Channel) The Init Value Setting Tool is a software tool to set init value for output
channel. User can use this tool to plan output channel as default high or
default low when power on.
Data Acquisition and
Remote Monitoring Tool
The Data Acquisition and Remote Monitoring Tool (DARMT) is a soft-
ware tool to record high/low state reports at local computer, and transmit
them to FTP site to achieve data acquisition and remote monitoring
SOFTWARE PROGRAMMING UNDER WINDOWS AND LINUX
DIAGNOSTICS UNDER WINDOWS/XP

USBBootloader.exe is the tool software to update rmware into the USB SerialDevice Board developed by Decision Computer.
When you get a new version of rmware (.hex), you can follow the steps to update rmware to the board.
1. Remove the external input signal Voltage and only support device power.
2. Set Board Id 15 (All on) for Update Mode and press the Reset button.
3. Connect PC to the Board by USB
4. If this is the rst to use this function, please indicate the driver install path to the Driver Folder to install the driver.
5. Open the Software USBBootloader.exe and press the Open button and indicate the hex le and then press the Download button
to update rmware.
6. Set Board Id between 0 ~ 14 and press Reset button and connect PC again.
USB by LAN or Wireless
The remote control of Decision USB products by LAN
or wireless with a remote-PC is very simple with a multi
port USB Server
Because no driver should be installed to the installation
and programming is very easy.
Under Windows, are the external USB I/O directly in the
Device Manager and can be connect or control such as
in the original host PC.
Some unused holes (2 x 5) for JP1 are located on the board. Here a serial port can be added at a special version, with an optional
expansion board, RS-232 or RS-422/RS-485. The ports are controlled via the USB. Please contact us if necessary
Strong electromagnetic sources, such as power lines, large electric motors, switches, or welders can cause strong electromagnetic
interference. Video monitors and cables are strong sources of interference.
If the cable must be led by an area with signicant electromagnetic interference, shielded cables with grounding on the source
should be used.
Avoid placing your cable parallel to a high-voltage line! to minimize adverse eects, insert the cable at right angle to the power line.
Firmware Update Manual
Communication JP1 - only option!








A.1 Copyright
Copyright DECISION COMPUTER INTERNATIONAL CO., LTD. All rights reserved. No part of
SmartLab software and manual may be produced, transmitted, transcribed, or translated into any
language or computer language, in any form or by any means, electronic, mechanical, magnetic,
optical, chemical, manual, or otherwise, without the prior written permission of DECISION
COMPUTER INTERNATIONAL CO., LTD.
Each piece of SmartLab package permits user to use SmartLab only on a single computer, a
registered user may use the program on a dierent computer, but may not use the program on
more than one computer at the same time.
Corporate licensing agreements allow duplication and distribution of specic number of copies
within the licensed institution. Duplication of multiple copies is not allowed except through
execution of a licensing agreement. Welcome call for details.
A.2 Warranty Information
SmartLab warrants that for a period of one year from the date of purchase (unless otherwise
specied in the warranty card) that the goods supplied will perform according to the
specications dened in the user manual. Furthermore that the SmartLab product will be
supplied free from defects in materials and workmanship and be fully functional under normal
usage.
In the event of the failure of a SmartLab product within the specied warranty period,
SmartLab will, at its option, replace or repair the item at no additional charge. This limited
warranty does not cover damage resulting from incorrect use, electrical interference, accident, or
modication of the product.
All goods returned for warranty repair must have the serial number intact. Goods without serial
numbers attached will not be covered by the warranty.
The purchaser must pay transportation costs for goods returned. Repaired goods will be
dispatched at the expense of SmartLab.
To ensure that your SmartLab product is covered by the warranty provisions, it is necessary that
you return the Warranty card.
Under this Limited Warranty, SmartLab’s obligations will be limited to repair or replacement only,
of goods found to be defective a specied above during the warranty period. SmartLab is
not liable to the purchaser for any damages or losses of any kind, through the use of, or inability to
use, the SmartLab product.
SmartLab reserves the right to determine what constitutes warranty repair or replacement.
Return Authorization: It is necessary that any returned goods are clearly marked with an RA
number that has been issued by SmartLab. Goods returned without this authorization will not be
attended to.

USB
Dynamic Industrial Interface
V 2.0.1.9
A Universal
Application Programming Interface
To Data Acquisition Products
Users Manual
Design & Implementation by
Decision Computer International Company
No parts of this documentation may be reproduced or transmitted in any
form, by any means (electronic, photocopying, recording, or otherwise)
without the prior written permission of Decision Computer International
Company.
2010/04/20

Contents
1. Introduction 3
2. Features 4
3. Device Type denition 5
4. Data Types of Function calls 6
5. Functions to open and close Devices 7
6. Functions for digital input/output 10
7. Functions for reset hardware device 16
8. Functions for analog input/output 17
9. Functions for watch dog 18
10. Using USBDII with dierent programming language 20
10.1. C++. 20
10.2 Visual Basic 20
11. Technical support and Feedback 20
This manual suits for next models
1
Table of contents
Popular Relay manuals by other brands

Yamatake-Honeywell
Yamatake-Honeywell 7800 Series manual

Circutor
Circutor RAGK-0.3 quick start guide

ABB
ABB CM Series Operating and installation instructions

Kemo Electronic
Kemo Electronic B197 quick guide

Siemens
Siemens BD2-AK03X/FS Series installation instructions

Siemens
Siemens 7SR220 Argus Configuration guide