SpeedMode
Standard Word: SpindleSpeedMode
Variable: Spindle.SpeedMode
Type: Enum
There are 2 different modes according to the way the spindle rotates. These are as follows: RPM (revolution per minute), SFM (surface feet per minute) / SMM (surface meters per minute).
These 2 different modes are defined in the “Spindle.SpeedMode” variable. Spindle speed mode information is obtained from the line “SPINDL/RPM,6000,CLW” expression (or similar expressions in different CAMs) defined in the APT/CL file and is assigned to this variable.
This variable can be used in any script. When used in a script, the “Spindle.SpeedMode” variable returns the string “RPM”, “SFM” or “Unknown”.
Important Note: Either you are using metric (SMM) or inch unit (SFM), “Spindle.SpeedMode” variable will return “SFM” as string. In addition, the word “SpindleSpeedMode” is created from this variable. For each mode, G codes (G96,G97 etc.) can be defined in the “Edit” page of this word. This word is then used in the Format Spindle Speed. command and the relevant G code is printed into the NC program automatically.