Cutter Compensation Variables
The $DCOMP Variable
Current diameter compensation type (–1:LEFT, 1:RIGHT, 0:OFF) Type: Numeric, Read/Write |
The $DCOMP variable contains the current tool diameter compensation type in effect.
The $DCOMPM Variable
Diameter compensation method Type: Numeric, Read-only |
The $DCOMPM variable identifies the current tool diameter compensation method in use. This information is used by Virtual Machine when it applies diameter compensation. Valid values for $DCOMPM are as follows:
- 0:
Inactive
- 1:
2D planar compensation to the left or right
- 2:
Reserved for future use
- 3:
3D compensation normal to surface
- 4:
PQR vector compensation
The $DCORNER Variable
Diameter compensation corner method (0:auto, 1:sharp, 2:arc) Type: Numeric, Read/Write |
The $DCORNER variable identifies the current tool diameter compensation cornering method in use. This information is used by Virtual Machine when it applies diameter compensation. Valid values for $DCORNER are as follows:
- 0:
Use corner angle to choose between sharp or arc, based QUEST angle setting
- 1:
Use sharp corners
- 2:
Interpolate corners using an arc motion
The $DYNFIX Variable
Dynamic fixture compensation status ($TRUE or $FALSE) Type: Logical, Read/Write |
The $DYNFIX variable will be set $TRUE when dynamic fixture compensation is activated and $FALSE when dynamic fixture compensation is deactivated. The $DYNFIX variable can be set from within a macro to change the mode.
The $TCD Variable
Current tool diameter compensation offset (<1:?) Type: Numeric, Read/Write |
The $TCD variable contains the current tool diameter compensation offset number. If diameter compensation is not available, then the value will be zero (0). If the value is less than one (1) then the current offset number is unknown. This variable can be assigned a value only if the machine supports diameter compensation.
The $TCDM Variable
Current tool diameter compensation offset (–1:OFF, n:offset) Type: Numeric, Read-only |
This variable contains the current tool diameter compensation offset number. If diameter compensation is not available or not active then the value will be –1, otherwise the value will be the diameter compensation offset number in effect.
The $TCF Variable
Current fixture compensation offset (<1:?) Type: Numeric, Read/Write |
The $TCF variable contains the current fixture compensation offset number. If fixture compensation is not available, then the value will be zero (0). If the value is less than one (1) then the current offset number is unknown. This variable can be assigned a value only if the machine supports fixture compensation.
The $TCFM Variable
Current fixture compensation offset (–1:OFF, n:offset) Type: Numeric, Read-only |
This variable contains the current fixture compensation offset number. If fixture compensation is not available or not active, then the value will be –1, otherwise the value will be the fixture compensation offset number in effect.
The $TCL Variable
Current axis fixture compensation offset (<1:?) Type: Numeric, Read/Write |
The $TCL variable contains the programmed tool length compensation offset number. If length compensation is not available, then the value will be zero (0). If the value is less than one (1), the current offset number is unknown. This variable can be assigned a value only if the machine supports length compensation.
The $TCLDIR Variable
Current length compensation axis Type: Numeric, Read/Write |
The $TCLDIR variable identifies the current tool length compensation axis direction. This information is used by Virtual Machine when it applies length compensation. Valid values for $TCLDIR are as follows:
- 0:
Compensate along the tool axis
- 1-3:
Compensate along positive 1:X, 2:Y, 3:Z
- 4-6:
Compensate along negative 4:X, 5:Y, 6:Z
The $TCLM Variable
Current tool length compensation offset (–1:OFF, n:offset) Type: Numeric, Read-only |
This variable contains the current tool length compensation offset number. If length compensation is not available or not active then the value will be –1, otherwise the value will be the length compensation offset number in effect.
The $TCLSET Variable
Tool length compensation type (1-4) Type: Numeric, Read/Write |
This variable indicates and can set the tool length compensation type on machines where there are multiple length compensation types defined (QUEST Control Description / Tool and Fixture Compensation / Length comp questions #114, #115 and #116). Type 1 is the standard length compensation supported by all machines. Types 2 through 4 are defined by the control emulator developer and include various RTCP settings.