Difference between revisions of "MC-Basic:axis.COMPPOSITIONCOMMAND"
(added xreference) |
|||
Line 49: | Line 49: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[MC-Basic:COMMON SHARED ... AS | + | * [[MC-Basic:COMMON SHARED ... AS COMP|COMMON SHARED comp_name AS COMP]] |
+ | * [[MC-Basic:axis.COMPPOSITIONCOMMAND|axis.COMPPOSITIONCOMMAND]] | ||
+ | * [[MC-Basic:axis.COMPPOSITIONFEEDBACK|axis.COMPPOSITIONFEEDBACK]] | ||
* [[MC-Basic:CREATECOMP|CREATECOMP]] | * [[MC-Basic:CREATECOMP|CREATECOMP]] | ||
* [[MC-Basic:LOADCOMPDATA|LOADCOMPDATA]] | * [[MC-Basic:LOADCOMPDATA|LOADCOMPDATA]] | ||
Line 56: | Line 58: | ||
* [[MC-Basic:compTable.MAXPOSITION|compTable.MAXPOSITION]] | * [[MC-Basic:compTable.MAXPOSITION|compTable.MAXPOSITION]] | ||
* [[MC-Basic:COMPSET|COMPSET]] | * [[MC-Basic:COMPSET|COMPSET]] | ||
− | * [[MC-Basic: | + | * [[MC-Basic:compTable.TARGETDATA|compTable.TARGETDATA]] |
− | + | * [[MC-Basic:compTable.SOURCEDATA|compTable.SOURCEDATA]] | |
− | * [[MC-Basic: | + | * [[MC-Basic:compTable.DIRECTION|compTable.DIRECTION]] |
− | * [[MC-Basic: | ||
− | |||
}} | }} |
Revision as of 15:48, 23 November 2016
The Actual Corrected Position command query .This property returns the position command generated by the motion profiler after the correction value added to it. When no correction is used (i.e. all the comp tables involves the axis as its target is inactive) then this value would be identical to the Axis.Pcmd.
Signal-flow diagram of position values. The generated Position Command is corrected by the position backlash value and the compensation table value. These form the CompPositionCommand which is later multiplied by PositionFactor to translate it into drive position units (counts) - CCMD. The corresponding value of CCMD is returned from the drive as CFB, divided by PositionFactor and read as CompPositionFeedback value. The actual PositionFeedback value is compensated back (subtracted) with compensation table value.
Short form
<axis>.CompPCMD
Syntax
?<axis>.CompPositionCommand
Availability
Since Version 3.6.20
Type
Double
Range
± MaxDouble
Units
User Axis position units as given by <axis>.PositionFactor
Scope
Task and Terminal
Limitations
Read Only
Examples
<comp>.SourceData[1][15] = 120.0 position on axis
<comp>.TargetData[1][15] = 0.125 correction value regarding SourceData position
Move <axis> 120.0
Print <axis>.PCmd
--> 120.0 (it’s the “expected user value”)
Print <axis>.CompPCmd
--> 120.125 (it’s the “real value”)