MC-Basic:robot.GOTOLIMIT

From SoftMC-Wiki
Revision as of 08:50, 28 February 2016 by Miborich (talk | contribs)
Jump to: navigation, search

Flag causing the given straight-line motion to extend till reaching one of the position limits of t the robot (PMIN/PMAX, XMIN/XMAX, ....). The given target (in MOVES line) point is used for direction computation only. The real target of the motion lies on the line between initial point of the motion and the given point either closer or further away.


GOTOLIMIT.PNG

Syntax

<ROBOT>.GoToLimit= <numeric expression>

Availability

All versions

Type

Long

Range

0 or 1

Units

none

Default

0

Scope

Task, Terminal

Limitations

Write-Only, Nodal Only, used for MOVES command only

Examples

Moves puma #{100,0,0,0,0,0} GoToLimit = 1 ' this command will move the robot in positive X direction as far as it can go.

See Also