Programming

The NC command #INSERT CMD can be used to specify stop marks via the NC program.

The "AXNR" parameter is used to set the mode.

Syntax:

#INSERT CMD [ON | OFF] [AXNR=.. MNR=.. ADDR=.. DIST=.. [ABS | REL | REL_ONCE] ]

 

ON

Insert stop marks is enabled

OFF

Insert stop marks is disabled. This results in a stop at the program position.

AXNR=..

Logical axis number

Stop is inserted at the commanded axis position of the axis with this logical axis number.

Note: Mode is defined by specifying the logical axis number.

AXNR = 0 – DISTANCE mode is used

AXNR !=0 – POSITION mode is used

Default value = 0

MNR=..

Number of the inserted M function

  • Value = 0 for M00 programmed stop (default)
  • Value = 1 for M01 optional stop (enabled/disabled with m01_stop_enable CU)
  • Value > 1 for M<m_function_nr> with MVS_SVS synchronisation

ADDR=..

Optional additional value of the M function; it is specified as a negative or positive integer.

DIST=..

Relative/absolute distance or axis position in [0.1µm] at which the stop is to be inserted.
Dependent on the mode used

ABS

One-off insertion at the absolute distance

REL

for relative distance with automatic insertion of a new stop when the current stop is reached.

REL_ONCE

One-off insertion at the relative distance.

Notice

notice

The distance specification ABS/REL or REL_ONCE are mutually exclusive.

When you use simultaneous programming within an #INSERT CMD instruction, the error is output with ID 22130.

The default assignment of the NC command is:

#INSERT CMD [MNR=0 DIST=0 REL AX=0]

If M function < 2 is specified, the command for continuing machining must be given by the "Continue motion" control unit after the STOP is reached.

If M function is specified >= 2, the default acknowledgement of the M function is sufficient.

The bit in the stop conditions is displayed on the HLI when an inserted stop is reached.

The combination of the parameters DIST=0 and REL=1 clears the previously set STOP irrespective of the parameters MNR and AXNR,

The current distance can be reset with #DISTANCE PROG START CLEAR.