Difference between revisions of "MC-Basic:pls.PLSPOLARITY"
m (1 revision) |
(Correct description) |
||
Line 11: | Line 11: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | Sets or queries the initial polarity of the system output associated with a PLS. The initial polarity of a PLS is specified as 1 or 0. The output state is set when the PLS is enabled. | + | Sets or queries the initial polarity of the system output associated with a PLS. The initial polarity of a PLS is specified as 1 or 0. The output state is set when the PLS is enabled and when the the axis is located before the first PLS position. If the axis position when enabling the PLS is not located at this segment, the output polarity 0 or 1 is set according to the current position. |
|TYPE= | |TYPE= |
Revision as of 07:39, 1 February 2012
Sets or queries the initial polarity of the system output associated with a PLS. The initial polarity of a PLS is specified as 1 or 0. The output state is set when the PLS is enabled and when the the axis is located before the first PLS position. If the axis position when enabling the PLS is not located at this segment, the output polarity 0 or 1 is set according to the current position.
Short form
<pls>.Ppol
Syntax
<pls>.PlsPolarity = <polarity>
?<pls>.PlsPolarity
Availability
All versions
Type
Long
Range
0 or 1
Default
1
Scope
Configuration, Task or Terminal
Limitations
The PLS polarity is only set when the PLS is disabled.
Examples
Pls1.PlsPolarity = 0