Difference between revisions of "MC-Basic:CREATECAMDATA"
Line 47: | Line 47: | ||
* [[MC-Basic:cam.SIZE|cam.SIZE]] | * [[MC-Basic:cam.SIZE|cam.SIZE]] | ||
* [[MC-Basic:CREATECAMDATA|CREATECAMDATA]] | * [[MC-Basic:CREATECAMDATA|CREATECAMDATA]] | ||
− | * [[ | + | * [[MC-Basic:cam.SLAVEDATA|cam.SLAVEDATA]] |
* [[MC-Basic:COMMON SHARED ... AS CAM|COMMON SHARED ... AS CAM]] | * [[MC-Basic:COMMON SHARED ... AS CAM|COMMON SHARED ... AS CAM]] | ||
* [[MC-Basic:LOADCAMDATA|LOADCAMDATA]] | * [[MC-Basic:LOADCAMDATA|LOADCAMDATA]] |
Revision as of 08:49, 22 May 2014
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