Difference between revisions of "MC-Basic:CREATEPLSDATA"

From SoftMC-Wiki
Jump to: navigation, search
Line 41: Line 41:
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[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]]
 
* [[Axystems:MC-Basic:pls.PLSHYSTERESIS|pls.PLSHYSTERESIS]]
 
* [[Axystems:MC-Basic:pls.PLSOUTPUT|pls.PLSOUTPUT]]
 
* [[Axystems:MC-Basic:pls.PLSOUTPUT|pls.PLSOUTPUT]]

Revision as of 08:53, 22 May 2014

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.

Short form

CPDat

Syntax

CreatePlsData <number of points> <pls>

Availability

All versions

Type

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

Range

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

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