Difference between revisions of "MC-Basic:pls.PLSREPEAT"
m |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 10: | Line 10: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | Sets or queries the repetition interval of the PLS. | + | Sets or queries the repetition interval of the PLS. <br> |
+ | |||
+ | PLS positions may be repeated continually at a specified interval of encoder counts.<br> | ||
+ | The repetition interval must be both positive and greater than the absolute value difference between the lowest and highest PLS position values.<br> | ||
+ | |||
+ | A value of 0 disables repetition. | ||
+ | |||
|TYPE= | |TYPE= | ||
Line 19: | Line 25: | ||
|UNITS= | |UNITS= | ||
− | + | Encoder counts | |
|DEFAULT= | |DEFAULT= | ||
Line 28: | Line 34: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | + | *Can be set only when PLS is disabled.<br> | |
+ | *Cannot be a negative value | ||
|EXAMPLE= | |EXAMPLE= | ||
Line 35: | Line 42: | ||
|SEE ALSO= | |SEE ALSO= | ||
* [[MC-Basic:COMMON SHARED ... AS PLS|COMMON SHARED ... AS PLS]] | * [[MC-Basic:COMMON SHARED ... AS PLS|COMMON SHARED ... AS PLS]] | ||
− | * [[ | + | * [[MC-Basic:CREATEPLSDATA|CREATEPLSDATA]] |
}} | }} |
Latest revision as of 08:13, 11 October 2018
Sets or queries the repetition interval of the PLS.
PLS positions may be repeated continually at a specified interval of encoder counts.
The repetition interval must be both positive and greater than the absolute value difference between the lowest and highest PLS position values.
A value of 0 disables repetition.
Short form
<pls>.Prep
Syntax
<pls>.PlsRepeat = <repetition interval>
Availability
All versions
Type
Double
Range
Greater than abs(maximum PLS position - minimum PLS position)
Units
Encoder counts
Default
0
Scope
Configuration, Task or Terminal
Limitations
- Can be set only when PLS is disabled.
- Cannot be a negative value
Examples
Pls1.PlsRepeat = 1000