PTPBoostOK Function

Returns whether or not the PTP (Point to Point) motion from a current position to a target position is a small travel distance.

Syntax
PTPBoostOK(targetPos)

Parameters

targetPos
Specify the target coordinates in point data.

Return Values
True if is it possible to move to the target position from the current position using PTP motion, otherwise False.

Description
Use PTPBoostOK to the distance from the current position to the target position is small enough for PTPBoost to be effective.

See Also
PTPBoost

PTPBoostOK Function Example

If PTPBoostOK(P1) Then
  PTPBoost 50
EndIf
Go P1