Difference between revisions of "MC-Basic:compTable.TARGETDATA"
m |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:compTable.TARGETDATA}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 9: | Line 10: | ||
|AVAILABILITY= | |AVAILABILITY= | ||
− | + | Since Version 3.6.20 | |
|DESCRIPTION= | |DESCRIPTION= | ||
Line 46: | Line 47: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:compTable.SOURCEDATA|compTable.SOURCEDATA]] |
− | + | * [[MC-Basic:compTable.MINPOSITION|compTable.MINPOSITION]] | |
+ | * [[MC-Basic:compTable.MAXPOSITION|compTable.MAXPOSITION]] | ||
+ | * [[MC-Basic:compTable.TARGETDATA|compTable.TARGETDATA]] | ||
+ | * [[MC-Basic:compTable.DIRECTION|compTable.DIRECTION]] | ||
+ | * [[MC-Basic:COMPSET|COMPSET]] | ||
+ | * [[MC-Basic:CREATECOMP|CREATECOMP]] | ||
+ | * [[MC-Basic:COMMON SHARED ... AS COMP|COMMON SHARED comp_name AS COMP]] | ||
+ | * [[MC-Basic:axis.COMPPOSITIONFEEDBACK|axis.COMPPOSITIONFEEDBACK]] | ||
+ | * [[MC-Basic:axis.COMPPOSITIONCOMMAND|axis.COMPPOSITIONCOMMAND]] | ||
}} | }} |
Latest revision as of 06:55, 3 May 2017
Language: | English • 中文(简体) |
---|
TargetData represents a value that is added to the SourceData position of a given axis when compensation is active. At positions between two SourceData points the added TargetData value is interpolated .
This property is used to access a discrete element of the target data in a compensation table. The axis index specifies the target axis in the table. The index is of the target data in this specific axis.
Syntax
<comp table name>.Target Data[<axis index>][<index >] = <value >
? <comp table name>.TargetData[<axis index>][<index >]
Availability
Since Version 3.6.20
Type
<axis index>: Long
<index of target>: Long
<value>: Double
Range
<axis index>: 1 to System.NumberAxes
<index of target>: 1 to MaxLong (limited by RAM size)
<value>: ± MaxDouble
Units
Target axis position units
Scope
Task and Terminal
Limitations
The Comp table must not be in use (CompActive=0) for TargetData writing
Examples
Comp1.targetdata[1][23]=3