<< Prev        Next >>

ID : 3680

DestTrn

Function

To return the current motion statement target position by homogeneous translation type data.

Syntax

DestTrn

Return Value

Return the current motion target position by Homogeneous Translation Type data.

Description

The current motion target position is returned by Homogeneous Translation Type data.

The current position (command position) is returned when the robot is stopped.

Related Terms

CurPos, CurTrn, CurJnt, DestPos, DestJnt

Attention

If a motion is interrupted by "MotionSkip" commands that stop the motion by a motion instruction, the target position is modified at the time of interruption.

Example

'!TITLE "Acquiring Motion Instruction Target Position"
' Acquire the current motion instruction target position by T type
Sub DestTrn_Sample

  Dim aaa As Trans
  Dim bbb As Trans

  TakeArm Keep = 1

  aaa = T( 100, 200, 300, 1, 0, 0, 0, 1, 0, -1 )

  ' Move to the next processing after starting a motion to aaa coordinate position
  Move P, @P aaa, Next

  ' Assign the motion instruction target position to bbb
  bbb = DestTrn 

  ' Display the motion instruction target position on the message output window
  PrintDbg bbb

End Sub

ID : 3680

<< Prev        Next >>