Difference between revisions of "AXY:MC-Basic:axis.POSITIONCOMMANDHISTORY"
| Line 46: | Line 46: | ||
|SEE ALSO= | |SEE ALSO= | ||
| − | * [[ | + | * [[MC-Basic:axis.POSITIONCOMMAND|axis.POSITIONCOMMAND]] |
* [[Axystems:MC-Basic:axis.POSITIONERRORDELAY|axis.POSITIONERRORDELAY]] | * [[Axystems:MC-Basic:axis.POSITIONERRORDELAY|axis.POSITIONERRORDELAY]] | ||
}} | }} | ||
Revision as of 08:46, 22 May 2014
This property returns the history of the position command generated by the motion profiler. It can return the 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 the position history where t=0 returns the value of PCMD, provided the query is from an event or a recording.
It might not return a valid result if the query is from a terminal or user task.
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