CAM_PROFILE Structure

The CAM_PROFILE data type is an array of coefficients representing a calculated cam profile that can be used as input to a time cam or position cam instruction. The only element available is Status:
Mnemonic
Data Type
Description
Status
DINT
The status parameter indicates that the Cam Profile array element has been calculated. If you attempt the execution of a camming instruction using an uncalculated element in a cam profile, the instruction produces an error.
0 = cam profile element was not calculated
1 = cam profile element is being calculated
2 = cam profile element was calculated
n = cam profile element was calculated and is being used by (n-2) MAPC and MATC instructions.
IMPORTANT:
Do not attempt to copy data between CAM_PROFILE and CAM_PROFILE_EXTENDED data types. It will result in data corruption.
TIP:
You cannot convert the CAM_PROFILE data type to CAM_PROFILE_EXTENDED, and you cannot convert the CAM_EXTENDED data type to CAM.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.