Difference between revisions of "MC-Basic:pls.PLSHYSTERESIS"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:pls.PLSHYSTERESIS to MC-Basic:pls.PLSHYSTERESIS: Global renaming of Axystems: namespace into (Main):)
m
 
Line 12: Line 12:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Set or query the hysteresis level of the PLS. Hysteresis is used to prevent a PLS from being fired repeatedly when the axis is at the defined position.
+
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 30: Line 36:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
The hysteresis may be set only when the PLS is disabled.
+
Can be set only when PLS is disabled.
  
 
|EXAMPLE=
 
|EXAMPLE=

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

See Also