Example – Adept DeskTop 4.3 User Manual
Page 158

Adept DeskTop 4.3 - Online Help 158
Examples
Example 1
In this example, the 1311 result ID indicates using the first gripper offset. This is equivalent to using
the 1400 result ID.
; Retrieve the location of a found instance
; instance location = 1311
SET location = VLOCATION(1, 2, 1, 1311)
Example 2
; set 1st gripper offset location
; 1st gripper offset location = 1400
SET location = VLOCATION (1,2,1,1400)
;set 2nd gripper offset location
SET location = VLOCATION (1,2,1,1401)
...
;set 6th gripper offset location
SET location = VLOCATION (1,2,1,1405)
Example 3
; Retrieve the location of the Belt frame
; BeltCalibrationFrame index is 10000
V
LOCATION ($ip, -1, cameraIndex, ,10000, robotIndex)
; Retrieve the location of the Vision origin
; VisionOrigin index is 10050
V
LOCATOIN ($ip, -1, cameraIndex, ,10050, robotIndex )
DownstreamLimit
-1
cameraIndex
n/a
10002
robotIndex
n/a
VisionOrigin
-1
cameraIndex
n/a 10050
robotIndex
n/a
Property
sequence
tool
instance result ID
index
frame