To make spindle control settings, such as the Direction and Gear use:
M-Functions menu ► Spindle Control (adaptive code generators only)
Or if ths is not available (non-adaptive code generators) use various other M-Function commands, such as M-Functions menu ► CSS.
Note that for adaptive code generators you can also use the Spindle tab in a Toolchange dialog. Use the Spindle Control command if you want to change the settings for the existing tool.
For more information click the Help button in the command's dialog.