You are on page 1of 112

PREDATOR EDITOR AND DNC MANUAL

Click To See:
How to Use Online Documents SURFCAM Online Documents
Predator Editor and DNC Manual

INTRODUCTION 1.1 PREDATOR EDITOR OVERVIEW

Predator Software, Inc. 8835 S.W. Canyon Lane, Suite 300, Portland, Oregon Copyright 1994-2000. All Rights Reserved.

The Predator Editor supports opening multiple CNC programs at the same time and does not define a limit to the number. The maximum number of multiple CNC programs open at the same time depends on the amount of Windows virtual memory. Predator Editor displays warning messages when memory gets low. Note: The CNC program size is limited to 32 Megs per CNC program and can be limited by the amount of Windows virtual memory.
EDITOR PROCEDURES REFER TO

1. Start the Editor 2. Create a new CNC program. 3. Open an existing CNC program. 4. Edit CNC programs.

Section 1.2: Start the Editor on page 2


Chapter 2: Editor Menus

Section 2.1.1: New on page 10 Section 2.1.2: Open on page 10 Section 2.2: Edit Menu on page 25 Section 2.3: Insert Menu on page 29 Section 2.4: Delete Menu on page 34 Section 2.5: NC Menu on page 36

5. Backplot CNC programs. 6. Save CNC programs.

Section 2.1.11: Backplot on page 18 Section 2.1: File Menu on page 10

Predator Editor and DNC Manual Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

1.2

START THE EDITOR

The Predator Editor is stored in the following directory SURFCAM\Predator Software\Virtual CNC 3.4. To open the Editor, double-click on PEditor.exe.

1.2.1

From the Command Prompt

To start Predator Editor from a command line, first you must be in the proper directory: C:\SURFCAM\Predator Software\Virtual CNC 3.4. Then type peditor and press the Enter key. By default, Predator Editor opens a new blank CNC program. To automatically open an existing CNC program, start Predator Editor from the command line with one of the following commands. Note that after you type the command, you must press the Enter key. peditor filename.ext peditor \\unc pathname\filename.ext

1.2.1.1

Command Line Options

Predator Editor can be started with a variety of command line options. Notes: 1. The command line options are case specific. Upper and lower case options will do different things. 2. In the following, if you do not enter a file name, an Open File dialog box will be displayed for you to select the file(s). 3. If you do enter a file name and if there is a space in the directory or the name, you must enclose all within quotes. Example: peditor -#H20 ..\common files\programs\2dribs.ncc 4. After you type the command name, press the Enter key.
COMMAND peditor -B peditor -b peditor -c peditor -m fadal peditor -o peditor -P peditor -p peditor -S DESCRIPTION Load a CNC program and begin the Backplot. Load a CNC program and open in Backplot mode. Load 2 CNC programs and open in Compare Mode. Switch to a specified machine template. Read only mode, regardless of files r/w options. Load a CNC program, Backplot, and print graphics. Print text. Send to CNC from the hard disk.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

COMMAND peditor -s peditor -r peditor -x

DESCRIPTION Send to CNC from memory. Receive from CNC. Exit Predator Editor. This command line is typically combined with other commands.

For the following commands, a file name is required after the command:
peditor -#xx peditor -#Hxx Load a CNC program and move the cursor to line xx. Load a CNC program and move the cursor to line xx and highlight that line.

1.2.1.2

Multiple Command Line Options

Predator Editor can be started with multiple command line options. File names are always optional, and are processed sequentially. Refer to the following: peditor 2dribs.ncc -p -s -x In the above example, 2dribs.ncc will be loaded into memory, printed to the default printer, and sent to the default machine. The editor will then be closed.

1.2.1.3

Adding Command Line Options to Windows Explorer

You can add options, such as print, to the right-click menu in the Explorer.

Right-click on a file in the Explorer.

Copyright 2000 by Predator, Inc. All Rights Reserved.

Predator Editor and DNC Manual

To add options: 1. In the Windows Explorer, click View > Folder Options. 2. Click the File Types tab. 3. Scroll through the list to see if there is an NC file type and/or an NCC file type as displayed in the graphic. 4. If these types exist, you can edit them. If they do not exist, you can create them. 5. For this example, suppose NC File type exists. Highlight that file type and click the Edit button. 6. The Edit File Type dialog box will be displayed.
Figure 1: Folder Options dialog box

7. Suppose that only Open is displayed in the Actions box. Highlight it and click the Edit button to see the contents of the Editing Action dialog box.

Figure 2: Edit File Type dialog box

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

8. The Action box says Open. The Application box says: "C:\SURFCAM\Predator Software\Virtual CNC 3.4\ PEditor.exe" "%1" Press Ctrl + C to copy this command. 9. Click OK to return to the Edit File Type dialog box. 10. Click New. Enter Print in the Action box. 11. In the Application box you will enter almost the same command as in Figure 3: Editing action for type: NC File. The only difference is that -p is placed before %1:
Figure 4: New Action dialog box Figure 3: Editing action for type: NC File

"C:\SURFCAM\Predator Software\Virtual CNC 3.4\PEditor.exe" -p "%1" Press Ctrl + V to copy the previous command. Then insert -p before "%1".

1.2.2

When Starting Windows

To start the Predator Editor every time Windows starts: 1. Open the Explorer. 2. Point to Peditor.exe in the C:\SURFCAM\Predator Software\Virtual CNC 3.4 directory. 3. Press and hold the right mouse while you drag the mouse to the C:\WINDOWS\Profiles\ . . .\Start Menu\Programs\Startup folder.

Copyright 2000 by Predator, Inc. All Rights Reserved.

Predator Editor and DNC Manual

Figure 5: Automatic Start of Editor

4. Release the mouse button. 5. When you release the button, a menu will be displayed. Choose Create Shortcut(s) Here.

1.2.3

Start the Editor and Automatically Open a CNC Program

To start Predator Editor and automatically open a CNC program, double-click the file name of the CNC program from the Windows Explorer. File Association This feature requires that the CNC programs file extension be associated with peditor.exe from within Explorer. Multiple file extensions can be associated with peditor.exe. Refer to the online Support Utilities Manual, Chapter 1: Miscellaneous Utilities, Section 1.3: Set Default Version on page 3. Refer to the example in Figure 1: Folder Options dialog box on page 4 and notice that it says the NC file opens with PEDITOR. This was established with the Application shown in Figure 3: Editing action for type: NC File on page 5.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

1.3

SCREEN ELEMENTS

By default, when Predator Editor is started, a new, blank CNC program appears on the screen. Figure 6: Predator Editor Window identifies the major screen elements.

Main Menu

Toolbar

CNC Machines Menu

Status bar

Keyboard Status

Figure 6: Predator Editor Window

1.3.1

Menus

Related commands are grouped in menus. Refer To Chapter 2: Editor Menus: Section 2.1: File Menu on page 10 Section 2.2: Edit Menu on page 25 Section 2.3: Insert Menu on page 29 Section 2.4: Delete Menu on page 34 Section 2.5: NC Menu on page 36 Section 2.6: DNC Menu on page 42 Section 2.7: Options Menu on page 49 Section 2.8: Window Menu on page 51 Section 2.9: Help Menu on page 51 Note: Some commands carry out an action immediately; others display a dialog box with options.

Selecting Commands with the Mouse Click the name of a menu on the menu bar, and then click the command name. To cancel a menu without selecting a command, click outside of the menu.

Copyright 2000 by Predator, Inc. All Rights Reserved.

Predator Editor and DNC Manual

Selecting Commands with the Keyboard Press ALT or F10 to select the menu bar. To select a command, press the key for the underlined letter or number in the command name. To cancel a menu without selecting a command, press ESC. Selecting Commands with Shortcut Keys The most common commands are available by pressing the shortcut keys listed on the menu to the right of the command. For example, to save the current CNC program press CTRL+S. Refer to the online Editor Shortcuts Document for a list of all shortcuts.

1.3.2

Toolbar

Predator Editor includes a toolbar to provide quick access to common commands.

The toolbar provides quick access to commonly used commands. Note: If you cant see all of the buttons, drag the CNC Machines Menu to the right to uncover them.

When you point to a tool and hover over it, the name of the button will be displayed. You can choose to display the Toolbar with text identifying the buttons. Refer to Toolbar Style on page 49.

Figure 7: Toolbar Buttons with Text and Icons

The Editor toolbar is displayed by default. Click Options > Toolbar > Off to turn it off. To turn it back on, click Options > Toolbar > Small Icons (or Large Icons). Also refer to Chapter 2: Editor Menus, Toolbar Style on page 49. Every toolbar button has a corresponding menu command.
BUTTON REFER TO

1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.

New Open Save Print Cut Copy Paste Find Diff Undo Redo Prev

Section 2.1.1: New on page 10 Section 2.1.2: Open on page 10 Section 2.1.4: Save on page 12 Section 2.1.13: Print on page 24 Section 2.2.3: Cut on page 25 Section 2.2.4: Copy on page 26 Section 2.2.5: Paste on page 26 Section 2.2.9: Find on page 27 Section 2.1.7: Compare on page 12 Section 2.2.1: Undo on page 25 Section 2.2.2: Redo on page 25 Section 2.5.1: Next Tool Change on page 36
Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

BUTTON

REFER TO

13. 14. 15. 16. 17.

Pick Next Recv Prop Plot

Section 2.2.6: Select Tool on page 27 Section 2.5.1: Next Tool Change on page 36 Section 2.6.2: Receive from CNC on page 43 Section 2.6.4: Properties on page 45 Section 2.1.11: Backplot on page 18

CNC Machines Menu To change the current CNC machine, click the arrow on the CNC Machines menu and select a CNC machine.

1.3.3

Status Bar

The status bar displays the current line and column position of the cursor for the active CNC program. It also displays a brief description of the currently selected command or toolbar button. The Status bar is displayed by default. Click Options > Status Bar to toggle it on or off.

1.3.4

Context-Sensitive Help

Press F1 to obtain context-sensitive help. Press CTRL + F1 to obtain What's This? help. Use this when your pointer is in a data entry box on a dialog box. Note: This is different from other Predator Editor help files in that there is no Whats This? button and you must press CTRL + F1.

Copyright 2000 by Predator, Inc. All Rights Reserved.

10

Predator Editor and DNC Manual

EDITOR MENUS 2.1 FILE MENU


2.1.1 New

When Predator Editor starts, a new blank CNC program named CNCCode1 opens. Predator Editor assigns a temporary name to the CNC program until it is saved. To begin working, simply start typing. Click the New button or click File > New to create a new CNC program at any time. Note: The temporary name will increment for every new CNC program. For example, the second new CNC program will be named CNCCode2 until it is saved.

2.1.2

Open
Click the Open button or click File > Open to open an existing CNC program. The Open dialog box will be displayed.

Note:

Check Read Only to review a CNC program without making changes. If a CNC program is flagged Read Only, Predator Editor will not allow any edits.

Predator Editor supports opening multiple CNC programs at the same time and does not define a limit to the number. The maximum number of multiple CNC programs open at the same time depends on the amount of Windows virtual memory. Predator Editor displays warning messages when memory gets low. Note: The CNC program size is limited to 32 Megs per CNC program and can be limited by the amount of Windows virtual memory.

2.1.3

Close

There are various methods to close the Predator Editor, the CNC program, or the current window. Note: If the Backplot window or the Compare window is open, it is considered the current window.

Refer to Section 2.1.15: Exit on page 24 to close the Editor.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

11

METHOD File Menu Keyboard Toolbar Button Control Menu

PROCEDURE Click File > Close to close the current window Press CTRL+W or CTRL+F4 or to close the current Window.

Note:

ALT+F4 will close the Editor, not just the window.


Click the Close button located on the right side of the Main Menu bar not on the Title barto close the active Window. Double-click the current File Control Button Double-click the Backplot Control Button Double-click the Compare Control Button

Double-click the Control menu box on the left side of the Main Menu barnot on the Title barto close the active window. Any other open windows will remain open.

Figure 8: Editor Menu Bar and Toolbar

Figure 9: Backplot Menu Bar and Toolbars

Figure 10: Compare Menu Bar and Toolbars

It is a good practice to close a CNC program when you are finished with it in order to free up memory. Note: If a CNC program has changes that have not been saved, Predator Editor will display a dialog box asking if you want to save the CNC program before exiting. If you choose Yes and the CNC program has a temporary name, Predator Editor will display the Save As dialog box. Refer to Section 2.1.4: Save.

Copyright 2000 by Predator, Inc. All Rights Reserved.

12

Predator Editor and DNC Manual

2.1.4

Save

You can set the Predator Editor to automatically create backup copies of the CNC programs. Refer to Chapter 2: Editor Menus, Section 2.7: Options Menu on page 49. Click the Save button or click File > Save to save a CNC program. (Shortcut: CTRL+S) Note: Note: If the active CNC program has a temporary file name, for example CNCCode1, the Save command becomes a Save As command. If the active CNC program is flagged Read Only and changes have been made, the Save command becomes a Save As command.

2.1.5

Save As

When you save a CNC program, Predator Editor saves it with its current name and location. Use the Save As command to save another copy of a CNC program. Naming CNC Programs A name for a CNC program is valid if it fits the following criteria: 1. File names can be up to 255 characters long including an optional file extension. 2. All characters are valid except the following characters * ? , ; [ ] + = \ / : | < >. 3. A period can be used only to separate the file name from the extension. Note: Extensions are useful for distinguishing among different types of files. For example, backup files have an extension of .BAK. Extensions can be used to indicate the CNC programs appropriate CNC control. For example, the extension of .F10 would indicate that the CNC program is for a Fanuc 10.

Using Save As to copy a CNC Program First save the active CNC program. Then click File > Save As. Type a new name or select a new location for the copy, and click the OK button.

2.1.6

Save All

Click File > Save All to save all open CNC programs. Note: The Save All command works like the Save and Save As commands.

2.1.7

Compare
Click the Compare button or click File > Compare to compare the active CNC program with a similar CNC program.

Note:

If no CNC program is currently open, Predator Editor will display an Open dialog box and will prompt you to open the first file. Another Open dialog box will then be displayed for you to select the second file.

When the files are both open, the editor will display them side by side. The menus will change and a compare toolbar will appear with several compare specific buttons.
Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

13

BUTTON

FUNCTION Display the start of both programs.

Top Scroll up both programs. Keep the button depressed to quickly scroll up both programs.

Scroll Up

To scroll either CNC program independently, click its individual scroll bar.
Scroll down both programs. Keep the button depressed to quickly scroll down both programs.

Scroll Down Display the end of both programs. Bottom Find the Next Difference in both programs. Next Difference To use the menu, click Compare > Next Difference. Include or accept the current difference in the original CNC program. Assign Difference To use the menu, click Compare > Assign Difference.

To edit either program independently, click in its window and type.


Exit Compare. Refer to Section 2.1.3: Close on page 10.

Exit
Copyright 2000 by Predator, Inc. All Rights Reserved.

14

Predator Editor and DNC Manual

2.1.8

Find File

Click File > Find File to search a hard drive or a network drive to find a CNC program. The Find File dialog box will be displayed. Specify the criteria and click OK. Predator Editor will search the drive and build a list of files that match the specified parameters. The Found Files dialog box will be displayed. Double-click a file to open the CNC program. Click the Reset button to return to the prior File Find dialog box.

2.1.9

Summary Information

Click File > Summary Information to summarize a CNC program. Predator Editor will calculate travel limits, feed rate limits, spindle speed limits, feet of tape and other related information for the active CNC program. To summarize a section of a CNC program, highlight the appropriate section before selecting Summary Information from the File menu. The Summary Information dialog box will be displayed.

Tape Summary Displays linear travel limits

Displays rotary travel limits File Summary

Figure 11: Summary Information dialog box

Note: Note:

The Summary Information command may take several minutes on large CNC programs. Refer to the Percentage Done gauge on the status bar. Select lines of code prior to Summary Information to summarize the selected lines only.
Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

15

2.1.10

Templates

Click File > Templates to configure Predator Editor for different styles of CNC controls. Templates configure Predator Editor for the following commands: Backplot Change Feed Rates and Spindle Speeds Delete Block Skips, Comments, End of Blocks, Sequence Numbers and Spaces Insert Block Skips, Comments, End of Blocks, Sequence Numbers and Spaces Next and Previous Tool Change Send, Receive, and Terminal Summary Info Math Operations When you click the Edit button, Predator Editor will display a Templates dialog box with four tabs: Registers, Strings, Commands, and Arcs. Registers Use the Registers tab of the Templates dialog box to configure registers to be any character or series of characters.
Specify Register Specify Registers Output Format

Specify a Value for preview display only

Display a preview of the registers format.

Copyright 2000 by Predator, Inc. All Rights Reserved.

16

Predator Editor and DNC Manual

The following table lists the registers available with their default values.
Register Name Axis Depth Axis Horizontal Axis Lower Guide Axis Rotary Depth Axis Rotary Horizontal Axis Rotary Vertical Axis Upper Guide Axis Vertical Circle Center Depth Circle Center Horizontal Circle Center Vertical Circle Radius Diameter Offset Feed Rate Fixture Offset Length Offset Default Z X V C A B U Y K I J R D F E H Register Name Miscellaneous Peck Increment Preparatory Rapid Plane Sequence Number Spindle Speed Tool Number User0 User1 User2 User3 ... User7 User8 User9 Default M Q G R N S T

Note:

Registers User0 - User9 are especially useful for supporting conversational style CNC programs.

Strings Use the Strings tab of the Templates dialog box to configure strings to be any character or series of characters.

Specify String

Output Value

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

17

The following table lists the strings available with their default values.
String Name Block Skip Comment Start Comment End End of Block Place Holder Program Start Program End Default / ( ) $ . % %

Commands

Specify Command

Specify Commands Output Register Specify Commands Output Value

Display Preview of the Commands Register Format and Value

The following table lists the commands available with their default values.
Command Name Absolute Arc Clockwise Arc Counterclockwise Depth / Horz Plane Feed Default G90 G2 G3 G18 G1 Command Name Horz / Vert Plane Incremental Rapid Tool Change Vert / Depth Plane Default G17 G91 G0 M6 G19

Copyright 2000 by Predator, Inc. All Rights Reserved.

18

Predator Editor and DNC Manual

Arcs Use the Arcs tab of the Templates dialog box to configure Arcs and Helixes to be any of the following circle center types.

Specify arc and helix circle center type.

2.1.11

Backplot

Click the Backplot button or click File > Backplot to backplot the active CNC program.

Drag this menu bar to the right to see all the tools.

Click this Exit button to close the Backplot window.

Figure 12: Backplot Window


Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

19

When Compare Mode is active, the Plot From Compare dialog box will be displayed prompting you to select which file to Backplot.

Backplot has its own toolbar and menu commands. Refer to Section 2.1.11.1: Backplot Toolbar on page 19. Note: Menus and toolbar buttons can be clicked even while backplotting.
The Backplot window displays a graphical view of the tool motion. To backplot a section of a CNC program, highlight the appropriate section before selecting Backplot. The backplotter changes color at each tool change, based on the tool number, for example T1 is blue and T2 is green. Linear and circular feed motion is shown with solid lines and arcs. Rapid motion is shown in dashed lines.

Exit Backplot Click the Exit button in the upper right corner of the Backplot windownot the Editor window. Refer to Section 2.1.3: Close on page 10.

2.1.11.1

Backplot Toolbar

BUTTON MENU View > Zoom Fit

FUNCTION IN CURRENT VIEWPORT *

Zoom Fit: Fit the graphic to the screen. Auto Fit: Automatically fit the current CNC program whenever it exceeds the boundaries of the current view.

Autofit works dynamically while the editor is backplotting.


View > Zoom In Zoom in on the toolpath graphics.

View > Zoom Out

Zoom out on the toolpath graphics.

View > Top View

Display the top view.

View > Front View

Display the front view.

Copyright 2000 by Predator, Inc. All Rights Reserved.

20

Predator Editor and DNC Manual

BUTTON MENU View > Back View

FUNCTION IN CURRENT VIEWPORT * Display the back view.

View > Bottom View

Display the bottom view.

View > Right View

Display the right view.

View > Left View

Display the left view.

View > Lathe View

Display the lathe view.

To display the lathe view correctly, verify that the horizontal, vertical, depth, circle horizontal, circle vertical, and circle depth axis are defined within the templates. Lathes and mills cannot share the same template since the axis definitions are so different. For example, Axis Horizontal on a mill is usually an X, while on a lathe it is typically a Z.
View > Isometric View Display the isometric view.

View > Axonometric View Display the axonometric view.

File > Print Backplot

Print the toolpath graphics. Note: Note: You must use the button on the Backplot toolbar, not the standard toolbar. Since clicking the Print Blackplot button prints using the defaults, the Print dialog box will not be displayed.

Refer to Print Backplot on page 21.


Single step each line. Perform the backplot. Pause the backplot. Stop the backplot.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

21

To use a different viewport, click the desired viewport then click the appropriate button on the toolbar.

2.1.11.2

Backplot Menus

Most of the commands on the Backplot menus are the same as those on the regular Editor menus. Differences are noted in the following. File Menu Refer to Section 2.1.1: New on page 10. Refer to Section 2.1.2: Open on page 10. Refer to Section 2.1.3: Close on page 10. Refer to Section 2.1.4: Save on page 12. Refer to Section 2.1.5: Save As on page 12. Refer to Section 2.1.6: Save All on page 12. Refer to Section 2.1.12: Printer Setup on page 23. Refer to Section 2.1.13: Print on page 24. Print Backplot Click File > Print Backplot to print the toolpath graphics or click the button on the Backplot toolbar. (Shortcut: CTRL+P) Note: You must use the button on the Backplot toolbar, not the standard toolbar.

To print from a different viewport, first click the desired viewport. Exit Refer to Section 2.1.15: Exit on page 24. Edit Menu Refer to Chapter 2: Editor Menus, Section 2.2: Edit Menu on page 25. Insert Menu Refer to Chapter 2: Editor Menus, Section 2.3: Insert Menu on page 29. Delete Menu Refer to Chapter 2: Editor Menus, Section 2.4: Delete Menu on page 34. NC Menu Refer to Chapter 2: Editor Menus, Section 2.5: NC Menu on page 36. DNC Menu DNC stands for Direct Numerical Control. Refer to Chapter 2: Editor Menus, Section 2.6: DNC Menu on page 42.

Copyright 2000 by Predator, Inc. All Rights Reserved.

22

Predator Editor and DNC Manual

View Menu Zoom fit All of the other commands have corresponding toolbar buttons. Refer to Section 2.1.11.1: Backplot Toolbar on page 19. Options Menu Toolbar Refer to Chapter 2: Editor Menus, Section 2.7.1: Toolbar on page 49. Backplot View

Figure 13: Vertical Backplot View

Figure 14: Horizontal Backplot View

If it appears that you only have one window, you might have to drag the splitter bar from the top or bottom for horizontal viewfrom the right or left for vertical view. Refer to Window Menu on page 23. Background Color Click Options > Background Color. For each of the following, a Color dialog box will be displayed for you to choose a color. Editor Your choice will become the background color for the editor. Text Your choice will become the color for the text in the editor. Backplot Your choice will become the background color for the backplot window. Font Refer to Chapter 2: Editor Menus, Section 2.7.5: Font on page 50. Status Bar Refer to Chapter 2: Editor Menus, Section 2.7.2: Status Bar on page 50. Backup Files Refer to Chapter 2: Editor Menus, Section 2.7.6: Backup Files on page 50.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

23

Window Menu For all commands except Split, refer to Section 2.8: Window Menu on page 51.

Figure 15: Split Bars

Figure 16: Split Window

Split To display multiple viewports within an open backplot window, do one of the following: 1. Drag the split bar. 2. Double-click the split bar. 3. Click Window > Split. The cursor will change into a splitter bar. Click on the position to split the current open backplot into multiple viewports. Note: Every viewport supports independent zoom in, zoom out, fit, pan, and view commands.

Drag either split bar to resize the viewports. Double-click a split bar to undo that split. Help Refer to Chapter 2: Help Menu starting on page 51.

2.1.12

Printer Setup

Click File > Printer Setup to change printers or their configuration. The Printer Setup dialog box will be displayed.
Copyright 2000 by Predator, Inc. All Rights Reserved.

24

Predator Editor and DNC Manual

2.1.13

Print

Click File > Print to print the active CNC program. (Shortcut: CTRL+P) The Predator Editor automatically prints the current date, time, page number, and file name in a header on every page for ISO 9000 compatibility. Note: If you use the menu command or the shortcut, the Print dialog box will be displayed.

If you use the toolbar button, the Print dialog box will not be displayed. The printer defaults will be used.
Also refer to Figure 7: Toolbar Buttons with Text and Icons on page 8.

2.1.14

List of Last Files Opened

The Predator Editor keeps track of the four CNC programs worked on most recently. One of these CNC programs can quickly be opened by selecting it from the bottom of the File menu.

2.1.15

Exit

There are various methods to close the Predator Editor, the CNC program, or the current window. Refer to Section 2.1.3: Close on page 10 to close the CNC program or the current window. Note: If either the Backplot window or the Compare window is open, it is considered the current window.

Here we consider closing the Editor program:


METHOD File Menu Keyboard Toolbar Button Control Menu PROCEDURE Click File > Exit to close the Predator Editor. Press Alt+F4 to close the Editor, not just the window. Click the Close button located on the right side of the Title barnot on the Menu barto close the Editor. Double-click the Control menu box on the left side of the Title barnot on the Menu barto close the Predator Editor.

Figure 17: Editor Menu Bar and Toolbar

Exiting Predator Editor closes all active CNC programs.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

25

If a CNC program has changes that have not been saved, Predator Editor will display a dialog box asking if you want to save the CNC program before exiting. If you choose Yes and the CNC program has a temporary name, Predator Editor will display the Save As dialog box. Refer to Section 2.1.4: Save on page 12.

2.2

EDIT MENU
2.2.1 Undo
Click the Undo button or click Edit > Undo to undo the effects of the last command. (Shortcut: CTRL+Z) The Undo command can be repeated to undo the effects of the last 256 commands per CNC program.

2.2.2

Redo
Click the Redo button or click Edit > Redo to redo the effects of the last command, after an undo.

Note:

Redo is only available after an Undo command.

The Redo command can be repeated to redo the effects of the last 256 Undo commands per CNC program.

2.2.3

Cut

Press backspace or delete during data entry to correct simple mistakes. Deleting with the Cut To delete large sections of a CNC program, first select the sections. Then click the Cut button or click Edit > Cut. Deleting with the Keyboard Several keys and key combinations can be used to delete sections of a CNC program. Refer to the online Editor Shortcuts Document. Moving with Cut The Cut command can also be used to move sections of a CNC program. To move sections of a CNC program, select the sections and click the Cut button or click Edit > Cut. The selected section of CNC code is deleted from the active CNC program and stored in a temporary location called the clipboard. Place the cursor into the desired position within a CNC program and click the Paste button or click Edit > Paste. A copy of the CNC code will then be inserted at the current cursor position.

Copyright 2000 by Predator, Inc. All Rights Reserved.

26

Predator Editor and DNC Manual

Moving with the Keyboard


Key(s)
CTRL+X CTRL+V SHIFT+DELETE SHIFT+INSERT

Cut / Move Cut selected text to the clipboard. Paste clipboard contents to cursor position. Cut selected text to the clipboard. Paste clipboard contents to cursor position.

Drag and Drop

Use Drag and Drop to quickly move CNC code within a CNC program.
1. Select the CNC code. 2. While code is highlighted, keep the mouse button depressed and drag the selected CNC code to a new position. 3. "Drop the code by releasing the mouse button.

2.2.4

Copy
To copy sections of a CNC program:

1. Select the sections. 2. Click the Copy button or click Edit > Copy. Shortcuts: CTRL+C or CTRL+INSERT The selected section of CNC code will be copied from the active CNC program and stored on the clipboard. 3. Place the cursor in the desired position within a CNC program and click the Paste button or click Edit > Paste. Shortcuts: CTRL+V or SHIFT+INSERT A copy of the CNC code will be inserted at the current cursor position.

2.2.5

Paste
To paste the contents of the clipboard into the active CNC program:

1. Select the sections you want to copy to the Clipboard. 2. Use either the Cut or the Copy command. 3. Place the cursor in the desired position within a CNC program and click the Paste button or click Edit > Paste. Shortcuts: CTRL+V or SHIFT+INSERT

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

27

2.2.6

Select Tool
Select all blocks that use the current tool. To use this command, position the cursor within the range of blocks you want selectedafter one tool change and before anotherand click Select Tool.

This command can be very effective when used with Change Feed Rates, Change Spindle Speeds, Backplotting, Math Operations, etc.

2.2.7

Select To Bookmark

Select all characters between the cursor position and the bookmark that you set previously. (Shortcut: Ctrl+B)

2.2.8

Select All

Click Edit > Select All to select or highlight the entire active CNC program prior to issuing a second command. (Shortcut: CTRL+A)

2.2.9

Find
Click the Find button or click Edit > Find to search for specific characters or CNC code. (Shortcut: CTRL+F). The Find dialog box will be displayed.

Finding CNC Codes If Predator Editor has trouble finding or replacing specific characters or CNC code, verify the following: 1. If Match Case is checked, Predator Editor will find only text with the same capitalization as you entered. 2. If From Cursor position is checked, Predator Editor will find text only after the current position. 3. Verify that there arent any spaces before or after the sequence of characters. For example, if you have a space after a CNC code in the Find, Predator Editor will not find that CNC code when it is immediately followed by another CNC code.

Copyright 2000 by Predator, Inc. All Rights Reserved.

28

Predator Editor and DNC Manual

2.2.10

Replace

Click Edit > Replace to search for, and replace specific characters or CNC code. (Shortcut: CTRL+H). The Find and Replace dialog box will be displayed.

2.2.11

Continue

Click Edit > Continue to continue the last Find or Replace command, even between multiple CNC programs. (Shortcut: F3).

2.2.12

Goto

Click Edit > Goto to find specific CNC registers. (Shortcut: CTRL+G) The Goto dialog box will be displayed.

Specify register to find.

Specify which occurrence. Indicate whether you want the search to begin from the beginning or from the cursor position.

2.2.13

Jump to Bookmark

Move cursor to bookmark. (Shortcut: Ctrl+J)

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

29

2.3

INSERT MENU
2.3.1 ASCII Code

Click Insert > ASCII Code to insert specific ASCII codes. The ASCII Table dialog box will be displayed. Note: Some characters will display differently based on the currently selected font.

2.3.2

Block Skips

To insert block skips, select the lines of CNC code and then click Insert > Block Skips. A block skip will be inserted at the beginning of each selected line of CNC code.
Before T1 M6 M3 S5000 G1 X1.5 Y2.4 F9. After /T1 M6 /M3 S5000 /G1 X1.5 Y2.4 F9.

Defining Block Skips Click File > Templates, choose a template, and click the Edit button to configure Block Skips to be any character or series of characters. The default Block skip is a forward slash.

2.3.3

Bookmark

Insert a bookmark, or reference point, at the current cursor position in the NC program file. This bookmark does not alter the file and it exists only for the edit session in which you set it. (Shortcut: Ctrl+M)

Copyright 2000 by Predator, Inc. All Rights Reserved.

30

Predator Editor and DNC Manual

2.3.4

Comments

To insert comments, select the lines of CNC code and then click Insert > Comments. Comments will be inserted for each selected line of CNC code.
Before T1 M6 M3 S5000 G1 X1.5 Y2.4 F9. After (T1 M6) (M3 S5000) (G1 X1.5 Y2.4 F9.)

Defining Comments Click File > Templates, choose a template, and click the Edit button to configure Comments to be any character or series of characters. The default comment is an open parenthesis and a close parenthesis.

2.3.5

Date

To insert the current date, position the cursor and click Insert > Date.

2.3.6

End Of Blocks

To insert end of blocks, select the lines of CNC code and then click Insert > End Of Blocks. An End of Block will be inserted at the end of each selected line of CNC code.
Before T1 M6 M3 S5000 G1 X1.5 Y2.4 F9. After T1 M6$ M3 S5000$ G1 X1.5 Y2.4 F9.$

Defining End Of Block Click File > Templates, choose a template, and click the Edit button to configure End Of Block to be any character or series of characters. The default End Of Block is a dollar sign.

2.3.7

Expression

Click Insert > Expression to insert the result of a complex expression at the cursor position. (Shortcut: Ctrl+E) The Expression command solves complex math operations with support for trig functions and variables. The Expressions dialog box will be displayed.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

31

Type an expression using any combination of constants, functions, or variables.

Click to insert the variable into the expression.

Preview expression results dynamically.

Expression Variables The following table lists the expression variables available. The values are displayed in the dialog box and are based on the position of the cursor.
Variables A B C F PI S T U V X Y Z Description Last Axis Rotary Horizontal Last Axis Rotary Vertical Last Axis Rotary Depth Last Feed Rate Math Constant Last Spindle Speed Last Tool Number Last Axis Upper Guide Last Axis Lower Guide Last Axis Horizontal Last Axis Vertical Last Axis Depth

The variables are inserted using the formatting specified in the current template.

Copyright 2000 by Predator, Inc. All Rights Reserved.

32

Predator Editor and DNC Manual

Basic Operators The following table lists the basic operators available in the order of evaluation with a description.
Operator ^ * / + Description Exponentiation Multiplication Division Addition Subtraction

The above operators can be typed or the appropriate button can be clicked with the mouse. Complex Expressions Use parentheses to force the order of evaluation with a complex expression. Math Functions Refer to Chapter 4: Tables, Section 4.1: Math Functions on page 96 for a complete table listing of all the advanced functions. Sample Expressions The following table lists a few sample expressions and their results.
Expression F*2 (F*2)+5.5 2*COS(PI) Result 36. 41.5 1.997

2.3.8

File

Position the cursor at the point of insertion and then click Insert > File to insert existing CNC code, sub programs, subroutines or any file. The Open NC Code or ToolPath File dialog box will be displayed. If the file is not listed, verify that the correct drive and directory are selected. Also verify that the Files of Type box specifies the correct file type. To list all CNC programs in the current directory, select All Files in the Files of Type box. Click Insert > Sequence Numbers to display the Sequence Numbers dialog box.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

33

2.3.9

Sequence Numbers

Before T1 M6 M3 S5000 G1 X1.5 Y2.4 F9.

After N10 T1 M6 N15 M3 S5000 N20 G1 X1.5 Y2.4 F9.

Note:

Select lines of code prior to Insert Sequence Numbers to add them to the selected lines only.

Defining Sequence Numbers Click File > Templates, choose a template, and click the Edit button to configure Sequence numbers to be any character or series of characters. The default sequence number is the letter N. In addition, the Templates command supports full register formatting for all sequence number values.

2.3.10

Spaces

Click Insert > Spaces to insert spaces before every defined register.
Before T1M6 M3S5000 G1X1.5Y2.4F9. After T1 M6 M3 S5000 G1 X1.5 Y2.4 F9.

Note:

Select lines of code prior to Insert > Spaces to add them to the selected lines only.

Defining Spaces The Predator Editor can be configured to insert spaces before any defined register. Click File > Templates, choose a template, and click the Edit button to configure Registers to be any character or series of characters. Refer to Registers on page 15.

Copyright 2000 by Predator, Inc. All Rights Reserved.

34

Predator Editor and DNC Manual

2.3.11

Time

Click Insert > Time to insert the current time at the cursor position.

2.4

DELETE MENU
Table of Contents

2.4.1

Block Skip Lines

Click Delete > Block Skip Lines. Each line of CNC code that starts with a block skip will be deleted.
Before /T1 M6 /M3 S5000 G1 X1.5 Y2.4 F9. After G1 X1.5 Y2.4 F9.

Note:

Select lines of code prior to Delete Block Skips to delete them from the selected lines only.

Defining Block Skips Click File > Templates, choose a template, and click the Edit button to configure Block Skips to be any character or series of characters. The default Block skip is a forward slash.

2.4.2

Truncate Comments

Click Delete > Comments. Each comment will be truncated from every line of CNC code.
Before T1 M6 (1/2 EM) (JOB 123-456) 1 X1.5 Y2.4 F9. After T1 M6 G1 X1.5 Y2.4 F9.

Note:

Select lines of code prior to Delete > Comments to delete them from the selected lines only.

Defining Comments Click File > Templates, choose a template, and click the Edit button to configure Comments to be any character or series of characters. The default comment is an open parenthesis and a close parenthesis.

2.4.3

End of Blocks

Click Delete > End of Blocks. Each End Of Block will be deleted from every line of CNC code.
Before T1 M6$ M3 S5000$ G1 X1.5 Y2.4 F9.$ After T1 M6 M3 S5000 G1 X1.5 Y2.4 F9.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

35

Note:

Select lines of code prior to Delete > End of Blocks to delete them from the selected lines only.

Defining End Of Block Click File > Templates, choose a template, and click the Edit button to configure End Of Block to be any character or series of characters. The default End Of Block is a dollar sign.

2.4.4

Sequence Numbers

Click Delete > Sequence Numbers.


Before N10 T1 M6 N15 M3 S5000 N20 G1 X1.5 Y2.4 F9. After T1 M6 M3 S5000 G1 X1.5 Y2.4 F9.

Note:

Select lines of code prior to Delete Sequence Numbers to delete them from the selected lines only.

Defining Sequence Numbers Click File > Templates, choose a template, and click the Edit button to configure the Sequence Number to be any character or series of characters. The default sequence number is the letter N.

2.4.5

Spaces

Click Delete > Spaces.


Before T1 M6 M3 S5000 G1 X1.5 Y2.4 F9. After T1M6 M3S5000 G1X1.5Y2.4F9.

Note:

Select lines of code prior to Delete > Spaces to delete them from the selected lines only.

2.4.6

Line

Click Delete > Line to delete the current line. (Shortcut: Ctrl+D)
Before T1 M6 M3 | S5000 G1 X1.5 Y2.4 F9. After T1 M6 G1 X1.5 Y2.4 F9.

Copyright 2000 by Predator, Inc. All Rights Reserved.

36

Predator Editor and DNC Manual

2.4.7

Truncate Line

To truncate the current line, position the cursor at the truncation point and click Delete > Line. The current line will be truncated at the cursor position.
Before T1 M6 M3 | S5000 G1 X1.5 Y2.4 F9. After T1 M6 M3 G1 X1.5 Y2.4 F9.

2.5

NC MENU
2.5.1 Next Tool Change
Click the Next Tool Change button or click NC > Next Tool Change to find the next tool change. Defining Tool Changes Click File > Templates, choose a template, and click the Edit button to configure Tool Changes to be any character or series of characters. The default Tool Change command is an M6.

2.5.2

Previous Tool Change


Click the Previous Tool Change button or click NC > Previous Tool Change to find the previous tool change.

Defining Tool Changes Click File > Templates, choose a template, and click the Edit button to configure Tool Changes to be any character or series of characters. The default Tool Change command is an M6.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

37

2.5.3

Change Feed Rates

Click NC > Change Feed Rates to display the Feed Rate dialog box.

Drag the dial to specify values.

Optional: Set Minimum and Maximum Limits

Note:

Select lines of code prior to selecting NC > Change Feed Rates to edit them on the selected lines only.

Defining Feed Rates Click File > Templates, choose a template, and click the Edit button to configure Feed rates to be any character or series of characters. The default feed rate is the letter F. In addition, the Templates command supports full register formatting for all feed rate values.
Before T1 M6 M3 S5000 G1 X1.5 Y2.4 F9. After T1 M6 M3 S5000 G1 X1.5 Y2.4 F4.5

Copyright 2000 by Predator, Inc. All Rights Reserved.

38

Predator Editor and DNC Manual

2.5.4

Change Spindle Speeds

Click NC > Change Spindle Speed to display the Spindle Speed dialog box.

Drag the dial to specify values.

Optional: Set Minimum and Maximum Limits

Note:

Select lines of code prior to selecting NC > Change Spindle Speeds to edit them on the selected lines only.

Defining Spindle Speeds Click File > Templates, choose a template, and click the Edit button to configure Spindle Speeds to be any character or series of characters. The default spindle speed is the letter S. In addition, the Templates command supports full register formatting for all spindle speed values.
Before T1 M6 M3 S5000 G1 X1.5 Y2.4 F9. After T1 M6 M3 S2500 G1 X1.5 Y2.4 F9.

2.5.5

Resequence

The Resequencing Properties dialog box will be displayed so you can resequence existing sequence numbers. This process is twice as fast as deleting existing sequence numbers and re-inserting different ones. This method simplifies the process when sequence numbers are used to support dual turret lathes or other specialized machines.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

39

2.5.6

Math Operations

Click NC > Math Operations to change a register based on the result of a complex expression. The Math Operation command solves complex math operations with support for trig functions and variables. The Register Math Operations dialog box will be displayed.
Specify a Register or Choose Custom

Type an expression using any combination of constants and functions

Preview expression results dynamically.

Basic Operators The following table lists the basic operators available in the order of evaluation with a description.
Operator ^ * / + Description Exponentiation Multiplication Division Addition Subtraction

Complex Expressions Use parenthesis to force the order of evaluation with a complex math operation. Advanced Functions Refer to Chapter 4: Tables, Section 4.1: Math Functions on page 96 for a complete table listing of all the advanced functions.

Copyright 2000 by Predator, Inc. All Rights Reserved.

40

Predator Editor and DNC Manual

Registers
Register Name Axis Depth Axis Horizontal Axis Lower Guide Axis Rotary Depth Axis Rotary Horizontal Axis Rotary Vertical Axis Upper Guide Axis Vertical Circle Center Depth Circle Center Horizontal Circle Center Vertical Circle Radius Diameter Offset Feed Rate Fixture Offset Length Offset Miscellaneous Peck Increment Preparatory Rapid Plane Sequence Number Spindle Speed Tool Number User0 User1 User2 User3 ... User7 User8 User9 Default Z X V C A B U Y K I J R D F E H M Q G R N S T

Note:

Select lines of code prior to selecting NC > Math Operations to edit them on the selected lines only.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

41

Defining Registers Click File > Templates, choose a template, and click the Edit button to configure Registers to be any character or series of characters. The defaults are shown on the previous page. In addition, the Templates command supports full register formatting for all numeric values.
Before T1 M6 M3 S5000 G1 X1.5 Y2.4 F9. After T1 M6 M3 S5000 G1 X4.5 Y2.4 F9.

2.5.7

DNC Restart

Click NC > DNC Restart to create a CNC program after a tool breaks. DNC Restart creates a copy of the current CNC program, deletes every line above the cursor, and inserts the program start register at the beginning. Note: The original CNC program is not affected by the DNC Restart command.

Restart from previous tool change


Follow these steps to restart from the previous tool change. 1. Click the Next or Previous Tool Change button to find the appropriate restart position. 2. Position the cursor to the desired restart position. 3. Select DNC Restart from the NC menu. 4. Review and edit the new CNC program to eliminate any potential errors. 5. Optionally backplot the new CNC program to graphically verify the restart position. 6. Save the new CNC program.

Restart from any line


Follow the steps on the following page to restart from any line. 1. Position the cursor to the desired restart position. The Find and Goto commands can be especially helpful. 2. Click the Previous Tool Change button. 3. Select the appropriate number of tool change lines. 4. Click the Copy button. 5. Click the Undo button three times to return to the appropriate restart position. 6. Select DNC Restart from the NC menu. 7. Position the cursor below the number of lines defined in the program start register. 8. Click the Paste button. 9. Review and edit the new CNC program to eliminate any potential errors. 10. Optionally backplot the new CNC program to graphically verify the restart position. 11. Save the new CNC program.

Copyright 2000 by Predator, Inc. All Rights Reserved.

42

Predator Editor and DNC Manual

2.6

DNC MENU
2.6.1 Send to CNC
Click the Send to CNC button or click DNC > Send To CNC to send the active CNC program to a CNC machine, . The Sending dialog box will be displayed. The bottom portion of that dialog box is displayed below.
Displays the total size in bytes and feet of tape

Displays characters per second, characters sent, and feet of tape sent Displays the current RS-232 communication port parameters Displays the current signal state of the major RS-232 wires. Click OK to abort the send gracefully. Click Cancel to abort the send immediately.

Note:

The Cancel button aborts the Send to CNC command by sending the End Sequence defined below.

Defining Send to CNC Click DNC > Properties to configure the Send To CNC command to add any character or series of characters. The following send sequence is always used. Start Sequence Conversation Send Start String Program Send Start String Sequence per Line of CNC Program Line Send Start String <one line of the CNC program> Line Send End String CR/LF Send Translation Line Send Delay Sequence per Character of CNC Program <one character of the CNC program> Character Send Translation Character Send Delay
Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

43

End Sequence Program Send End String Conversation Send End String Note: Multiple send configurations per CNC machine can be defined with the Templates and Properties command.

Send from Disk To send a CNC program directly from disk, close all open CNC programs prior to clicking the Send To CNC button or selecting the Send To CNC command from the DNC menu. Note: Send from Disk supports local floppy drives, local hard disk drives, and remote network drives.

Send in the Background Every Send works in the background, allowing for editing, backplotting, or running other applications in the foreground. Note: Under Windows 95, ill-behaved foreground applications can interrupt, delay, or even hang sending CNC programs in the background. Windows NT is highly recommended for sending CNC programs in the background.

2.6.2

Receive from CNC


Click the Receive from CNC button or click DNC > Receive From CNC to display the DNC Receive dialog box.

Displays the last 4000 characters of the CNC program currently being received

Displays characters per second, characters received, and feet of tape received Displays the current RS-232 communication port parameters Displays the current signal state of the major RS-232 wires.

Copyright 2000 by Predator, Inc. All Rights Reserved.

44

Predator Editor and DNC Manual

Defining Receive from CNC Click DNC > Properties to configure the Receive from CNC command. The following receive sequence is always used. Sequence per Line of CNC Program <one line of the CNC program> CR/LF Receive Translation Sequence per Character of CNC Program <one character of the CNC program> Character Receive Translation Receive in the Background Every Receive works in the background, allowing for editing, backplotting, or running other applications in the foreground. Note: Under Windows 95, ill-behaved foreground applications can interrupt, delay, or even hang receiving CNC programs in the background. Windows NT is highly recommended for receiving CNC programs in the background.

2.6.3

Terminal

Click DNC > Terminal to remotely access a CNC machine. The Terminal dialog will be displayed. Note: Not all CNC machines support terminal or remote RS-232 access. Some CNC machines require terminal or remote access prior to any send, receive or DNC operations. Refer to Chapter 3: DNC Setup and Reference starting on page 52 and to the controls documentation for additional details.

Displays the last 4000 characters received from the CNC machine

Displays the current RS-232 communication port parameters Displays the current signal state of the major RS-232 wires.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

45

Click the Send or Receive buttons to begin sending or receiving a CNC program. Defining Terminal Click DNC > Properties to configure the Terminal command. Terminal in the Background Terminal works in the background allowing for editing, backplotting, or running other applications in the foreground. Note: Under Windows 95, ill-behaved foreground applications can interrupt, delay, or even hang terminal. Windows NT is highly recommended for using terminal in the background.

2.6.4

Properties
Click the Properties button or click DNC > Properties to edit the current DNC properties. Properties configure the following commands:

Send to CNC Receive from CNC Terminal Note: To create, rename, copy or delete CNC controls, select Templates from the File menu. The CNC Library dialog box will be displayed.

Note:

Properties and Templates share a common library.

Copyright 2000 by Predator, Inc. All Rights Reserved.

46

Predator Editor and DNC Manual

RS-232 Properties Properties can be configured for almost every CNC control using the following dialog box.

Events Defining Event Strings Click DNC > Properties > Events to configure Event strings to be any character or series of characters.

Specify event string. Specify event strings output value.

Note:

Special characters can be specified using the following format \n where n=0-255 and n is the characters ASCII value in decimal. For example, specifying the conversation start string to \013\010 would output a blank line at the beginning of every CNC program sent to the CNC machine. Refer to Chapter 4: Tables, Section 4.5: ASCII Chart on page 109.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

47

The following table lists the strings available.


STRING NAME Comment End Comment Start Conversation Send End Conversation Send Start STRING NAME Line Send End Line Send Start Program Send End Program Send Start

Defining Event Constants Click DNC > Properties > Events to configure Event constants to slow down RS-232 communications to older CNC controls.

Specify event constant. Specify event constants value in milliseconds.

The following table lists the constants available.


Constant Name Character Send Delay Line Send Delay

Refer to: Chapter 3: DNC Setup and Reference, Section 3.2: DNC Setups on page 56, Chapter 4: Tables, Section 4.4: BTR Setups on page 106, and to Chapter 3: DNC Setup and Reference, Section 3.1: RS-232 Basics on page 52. Translate Translation tables provide comprehensive configuration of every character sent or received by the Predator Editor. ASCII to EIA, EIA to ASCII, ASCII to ISO, ISO to ASCII and custom translations are possible using the Translate tab within the Properties dialog box.

Copyright 2000 by Predator, Inc. All Rights Reserved.

48

Predator Editor and DNC Manual

Displays receive character and its ASCII value

Specify Send CR and LF translation.

Option Cells Click the option cell to remove, replace, or delay each sent/received character. Value Cells Click the value cell to specify the values used to replace or delay each sent/received character. Refer to: Chapter 3: DNC Setup and Reference, Section 3.2: DNC Setups on page 56, Chapter 4: Tables, Section 4.4: BTR Setups on page 106, and to Chapter 3: DNC Setup and Reference, Section 3.1: RS-232 Basics on page 52. Translate Examples The following examples solve common DNC problems using the Translate Tab within the Properties Command. 1. Deleting Leaders and Trailers The following example will automatically delete leaders and trailers during a Receive From CNC command.
Receive Translation \000 Remove

2. Deleting Extra Carriage Returns The following example will automatically delete extra carriage returns during a Receive From CNC command.
Receive Translation \013 \010 Remove Replace Value \013\010

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

49

3. Deleting Punch Codes The following example will automatically delete punch codes during a Receive From CNC command.
Receive Translation \018 \020 Remove Remove

4. Deleting End of Tape Codes The following example will automatically delete end of tape codes during a Receive From CNC command.
Receive Translation \004 \003 Remove Remove

5. Deleting Spaces The following example will automatically delete spaces during a Send To CNC command.
Send Translation \032 Remove

2.7

OPTIONS MENU
2.7.1 Toolbar

Some of the following commands should not be used from the Backplot menu. Small Icons The Small Icons toolbar is displayed by default. If Large Icons are currently being used, click Options > Toolbar > Small Icons to place a check mark in front of Small Icons and enable the display of the small icons. Large Icons The Large Icons toolbar is often used in touch screen applications. Click Options > Toolbar > Large Icons to place a check mark in front of Large Icons and enable the display of the large icons. Toolbar Style Classic or Explorer style buttons

Figure 18: Classic Style

Copyright 2000 by Predator, Inc. All Rights Reserved.

50

Predator Editor and DNC Manual

Figure 19: Explorer Style

Text Icons Display text under the icons. Icons Only Display icons without text. Off Click Options > Toolbar > Off to turn off the display of the Editor Toolbar. To turn it back on again, click either Options > Toolbar > Large Icons or Options > Toolbar > Small Icons. Note: If the toolbar is turned off, select the CNC programs maximize button to take advantage of the additional space.

2.7.2

Status Bar

The status bar is displayed by default. Click Options > Status Bar to toggle the Status Bar on or off. Note: If the status bar is toggled off, select the CNC programs maximize button to take advantage of the additional space.

2.7.3

Background Color

Click Options > Background Color to display the Color dialog box. Choose a color from the Basic colors, the previously defined Custom colors, or click the Define Custom Colors button to specify a unique color.

2.7.4

Text Color

Click Options > Text Color to display the Color dialog box. Choose a color from the Basic colors, the previously defined Custom colors, or click the Define Custom Colors button to specify a unique color.

2.7.5

Font

Click Edit > Font to change the CNC code display. The Font dialog box will be displayed.

2.7.6

Backup Files

Predator Editor can create backup files. Click Options > Backup Files to toggle this option on or off. Backup files are assigned the BAK extension by default. If a CNC program gets accidentally deleted or corrupted beyond repair, revert to the backup file. Note: Before using a backup file for production work, update the backup CNC program for any recent changes.
Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

51

2.8

WINDOW MENU

This chapter provides instructions for using all window commands grouped in the Window Menu. Predator Editor supports working with multiple CNC programs at the same time. Each CNC program has a separate window. Cascade, Vertical Tile, Horizontal Tile These are the standard Windows display commands. Arrange Icons To neatly arrange minimized open CNC programs, click Window > Arrange Icons. List of Current Files To switch to a different open CNC program, select among the list of currently open files at the bottom of the Window menu.

2.9

HELP MENU

Contents Click Help > Contents to display the table of contents. Search for Help on Click Help > Search for Help On to search for a help topic, or click on the search button in the Help window. Introduction Click Help > Introduction to display an introduction to the Predator Editor. G Codes Milling Click Help > G Codes Milling to display a list of common milling G Codes. This manual also contains a complete listing. Refer to the online G and M Codes Document. G Codes Turning Click Help > G Codes Turning to display a list of common turning G Codes. This manual also contains a complete listing. Refer to the online G and M Codes Document. Shortcut Keys Click Help > Shortcut Keys to display a list of the shortcut keys available. This manual also contains a complete listing. Refer to the online Editor Shortcuts Document. About Predator Editor Click Help > About to display the Predator Editors serial number and version number. Click the System Info button to see detailed information about your PC for troubleshooting technical problems. To close the help window, press the <Esc> key.

Copyright 2000 by Predator, Inc. All Rights Reserved.

52

Predator Editor and DNC Manual

DNC SETUP AND REFERENCE 3.1 RS-232 BASICS

This chapter provides an introduction to the RS-232 standard and how it relates to CNC machines. Even though RS-232 (Electronic Industry Association recommended standard number 232) communication is well defined, getting it to work correctly can be challenging. The standard was initially designed to connect terminals and modems and these terms are still used in the industry. The computer is the terminal or the data terminal equipment (DTE) and the CNC is the modem or the data communication equipment (DCE). This manual will use the terms computer and CNC for simplification. Note: The standard 25 pin serial port will be used in all wiring diagrams in this manual.

3.1.1

Baud Rate, Parity, Data Bits and Stop Bits

These terms describe the format of the CNC program sent through the RS-232 cables. The computer and the CNC must have matched baud rates, parity, data bits and stop bits. When these are set incorrectly, a transferred CNC program will be garbled.

3.1.2

Flow Control

Flow control is the ability to pause communication and allow a CNC to process the CNC program received from a faster computer. Flow control can be implemented in software or hardware. Software flow control adds certain characters to the CNC program to notify the computer or CNC machine of its status. Hardware flow control monitors the transfer of the CNC program by changing the state of the flow control lines in the RS-232 cable. It is important to verify that the cable contains the correct wiring if hardware flow control is used. When flow control is set incorrectly, garbled CNC programs or lost information will develop as the transfer progresses.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

53

3.1.3

Cable Installation

When installing RS-232 cable, try to avoid RF and EMF noise. Too much RF and EMF noise will interfere with the transfer of CNC programs over long cable distances with fast baud rates. If problems persist: 1. Use shielded twisted pair cabling with a drain wire. For example, Beldon cable number 8723. 2. Attach the drain wire to pin one on the PC connector only. 3. Move cable away from power conduits. 4. Move cable away from electrical motors including air conditioners, air compressors, and machine tool motors. 5. Move cable away from light fixtures. 6. Move cable away from welding and EDM equipment.

3.1.4

Cabling

The following wiring diagrams assume there is a standard DB25 pin RS-232 port on the CNC control. One-way communication can be achieved by connecting the transmit line and the signal ground line.
Wiring Diagram (Send Only) CNC Control 1 2 3 4 5 6 7 8 9 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved ... 25 Unused

Copyright 2000 by Predator, Inc. All Rights Reserved.

54

Predator Editor and DNC Manual

In order to receive information from the CNC, add in the receive line.
Wiring Diagram (Send and Receive) CNC Control 1 2 3 4 5 6 7 8 9 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved ... 25 Unused

Since the only lines that are connected are for data communication, a cable wired per the above diagram will support software flow control only.

3.1.5

Hardware Flow Control

In order to support hardware flow control, the request to send and clear to send lines also need to be connected. The computer will use the request to send line to notify the CNC that it is ready to send information. The computer then waits for the CNC to set the clear to send line before it transfers any information. Similarly, the CNC will set its request to send line to indicate that it is ready for information, and wait for the computer to set the clear to send line before it transfers any information. Connect the request to send line of the computer to the clear to send line of the CNC and connect the clear to send line of the computer to the request to send line of the CNC. The following wiring diagram is the minimum required cable for using hardware flow control.
Wiring Diagram (Hardware) CNC Control 1 2 3 4 5 6 7 8 9 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved ... 25 Unused

Note:

When installing RS-232 cables, have the following tools on hand; Adjustable Pliers, Crimp Tool, Electrical Tape, Flat Screwdriver, Needle Nose Pliers, Ohm

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

55

Meter, Philips Screwdriver, Pins, Shells, Soldering Iron, Ties, Wire Connectors, Wire Cutter, Wire Markers, and Wire Stripper. The following table lists the standard RS-232 DB9 pins and their descriptions.
9 Pin RS-232 Pin 1 2 3 4 5 6 7 8 9 Function Received Line Signal Detect Received Data Transmitted Data Data Terminal Ready Signal Ground Data Set Ready Request To Send Clear To Send Ring Indicator

The following table lists the standard DB25 pins RS-232 and their descriptions.
25 Pin RS-232 Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Function Protective Ground Transmitted Data Received Data Request To Send Clear To Send Data Set Ready Signal Ground Received Line Signal Detector Reserved Reserved Unused Secondary Received Line Signal Detector Secondary Clear To Send Secondary Transmitted Data Transmission Signal Element Timing Secondary Received Data Receiver Signal Element Timing Unused Secondary Request To Send Data Terminal Ready Signal Quality Detector Ring Indicator Data Signal Rate Selector Transmit Signal Element Timing Unused

Copyright 2000 by Predator, Inc. All Rights Reserved.

56

Predator Editor and DNC Manual

3.1.6

Cable Lengths

The quality of the cable will determine the maximum lengths and baud rates. The following table lists recommended cables, guidelines for shielding and maximum cable lengths.
Belden # 8102 8103 8132 8133 Pairs 2 3 2 3 Cable 24 GA. 24 GA. 28 GA. 28 GA. Maximum Length 190 FEET 190 FEET 220 FEET 220 FEET

Note:

Greater distances can be achieved with the use of short haul modems, RS-422 converters or fiber optic converters.

3.1.7

DNC RS-232 Worksheet

Use the worksheet Chapter 4: Tables, Section 4.6: Worksheets on page 110 to assist and record the setup process for every CNC machine.

3.2

DNC SETUPS

The following is an RS-232 communication guide on setup and configuration for common CNC controls. Note: Due to the vast number of different machine tools, CNC controls, builders, and OEMs, Predator Editor cannot guarantee that the following information is current with respect to any particular CNC machine.

Predator Editor supports any CNC control that can bi-directionally communicate via its RS-232 port using ASCII and ISO formats using industry standard software or hardware flow control. In addition, Predator Editor supports any ASCII serial device including BTRs or tape punches. Older controls can be interfaced using the Predator Editor BTR. Refer to Chapter 4: Tables, Section 4.4: BTR Setups on page 106 for a comprehensive list of supported controls. Due to manual size limitations, not every CNC control setup could be included. Refer to Chapter 4: Tables, Section 4.3: CNC Setups on page 101 for a comprehensive list of supported CNC controls along with their appropriate document names. Note: 1. 2. 3. 4. 5. 6. 7. 8. Recommended baud rates should be used as a starting point and can be increased after confidence in wiring and line noise is verified. 13. 14. 15. 16. 17. 18. 19. 20. Fanuc 6 and 9 / GN 6 and 9 (p. 75) Fanuc 10, 11, 12, and 15 (p. 76) Fanuc 16, 18, 160 and 180 (p. 79) Haas Mill and Lathe (p. 81) Heidenhain 145 - 412 (p. 83) Maho 432 - 532 (p. 85) Mazak M-32 and T-32 (p. 86) Mazak M2 and T2 (p. 88)

Anilam Crusader (p. 57) Bridgeport BOSS 3, 4, 5 and 6 (p. 59) Bridgeport BOSS 8, 9 and 10 (p. 60) Centurion 5 (p. 61) Decitek Tape Punch (p. 63) Decitek Tape Punch (p. 64) Dyna Mechtronics 2200 - 4400 (p. 65) Dynapath Delta 20 and 30 (p. 67)

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

57

9. 10. 11. 12.

Facit Tape Punch 4046 - 4047 (p. 69) Fadal CNC 88, HS and MP-32 (p. 70) Fanuc 0 (p. 71) Fanuc 3 / GN 3 (p. 74)

21. 22. 23. 24.

Okuma OSP 500 - 5000 (p. 89) Siemens 810 (p. 91) Yasnac LX-1, MX-1 and MX-2 (p. 92) Yasnac LX-3 and MX-3 (p. 94)

3.2.1

Anilam Crusader

Anilam Crusader Setup


From the Anilam Crusader control set the following AUX codes with the following procedure: 1. Press Emergency Stop button. 2. Pull Out the Emergency Stop button. 3. Press Manual button. 4. Set the AUX code. 5. Press Start button. 6. Repeat steps 4 and 5 until completed. Note: The AUX codes are organized into five groups and should be set in the following order.
1st Group AUX 2780 AUX 2781 AUX 2782 AUX 2783 AUX 2784 Baud Rates 110 150 300 600 1200 1st Group AUX 2785 AUX 2786 AUX 2787 AUX 2788 AUX 2789 Baud Rates 1800 2400 4800 9600 19200

Copyright 2000 by Predator, Inc. All Rights Reserved.

58

Predator Editor and DNC Manual

2nd Group AUX 2790 AUX 2791 AUX 2792 3rd Group AUX 2765 AUX 2766 AUX 2767 AUX 2768 4th Group AUX 2770 AUX 2771 AUX 2772 5th Group AUX 2700 AUX 2701

Handshake or Flow Control None Software Hardware, DTR-DSR Data Bits 5 6 7 8 Parity None Odd Even Send and Receive Write to RS-232 using G & M Codes Read from RS-232 using G & M Codes

Note:

The AUX codes in the 5th Group are not modal and must be set every time.

If the CNC program is larger than the available memory on the CNC control, add M2711 codes and % within the CNC program every 1000 lines.
Wiring Diagram Anilam Crusader 1 2 3 4 5 6 7 8 9 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved ... 25 Unused

Anilam Crusader Send to CNC Tutorial


From Crusader 1. Select AUX 2701. 2. Select Automatic. 3. Press Start. Note: Some Anilam Crusaders do not require the operator to select Automatic.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

59

From Predator Editor 1. Select the appropriate CNC machine. 2. Click the toolbar button or click DNC > Send to CNC.

3.2.2

Bridgeport BOSS 3, 4, 5 and 6

Bridgeport BOSS 3, 4, 5 and 6 Setup


Configure baud rates on the control by removing the ERS card and setting the following switches.
Switch S2 S3 Status ON ON Baud Rate 300 1200

Note:

Turn off the 10K connector on the ERS card.


Value K\13\10\13\10\17 \26 Event String Conversation Send Start Conversation Send End

Set the following strings in the DNC properties dialog box.

Copyright 2000 by Predator, Inc. All Rights Reserved.

60

Predator Editor and DNC Manual

Wiring Diagram Bridgeport 3, 4, 5 and 6 PC 25 Pin 1 2 3 4 5 6 7 8 9 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved

Bridgeport BOSS 3, 4, 5 and 6


Send to CNC Tutorial From Bridgeport BOSS, select edit mode. From Predator Editor 1. Select the appropriate CNC machine. 2. Note: Click the toolbar button or click DNC > Send to CNC. CNC programs for the Bridgeport will not load if they contain a % at the beginning, an E at the end of the program, or a $ at the end of the program.

3.2.3

Bridgeport BOSS 8, 9 and 10

Bridgeport BOSS 8, 9 and 10

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

61

Send to CNC Tutorial 1. The Bridgeport control will prompt for a program number. 2. Type a -, negative sign, to enable software flow control. Note: Bridgeport Easylink protocol is supported by the Predator Editor DNC series only.
Wiring Diagram Bridgeport 8, 9 and 10 PC 25 Pin 1 2 3 4 5 6 7 8 9 ... 25 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved ... 25 Unused

Bridgeport BOSS 8, 9 and 10 Setup


Connect cabling to DNC port, Port B. Add a CR to all LF received using the Translate tab within the DNC properties dialog box.

3.2.4

Centurion 5

Centurion 5 Setup
To configure the Centurion 5, refer to the machines control documentation.

Copyright 2000 by Predator, Inc. All Rights Reserved.

62

Predator Editor and DNC Manual

Wiring Diagram Centurion 5 1 2 3 4 5 6 7 8 ... 12 13 14 15 ... 20 ... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 12 Secondary Rec. Line Sig. Det. 13 Secondary Clear to Send 14 Secondary Transmitted Data 15 Transmission Sig. Ele. Timing ... 20 Data Terminal Ready ... 25 Unused

Centurion 5
Send to CNC Tutorial From Centurion 5 1. From Main, press F10 for the utility menu. 2. Press F4 for the RS-232 menu. 3. Press F6 for the receive menu. 4. Press F1 for text and optionally type the program number. From Predator Editor 1. Select the appropriate Centurion CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. From Centurion 5 1. Press ESC once transfer is complete.

Centurion 5
DNC Tutorial From Centurion 5 1. From Main, press F10 for the utility menu. 2. Press F6 for the DNC menu. 3. Press F3 for fast mode or F4 for run mode.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

63

4. Press F1 for RS-232. From Predator Editor 1. Select the appropriate Centurion CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. From Centurion 5 1. Press cycle start.

Centurion 5
Receive from CNC Tutorial From Predator Editor Click the toolbar button or click DNC > Receive from CNC. From Centurion 5 1. From Main, press F10 for the utility menu. 2. Press F4 for the RS-232 menu. 3. Press F5 for the send menu. 4. Press F1 for text. 5. Press F1 to begin sending the current program or F7 to select any program in memory.

3.2.5

Decitek Tape Punch

Decitek Tape Punch Setup


1. Set the Decitek Tape Punch to No parity. 2. Configure the switches on the Decitek tape punch to the following.

Copyright 2000 by Predator, Inc. All Rights Reserved.

64

Predator Editor and DNC Manual

Switch 1 2 3 4

Status LDC OFF ON High 1200 Baud, Medium 600 Baud or Low for 300 Baud.

Set the following event strings in the DNC properties dialog box.
Value \18 \20 Event String Conversation Send Start Conversation Send End
h

Wiring Diagram Decitek Tape Punch 1 2 3 4 5 6 7 8 9 .... 20 .... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved .... 20 Data Terminal Ready .... 25 Unused

3.2.6

DSI Tape Punch

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

65

DSI Tape Punch Setup


First, set the DSI Tape Punchs baud rate to High (300) or Low(110), newer punches support faster high and low baud rates. If there is a switch on the back of the tape punch it must be set upward and the High-Low switch set to low. Note: Verify that the punch is in Line mode instead of Local and that the Red punch light at the bottom is on.
Wiring Diagram DSI Tape Punch 1 2 3 4 5 6 7 8 9 .... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved .... 25 Unused

3.2.7

Dyna Mechtronics 2200 - 4400

Copyright 2000 by Predator, Inc. All Rights Reserved.

66

Predator Editor and DNC Manual

Dyna Mechtronics Setup


To configure the Dyna Mechtronics, refer to the machines control documentation.
Wiring Diagram Dyna Mechtronics 1 2 3 4 5 6 7 8 9 .... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved .... 25 Unused

Dyna Mechtronics 2200 - 4400


Send to CNC Tutorial From Dyna Mechtronics 1. Select Line Mode and specify the starting sequence number. 2. Press the SHIFT, READ/WRITE keys. 3. Select YES to the RS-232 COM message. 4. Select YES to the Upload message. 5. Select NO to the Line Execute message. 6. Select YES to start immediately to the Program Execute message. From Predator Editor 1. Select the appropriate Dyna Mechtronics CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. Note: The Dyna Mechtronics control can send or receive CNC programs up to 900 lines in length. In addition the Dyna Mechtronics can DNC a CNC program with an unlimited number of lines.

To DNC to the Dyna Mechtronics use the above Send to CNC procedure except answer YES to the Line Execute message. DNC mode on the Dyna Mechtronics does not support subroutines, looping and block skip commands.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

67

3.2.8

Dynapath Delta 20 and 30

Note:

Some Dynapath controls require wiring pins 2-2 and 3-3.

Dynapath Setup
To configure the Dynapath 20 and 30, refer to the machines control documentation.
Wiring Diagram Delta 20 and 30 1 2 3 4 5 6 7 8 9 .... 20 .... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det 9 Reserved .... 20 Data Terminal Ready .... 25 Unused

Dynapath Delta 20 and 30


Send to CNC Tutorial From Predator Editor 1. Select the appropriate Dynapath CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button.

Copyright 2000 by Predator, Inc. All Rights Reserved.

68

Predator Editor and DNC Manual

From Dynapath 1. From the main menu, select 9 [LOAD]. 2. Press the START LOAD soft key.

Dynapath Delta 20 and 30


DNC Tutorial From Predator Editor 1. Select the appropriate Dynapath CNC machine. 2. Select Send To CNC using the DNC menu or toolbar button. From Dynapath 1. Type RS232C from the Catalog mode. 2. In Load Mode choose and R option and P1 for parity on. 3. Move to Auto or Single mode and press Cycle Start. Note: The file may not contain subroutines or repeat events.

Dynapath Delta 20 and 30


Receive from CNC Tutorial From Predator Editor Click the toolbar button or click DNC > Receive from CNC. From Dynapath 1. From the main menu, select C [CATALOG]. 2. Type the name of the program. 3. Select mode 8 [RECORD]. 4. Select mode 8 [RECORD]. 5. Press the START RECORD soft key.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

69

3.2.9

Facit Tape Punch 4046 - 4047

Facit Tape Punch Setup


Configure the switches on the Facit tape punch to the following:
Switch ASCII 1 2 3 4 5 6 4800 4800 1271 1271 122 1 Switch ASCII 7 8 9 10 11 12 1 0 0 60 1000 3184

Wiring Diagram Facit Tape Punch 1 2 3 4 5 6 7 8 ... 20 ... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

Copyright 2000 by Predator, Inc. All Rights Reserved.

70

Predator Editor and DNC Manual

3.2.10

Fadal CNC 88, HS and MP-32

Wiring Diagram Fadal 1 2 3 4 5 6 7 8 9 ... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. 9 Reserved ... 25 Unused

Fadal CNC 88, HS and MP-32 Setup


Set the following options in the Translate tab within the DNC properties dialog box.
Receive Translation Value \013 \000 \010 Remove Remove Replace

\013\010

To configure the Fadal, use the SETP command.

Fadal CNC 88, HS and MP-32


Send to CNC Tutorial From Predator Editor 1. Select the appropriate Fadal CNC machine.
Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

71

2. Select Send to CNC using the DNC menu or toolbar button. From Fadal: 1. Type TA,1 ENTER to start the transfer. Note: The TA,1 command can be added to the conversation send start string to automate the sending of CNC programs. However, DNC with the TA,1 command added to the conversation send start string will cause errors on the Fadal control. To solve this problem, create two CNC machines one for send and the second for DNC.

Fadal CNC 88, HS and MP-32


DNC Tutorial From Predator Editor 1. Select the appropriate Fadal CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. From Fadal 1. Type DNC ENTER to start the transfer.

Fadal CNC 88, HS and MP-32


Receive from CNC Tutorial From Predator Editor Click the toolbar button or click DNC > Receive from CNC. From Fadal 1. Type PU,,,1 ENTER to start the transfer.

3.2.11

Fanuc 0

Copyright 2000 by Predator, Inc. All Rights Reserved.

72

Predator Editor and DNC Manual

Fanuc 0 Setup
To configure the Fanuc 0, use the following procedure: 1. Switch the PWE parameter to off. The Fanuc 0 will stay in Alarm mode while setting the following parameters:
Parameter #0002 Bit 0 #0002 Bit 2 #552 Value Description 1 0 10 2 Stop Bits RS-232 Input 4800 Baud

2. Switch the PWE parameter to on and press Reset. 3. Set Handy page setting I/O = 0 for ISO format. Note: Bits are read right to left. The Fanuc 0 only allows configuration of the stop bits and the baud rate.
Receive \000 \013 \010 TRANSLATION Remove Remove Replace Value

Set the following options in the Translate tab within the DNC properties dialog box.

\013\010

Fanuc 0 Send to CNC Tutorial From Predator Editor 1. Select the appropriate Fanuc CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. From Fanuc 1. Select Edit mode. 2. Press the O key and type the program number. 3. Press the Read key to start the transfer.

Fanuc 0
1. DNC Tutorial From Predator Editor 1. Select the appropriate Fanuc CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. From Fanuc 1. Select Tape mode. 2. Press Cycle Start.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

73

Note:

The Fanuc 0 controls must have a tape mode to DNC. To pause while DNCing turn the Feedrate Override to 0%.
Wiring Diagram Fanuc 0 1 2 3 4 5 6 7 8 ... 20 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

Fanuc 0
Receive from CNC Tutorial From Predator Editor 1. Select the appropriate CNC machine. 2. Click the toolbar button or click DNC > Receive from CNC.

From Fanuc 1. Select Edit mode. 2. Press the O key and type the program number. 3. Press the Punch key to start the transfer.

Copyright 2000 by Predator, Inc. All Rights Reserved.

74

Predator Editor and DNC Manual

3.2.12

Fanuc 3 / GN 3

Fanuc 3 / General Numeric 3 Setup


To configure the Fanuc 3 or General Numeric 3, use the following procedure: 1. Turn a key lock or switch on to change the controls parameters. The control will stay in Alarm mode while setting the following parameters. 2. Select Edit mode.
Parameter Value Description RS-232 I/O Baud Rate 0014 - ASR 33 0 0069 2400

3. Turn the keylock or switch to off and press Reset. 4. Set page setting I/O = 1 and ISO Format = 1. Note: Note: The control only allows configuration of the stop bits and the baud rate. The control must have the optional I/O interface with the DB-25 female port installed prior to working with the Send to CNC and Receive from CNC commands. Unfortunately, the control even with the I/O interface does not support DNC or drip feeding large CNC programs.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

75

Wiring Diagram Fanuc 3 and GN 3 1 2 3 4 5 6 7 8 ... 20 ... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused
Predator Editor and DNC Manual

3.2.13

Fanuc 6 and 9 / GN 6 and 9

Fanuc 6 and 9 / General numeric 6 and 9 Setup


To configure the Fanuc 6 and 9 or the General Numeric 6 and 9, use the following procedure: 1. Turn a key lock or switch on to change the controls parameters. The control will stay in Alarm mode while setting the following parameters.
Parameter Value 311 311 311 340 341 xxxx1000 xxxx0111 xxxx1001 2 2 Description 2400 Baud or 1200 Baud or 4800 Baud Input Device Output Device

1. Turn the keylock or parameter engage switch to off and press Reset.
Copyright 2000 by Predator, Inc. All Rights Reserved.

76

Predator Editor and DNC Manual

2. Set page setting I/O = 1 and ISO Format = 1. Note: Note: The Fanuc 6 and 9 only allows configuration of the stop bits and the baud rate. The 6M-B and the 6T-B controls must have the optional I/O interface with the DB25 female port installed prior to any RS-232 communications. To DNC the 6, control must have a Predator Editor BTR installed.
Wiring Diagram 6 and 9 1 2 3 4 5 6 7 8 ... 20 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

3.2.14

Fanuc 10, 11, 12, and 15

Fanuc 10, 11, 12 and 15 Setup


To configure the Fanuc, use the following procedure: 1. Switch the PWE parameter 8000 to off. The Fanuc will stay in Alarm mode while setting the following parameters.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

77

Parameter #0000 Bit #0 #0000 Bit #1 #0000 Bit #2 #0000 Bit #3 #0000 Bit #4 #0020 #0021 #0022 #0023 #5001 #5110 #5111 #5112 #5112 #5112 #5112 #5112 #5112

Value 0 1 0 1 0 1 1 1 1 1 3 2 7 8 9 10 11 12

Description TV Check Off Count TVC Off ISO Parity On NCR Output LF EIA Off ISO On FG Input Device FG Output Device BG Input Device BG Output Device Device Number Use DC Codes Use 2 Stop Bits 600 Baud or 1200 Baud or 2400 Baud or 4800 Baud or 9600 Baud or 19200 Baud

1. Switch the PWE parameter 8000 to on and press Reset. 2. Set page setting I/O = 1 and ISO Format =1. Note: The Fanuc only allows configuration of the stop bits and the baud rate.
Receive \000 \010 Translation Remove Replace Value \013\010

Set the following options in the Translate tab within the DNC properties dialog box.

Wiring Diagram Fanuc 10, 11, 12 and 15 1 2 3 4 5 6 7 8 ... 20 ... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

Copyright 2000 by Predator, Inc. All Rights Reserved.

78

Predator Editor and DNC Manual

Fanuc 10, 11, 12 and 15


Send to CNC Tutorial From Predator Editor 1. Select the appropriate Fanuc CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. From Fanuc 1. Select Edit mode. 2. Press the O key and type the program number. 3. Press the Read key.

Fanuc 10, 11, 12 and 15


DNC Tutorial From Predator Editor 1. Select the appropriate Fanuc CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. From Fanuc 1. Select Tape mode. 2. Press the Cycle Start key. Note: Note: The Fanuc must have a tape mode to DNC. To pause while DNCing turn the Feedrate Override to 0%. Do not use a program number O7000 since it is reserved by Fanuc.

Fanuc 10, 11, 12 and 15


Receive from CNC Tutorial From Predator Editor 1. Select the appropriate CNC machine. 2. Click the toolbar button or click DNC > Receive from CNC.

From Fanuc 1. Select Edit mode. 2. Press the O key and type the program number. 3. Press the Input key. 4. Press the Punch key to start the transfer.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

79

3.2.15

Fanuc 16, 18, 160 and 180

Fanuc 16, 18, 160 and 180 Setup


To configure the Fanuc, use the following procedure: 1. Within the Setting (Handy) screen, set parameter write to 1. The Fanuc will stay in Alarm mode while setting the following parameters.
Parameter #0000 Bit #0 #0000 Bit #1 #0020 #0100 Bit #1 #0100 Bit #3 #0100 Bit #5 #0101 Bit #7 #0101 Bit #0 #0101 Bit #7 #0102 #0103 #0103 #0103 #0103 #0103 #0103 #0103 #3201 Bit #0 Value 0 1 0 0 1 1 1 1 1 0 7 8 9 9 10 11 12 1 Description TV Check Off ISO Output I/O Channel Count TVC Off NCR Output LF ND3 DNC Buffer On ENS Null Alarm Off Use 2 Stop Bits Feed Output Off Use DC Codes 600 Baud or 1200 Baud or 2400 Baud or 2400 Baud or 4800 Baud or 9600 Baud or 19200 Baud RDL Overwrite On

2. Within the Setting (Handy) screen, set parameter write to 0. Reset the Fanuc to exit Alarm mode. Note: The Fanuc only allows configuration of the stop bits and the baud rate.
Copyright 2000 by Predator, Inc. All Rights Reserved.

80

Predator Editor and DNC Manual

Set the following options in the Translate tab within the DNC properties dialog box.
Receive \000 \010 Translation REMOVE REPLACE Value \013\010

Wiring Diagram Fanuc 16, 18, 160 and 180 1 2 3 4 5 6 7 8 ... 20 ... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready

7 Signal Ground
8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

Fanuc 16, 18, 160 and 180


Send to CNC Tutorial From Predator Editor 1. Select the appropriate Fanuc CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. From Fanuc 1. Select Edit mode. 2. Press Program key. 3. Turn the Program Protect Key Off. 4. Press the chapter softkey, right arrow button, until READ appears. 5. Press the O key and type the program number. 6. Press the READ softkey. 7. Press the EXEC softkey.

Fanuc 16, 18, 160 and 180


DNC Tutorial From Predator Editor 1. Select the appropriate Fanuc CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

81

From Fanuc 1. Select Tape mode. 2. Press the Cycle Start key. Note: Note: The Fanuc must have a tape mode to DNC. To pause while DNCing turn the Feedrate Override to 0%. Do not use a program number O7000 since it is reserved by Fanuc.

Fanuc 16, 18, 160 and 180


Receive from CNC Tutorial From Predator Editor 1. Select the appropriate CNC machine. 2. Click the toolbar button or click DNC > Receive from CNC.

From Fanuc 1. Select Edit mode. 2. Press Program key. 3. Turn the Program Protect Key Off. 4. Press the chapter softkey, right arrow button, until PUNCH appears. 5. Press the O key and type the program number. 6. Press the PUNCH softkey. 7. Press the EXEC softkey.

3.2.16

Haas Mill and Lathe

Copyright 2000 by Predator, Inc. All Rights Reserved.

82

Predator Editor and DNC Manual

Haas Setup
Set the following parameters to configure the Haas.
Parameter Value 11 12 13 14 24 25 37 Description Baud Rate Parity Stop Bits Synchronization Leader to Punch End of Block Pattern Number of Data Bits

Note:

Controls built before 9/90 can send and receive only. DNC is available on controls built after 9/90.
Wiring Diagram Haas 1 2 3 4 5 6 7 8 ... 20 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

Haas
Send to CNC Tutorial From Haas 1. Press the LIST PROG key. 2. Select the ALL option or optionally type O and the program number. 3. Press the RECV RS-232 key. From Predator Editor 1. Select the appropriate Haas CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

83

Haas
DNC Tutorial From Haas 1. Press the MDI button twice. 2. Press Cycle Start. From Predator Editor 1. Select the appropriate Haas CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button. Note: The Haas control does not support M98 or M30 codes while dripfeeding large CNC programs.

Haas
Receive from CNC Tutorial From Predator Editor Click the toolbar button or click DNC > Receive from CNC. From Haas 1. Press the LIST PROG key. 2. Select the appropriate CNC program or the ALL option. 3. Press the SEND RS-232 key.

3.2.17

Heidenhain 145 - 412

Heidenhain Setup
To configure the Heidenhain, use the controls on-screen menus to set baud rates, parity, data bits, and stop bits by pressing the MOD or PARAMETER key.
Copyright 2000 by Predator, Inc. All Rights Reserved.

84

Predator Editor and DNC Manual

Note:

Heidenhain blockwise mode is supported by the Predator Editor DNC series only.
Value \13\10 Event String Conversation Send Start

Set the following event string in the DNC properties dialog box.

Note:

Heidenhain 145 controls require using the Read in program selected method with the following event string in the DNC properties dialog box.
VALUE EVENT STRING

\13\10\2 Conversation Send Start

Note:

Older Heidenhain 155 controls require the following event strings in the DNC properties dialog box.
Value Event String \13\10 Conversation Send Start * Line Send End Wiring Diagram Heidenhain 1 2 3 4 5 6 7 8 ... 20 ... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

Heidenhain 145 - 412


Send to CNC Tutorial From Heidenhain 1. Select Editing mode. 2. Press the EXTERNAL key. 3. Select Read-In Program Offered. 4. Type the program number. 5. Press the ENTER key.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

85

From Predator Editor 1. Select the appropriate Heidenhain CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button.

Heidenhain 145 - 412


Receive from CNC Tutorial From Predator Editor 1. Select the appropriate CNC machine. 2. Click the toolbar button or click DNC > Receive from CNC.

From Heidenhain 1. Select Editing mode. 2. Press the EXTERNAL key. 3. Select Read-Out Selected Program. 4. Press the ENTER key. 5. Select the CNC program using the arrow keys. 6. Press the ENTER key to start the transfer.

3.2.18

Maho 432 - 532

Maho CNC Setup

Copyright 2000 by Predator, Inc. All Rights Reserved.

86

Predator Editor and DNC Manual

Set the following event string in the DNC properties dialog box.
Value Event String \4 Wiring Diagram Maho CNC 1 2 3 4 5 6 7 8 ... 20 ... 25 Conversation Send End

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

3.2.19

Mazak M-32 and T-32

Mazak M-32 and T-32 Setup


Use the following procedures to configure the Mazak: 1. Use parameter #1 to create a three letter I/O device name under I/O device param(1). 2. Specify the I/O base param for Data In, Data Out and N/C Running to the created device name and number. 3. Specify the following control parameters under User Parameter No 2.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

87

Parameter G19 G20 G21 G22 G23 G27 G29 G42

Value 2 3 0 0 3 1 3 200

Description 4800 Baud 2 Stop bits Even Parity Parity Check Invalid 8 Data bits CR Placement Software Handshake Wait Time

Note:

Mazaks Mazatrol is supported by the Predator Editor DNC series only.


Wiring Diagram Mazak M-32 and T-32 1 2 3 4 5 6 7 8 ... 20 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

4. Specify the following control parameters under User Parameter No 4.


Parameter 11 12 13 15 Parameter 16 17 18 19 Value 2 3 0 3 Value 3 1 20 0 Description 4800 Baud 2 Stop bits Parity selection Data bit selection Description Handshake Selection Parity added to DC Code Seconds for time out No output of DC2 or DC4

Copyright 2000 by Predator, Inc. All Rights Reserved.

88

Predator Editor and DNC Manual

3.2.20

Mazak M2 and T2

Mazak M2 Setup
To configure the Mazak, set the following control parameters:
Parameter OP2 OP24 OP24 OP24 OP24 OP24 Value 248 16 32 64 128 256 Description ISO 4800 Baud or 2400 Baud or 1200 Baud or 600 Baud or 300 Baud

Set the following event string in the DNC properties dialog box.
Value \13\10 Event String Conversation Send Start

Note:

Mazaks Mazatrol is supported by the Predator Editor DNC series only.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

89

3.2.21

Okuma OSP 500 - 5000

Okuma OSP 500 - 5000 Setup


To configure the Okuma, use the following procedure: 1. Specify the following control parameters:
Parameter #34 Time Before Alarm #39 Baud Rate #44 Input Device #46 Output Device #54 Read Device Number #57 Time Before Alarm Value 2 4800 0 1 1 3

2. Specify the following optional parameters bit to be 01001011 for ISO mode.
Wiring Diagram Okuma OSP 1 2 3 4 5 6 7 8 ... 20 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

Copyright 2000 by Predator, Inc. All Rights Reserved.

90

Predator Editor and DNC Manual

Okuma OSP 500 - 5000


Send to CNC Tutorial From Okuma OSP 1. Select Edit mode. 2. Press the F3 (PIP) button. 3. Press the F1 (READ) button. 4. Press the RETURN key. From Predator Editor 1. Select the appropriate Okuma OSP CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button.

Okuma OSP 500 - 5000


Receive from CNC Tutorial From Predator Editor 1. Select the appropriate CNC machine. 2. Click the toolbar button or click DNC > Receive from CNC.

From Okuma OSP 1. Select Edit mode. 2. Press the F3 (PIP) button. 3. Press the F2 (PUNCH) button. 4. Press the RETURN key to start the transfer. Note: The Okuma OSP requires installation of the Okuma DNC B board prior to DNC operation. Okumas Okuma A and Okuma B DNC protocols are supported by the Predator Editor DNC series only.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

91

3.2.22

Siemens 810

Siemens 810 Setup


To configure the Siemens 810, use the following procedure: 1. Specify the following control parameters. The bit order for the parameters is 76543210.
Parameter Value 5011 5013 Description 11010100 Tape Read 11010100 Tape Punch

Note:

Bits 0-3 control the baud rate. Bit 5 controls parity. Bits 6-7 control stop bits.
Parameter Value 5016 Description

00001000 Special Bits

Note:

Bit 3 controls the Read In Character EOF. Bit 4 controls ISO Mode. Bit 7 controls Software Handshake.

Copyright 2000 by Predator, Inc. All Rights Reserved.

92

Predator Editor and DNC Manual

Wiring Diagram Siemens 810 1 2 3 4 5 6 7 8 ... 14 ... 18 19 20 21 ... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send 5 Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 14 Secondary Transmitted Data ... 18 Unused 19 Secondary Request To Send 20 Data Terminal Ready 21 Signal Quality Detector ... 25 Unused

3.2.23

Yasnac LX-1, MX-1 and MX-2

Yasnac LX-1, LX-2, MX-1 and MX-2 Setup


To configure the Yasnac, use the following procedure: 1. Turn the thumbwheel inside the tape reader to 1.

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

93

2. Specify the following control parameters. The bit order for the parameters is 76543210.
Parameter 6000 Bit 7 6003 Bit 1 6003 Bit 5 6021 Bit 1 6021 Bit 4 6021 Bit 5 6021 Bit 6 6022 Bit 0 6022 Bit 1 6026 6028 Value 1 1 1 0 0 0 0 1 1 00011000 00011000 Description ISO Mode RS-232 I/O RS-232 I/O Recognize Data Ready Keep RS Signal High

2400 Baud, Input 2400 Baud, Output

Note: Note:

Within parameters 6026 and 6028 bit 4 controls the Stop Bits. Bit 5 controls XON/ XOFF codes. Within parameters 6026 and 6028 bits 0-3 control baud rates. To specify a different baud rate, set the control parameters using the following table.
Parameter 6026 and 6028 6026 and 6028 6026 and 6028 6026 and 6028 6026 and 6028 Value 00010101 00010111 00011000 00011001 00011010 Description 300 Baud 1200 Baud 2400 Baud 4800 Baud 9600 Baud

1. Return thumbwheel to original setting.


Wiring Diagram Yasnac 1 2 3 4 5 6 7 8 ... 20 ... 25 PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send Clear to Send 6 Data Set Ready Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

Copyright 2000 by Predator, Inc. All Rights Reserved.

94

Predator Editor and DNC Manual

3.2.24

Yasnac LX-3 and MX-3

Yasnac LX-3 and MX-3 Setup


To configure the Yasnac, use the following procedure: 1. Specify the following control parameters. The bit order for the parameters is 76543210.
Parameter 6000 Bit 7 6002 Bit 7 6003 Bit 1 6003 Bit 5 6021 Bit 1 6021 Bit 4 6021 Bit 5 6021 Bit 6 6026 6028 Value 1 1 1 1 0 0 0 0 00011000 00011000 Description ISO Mode MX-3 ISO Mode LX-3 RS-232 I/O RS-232 I/O Recognize Data Ready Keep RS Signal High 2400 Baud, Input 2400 Baud, Output

Note: Note:

Within parameters 6026 and 6028 bit 4 controls the Stop Bits. Bit 5 controls XON/ XOFF codes. Within parameters 6026 and 6028 bits 0-3 control baud rates. To specify a different baud rate, set the control parameters using the following table.
Parameter 6026 and 6028 6026 and 6028 6026 and 6028 6026 and 6028 6026 and 6028 Value 00010101 00010111 00011000 00011001 00011010 Description 300 Baud 1200 Baud 2400 Baud 4800 Baud 9600 Baud

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

95

Wiring Diagram Yasnac 1 2 3 4 5 6 7 8 ... 20 ... 25

PC 25 Pin 1 Protective Ground 2 Transmitted Data 3 Received Data 4 Request to Send Clear to Send 6 Data Set Ready 7 Signal Ground 8 Received Line Signal Det. ... 20 Data Terminal Ready ... 25 Unused

Yasnac LX-3 and MX-3


Send to CNC Tutorial From Yasnac 1. Select Edit mode. 2. Press the prog key. 3. Press the reset key. 4. Press the O key and type the program number. 5. Press the IN key. Note: Skip step 4 if the program number is specified in the CNC program. From Predator Editor 1. Select the appropriate Yasnac CNC machine. 2. Select Send to CNC using the DNC menu or toolbar button.

Yasnac LX-3 and MX-3


Receive from CNC Tutorial From Predator Editor 1. Select the appropriate CNC machine. 2. Click the toolbar button or click DNC > Receive from CNC.

From Yasnac 1. Select Edit mode. 2. Press the PROG key. 3. Press the RESET key. 4. Press the O key and type the program number. 5. Press the OUT key to start the transfer. Note: Skip step 4 if the active program is not the appropriate CNC program.
Copyright 2000 by Predator, Inc. All Rights Reserved.

96

Predator Editor and DNC Manual

TABLES 4.1 MATH FUNCTIONS

Basic Math Functions


FUNCTION DESCRIPTION

ABS(value) SQR(value) SGN(value) INT(value) FIX(value) FACT(value) ROUND(value; places) RND(value) ISPRIME(value) FRAC(value)

Absolute Square Root Sign Integer Fix Factorial Round Random Number Is Prime Fraction

Logarithmic and Exponential Functions


FUNCTION DESCRIPTION

LN(value) LOG(value) EXP(value)

Natural Logarithm, basis e Decadic logarithm, basis 10 e^value

Trigonometric Functions
FUNCTION DESCRIPTION

%DEG %RAD SIN(value) COS(value) TAN(value) COT(value) SEC(value) CSC(value) ASIN(value)

Switch to 0-360 Degrees Switch to 0-2PI Sine Cosine Tangent Cotangent Secant Cosecant Arc Sine

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual FUNCTION DESCRIPTION

97

ACOS(value) ATAN(value) ASEC(value) ACSC(value) ACTG(value)

Arc Cosine Arc Tangent Arc Secant Arc Cosecant Arc Cotangent

Hyperbolic Functions
FUNCTION DESCRIPTION

SINH(value) COSH(value) TANH(value) SECH(value) CSCH(value) COTH(value)

Hyperbolic Sine Hyperbolic Cosine Hyperbolic Tangent Hyperbolic Secant Hyperbolic Cosecant Hyperbolic Cotangent

Reverse Hyperbolic Functions


FUNCTION DESCRIPTION

ASINH(value) ACOSH(value) ATANH(value) ASECH(value) ACSCH(value) ACOTH(value)

Hyperbolic Arc Sine Hyperbolic Arc Cosine Hyperbolic Arc Tangent Hyperbolic Arc Secant Hyperbolic Arc Cosecant Hyperbolic Arc Cotangent

Copyright 2000 by Predator, Inc. All Rights Reserved.

98

Predator Editor and DNC Manual

4.2

G AND M CODES

G Codes Milling
CODE DESCRIPTION

G00 G01 G02 G03 G04 G07 G09 G10 G17 G18 G19 G20 G21 G22 G23 G27 G28 G29 G30 G31 G33 G40 G41 G42 G43 G44 G45 G46 G47 G48 G49 G50 G51 G52 G54 G55 G56 G57 G58 G59 G60

Rapid Linear Positioning Linear Feed Interpolation CW Circular Interpolation CCW Circular Interpolation Dwell Imaginary Axis Designation Exact Stop Offset Value Setting XY Plane Selection ZX Plane Selection YZ plane Selection Input In Inches Input In Millimeters Stored Stroke Limit On Stored Stroke Limit Off Reference Point Return Check Return To Reference Point Return From Reference Point Return To 2nd, 3rd and 4th Ref. Point Skip Cutting Thread Cutting Cutter Compensation Cancel Cutter Compensation Left Cutter Compensation Right Tool Length Compensation + Direction Tool Length Compensation - Direction Tool Offset Increase Tool Offset Double Tool Offset Double Increase Tool Offset Double Decrease Tool Length Compensation Cancel Scaling Off Scaling On Local Coordinate System Setting Work Coordinate System 1 Selection Work Coordinate System 2 Selection Work Coordinate System 3 Selection Work Coordinate System 4 Selection Work Coordinate System 5 Selection Work Coordinate System 6 Selection Single Direction Positioning
Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual CODE DESCRIPTION

99

G61 G64 G65 G66 G67 G68 G69 G73 G74 G76 G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 G90 G91 G92 G94 G95 G96 G97 G98 G99

Exact Stop Mode Cutting Mode Custom Macro Simple Call Custom Macro Modal Call Custom Macro Modal Call Cancel Coordinate System Rotation On Coordinate System Rotation Off Peck Drilling Cycle Counter Tapping Cycle Fine Boring Canned Cycle Cancel Drilling Cycle, Spot Boring Drilling Cycle, Counter Boring Peck Drilling Cycle Tapping Cycle Boring Cycle Boring Cycle Back Boring Cycle Boring Cycle Boring Cycle Absolute Programming Incremental Programming Programming Of Absolute Zero Feed Per Minute Feed Per Revolution Constant Surface Speed Control Constant Surface Speed Control Cancel Return To Initial Point In Canned Cycles Return To R Point In Canned Cycles

M Codes Milling - Fanuc


CODE DESCRIPTION

M00 M01 M02 M03 M04 M05 M06 M07 M08 M09 M19 M20

Program Stop Optional Stop End of Program Spindle On CW Spindle On CCW Spindle Stop Tool Change Mist Coolant On Flood Coolant On Coolant Off Spindle Orientation On Spindle Orientation Off
Copyright 2000 by Predator, Inc. All Rights Reserved.

100

Predator Editor and DNC Manual CODE DESCRIPTION

M21 M22 M23 M24 M25 M26 M27 M28 M30 M98 M99

Tool Magazine Right Tool Magazine Left Tool Magazine Up Tool Magazine Down Tool Clamp Tool Unclamp Clutch Neutral On Clutch Neutral Off End Program, Stop and Rewind Call Sub Program End Sub Program

G Codes Turning
STD SP. SP.C DESCRIPTION

G00 G01 G02 G03 G04 G07 G09 G10 G20 G21 G22 G23 G27 G28 G29 G30 G31 G32 G34 G36 G37 G40 G41 G42 G50 G65 G66 G67 G68 G69

G00 G01 G02 G03 G04 G07 G09 G10 G20 G21 G22 G23 G27 G28 G29 G30 G31 G33 G34 G36 G37 G40 G41 G42 G92 G65 G66 G67 G68 G69

G00 G01 G02 G03 G04 G07 G09 G10 G70 G71 G22 G23 G27 G28 G29 G30 G31 G33 G34 G36 G37 G40 G41 G42 G92 G65 G66 G67 G68 G69

Rapid Linear Positioning Linear Feed Interpolation CW Circular Interpolation CCW Circular Interpolation Dwell Hypothetical Axis Interpolation, Sine Curve Exact Stop Offset Value Setting Input In Inches Input In Millimeters Stored Stroke Limit On Stored Stroke Limit Off Reference Point Return Check Return To Reference Point Return From Reference Point Return To 2nd, 3rd, and 4th Reference Point Skip Cutting Thread Cutting Variable Lead Thread Cutting Automatic Tool Comp. X Automatic Tool Comp. Z Tool Nose Rad. Comp. Cancel Tool Nose Radius Comp. Left Tool Nose Radius Comp. Right Programming Of Absolute Zero User Macro Simple Call User Macro Modal Call User Macro Modal Call Cancel Mirror Image For Double Turrets On Mirror Image For Double Turrets Off

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual STD SP. SP.C DESCRIPTION

101

G70 G71 G72 G73 G74 G75 G76 G90 G92 G94 G96 G97 G98 G99

G70 G71 G72 G73 G74 G75 G76 G77 G78 G79 G96 G97 G94 G95 G90 G91

G72 G73 G74 G75 G76 G77 G78 G20 G21 G24 G96 G97 G94 G95 G90 G91

Finishing Cycle Stock Removal, Turning Stock Removal, Facing Repeat Pattern Peck Drilling, Z Axis Grooving, X Axis Thread Cutting Cycle Cutting Cycle A Thread Cutting Cycle Cutting Cycle B Constant Surface Speed Control Constant Surface Speed Cancel Feed Per Minute Feed Per Revolution Absolute Programming Incremental Programming

4.3

CNC SETUPS

The following is an updated list, as of the printing date, of CNC controls supported by Predator Editor. Note: Due to the vast number of different machine tools, CNC controls, builders, and OEMs, Predator Editor cannot guarantee that the following information is 100% accurate.
CONTROL AND MODEL Agiecut 150F Agiecut HSS Agiecut Sprint Allen Bradley 7360 Allen Bradley 7370 Allen Bradley 8200 Allen Bradley 8400 Allen Bradley 8600 Allen Bradley 9/230 Amadan 04P-C Ampex Anilam 1100 Anilam Commando Anilam Crusader Anilam Eagle Bandit 1 Bandit 2 DOCUMENT NAME AG-150F AG-HSS AG-SPRINT AB-7360 AB-7370 AB-8200 AB-8400 AB-8600 AB-9/230 AM-04PC AP AN-1100 AN-CO AN-CR AN-EG BA-1 BA-2
Copyright 2000 by Predator, Inc. All Rights Reserved.

102

Predator Editor and DNC Manual

CONTROL AND MODEL Bendix Dynapath 10 Bendix Dynapath 20 Bendix Dynapath 30 Bosch CC220 Bosch 300 Bridgeport Boss 2 Bridgeport Boss 4 Bridgeport Boss 5 Bridgeport Boss 6 Bridgeport Boss 7 Bridgeport Boss 8 Bridgeport Boss 9 Bridgeport Boss 10 Bridgeport Heidenhain 150 Bridgeport Heidenhain 151 Bridgeport Heidenhain 155 Bridgeport SX15 Brother Tapping Center Burney 2.5RS Burney 3 Charmilles Robofil 300 Cincinnati Acramatic 850 Cincinnati Acramatic 850TC Cincinnati Acramatic 900 Cincinnati Acramatic 900 T10 Cincinnati Acramatic 950 CNC Inovation RTE-1000 Decitek Tape Punch Deckel Dialog 3 Deckel Dialog 4 DSI Tape Punch Dyna Mechtronics 2200 Dyna Mechtronics 2800 Dyna Mechtronics 3000 Dyna Mechtronics 4400 Dynapath Delta 10 Dynapath Delta 20 Dynapath Delta 30

DOCUMENT NAME BD-10 BD-20 BD-30 BO-CC220 BO-300 BP-BOSS2 BP-BOSS4 BP-BOSS5 BP-BOSS6 BP-BOSS7 BP-BOSS8 BP-BOSS9 BP-BOSS10 BP-HH150 BP-HH151 BP-HH155 BP-SX15 BR-TC BU-25RS BU-3 CH-R300 CN-AC850 CN-AC850TC CN-AC900 CN-AC900T10 CN-AC950 CI-RTE1000 DE-TP DD-3 DD-4 DS-TP DM-2200 DM-2800 DM-3000 DM-2400 DP-DELTA10 DP-DELTA20 DP-DELTA30

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

103

CONTROL AND MODEL Emco TM02 ESAB ESAB Compupath 500 Facit Tape Punch 4046 Facit Tape Punch 4047 Fadal CNC 88 Fadal HS Fadal MP-32 Fagor 8010 Fagor 8025 Fanuc 0M Fanuc 0T Fanuc 00P Fanuc 3M Fanuc 3T Fanuc 3TD Fanuc 6MA Fanuc 6MB Fanuc 6TA Fanuc 6TB Fanuc 9M Fanuc 9T Fanuc 10M Fanuc 10T Fanuc 10TF Fanuc 11M Fanuc 11T Fanuc 12M Fanuc 12T Fanuc 15M Fanuc 15T Fanuc 16M Fanuc 16T Fanuc 18M Fanuc 18T Fortuna CNC Grinder General Electric 1050 General Electric 1050HV

DOCUMENT NAME EM-TM02 ES-ESAB ES-CP500 FA-TP4046 FA-TP4047 FA-CNC88 FA-HS FA-MP32 FG-8010 FG-8025 FN-0M FN-0T FN-00P FN-3M FN-3T FN-3TD FN-6MA FN-6MB FN-6TA FN-6TB FN-9M FN-9T FN-10M FN-10T FN-10TF FN-11M FN-11T FN-12M FN-12T FN-15M FN-15T FN-16M FN-16T FN-18M FN-18T FO-CNC GE-1050 GE-1050HV

Copyright 2000 by Predator, Inc. All Rights Reserved.

104

Predator Editor and DNC Manual

CONTROL AND MODEL General Electric 2000 General Numeric 3 General Numeric 6M General Numeric 6T General Numeric 9M General Numeric 9T Giddings and Lewis CNC 800 Giddings and Lewis CNC 900 Giddings and Lewis CNC 8000 Giddings and Lewis Numeriset NS6 Greco Mini File Haas Mill Haas Lathe Heckler and Koch 783/M Heidenhain TNC 145 Heidenhain TNC 151 Heidenhain TNC 155 Heidenhain TNC 306 Heidenhain TNC 355 Heidenhain TNC 360 Heidenhain TNC 407 Heidenhain TNC 412 Heidenhain TNC 415 Heidenhain TNC 2500 Hitachi Hitachi-Seiki Multi Hitachi-Seiki Seicos Houdalle Hecc 80/3 Hurco Ultimax 3 Hybrid D6 Index C200 Index GB50 Index GB65 Index GB100 Kearney and Trecker 180 Kearney and Trecker Gemini Maho 1000 Mazak T

DOCUMENT NAME GE-2000 GN-3 GN-6M GN-6T GN-9M GN-9T GL-CNC800 GL-CNC900 GL-CNC8000 GL-NS6 GR-MINI HA-MILL HA-LATHE HK-783M HH-TNC145 HH-TNC151 HH-TNC155 HH-TNC306 HH-TNC355 HH-TNC360 HH-TNC407 HH-TNC412 HH-TNC415 HH-TNC2500 HI HS-MULTI HS-SEICOS HO-HECC80 HU-3 HY-D6 IN-C200 IN-GB50 IN-GB65 IN-GB100 KT-180 KT-GEMINI MA-1000 MZ-T

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

105

CONTROL AND MODEL Mazak TA Mazak T2 Mazak T3 Mazak T-32 Mazak M2 Mazak M-32 Mazak T-Plus Memex Electronics Mx1000 Mitsubishi 90H Mitsubishi 110G Mitsubishi 300 Mitsubishi 330HM Mitsubishi 335M Mitsubishi 500 Mitsubishi L0 Milltronics Centurion 5 Numeritronix Executive 1501 Okuma OSP 500 Okuma OSP 5000 Okuma OSP 5000 GL Okuma OSP 5000 Green Okuma OSP 5000 GL Okuma OSP 5020 Okuma OSP 5020L Okuma OSP 5020MC Okuma OSP 7000 Prototrak Plus Prototrak MX2 Prototrak MX3 Philips Maho 432-9 Philips Maho 432-10 Philips Maho 532 Traub TX 8D Roland Camm 3 Rybett Camstore 2 Seicos Sharnoa Tiger 4 Siemens 810

DOCUMENT NAME MZ-TA MZ-T2 MZ-T3 MZ-T32 MZ-M2 MZ-M32 MZ-TPLUS ME-MX1000 MI-90H MI-110G MI-300 MI-330HM MI-335M MI-500 MI-L0 MT-CENT5 NE-1501 OK-500 OK-5000 OK-5000GL OK-5000G OK-5000GL OK-5020 OK-5020L OK-5020MC OK-7000 PR-PLUS PR-MX2 PR-MX3 PM-4329 PM-43210 PM-532 TR-TX8D RO-CAMM3 RY-C2 SE SH-T4 SI-810

Copyright 2000 by Predator, Inc. All Rights Reserved.

106

Predator Editor and DNC Manual

CONTROL AND MODEL Siemens 880 Siemens GN-3TB Siemens GN-8M Sinumeric System 3 Sodick Mark 20 Sodick Mark 21 Southwestern Prototrak MX2 Southwestern Prorotrak MX3 Strippit Hecc 80/3 Traub TX-8 Traub TX-8D Tree Umac 6B20 Cascade Yasnac LX-1 Yasnac MX-1 Yasnac MX-2 Yasnac LX-3 Yasnac MX-3

DOCUMENT NAME SI-880 SI-3TB SI-8M SS-3 SO-MARK20 SO-MARK21 SP-MX2 SP-MX3 ST-HECC803 TR-TX8 TR-TX8D TREE UM-6B20 YN-LX1 YN-MX1 YN-MX2 YN-LX3 YN-MX3

4.4

BTR SETUPS

The following is a list of older controls that require a BTR prior to communicating with Predator Editor. Note: Due to the vast number of different machine tools, CNC controls, builders, and OEMs, Predator Editor cannot guarantee that the following information is 100% accurate.
TAPE READER Decitek Ghilmetti Remex Digitronix EECO Remex Director Remex Remex Remex Remex Remex Remex Remex

CONTROL AND MODEL Actrion 3 Agietron CNC 100 and 200 Allen Bradley 4000, 4500 and 7370 Allen Bradley 7300 and 4600 Allen Bradley 7320,7360 and 7300 Allen Bradley 8200 Andrew EF90 Asea 312 Bendix 5 Series / System 5 Bendix 20, 42, 400, 600, 800, 872, 892, 1500 and 1800 BostoMatic Director Bridgeport BOSS 3, 4, 5, 6 and 7 Bridgeport NC(A) Series 2 Bunker Ramo 2200

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

107

CONTROL AND MODEL Bunker Ramo 3100 Charnon Cincinnati 220 and 230 Cincinnati AC4 and Big Blue Cincinnati AC5, AC8, and CNC Cincinnati AC5 Cincinnati Acramatic 10VC, 900, T10v0, V2900, TC V2.1 and TC Cincinnati Acramatic 4 CompuDyne Model B DEC PDP-8/a DEC PDP-8 Diatrol Excellon Fanuc 2000C, 3000C, 5A, 5M, 5T,6A, 6M, 6T, 7M, 7T, 9M, 9T, 11, 20A, 30, 200A, 200B, 220 and 240 Fritz Werner General Automation General Electric 100, 120 and 7500 General Electric 7500, 7542, 1050, 1050T, 1050MC, 1050MCL, 1050MCCL, 1050HLX, 1050TX, 550, 550T, 550TX and 8500 General Numerics 5 and 6 Series Ghielmetti 201 and 204 Giddings and Lewis 80 and 800 Giddings and Lewis SS70 Hughes NC 200 Icon 360 and 380 Japax EDM FE02 JLP TOM82 Kearney and Trucker 200 Mitsubishi Meldas 5000c and 5000w Moog Hydropoint 3000 Okuma 2200 and 3000 Olivetti Multi-Auctor Plessey 22 and 2200 Positool 900 Pratt and Whitney CNC1, MC1000 and Teammate Pratt Tape-o-matic Pratt MC750 and Triax Saab MCT8 and PSU Sajo Tally Siemens 530, 550 and R2000 Sinumerik Slo-syn ENC, LNC, MNC 24 and 36 SMT CNC2200 Square D

TAPE READER Digitronics Addmaster Tally Remex Accuread Tally Cincinnati Remex Remex Remex Decitek Tally Slo-syn Fanuc Remex Slo-syn Remex General Electric Fanuc Fer Remex Tally Octal Tally GNT EECO Remex Ricom Decitek Sanyo Denki Slo-syn Remex Remex Decitek Tally Remex Saab Tally Tally Tally Slo-syn Addmaster Tally

Copyright 2000 by Predator, Inc. All Rights Reserved.

108

Predator Editor and DNC Manual

CONTROL AND MODEL Strippit 1150 and 7300 Sundstrand Swinc Traub TX7 Westinghouse Producer 2 Yasnac Sanyo Denki

TAPE READER Remex Remex Oki Electric Decitek Sanyo Denki

Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

109

4.5

ASCII CHART
ASCII KEY DEC HEX ASCII DEC HEX ASCII DEC HEX ASCII

DEC HEX

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

ctrl+@ ctrl+a ctrl+b ctrl+c ctrl+d ctrl+e ctrl+f ctrl+g ctrl+h ctrl+i ctrl+j ctrl+k ctrl+l ctrl+m ctrl+n ctrl+o ctrl+p ctrl+q ctrl+r ctrl+s ctrl+t ctrl+u ctrl+v ctrl+w ctrl+x ctrl+y ctrl+z ctrl+[ ctrl+\ ctrl+] ctrl+^ ctrl+_

32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F

SP ! # $ % & ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?

64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F

@ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _

96 97 98 99

60 61 62 63

a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ DEL

100 64 101 65 102 66 103 67 104 68 105 69 106 6A 107 6B 108 6C 109 6D 110 6E 111 6F 112 60 113 61 114 62 115 63 116 64 117 65 118 66 119 67 120 68 121 69 122 6A 123 6B 124 6C 125 6D 126 6E 127 6F

Several of the control key combinations can be used as shortcuts.


Copyright 2000 by Predator, Inc. All Rights Reserved.

110

Predator Editor and DNC Manual

4.6

WORKSHEETS

The following worksheets should be completed during installation of Predator Editor and for every CNC machine on the shop floor. Printing an RS-232 Adapter Worksheet To print an RS-232 Adapter Worksheet, select Search from the help menu. After the RS-232 Adapter Worksheet topic is found, select Print Topic from the File menu in the help window. Predator Editor RS-232 Adapter Worksheet
Customer: Adapter: Installed By: # of Com Ports: Intelligent: Port Address: Driver Size: Memory Range: I/O Range: IRQ: _____________________________ _____________________________ _____________________________ G2 G4 G8 G 16 G 24 G 32 G ____________ G Yes G No G 3F8 G 2F8 G ____________ G 8k G 64k G ____________ ____________ - ____________ ____________ - ____________ G3 G4 G5 G7 G 10 G 11 G 12 G 15 G ____________

Printing a CNC RS-232 Worksheet To print a CNC RS-232 Worksheet, select Search from the help menu. After the CNC RS-232 worksheet topic is found, select Print Topic from the File menu in the help window. Note: Document each CNCs RS-232 parameters in the worksheet on the following page. The CNC RS-232 worksheets works best when kept with this manual.

Predator Editor CNC RS-232 Worksheet


Customer: CNC / Machine: Installed By: COM Port #: Baud Rate: Parity: Data Bits: Stop Bits: Flow Control: Wait for CNC: Require DTR: Require RTS: _____________________________ _____________________________ _____________________________ ____________ G 2400 G 4800 G 9600 G _____ G None G Even G Odd G _____ G7 G8 G _____ G1 G2 G _____ G None G Soft. G Hard. G Yes G No G Yes G No G Yes G No
Copyright 2000 by Surfware, Inc. All Rights Reserved

Predator Editor and DNC Manual

111

Comment End: Comment Start: Line Send End: Line Send Start: Conv. Send End: Conv. Send Start: Conv. Rec. End: Conv. Rec. Start: Prog. Send End: Prog. Send Start: Prog. Rec. End: Prog. Rec. Start: Character Delay: Line Delay: Receive CR: Receive LF: Send CR: Send LF: Nulls:

_____________________________ _____________________________ _____________________________ _____________________________ _____________________________ _____________________________ _____________________________ _____________________________ _____________________________ _____________________________ _____________________________ _____________________________ ____________ ____________ G None G Remove G Add LF G None G Remove G Add CR G None G Remove G Add LF G None G Remove G Add CR G Yes G No

Copyright 2000 by Predator, Inc. All Rights Reserved.

112

Predator Editor and DNC Manual

Copyright 2000 by Surfware, Inc. All Rights Reserved