MC-Basic:pls.PLSHYSTERESIS

From SoftMC-Wiki
Revision as of 13:55, 10 October 2018 by Guy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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