Multiple skip levels

Release Note

release_note

This function is available as from CNC Build V3.01.3021.1 and higher.

Attention

attention

Changing the interface to HMI and PLC

The BOOL data type was changed to 32 bits for the skip levels.

You can now use up to 10 skip levels in the NC program using this extension. The different skip levels can be set either on the operating console (HMI) or in the PLC before the main program starts.

In the Extended Skipping function, changes in skipping settings take effect immediately while the NC program is active. Defined break points can be implemented, e.g. by M functions followed by #FLUSH WAIT, to ensure that these skipping setting changes are safely accepted and become effective in the NC program.

The syntax programming is a slash "/" followed by a number to define the skip level:

  /1     Skip level one

  /2     Skip level two

  …

  /10     Skip level ten

Example:

/5 N100 G00 X150   (block is ignored if level 5 is enabled)

Notice

notice

The maximum number of skip levels is 10. This number is not parameterisable.

Enabling/disabling skip levels via HMI or PLC
Enabling/disabling skip levels via HMI or PLC

Programing Example

prg_example

Using skip levels

%skip_levels

N0 G0 X0 Y0 Z0

/1 N10 X1       ;Alternative: / N10 X1

/2 N20 Y2

/2 N25 Y2.5

/3 N30 Z3

/4 N40 X-1

/4 N45 X-1.5

/  N47 X-1.8    ;Skip with no level definition

                ;Corresponds to level 1

/10 N50 Y-2

/100 N60 Z-30   ;Error 21655

/N99 X9

N999 M30

The valid range of skip level values is from 1 to 10. If a value is programmed outside this range, then “error 21655" is output.

Notice

notice

For compatibility reasons the skip levels "/" and “/1” have the same meaning. They are each addressed by the first bit in the control bit string of HMI/PLC.