ToolWizard Function

Runs the Epson RC+ tool wizard screen from a SPEL+ program.

Syntax
ToolWizard (toolNumber)

Parameters

  • toolNumber: Specify the tool number as an integer value (0 to 15)

Return Value
Returns "True" if teaching was successful, or "False" if teaching failed (or was canceled).

Description
This function is used to start and display the Epson RC+ tool wizard 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 Statement, TeachPoint

ToolWizard Function Example

  Boolean sts

  sts = ToolWizard(1)
  If sts = True Then
    Print "The tool was defined"
  Else
    Print "The tool was not defined"
  EndIf