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
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
COVERAGE ACTIVE TARGETS=TOG15
PIXEL SIZE=TOG16
MAGNIFICATION=0.843
HIT TARGET COLOR=TOG17,NOMINAL COLOR=TOG17
HIT TARGET/EA1,0.202,TOG18
EDGE=TOG21,n1,n2,n3,n4
THEO, ACTL, and TARG values vary depending on the feature type.
THEO: This value defines the theoretical values for measuring the vision Auto feature.
ACTL: This value defines the actual measured values of the measured vision Auto feature.
TARG: This value defines the target position for the measurement.
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, 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.
GAGE HIT TARGET is only available for LINE, CIRCLE, and ELLIPSE.
OPTICAL COMPARATOR HIT TARGET is only available for LINE, CIRCLE, ELLIPSE, SQUARE SLOT, ROUND SLOT, and NOTCH SLOT.
Only the AUTOMATIC HIT TARGET is available for Polygon features.
Only the OPTICAL COMPARATOR HIT TARGET is available for Polygon features.
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 = COVERAGE
ACTIVE TARGETS
This value defines the number of targets referred to in the COVERAGE (TOG15)
parameter.
TOG16 = PIXEL
SIZE
This is the size of the camera image pixel in display units (micro meters
or micro inches) based on the measurement routine's units.
TOG17 = COLOR
You can select from 16 basic colors to denote the HIT TARGET COLOR and
the NOMINAL COLOR.
TOG18 = 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".
TOG19 = 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.
TOG20 = 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.
TOG21 = 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 "[?] ->[?].
TOG22 = 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.
TOG23 = 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.
TOG24 = 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.