AXY:MC-Basic:axis.POSITIONCOMMANDHISTORY

From SoftMC-Wiki
Revision as of 05:43, 20 April 2017 by Chi (talk | contribs)
Jump to: navigation, search
Language: English  • 中文(简体)‎

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

See Also