Difference between revisions of "MC-Basic:element.PLSSOURCE"

From SoftMC-Wiki
Jump to: navigation, search
m
m
Line 20: Line 20:
  
 
|RANGE=
 
|RANGE=
'''Axis'''<br>  
+
'''Axis'''<br>
::<A1>.POSITIONCOMMAND: Position command of any axis
+
:<A1>.POSITIONCOMMAND: Position command of any axis
::<A1>.POSITIONFEEDBACK: Position feedback of any axis
+
:<A1>.POSITIONFEEDBACK: Position feedback of any axis
::<A1>.POSITIONEXTERNAL: Position of any external axis (such as CDHD2 drive, PEXT)
+
:<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'''<br>
 +
:<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
  
  
 +
|UNITS=
  
|UNITS=
 
Encoder counts
 
  
 
|DEFAULT=
 
|DEFAULT=
Line 37: Line 46:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
*Can be set only when PLS is disabled.<br>
+
If a group is not a robot, PATHLENGTH cannot be used, since such a variable has no physical dimensions.
*Cannot be a negative value.<br>
 
  
 
|EXAMPLE=
 
|EXAMPLE=
Pls1.PlsRepeat = 1000
+
A1.PlsSource=A1.pext
 +
G1.PlsSource=G1.PATHTIME
 +
 
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[MC-Basic:element.POSITIONCOMMAND|POSITIONCOMMAND]]
 
* [[MC-Basic:element.POSITIONCOMMAND|POSITIONCOMMAND]]

Revision as of 08:10, 11 October 2018

Language: [[::MC-Basic:element.PLSSOURCE|English]]  • [[::MC-Basic:element.PLSSOURCE/zh-hans|中文(简体)‎]]

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