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

//
// With this CCF, Cognex requires using the XC-HR70 in its normal 
// shutter (not under control of software), progressive scan, 
// non-reset mode.
// The switches on the back of the camera must be set as described
// below for an exposure value of 10 milliseconds. Consult the
// camera's Tech Manual for the appropriate switch (1 through 4) 
// settings for other supported exposure values.
// Disconnect all electrical connections to the camera before 
// making any changes to the settings.
// -------------------------
// DIP             Setting
// Switch  
// -------------------------
// 1               OFF
// 2               OFF
// 3               OFF
// 4               ON
// 5               OFF
// 6               OFF
// 7               OFF
// 8               OFF
// 9               OFF
// 0               OFF
// 
// INT/EXT HD/VD   EXT               
// -------------------------
//
// cable: 300-0316 or 300-0099 (8504/8501)
//

format name = "Sony XC-HR70 1020x766 IntDrv CCF";

format width = 1020;
format height = 766;
format bits_per_pel = 8;
format video_interface = analog;
format video_encoding = mono;
format peltype = mono;
format taps = 1;

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

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

format htotal = 1270;
format hdrive = 1 1258;    // 1256;
format hdrive = 0 90;      // 88;
format hsync = 1 10;       // 8;
format hsync = 0 86;       // 84;
format hsample = 1 105;    // 103;
format hsample = 0 159;    // 157;

format active_start = 250; // 248;

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 vtotal = 796;
format vdrive = 1 796;
format vdrive = 0 9;
format vsync = 1 4;        // nominal
format vsync = 0 7;
format vaoi = 1 29;
format vaoi = 0 795;

format cti_width_min = 2;
format cti_end_field0 = 2.5;

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 strobe_mode = trigger;

format init_acq_count = 1;
format settling_time = 0.500;

vs version = 5;
vs revision = 1;

ccf version = 1.0;
ccf build_number = 1;

ccf_checksum 0x02B1895A
