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

From SoftMC-Wiki
Jump to: navigation, search
m
m
Line 14: Line 14:
 
PLSSource can be based either on an absolute position (either XYZ or axis), or on a position relative to the current movement. <br>
 
PLSSource can be based either on an absolute position (either XYZ or axis), or on a position relative to the current movement. <br>
  
 
+
[[File:plssourcetable.PNG]]
  
 
|TYPE=
 
|TYPE=
Line 21: Line 21:
 
|RANGE=
 
|RANGE=
 
'''Axis'''<br>  
 
'''Axis'''<br>  
* <''A1''>.POSITIONCOMMAND - Position command of any axis<br>
+
::<A1>.POSITIONCOMMAND: Position command of any axis
* <''A1''>.POSITIONFEEDBACK - Position feedback from any axis<br>
+
::<A1>.POSITIONFEEDBACK: Position feedback of any axis
* <''A1''>.POSITIONEXTERNAL - External position (PEXT) from any axis (CDHD drive)<br>
+
::<A1>.POSITIONEXTERNAL: Position of any external axis (such as CDHD2 drive, PEXT)
* <''A1''>.PATHLENGTH - Length of the movement path<br>
 
* <''A1''>.PATHPERCENTAGE - Percentage of the movement path<br>
 
* <''A1''>.PATHTIME - Time of the movement</br>
 
  
 
'''Group'''<br>
 
* <''G1''>.SETPOINT1 - X coo<br>
 
* <''G1''>.SETPOINT2 - Y coo<br>
 
* <''G1''>.SETPOINT3 - Z coo<br>
 
* <''G1''>.PATHLENGTH - Length of the movement path<br>
 
* <''G1''>.PATHPERCENTAGE - Percentage of the movements path<br>
 
* <''G1''>.PATHTIME - Time of the movement<br>
 
  
  
 
|UNITS=
 
|UNITS=
 
+
Encoder counts
  
 
|DEFAULT=
 
|DEFAULT=
Line 48: Line 37:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
In case of '''group''' that is not from Robot type the '''PATHLENGTH ''' is not allowed as the physical dimensions of such variable are non-existent.
+
*Can be set only when PLS is disabled.<br>
 +
*Cannot be a negative value.<br>
  
 
|EXAMPLE=
 
|EXAMPLE=
'''Axis''' <br>
+
Pls1.PlsRepeat = 1000
''A1''.PlsSource=''A1''.pext <br>
 
 
 
'''Group''' <br>
 
''G1''.PlsSource=''G1''.PATHTIME
 
 
 
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[MC-Basic:element.POSITIONCOMMAND|POSITIONCOMMAND]]
 
* [[MC-Basic:element.POSITIONCOMMAND|POSITIONCOMMAND]]

Revision as of 08:00, 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)

Units

Encoder counts

Default

PositionFeedback

Scope

Configuration, Task or Terminal

Limitations

  • Can be set only when PLS is disabled.
  • Cannot be a negative value.

Examples

Pls1.PlsRepeat = 1000

See Also