Difference between revisions of "AXY:MC-Basic:axis.POSITIONCOMMANDHISTORY"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<axis>''" to "<''axis''>")
Line 1: Line 1:
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
''<axis>''.PCmdH
+
<''axis''>.PCmdH
  
 
|SYNTAX=
 
|SYNTAX=
?''<axis>''.PositionCommandHistory[t]
+
?<''axis''>.PositionCommandHistory[t]
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 27: Line 27:
  
 
|UNITS=
 
|UNITS=
User axis position units, as given by ''<axis>''.POSITIONFACTOR.
+
User axis position units, as given by <''axis''>.POSITIONFACTOR.
  
 
|DEFAULT=
 
|DEFAULT=

Revision as of 17:45, 16 March 2014

This property returns the history of  position command generated by the motion profiler. It can return position history buffer as a function of position error delay value.

<axis>.PositionErrorDelay     = NUM

<axis>.PositionCommandHistory[1]  -> PCMD(t-1)

<axis>.PositionCommandHistory[<NUM>]   -> PCMD(t-<NUM>)

Querying on position history where t=0 should return the value of querying on pcmd.   This is true onlyin case of querying from event or recording. From terminal/user taks it can’t be promised.

Short form

<axis>.PCmdH

Syntax

?<axis>.PositionCommandHistory[t]

Availability

4.5.32

Type

Double

Range

+/- MaxDouble

Units

User axis position units, as given by <axis>.POSITIONFACTOR.

Scope

Configuration, Task or Terminal

Limitations

Read-Only

Examples

?Xaxis.PCmdH

See Also