MC-Basic:element.PLSSOURCE

From SoftMC-Wiki
Revision as of 11:17, 16 October 2018 by Guy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文(简体)‎

Defines the type of position that toggles the PLS output.
PLSSource can be based either on an absolute position (either XYZ or axis), or on a position relative to the current movement.

plssourcetable.PNG

Syntax

<element>.PLSSOURCE=<source>

Availability

Version 3.2 and later

Range

Axis

<A1>.POSITIONCOMMAND: Position command of any axis
<A1>.POSITIONFEEDBACK: Position feedback of any axis
<A1>.POSITIONEXTERNAL: Position of any external axis (such as CDHD2 drive, PEXT)
<A1>.PATHLENGTH: Distance on the movement path
<A1>.PATHPERCENTAGE: Percentage of the movement path
<A1>.PATHTIME: Duration of the movement

Group

<G1>.SETPOINT1: X coordinate
<G1>.SETPOINT2: Y coordinate
<G1>.SETPOINT3: Z coordinate
<G1>.PATHLENGTH: Distance on the movement path
<G1>.PATHPERCENTAGE: Percentage of the movement path
<G1>.PATHTIME: Duration of the movement

Default

PositionFeedback

Scope

Configuration, Task or Terminal

Limitations

If a group is not a robot, PATHLENGTH cannot be used, since such a variable has no physical dimensions.

Examples

A1.PlsSource=A1.pext
G1.PlsSource=G1.PATHTIME

See Also