Page 1
HSC-13Mx Industrial Camera MODEL: HSC-13Mx USB 3.0 Monochrome Camera with Opto-isolated I/O, Global Shutter, 1280x1024 pixel, RoHS User Manual Page i Rev. 1.00 – January 31, 2018...
Page 2
HSC-13Mx Industrial Camera Revision Date Version Changes January 31, 2018 1.00 Initial release Page ii...
Page 3
HSC-13Mx Industrial Camera 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.
Page 4
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.
HSC-13Mx Industrial Camera Table of Contents 1 INTRODUCTION ......................1 1.1 O ........................2 VERVIEW 1.2 F ........................2 EATURES 1.3 E ....................3 XTERNAL VERVIEW 1.3.1 Front Panel ......................3 1.3.1 Rear Panel ......................3 1.3.2 Top and Bottom Surfaces ................... 4 1.4 S...
Page 6
4.6 S ..............32 AVING AND OADING EVICE ETTINGS 4.6.1 HSC Single ....................... 32 4.6.2 HSC Multi ......................34 5 HSC-13MX SDK (WINDOWS) .................. 35 5.1 B ....................36 UILD NVIRONMENT 5.2 SDK I ....................36 NTRODUCTION 5.2.1 Structure Definition ..................37 5.2.2 Error Code Definition ..................
Page 7
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 vii...
Page 8
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 Page viii...
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.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.
HSC-13Mx Industrial Camera 1.3.2 Top and Bottom Surfaces Both the top and bottom surfaces of the HSC-13Mx contain four retention screw holes (Figure 1-4) for installing the supplied mounting bracket. Figure 1-4: HSC-13Mx Top and Bottom Surfaces Page 4...
HSC-13Mx Industrial Camera 29 mm x 29 mm x 57 mm Dimensions (WxHxD) 85 g Weight Operating Temperature 0ºC ~ 50ºC Storage Temperature -30ºC ~ 60ºC 20% ~ 80% Operating Humidity 30% ~ 95% Storage Humidity 5 V via USB 3.0...
HSC-13Mx Industrial Camera 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 7...
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.
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.
HSC-13Mx Industrial Camera 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...
Page 20
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.
To install a C-mount camera lens to the HSC-13Mx, please follow the steps below: Step 1: Attach the supplied CS to C mount adapter to the lens mount of the HSC-13Mx. Then, spin the adapter clockwise until it is secure to the HSC-13Mx.
HSC-13Mx Industrial Camera 3.3 Mounting the HSC-13Mx The HSC-13Mx is shipped with a mounting bracket that allows the HSC-13Mx to be mounted onto an object with corresponding mounting screw, such as a tripod. To mount the HSC-13Mx onto an object using the mounting bracket, please follow the steps below.
HSC-13Mx Industrial Camera 3.4 External Peripheral Interface Connectors The HSC-13Mx has the connectors listed below. Detailed descriptions of the connectors can be found in the following subsections. Opto-isolated GPIO USB 3.0 (Micro B) 3.4.1 Opto-isolated GPIO Connector The pinouts of the opto-isolated GPIO connector are shown below:...
HSC-13Mx Industrial Camera 4.1 Overview The IEI HSC allows configuration of the HSC-13Mx via a computer. Refer to the following sections for detailed information. NOTE: The IEI HSC supports the OS versions listed below: Microsoft® Windows® 7 (32-bit & 64-bit) ...
Page 27
HSC-13Mx Industrial Camera Step 3: The Setup Wizard welcome window appears. Click Next to start. Step 4: The license agreement appears. Read the license agreement, and then click I Agree to continue. Page 19...
Page 28
HSC-13Mx Industrial Camera Step 5: The system starts installing the application. Step 6: The Device Driver Installation Wizard window appears. Click Next button to continue the device driver installation. Page 20...
Page 29
HSC-13Mx Industrial Camera Step 7: When the device driver installation is completed, the following window appears. Click Finish to exit. Step 8: When the IEI HSC and related drivers are successfully installed, the following window appears. Click Finish to exit.
HSC-13Mx Industrial Camera Step 9: Check the Device Manager in the Windows control panel to ensure the “IEI High Speed Camera” device driver has been properly installed. Step 0: 4.2.1 Uninstall IEI HSC AP To uninstall the IEI HSC and related drivers, follow the steps below.
Step 2: If the application is installed to the connected computer, two icons should appear on the Windows desktop. HSC Single: allows users to preview single HSC-13Mx device. HSC Multi: allows users to preview multiple HSC-13Mx devices. Step 3: Double click the icon to launch the application.
Page 32
HSC-13Mx Industrial Camera HSC Multi Step 4: HSC Single only - All cameras will be listed in “Device Index“. Select an index number and the device information of the selected camera will be shown below. Step 5: Click the Connect button to connect and configure the camera.
HSC-13Mx Industrial Camera 4.4 Configuring Device Settings The users can configure device settings before using the HSC-13Mx to capture images. The following sections describe the configuration settings in detail. 4.4.1 Camera Configuration Click the button on the IEI HSC user interface to bring up the following setup window.
4.4.2 Trigger Control IEI HSC AP allows external hardware triggering by using the device connected to the GPIO connector of the HSC-13Mx to capture images. To enable or configure the hardware triggering function, click the button on the IEI HSC user interface to bring up the following setup window.
Page 35
HSC-13Mx Industrial Camera Options Description Trigger Input Falling Edge: the image will be captured when hardware input signal goes from high to low. Specify an amount of time to delay the input task from Trigger In Delay (us) running after the task is triggered.
HSC-13Mx Industrial Camera 4.4.3 Device Control To change or view all of the device settings, click the button on the IEI HSC user interface to bring up the following window. The menu bar at the top of the window contains several buttons that allow users to adjust the view of the list.
Page 37
Specify whether the device features are refreshed automatically, based on polling time, or manually refreshed (using the Refresh button). Browser Options button Refreshes the features of a HSC-13Mx device that are Refresh button displayed in the Device Control dialog box. Page 29...
HSC-13Mx Industrial Camera 4.4.4 Save Options (HSC Single Only) Click the button on the IEI HSC user interface to bring up the following setup window. Options Description Check to enable image saving function and configuration Enable Image Saving options listed below.
HSC-13Mx Industrial Camera 4.5 Capturing Images Manually To capture images manually using HSC single/multi, follow the steps below. Step 1: Use the Acquisition Mode option on the IEI HSC user interface to set the acquisition mode – continuous or single.
HSC-13Mx Industrial Camera 4.6 Saving and Loading Device Settings IEI HSC AP allows users to save the device settings to a configuration file which can be loaded during future sessions. 4.6.1 HSC Single To or from a configuration file Saving To save the changed device settings to a configuration file using IEI HSC Single, select Save Configuration to File from the File menu.
Page 41
HSC-13Mx Industrial Camera To or from Camera UserSet1 Saving The user can save the device settings to the device. After you have changed settings, select Save Config to Camera UserSet1 from the File menu. Loading To load the device settings from UserSet1, select Load Config UserSet1 from the File menu.
HSC-13Mx Industrial Camera 4.6.2 HSC Multi Saving To save the changed device settings to a configuration file using IEI HSC Multi, click Save Config on the user interface. Choose a file name and location on your computer to save the .pvcfg file. Click Save.
5.2 SDK Introduction NOTE: To obtain the HSC-13Mx SDK file, please visit the IEI website. The following sections are the brief introduction of the SDK. Applications using API are required to include the following files which are located in the IEI HSC installation folder.
HSC-13Mx Industrial Camera 5.2.1 Structure Definition #define MAX_STRING_SIZE typedef struct _IEI_HSC_SDK_CameraInfo WCHAR chrVendorName[MAX_STRING_SIZE]; WCHAR chrModelName[MAX_STRING_SIZE]; WCHAR chrVersion_AutoGen[MAX_STRING_SIZE]; WCHAR chrVersion_FPGA[MAX_STRING_SIZE]; WCHAR chrVersion_Firmware[MAX_STRING_SIZE]; WCHAR chrManufactureInfo[MAX_STRING_SIZE]; WCHAR chrSerialNumber[MAX_STRING_SIZE]; WCHAR chrDeviceGUID[MAX_STRING_SIZE]; WCHAR chrFamilyName[MAX_STRING_SIZE]; } IEI_HSC_SDK_CameraInfo; Structure Member Data Type Description Vendor name chrVendorName[MAX_STRING_SIZE] WCHAR...
Page 46
HSC-13Mx Industrial Camera typedef struct structSavingImage bool mEnabled; unsigned int mThrottling; unsigned int mThrottlingNoneNumber; unsigned int mThrottlingNoneTime; unsigned int mImageWidth; unsigned int mImageHeight; unsigned int ImageFormat; WCHAR mPath[512]; WCHAR mPrefix[512]; } structSavingImage; Structure Member Data Type Description mEnabled bool enable image save feature...
HSC-13Mx Industrial Camera 5.2.3 API Introduction Prototype IEI_HSC_SDK_GetVersion() Description Get SDK version None Parameter Return Version in YYYYMMDD Prototype IEI_HSC_SDK_Initialize(int *ot_iDeviceNumber) Description Release IEI HSC library Parameter None No error occurs if return value=0; if return value does not equal 0,...
Page 49
HSC-13Mx Industrial Camera Prototype IEI_HSC_SDK_CloseDevice(int in_iCamera_ID) Description Close HSC device which will not to be used in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is Parameter value that derived by calling ot_iDeviceNumber IEI_HSC_SDK_Initialize previously No error occurs if return value=0; if return value does not equal 0,...
Page 50
HSC-13Mx Industrial Camera Prototype IEI_HSC_SDK_GetFrameRate(int in_iCamera_ID,double *dblFPS) Description Count image frames per second in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is value that derived by calling ot_iDeviceNumber Parameter IEI_HSC_SDK_Initialize previously dblFPS Frames per second No error occurs if return value=0; if return value does not equal 0,...
Page 51
HSC-13Mx Industrial Camera IEI_HSC_SDK_SetCallback(int in_iCamera_ID,FRAMECALLBACK Prototype func) Set user defined callback function which will be called by OS Description automatically for each image captured , image data will be transfer via callback function in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is...
Page 52
HSC-13Mx Industrial Camera IEI_HSC_SDK_GetDeviceInfo(int in_iCamera_ID, Prototype IEI_HSC_SDK_CameraInfo* pHSC_Camera_Info) Description Get device information in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is value that derived by calling ot_iDeviceNumber Parameter IEI_HSC_SDK_Initialize previously IEI_HSC_SDK_CameraInfo Camera information structure, refer to Structure Definition No error occurs if return value=0;...
Page 53
HSC-13Mx Industrial Camera IEI_HSC_SDK_ExposureGetRange (int in_iCamera_ID,double Prototype *dblExposureTime_Min,double *dblExposureTime_Max) Description Get acceptable exposure time setting range in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber value that derived by calling IEI_HSC_SDK_Initialize previously dblExposureTime_Min Parameter Minimum acceptable exposure value, unit: Microsecond(us), precision 0.1 us.
Page 54
HSC-13Mx Industrial Camera IEI_HSC_SDK_GainGetRange(int in_iCamera_ID,double Prototype *dblGain_Min,double *dblGain_Max) Description Get acceptable gain setting range in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber value that derived by calling IEI_HSC_SDK_Initialize previously dblGain_Min Parameter Minimum acceptable gain value, unit: Microsecond(us), precision 0.1 us.
HSC-13Mx Industrial Camera 5.2.4 Trigger Input IEI_HSC_SDK_TriggerInEnable(int in_iCamera_ID,int in_iCmdType, Prototype bool *Enabled) Description To enable or disable camera trigger in feature in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is value that derived by calling ot_iDeviceNumber...
Page 56
HSC-13Mx Industrial Camera IEI_HSC_SDK_TriggerInActivation(int in_iCamera_ID,int Prototype in_iCmdType, int *intTriggerActivation) Determine the trigger activated from voltage low to high level Description signal(rising edge) or high to low level signal(falling edge) in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is...
Page 57
HSC-13Mx Industrial Camera IEI_HSC_SDK_TriggerInDelay(int in_iCamera_ID,int in_iCmdType, Prototype long *lngTriggerDelay) Delay a period of time before capture image after trigger in Description signaled in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber value that derived by calling...
HSC-13Mx Industrial Camera IEI_HSC_SDK_TriggerInGetResponse(int in_iCamera_ID, long Prototype *lngTriggerResponseUs) To verify delay time after trigger in signaled , normally the lngTriggerResponseUs value should be the same as Description lngTriggerDelay value which set by IEI_HSC_SDK_TriggerInDelay function in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is...
Page 59
HSC-13Mx Industrial Camera IEI_HSC_SDK_GeneralOutputState(int in_iCamera_ID, int Prototype in_iCmdType, int *intState) Description To set output pin state in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber value that derived by calling IEI_HSC_SDK_Initialize previously in_iCmdTypeRW CMD_TYPE_READ Parameter...
Page 60
HSC-13Mx Industrial Camera IEI_HSC_SDK_TriggerOutPolarity(int in_iCamera_ID, int Prototype in_iCmdType,int *intPolarity) Description Set trigger output voltage level polarity in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber value that derived by calling IEI_HSC_SDK_Initialize previously in_iCmdTypeRW CMD_TYPE_READ to get current setting from device...
Page 61
HSC-13Mx Industrial Camera IEI_HSC_SDK_TriggerOutDelay(int in_iCamera_ID,int in_iCmdType, Prototype lngTriggerDelay long * After start grabbing image , to delay a period of time before signal Description trigger out in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber...
Page 62
HSC-13Mx Industrial Camera IEI_HSC_SDK_TriggerOutDuration(int in_iCamera_ID, int Prototype in_iCmdType, long *lngDuration) Set a period of time which trigger output signaled Description in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber value that derived by calling IEI_HSC_SDK_Initialize previously...
Page 63
HSC-13Mx Industrial Camera IEI_HSC_SDK_TriggerOutDurationGetRange(int in_iCamera_ID,long Prototype *lngDelay_Min,long *lngDelay_Max) To get the acceptable min and max of duration time Description in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber value that derived by calling IEI_HSC_SDK_Initialize previously...
Page 64
HSC-13Mx Industrial Camera IEI_HSC_SDK_OpenGenICam(int in_iCamera_ID) Prototype Open GenICam parameter setting dialog Description in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is Parameter value that derived by calling ot_iDeviceNumber IEI_HSC_SDK_Initialize previously No error occurs if return value=0; if return value does not equal 0,...
Page 65
HSC-13Mx Industrial Camera IEI_HSC_SDK_ImageSavingOption(int in_iCamera_ID, Prototype in_iCmdType,structSavingImage *SavingImageSetting) Settings for captured image to save Description in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber value that derived by calling IEI_HSC_SDK_Initialize previously in_iCmdTypeRW CMD_TYPE_READ Parameter to get current setting from device...
Page 66
HSC-13Mx Industrial Camera IEI_HSC_SDK_ImageReverseY(int in_iCamera_ID, in_iCmdType, Prototype bool *Enabled) Description Flip image vertically in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is ot_iDeviceNumber value that derived by calling IEI_HSC_SDK_Initialize previously in_iCmdTypeRW CMD_TYPE_READ Load parameter settings from configuration file to camera...
Page 67
HSC-13Mx Industrial Camera IEI_HSC_SDK_UserSetConfiguration_Load(int in_iCamera_ID,int Prototype intUserSelector) Loads the User Set configuration specified to the camera and makes it Description active. in_iCamera_ID In_iCamera_ID can be assigned from 0 to (N – 1), N is value that derived by calling ot_iDeviceNumber...
HSC-13Mx Industrial Camera Appendix Regulatory Compliance Page 60...
Page 69
HSC-13Mx Industrial Camera DECLARATION OF CONFORMITY This equipment has been tested and found to comply with specifications for CE marking. If the user modifies and/or installs other devices in the equipment, the CE conformity declaration may no longer apply. FCC WARNING This equipment complies with Part 15 of the FCC Rules.
HSC-13Mx Industrial Camera Appendix Hazardous Materials Disclosure Page 62...
Page 71
HSC-13Mx Industrial Camera The details provided in this appendix are to ensure that the product is compliant with the Peoples Republic of China (China) RoHS standards. The table below acknowledges the presences of small quantities of certain materials in the product, and is applicable to China RoHS only.