The control displays the NC program in the Program workspace.
You can edit the NC program in the Editor operating mode and in the MDI application, but not in the Program Run operating mode.
The control displays the NC program in the Program workspace.
You can edit the NC program in the Editor operating mode and in the MDI application, but not in the Program Run operating mode.
1 | Title bar |
2 | File information bar In the file information bar, the control shows the path and file name of the NC program. |
3 | Contents of the NC program |
4 | Form column |
5 | Help graphic of the syntax element being edited |
6 | Dialog bar In the dialog bar, the control shows additional information or instructions for the syntax element being edited. |
7 | Action bar In the action bar, the control shows selection options for the syntax element being edited. |
8 | Structure, Search or Tool check column Structure column in the Program workspace Search column in the Program workspace |
The following icons are shown in the Program workspace in the title bar:
Icons on the control's user interface
Icon or shortcut | Function |
---|---|
Open and close the Structure column | |
Open and close the Search column | |
Activate and end comparison functions | |
Show and hide the Form column | |
100% | Font size of the NC program Tip When you select the percent value, the control will display icons for increasing and decreasing the font size. |
Set font size of the NC program to 100% | |
Open the Program settings window |
By default, the control displays the syntax in black color. The control displays the following syntax elements in color within the NC program:
Color | Syntax element |
---|---|
Brown | Text entries, e.g. tool name or file name |
Blue |
|
Dark green | Comments |
Purple |
|
Dark red |
|
Orange | Rapid traverse FMAX |
When you are editing an NC block, for some NC functions the control shows a help graphic for the current syntax element. The size of the help graphic depends on the size of the Program workspace.
The control shows the help graphic at the right edge of the workspace, or at the top or bottom edge. The help graphic is positioned in the half that does not contain the cursor.
When you tap or click the help graphic, the control will maximize the help graphic. If the Help workspace is open, the control displays the help graphic there.
In the Program settings window you can influence contents shown in the Program workspace as well as the control's behavior there. The selected settings are modally effective.
The settings available in the Program settings window depend on the operating mode.
In the Structure area you use switches to choose which structure elements the control should display in the Structure column.
Structure column in the Program workspace
The Editing area contains the following settings:
Setting | Meaning |
---|---|
Automatic saving | Save changes to the NC program automatically or manually
If the switch is not active, you must save manually. Upon the stated actions, the control asks whether the changes should be saved. |
Allow syntax errors in text mode | If the switch is active, the control can save NC blocks in the text editor even if they contain syntax errors. If the switch is not active, you must correct all syntax errors within an NC block. Otherwise you cannot save the NC block. |
Generate absolute paths | Create relative or absolute path entries If the switch is active, the control uses absolute paths for called files, e.g.: TNC:\nc_prog\$mdi.h. If the switch is not active, the control uses relative paths , e.g.: demo\reset.H. If the file is located at a higher level in the folder structure than the calling NC program, the control creates an absolute path. |
Always save formatted | Format NC program while saving If an NC program has fewer than 30 000 characters, the control always formats the file when saving it, e.g.: capital letters for all syntax initiators. If the switch is active, the control also formats NC programs with more than 30 000 characters each time it saves the file. This can increase the time needed for saving. If the switch is not active, the control does not format NC programs with more than 30 000 characters. |
You use gestures to perform the following functions:
Symbol | Gesture | Meaning |
---|---|---|
![]() | Tap |
|
![]() | Double tap | Edit an NC block |
![]() | Long press | Open the context menu Tip If you are working with a mouse, click with the right mouse key. |
![]() | Swipe | Scroll in an NC program |
![]() | Drag | Change the area in which NC blocks are marked. |
![]() | Spread | Increase the syntax font size |
![]() | Pinch | Reduce the syntax font size |
You use keys and buttons to perform the following functions:
Key or button | Function | |
---|---|---|
Searching for the same syntax elements in different NC blocks | ||
| ||
CTRL+ | CTRL+ | Navigate one position to the right or left within the value of a syntax element |
| ||
Open position display of the control bar in order to copy the position If you select a line in the position display, the control copies the current value of this line to an open dialog. | ||
Delete value of a syntax element | ||
Skip or remove optional syntax elements during programming | ||
Delete an NC block or cancel a dialog | ||
| ||
Cancel editing without applying changes | ||
![]() | Select Klartext programming mode or a text editor | |
![]() | Open the Insert NC function window | |
![]() | Open the context menu |
If you are editing an NC block, you can search for the same syntax element in the rest of the NC program.
| ||
| ||
|
Use the optional machine parameter maxLineGeoSrch(no. 105408) to define up to which NC block the control should check the program.
If you open an incomplete NC program in the Editor operating mode, the control automatically inserts the NC block.
In the Form column in the Program workspace, the control shows all possible syntax elements for the currently selected NC function. You can edit all syntax elements in the form.
The control offers the following icons and buttons for using the Form column:
Icon or button | Function |
---|---|
Show and hide the Form column | |
![]() | Confirm entry and conclude an NC block |
![]() | Discard entries and conclude an NC block |
![]() | Delete NC block |
The control groups the syntax elements in the form depending on their functions, such as coordinates or safety.
The control indicates the required syntax elements with a red frame. Only once you have defined all of the required syntax elements can you confirm the entries and conclude the NC block. The control highlights the syntax element currently being edited.
If an input is invalid, the control displays an information symbol ahead of the syntax element. When you select the information symbol, the control displays information on the error.