User`s guide

WAIT PENDANT(3) ;Wait for key to be
pressed
HERE start ;Record the location
"start"
WAIT NOT PENDANT(3)
; Prompt for second location
WRITE (1) $clear.display, "Move robot to 'PICK' & press RECORD"
WRITE (1) /X17, "RECORD", $CHR(5), /S
WAIT PENDANT(3) ;Wait for key to be
pressed
HERE pick ;Record the location
"pick"
WAIT NOT PENDANT(3)
; Prompt for third location
WRITE (1) $clear.display, "Move robot to 'PLACE' & press RECORD"
WRITE (1) /X17, "RECORD", $CHR(5), /S
WAIT PENDANT(3) ;Wait for key to be
pressed
HERE place ;Record the location
"place"
WAIT NOT PENDANT(3)
ATTACH (0) ;Reconnect to the
robot
DETACH (1) ;Release the pendant
RETURN ;Return to calling
program
.END
Teaching Locations With the MCP
(Undefined variable: Primary.Product_Name_V)Language User's Guide, version
17.x
Page 345