Automated Canned Cycle Variables
Cycle variables are classified as drilling (reaming, tapping, etc.) and threading. The “Drill Cycle Variables” with one exception start with the characters $CY; the “Thread Cycle Variables” all start with the characters $TH.
Drill Cycle Variables
The $CRMODE Variable
Selected retract plane. (<0:? 0:Initial 1:R-Plane) Type: Numeric, Read/Write |
The $CRMODE variable contains the selected retract plane for cycles. If the value is less than one (1) then the retract plane is unknown.
The $CYCLRO Variable
Cycle ORIENT clearance distance Type: Numeric, Read/Write |
The $CYCLRO variable holds the REG_CYCLE_BORE_JOG ORIENT type cycle clearance specified on the last BORE with ORIENT or BORE-BACK cycle. If neither cycle has been processed, the variable will be set to zero.
The $CYCLRP Variable
Cycle standard clearance Type: Numeric, Read/Write |
The $CYCLRP variable holds the REG_CYCLE_CLEAR cycle clearance specified on the last cycle. If a cycle has not yet been processed, the variable will be set to zero.
The $CYCLR{XYZ} Variables
Cycle ORIENT xyz clearance Type: Numeric, Read/Write |
$CYCLRX $CYCLRY $CYCLRZ
These variables hold the REG_CYCLE_BORE_JOG_[XYZ] xyz components of the ORIENT type cycle clearance specified on the last BORE with ORIENT or BORE-BACK cycle. If neither cycle has been processed, these variables will be set to $NULL.
The $CYDECR Variable
Cycle DECR value Type: Numeric, Read/Write |
The $CYDECR variable holds the REG_CYCLE_STEP_DECR cycle step DECR value specified on the last DEEP or BRKCHP cycle. If neither cycle type has been processed, the variable will be set to zero.
The $CYDIR Variable
TAP cycle in-feed direction (0:?, 1:CLW, 2:CCLW) Type: Numeric, Read-only |
This read-only variable holds the TAP cycle in-feed spindle direction. It is only valid for TAP cycles (i.e., floating, rigid, deep and chip-breaking).
The $CYDPTH Variable
Total cycle depth Type: Numeric, Read/Write |
The $CYDPTH variable holds the REG_CYCLE_DEPTH_[XYZE] cycle depth specified on the last cycle. If a cycle has not yet been processed, the variable will be set to zero.
The $CYDWEL Variable
Cycle dwell time Type: Numeric, Read/Write |
The $CYDWEL variable holds the cycle dwell time at the full cycle depth. If the value is positive, it represents seconds. If it is negative, it represents revolutions. This variable affects Virtual Machine simulation and cycle timing.
The $CYDWLS Variable
Cycle step dwell time Type: Numeric, Read/Write |
The $CYDWLS variable holds the cycle dwell time at each step in a DEEP or BRKCHP cycle. If the value is positive, it represents seconds. If it is negative, it represents revolutions. This variable affects Virtual Machine simulation and cycle timing.
The $CYDWLT Variable
Cycle top dwell time Type: Numeric, Read/Write |
The $CYDWLT variable holds the cycle dwell time at each retract in a DEEP cycle and following the thread reversal retract of a TAP cycle. If the value is positive, it represents seconds. If it is negative, it represents revolutions. This variable affects Virtual Machine simulation and cycle timing.
The $CYFEDT Variable
Cycle feed rate type Type: Numeric, Read/Write |
The $CYFEDT variable holds the cycle feed rate type. Valid values are 1=IPM, 2=IPR, 3=MMPM, 4=MMPR, 5=PERMIN, 6=PERREV. If a cycle has not yet been processed, the variable will be set to zero.
The $CYFEDV Variable
Cycle feed rate Type: Numeric, Read/Write |
The $CYFEDV variable holds the cycle feed rate. If a cycle has not yet been processed, the variable will be set to zero.
The $CYINCR Variable
Cycle increment Type: Numeric, Read/Write |
The $CYINCR variable holds the REG_CYCLE_STEP cycle increment value. If multiple increments were coded on the cycle block, this variable represents the first increment. If a cycle has not yet been processed, the variable will be set to $NULL.
The $CYMCH Variable
Machine in-cycle flag Type: Logical, Read/Write |
The $CYMCH variable is set to $TRUE when a CYCLE block processed. It is set to $FALSE when the cycle is canceled.
The $CYMIN Variable
Cycle minimum step value Type: Numeric, Read/Write |
The $CYMIN variable contains the minimum drill step amount supported by the control. This is relevant when using the step decrement form of the DEEP and BRKCHP cycles. The minimum drill step value defined using QUEST can be changed by setting the $CYMIN variable.
The $CYORNT Variable
Cycle ORIENT angle Type: Numeric, Read/Write |
The $CYORNT variable holds the cycle ORIENT angle. It is valid on the BORE with ORIENT, BORE-BACK, TAP-RIGID, TAP-DEEP and TAP-BRKCHP cycles. If none of these cycles has been processed, the variable will be set to 0.
The $CYRATIO Variable
Cycle RATIO value Type: Numeric, Read/Write |
The $CYRATIO variable holds the cycle RATIO value and is valid for TAP and REAM cycle types. If not set, the variable has the value one (1).
The $CYRETN Variable
Cycle RETURN value Type: Numeric, Read/Write |
The $CYRETN variable holds the cycle RETURN (i.e. retract) value and is valid for all cycle types. If a cycle has not yet been processed, the variable will be set to $NULL.
The $CYRIGID Variable
Rigid cycle activation state (-1:?, 0:off, 1:on, 2:code) Type: Numeric, Read/Write |
The $CYRIGID variable indicates the rigid tap cycle activation state. It is set to two (2) when a rigid tap activation code is processed, or to one (1) when a rigid tap cycle is processed that does not require a rigid activation code. It is set to zero (0) when rigid tapping is canceled.
The $CYTYPE Variable
Cycle type Type: Numeric, Read/Write |
The $CYTYPE variable holds the cycle type. Valid values are:
- –2:
Unknown cycle type
- –1:
NOMORE
- 0:
OFF
- 1:
DRILL or CSINK
- 2:
FACE or DRILL with dwell or CSINK with dwell
- 3:
TAP-FLOAT
- 4:
Reverse TAP-FLOAT
- 5:
BORE
- 6:
BORE with dwell
- 7:
BORE with ORIENT
- 8:
BORE-BACK
- 9:
REAM
- 10:
REAM with dwell
- 11:
DRILL-DEEP
- 12:
DRILL-BRKCHP
- 13:
THRU
- 14:
TAP-RIGIDl
- 15:
Reverse TAP-RIGID
- 16:
TAP-DEEP
- 17:
Reverse TAP-DEEP
- 18:
TAP-BRKCHP
- 19:
Reverse TAP-BRKCHP
- 100:
MANUAL
Thread Cycle Variables
The $THCHFA Variable
Chamfer angle Type: Numeric, Read/Write |
The $THCHFA variable contains the thread chamfer angle.
The $THCHFL Variable
Chamfer length Type: Numeric, Read/Write |
The $THCHFL variable contains the thread chamfer length.
The $THCHFT Variable
Chamfer type (0:off, 1:on) Type: Numeric, Read/Write |
The $THCHFT variable indicates whether a thread chamfer is enabled.
The $THCUTS Variable
Number of regular passes Type: Numeric, Read/Write |
The $THCUTS variable contains the number of regular passes for the thread cycle.
The $THDPTH Variable
Thread depth Type: Numeric, Read/Write |
The $THDPTH variable contains the total thread depth.
The $THFINA Variable
Finish allowance Type: Numeric, Read/Write |
The $THFINA variable contains the amount of finish allowance.
The $THFINC Variable
Number of finish passes Type: Numeric, Read/Write |
The $THFINC variable contains the number of finish passes.
The $THMIN Variable
Thread minimum step value Type: Numeric, Read/Write |
The $THMIN variable contains the minimum thread step amount supported by the control. This is relevant when using the constant cross section in-feed method. The minimum thread step value defined using QUEST can be changed by setting the $THMIN variable.
The $THMODE Variable
Thread in-feed mode (0-4) Type: Numeric, Read/Write |
The $THMODE variable contains the thread in-feed mode. Valid values range from 0 through 4.
- 0:
constant amount, along CUTANG (default)
- 1:
constant amount, single edge
- 2:
constant amount, alternating edges
- 3:
constant depth, single edge
- 4:
constant depth, alternating edges
The $THNOSE Variable
Tool nose angle Type: Numeric, Read/Write |
The $THNOSE variable contains the tool nose angle.
The $THSTEP Variable
Thread first step value Type: Numeric, Read/Write |
The $THSTEP variable contains the first thread step amount.
The $THTYPE Variable
Thread cycle type Type: Numeric, Read-only |
The $THTYPE variable holds the machine cycle type. Valid values are:
- 0:
Off
- 101:
Single thread cut, turning
- 102:
Single thread cut, facing
- 201:
Multiple thread cut, turning
- 202:
Multiple thread cut, facing