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

From SoftMC-Wiki
Jump to: navigation, search
(Syntax correction)
m
 
(14 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|SHORT FORM= none
 
|SHORT FORM= none
 
|SYNTAX= <pls>.PLSEnableDelay = <double>
 
|SYNTAX= <pls>.PLSEnableDelay = <double>
|AVAILABILITY= 4.7.?
+
|AVAILABILITY= Version 4.7.x and later.
 
|DESCRIPTION=
 
|DESCRIPTION=
  
It is new property  that will be added after 4.7.? FW version. 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.
+
This delay is used for instances in which the PLS sets the external device to the enabled state. <br>
 +
The delay value is assigned by the user. The default value of 0 means there is no delay at all.<br>
 +
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).<br>
 +
 +
The delay is calculated as follows:<br>
 +
t = (PLSPropagationDelay+PLSPropagationDisableDelay) * 1000 + Δt <br>
 +
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).<br>
  
From fw version 4.7.3 until 4.7.? , it will be switch at:
 
 
'''t = PLSPropagationDelay*1000 + Δt'''<br/>
 
From fw version 4.7.? and above<br/>
 
'''t = (PLSPropagationDelay+PLSEnableDelay )*1000 + Δt'''
 
  
 
{{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. }}
  
{{Note| As the PLSDisableDelay values are given in milliseconds it will be a user responsibility to change it after each change of the sercos.cyceltime.}}
+
{{Note| Since PLSPropagationDisableDelay values are given in milliseconds, the user is responsible for changing it after any change in the '''bus[*].cycletime.'''}}
  
 
{{Note|Value will be in double-floating point format, internally always rounded up to microsecond value '''(i.e. 2.5001 same as 2.5)'''}}
 
{{Note|Value will be in double-floating point format, internally always rounded up to microsecond value '''(i.e. 2.5001 same as 2.5)'''}}
Line 24: Line 25:
 
|DEFAULT= 0
 
|DEFAULT= 0
 
|SCOPE = Task, Terminal
 
|SCOPE = Task, Terminal
|LIMITATIONS=
+
|LIMITATIONS= Can be set only when PLS is disabled.
 
|EXAMPLE= PLSEnableDelay = 2.5
 
|EXAMPLE= PLSEnableDelay = 2.5
 
|SEE ALSO=  
 
|SEE ALSO=  
 
*[[AXY:PLS On/Off delay| PLS On/Off delay]]  
 
*[[AXY:PLS On/Off delay| PLS On/Off delay]]  
*[[Axystems:MC-Basic:PLSDisableDelay| PLSDisableDelay]]  
+
*[[MC-Basic:pls.PLSPropagationDisableDelay| PLSPropagationDisableDelay]]  
*[[Axystems:MC-Basic:pls.PLSPOLARITY | PLSPolarity ]]  
+
*[[MC-Basic:pls.PLSPOLARITY| PLSPolarity ]]  
*[[Axystems:MC-Basic:pls.PLSPropagationDelay| PLSPropagationDelay]]
+
*[[MC-Basic:pls.PLSPropagationDelay| PLSPropagationDelay]]
*[[Axystems:MC-Basic:pls.PLSPOLARITY | PLSPOLARITY ]]
 
 
}}
 
}}

Latest revision as of 14:54, 10 October 2018

This delay is used for instances in which the PLS sets the external device to the enabled 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>.PLSEnableDelay = <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

PLSEnableDelay = 2.5

See Also