<< Prev        Next >>

ID : 289

Dev

Function

To return a deviation calculation result of position type data.

Syntax

Dev(reference position, deviation)

Guaranteed entry

Reference position
Designate by position type data.
Deviation
Designate by position type data.

Return value

Return a deviation calculation result by position type data.

Description

The return values will be values where deviations are added to each element of the reference point on the current work coordinates system.

FIG element of reference position is assigned as FIG element of the return value.

Level 1 error occurs if the return value is out of the motion range. Refer to "Error Processing Routine."


Point K as reference point, then,

Point Q = Dev(point K, P(0,0,L,0,0,0))

Related Terms

DevH

Attention

For calculation of joint type data, use + operator or - operator.

Example

'!TITLE "Addition of Coordinate Position of Position Type"
' Assign the coordinate position obtained by adding the specified value from the current position to aaa
Sub Sample_Dev
  TakeArm Keep = 1
  Dim aaa As Position
  ' Assign the coordinate position after moving X by 50 and Z by 100 from the current position to aaa
  aaa = Dev( CurPos, P( 50, 0, 100, 0, 0, 0, -1 ) )
  ' Display the coordinate position after movement on the message output window
  PrintDbg aaa
End Sub

ID : 289

<< Prev        Next >>