IEI Technology HSC-13Mx User manual

HSC-13Mx Industrial Camera
Page i
User Manual
MODEL:
HSC-13Mx
USB 3.0 Monochrome Camera
with Opto-isolated I/O, Global Shutter,
1280x1024 pixel, RoHS
Rev. 1.00 – January 31, 2018

Page ii
HSC-13Mx Industrial Camera
Revision
Date Version Changes
January 31, 2018 1.00 Initial release

HSC-13Mx Industrial Camera
Page iii
Copyright
COPYRIGHT NOTICE
The information in this document is subject to change without prior notice in order to
improve reliability, design and function and does not represent a commitment on the part
of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special, incidental, or
consequential damages arising out of the use or inability to use the product or
documentation, even if advised of the possibility of such damages.
This document contains proprietary information protected by copyright. All rights are
reserved. No part of this manual may be reproduced by any mechanical, electronic, or
other means in any form without prior written permission of the manufacturer.
TRADEMARKS
All registered trademarks and product names mentioned herein are used for identification
purposes only and may be trademarks and/or registered trademarks of their respective
owners.

Page iv
HSC-13Mx Industrial Camera
Manual Conventions
WARNING
Warnings appear where overlooked details may cause damage to the
equipment or result in personal injury. Warnings should be taken
seriously.
CAUTION
Cautionary messages should be heeded to help reduce the chance of
losing data or damaging the product.
NOTE
These messages inform the reader of essential but non-critical
information. These messages should be read carefully as any directions
or instructions contained therein can help avoid making mistakes.

HSC-13Mx Industrial Camera
Page v
Table of Contents
1 INTRODUCTION.......................................................................................................... 1
1.1 OVERVIEW.................................................................................................................. 2
1.2 FEATURES................................................................................................................... 2
1.3 EXTERNAL OVERVIEW................................................................................................ 3
1.3.1 Front Panel ........................................................................................................ 3
1.3.1 Rear Panel ......................................................................................................... 3
1.3.2 Top and Bottom Surfaces ................................................................................... 4
1.4 SPECIFICATIONS ......................................................................................................... 5
1.5 DIMENSIONS............................................................................................................... 7
2 UNPACKING................................................................................................................. 8
2.1ANTI-STATIC PRECAUTIONS........................................................................................ 9
2.2 UNPACKING PRECAUTIONS......................................................................................... 9
2.3 PACKING LIST........................................................................................................... 10
2.4 OPTIONAL ITEMS.......................................................................................................11
3 HARDWARE INSTALLATION................................................................................. 13
3.1 INSTALLATION PRECAUTIONS................................................................................... 14
3.2 INSTALLING A C-MOUNT CAMERA LENS .................................................................. 14
3.3 MOUNTING THE HSC-13MX.................................................................................... 15
3.4 EXTERNAL PERIPHERAL INTERFACE CONNECTORS................................................... 16
3.4.1 Opto-isolated GPIO Connector....................................................................... 16
3.4.2 USB 3.0 (Micro B) Connector.......................................................................... 16
4 IEI HSC APPLICATION............................................................................................ 17
4.1 OVERVIEW................................................................................................................ 18
4.2APPLICATION INSTALLATION .................................................................................... 18
4.2.1 Uninstall IEI HSC AP ...................................................................................... 22
4.3 LAUNCHING AND CONNECTING ................................................................................ 23
4.4 CONFIGURING DEVICE SETTINGS ............................................................................. 25
4.4.1 Camera Configuration..................................................................................... 25

Page vi
HSC-13Mx Industrial Camera
4.4.2 Trigger Control ................................................................................................ 26
4.4.3 Device Control................................................................................................. 28
4.4.4 Save Options (HSC Single Only) ..................................................................... 30
4.5 CAPTURING IMAGES MANUALLY.............................................................................. 31
4.6 SAVING AND LOADING DEVICE SETTINGS ................................................................ 32
4.6.1 HSC Single....................................................................................................... 32
4.6.2 HSC Multi ........................................................................................................ 34
5 HSC-13MX SDK (WINDOWS).................................................................................. 35
5.1 BUILD ENVIRONMENT.............................................................................................. 36
5.2 SDK INTRODUCTION................................................................................................ 36
5.2.1 Structure Definition.......................................................................................... 37
5.2.2 Error Code Definition...................................................................................... 39
5.2.3 API Introduction............................................................................................... 40
5.2.4 Trigger Input.................................................................................................... 47
5.2.5 Output Control................................................................................................. 50
A REGULATORY COMPLIANCE.............................................................................. 60
B HAZARDOUS MATERIALS DISCLOSURE ......................................................... 62

HSC-13Mx Industrial Camera
Page vii
List of Figures
Figure 1-1: HSC-13Mx Industrial Camera.....................................................................................2
Figure 1-2: HSC-13Mx Front Panel................................................................................................3
Figure 1-3: HSC-13Mx Rear Panel.................................................................................................3
Figure 1-4: HSC-13Mx Top and Bottom Surfaces .......................................................................4
Figure 1-5: HSC-13Mx with Mounting Bracket Dimensions (mm) .............................................7
Figure 3-1: Installing a C-mount Camera Lens..........................................................................14
Figure 3-2: Securing the Mounting Bracket to the HSC-13Mx.................................................15

Page viii
HSC-13Mx Industrial Camera
List of Tables
Table 1-1: Specifications ...............................................................................................................6
Table 2-1: Package List Contents...............................................................................................10
Table 3-1: Connector Pinouts......................................................................................................16

HSC-13Mx Industrial Camera
Page 1
Chapter
1
1 Introduction

Page 2
HSC-13Mx Industrial Camera
1.1 Overview
Figure 1-1: HSC-13Mx Industrial Camera
The HSC-13Mx CMOS camera is equipped with USB 3.0 SuperSpeed interface, which is
suitable for industrial purpose such as the machine vision application. In addition, through
the IEI HSC SDK, downloaded from the IEI website, the user can easily set up the camera
for precise inspection.
1.2 Features
Some of the HSC-13Mx industrial camera features are listed below.
IEI HSC SDK available
Compact and lightweight industrial camera with global shutter
Compliant with USB 3.0 SuperSpeed specification
Opto-isolated external I/O interface
Supports resolution up to 1280x1024 (1.3 megapixel)
Supports frame rate up to 140 fps / 60 fps
Supports global shutter

HSC-13Mx Industrial Camera
Page 3
1.3 External Overview
1.3.1 Front Panel
The front side of the HSC-13Mx has a lens mount for attaching a CS-mount lens. Besides,
the HSC-13Mx provides a CS to C mount adapter that allows a C-mount lens to be
installed to the HSC-13Mx. Refer to Section 3.2 for detailed information.
Figure 1-2: HSC-13Mx Front Panel
1.3.1 Rear Panel
An overview of the rear panel is shown in Figure 1-3 below.
Figure 1-3: HSC-13Mx Rear Panel

HSC-13Mx Industrial Camera
Page 5
1.4 Specifications
The HSC-13Mx specifications are listed in the table below:
HSC-13M3-O HSC-13M4-E
Resolution (Max.) 1280x1024
Frame Rate (Max.) 140 fps 60 fps
Megapixels 1.3 megapixel
Chroma Mono
Sensor Name On-Semi PYTHON 1300 E2V EV76C560
Sensor Type CMOS
Shutter Global shutter
Sensor Size 1/2” 1/1.8”
Pixel Size 4.8 µm 5.3 µm
Lens Mount CS-mount
A/D Bits (ADC) 8-bit/10-bit
Acquisition Modes Continuous, single frame, multi frame
Partial Image Modes Pixel binning, decimation, ROI
Opto-isolated I/O Ports One input, one output
Serial Port One (RS-232)
Auxiliary Output 5 V, 100 mA max.
Interface USB 3.0 (Micro B)
Machine HSC Standard USB3 HSC v1.0
SOFTWARE SUPPORT
OS Environment
Microsoft® Windows® 7 (32-bit & 64-bit)
Microsoft® Windows® 8.1 (32-bit & 64-bit)
Microsoft® Windows® 10 (32-bit & 64-bit)
SDK Windows: provides SDK and demo program with
sample source code
OTHERS

Page 6
HSC-13Mx Industrial Camera
Dimensions (WxHxD) 29 mm x 29 mm x 57 mm
Weight 85 g
Operating Temperature 0ºC ~ 50ºC
Storage Temperature -30ºC ~ 60ºC
Operating Humidity 20% ~ 80%
Storage Humidity 30% ~ 95%
Power Requirements 5 V via USB 3.0
6 V ~ 18 V via opto-isolated input
Compliance CE, FCC
Table 1-1: Specifications

HSC-13Mx Industrial Camera
Page 7
1.5 Dimensions
The dimensions for the HSC-13Mx with mounting bracket are listed below.
Figure 1-5: HSC-13Mx with Mounting Bracket Dimensions (mm)

Page 8
HSC-13Mx Industrial Camera
Chapter
2
2 Unpacking

HSC-13Mx Industrial Camera
Page 9
2.1 Anti-static Precautions
WARNING:
Failure to take ESD precautions during the installation of the
HSC-13Mx may result in permanent damage to the camera and severe
injury to the user.
Electrostatic discharge (ESD) can cause serious damage to electronic components,
including the industrial camera. Dry climates are especially susceptible to ESD. It is
therefore critical that whenever the industrial camera, or any other electrical component is
handled, the following anti-static precautions are strictly adhered to.
Wear an anti-static wristband: Wearing a simple anti-static wristband can
help to prevent ESD from damaging the board.
Self-grounding: Before handling the board, touch any grounded conducting
material. During the time the board is handled, frequently touch any
conducting materials that are connected to the ground.
Use an anti-static pad: When configuring the industrial camera, place it on
an anti-static pad. This reduces the possibility of ESD damaging the industrial
camera.
2.2 Unpacking Precautions
When the industrial camera is unpacked, please do the following:
Follow the anti-static precautions outlined in Section 2.1.
Make sure the packing box is facing upwards so the industrial camera does
not fall out of the box.
Make sure all the components listed in Section 2.3 are present.

Page 10
HSC-13Mx Industrial Camera
2.3 Packing List
NOTE:
If some of the components listed in the checklist below are missing,
please do not proceed with the installation. Contact the IEI reseller or
vendor you purchased the HSC-13Mx
from or contact an IEI sales
representative directly. To contact an IEI sales representative, please
send an email to sales@ieiworld.com.
The industrial camera is shipped with the following components:
Quantity Item Image
1 HSC-13Mx industrial camera
1 Mounting bracket
1 CS to C mount adapter
Table 2-1: Package List Contents

HSC-13Mx Industrial Camera
Page 11
2.4 Optional Items
The following are optional components which may be separately purchased:
Item and Part Number Image
USB 3.0 cable, 1800mm, USB 3.0 A type male and micro
USB 3.0 B type male+screw
(P/N: 32001-019800-100-RS)
IO connecting cable with an 8-pin male connector
(P/N: 32033-001000-100-RS)
Camera lens, 2/3", 16mm focal length, F2.0, C-Mount
(P/N: 7I003-M1620MPW2-RS)
Camera lens, 2/3", 35mm focal length, F1.4, C-Mount
(P/N: 7I003-M3514MP-RS)
Camera lens, 1/2", 12mm focal length, F1.4, C-Mount
(P/N: 7I003-SV1214V-RS)

Page 12
HSC-13Mx Industrial Camera
Item and Part Number Image
Camera lens, 2/3", 16mm focal length, F1.4, C-Mount
(P/N: 7I003-SV1614V-RS)
Camera lens, 1", 25mm focal length, F1.4, C-Mount
(P/N: 7I003-SV2514V-RS)
If any of these items are missing or damaged, contact the distributor or sales
representative immediately.
Table of contents