Traversing in the M92 coordinate system with M92
Application
You can use M92 to program machine-based positions, such as for moving to safe positions. The coordinates of positioning blocks with M92 are relative to the M92 datum and are in effect in the M92 coordinate system.
Description of function
Effect
M92 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 LBL "SAFE" | |
12 L Z+0 R0 FMAX M92 | ; Approach a safe position in the tool axis |
13 L X+0 Y+0 R0 FMAX M92 | ; Approach a safe position in the plane |
14 LBL 0 |
Here M92 is in a subprogram in which the tool moves to a safe position by first moving in the tool axis and then in the plane.
Since the coordinates refer to the M92 datum, the tool always moves to the same position. That way, regardless of the workpiece preset, the subprogram can be repeatedly called in the NC program, for example, before tilting the rotary axes.
Without M92 the control references the programmed coordinates to the workpiece preset.
The coordinates for a safe position depend on the machine!
The machine manufacturer defines the position of the M92 datum.
Notes
- The control considers any active tool radius compensation when positioning with M92.
- The control uses the tool carrier reference point when positioning in the tool axis.
- In the Editor operating mode, use the Workpiece position window to apply the current workpiece preset to the simulation. In this constellation you can simulate traverse movements with M92.
- In the optional machine parameter distFromMachDatum (no. 300501) the machine manufacturer defines the position of the M92 datum.