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.

Comments that include line breaks can be edited only in the Text editor mode or in the Form column.

Using the Program workspace

Adding a comment as an NC block

To add a comment as a separate NC block:

  1. Select the NC block after which the comment is to be added

  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

To add a comment within an NC block:

  1. Edit the desired NC block

  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.

To comment an existing NC block in or out:

  1. Select the desired NC block

  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.