beautypg.com

Fitmode – Adept AdeptSight Reference Guide User Manual

Page 219

background image

FitMode

VPARAMETER

5140

Specifies the mode used by the tool to calculate and return values for the found arc.

Syntax

MicroV+

VPARAMETER (sequence_id, tool_id, 5140, index_id, object_id) = value

value = VPARAMETER (sequence_id, tool_id, 5140, index_id, object_id)

V+

VPARAMETER (sequence_id, tool_id, 5140, index_id, object_id) $ip = value

value = VPARAMETER ($ip, sequence_id, tool_id, 5140, index_id, object_id)

Type

Long

Range

Value

hsFitMode

Description

0

hsBoth

The Arc Finder calculates and returns both the arc center and arc
radius.

1

hsRadius

The arc radius is calculated, the arc center returned is the value of the
tool's center.

2

hsCenter

The arc center is calculated; the radius returned is the value of the
tool's radius

Parameters

$ip

IP address of the vision server. Applies to V+ syntax only. Uses standard IP

address format, for example: 192.168.1.120.

sequence_id

Index of the vision sequence. The first sequence is 1.

tool_id

Index of the tool in the vision sequence. The first tool is 1.

FitMode

AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012

Page 219