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

From SoftMC-Wiki
Jump to: navigation, search
(new page)
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Languages}}
+
{{Languages|MC-Basic:element.PLSSOURCE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
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>
 +
 
 +
[[File:plssourcetable.PNG]]
  
 
|TYPE=
 
|TYPE=
Line 18: Line 20:
  
 
|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>.PATHLENGTH: Distance on the movement path
* <''A1''>.PATHPERCENTAGE - Percentage of the movement path<br>
+
:<A1>.PATHPERCENTAGE: Percentage of the movement path
* <''A1''>.PATHTIME - Time of the movement</br>
+
:<A1>.PATHTIME: Duration of the movement
 
 
 
 
 
'''Group'''<br>
 
'''Group'''<br>
* <''G1''>.SETPOINT1 - X coo<br>
+
:<G1>.SETPOINT1: X coordinate
* <''G1''>.SETPOINT2 - Y coo<br>
+
:<G1>.SETPOINT2: Y coordinate
* <''G1''>.SETPOINT3 - Z coo<br>
+
:<G1>.SETPOINT3: Z coordinate
* <''G1''>.PATHLENGTH - Length of the movement path<br>
+
:<G1>.PATHLENGTH: Distance on the movement path
* <''G1''>.PATHPERCENTAGE - Percentage of the movements path<br>
+
:<G1>.PATHPERCENTAGE: Percentage of the movement path
* <''G1''>.PATHTIME - Time of the movement<br>
+
:<G1>.PATHTIME: Duration of the movement
  
  
Line 46: Line 46:
  
 
|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.
+
If a group is not a robot, PATHLENGTH cannot be used, since such a variable has no physical dimensions.
  
 
|EXAMPLE=
 
|EXAMPLE=
'''Axis''' <br>
+
A1.PlsSource=A1.pext <br>
''A1''.PlsSource=''A1''.pext <br>  
+
G1.PlsSource=G1.PATHTIME
 
 
'''Group''' <br>
 
''G1''.PlsSource=''G1''.PATHTIME
 
  
 
|SEE ALSO=
 
|SEE ALSO=
Line 59: Line 56:
 
* [[MC-Basic:element.POSITIONFEEDBACK|POSITIONFEEDBACK]]
 
* [[MC-Basic:element.POSITIONFEEDBACK|POSITIONFEEDBACK]]
 
* [[MC-Basic:axis.POSITIONEXTERNAL|axis.POSITIONEXTERNAL]]
 
* [[MC-Basic:axis.POSITIONEXTERNAL|axis.POSITIONEXTERNAL]]
* [[path-PLS|path-PLS]]
+
* [[Programmable Limit Switch|PLS]]
  
  
 
}}
 
}}

Latest revision as of 11:17, 16 October 2018

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