SimSetPick Method

Description
Picks an object using the specified robot.

Syntax
Sub SimSetPick (RobotName As String, Object As String)
Sub SimSetPick (RobotName As String, Object As String, ToolNumber As Integer)

Parameters

  • RobotName
    A string variable indicating the name of the robot to pick.
  • Object
    A string variable indicating the picked object name.
  • ToolNumber
    Expression indicating the tool number to use when picking

Remarks
The robot specified by RobotName grasps the object specified by Object. Grasped object is registered as the part of the robot. Also, if any tool number is specified by ToolNumber, you can operate grasped motion by using the specified tool number. If the ToolNumber is omitted, use Tool 0 to operate grasped motion.
You cannot grasp the object that is already registered as the part or set as an arm installation tool. Also, you cannot grasp the camera..

For more details, refer to the following manual.
"Epson RC+ 8.0 SPEL+ Language Reference - SimSet"

See Also
SimGet Method, SimSet Method, SimSetPlace Method

SimSetPick Example
VB Example:

m_spel.SimSetPick ("Robot1", "SBox_1", 1)  

C# Example:

m_spel.SimSetPick ("Robot1", "SBox_1", 1);