Difference between revisions of "MC-Basic:element.POSITIONCOMMANDHISTORY"

From SoftMC-Wiki
Jump to: navigation, search
(new page)
 
 
Line 1: Line 1:
 +
{{Languages|MC-Basic:element.POSITIONCOMMANDHISTORY}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=

Latest revision as of 02:49, 27 October 2017

Language: English  • 中文(简体)‎

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.

<element>.PositionErrorDelay  = <NUM>

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

<element>.PositionCommandHistory[<NUM>]   → PCMD(t-<NUM>) </br>


NOTE-Info.svgNOTE
Querying on position history where t=0 should return the same value of querying on PCMD. This is true only in case of querying from event or recording. From terminal/user task it can’t be promised.

Short form

<element>.PCmdH

Syntax

?<element>.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

Axis
?A1.PCmdH

Group
?G1.PCmdh

See Also