CAM_PROFILE_EXTENDED Structure

The CAM_PROFILE_EXTENDED 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. CAM_PROFILE_EXTENDED is supported by
Compact GuardLogix
5580,
CompactLogix
5380, and
CompactLogix
5480 controllers only.
This table describes the format of the array elements.
Mnemonic
Data Type
Description
Status
DINT
The status parameter indicates that the Cam Profile Extended array element has been calculated. If you attempt the execution of a camming instruction by 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 has been calculated
n = cam profile element has been calculated and is being used by (n-2) MAPC and MATC instructions.
Segment Type
DINT
The type of interpolation:
0 = linear
1 = cubic
Master
LREAL
The x value of the point.
Slave
LREAL
The y value of the point.
C0
LREAL
Coefficients of the polynomial equation that determines slave position as a function of master position or time. See Motion Calculate Cam Profile (MCCP) for additional information.
C1
LREAL
IMPORTANT:
Modification of these coefficients can cause unintended motion.
Coefficients of the polynomial equation that determines slave position as a function of master position or time.
C2
LREAL
C3
LREAL
IMPORTANT:
Do not attempt to copy data between CAM_PROFILE and CAM_PROFILE_EXTENDED data types. Copying the data between these data types 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.