<< Prev        Next >>

ID : 3592

Move

Function

To move the robot to the designated coordinates.

Syntax

Move motion interpolation,target position[, motion option]

Guaranteed Entry

Motion interpolation
Designate a motion interpolation method.
Target position
Designate a target position by position type data, homogeneous translation type data and joint type data. Target position option can be added to the target position. In addition, it is also allowed to state target positions consecutively.
The value can be designated by array. In this case, the array is treated as position type.
Motion option
A motion option can be specified.

Description

The robot moves from a current position to a target position.

To execute this statement, the task must acquire robot axis control.

The motion interpolation method is as described below.

Designation method Motion interpolation method
{P | PTP}

PTP motion.

This motion moves the fastest. TCP point track is not considered.

L

Linear interpolation motion.

TCP point moves from the current position to the target position linearly at constant speed in other than acceleration/deceleration areas.

C

Circular interpolation motion.

The robot moves along the circular arc consisting of the current position, relay position and target position in order of the current position → relay position → target position.

The robot moves at constant speed in other than acceleration/deceleration areas. Refer to "Move C."

S

Free curve interpolation motion.

The robot moves at constant speed along a smooth curve crossing the registered point. Refer to "Move S."

Stating Target Positions Consecutively

The robot moves in order when target positions are set. Set the target position options for each target position.

Move P, @P P[2], @P P[5], P[8], P[15], Speed = 30, Next

The above statement is the same as the following.

Move P, @P P[2], Speed = 30, Next
Move P, @P P[5], Speed = 30, Next
Move P, P[8], Speed = 30, Next
Move P, P[15], Speed = 30, Next

Attention

-

Example

'!TITLE "Movement to Designated Coordinates"
' Move from the current position to a designated coordinate position
Sub Sample_Move

  Dim aaa As Position
  Dim bbb As Position
  Dim ccc As Position

  TakeArm Keep = 1

  ' Assign the current position to aaa
  aaa = CurPos

  ' Move from the current position to P(200, 0, 100, 180, 0, 180, -1) coordinate position
  Move P, P( 200, 0, 100, 180, 0, 180, -1 )

  bbb = P( 250, -50, 80, 180, 0, 180, -1 )

  ' Move from the current position to the bbb coordinate position
  Move L, bbb

  ccc = P( 150, 100, 180, 180, 0, 180, -1 )

  ' Move from the current position to the ccc coordinate position
  Move P, @P ccc

  ' Move from the current position to the aaa coordinate position
  Move L, @20 aaa

End Sub

ID : 3592

<< Prev        Next >>