Difference between revisions of "MC-Basic:pls.PLSHYSTERESIS"
m (1 revision) |
m |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | + | Sets or queries the hysteresis level of the PLS. <br> | |
+ | |||
+ | If an axis stops at a specified PLS position, the state of the digital output may be continually toggled due to slight oscillations in the actual axis position. <br> | ||
+ | To prevent repeated output triggering, a hysteresis value can be applied around the PLS positions. Typically, 5 to 10 encoder counts (converted to position units) is sufficient. <br> | ||
+ | If the axis driving the PLS stops at a PLS position within the hysterisis range, the PLS state does not change.<br> | ||
+ | |||
+ | PLSHysteresis is only necessary if the system stops on or near a PLS position. | ||
|TYPE= | |TYPE= | ||
Line 21: | Line 27: | ||
|UNITS= | |UNITS= | ||
− | User axis position units, as given by '' | + | User axis position units, as given by <''axis''>.POSITIONFACTOR |
|DEFAULT= | |DEFAULT= | ||
Line 30: | Line 36: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | + | Can be set only when PLS is disabled. | |
|EXAMPLE= | |EXAMPLE= | ||
Line 36: | Line 42: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:axis.POSITIONFACTOR|axis.POSITIONFACTOR]] |
− | * [[ | + | * [[MC-Basic:COMMON SHARED ... AS PLS|COMMON SHARED ... AS PLS]] |
}} | }} |
Latest revision as of 13:55, 10 October 2018
Sets or queries the hysteresis level of the PLS.
If an axis stops at a specified PLS position, the state of the digital output may be continually toggled due to slight oscillations in the actual axis position.
To prevent repeated output triggering, a hysteresis value can be applied around the PLS positions. Typically, 5 to 10 encoder counts (converted to position units) is sufficient.
If the axis driving the PLS stops at a PLS position within the hysterisis range, the PLS state does not change.
PLSHysteresis is only necessary if the system stops on or near a PLS position.
Short form
<pls>.Phys
Syntax
<pls>.PlsHysteresis = <hysteresis value>
?<pls>.PlsHysteresis
Availability
All versions
Type
Double
Range
Greater than 0
Units
User axis position units, as given by <axis>.POSITIONFACTOR
Default
0
Scope
Configuration, Task or Terminal
Limitations
Can be set only when PLS is disabled.
Examples
PLS1.Phys = 10