MC-Basic:robot.GOTOLIMIT

From SoftMC-Wiki
Revision as of 05:12, 17 April 2017 by Chi (talk | contribs)
Jump to: navigation, search
Language: English  • 中文(简体)‎

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

From 0.4.15rc8

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