Difference between revisions of "MC-Basic:CREATECOMP"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:CREATECOMP}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 7: Line 8:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Versions 3.6.20 and higher
+
Since Version 3.6.20
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This command defines the compensation table size. Any data associated with the specified Comp table is erased.
+
This command defines the compensation (Comp) table size. Any data associated with the specified Comp table is erased.
  
<comp table name> is the predefined comp variable
+
<'comptablename''> is the predefined comp variable
  
 
<''k1,k2,….kn''> defines the number of entries in the table for each axes
 
<''k1,k2,….kn''> defines the number of entries in the table for each axes
Line 35: Line 36:
  
 
|EXAMPLE=
 
|EXAMPLE=
CreateComp Comp1 3 ,4, 8
+
<pre>CreateComp Comp1 3, 4, 8
 +
</pre>
 +
 
 +
It will create a table with 3×4×8 number of rows and 6 number of columns
  
(It will create a table with 3*4*8 number of rows and 6 number of columns )
 
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:COMMON SHARED comp_name AS COMP|COMMON SHARED comp_name AS COMP]]
+
* [[MC-Basic:COMMON SHARED ... AS COMP|COMMON SHARED comp_name AS COMP]]
* [[Axystems:MC-Basic:CREATECAMDATA|CREATECAMDATA]]
+
* [[MC-Basic:axis.COMPPOSITIONCOMMAND|axis.COMPPOSITIONCOMMAND]]
 
+
* [[MC-Basic:axis.COMPPOSITIONFEEDBACK|axis.COMPPOSITIONFEEDBACK]]
 +
* [[MC-Basic:compTable.MINPOSITION|compTable.MINPOSITION]]
 +
* [[MC-Basic:compTable.MAXPOSITION|compTable.MAXPOSITION]]
 +
* [[MC-Basic:compTable.TARGETDATA|compTable.TARGETDATA]]
 +
* [[MC-Basic:compTable.SOURCEDATA|compTable.SOURCEDATA]]
 +
* [[MC-Basic:compTable.DIRECTION|compTable.DIRECTION]]
 +
* [[MC-Basic:compTable.COMPACTIVE|compTable.CompActive]]
 +
* [[MC-Basic:CREATECOMP|CREATECOMP]]
 +
* [[MC-Basic:LOADCOMPDATA|LOADCOMPDATA]]
 +
* [[MC-Basic:COMPSET|COMPSET]]
 +
* [[MC-Basic:STORECOMPDATA|STORECOMPDATA]]
  
 
}}
 
}}

Latest revision as of 08:49, 3 May 2017

Language: English  • 中文(简体)‎

This command defines the compensation (Comp) table size. Any data associated with the specified Comp table is erased.

<'comptablename> is the predefined comp variable

<k1,k2,….kn> defines the number of entries in the table for each axes

Short form

CComp

Syntax

CreateComp <comptablename> <k1,k2,….kn>

Availability

Since Version 3.6.20

Type

<k1,k2,….kn>  Long

Range

<k1,k2,….kn> : 2 to MaxLong

Scope

Task and Terminal

Limitations

The Comp table must not be in use (CompActive=0)

Examples

CreateComp Comp1 3, 4, 8

It will create a table with 3×4×8 number of rows and 6 number of columns

See Also