Vision Field Definitions

The Edit window command line for a sample vision circle reads:

feature_name=FEAT/VISION/TOG1,TOG2,TOG3,TOG4
THEO/ <x_cord,y_cord,z_cord>,<i_vec,j_vec,k_vec>,diam
ACTL/ <x_cord,y_cord,z_cord>,<i_vec,j_vec,k_vec>,diam
TARG/ <x_cord,y_cord,z_cord>,<i_vec,j_vec,k_vec>
SHOW FEATURE PARAMETERS=TOG5

SURFACE=TOG6,n,EDGE/TOG6,n
MEASURE MODE=TOG7
RMEAS=CIR1,CIR1,CIR1
GRAPHICAL ANALYSIS=TOG8,n1,n2,n3
DIAGNOSTICS=TOG9
FEATURE LOCATOR=TOG10,n1,TOG11,n2,n3

SHOW VISION PARAMETERS=TOG12

TYPE=TOG13
COVERAGE=TOG14
MAGNIFICATION=0.843
HIT TARGET COLOR=TOG15,NOMINAL COLOR=TOG15
HIT TARGET/EA1,0.202,TOG16
FILTER=TOG17,n1,TOG18,n2,n3
EDGE=TOG19,n1,n2,n3,n4
FOCUS/TOG20,n1,n2,TOG21,TOG22

THEO, ACTL, and TARG values vary depending on the feature type.

Use these values when the THEO positions don't match the part. You should leave the THEO values to match the CAD positions. The software dimensions the results to these values but changes the TARG values so that the software measures the feature in a slightly different location.

Toggle Values

TOG1 = FEATURE TYPE
SURFACE POINT / EDGE POINT / LINE / CIRCLE / ELLIPSE / SQUARE SLOT / ROUND SLOT / NOTCH SLOT / POLYGON / PROFILE 2D are the available PC-DMIS Vision feature types.

TOG2 = CARTESIAN or POLAR for POINT, CIRCLE, EDGEPOINT, and LINE; OPEN or CLOSED for PROFILE 2D;

TOG3 =IN or OUT for CIRCLE; POLR or RECT for PROFILE 2D and SLOT (not used for POINT, LINE)

TOG4 = ALGORITHM
LEAST_SQR, MIN_SEP, MAX_INSC, MIN_CIRSC (Only used for CIRCLE)

TOG5 = SHOW FEATURE PARAMETERS
YES / NO - This toggle field determines whether the software displays the feature parameters. These values included TOG6 - TOG11.

TOG6 = THICKNESS
This toggle field determines if Actual Thickness (ACTL_THICKNESS), Theoretical Thickness (THEO_THICKNESS) or thickness is off (THICKNESS_OFF). You can specify edge thickness for lines and edge points. n = Thickness value in current units.

TOG7 = MEASURE MODE
NOMINALS / VECTOR / FIND NOMS / MASTER

TOG8 = GRAPHICAL ANALYSIS
YES / NO - This toggle field determines if the software applies graphical analysis. When this value is set to YES, then the software applies the next three values or Point Size, Plus, and Minus Tolerances for graphical analysis. n1 = Point Size, n2 = Plus Tolerance, n3 = Minus Tolerance

TOG9 = DIAGNOSTICS
YES / NO - This toggle field determines whether the software collects diagnostic information for diagnosing problems where edge detection fails. The diagnostics contains bitmap images and the current feature parameters that you can export from PC-DMIS and send to Hexagon Technical Support.

TOG10 = FEATURE LOCATOR (Bitmap)
Use the feature locator option to specify a bitmap image file that you want to show in the Feature Locator tab of the Probe Toolbox when you execute this feature. This option can help you locate the feature. If this option isn’t needed, switch it to NO. n1 = Path and name of the bitmap.

TOG11 = FEATURE LOCATOR (Audio File)
Use the feature locator option to specify a .wav file that the software plays when you execute this feature. If this option isn’t needed, switch it to NO. n2 = Path and name of the .wav file. n3 = Caption string for the Feature Locator tab.

TOG12 = SHOW VISION PARAMETERS
YES / NO - This toggle field determines whether the software displays vision parameters for the feature below. These values included TOG13 - 22.

TOG13 = TYPE
AUTOMATIC HIT TARGET / MANUAL HIT TARGET / GAGE HIT TARGET / OPTICAL COMPARATOR HIT TARGET - This toggle field determines the type of Hit Target.

TOG14 = COVERAGE
This option allows you to change the coverage for a feature. The software creates or removes new targets based on the percentage of coverage you select.

TOG15 = COLOR
Select from 16 basic colors used to denote the HIT TARGET COLOR and the NOMINAL COLOR.

TOG16 = DENSITY
This option toggles between LOW | HIGH | NORMAL | NONE. It indicates the density of points that the software returns for this target. For more information, see "Probe Toolbox: Define Targets tab".

TOG17 = CLEAN FILTER
YES / NO - This toggle field applies the clean filter to remove dust and small noise particles from the image prior to edge detection. The software does not use this value for a SURFACE POINT. n1 = Strength - Specifies the size (in pixels) of an object, below which is considered to be dirt or noise.

TOG18 = OUTLIER FILTER
YES / NO - This toggle field determines whether the software applies the outlier filter for this target. The software does not use this value for a SURFACE POINT. n2 = Distance Threshold - This specifies the distance in pixels that a point can be away from nominal before the software discards it. n3 = The standard deviation of a point needs to be away from the other points for the software to considered it an outlier.

TOG19 = EDGE TYPE
This toggle field switches between the available types of edge detections. They are: DOMINANT EDGE, SPECIFIED EDGE, NEAREST NOMINAL, or MATCHING EDGE. See "Probe Toolbox: Hit Targets tab" for more information. The software does not use this value for a SURFACE POINT. n1 = Edge strength threshold the software uses during the teach process. PC-DMIS ignores edges which have a ‘strength’ below this threshold when it looks for an edge. Values should fall between the range of 0 and 255. n2 = Hit target direction (--> or <--). n3 = Specified Edge - This parameter defines the Nth edge the software uses for the specified edge detection method. Currently you can enter a number between 1-10. n4 = This value determines if the edge that PC-DMIS found and is being viewed goes from black to white "[|] ->[ ]", white to black "[ ] ->[|]", or either "[?] ->[?].

TOG20 = FOCUS
YES / NO - This determines whether the target requires a pre-edge detection focus. n1 = This value displays the range from the camera to the part. It specifies the distance (in the current units) over which to perform the focus. n2 = This value provides the number of seconds to spend searching for the best focal position.

TOG21 = Find Surface
YES / NO - This toggle field determines whether the machine should perform a second, slightly slower, pass-to attempt to improve the accuracy of the focal position.

TOG22 = SensiLight
YES/NO - This toggle field determines whether the machine should perform an auto-light adjust prior to focus, in an attempt to achieve optimal focus result. If set to NO, PC-DMIS sets the lighting according to the learned percentage and does not automatically adjust the brightness.