Difference between revisions of "MC-Basic:LOADCAMDATA"
m (Text replace - "CAM table" to "Cam table") |
m (Text replace - " Cam table" to " cam table") |
||
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 | + | 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. |
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''>: cam table (defined using COMMON SHARED…AS CAM) |
|RANGE= | |RANGE= | ||
− | Existing | + | Existing cam table name. |
|UNITS= | |UNITS= |
Revision as of 18:13, 20 March 2014
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.
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