TeachPoint
Runs the Epson RC+ teach point screen from a SPEL+ program.
Syntax
TeachPoint (prompt, title, pointNumber)
Parameters
prompt*: Message string to display on screen (maximum 64 characters)
title*: String expression displayed in the title bar of the screen (maximum 32 characters)
pointNumber: Specify the point number as an integer value (0 to 999)
*: Optional.
Return Value
Returns "True" if teaching was successful, or "False" if teaching failed (or was canceled).
Description
This command is used to start and display the Epson RC+ teach point screen from a SPEL+ task.
The task will be suspended until the operator closes the dialog.
When executing a robot command from the Epson RC+ screen, ensure that no other tasks are controlling the robot while this screen is displayed.
An error occurs if another task that controls the robot is running.
See Also
RunDialog, ToolWizard Function
TeachPoint Example
Boolean sts
sts = TeachPoint ("ACME Gripper", "Teach Reference Point", 1)
If sts = True Then
Print "The point was taught"
Else
Print "The point was not taught"
EndIf