To Insert a CL Command
You can insert a customized CL command anywhere along the tool path. For your convenience, separate options allow you to insert CL commands at the beginning and at the end of the tool path, or at the current tool position.
1. Click Manufacturing > Edit > CL Command. The CL COMMAND menu opens with Create selected by default. The LOCATE CMD menu also opens with the following options:
Select—Select on the tool path to specify the command placement.
Beginning—The CL command will be output before the first cutter position of the NC sequence (or the first cutter position of the operation if you are optimizing an operation tool path).
End—The CL command will be output after the last cutter position of the NC sequence (or the last cutter position of the operation if you are optimizing an operation tool path).
2. The CL file in the Info Box is scrolled to the appropriate line. The CREATE CMD menu opens with the following options:
Add—Enter the command using one of the following options:
Menus—Compose the command by selecting appropriate keywords from the syntax menus.
Keyboard—Enter the command line-by-line using the keyboard. This method does not provide syntax checking, as opposed to the method above.
From File—Read in a file containing the CL command lines. The file must have an extension .cmd.
Edit—Brings up a system window to allow you to edit the command using the system editor. No checking as to the syntax, is done at this point.
Show—Display all the lines currently included in the user-defined command in an Information Window (separate from the NCL File Window containing the CL file).
3. Enter the command line(s) using the options above, then click Done on the CREATE CMD menu. The command line(s) are inserted in the CL file at the selected location.
* 
If you add more than one command line at a certain point, they will be treated as a "block", that is, you will be able to move, copy, or delete only the whole block of command lines.
Only one CL command can be specified as located at the beginning or end of the tool path (it can have multiple lines). Therefore, if you try to repeatedly select the Beginning or End option, a message will inform you that a command already exists at this location, and you can modify it. Add the appropriate lines to the existing CL command using the Command option on the MODIFY CMD menu.
Was this helpful?