NC Editor Menus

Hurco's NC system provides many levels of program editing, as well as editing tools, to simplify the task.

The NC Editor contains these top level menus:

 Basic Programming Menu 

 Edit Functions Menu 

 Jump and Search Functions Menu 

 Tagged Blocks Menu 

 Start/End Markers Menu  

NC Editor Settings Menu

Basic Programming Menu

The Basic Programming Menu provides access to the different NC Editor screens.

NCEditorMainMenu2.png

 

The Basic Programming softkeys provide these functions:

  • Edit FunctionsInvokes Edit Functions menu

  • Jump and Search FunctionsInvokes Jump and Search Functions menu.

  • Tagged Blocks Invokes the tagged blocked menu.

  • Start/End Markers Invokes the Start/End Markers menu.

  • Editor Settings Invokes the NC Editor Settings menu.

  • Exit EditorExits the NC Editor and moves to the Input screen. Select Part Programming to return to the NC Editor screen.

Edit Functions Menu

The Edit menu provides advanced editing functionality to the user.

NCEditFunctionsMenu2.png

 

When the Edit softkey is selected from the Basic Programming menu, these softkeys appear:

  • Cutcopies the selected text to the Windows clipboard. In addition, the selected text is deleted from the part program. If the keyboard is available, Ctrl + X combination will cut the selected text and place it in the Windows clipboard.

  • Copythis softkey copies the selected text to the Windows' clipboard memory. If the keyboard is available, this action can be achieved by pressing Ctrl + C combination. Text can be selected by dragging the stylus (up/down/right/left) across the editing area of the screen, or by holding down the keyboard Shift key and using the up/down/left/right arrow keys to select text.

  • Pastetext previously copied to the Windows' clipboard is inserted at the current cursor position. If the keyboard is available, this action can be achieved by pressing Ctrl + V keys.

  • Undoeach click on undoes the previous editing operations starting from the latest to the earliest. The depth of the undo buffer is 100. If more than one text modification was performed in a single step (e.g. “Replace All”), all those modifications will be undone in one step as well. If the keyboard is available, Ctrl + Z combination will result in the same action.

  • Redoeach click redoes the editing operation(s) previously undone by the Undo softkey. If the keyboard is available, Ctrl + Y combination will result in the same action.

  • Enable Overwrite Modeswitches the data entry style between insert and overwrite. Currently active mode is shown on the status bar of the window - “INS” indicates Insert and “OVR” indicates Overwrite.

inset_12.jpg 

You can also use the touchscreen to toggle the Enable Overwrite Mode in the Editor status bar.

  1. More (Page 1)— Invokes More (Page 2) where the following softkeys are available:

    1. Insert Block Before—Inserts a blank line before the block where the cursor is located. This permits addition of a new block of data. This softkey will be disabled if text can't be inserted at the current cursor location.

    2. Delete Block(s)—Removes the block where the cursor is positioned. This softkey will be disabled if the block can't be deleted.

    3. Find & ReplaceActivates a popup menu where search text and replacement text are entered. NC Editor finds occurrences of the search text and replaces it with the replacement text.

    4. More (Page 2) Invokes More (Page 1).

  2. Exitloads the Basic Programming menu.

Jump and Search Functions Menu

The Jump and Search menu provides the flexibility to locate hard-to-find items in program memory using the block or sequence number or searching for specific address characters, numeric parameters, or words.

NCJumpSearchMenu2.png

 

When the Jump & Search Functions softkey is selected from the Basic Programming menu, these softkeys appear:

  • Jump to Beginningmoves the cursor to the beginning of the first program block in memory. If a keyboard is available, Ctrl + Home combination will result in the same action.

  • Jump To Endmoves the cursor to the beginning of the last program block in memory. If the keyboard is available, Ctrl + End combination will result in the same action.

  • Find Text activates the Find and Replace popup box. Refer to Find and Replace Popup Box for more information.

  • Replace Text activates the Find and Replace popup box. Refer to Find and Replace Popup Box for more information.

  • Jump to Block Numberenter a block number in the popup box. The cursor is positioned on the specified block. The number entered refers to the position that block has in NC memory.

inset_13.jpg 

You can also use the touchscreen to select the Line number in the Editor status bar to open the Jump to Block popup box.

  • Jump to Sequence Numberenter a sequence number (N code) in the popup box. The cursor is positioned on that block.

  • Exitloads the Basic Programming menu.

Find and Replace Popup Box

The Find and Replace popup box allows the user to search for specific text in the part program and replace the text if needed. Select NCReplaceIcon.png to show/hide the replace functions.

Enter search text and select Find Next to find the next occurrence of the entered text following the current cursor position. If found, the text is highlighted. Select Find Previous to highlight the previously found text.

Specify the replacement text by entering it into the Replace field and select Replace to replace the search text with the specified replace text. Select Replace All to replace all instances of the search text with the specified replace text. Select

NCExitSearchAndReplaceIcon.png

 to close the Find and Replace popup Box.

NCFindandReplace.png

 

Tagged Blocks Menu

The Tagged Blocks menu offers access to block tagging functionality.

NCTaggedBlocksMenu.png

 

The menu contains the following softkeys:

  • Tag Blocktags a block by underlining it. There is no limit on the amount of tagged blocks you can have.

  • Jump to Previous Tagged BlockNC editor tries to find the closest tagged block before the current cursor's position. If such block is found, the cursor is placed in the beginning of the block.

  • Jump to Next Tagged BlockNC editor tries to find the closest tagged block after the current cursor's position. If such block is found, the cursor is placed in the beginning of the block.

  • Tagged Block Listinvokes Tagged Blocks List screen, which allows the user to review the tagged block and manage the tags. See NC Editor Tagged Blocks.

  • Exit loads the Basic Programming menu.

NC Editor Tagged Blocks

The NC Editor Tagged Blocks screen is accessed with the Tagged Block List softkey on the Tagged Blocks menu. The tagged blocks, Start/End markers, and Set Graphics Start/End markers in a program are displayed in the Tagged Blocks list.

NCEditorTaggedBlocks.png

 

Softkeys are:

  • Jump to Selected Tag—goes to the selected tag in the program.

  • Clear Tag—deletes the selected tag.

  • Clear All Tags—deletes all tags in the list.

  • Exitloads the Basic Programming menu.

Start/End Markers Menu

The Start/End Markers menu allows selection of the part program to be processed for graphics and for execution.

NCStartEndMarkersMenu.png

 

The menu contains the following softkeys:

  • Set Start markerindicates the block that the system should use to start program execution when running and verifying the program. A letter S is inserted to the left of the block, and the code before the marker is grayed out.

  • Set End markerindicates the block that system should use to end program verification and execution. A letter E is inserted to the left of the block, and code after the end marker is grayed out.

  • Reset Start/End Markersrestores start and end markers to their defaults. The defaults are at the beginning and end of the program.

  • Set Graphics Start Markermarks the current block as the beginning point for the graphics display by inserting a left bracket ([) to the left of the block.

  • Set Graphics End Markermarks the current block as the ending point for the graphic display by inserting a right bracket (]) to the left of the block.

inset_6.jpg 

If the Graphics Start and Graphics End markers overlap, the pound (#) sign is displayed to the left of the line.

  • Reset Graphics Markersreturns start and end wireframe markers to their default locations. The defaults are at the beginning and end of the program.

inset_11.jpg 

If the Start and End markers overlap, the dollar ($) sign is displayed to the left of the line.

  • Exitloads the Basic Programming menu.

NC Editor Settings Menu

The NC Editor Settings screen allows you to set the following NC Editor options:

  • Block Skip Enable state

  • Text font, size, and style

  • Text Smoothing

  • Color scheme

  • Syntax foreground and background colors. See NC Editor Syntax Color Settings for more information.

NCEditorSettingsMenu2.png

 

Refer to the Field Glossary for NC Editor Settings definitions:

NC Editor Syntax Color Settings

The NC Editor Settings screen contains options to customize the foreground/background colors and the background color transparency for specific syntax types in your program.

To select a new foreground and/or background color for a syntax type:

  1. Select the color box in the Foreground or Background column to open the Select Color window.

  2. Select or specify a color.

  3. Select OK.

When modifying a background color, adjust the color transparency using the Alpha Channel setting in the Select Color window. 255 = zero transparency and 1 = maximum transparency. View sample program text for syntax types in the Sample column.

NCEditorSettingsSyntaxColors.png

 

NCEditorSettingsSelectColorWindow.png

 

 

Please note: The Alpha Channel (background color transparency) setting is only available for Background colors.

More Information Online

For more information about the WinMax NC Editor, view the NC Editor video on the Hurco SSE YouTube page by selecting NCEditor/Youtube/HurcoSSE.com or scanning the code below with your mobile device.

NCEditorSSE.png