<< Prev        Next >>

ID : 3678

DestJnt

Function

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

Syntax

DestJnt

Return Value

Return the current motion instruction target position by Joint Type data.

Description

The current motion instruction target position is returned by Joint Type data.

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

Related Terms

CurPos, CurTrn, CurJnt, DestPos, DestTrn

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 J type
Sub Sample_DestJnt

  Dim aaa As Joint
  Dim bbb As Joint

  TakeArm Keep = 1

  aaa = J( 30, 40, 50, 0, 0, 0 )

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

  ' Acquire the motion instruction target position by J type
  bbb = DestJnt

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

End Sub

ID : 3678

<< Prev        Next >>