//
// Copyright (c) 2005 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 Teli CS8620i camera in 2-field mode,
// with the frame grabber supplying drive signals to the camera.
//
// Cable: 300-0099 (CVM1 & CVM3 & 8501 & 8504)
// Cable: 300-0181 (CVM6)
// Cable: 300-0181 (8100M+)
//

// For the Teli CS8620i camera, 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
// ---------------------------
// DIP             Setting
// Switch  
// ---------------------------
//  1               OFF
//  2               OFF
//  3               OFF
//  4               OFF
//  5               OFF
//  6               OFF
//  7               OFF
//  8               OFF
//  9               OFF
//  0               OFF
//
//  M GAIN          dial in ( | ) position
//  HD/VD           IN (direction)
//  HD/VD           HIGH (impedence)        
// 

format name = "Teli CS8620i 640x480 IntDrv CCF";
format width = 640;
format height = 480;
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 vd_direction = out;
format vd_interface = ttl;
format vd_signal = vd;
format vd_polarity = active_low;
format vertical_reference = none;

format ctrl1_direction = unused;
format ctrl2_direction = unused;

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

format htotal = 784;
format vtotal = 525;
format active_start = 128;     // 130;

//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 522;
format vdrive = 0 6;
format vdrive = 1 259.5;
format vdrive = 0 268.5;
format vsync = 1 0;
format vsync = 0 3;
format vsync = 1 262.5;
format vsync = 0 265.5;
format vsample = 1 7;
format vsample = 0 12;
format vsample = 1 269;
format vsample = 0 274;
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 = 2;
format aoi_per_field = 1;
format x_subsampling = 1;
format interlace = 1;
format rapid_reset = 0;
format shutter_mode = none;
format shutter_per_field = 1;
format strobe_mode = trigger;

format settling_time = 0.5;

vs version = 5;
vs revision = 1;

ccf version = 1;
ccf build_number = 1;


ccf_checksum 0x0375C9F7
