Difference between revisions of "MC-Basic:LOADCAMDATA"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<cam>''" to "<''cam''>")
(Added link to STORECAMDATA)
 
(9 intermediate revisions by 2 users not shown)
Line 10: Line 10:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This command causes data to be loaded from a file into a CAM data structure. Any existing data structure, associated with the specified CAM table, is erased. The CAM data structure ose available for use only after the entire process of loading the data is complete. BASIC Moves Development Studio allows you to add a CSV CAM file to your project. It then converts it to binary format automatically when the project is loaded.
+
This command causes data to be loaded from a file into a CAM data structure. Any existing data structure, associated with the specified cam table, is erased. The CAM data structure ose available for use only after the entire process of loading the data is complete. ControlStudio allows you to add a CSV CAM file to your project. It then converts it to binary format automatically when the project is loaded.
  
 
The monotonicity of the master data is checked. If the data are not monotonic, the data are still loaded, but a message (severity note) is given.
 
The monotonicity of the master data is checked. If the data are not monotonic, the data are still loaded, but a message (severity note) is given.
Line 16: Line 16:
 
|TYPE=
 
|TYPE=
 
<''filename''>: File specification, including file name and extension<br>
 
<''filename''>: File specification, including file name and extension<br>
<''cam''>: CAM table (defined using COMMON SHARED…AS CAM)
+
<''cam''>: cam table (defined using COMMON SHARED…AS CAM)
  
 
|RANGE=
 
|RANGE=
Existing CAM table name.
+
Existing cam table name.
  
 
|UNITS=
 
|UNITS=
Line 31: Line 31:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
CAM table cannot be in use. The CAM data file must have the .CAM extension.<br>
+
Cam table cannot be in use. The CAM data file must have the .CAM extension.<br>
  
 
The data in the file must be binary, double precision floating point, and arranged row by row. The data must be in Intel format.
 
The data in the file must be binary, double precision floating point, and arranged row by row. The data must be in Intel format.
Line 39: Line 39:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:cam.CYCLE|cam.CYCLE]]
+
* [[MC-Basic:cam.CYCLE|cam.CYCLE]]
* [[Axystems:MC-Basic:cam.MASTERDATA|cam.MASTERDATA]]
+
* [[MC-Basic:cam.MASTERDATA|cam.MASTERDATA]]
* [[Axystems:MC-Basic:cam.NEXT|cam.NEXT]]
+
* [[MC-Basic:cam.NEXT|cam.NEXT]]
* [[Axystems:MC-Basic:cam.PREVIOUS|cam.PREVIOUS]]
+
* [[MC-Basic:cam.PREVIOUS|cam.PREVIOUS]]
* [[Axystems:MC-Basic:COMMON SHARED ... AS CAM|COMMON SHARED ... AS CAM]]
+
* [[MC-Basic:COMMON SHARED ... AS CAM|COMMON SHARED ... AS CAM]]
 
+
* [[MC-Basic:STORECAMDATA|STORECAMDATA]]
  
 
}}
 
}}

Latest revision as of 06:43, 28 January 2024

This command causes data to be loaded from a file into a CAM data structure. Any existing data structure, associated with the specified cam table, is erased. The CAM data structure ose available for use only after the entire process of loading the data is complete. ControlStudio allows you to add a CSV CAM file to your project. It then converts it to binary format automatically when the project is loaded.

The monotonicity of the master data is checked. If the data are not monotonic, the data are still loaded, but a message (severity note) is given.

Short form

LCDat

Syntax

LoadCamData <filename> <cam>

Availability

All versions

Type

<filename>: File specification, including file name and extension
<cam>: cam table (defined using COMMON SHARED…AS CAM)

Range

Existing cam table name.

Scope

Configuration, Task or Terminal

Limitations

Cam table cannot be in use. The CAM data file must have the .CAM extension.

The data in the file must be binary, double precision floating point, and arranged row by row. The data must be in Intel format.

Examples

LoadCamData Cam_Data.CAM MyCam

See Also