Deselect position preset

#PRESET {<axis_name> <dummy_expr>}                                                                 (non-modal)

<axis_name><dummy_expr>

The axis position preset is reset. The coordinate value in [mm, inch] is only required for syntax reasons, otherwise it is irrelevant.

If #PRESET is programmed without specifying an axis, the position preset is deselected in all axes.

Notice

notice

If tool radius compensation, mirroring or diameter programming are selected, #PSET or #PRESET may not be programmed.

("non modal” only applies to the commands #PSET and #PRESET. The position preset offset itself remains valid of course until it is again selected or deselected by #PRESET.)

Programing Example

prg_example

Deselect position preset

N10 X50 Y10 Z0

N20 #PSET X20 Y20       (Set position for X and Y)

N30 X10

N40 #PRESET X10         (Reset X position; value 10 not relevant)

N50 X30

N60 #PRESET             (Reset all axes)

N70 M30

The figure below shows the position of the x axis in machine coordinates after execution of a particular NC block:

Positions of the X axis in machine coordinates / programmed coordinates.
Positions of the X axis in machine coordinates / programmed coordinates.

(In this example, no other coordinate transformations are selected).