Reducing the display for rotary axes to under 360° with M94
Application
With M94 the control reduces the display of the rotary axes to a range between 0° and 360°. Additionally, this limitation reduces the angle difference between the actual position and the new nominal position to less than 360°, which shortens traverse movements.
Related topics
- Values of the rotary axes in the position display
Description of function
Effect
M94 is in effect blockwise and takes effect at the start of the block.
Application example
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
11 L IC+420 | ; Move the C axis |
12 L C+180 M94 | ; Reduce the display value of the C axis and move the axis |
Before machining, the control shows the value 0° in the position display of the C axis.
In the first NC block the C axis moves incrementally by 420°, for example in order to cut an adhesive slot.
The second NC block first reduces the display of the C axis from 420° to 60°. Then the control positions the C axis to the nominal position of 180°. The angle difference is now 120°.
Without M94 the angle difference would be 240°.
Input
If you define M94, the control continues the dialog and prompts you for the affected rotary axis. If you do not enter an axis, the control reduces the position display for all rotary axes.
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
21 L M94 | ; Reduce the display values of all rotary axes |
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
21 L M94 C | ; Reduce the display value of the C axis |
Notes
- M94 only affects rollover axes whose actual position display permits values above 360°.
- In the machine parameter isModulo (no. 300102) the machine manufacturer defines whether the modulo counting method is used for a rollover axis.
- In the optional machine parameter shortestDistance (no. 300401), the machine manufacturer defines whether the control by default positions the rotary axis using the shortest traverse path. If the traverse paths in both directions are identical, you can pre-position the rotary axis and thus also influence the direction of rotation. Within the PLANE functions, you can also select a tilting solution.
- In the optional machine parameter startPosToModulo (no. 300402) the machine manufacturer defines whether the control reduces the actual position display to a range between 0° and 360° before each positioning.
- If traverse limits or software limit switches are active for a rotary axis then M94 has no effect on this rotary axis.
Definitions
Modulo axis
Modulo axes are axes whose encoder only returns values between 0° and 359.9999°. If an axis is used as a spindle, then the machine manufacturer must configure this axis as a modulo axis.
Rollover axis
Rollover axes are rotary axes that can perform several or any number of revolutions. The machine manufacturer must configure a rollover axis as a modulo axis.
Modulo counting method
The position display of a rotary axis with the modulo counting method is between 0° and 359.9999°. If the value exceeds 359.9999°, the display starts over at 0°.