NC Editor

NC Editor provides a wide range of tools to review, create, and modify NC part programs. The editor has the following features:

  • Several ways of selecting the code, such as by dragging the stylus across the screen, and by using keyboard keys (if available).

  • Copying/Pasting/Cutting of a block of selected code, including to applications outside WinMax.

  • Undo/Redo functionality.

  • Unlimited number of tags.

  • Real-time syntax check. Incorrect syntax is indicated by showing the incorrect text in red. Comments are shown in a user-defined color (green in this example):

NCEditorComments.PNG

inset_14.jpg 

See NC Editor Syntax Color Settings for information about the comment color.

  1. Real-time indicators of the meanings of the G codes. Place the cursor on the G code and the definition is displayed in the prompt area of the screen.

  2. Simplified and friendlier access to common editing tasks, such as jumping and searching operations.

  3. Keyboard shortcuts:

    1. Ctrl + Home—jump to the beginning of program

    2. Ctrl + End—jump to the end of program

    3. Shift + Ctrl + Home—selects all text between cursor and beginning of program

    4. Shift + Ctrl + End—selects all text between cursor and end of program

    5. Shift + Home—selects the text between cursor and beginning of line

    6. Shift + End—selects the text between cursor and end of line

    7. Ctrl + C—copy selected text to the clipboard

    8. Ctrl + F—opens a Find window. Enter text to find in the current program.

    9. Ctrl + G—opens a Goto window. Enter a block number to navigate to that block.

    10. Ctrl + H—opens a Find and Replace window.

    11. Ctrl + X—cut the selected text from screen and copy to clipboard

    12. Ctrl + V—paste the copied or cut text

    13. Ctrl + Z—undo the last change

    14. Ctrl + Y—redo the last undo

The status bar and prompt bar provide real-time updates on the status on the program being edited. The information shown in the status bar is as follows:

NCEditorStatusBar2.PNG

 

1

Part Program Name

2

Units

The information shown in the prompt bar is as follows:

NCEditorPromptBar.png

 

1

Current Line Number

2

Code Definition (M05 is shown)

3

Insert/Overstrike Mode

4

Block Skip On/Off

5

NC Dialect

The Part Program name is shown first in the status bar. In the prompt bar, Current Line Number indicates the current location of the cursor in the part program. NC Dialect can either be Industry Standard (ISNC) or Basic NC (BASIC). Insert Mode is indicated as INS, while overstrike mode is indicated as OVR. SKIP ON/OFF indicates whether Block Skip Mode is enabled. The Code Definition indicates the code selected in the program.

Refer to NC Editor Menus for information about the NC Editor menus.