Adding comments

Application

You can add comments to an NC program in order to explain program steps or make general notes.

Description of function

  • You have the following possibilities for adding comments:
  • Comment within an NC block
  • Comment as a separate NC block
  • Define existing NC block as comment

The control marks comments with a preceding ; character. The control does not execute comments during simulation or program run.

A comment may contain up to 255 characters.

 
Tip

The last character in a comment block must not be a tilde sign (~).

Adding a comment as an NC block

  1. To add a comment as a separate NC block:
  2. Select the NC block after which the comment is to be added
Semicolon

  1. Select ;
  2. After the selected NC block, the control adds a comment as a new NC block.

  1. Define the comment

Adding a comment in an NC block

  1. To add a comment within an NC block:
  2. Edit the desired NC block
Semicolon

  1. Select ;
  2. The control inserts a ; character at the end of the block.

  1. Define the comment

Commenting an NC block out or in

Use the Comment out/in button to define an existing NC block as a comment or to change a comment back to an NC block.

  1. To comment an existing NC block in or out:
  2. Select the desired NC block
SF_4_AusEin_Kommentieren

  1. Select Comment Off/On
  2. The control inserts a ; character at the beginning of the block.
  3. If the NC block is already defined as a comment, the control removes the ; character.