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

From SoftMC-Wiki
Jump to: navigation, search
Line 9: Line 9:
  
 
'''t = (PLSPropagationDelay+PLSDisableDelay)*1000 + Δt'''
 
'''t = (PLSPropagationDelay+PLSDisableDelay)*1000 + Δt'''
 +
<br>
 +
* where '''Δt''' is the inter-sample delay, time when the position passes PLSpos value measured from t=0 (beginning of the sample).
 +
<br>
  
 
{{Note| 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| 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. }}

Revision as of 12:41, 24 September 2018

The delay is for case when the PLS set the external device to disable state. The time is express the time between the moment of sending the position command to the drive until it is set as a command value of the drive's position loop. Its units are in milliseconds and will be assigned by the user. It's default value will be 0 means no delay at all.


t = (PLSPropagationDelay+PLSDisableDelay)*1000 + Δt

  • where Δt is the inter-sample delay, time when the position passes PLSpos value measured from t=0 (beginning of the sample).


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
As the PLSDisableDelay values are given in milliseconds it will be a user responsibility to change it after each change of the bus[0].cyceltime.
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

4.7.?

Type

double

Range

0 - MAXD

Units

ms

Default

0

Scope

Task, Terminal

Examples

PLSDisableDelay = 2.5

See Also