# Inversion of spindle rotation direction for spindle M-functions M3/M4 (P-AXIS-00490)

P-AXIS-00490 | Inversion of spindle rotation direction for spindle M-functions M3/M4
Description | The parameter inverts the direction of rotation of various spindle functions. For example, this may be helpful if a spindle is also used as C axis and if the spindle orientation does not correspond to the C axis orientation. The spindle function to be inverted is defined as a string constant or a hexadecimal value
Parameter | kenngr.inverse_rotation_direction
Data type | STRING
Data range | Constant | Value | Meaning
FALSE | 0x0000 | No rotation direction inversion
MOVE_CMD | 0x0001 | In the case of a spindle, the rotation direction is inverted with M functions M03/M04. The direction of spindle rotation is therefore reversed for M03 and M04 (M03 anti-clockwise, M04 clockwise).
TAPPING | 0x0002 | The inversion is also active for spindle positioning M19 with explicitly programmed rotation direction.
Axis types | S
Dimension |  | S: ----
Default value | 0
Drive types | ----
Remarks | Change in the data type of the parameter as of CNC Build V2.11.2836 (from BOOLEAN to STRING). Downward compatibility is ensured.