MC-Basic:CREATECAMDATA

From SoftMC-Wiki
Revision as of 08:49, 22 May 2014 by Miborich (talk | contribs)
Jump to: navigation, search

This command creates a cam data structure. Any existing data structure associated with the specified cam table is erased. The cam data structure is available for use or access only after the entire process of creating the cam table is complete. All data in the table is reset to zero.

<number of points> defines the number of rows in the data structure. The cam table must contain at least 2 values. The data must be monotonic, increasing or decreasing. This property returns the number of points defined for the given cam table.

Short form

CCDat

Syntax

CreateCamData <number of points> <cam> ?<cam>.size

Availability

All versionsSince Version 4.0.1

Type

Long

Range

<number of points>: 2 to MaxLong0 to MaxLong

Scope

Configuration, Task or TerminalTask or Terminal

Limitations

  • Write only.
  • Data cannot be stored while being changed.
  • The cam table may not be in use.
  • The cam must be declared as CAM. Read Only

Examples

CreateCamData 24 MyCam?Cam1 .Size

See Also