//
// Copyright (c) 2000-2001 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 the Sony XC-ST50 camera in free running, 
// 1-field mode.  The PLL is used to derive the pixel clock
// and the vertical sync signal.  Note that Cognex CVM3 lacks
// the hardware (PLL) to support this CCF. 
//
// Cable: 300-0099 (CVM1 & 8501 & 8504)
// Cable: 300-0181 (CVM6)
// Cable: 300-0181 (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               OFF
// XC-ST / XC-ES        7               OFF
// XC-ST / XC-ES        8               OFF
// 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
Thursday, September 21, 2000 13:45:28
*/

format name = "Sony XC-ST50 640x240 ExtPLLCo CCF";
format width = 640;
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 = unused;
format horiz_reference = sync_separator;
format horiz_reference_type = sync;
format hlock_position = 7;

format vd_direction = unused;
format vertical_reference = sync_separator;
format vertical_reference_type = sync;
format vlock_position = 1.0625;

format ctrl1_direction = unused;
format ctrl2_direction = unused;

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

format htotal = 784;
format vtotal = 525;
format active_start = 123;

// horizontal events
format hdrive = 1 766;
format hdrive = 0 60;
format hsync = 1 0;
format hsync = 0 60;
format heq = 1 0;
format heq = 0 30;
format heq = 1 392;
format heq = 0 422;
format hvsync = 1 0;
format hvsync = 0 333;
format hvsync = 1 392;
format hvsync = 0 725;
format hsample = 1 82;
format hsample = 0 90;

// vertical events
format vdrive = 1 521;
format vdrive = 0 5;
format vdrive = 1 258.5;
format vdrive = 0 267.5;
format vsync = 1 525;
format vsync = 0 3;
format vsync = 1 262.5;
format vsync = 0 265.5;
format vaoi = 1 19;
format vaoi = 0 259;
format vaoi = 1 282;
format vaoi = 0 522;

format cti_end_field0 = 8;
format cti_end_field1 = 270;
format cti_width_min = 2;

format number_of_fields = 1;
format aoi_per_field = 1;
format x_subsampling = 1;
format interlace = 0;
format rapid_reset = 0;
format shutter_mode = none;
format shutter_per_field = 0;
format strobe_mode = trigger;

format settling_time = 0.5;

vs version = 5;
vs revision = 1;

ccf version = 1;
ccf build_number = 3;

ccf_checksum 0x034AE5EF
