MC-Basic:pls.PLSPropagationDisableDelay

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

This delay is used for instances in which the PLS sets the external device to the disabled state.
The delay value is assigned by the user. The default value of 0 means there is no delay at all.
The value is expressed in milliseconds, in double floating point format. Internally, it is always rounded to the nearest microsecond (e.g., 2.5001 is considered 2.5).

The delay is calculated as follows:
t = (PLSPropagationDelay+PLSPropagationDisableDelay) * 1000 + Δt
where Δt is the inter-sample delay; that is, the time at which the motion crosses the PLS position, as measured from the beginning of the sample (t=0).

NOTE-Info.svgNOTE
Must be remember that there is another older property PLSPropagationDelay that also indicates on delay. This property doesn't distinguish between the external device state. It's default value is zero so if not setting any value by the user - it won't be taken into calculation.
NOTE-Info.svgNOTE
Since PLSPropagationDisableDelay values are given in milliseconds, the user is responsible for changing it after any change in the bus[*].cycletime.
NOTE-Info.svgNOTE
Value will be in double-floating point format, internally always rounded up to microsecond value (i.e. 2.5001 same as 2.5)

Short form

none

Syntax

<pls>.PLSDisableDelay = <double>

Availability

Version 4.7.x and later.

Type

double

Range

0 - MAXD

Units

ms

Default

0

Scope

Task, Terminal

Limitations

Can be set only when PLS is disabled.

Examples

PLSDisableDelay = 2.5

See Also