background image

M08627;27/39 

- 27 - 

7.  Serial Communication Control 

 
FS5000HECL can be externally controlled by the serial interface via Camera Link cable.   
 
(Note)  When the operation modes of the camera are changed by the communication functions, it takes some time to switch the 

modes.  Carefully  note  that  normal  image  may  not  be  obtained  from  the  signal  for  each  one  frame  before  and  after 
transmitting a command.   

(Note)  The  settings  and  timings  of  the  serial  communication  commands  are  the  same  as  those  of  the  products  that  have  the 

conventional RS-232C communication functions.   

 

  The setting of the serial communication is as follows: 

Baud rate 

: 9600bps or 19200bps (Specified by Setting Group 2, default: 9600bps) 

Data   

: 8bit/character 

Start bit 

: 1start bit 

Stop bit 

: 1stop bit 

Parity 

: none 

XON/XOFF 

: no control 

 

  Serial communication commands 

The command packet starts with STX(02h), followed by command code(s) and command option parameter(s) and ends with 
ETX(03h). All those are of 8 bit ASCII codes.   
When  the  camera  receives  1  packet  (by  detecting  ETX:03h)  and  judges  it  is  a  normal  packet,  it  returns  a  transaction 
completion signal (ACK: 06h) or others corresponding to the commands received. When the camera judges it is an abnormal 
packet, it returns the abnormal signal (NAK: 15h).   

 

  Operation mode “Group 1/2” and reception of serial communication commands   

Serial communication commands are received only for the period when the camera is in the operation mode of “Group 1” (= 
“normal power-on state”). 
However, only the command “ARESET” (returning to power-on state) is received even during the periods when the camera is 
in the operation modes of Group 2 to D. 

 

  Description of commands 

 
(1) Command “e” 

Function: Initialization of page memory 
 
Transmission from host:  STX: “e”: ETX 
Return by camera: 

STX: ACK: ETX (transaction completion), or STX: NAK: ETX (transaction rejection) 

 
*  CPU initializes each of the page memories when the power is turned on next time. “Initialization” here means returning 

the parameter values stored in the internal EEPROM of the camera to the factory default values. (

 corresponding to 

the procedure b. under the section (6-9)) 

 

(2) Command “R” 

Function: Command for reporting camera operation and setting status 
The contents of the report can be selected by adding the following option code after the command code “R”.   
G: Gain report 
S: Shutter report 
T: Shutter SW set report 
V: Camera version report 
 
1)  Analog report 

Transmission from host:  STX: “R”: “A”: ETX 
Return by camera: 

STX: ACK: “R”: (SETUP setting value): (WC setting value): “1”: ETX 

 
(!)  FS5000HECL does not use the values in parentheses. This camera returns the fixed values instead.   

(Note) FS5000HECL does not use the setting values corresponding to this command, but it does not cause an error 

even   

when it is input.   
     

2)  Gain report 

Transmission from host:  STX: “R”: “G”: ETX 
Return by camera: 

STX: ACK: “R”: MGC setting value: AGC setting value: (VRT setting value): 
(VRB setting value): OFFSET setting value: ETX 

 
(!)  FS5000HECL does not use the values in parentheses. This camera returns the fixed values instead.   
 

3)  Camera version report 

Transmission from host:  STX: “R”: “V”: ETX 
Return by camera: 

STX: ACK: “R”: 
“Takenaka SYS.FS5000HECL V1.00 T×××××”: ETX 

 
*  The underlined values show the control program version number of the camera and a file name. These values and 

Содержание FS5000HECL

Страница 1: ... and manage the camera properly Keep this manual at hand and reread it whenever you are uncertain about the operation Table of Contents 1 Features 3 2 Outline 3 3 Description of each component 4 4 How to operate 6 5 Various settings 13 6 How to change settings 17 7 Serial communication control 27 8 Timing chart 32 9 Note 38 10 Specifications 39 11 Dimensions 39 TAKENAKA SYSTEM CO LTD Document No M...

Страница 2: ...h version Error correction Correction of serial communication stop bit length section 7 2007 06 18 M07618A 7 7th version Error correction Correction of outside dimensions 2008 04 17 M08417A 8 8th version Error correction Correction of Pin layout table 3 2 2008 06 27 M08627 Description of special remarks used in this manual Note Particulars which require the user s attention are explained Particula...

Страница 3: ...esigned so that the strobe signal can be output even in the continuous shutter mode and this contributes to the power saving for LED lighting and others as well as the reduction of smear The ID information set by the user for each camera can be saved and read out whenever necessary via serial communication link 2 Outline Image sensor Progressive scanning interline OB Optical Black Effective image ...

Страница 4: ...als assigned to those pins are shown in the following table Pin arrangement of Camera Link connector MDR 26 Connector Pin No Signal name Twin ax cable assignment Pin No Signal name Twin ax cable assignment 1 inner shield shield 14 inner shield shield 2 X0 PAIR1 15 X0 PAIR1 3 X1 PAIR2 16 X1 PAIR2 4 X2 PAIR3 17 X2 PAIR3 5 Xclk PAIR4 18 Xclk PAIR4 6 X3 PAIR5 19 X3 PAIR5 7 SerTC PAIR6 20 SerTC PAIR6 8...

Страница 5: ...served I Reserved for future products CC3 reserved I Reserved for future products CC4 reserved I Reserved for future products SerTFG TXD O URAT transmission data Same timing as conventional RS 232C SerTC RXD I URAT reception data Same timing as conventional RS 232C The port assignment is in conformity to Base Configuration the standard of Camera Link 8 or 10 bit digital image signal output complyi...

Страница 6: ...or the purpose of guaranteeing the operation of the camera Proper image signals may not be obtained even when the cables are within the allowable ranges depending on the installation conditions of the camera cables in use and others Important Note Make sure to turn off the power switch of the camera before connecting or disconnecting the camera cable If the cable is connected or disconnected while...

Страница 7: ...t operation mode Note When it is set to 2 TRIG ENABLED and PWC ENABLED and the shutter switch is positioned from 2 to 8 only if the trigger pulse is input in the order of TRG A TRIG B at a time lag longer than 1 horizontal synchronous interval preset shutter operation starting at trailing edge of TRIG A is initiated Recommended timing of asynchronous shutter trigger signal Vinit signal for preset ...

Страница 8: ...The pin arrangement of trigger input pins in Camera connector are shown in the table below Camera connector Double pulse mode input pins Pin No Signal name Description I o 7 TRIG A Trigger input A In 9 TRiG B Trigger input B in Note Normal trigger inputs Vint1 Vint2 for asynchronous shutter operation are not used Keep it open state or H level External sync operation by HD VD External sync operatio...

Страница 9: ...ed Note When the camera is used in the asynchronous shutter mode double pulse mode set the camera operation mode to double pulse mode 2 TRIG ENABLED before the trigger signal is input to TRIG A TRIG B If the trigger signal is input before the camera is set to double pulse mode the camera may malfunctions as if external sync signal is applied at abnormal timing Example of external sync input circui...

Страница 10: ...the output timing of the camera and the details of the signal connection match the particulars of the capture board When the test pattern function is set to be ON the image sensor outputs not pictures but the test pattern as shown on the right As for this pattern a numerical value of 4 is simply added in an incremental manner for every horizontal pixel and a saw tooth profile is shown in the range...

Страница 11: ...to temperature in Celsius The temperature in Celsius is computed as Tc from the following formula where Dt is the signed integer number converted from the above described 10 bit binary value of Db B D9D8 D0 Internal temperature of camera Tc Dt 0 5 C Example 1 Where Td the returned value of the temperature data is H 0032 in the hexadecimal system it is expressed in the binary system as follows Td H...

Страница 12: ...e is applied to the UP DOWN switch the buzzer is set to be ON When a downward stroke is applied it is set to be OFF Simply turn off the power after the setting is complete The setting is saved 4 10 Camera ID saving function The ID code and other information set by the user for each camera can be stored in the camera and read out wherever necessary The saved identification data for each camera incl...

Страница 13: ...it Double pulse 2 Triggers In case of the asynchronous shutter setting only the shutter shutter speed of which corresponds to the time difference between two external trigger inputs Trig A Trig B is released Shutter speed can be set as nH n 1 or larger integer number in H horizontal synchronous time unit Table 5 2 Description of other operation modes Scanning system Normal scan The read out for ea...

Страница 14: ...r immediately after trigger signal is input in the asynchronous shutter mode Explanation Fast dump operation is effective in pre set high speed asynchronous shutter mode When high intensity subject including infra red radiation is in the visual field the phenomenon arises that even the low intensity part is displayed whitely like a vertical streak as the generated charges leak into the transfer ch...

Страница 15: ...g 0 to 255 The correlation between this setting value and the MGC gain integrated gain including the gain of the variable gain amplifier and that of the fixed gain amplifier is shown in the right graph Note When the CCD element receives excessive light with a low gain value of the amplifier the signals of the nonlinear area of the CCD element and the preamplifier are output at the high brightness ...

Страница 16: ...ting The FC series cameras incorporate nonvolatile memories and various operation mode settings and level settings can be stored in them The setting items are stored in the virtual pages hereinafter referred to as program pages inside the camera This camera has 6 program pages of A B C D E and F right figure The camera starts operating according to the various settings stored in the relevant page ...

Страница 17: ...e start up options are summarized in the following table Terminology Turning on the power in the normal manner This means turning on the power while the UP DOWN switch is kept at the neutral position Unless otherwise instructed turning on the power or at the time of power on in this document refers to this type of action for turning on the camera Table 6 2 Start up option Start up condition at the...

Страница 18: ... scan SCAN All pixels NORMAL Partial PARTIAL A to F Program pages from A to F Write Read Note Draft scan mode ON is put ahead of Switch between normal scan partial scan For example When Partial PARTIAL at Switch between normal scan partial scan and ON DRAFT at Draft scan mode are selected scanning mode of the camera gets Draft mode Note The shutter speed can be changed only when the shutter switch...

Страница 19: ...internal value Offset Saved as the internal value Current settings Save Load Effective even after power off Lost at power off Fig 6 3 Conceptual diagram of saving and loading operations Explanation Correlation between current setting and program page The setting information saved in the program page is automatically read out to RAM volatile memory when the camera is turned on and that determines t...

Страница 20: ...ote If the menu display is set to be ON in the asynchronous shutter mode the repetitive trigger cyclic trigger that is generated inside the camera is automatically input Make sure to set the menu display OFF when the camera is used in the normal state online state Note Note that the difference between the pulse width generated by the camera with the menu display turned on and that provided by the ...

Страница 21: ...bit This is to set for the bit format gray scale of the output data complying with Camera Link STD The settable data format in this camera is 10 bits or 8 bits format Default is 10 bits Both are single line output format The following items are for display only they cannot be directly changed on the menu These are automatically updated when a corresponding change is made using the switches MS The ...

Страница 22: ...al flag register FR and configuration register CR The camera internally has RAM areas for the flag register FR 2 bytes and the configuration register CR 2 bytes If the user checks the contents of these registers he or she can get the information on the current operational status In addition it is possible to change more than one operation mode at a time by way of rewriting the contents of the regi...

Страница 23: ...o H 9 or H F Where ESPE 1 externally designated number from 0 to 9 designated position is reflected In case of H F external shutter speed in H unit is selected 9 ESP 1 10 ESP 2 11 ESP 3 12 ESPE Effectiveness of externally designated shutter speed 1 Effective 13 Not used 14 Not used 15 AGCE Selection of MGC AGC operation 1 AGC Note All the items of the FR data are 0 as factory default Example If MF...

Страница 24: ...bility between the selected scan mode and the selected function is not warned Setting of an inappropriate parameter results in operation failure Priority order of scan mode setting items Selection of draft scan ON OFF ON is put ahead of Selection of normal scan partial scan For example when Partial scan mode PARTIAL is selected at Selection of normal scan partial scan and Draft scan mode DRAFT is ...

Страница 25: ... state when the menu is displayed When the menu is displayed in accordance with the procedure for setting the gain for the asynchronous shutter operation as described in Fig 6 4 it is not necessary to temporarily switch to the continuous shutter operation as shown above Example 2 This is the procedure for use in continuous low speed shutter operation 1 2 sec Explanation The above example is for sa...

Страница 26: ...s selected the parameters that were read out are automatically saved in the program pages from A to F Carefully note that the earlier setting data that were saved by the user are all overwritten and lost Fig 6 7 Setting contents immediately after reading out factory default Procedure a read out of default to RAM Step 1 Set the mode switch to the position 9 and manipulate the UP DOWN switch either ...

Страница 27: ... to power on state is received even during the periods when the camera is in the operation modes of Group 2 to D Description of commands 1 Command e Function Initialization of page memory Transmission from host STX e ETX Return by camera STX ACK ETX transaction completion or STX NAK ETX transaction rejection CPU initializes each of the page memories when the power is turned on next time Initializa...

Страница 28: ... guaranteed Normal scan H 0000 to H 04B0 D 0 to 1200 0 is used only when the external specification is cancelled Partial scan H 0000 to H 026C D 0 to 620 0 is used only when the external specification is cancelled 3 Command G Function Command for setting gain Transmission from host STX G MGC setting value AGC setting value VRT setting value VRB setting value OFFSET setting value ETX Return by came...

Страница 29: ... E Function Command for editing shutter menu Transmission from host STX E H SW0 SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 SW9 ETX Return by camera STX ACK ETX transaction completion or STX NAK ETX transaction rejection The exposure time H to be allocated to the shutter SW number is expressed in 4 digits in the hexadecimal system for SW0 to SW9 The exposure time of SW0 cannot be changed Example If only the e...

Страница 30: ...rejection The current content of the internal temperature data of the camera is returned in the hexadecimal system The effective data is the lower 10 bits out of the returned 16 bits This 10 bit value presents a signed integer value in two s complement form 511 to 511 Actual temperature in Celsius is calculated by multiplying the value by a certain factor Refer to 4 6 Monitoring function for inter...

Страница 31: ...nusable character s This case however is not regarded as error transaction rejection is not returned Note This command does not execute the writing into EEPROM and therefore the setting by this command is lost when the power is turned off If it is necessary to store the setting in EEPROM transmit another command of SID 18 Command SID Function Command for saving camera ID set by user Save ID Transm...

Страница 32: ...amera Link it is necessary to pay close attention to the descriptions of the data sheet of the channel link device including the phase relationship between data and clock prior to the use Horizontal timing HD CCD output signal OB approx 4 5 Dummy bit OB 40 460 28 12 1 3 16 Effective pixels 2616 540 1 horizontal period 1 H 2 4 3 5 2 61 6 Internal horizontal synchronous s ignal 31 56 2 6 16 273 1 2 ...

Страница 33: ... Ineffective image duration 96 Unless otherwise specified the time unit of the numbers in the vertical timing chart is H 3156 PCLK 1920 x 1 32 50MHz 97 11µS Vertical timing High speed preset shutter asynchronous shutter normal scan No fast dump HD Vinit Exposure time nH n F DV Horizontal synchronous signal 1 96 0 3 Internal signal Internal operation End of e x posure SG 2 4 3 5 Image signal Effect...

Страница 34: ...it signal Shutter time 2Hs Shutter time 3Hs 1 2 3 1 2 Because of the above reason consideration must be given to the fact that the exposure time becomes indefinite for the period of 1H shutter speed when a Vinit signal that is not in synchronization with the internal horizontal synchronous signal HD is input from the user side Some of the countermeasures to be taken are as follows 1 Use only with ...

Страница 35: ...aving the same time difference are applied the shutter speed might differ for the period corresponding to 1H width in the double pulse mode as well as in the pulse width control mode asynchronous shutter Therefore it is required to synchronize the two trigger signals which is input to the camera with the horizontal synchronous timing signal LDV which is output from the camera to control the exposu...

Страница 36: ...put signal Internal signal Effec ti v e pi xc el s 9 2 0 End of expo sure sensor gate 3 3 Ineffect ive image period 1 0 8 Image signal 14 4 0 5 2 1 5 2 2 5 23 6 9 digital 5 2 2 5 21 52 3 1 4 4 0 1 4 4 0 1 4 4 0 Effec tive pi xc el s 9 2 0 Unless otherwise specified the time unit of the numbers in the vertical timing chart is H 3156 PCLK 1920 x 1 32 50MHz 97 11µS Vertical timing High speed preset a...

Страница 37: ...tter draft scan 2 6 7 Effective pixcels 2 6 1 6 1 2 4 3 5 2 6 1 6 Ineffec tive image pe riod 10 36 E ff ect ive pix cel s LDV Image output Image signal digital 3 6 5 2 1 H d r f t 26 1 6 1 0 3 1 Unless otherwise specified the time unit of the numbers in the horizontal timing chart is CLK 1 32 5MHz 30 77nS Vertical timing Continuous shutter no shutter draft scan 3 Ineffective image period 4 Effecti...

Страница 38: ...spection repair The specifications and operational details described in the catalogues manuals and others are subject to change for performance improvement or other reasons without notice Important On the usage of this equipment please note the following to prevent the problem of time degradation of CCD image sensor Increase of pixel defects etc Do not use this equipment in an environment subject ...

Страница 39: ...dth control double pulse Scan mode Normal scan all pixels Partial scan central area Draft scan 4 lines out of every 16 lines Lens mount C mount flange back fixed movable type option Optical filter IR cut filter Optical low pass filter is optional External control Serial interface via Camera Link Special functions Function of superimposing setting information over output image Function of monitorin...

Отзывы: