//
// Copyright (c) 2000-2003 by Cognex Corporation, Natick, MA USA
// All rights reserved. This material contains unpublished,
// copyrighted work, which includes confidential and proprietary
// information of Cognex.
//

// This CCF supports rapid reset version of the Sony XC-ST50 
// camera in 1-field, asynchronous reset mode.  The image is 
// acquired in half res horizontally.  Shutter mode is S-DONPISHA.
// This CCF supports variable exposure by means of the camera's
// shutter feature.
//
// Cable: 300-0316 or [300-0136 & 300-0313] (CVM1 & CVM3 & 8501 & 8504)
// Cable: 300-0318 or [300-0231 & 300-0313] (CVM6)
// Cable: 300-0317 (8100M+)
//

// For the Sony XC-ST / XC-ES cameras
// the switches on the back of the camera must be 
// set as described below. Disconnect all electrical 
// connections to the camera before making any 
// changes to the settings
//----------------------------------------------
// Camera               DIP             Setting
//                      Switch  
// ---------------------------------------------
// XC-ST / XC-ES        1               OFF
// XC-ST / XC-ES        2               OFF
// XC-ST / XC-ES        3               OFF
// XC-ST / XC-ES        4               OFF
// XC-ST / XC-ES        5               ON
// XC-ST / XC-ES        6               ON
// XC-ST / XC-ES        7               OFF
// XC-ST / XC-ES        8               ON
// XC-ES                9               OFF
// XC-ES                0               OFF
// -----------------------------------------------------------
// XC-ST Only           | XC-ES Only
//------------------------------------------------------------
// Gain         "F"     | M GAIN        dial in ( | ) position
// INT/EXT      EXT     | INT/EXT       EXT                     
// TRIG         "+"     |       
// Gamma        OFF     |       
// 
//------------------------------------------------------------

/*  
Created by Cognex CCF Editor
Tuesday, September 26, 2000 14:35:50
*/

format name = "Sony XC-ST50 320x240 IntDrv (rapid-reset, shutter-sw-SDONPISHA) CCF";

format width = 320;
format height = 240;

format video_interface = analog;
format video_encoding = mono;
format bits_per_pel = 8;
format peltype = mono;
format taps = 1;

format hd_direction = out;
format hd_interface = ttl;
format hd_signal = hd;
format hd_polarity = active_low;
format horiz_reference = none;
format hlock_position = 0;

format vd_direction = out;
format vd_interface = ttl;
format vd_signal = vd;
format vd_polarity = active_low;
format vertical_reference = none;
format vlock_position = 0;

format ctrl1_direction = out;
format ctrl1_interface = ttl;
format ctrl1_polarity = active_high;

format pclk_direction = unused;
format pclk_source = oscillator;
format pclk_frequency = 12.348;

format htotal = 784;
format vtotal = 524;
format number_of_fields = 1;
format aoi_per_field = 1;
format x_subsampling = 2;
format interlace = 0;

// horizontal events
format active_start = 133;
format hdrive = 0 60;
format hdrive = 1 768;
format hsync = 1 0;
format hsync = 0 60;
format hsample = 1 82;
format hsample = 0 90;
format hctrl1 = 1 0;

// vertical events
format vdrive = 1 258.5;
format vdrive = 0 262;
format vsync = 1 262.5;
format vsync = 0 265.5;
format vsample = 1 270;
format vsample = 0 276;
format vaoi = 1 282;
format vaoi = 0 522;
format vstrobe = 0 0;
format vstrobe = 1 268.5625;
format vctrl1 = 1 268.5625;
format vctrl1 = 0 268.625;

format rapid_reset = 1;
format rapid_reset_min_position = 257;

format shutter_mode = pulse_position;
format shutter_min_exposure = 2e-006;
format shutter_max_exposure = 0.013;
format shutter_adjustment_granularity = pel;
format shutter_line = ctrl1;
format shutter_per_field = 0;

format cti_end_field0 = 270;
format cti_width_min = 2;

format settling_time = 0.5;
format strobe_mode = pulse_position;

vs version = 5;
vs revision = 1;

ccf version = 1;
ccf build_number = 2;

ccf_checksum 0x03A84AD1
