Coolant, Feed Rate and Spindle Variables
The $COOLDEV Variable
Auxiliary COOLNT device status (–1:NA, 0:OFF, 1:ON) Type: Numeric, Read/Write |
The $COOLDEV variable is an array containing the status of 9 auxiliary coolant devices, where a value of –1 indicates an unknown state or unsupported device, 0 indicates the coolant device is OFF and 1 indicates the device is ON.
The $COOLNT Variable
Primary COOLNT status name (OFF, FLOOD, MIST…) Type: Minor Word, Major Word or Sequence, Read/Write |
The $COOLNT variable contains the current primary coolant status in the form of a minor word, a major word or a sequence of minor and/or major words. It will be one of the values: OFF, FLOOD, MIST, TAPKUL, THRU or a custom coolant keyword or sequence of keywords as defined in QUEST.
The $COOLTYP Variable
Primary COOLNT status type (0:OFF, 1:FLOOD, 2:MIST…) Type: Numeric, Read/Write |
The $COOLTYP variable contains the current primary coolant status in the form of a number. It has a value of 0 for OFF, 1:FLOOD, 2:MIST, 3:TAPKUL, 4:THRU or the values 5-9 for custom coolant types.
The $F Variable
Current feed rate in the current mode Type: Numeric, Read/Write |
The $F variable contains the current feed rate in the current mode of operation.
The $FMODE Variable
Feed rate mode. (–1:? 0:uPM 1:uPR 2:inverse time) Type: Numeric, Read/Write |
The $FMODE variable contains the current feed rate mode. If the value is –1 then the mode is currently unknown. Setting this variable changes the output feed rate mode, it does not change the input feed rate mode and units specified in the CL file.
The $HPCOOL Variable
High pressure coolant status (–1:NA, 0:OFF, 1:ON) Type: Numeric, Read/Write |
The $HPCOOL variable contains the state of the high pressure coolant pump. It has a value of –1:unknown state or unsupported device, 0:OFF and 1:ON.
The $MAXPRSSUR Variable
Maximum coolant pressure (0:NA) Type: Numeric, Read/Write |
The $MAXPRSSUR variable sets the maximum permitted coolant pressure in the units of pressure as defined in QUEST. This limits the pressure that can be defined via the COOLNT/PRSSUR command. Set this variable to 0 (zero) to reset the maximum pressure to the device upper limit as defined in QUEST.
The $MAXRPM Variable
Current maximum RPM setting Type: Numeric, Read/Write |
The $MAXRPM variable contains the current spindle speed maximum revolutions per minute. Setting $MAXRPM will override the maximum RPM for the current gear and spindle, but will not output NC codes to set the maximum RPM at the machine. Use the SPINDL/MAXRPM command to both set the maximum and output appropriate NC codes.
The $PRSSUR Variable
Current coolant pressure Type: Numeric, Read/Write |
The $PRSSUR variable contains the current coolant pressure in the units of pressure as defined in QUEST.
The $S Variable
Current spindle speed in the current mode Type: Numeric, Read/Write |
The $S variable contains the current spindle speed in the current mode of operation. If the spindle is off then the value will be zero (0). Setting $S sets both $SR and $SS.
The $SDIR Variable
Spindle direction. (0:? 1:CLW 2:CCLW) Type: Numeric, Read/Write |
The $SDIR variable contains the current spindle direction. If the value is zero, then the direction is unknown. Setting this variable to zero does not stop the spindle.
The $SGMAX Variable
Spindle gear maximum. Type: Numeric, Read-only |
The $SGMAX array contains the maximum spindle speed for each gear, in the form $SGMAX(gear). A value of 0 (zero) is returned if the gear is not defined. A maximum of 10 gears are supported.
The $SGMIN Variable
Spindle gear minimum. Type: Numeric, Read-only |
the $SGMIN array contains the minimum spindle speed for each gear, in the form $SGMIN(gear). A value of 0 (zero) is returned if the gear is not defined. A maximum of 10 gears are supported.
The $SMODE Variable
Spindle mode. (0:Off 1:SFM 2:RPM 3:SMM) Type: Numeric, Read/Write |
The $SMODE variable contains the current spindle mode. Setting this variable to a non zero value sets the current output mode. Set it to zero to indicate a stopped spindle.
The $SR Variable
Current spindle speed in RPM Type: Numeric, Read/Write |
The $SR variable contains the current spindle speed in revolutions per minute. If the spindle is off then the value will be zero (0).
The $SRANGE Variable
Current spindle gear number. (–1:?, 1-10:gear number) Type: Numeric, Read/Write |
The $SRANGE variable contains the current gear number specified by the range option of the SPINDL command. Set the range to –1 to force a range change with the next SPINDL command.
The $SS Variable
Current spindle speed in SFM or SMM Type: Numeric, Read/Write |
The $SS variable contains the current spindle speed in surface feet per minute or surface meters per minute. If the spindle is off then the value will be zero (0).