Difference between revisions of "MC-Basic:LOADCAMDATA"
m (Text replace - " Cam table" to " cam table") |
(Added link to STORECAMDATA) |
||
(7 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. | + | 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 39: | Line 39: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:cam.CYCLE|cam.CYCLE]] |
− | * [[ | + | * [[MC-Basic:cam.MASTERDATA|cam.MASTERDATA]] |
− | * [[ | + | * [[MC-Basic:cam.NEXT|cam.NEXT]] |
− | * [[ | + | * [[MC-Basic:cam.PREVIOUS|cam.PREVIOUS]] |
− | * [[ | + | * [[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