In many CNC controllers, a / character at the beginning of a line means “skip block”
when the machine’s hardware Block Skip switch is turned on.
In NCPlayer, such lines are also recognized and can be excluded from simulation.
The Format → Block Skip Chars Operations section contains three tools for bulk operations with the / character.
/ characters before any code addresses.( ... ) do not need to be marked with / — the tools will skip them.
Adds a / at the beginning of each executable line.
Lines where / already exists will not be duplicated.
Comments and empty lines remain unchanged.
; Before
N10 G00 X0 Y0
(lead-in)
N20 G01 X50 F200
; After
/N10 G00 X0 Y0
(lead-in)
/N20 G01 X50 F200
Removes leading / characters from the beginning of lines.
If a line contains multiple /, the entire prefix is removed.
The rest of the line (addresses, comments) remains unchanged.
; Before
//N10 G00 X0 Y0
/N20 G01 X50 F200
; After
N10 G00 X0 Y0
N20 G01 X50 F200
Quickly marks only executable lines (with addresses G/M/T/S/F/X/Y/Z/…) with /,
skipping pure comments and empty lines.
Useful when you want to leave notes and documentation untouched,
but temporarily disable the execution of motion/technology commands.
; Before
(Setup)
N10 G90 G54
(Roughing)
N20 G01 X50 F200
; After
(Setup)
/N10 G90 G54
(Roughing)
/N20 G01 X50 F200
/ depends on the position of the hardware BLOCK SKIP switch.
If it is off — such lines will execute normally./ will be skipped if the corresponding mode is enabled (supported in step-by-step simulation).IF/THEN/GOTO/WHILE) — avoid marking critical “jump” lines with “/” without analyzing the logic,
as this may break the execution sequence.