background image

 

No.11S031-03

 

 

 

22

STC-CL500E/CLC500E 
Users guide Rev. 1.3 
 

 

The communication protocol specifications 

 

This camera has the communication function that enables external devises like PC control the camera functions. 
Please use “CLCtrl” communication software or use following the communication protocol to communicate to the 

camera. 

 

Note. 1) The communication problem may occur under the following conditions: 

1. When the external sync frequency is illegal (more than 1% off from the specified frequency). 
2. When external sync is unstable (In another word the bad external sync signal). 
3. About for one second after switching from/to external sync mode to/from internal sync mode. 
4. About for one second after switching frame rate. 

 

4.1 

The communication method 

UART (RS232C), binary communication 

 

4.2 

The communication settings 

 
 
 
 
 

Settings

Baud rate

9,600bps / 38,400bps

Data bit

8bit

Parity

None

Stop bit

1bit

Flow control

None

Содержание STC-CL500E

Страница 1: ...No 11S031 03 1 STC CL500E CLC500E Users guide Rev 1 3 Small Cubic Type 5 0 Mega pixels CCD Color Monochrome Camera Link Camera STC CL500E STC CLC500E Users guide Sensor Technology Co Ltd ...

Страница 2: ...2011 03 28 Update 2 1 2 3 1 2 partial scanning Change the timing 2 2 2 3 Binning 1 2 partial scanning Change the timing 1 2 2011 05 10 Update 2 4 The 2 taps transferring image 1 3 2011 09 22 Update 2 1 2 3 1 2 partial scanning Revise clock and frame rate 2 2 2 3 Binning 1 2 partial scanning Revise clock and frame rate ...

Страница 3: ... 1 2 partial scanning 13 2 2 2 4 Binning 1 4 partial scanning 13 2 3 The data order of the CameraLink output 14 2 4 The 2 taps transferring image 15 3 Camera function modes 16 3 1 Normal mode 16 3 1 1 Normal mode Frame exposure 16 3 1 2 Normal mode Electronic shutter 16 3 2 Pulse width trigger mode 17 3 2 1 Pulse width trigger mode V Reset 17 3 2 2 Pulse width trigger mode Non Reset 18 3 2 3 Pulse...

Страница 4: ...No 11S031 03 4 STC CL500E CLC500E Users guide Rev 1 3 This document is the connectivity and operation users guide for STC CL500E CLC500E ...

Страница 5: ...ower IO Connector Notes Trigger input signal can be assigned either on Camera Link connector CC1 or on the No 2 pin of the power IO connector through the camera setting communication Pin No Signal name Pin No Signal name 1 GND 14 GND 2 X0 15 X0 3 X1 16 X1 4 X2 17 X2 5 Xclk 18 Xclk 6 X3 19 X3 7 SerTC 20 SerTC 8 SerTFG 21 SerTFG 9 CC1 TRG 22 CC1 TRG 10 CC2 23 CC2 11 CC3 24 CC3 12 CC4 25 CC4 13 GND 2...

Страница 6: ...241FK TOSHIBA TRIGGER IN 10kohm 100ohm On resister Max 30ohm F0H 3 0 setting Pin No 2 Pin No 3 Pin No 4 Pin No 5 SP4 SP3 SP2 SP1 0 Trigger signal No function No function Trigger signal This is for when the system requires input output trigger signal output 1 This is for the factory test DO NOT USE this 2 CC4 output CC3 output CC2 output CC1 output This is for checking the status of CC1 to 4 3 FVAL...

Страница 7: ...2 1 Normal mode Setting address 10H value 1XX0XXXX 2 1 1 The horizontal timing 1 CLK 23 4378 nseconds 42 666 MHz 72 CLK 1224 CLK Video out LVAL DVAL Horizontal blanking 1296 CLK One horizontal 1H 1224 CLK 72 CLK 72 CLK Video output active term Horizontal blanking 72 CLK 52 CLK FVAL 20 CLK ...

Страница 8: ... Partial full scanning Settings address 10H value 1XX01XXX address 11H value XXX0X000 1 H 30 375 µseconds 15 935 Hz Video out FVAL 2066H One vertical 1V 2058H 8H 2058H 8H Video output active term 1 2 2057 2058 8H Vertical blanking Vertical blanking 8H LVAL DVAL Video out FVAL 2079H One vertical 1V 2058H 21H 2058H 21H Video output active term 1 2 2057 2058 21H Vertical blanking Vertical blanking 21...

Страница 9: ...g Settings address 10H value 1XX01XXX address 11H value XXX0X010 1 H 30 375 µseconds 63 311 Hz 128H Video out Vertical blanking 520H One vertical 1V 128H 392H 392H Video output active term 1015 1016 889 890 FVAL 392H 392H Vertical blanking LVAL DVAL 768H Video out Vertical blanking 1039H One vertical 1V 271H 271H Video output active term 1359 1360 593 594 FVAL 768H 271H Vertical blanking 271H LVAL...

Страница 10: ...EXT_TRIG FIX_TRIG Common 10 20 30 40 50 Exposure time V1 V2 V3 SUB FVAL DVAL LVAL Number of the effective lines Y High speed transfer X a High speed transfer f g X Y Blanking Front BLK_F Number of the effective lines Y Total number of the line at 1 frame TOTAL_LINE Blanking Back BLK_B CCD effective lines Blanking Front Effective lines Optical black Dummy bit Blanking Back Optical black ...

Страница 11: ...Setting address 10H value 1XX1XXXX 2 2 1 The horizontal timing 1 CLK 23 4378 nseconds 42 666 MHz 72 CLK 1224 CLK Video out LVAL DVAL Horizontal blanking 1296 CLK One horizontal 1H 1224 CLK 72 CLK 72 CLK Video output active term Horizontal blanking 72 CLK 52 CLK FVAL 20 CLK ...

Страница 12: ... scanning Settings address 10H value 1XX11XXX address 11H value XXX0X000 1 H 30 375 µseconds 31 747 Hz Video out 1018H Vertical blanking 1039H One vertical 1V 1018H 21H Video output active term 2042 2043 2044 2045 10 11 12 13 21H FVAL 21H Vertical blanking 21H LVAL DVAL Video out 1029H Vertical blanking 1037H One vertical 1V 1029H 8H Video output active term 2055 2056 2057 2058 3 4 1 2 8H FVAL 8H ...

Страница 13: ...gs address 10H value 1XX11XXX address 11H value XX0X010 1 H 30 375 µseconds 63 311 Hz 64H Video out Vertical blanking 520H One vertical 1V 64H 456H 456H Video output active term 1013 1014 1015 1016 889 890 891 892 FVAL 456H 456H Vertical blanking LVAL DVAL 384H Video out Vertical blanking 650H One vertical 1V 266H 266H Video output active term 1357 1358 1359 1360 593 594 595 596 FVAL 384H 266H Ver...

Страница 14: ...tap DB0 to DB7 8bit data for one pixel from the second tap DA8 DA5 DA4 DA3 DA2 DA1 DA0 DA9 DA10 DA11 DB8 DB10 DB11 DB9 DB0 DB1 DB2 DB3 DB4 DB5 LVAL FVAL DVAL SP DA6 DA7 DB6 DB7 X0 X1 X2 X3 XCLK DA1 DA0 DA9 DA10 DB2 DB3 DA6 DA7 2TAP12bit DA8 DA5 DA4 DA3 DA2 DA1 DA0 DA9 DB8 DB9 DB0 DB1 DB8 DB9 DB2 DB3 DB4 DB5 LVAL FVAL DVAL SP DA6 DA7 DB6 DB7 X0 X1 X2 X3 XCLK DA1 DA0 DA9 DB2 DB3 DA6 DA7 2TAP10bit NC...

Страница 15: ...rom the second tap n The order number STC CLC500E Color type Pixelmn of DataA The transferring pixel from the first tap Pixelmn of DataB The transferring pixel from the second tap m The line number n The order number Pixel1 of DataA Pixel2 of DataB Pixel1 of DataB Pixel2 of DataA Pixel11 of DataA Pixel12 of DataB Pixe11 of DataB Pixel12 of DataA Pixel21 of DataA Pixel21 of DataB Pixel22 of DataB P...

Страница 16: ...rs guide Rev 1 3 3 Camera function modes 3 1 Normal mode 3 1 1 Normal mode Frame exposure 3 1 2 Normal mode Electronic shutter Exposure t i me I nt ernal VD CCD exposur e Vi deo out Ex posur e t i me I nt er nal VD CCD ex posur e Vi deo out ...

Страница 17: ...ulse width trigger mode V Reset Note 1 The camera does NOT switch to the normal mode when the long exposure mode is set Note 2 The video output is going to be V reset by the next internal HD signal immediate after the exposure is finished Note 3 The exposure time sets by the pulse width of the trigger signal Exposure time Max 1H Sweep charges Automatically switch to the normal mode if the pulse wi...

Страница 18: ...Exposure timing Note 1 The trigger signal is removed by the filtering if the pulse width of the input trigger signal is smaller than 30 CLK Please input the trigger signal has more then 31 CLK pulse width Note 2 The exposure is going to start 198 CLK after the rising edge of the trigger signal T1 SUB SG 741 CLK Trigger signal Exposure time Exposure time T1 T1 741 CLK T1 30 CLK Filtering Note 1 Exp...

Страница 19: ...to the normal mode when the long exposure mode is set Note 2 The video output is going to be V reset by the next internal HD signal immediate after the exposure is finished Note 3 The exposure time sets by the preset electronic shutter speed Exposure time Max 1H Automatically switch to the normal mode if the pulse width of the trigger signal is more than 500 mseconds Note 1 Camera mode Internal VD...

Страница 20: ...xposure timing Note 1 The trigger signal is removed by the filtering if the pulse width of the input trigger signal is smaller than 30 CLK Please input the trigger signal has more then 31 CLK pulse width Note 2 The exposure is going to start 198 CLK after the rising edge of the trigger signal Trigger signal Exposure time T1 SUB SG Exposure time T1 Preset electronic shutter Filtering Note 1 30CLK E...

Страница 21: ...weep the charges during the horizontal blanking to prevent from getting horizontal noises The image is getting the horizontal noises caused by generates the SUB pulse during the video out in normal mode which is this mode is OFF The maximum delay to start exposure from the trigger input is 1H Next HD Video out SUB pulse Internal HD CCD exposure Trigger signal Rising edge Noise Noise Noise Noise No...

Страница 22: ...problem may occur under the following conditions 1 When the external sync frequency is illegal more than 1 off from the specified frequency 2 When external sync is unstable In another word the bad external sync signal 3 About for one second after switching from to external sync mode to from internal sync mode 4 About for one second after switching frame rate 4 1 The communication method UART RS232...

Страница 23: ...is as 02H always Sets or gets 1 when send write command Sets 0 when access to the command register of the camera The data of the command register is replaced by the sent data when sent write command The data of the EEPROM is not replaced Sets 1 when access to the EEPROM of the camera The camera works with the data of the EEPROM when the power on the camera EOF Receiving code The camera rejects oth...

Страница 24: ...E CLC500E Users guide Rev 1 3 D Example command Send the read command to read the 00H address data of the register 02 00 00 01 00 03 SOF Device code Read Register Command code Data length Data EOF The return command 02 01 00 03 ...

Страница 25: ...24H Read Write x The start line of the variable partial scanning 16bit D 7 0 0 0 to 1235 25H Read Write x The start line of the variable partial scanning 16bit D 15 8 26H Read Write x The effective lines of the variable partial scanning 16bit D 7 0 1236 0 to 1236 27H Read Write x The effective lines of the variable partial scanning 16bit D 15 8 28H Read Write x The delay time for the trigger 8bit ...

Страница 26: ...scanning 011 to 110 No function Prohibited setting Do not set these values 12H MOD3 7 0 D7 to D6 Video out 00 10bit 01 8bit 10 12bit 11 No function Prohibited setting Do not set these values D5 0 Camera Link CC1 1 Power IO connector No 2 pin D4 to D3 00 Normal 01 Reserved trigger 10 to 11 H reset D2 to D0 No function Sets always as 000 Continuous Trigger mode the manual set as 1 Sets the camera fu...

Страница 27: ... with minimum shutter speed when this value sets 0 and the value of SHR is 1 to 600 Automaticaly sets 4095 when sets more then 4095 The exposure time CLK of the electronic shutter The camera works with the shutter off Frame exposure when this value sets 0 and the value of SVR is 0 Initial data SHR 15 0 0 data range 0 to 1923 Sets the preset shutter speed for electronic shutter Exposure time shutte...

Страница 28: ...a DGB 7 0 The factory adjusted value data range 0 to 255 Command descriptions Sets the delay time that is from the trigger signal input to start exposure The delay time for the trigger Initial data DLY 7 0 0 data range 0 to 255 Sets the CDS gain programable gain CDS gain 11 1 0 0359 x PGA 7 0 x 2 GOFS 7 0 dB Analog gain CDS gain CLAMP 7 0 The clamp level The value of the address 38H The value of t...

Страница 29: ...amp 68H Manual digital clamp Left Initial data MD_CLAMP_L 15 0 The factory adjusted value data range 0 to 1023 Sets the manual digital clamp for the left side of the image when the manual adjust is selected at the digital clamp 68H 78H TESTP 7 0 Test pattern selection Initial data TESTP 7 0 0 Sets the test pattern output form the camera D 7 0 Manual digital clamp Right Initial data MD_CLAMP_R 15 0...

Страница 30: ...n Sets always as 0000 D3 to D0 Note Change the C0H address data of the register and save to EEPROM when save the signals of the power IO connector to the EEPROM The signals of the power IO connector Initial data OUTSEL 7 0 The value of C0H D 7 0 Initial data 0000 data range 0000 to 0111 Please refer 1 2 The signals of the power IO connector The signals of the power IO connector selection Command d...

Страница 31: ...eceiving code after write EEPROM 01H OK 10H EEPROM write error 4 80H 0 is changed to 0 automatically after write EEPROM Note 1 DO NOT saves to the EEPROM when 80H 0 is 0 Note 2 When save the multiple sequence command to the EEPROM all data save to the EEPROM by one operation from 1 to 4 Example of the multiple sequence command 10H 11H 12H and 13H or 22H 23H and 24H Note 3 When save the multiple co...

Страница 32: ...32 STC CL500E CLC500E Users guide Rev 1 3 7F Harada center building 9 17 Naka cho 4 chome Atsugi city Kanagawa 243 0018 Japan Sensor Technology Co Ltd TEL 81 46 295 7061 FAX 81 46 295 7066 URL http www sentech co jp ...

Отзывы: