Difference between revisions of "MC-Basic:CREATEPLSDATA"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Write-Only" to "Write only")
m
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:CREATEPLSDATA}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
CreatePlsData ''<number of points>'' ''<pls>''
+
CreatePlsData ''<number of points>'' ''<pls name>''
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 10: Line 11:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This command creates a PLS data structure. This structure is a vector used to hold the PLSPOSITION values. Any existing data structure associated with the specified PLS is erased and all data in the structure is reset to zero. ''<number of points>'' defines the number of rows in the data structure.
+
This command creates a PLS data table for holding the PLS position values. Any existing data associated with the specified PLS is erased and all PLS position data is reset to zero.<br>
 +
''<number of points>'' defines the number of rows in the position data table.
  
 
|TYPE=
 
|TYPE=
Line 19: Line 21:
 
''<number of points>'': 1 to MaxLong
 
''<number of points>'': 1 to MaxLong
  
''<pls>'': Any name that is not a keyword and is not already given to a variable in the system.
+
''<pls name>'': Any name that is not a keyword and is not already given to a variable in the system.
  
 
|UNITS=
 
|UNITS=
Line 31: Line 33:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write only. Data cannot be stored while being changed. The PLS cannot be enabled while data are being changed. The PLS must be declared as PLS.
+
*Write only.  
 +
*Data cannot be stored while being changed.  
 +
*The PLS cannot be enabled while data are being changed.  
 +
*The PLS must be declared as PLS.
  
 
|EXAMPLE=
 
|EXAMPLE=
CreatePlsData 10 MyPls
+
<pre>CreatePlsData 10 MyPls</pre>
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:COMMON SHARED ... AS PLS|COMMON SHARED ... AS PLS]]
+
* [[MC-Basic:COMMON SHARED ... AS PLS|COMMON SHARED ... AS PLS]]
* [[Axystems:MC-Basic:pls.PLSENABLE|pls.PLSENABLE]]
+
* [[MC-Basic:pls.PLSENABLE|pls.PLSENABLE]]
* [[Axystems:MC-Basic:pls.PLSHYSTERESIS|pls.PLSHYSTERESIS]]
+
* [[MC-Basic:pls.PLSHYSTERESIS|pls.PLSHYSTERESIS]]
* [[Axystems:MC-Basic:pls.PLSOUTPUT|pls.PLSOUTPUT]]
+
* [[MC-Basic:pls.PLSOUTPUT|pls.PLSOUTPUT]]
* [[Axystems:MC-Basic:pls.PLSPOLARITY|pls.PLSPOLARITY]]
+
* [[MC-Basic:pls.PLSPOLARITY|pls.PLSPOLARITY]]
* [[Axystems:MC-Basic:PLSLIST|PLSLIST]]
+
* [[MC-Basic:PLSLIST|PLSLIST]]
  
  
 
}}
 
}}

Latest revision as of 13:14, 10 October 2018

Language: English  • 中文(简体)‎

This command creates a PLS data table for holding the PLS position values. Any existing data associated with the specified PLS is erased and all PLS position data is reset to zero.
<number of points> defines the number of rows in the position data table.

Short form

CPDat

Syntax

CreatePlsData <number of points> <pls name>

Availability

All versions

Type

<number of points>: Long
<pls>: string

Range

<number of points>: 1 to MaxLong

<pls name>: Any name that is not a keyword and is not already given to a variable in the system.

Scope

Configuration, Task or Terminal

Limitations

  • Write only.
  • Data cannot be stored while being changed.
  • The PLS cannot be enabled while data are being changed.
  • The PLS must be declared as PLS.

Examples

CreatePlsData 10 MyPls

See Also