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

From SoftMC-Wiki
Jump to: navigation, search
(new page)
 
m
Line 11: Line 11:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
For '''group''' - Defines the source for PLS <br>
+
Defines the type of position that toggles the PLS output.<br>
For '''axis''' - Defines the source for PLS  POSITIONCOMMAND, POSITIONFEEDBACK, or POSITIONEXTERNAL.
+
PLSSource can be based either on an absolute position (either XYZ or axis), or on a position relative to the current movement. <br>
 +
 
 +
 
  
 
|TYPE=
 
|TYPE=

Revision as of 15:03, 10 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.

Syntax

<element>.PLSSOURCE=<source>

Availability

Version 3.2 and later

Range

Axis

  • <A1>.POSITIONCOMMAND - Position command of any axis
  • <A1>.POSITIONFEEDBACK - Position feedback from any axis
  • <A1>.POSITIONEXTERNAL - External position (PEXT) from any axis (CDHD drive)
  • <A1>.PATHLENGTH - Length of the movement path
  • <A1>.PATHPERCENTAGE - Percentage of the movement path
  • <A1>.PATHTIME - Time of the movement</br>


Group

  • <G1>.SETPOINT1 - X coo
  • <G1>.SETPOINT2 - Y coo
  • <G1>.SETPOINT3 - Z coo
  • <G1>.PATHLENGTH - Length of the movement path
  • <G1>.PATHPERCENTAGE - Percentage of the movements path
  • <G1>.PATHTIME - Time of the movement

Default

PositionFeedback

Scope

Configuration, Task or Terminal

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.

Examples

Axis
A1.PlsSource=A1.pext

Group
G1.PlsSource=G1.PATHTIME

See Also