CAMERA LINK vieworks VC Series User Manual Download Page 60

 

VC Camera Link series 

   

Page 60 of 86 

RA14-11A-010 

9  Camera Configuration 

9.1 

Setup Command 

All the settings for the camera are carried out through RS-644 serial interface of camera link. With the following 

communication setting, it can be controlled using terminal or direct control at user application. 

 

 

Baud Rate: 

19200 bps 

 

Data Bit: 

8 bit 

 

Parity Bit: 

No Parity 

 

Stop bit: 

1 stop bit 

 

Flow control: 

None 

 

All types of camera setting commands except Firmware Download, requiring massive data transmission are 

delivered in ASCII command type. All camera setup commands start from user application and the camera 

returns the response (

“OK”, “Error” or information) for the command. The camera informs the completion of 

command execution through response with write command, while the camera returns the error response or 

information with read command. 

 

Command format: 

<command> <parameter1> <parameter2> <cr> 

0~2 parameters follow the command. 

Response: 

- If execution of write command is successfully completed 

 OK <cr> <lf> 

 

ex) Write command 

 

In response to a “set 100” command the camera will return (in hex value) 

Command  

: 73 65 74 20 31 30 30 0D 

 

set 100<cr> 

Response   : 

73 65 74 20 31 30 30 0D 0A

 

4F 4B 0D 0A

 

3E

 

 

 

Set 100<cr><lf>

 

OK<cr><lf>

 

>

 

 

 

Echo

 

result

 

prompt

 

 

 

Summary of Contents for vieworks VC Series

Page 1: ......

Page 2: ...e User Manual file name Deleted VC 4MC 40 model Added VC 3MC 280 model Added VC 25MC 30 model 2 0 2013 06 14 Added description of M5 set screws for tilt adjustment Added Actual Time Applied for Comman...

Page 3: ...sion Date Description 3 0 2017 03 24 Added the VC 25MC2 30 PYTHON 25K 3 1 2018 01 19 Added the Flat Field Selector feature to VC 12MC 65 3 2 2018 07 20 Added a note indicating the Strobe Offset Strobe...

Page 4: ...Precaution to center the image sensor 24 6 3 Precaution about blurring compared to the center 24 6 4 Controlling the Camera 24 7 Camera Interface 25 7 1 General Description 25 7 2 Camera Link Connecto...

Page 5: ...M340 VC 4MC 180 Only 52 8 11 Auto White Balance VC 12MC VC 25MC VC 25MC2 Only 53 8 12 Temperature Monitor 53 8 13 Status LED 53 8 14 Data Format 54 8 15 Test Image 55 8 16 Strobe 56 8 16 1 Strobe Off...

Page 6: ...of 86 RA14 11A 010 10 3 Tab 73 10 3 1 VIEW tab 73 10 3 2 MODE EXP Tap 75 10 3 3 ANALOG Tab 76 10 3 4 FFC Tab 77 11 Troubleshooting 78 Appendix A Defective Pixel Map Download 79 Appendix B Field Upgra...

Page 7: ...and operating in an extreme environment where vibration heat humidity dust strong magnetic fields explosive corrosive mists or gases are present Do not apply excessive vibration and shock to the devi...

Page 8: ...uipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation o...

Page 9: ...Optional M5 Set Screws for Tilt Adjustment Provided only with F mount camera You can adjust the tilt using the M5 set screws however it is not recommended since it is adjusted as factory default setti...

Page 10: ...mage sensor Electronic exposure time control global shutter Output Pixel Format VC 2MC 4MC 12MC 25MC 25MC2 8 10 bit VC 3MC 8 bit Strobe Output Defective Pixel Correction Camera Link Output Mode VC 2MC...

Page 11: ...2 Tap N A 4 Tap 6 73 4 Tap N A 8 Tap N A 8 Tap 3 38 8 Tap 4 41 10 Tap N A 10 Tap 2 96 10 Tap 3 51 Pixel Data Format 8 bit 2 4 Tap 10 bit 2 4 Tap 8 bit 2 4 8 10Tap 10 bit 2 4 8 Tap 8 bit 8 10Tap Camer...

Page 12: ...A 10 Tap 5 58 10 Tap 15 6 Pixel Data Format 8 bit 2 4 Tap 10 bit 2 4 Tap 8 bit 2 4 8 10Tap 10 bit 2 4 8 Tap 8 bit 2 4 8 10 Tap 10 bit 2 4 8 Tap Camera Link Pixel Clock 85 Exposure Time 1 100000 7 sec...

Page 13: ...0 8 Tap 39 52 10 Tap 32 36 10 Tap 33 22 Pixel Data Format 8 bit 8 10 Tap 10 bit 8 Tap Camera Link Pixel Clock 85 Exposure Time 1 100000 7 sec 10 step Cable Length 5 m Camera Link Cable at 85 Black Off...

Page 14: ...nsists of a 32 bit RISC Micro Controller and Processing Control Logic The Micro Controller receives commands from the user through the Camera Link interface and then processes them The Processing Cont...

Page 15: ...e 15 of 86 RA14 11A 010 5 4 Sensor Information The following graphs show the spectral response for VC 2MC monochrome and color camera Figure 5 2 Mono Spectral Response for VC 2MC Figure 5 3 Color Spec...

Page 16: ...VC Camera Link series Page 16 of 86 RA14 11A 010 The following graph shows the spectral response for VC 3MC monochrome and color camera Figure 5 4 Mono and Color Spectral Response for VC 3MC...

Page 17: ...k series Page 17 of 86 RA14 11A 010 The following graphs show the spectral response for VC 4MC monochrome and color camera Figure 5 5 Mono Spectral Response for VC 4MC Figure 5 6 Color Spectral Respon...

Page 18: ...VC Camera Link series Page 18 of 86 RA14 11A 010 The following graph shows the spectral response for VC 12MC monochrome and color camera Figure 5 7 Mono and Color Spectral Response for VC 12MC...

Page 19: ...shows the spectral response for VC 25MC monochrome and color camera Figure 5 8 Mono and Color Spectral Response for VC 25MC The following graph shows the spectral response for VC 25MC2 monochrome and...

Page 20: ...Link series Page 20 of 86 RA14 11A 010 5 5 Mechanical Specification The camera dimensions in millimeters are as shown in the following figures Figure 5 10 VC 2MC 3MC 4MC Camera Link C mount Mechanical...

Page 21: ...VC Camera Link series Page 21 of 86 RA14 11A 010 Figure 5 11 VC 2MC 3MC 4MC Camera Link F mount Mechanical Dimension...

Page 22: ...VC Camera Link series Page 22 of 86 RA14 11A 010 Figure 5 12 VC 12MC 25MC 25MC2 Camera Link F mount Mechanical Dimension...

Page 23: ...supply is not connected to the camera and your PC is turned off 2 Plug one end of a Camera Link cable into the Camera Link connector on the camera and the other end of the Camera Link cable into the c...

Page 24: ...assistance 6 3 Precaution about blurring compared to the center User does not need to adjust the tilt as it is adjusted as factory default settings If the tilt settings need to be adjusted inevitably...

Page 25: ...6 pin Camera Link Connector 1 Base controls video data transmission and the camera 26 pin Camera Link Connector 2 Medium Full transmits video data Status LED displays power status and operation mode 6...

Page 26: ...Out Camera Link Transmitter PAIR 4 5 XCLK LVDS Out Camera Link Transmitter 18 XCLK LVDS Out Camera Link Transmitter PAIR 5 6 X3 LVDS Out Camera Link Transmitter 19 X3 LVDS Out Camera Link Transmitter...

Page 27: ...ock Tx PAIR 5 6 Y3 LVDS Out Camera Link Channel Tx 19 Y3 LVDS Out Camera Link Channel Tx PAIR 6 7 Not Used Connected with 100 ohm 20 Not Used PAIR 7 8 Z0 LVDS Out Camera Link Transmitter 21 Z0 LVDS Ou...

Page 28: ...LL O O VC 3MC 280 VC 25MC 30 VC 25MC2 30 8 Tap FULL O O 10 Tap FULL O O Table 7 3 Connector Arrangement for Camera Link Output Modes When you connect a Frame Grabber to Camera Link Connectors using Ca...

Page 29: ...ound Table 7 4 Pin Configuration of Power Input Connector Connecting the power cable to the camera can be made by using the Hirose 6 pin plug part HR10A 7P 6S or the equivalent The power adaptor is re...

Page 30: ...port Pin arrangement and configuration are as follows 1 2 4 3 Figure 7 4 Pin Arrangement of Control Connector Pin Number Signal Type Description 1 Trigger Input Input 2 Trigger Input Input 3 DC Ground...

Page 31: ...itted trigger signal is less than 1 the camera will ignore the trigger signal External trigger circuit example is shown below Figure 7 5 Trigger Input Schematic Figure 7 6 Recommended Pulse Trigger Dr...

Page 32: ...e output signal is 3 3 V output level of a TTL Driver IC The pulse width of signal is synchronized with the exposure signal shutter of the camera Figure 7 8 Strobe Output Schematic 3 3 V STROBE_SIGNAL...

Page 33: ...However the horizontal ROI does not affect the frame rate In the VC 3MC VC 25MC and VC 25MC2 models the frame rate will increase as both the vertical and horizontal ROI are made smaller Figure 8 1 RO...

Page 34: ...6979 1 fps 7960 3 fps 2048 64 1123 3 fps 2250 8 fps 4139 6 fps 4725 4 fps 2048 128 582 8 fps 1194 1 fps 2282 4 fps 2606 7 fps 2048 256 297 0 fps 615 9 fps 1203 0 fps 1374 3 fps 2048 512 149 9 fps 312...

Page 35: ...4 fps 48 7 fps 57 9 fps 4000 4000 36 7 fps 45 4 fps 36 6 fps 43 5 fps 5120 5120 25 0 fps 30 9 fps 25 3 fps 30 1 fps Table 8 5 VC 25MC and VC 25MC2 Maximum Frame Rate depending on ROI Size The ROI val...

Page 36: ...Width parameters since all of the regions must be the same width and all of the regions must be vertically aligned The next step in the setup process is to define each individual region in order Up t...

Page 37: ...You need to set the regions in order When you set a preceding region to OFF all the succeeding regions will be set to OFF automatically For example you have set four regions from 0 through 4 If you se...

Page 38: ...ging from 0 through 31 Set the each region to ON OFF and then set the Offset X Offset Y and Height the height of the region values to define each region In figure 8 3 for example three regions have be...

Page 39: ...e Offset X value must be a multiple of 64 The Width value must be a multiple of 64 ranging from 256 to 5120 You can save Configurator File Save Setting User 1 or User 2 the setting values for Multi RO...

Page 40: ...vides two binning factor 1 and 2 that the user can apply both horizontally and vertically The below figure shows application of 2 2 binning four pixels are summed and reported out of the camera as a s...

Page 41: ...of exposure and readout of CMOS sensor Readout is performed consecutively from first to last line where readout defines the process of reading the accumulated charges on pixels Readout Time also call...

Page 42: ...the offset value shown in the Figure 8 5 This offset value varies depending on the camera s Camera Link Output Mode settings The setting value on the exposure time is equal to actual exposure time bec...

Page 43: ...ith this periodic signal Frame Rate the period of internal signal is determined with the following two conditions Case 1 Exposure Time Frame Transfer Time Frame Rate FPS 1 Frame Transfer Time sec has...

Page 44: ...r signal as well as Polarity and Exposure source of the signal entered External Trigger CC1 or External EXPOSURE Data Transfer Exposure Time Transfer Time Trigger Pulse Width Figure 8 9 External Sync...

Page 45: ...xposure N 1 Exposure N 2 Strobe Out FVAL Figure 8 10 Camera Operation when Overlap Trigger is entered Following list shows the operation of camera on exceptional trigger input When the trigger signal...

Page 46: ...the figure below This tap setting can be set using the scl command 2 Tap Output BASE 1 A B A B A B C D A B 4 Tap Output MEDIUM 1 1 Pixel Clock Cycle 1 Pixel Clock Cycle E F C D A B G H A B 8 Tap Outp...

Page 47: ...adjustment can be set among 0 12 and setting value can be set as a value from 0 to 64 step Relation between setting value and actual Gain is shown below Gain setting value 0 19 Figure 8 12 Register S...

Page 48: ...ommand is used to set whether to use Defective Pixel Correction feature 8 8 1 Correction Method Correction value for Defect Pixel is calculated based on valid pixel value adjacent in the same line L3...

Page 49: ...image to 1 16 pixel generate the curtailed Flat Field data and store it in the internal frame buffer of the FPGA When curtailed images are used for corrections it is expanded and applied with a Biline...

Page 50: ...VC Camera Link series Page 50 of 86 RA14 11A 010 Figure 8 14 Generation and Application of Flat Field Data Figure 8 15 Bilinear Interpolated Magnification...

Page 51: ...ctor Saving a Flat Field data To save the current active Flat Field data into a reserved area in the camera s flash memory 1 Use the sfs 0 1 2 3 command to specify a reserved area where the current ac...

Page 52: ...MC M340 and VC 4MC M180 cameras to acquire high dynamic range HDR images which have higher variations between the brightest and darkest portions of the images As shown in the figure below when the bri...

Page 53: ...to 1 Then the Digital Red and Digital Blue will be adjusted to control the white balance The arg command is used to set whether to use the Auto White Balance feature 8 12 Temperature Monitor The camer...

Page 54: ...put in the unit of 8 or 10 bit at output When it is output in 8 bit unit the 2 least significant bits will be dropped from overall 10 bits MSB LSB 10Bit Output 8Bit Output D9 D8 D7 D6 D5 D4 D3 D2 D1 D...

Page 55: ...re are 3 types of test image image with different value in horizontal direction Test Image 1 image with different value in diagonal direction Test Image 2 and moving image with different value in diag...

Page 56: ...exposure is taking place and thus know when to avoid moving the camera Figure 8 22 Strobe Output 8 16 1 Strobe Offset VC 25MC VC 25MC2 Only The Strobe Offset value specifies a delay that will be appl...

Page 57: ...86 RA14 11A 010 8 17 Field Upgrade The camera has the function to upgrade firmware and FGPA logic through RS 644 interface of Camera Link rather than disassemble the camera in the field See Appendix...

Page 58: ...led and the temperature of the camera is stabilized VC 25MC 30 and VC 25MC2 30 do not support dark image correction 8 18 1 Sequence of Dark Image Correction How to Correct Dark Image using Configurato...

Page 59: ...ge storage region inside the imaging sensor s active pixel If temperature is increased by seven degrees it is getting worse with double white pixels To effectively reduce white pixels maintain the ope...

Page 60: ...red in ASCII command type All camera setup commands start from user application and the camera returns the response OK Error or information for the command The camera informs the completion of command...

Page 61: ...65 74 0D get cr Response 67 65 74 0D 0A 31 30 30 0D 0A 3E get cr lf 100 cr lf Echo response prompt If execution of command is not completed Error Error Code cr lf Prompt After sending response Camera...

Page 62: ...setting will be changed at the starting of the exposure In the Trigger mode you must execute commands before applying trigger signals in order to synchronize image outputs with the commands In the Fr...

Page 63: ...n save parameter value temporarily set by the user User space can be read and written but Factory space can be read only At camera booting setting value in one of 3 storage spaces is copied to work sp...

Page 64: ...t Set Trigger Polarity Get Trigger Polarity stp 0 1 gtp OK 0 1 0 Active low 1 Active high Set Exposure Source Get Exposure Source ses 0 1 ges OK 0 1 0 Program Exposure by camera 1 Pulse Width by exter...

Page 65: ...output Set Binning Factor Get Binning Factor sbf 1 2 gbf OK 1 2 1 binning off 2 2 by 2 binning Table 9 2 Command List 2 Command Syntax Value Returned Description Save Config To sct 1 2 OK 1 Save to Us...

Page 66: ...OK Update multi ROI settings Set RGB Gain Get RGB Gain Auto generation RGB Gain srg r g b f grg r g b arg OK f OK f Gain parameter Table 9 4 Command List 4 VC 12MC VC 25MC VC 25MC2 Only Command Syntax...

Page 67: ...010 Command Syntax Value Returned Description Set HDR Mode Get HDR Mode shm 0 1 ghm OK 0 1 0 Normal mode 1 High Dynamic Range mode Set High Dynamic range shd n OK n Dynamic range in Setting range 0 40...

Page 68: ...can window appears as shown in the figure below At this time the program checks serial port of computer and DLL provided by Camera Link to scan whether the camera is connected If there is a camera con...

Page 69: ...r1 User2 or user computer From File Save Setting Saves the camera setting values to the camera memory User1 or User2 or user computer To File Defect Pixel Downloads defect information to the camera Do...

Page 70: ...he camera setting values to load when the camera is turned on Figure 10 3 Start Up Menu Factory Setting Loads the camera setting values from Factory Space User1 Setting Loads the camera setting values...

Page 71: ...hide Terminal window uncheck Terminal by clicking again Color Calibration Displays the Color Calibration window for Bayer sensor color temperature Calibration VC 12MC VC 25MC VC 25MC2 Only When you c...

Page 72: ...VC Camera Link series Page 72 of 86 RA14 11A 010 10 2 4 About Figure 10 6 About Menu Camera Info Displays camera information product name serial number version etc...

Page 73: ...activated and ROI can be set by entering desired values If Binning is selected 2 option button is activated Supported only on VC 25MC VC 25MC2 Test Image Selects whether to apply test image and the ty...

Page 74: ...s follows Figure 10 8 VIEW tab for VC 12MC Full Disables the Multi ROI feature and set to its full resolution ROI Displays the Setting Multi ROI window for setting Multi ROI Multi ROI on VC 12MC Multi...

Page 75: ...trigger mode Once a mode has been selected related selections will be activated Exposure Selects exposure source Source Selects trigger source Polarity Selects polarity of trigger input Exposure Time...

Page 76: ...a Link series Page 76 of 86 RA14 11A 010 10 3 3 ANALOG Tab ANALOG tab allows you to set gain and offset settings of the image Figure 10 11 ANALOG Tab Video Gain Sets gain value Video Offset Sets offse...

Page 77: ...a to be used for correction You can set only one frame for correction Flash Memory Saves Save to Flash the generated FFC data to Flash in order to reuse in the future or loads Load From Flash the save...

Page 78: ...overheating sign Ensure that the power supply is properly connected Stop using the camera when you notice smoke or abnormal overheating If the trigger mode is not working correctly Ensure that CC1 se...

Page 79: ...csv The picture in the right shows the created Excel file opened in Notepad The following rules need to be applied when creating the file Lines beginning with or are treated as notes You must enter th...

Page 80: ...es Page 80 of 86 RA14 11A 010 3 Search and select the created file and click Open 4 Configurator starts downloading defective pixel map data to the camera and downloading status is displayed at the bo...

Page 81: ...5 Once the download has been completed the saving process will begin During the saving process make sure not to disconnect the power cord 6 Once all the processes have been completed Download complete...

Page 82: ...mera Link series Page 82 of 86 RA14 11A 010 Appendix B Field Upgrade B 1 MCU 1 Select File System Upgrade MCU Upgrade on Configurator 2 Search and select the provided MCU upgrade file srec then click...

Page 83: ...displayed at the bottom of the window If you want to cancel the upgrade process click Cancel This process requires several minutes to complete 4 Once the download has been completed the saving process...

Page 84: ...86 RA14 11A 010 5 Once all the processes have been completed turn the power off and turn it back on again Select Tool Terminal and enter the gmv command to confirm the version Or select About Camera...

Page 85: ...e 85 of 86 RA14 11A 010 B 2 FPGA 1 Select File System Upgrade FPGA Upgrade on Configurator 2 Search and select the provided FPGA upgrade file bin and click Open 3 The subsequent processes are identica...

Page 86: ...http www vieworks com vieworks vieworks com...

Reviews: