MC-Basic:axis.CAMCYCLE
This query returns the actual number of cycles that have executed. It is an axis property, since the same cam table may be run simultaneously by more than one axis. The number of cycles for which a specific cam table is run is set by the <cam>.CYCLE property.
-1 is returned for a cam table being run continuously.
Short form
<"axis">.Ccyc
Syntax
?<axis>.CamCycle
Availability
All versions
Type
Long
Range
0 to MaxLong
Default
1
Scope
Configuration, Task or Terminal.
Limitations
Read only.
The axis must be in the CAM mode of operation.
Examples
?Axis1.CamCycle