Cam attributes, Long camgetcyclecount(void), Long camgetcyclelimit(void) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual
Page 62: Long camgetfreesegments(void), Cam attributes -22

Publication 2098-PM001E-EN-P — July 2002
2-22
Referencing the Motion Library
Returns the cam cycle count.
The cycle count is the number of complete cycles that the cam has
gone through since it was enabled.
Cam cycle count is in cycles.
Returns the cam cycle limit.
The cycle limit is the number of cycles that the cam will go through
before automatically disabling. If the cycle limit is zero, the cam will
run continuously.
• Positive values for limit will disable the cam after the given number
of cycles in the positive direction. No checks are made in the
negative direction.
• Negative values for limit will disable the cam after the given
number of cycles in the negative direction. No checks are made in
the positive direction.
Cam cycle limit is in cycles.
long CamGetFreeSegments(void);
Gets the number of free segments.
Returns zero if the table is not open. Otherwise, returns the number of
free segments.