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

From SoftMC-Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{Languages}}
+
{{Languages|MC-Basic:element.PLSSOURCE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 56: Line 56:
 
* [[MC-Basic:element.POSITIONFEEDBACK|POSITIONFEEDBACK]]
 
* [[MC-Basic:element.POSITIONFEEDBACK|POSITIONFEEDBACK]]
 
* [[MC-Basic:axis.POSITIONEXTERNAL|axis.POSITIONEXTERNAL]]
 
* [[MC-Basic:axis.POSITIONEXTERNAL|axis.POSITIONEXTERNAL]]
* [[Programmable Limit Switch (PLS)|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