//
// Copyright (c) 2010 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 supports using the IK-TF5 in its 
// Synchro-Scan, Non-Reset, full-resolution mode with the frame 
// grabber supplying horizontal and vertical drive signals to 
// the camera.
// 
// Video output of the camera is planar RGB.
//
// Refer to the camera's Instruction Manual for how to set the
// camera up to operate in the supported mode.  There are no 
// set-up switches on the exterior of the camera.
//
// cable: custom, provided by customer (8504/8504e)
//

format name = "Toshiba IK-TF5 640x488 IntDrv (3 Plane Color) CCF";
format width = 640;
format height = 488;
format bits_per_pel = 8;
format video_interface = analog;
format video_encoding = mono;
format peltype = RGBplanar;  
format taps = 3;              
// format color_plane_order = blue_red_green;

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

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

format htotal = 780;
format hdrive = 1 762;
format hdrive = 0 57;
format hsync = 1 0;
format hsync = 0 66;
format hsample = 1 70;
format hsample = 0 114;

format active_start = 140; 

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 = unused;
format ctrl2_direction = unused;
format vtotal = 525;
format vdrive = 1 525;
format vdrive = 0 9;
format vsync = 1 3;        // nominal
format vsync = 0 6;
format vaoi = 1 25;
format vaoi = 0 513;

format cti_width_min = 1.0;
format cti_end_field0 = 1.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 0x02EE0868
