CIMCO Edit v7 User Guide
CIMCO Edit v7 User Guide
Contents
License Information ........................................................................................................................................ 4
Introduction ..................................................................................................................................................... 6
What's New ...................................................................................................................................................... 8
Overview......................................................................................................................................................... 10
Installation...................................................................................................................................................... 13
Program Tabs ................................................................................................................................................ 14
1. Editor ..................................................................................................................................................... 15
1.1. File ................................................................................................................................................... 15
1.2 File Type.......................................................................................................................................... 17
1.3 Edit .................................................................................................................................................. 18
1.4 Find .................................................................................................................................................. 20
1.5 Window ........................................................................................................................................... 22
1.6 Help ................................................................................................................................................. 23
2. NC Functions ......................................................................................................................................... 24
2.1 Block Numbers ................................................................................................................................ 24
2.2 Insert / Remove................................................................................................................................ 25
2.3 Transform ........................................................................................................................................ 28
2.4 Info .................................................................................................................................................. 38
2.5 Macros ............................................................................................................................................. 38
2.6 Macro Setup..................................................................................................................................... 41
2.7 Multi Channel .................................................................................................................................. 49
3. Backplot ................................................................................................................................................. 50
3.1 File ................................................................................................................................................... 51
3.2 View ................................................................................................................................................ 52
3.3 Toolpath........................................................................................................................................... 54
3.4 Tool.................................................................................................................................................. 56
3.5 Solid................................................................................................................................................. 61
3.6 Other ................................................................................................................................................ 64
3.7 Find .................................................................................................................................................. 66
3.8 Information Bar ............................................................................................................................... 67
4. File Compare ......................................................................................................................................... 69
4.1 File Compare ................................................................................................................................... 69
4.2 Go To ............................................................................................................................................... 70
4.3 Sync ................................................................................................................................................. 70
4.4 Other ................................................................................................................................................ 71
3
5. Transmission ......................................................................................................................................... 74
5.1 Transmission.................................................................................................................................... 74
5.2 Machine ........................................................................................................................................... 75
5.3 Setup ................................................................................................................................................ 78
6. Editor Setup .......................................................................................................................................... 79
6.1 General Program Settings ................................................................................................................ 79
6.1.1 Editor Settings ......................................................................................................................... 82
6.1.2 Printing .................................................................................................................................... 85
6.2 File Types ........................................................................................................................................ 87
6.2.1 Colors ...................................................................................................................................... 89
6.2.2 Block Numbers ........................................................................................................................ 92
6.2.3 Load / Save .............................................................................................................................. 97
6.2.4 File Compare ......................................................................................................................... 100
6.2.5 Machine ................................................................................................................................. 102
6.2.6 Backplot ................................................................................................................................. 105
6.2.7 Tool Scanning ........................................................................................................................ 108
6.2.8 Multi Channel ........................................................................................................................ 112
6.2.9 Tool List ................................................................................................................................ 114
6.2.10 Other ...................................................................................................................................... 116
6.3 Global Colors................................................................................................................................. 117
6.4 External Commands ...................................................................................................................... 118
6.5 Mazatrol Viewer ............................................................................................................................ 119
6.6 Plugins ........................................................................................................................................... 121
7. DNC Settings ....................................................................................................................................... 124
7.1 Port Setup ...................................................................................................................................... 126
7.2 Transmit Settings ........................................................................................................................... 129
7.3 Receive Settings ............................................................................................................................ 132
7.4 Directory Settings .......................................................................................................................... 134
7.5 Version Info ................................................................................................................................... 135
8. Using Editor Help ............................................................................................................................... 136
8.1 Using Help in Dialogs ................................................................................................................... 136
8.2 Printing Help Information ............................................................................................................. 137
4 License Information
License Information
Information in this document is subject to change without notice and does not represent a
commitment on the part of CIMCO A/S. The software described in this document may be used or
copied only in accordance with the terms of the license. The purchaser may make one copy of the
software for a backup, but no part of this user manual may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means electronically or mechanically, including
photocopying and recording for any purpose other than the purchaser's personal use, without prior
written permission from CIMCO A/S.
Notice
CIMCO A/S reserves the right to make changes to the CIMCO Edit v7 Software at any time and
without notice.
Software License
You have the right to use the number of licenses of the enclosed program, which you have bought
from CIMCO A/S. You may not distribute copies of the program or related documentation to any
persons or companies. You may not modify the program or related documentation without the prior
written consent of CIMCO A/S.
CIMCO A/S makes no warranties, either express or implied, with respect to the software, its
quality, performance, merchantability, or fitness for any particular purpose. The entire risk as to its
quality and performance is with the buyer. Should the CIMCO Edit v7 software prove defective
following its purchase, the buyer (and not CIMCO A/S, its distributor, or its retailer) assumes the
entire cost of all necessary servicing, repair, of correction and any incidental or consequential
damages. In no event will CIMCO A/S be liable for direct, indirect, or consequential damages
resulting from any defect in the software, even if CIMCO A/S has been advised of the possibility of
such damages. Some jurisdictions do not allow the exclusion or limitation of implied warranties or
liability for incidental or consequential damages, so the above limitation or exclusion may not apply
to you.
5
Notice:
The accompanying software is confidential and proprietary to CIMCO A/S. No use or disclosure is
permitted other than as expressly set forth by written license with CIMCO A/S.
This software contains confidential information and trade secrets of CIMCO A/S. Use, disclosure,
or reproduction is prohibited without the prior express written permission of CIMCO A/S.
CIMCO Edit, DNC-Max, and the CIMCO Logo are trademarks of CIMCO A/S.
Other brand and product names are trademarks or registered trademarks of their respective holders.
6 Introduction
Introduction
CIMCO Edit v7 is the latest version of the most popular CNC program editor on the market. With
over 100,000 licenses distributed in the past few years, CIMCO Edit is the editor-of-choice for
professional CNC programmers who demand a full-featured and reliable, cost-effective professional
editing and communication tool.
Every aspect of CIMCO Edit v7 is new, from the multi-pane tabbed layout to the dynamic toolbars
and menus. CIMCO Edit v7 also includes new and powerful tools such as an enhanced file compare
utility, a reengineered graphical backplotter, and the new NC-Assistant programming tool.
CIMCO Edit v7 provides a comprehensive set of essential editing tools necessary for meeting the
demands of modern CNC program editing.
It has no program size limitations and includes CNC code specific options such as line numbering /
renumbering, character handling and XYZ range finder. It also features math functions including
basic math, rotate, mirror, tool compensation, and translate. CIMCO Edit v7 offers all the functions
expected from an editor including drag-and-drop text editing. Best of all CIMCO Edit v7 is
completely configurable and is easily adapted to any existing CNC program editing environment.
The NC-Assistant makes editing NC code faster and easier than ever. Point at any M or G code and
the NC-Assistant will identify the code allowing you to modify values using an interactive interface
linked to the CNC code. Input the desired values for any register and the NC-Assistant updates the
CNC code automatically.
The NC-Assistant in CIMCO Edit v7 allows you to quickly insert and edit complex cycles and
operations. CIMCO Edit v7 includes built-in cycles and macros for the most common operations
such as program start, program stop and tool change. You can also record or create custom cycles
and macros for the operations most common to your own specific setups and applications.
Graphical Backplotter
The 3D Mill / 2D Lathe backplotter handles your 3-axis Mill and 2-axis lathe CNC programs with
step and continuous forward and reverse plotting. Edit the CNC program and the update is
automatically reflected in the plot. Analyze the plot with dynamic zoom, pan, rotate and measuring
functions. CIMCO Edit v7 supports solid visualization of NC code with tool holder collision check
and gouge detection. The Solid Animation function allows you to see the material being removed.
7
CIMCO Edit v7 features a fast and fully configurable side-by-side file compare, allowing the user
to quickly identify CNC program changes. The file compare identifies changed and deleted /
inserted lines, but ignores trivial format changes like block renumbering and spacing. Differences
are displayed one line at a time, all at once or printed side-by-side for offline review
CIMCO Edit v7 includes DNC capabilities for reliable RS-232 communications with a variety of
CNC controls. With the DNC option you can send and receive CNC programs to multiple machines
simultaneously from inside CIMCO Edit v7.
View Mazatrol Program files directly in CIMCO Edit v7 instead of on the Mazak Control in the
workshop. Quickly verify and review program changes with Mazatrol file-compare.
CNC-Calc is a fully featured 2D CAD solution that works inside CIMCO Edit v7. This add-on is a
fast and effective solution for solving problems with complex 2D geometry. Users can draw or
import (DXF) 2D geometry, specify cut depths, lead-in, lead-out, and other tool path variables and
quickly generate CNC code in ISO and other conversational formats for contours and drilling.
8 What's New
What's New
This version of CIMCO Edit includes a number of improvements over previous versions.
Flexible configuration.
Flexible configuration of colors, NC commands etc.
Overview
Purpose
You can use CIMCO Edit v7 to make changes and check CNC programs for your CNC machines. If
you have a serial communication line from the PC to the CNC machine, you can send and receive
programs directly, even when working with other CNC programs.
CIMCO Edit v7 is designed for editing CNC-programs. CIMCO Edit v7 is able to distinguish
between several different formats including ISO, APT and Heidenhain to name some.
User interface
CIMCO Edit v7 has a standard Windows user interface, having one or more windows for every
open file. The functions in CIMCO Edit v7 can be activated through the Ribbon Bar, which helps
you to quickly find the commands needed for a task. The commands are organized into logical
groups under tabs.
Functions
You can undo and redo (almost) all operations you have done since the file was opened. You can
find the position of a tool change, a spindle speed change or feed rate change, or display the range
of the X/Y/Z axes.
If you are not sure if two CNC-programs are equal, the File Compare functions of CIMCO Edit v7
help you to pinpoint the differences. File Compare lets you choose two files that are put into a two-
frame window. The differences are shown by coloring the line. You can step through the files,
stopping at each difference.
You can customize the colors used to display coordinates and NC commands, renumber block
numbers, and add/remove spaces to increase readability, or decrease program size/transmission
time.
The DNC part of CIMCO Edit v7 lets you send and receive NC programs to your CNC machines in
the workshop. The file can be sent from a window in CIMCO Edit v7 or directly from the hard disk.
The file transmission is done while you are working with other CNC programs.
Setup
CIMCO Edit v7 offers you a lot of possibilities to control the behaviour of the editor. The Ribbon
tabs let you select functions and configure settings. You can access the configuration dialogs using
the icon .
Using the Editor tab, you can configure the Global settings for General, Editor, and Printing.
In the General dialog, the appearance of the windows can be modified. You can choose whether a
file should be displayed in more than one window, or if alterations to a file inside CIMCO Edit v7
through another program should be indicated. Further you can choose whether to share settings
between users, or protect read-only files. You can specify the tab width, as well as the size of the
recent files list. The language used for viewing Editor menus and a Color theme can also be
selected.
In the Editor dialog, you can set the speed of the keyboard and choose if you want scrollbars or not.
The appearance of the printed CNC programs is controlled in the Printing dialog. Here, you can
define a header and/or a footer. If you have a color printer, you might mark the color option.
CIMCO Edit v7 has 5 different templates for different CNC machines. You can set up how the NC
functions behave and how the NC codes appear in the editor window. The Find function in the
Editor menu needs a definition of Tool change, Feed rate change, etc. This definition is made here.
12 Overview
Further information
In the section Program Tabs, all CIMCO Edit v7's functions are described. A lot of functions can
also be accessed through one of the icons.
If you need help on how to set up a serial communication line, you can refer to DNC Settings and
DNC-Max User Guide.
The help system is accessible through the ? icon, the F1 key or the Help button. The section Using
Editor Help gives you an introduction to the help in CIMCO Edit.
13
Installation
To install CIMCO Edit v7, follow the instructions below.
If you receive CIMCO Edit v7 on a CD-ROM, open the CIMCO Edit v7 directory on the CD. If
you receive CIMCO Edit v7 via e-mail, save the file in a temporary directory.
If you do not have a keyfile but wish to install an evaluation version, just proceed to the next step.
If you have received a keyfile from CIMCO, it should be installed by double-clicking on the file
"(name)-license.key" after the installation is completed. This opens the CIMCO License Key
Manager. Click on the button Install Keyfile to install the keyfile.
When the installation is completed and you have copied your keyfile, you are ready to start the
editor for the first time. Click on the program icon on your desktop.
After starting the editor, please verify that your company name is shown in the Licensed to field in
the About box. If not, the keyfile was not installed correctly. Please repeat the point no. 3 in order to
install the keyfile correctly.
If you are running an evaluation version, the license name is Demo version.
14 Program Tabs
Program Tabs
The functions in CIMCO Edit v7 are activated using the appropriate icons on the Ribbon bar. The
commands are organized into logical groups under tabs.
If the function can be activated through the Ribbon bar or a keyboard shortcut, the icon or the
shortcut is displayed next to the command name.
Clicking the small down arrow next to an icon gives you access to additional options and features.
15
1. Editor
This section describes the functions in the Editor tab.
1.1. File
This section describes the commands in the function File. The menu contains the functions
described below for file editing. You can access the file configuration using the icon .
For details about the File settings, click on the corresponding icon or see Editor Setup.
The File functions described below can also be reached through the icon .
New / Ctrl+N
An empty window opens, ready for input.
Configure the machine type for the program by clicking the setup icon .
Open / Ctrl+O
The open file dialog window lets you open an existing program.
Recent
A list of recently used files. Click the down arrow next to the Open icon to open recently used
files.
Close / Ctrl+F4
Closes the current window. You will be prompted to save changes if the file has been
modified.
16 Editor
Close All
Closes all open windows. You will be prompted to save changes for all modified files. Click
the down arrow of the Close icon to access this option.
Save / Ctrl+S
Saves the current CNC program.
Save All
Saves all open CNC programs under their current names. Click the down arrow of the Save
icon to access this function.
Save As
Saves the current CNC program under a new name.
Print / Ctrl+P
Prints the current CNC program. If you want to print a part of a program, mark the area of
interest and choose Print.
Printer Setup
The dialog window for printout configuration is opened. Click the down arrow of the Print
icon to open this option.
Global setup
Lets you configure the general program settings of CIMCO Edit, also accessible through the
icon . Please refer to section Editor Setup for more details.
17
The File Type settings determine how to perform renumbering, look for tool changes, configure
backplot settings, colors, where to save files, etc.
File Type
Use this drop-down list to select the file type which determines the coloring, syntax, etc.
Colors
Open the setup dialog to configure color highlighting.
Directories / Extensions
Open the setup dialog to configure directories and extensions.
Machine Templates
Open the setup dialog to configure machine template specific parameters.
Other Settings
Open the setup dialog to configure other machine settings.
1.3 Edit
In this section, the ordinary text editing functions are described.
You can select/mark a part of the text by dragging the cursor from start point to end point, while
pressing the left mouse button. The background color on the marked text is changed to indicate the
selected area (see Editor Setup / File Types / Colors).
Copy / Ctrl+C
Copies the selected text to the clipboard.
Cut / Ctrl+X
Deletes the selected text and saves it on the clipboard.
To paste the cut-out selection at another location in the file, place the cursor there and choose
the command Paste.
Paste / Ctrl+V
Inserts the clipboard contents - after Copy or Cut - at the current cursor position.
Undo / Ctrl+Z
Undo the last edit operation.
Redo / Ctrl+Y
Redo the last undo operation. You can redo all undo actions performed since the file was last
opened.
Del / Del
Deletes the selected part of the CNC program, or the character to the right of the cursor when
no selection is done.
19
Here, you can specify a range of lines or block numbers to be marked or deleted. In addition,
a special selection from a tool change, feed rate or spindle speed value can be marked up to
the next or deleted.
You can also access this function from the Insert/Remove menu of the NC Functions tab.
Append File
Appends a file to the end of the current CNC program.
Insert File
Inserts a file into the current window at the cursor position.
1.4 Find
This section describes the search for data through the file.
Find / Ctrl+F
In the appearing dialog box, you can specify a text string and search for it through the CNC
program. You can choose one of the defined tool operations instead of a text string.
Search dialog.
Find Next / F3
Finds the next occurrence of the specified search string in the CNC program.
21
Replace / Ctrl+H
Replaces a specified string in the CNC program with another string.
1.5 Window
This section describes how the sub-windows containing the CNC programs can be arranged.
Click on Window on the top right corner of the Ribbon. This will open a drop-down menu with
four display modes of the programs.
Cascade
Places the open files in an overlapping cascade in the window.
Arrange icons
Assembles the icons of the minimized CNC programs in the lower left corner of the window.
Tile Horizontally
Places the open files in horizontal editor windows in the program window.
Tile Vertically
Places the open files in vertical editor windows from left to right.
The names of the open files are listed in the lower part of the drop-down menu. When you click on
a file to select it, the file will be marked with a check mark at the beginning of the line. The top
of the dialog box is highlighted and the corresponding tab is activated in the editor window. This
allows you to see, which window you have activated.
23
1.6 Help
If you need help with CIMCO Edit v7, click on the Help menu on the top right corner of the Ribbon
and you receive the following selection:
Editor help
Opens the help file for CIMCO Edit.
If the help file is not available in your language, it will open the default English help
file.
This command will not be available if option Hide "Download Latest Version" is
checked in the general program settings.
About
Shows information about CIMCO Edit v7 and the license conditions.
24 NC Functions
2. NC Functions
This section describes the NC functions in the CIMCO Edit Ribbon. You can access the
configuration of these functions using the icon . With the NC functions, CNC programs can be
built or changed quickly.
Renumber / Ctrl+T
Inserts block numbers in the CNC program (or renumber the block numbers if some already
exist in the CNC program).
Remove
Deletes all block numbers from the CNC program.
Here, you can specify a range of lines or block numbers to be marked or deleted. In
addition, a selection from a tool change, feed rate or spindle speed value to the next
value can be marked up or deleted.
Block Skips
Adds a skip-character to the beginning of a NC block. For this purpose, select the desired
NC blocks and then click on Block Skips .
The block skip character can be defined in the Machine configuration dialog.
If you only want to remove the characters of a given NC block, select this NC block
(completely or at any point) and click on the icon Remove Block Skips .
Insert Spaces
Inserts space characters between the commands in the CNC program, where there is no
space character between two commands. Existing space characters are left as they are.
Remove Spaces
Deletes all the space characters and tab signs from the CNC program (whitespace characters).
Remove Comments
Removes all the comments from the CN program - written in parentheses or with the
Comment start/end characters defined in Machine.
Insert Strings
Inserts a user-defined string in the CNC program at the place defined in the dialog below.
Remove Strings
Removes strings from the NC program according to the specifications entered in the
Remove String dialog (similar to the one above).
lines starting with DPRNT ... right after the individual command.
CNC program without monitoring macros. CNC program with monitoring macros.
The observed values for the macros can be read via the serial interface for further
processing.
Uppercase / Ctrl+U
Changes the case of the text to 'UPPERCASE' - including the comments.
Lowercase / Ctrl+Shift+U
Changes the case of the text to 'lowercase' - including the comments.
28 NC Functions
2.3 Transform
This section describes the functions under the menu Transform, which allows you to quickly write
and change NC programs.
Adjust Feedrate
In this dialog, it is possible to adjust the feedrate of the active program. To do this, click and
drag the pointer or click on the sliding bar of the pointer, or enter the new feedrate in the field
New feedrate. Click OK to apply the command or Cancel to close the window without any
changes taking effect.
New feedrate
Enter into this field, the percentage with which the feedrate should be changed.
Minimum value
Enter the minimum feedrate into this field (in mm/min).
Maximum value
Enter the maximum feedrate into this field (in mm/min).
29
Decimals
Enter the number of decimals to the right of the decimal point into this field.
Selection only
Check this field to change the feedrate in the selected program blocks only.
Minimum value
Enter the minimum spindle speed here (in rev/min).
30 NC Functions
Maximum value
Enter the maximum spindle speed here (in rev/min).
Decimals
Enter the number of decimals to the right of the decimal point here.
Selection only
Check this field to change the spindle speed in the selected program blocks only.
Parameter(s)
Check the fields of the parameters to be changed.
31
Other
Check this option to enter parameters with more than one character. This enables an
input field where special characters (Ó, Ö, Ø...) or multi-digit (ABC) parameter
names can be entered.
UPPER/lower case
Use this field to specify UPPER and/or lower case of the parameters to be changed.
Addition
Adds the specified value to all selected parameters.
Subtraction
Subtracts the specified value from all selected parameters.
Multiplication
Multiplies all selected parameters by the specified value.
Division
Divides all selected parameters by the specified value.
Value
Use this field to enter the value that will be inserted in the mathematical function
(Addition / Subtraction / Multiplication / Division).
Maximum value
Enter the maximum value in this field. Parameters with values higher than specified
here after performing the mathematical function will be set to this maximum value.
Minimum value
Enter the minimum value in this field. Parameters with values lower than specified
here after performing the mathematical function will be set to this minimum value.
Decimals
In this field, enter the number of decimals to the right of the decimal point.
Keep decimals
Check this field to provide the new value with the same number of decimals as the
original value.
32 NC Functions
Selection only
Check this field to change the value of the selected program blocks only.
Rotate
In this dialog you can rotate the outline around a specified point and with a specified angle.
Click OK to apply the command or Cancel to close the window without any changes taking
effect.
Rotate dialog.
Point (X,Y)
Enter the coordinates of the center of the rotation in these fields.
Angle
Enter the angle of rotation by degrees in this field.
Arc type
Here you can specify the arc type by selecting one of the four different types:
Auto detect: default.
Relative to start: relative to the initial coordinates of the contour.
33
Decimals
Enter into this field the number of decimals to the right of the decimal point.
Assume G91
Check this field when the control is preset for relative coordinates (G91).
Non-modal X/Y/Z
Check this field to use non-modal X/Y/Z values.
Selection only
Check this field to rotate the selected program blocks only.
Mirror
In this dialog you can mirror the outline around a specified line. Click OK to apply the
command or Cancel to close the window without any changes taking effect.
Mirror dialog.
34 NC Functions
Point (X,Y)
Enter into these fields the coordinates of the point of the mirror axis.
Angle
Enter into this field the angle of rotation by degrees of the mirror axis.
Arc type
Here you can specify the arc type by selecting one of the four different types:
Auto detect: default.
Relative to start: relative to the initial coordinates of the contour.
Relative to end: relative to the end coordinates of the contour.
Absolute arc center: relative to the absolute center of the arc.
Decimals
Enter into this field the number of decimals to the right of the decimal point.
Assume G91
Check this field when the control is preset for relative coordinates (G91).
Non-modal X/Y/Z
Check this field to use non-modal X/Y/Z values.
Selection only
Check this field to mirror the selected program blocks only.
Tool compensation
In this dialog you can define a toolpath compensation (offset) for the active program, from
the programmed workpiece contour to the left (G41), or to the right (G42) - based on the
direction of feed -, in order to compensate different tool sizes.
35
Offset
Enter the offset value into this field.
Arc type
Here you can specify the arc type by selecting one of the four different types:
Auto detect: default.
Relative to start: relative to the initial coordinates of the contour.
Relative to end: relative to the end coordinates of the contour.
Absolute arc center: relative to the absolute center of the arc.
Decimals
Enter into this field the number of decimals to the right of the decimal point.
Assume G91
Check this field when the control is preset for relative coordinates (G91).
Non-modal X/Y/Z
Check this field to use non-modal X/Y/Z values.
Selection only
Check this field to offset the selected program blocks only.
Translate
This dialog translates the outline. The outline is moved to a position offset by the values
entered in the Translate (X,Y,Z) fields.
Translate dialog.
Translate (X,Y,Z)
Enter into these fields the X, Y, and Z values to offset the outline.
Arc type
Here you can specify the arc type by selecting one of the four different types:
Auto detect: default.
Relative to start: relative to the initial coordinates of the contour.
Relative to end: relative to the end coordinates of the contour.
37
Decimals
Enter into this field the number of decimals to the right of the decimal point.
Assume G91
Check this field when the control is preset for relative coordinates (G91).
Non-modal X/Y/Z
Check this field to use non-modal X/Y/Z values.
Selection only
Check this field to translate the selected program blocks only.
Heidenhain/ISO Converter
Use this function to convert Heidenhain CNC Programs to ISO Programs.
2.4 Info
The menu Info contains functions for calculating Toolpaths Statistics and generating Tool List. You
can access the configuration by using the icon .
Toolpath Statistics
Find range of X,Y,Z, machining time, etc.
2.5 Macros
This section describes the function Macros. You can access the configuration of this function using
the icon . CIMCO Edit v7 includes built-in cycles and macros for common operations like
program start, program stop and tool change. You can also record or create custom cycles and
macros for the operations most common to your own specific setups and applications.
Macro Name
Shows the current macro for the selected file type. Click on the arrow and select a macro
from the drop-down list.
Insert Macro
Insert the selected macro.
Before inserting a macro, you must first define two types of parameters:
39
a) The required parameters, and b) The optional parameters (marked with *).
Click on the Insert Macro icon to open the parameter input box. Enter the parameters
and click OK.
Modify Macro
Modify the selected macro.
To modify an NC code in an inserted macro (e.g. change the Z value of the macro 'Program
Start/Program End' from 100 to 80 mm), highlight the NC code and click on the Modify
Macro icon . Enter the new Z value and then click OK.
Find Macro
Click this icon to search for the specified macro.
You can search for a macro in an NC program in two ways:
In the field Cycles/Macros, select the macro to search for in the NC program and
click the button Find Macro.
Select the macro to search for from the drop-down list and click on the icon Find
Macro.
If you receive the message: Cannot find the macro ... , it is because the desired macro
was not specified as a macro. The NC text has been copied or created manually.
Record Macro
Creates a new macro based on the selected text.
To record a specific or frequently recurring NC block, select the block in the NC program
and then click on Record Macro. The dialog Add Macro appears. Enter a name for your NC
block (macro) and click OK to save it. The name is visible in the field Macro name of the
Macro Setup dialog.
If macro specific NC codes are variables, you must replace them with user-defined
parameters in the Macro Definition field of the Macro Setup dialog.
41
File Type
Shows the current file type. Click on the arrow to select another file type.
Macro Setup
Here you can configure, add, and modify macros for the file types.
Macro Setup
The dialogue Macro Setup is divided into three functional areas that are described
in details in the following section.
42 NC Functions
Macro name
Here you can see all available macros for the selected machine type.
Clicking on the Add button will open the dialog Add macro. Enter the name of
the new macro and click OK. You will find this name at the bottom of the
Macro name list.
Add
Click this button to open the dialog Add macro. Enter the name of the new macro
and click OK.
Rename
Click this button to rename the selected macro.
43
Copy
Click this button to make a copy of the selected macro. You can make a few
changes in the name and the contents of the macro to create a similar macro and
save it.
Delete
Clicking this button will display a warning message asking if you really want to
delete the selected macro. If you answer Yes, the macro name and its contents
will be deleted.
Copy To
Click this button to copy the selected macro to a different configuration.
Up / Down arrows
Use these buttons to move the selected macro up or down the list.
Info variable
Use this drop-down menu to add additional information to the macro (for example:
Date, time, date and time, filename, etc.).
Add Info
Click this button to insert a new information variable.
Add Formula
Click this button to insert a new formula.
Description
Use this field to specify a description of the selected parameter.
When you insert the macro into the CNC program by clicking the icon , a
parameter input box appears to let you enter all macro parameters. The
description of the parameter is right next to the parameter field.
Prefix
Use this field to specify a prefix string for the selected parameter, e.g. S for spindle speed.
Suffix
Use this field to specify a suffix string for the selected parameter.
Min
Use this field to specify a minimum value for the selected parameter. If you enter a
value lower than the Min value, you will immediately be prompted for correction.
Max
Use this field to specify a maximum value for the selected parameter. If you enter a
value higher than the Max value, you will immediately be prompted for change.
Default value
Use this field to specify a default value for the selected parameter.
Decimals
Use this field to specify the number of decimal digits.
46 NC Functions
Digits
Use this field to specify the number of digits. E.g. when inserting an O-number with
4 digits, the result becomes 'O0007'.
The additional options must be selected carefully, as they affect the final result.
Parameter is required
Check this field if the user is required to specify a value for the selected parameter.
If you do not check this box, the sign * will appear in the parameter input field,
indicating that this parameter is optional. In this case, you do not need to enter a
value in the field. If you do it anyway, you will change the (modal) value for this
NC code.
Optional Parameters can for example be found at the 3 axes (X, Y, Z) of linear
move (G01).
If you (accidentally) enter a negative value into the macro fields, the (-) sign
will be ignored. The entered value will be considered as the absolute value
of the parameter and will output positive NC codes in the CNC program.
Allow letters
Check this field to allow the user to enter text string.
According to ISO Convention, texts in the CNC program must be written in
parentheses so they can be read on CNC machines. To prevent forgetting the
brackets, these are generated automatically in CIMCO Edit v7 when the field
47
Allow letters is checked. Besides, the input fields Min, Max, Decimals, Digits
and the box Allow negative values are grayed out.
The parameter $2 in the macro Program Start and End can include
programmers' initials, text strings, and special characters in parentheses.
Allow letters.
Remember value
Check this field if the last value entered for this parameter should be used the next
time the macro is called.
Example: Let's assume you need to drill a blind hole into a special steel with
three depths Z10, Z16 and Z20 at a defined location (X,Y). To achieve this, use
the macro 'G81 Drilling cycle' and check the box Remember value for the
parameters $1, $3, and $4. This way, those parameters will be automatically filled
out with the previous settings for the blind hole machining. As we want to drill at
different depths, we do not select Remember value for the parameter $2, which is
the modal Z value of the operation. Since Remember value is not activated, the
field $2 will be marked with an * and is initially empty.
If the drilling program was previously run and you now call the macro 'G81
Drilling cycle' by clicking the icon , you just need to enter the first desired Z-
value 10 into the field Z coordinate (absolute) and click on OK. Repeat the macro
command with the Z-values 16 and 20, all other fields will be automatically filled
48 NC Functions
out with the previously used values. Then you will have your blind hole.
Uppercase
If the option Allow letters is enabled and you want to write with capital letters,
check this field to make the user input uppercase.
You must check this box if you want to use both lower and uppercase in the text.
Window
This option enables you to view the current file in multi channel mode.
Files
Click this icon to view multiple files in multi channel mode.
Close
Closes the multi channel view.
Synchronize Scrolling
Use this option to scroll all channels at the same time.
3. Backplot
This section describes the Backplot functions in the Editor Ribbon.
The optional 3D/2D backplot in CIMCO Edit v7 is used for the simulation of CNC programs. The
Backplot configuration is accessible through the icons or .
The graphical backplotter shows the toolpath for milling and turning operations. You can simulate
NC programs for Milling operations using wireframe or solid view, as well as solid animation. For
Turning operations, you can use wireframe simulation and solid animation.
The solid animation visualizes the manufacturing process of the piece. The simulation allows you to
observe the stock being removed by the tool, and thus get a complete and intuitive visualization of
the toolpath.
Within the Backplot tab, you can select either Backplot Window or Solid Animation. In the Backplot
Window the toolpath is visualized as a wireframe, and a Solid Model of the workpiece can be
created. In Solid Animation, the operations are visualized on a material block and show the
manufacturing process. You cannot toggle between Backplot Window and Solid Animation during
the dynamic simulation.
In Backplot mode, the NC program is displayed in the left pane of the window, while the plot is
shown in the right pane. You can stop and restart the simulation, control the speed and direction of
the tool movement, etc.
During the dynamic simulation, a gray bar shows in the CN program, which NC block is being
processed. You can use Full Screen to make the graphical simulation cover the whole screen
without showing the program. You can also skip through the NC codes with the options Jump to
next tool, Jump to next cutting pass and Jump to next move.
Dynamic zoom, pan, rotate and measuring functions can be used to analyze the plot.
3.1 File
In this section, the backplot function File is described. The file menu contains the below described
functions for file simulation and general backplot settings.
Solid Animation
Select this option to show the solid animation of the current NC program.
The window splits in two, allowing the lines of the program file and the toolpath simulation
to be shown simultaneously.
The icon is active only when a program file is already open. Clicking this icon disables the
Backplot Window icon.
Backplot File
Enables you to backplot file directly from disk, without opening the file.
When you click this icon, a window opens to let you select a file to plot. A click on the down
arrow next to the icon will display a list of recently simulated programs. In both cases, you
get a complete plot of the selected program without showing the CNC program.
Backplot Setup
Lets you configure the backplot.
Before starting the graphical simulation, you must first configure the file type for the program
you have already opened. To do this, click on Backplot Setup to open the configuration
dialog. In the Setup dialog, select the Control Type (for example 'ISO Milling') and configure
the desired parameters. See Backplot Setting for more information.
52 Backplot
3.2 View
This section describes the View menu of the optional 3D/2D Backplot command. These functions
define how the current file is shown during the simulation.
After selecting a view, you can restart the graphical tool path simulation.
Zoom Selection
Click this icon to zoom in on the selected area.
Zoom To Highlighted
Click on this icon to zoom to the highlighted element.
View Reset
Click this icon for the default perspective view (initial size and position).
Measure Distance
Click this icon to measure the distance between 2 points.
If you want to measure the distance between two points of the generated toolpath, click this
icon to get an arrow with a ruler. Move the mouse to the first point and press the left mouse
button to select it. Point 1 becomes black. Drag the mouse pointer to point 2 (or point 3, 4, 5,
etc.) while holding the left mouse button down to obtain the absolute distance (in space) and
the distance in the XY plane (G17) and the ZX plane (G18) between the two points.
Measure distance.
54 Backplot
Rotate View
Select this item to rotate the view.
Zoom View
Select this item to zoom the view.
Pan View
Select this item to pan the view.
3.3 Toolpath
This section describes the Toolpath function in the Backplot menu. This is the representation of the
current file relative to the toolpath in the simulation.
After selecting a view, you can restart the graphical simulation of toolpath.
Toolpath
Show/hide the paths of the tool.
Click the down arrow under this function to activate or deactivate toolpath options.
55
Show/hide toolpaths.
Mode
Show toolpath from start until current position.
Click on the down arrow to open a drop-down menu, from which you can select options and
additional functions for toolpath simulation.
3.4 Tool
This section describes the Backplot function Tool. The functions in this menu control the
presentation of the tools in the simulation.
Show/Hide Tool
Select this item to show or hide the simulation tool.
Tool Setup
Click this icon to configure tool types, colors, and tool library.
Clicking on this icon will open the tool library. Here you can select a tool in the tool list of
the bottom half of the window with one click and double-click to get the tool dimensions.
You can also change one or more dimensions of the tool, enter a tool name and then assign it
to the opened CNC program. Click OK to save tool information in the tool library.
In this dialog you can also load and save tool libraries. Tool libraries are especially useful on
machines with fixed tool position.
57
Milling Tools
In milling operations, clicking the Tool Setup icon opens the following window:
The Backplotter can automatically detect the tools specified in the NC program, or
you can choose to configure them manually. The upper half of the window shows the
tools currently used in the NC program. For every tool in the list, you can click on the
icon at the top right of the Setup Tool window to open the configuration dialog of
the selected tool. In this dialog, you can determine the dimensions of the tool and the
color for the tool path.
58 Backplot
Enter the tool parameters and description, select a color for the tool path,
and then click OK.
Turning Tools
In turning operations, the following window opens when you click on the Tool Setup
icon:
For every tool, you can click on the icon at the right end of the Turning tool setup
window to open the Tool Setup dialog of the selected tool.
60 Backplot
Enter the tool parameters and description, select the tool zero point and orientation,
and then click OK.
When you click Load/Save Tool library in the tool setup window (both Milling and
Turning), the following dialog appears:
Save the current tool library by clicking Rename, and enter a new name. You load a tool
library by selecting the desired tool library and clicking OK. If you wish to remove a tool
library, select the desired tool library and click Remove.
61
3.5 Solid
In this section, the Backplot function Solid and the simulation of the Solid Model are described.
The Solid Model is only available for Milling operations when using the Backplot Window option.
Solid Model
Shows / Hides the solid model.
Click on this icon to toggle between the toolpath view and the Solid visualization with
toolpath.
If the "Automatic stock scanning" option is enabled, stock dimensions will automatically be
scanned from the NC program file. To specify stock dimensions within an NC program, add a
comment with the following layouts:
For Heidenhain machines the line which defines the stock dimensions should have the
following format:
For ISO machines, insert the stock dimensions as comments within the first 100 lines
of program, and with the following layout:
Decimal numbers are supported. The +/- sign is required to be in front of each value.
Input fields are disabled when Stock dimensions are found and Automatic stock
scanning is enabled.
The Lock stock dimension option allows you to lock the stock dimensions to a machine.
Checking this field saves the stock values in the machine settings, so they are available for
used in other NC programs. This is especially useful when testing different NC programs on
the machine.
The stock dimensions are locked temporary and will not be available when CIMCO
Edit v7 is restarted.
64 Backplot
3.6 Other
This section describes the Backplot function Other. This function is concerned with simulation in
full screen, workpiece and tool offsets, 5-axis machine setup, load of STL files, DXF files export,
and the Simulation control type.
Full Screen
Shows the backplot in full screen.
Control Type
Select the control type from this list.
Backplot Setup
Lets you configure the backplot settings. Please refer to File Types Settings for further
information.
66 Backplot
3.7 Find
This section describes the search for data through the file.
Find / Ctrl+F
Finds the specified text string (or one of the defined tool operations) in the CNC-program.
Find Next / F3
Finds the next occurrence of the specified search string in the CNC program.
Toolpath Statistics
Find range of X,Y,Z, machining time, etc.
67
The Information Bar is shown in the lower part of the Backplot window and contains the following
elements:
Shows the current tool coordinates within the defined preparatory functions (G00 - G03).
Pause simulation
The Information Bar is shown in the lower part of the Backplot window and contains the following
elements:
Shows the current tool coordinates within the defined preparatory functions (G00 - G03).
Pause simulation
4. File Compare
This section describes the File Compare menu in the CIMCO Edit Ribbon. You can access the
configuration of the function using the icon .
Setup
Use this icon to set up file compare settings.
70 File Compare
4.2 Go To
This section describes the functions used to move through the differences found during file
compare.
The Go To menu.
Go to First Difference
The cursor moves to the line containing the first difference.
Go to Last Difference
The cursor moves down to the line containing the last difference.
4.3 Sync
This section describes the features used to synchronize differences.
When you synchronize a difference, the selected difference is copied from one window to another.
The icons described below determine the synchronization direction (from right to left or from left to
right).
When the text is moved from one to another window, the line is no longer highlighted. This is
because the texts in both windows are identical after synchronization.
4.4 Other
This section describes other functions used for file compare.
Setup
Configure the settings of the File Compare function. You can set up the different parameters
for File Compare in the File Compare Settings dialog. The behavior of the File Compare
functions is changed through the Machine Type settings.
If you want to change the configuration during a file compare operation, you must first end
the current operation with the icon , and then start a new operation with the icon .
In the 'File Compare Settings' dialog below, different File compare options can be
selected by checking the fields.
72 File Compare
The file compare results of two settings Show all differences and Mark changes only are shown as
example.
When this option is enabled, all lines in both windows containing at least one difference are gray,
and the difference is highlighted with red.
If you move the cursor with the icon to a line with a difference, the whole line is colored in red.
If the following lines also contain differences, the block is marked red. You can use the icon to
synchronize one or more highlighted line(s) from left to right, or from right to left with the icon .
When text is moved from one window to another, no line is highlighted. This is because the texts in
both windows are identical.
When this option is enabled, all lines in both windows containing at least one difference are gray,
but only the difference is highlighted with red.
73
If there are differences in successive lines, and the cursor is moved to the first line with the icon ,
all lines are gray and the texts are marked red. You can synchronize the highlighted block from left
to right with the icon , or from right to the left with the icon .
Further information about the File Compare settings is found under Setup File Compare.
5. Transmission
In this chapter, the Transmission menu in the CIMCO Edit v7 Ribbon is described.
Transmission is used to send NC programs from a PC to CNC machines or receive programs from
the CNC machines. You can access the configuration of this function using the icon .
The Editor must be licensed for DNC operations to use this option.
5.1 Transmission
In this section, the functions related to sending files to and from CNC machines are described. The
functions are reachable through the Transmission tab. The toolbar is shown below, and every icon
is showed next to the command name.
With the DNC option, the CIMCO Edit v7 user is able to send CNC programs from a PC to a CNC
machine or receive programs from it. It is also possible to transfer CNC programs to / from multiple
CNC machines at the same time.
Send File
Transmits a file to a selected machine.
Click this icon to open the search dialog for the file to send. After opening the selected file,
the Transmit status window appears, showing the transfer data and the progress of the current
transmission.
Click on the arrow below the icon to get a drop-down list with the last recently sent files to
choose from.
Send
Transmits the current CNC program to a selected machine.
Receive File
Receives a CNC program from a selected machine, saving it as a file without opening it.
Click on this icon to open the dialog Receive file for the file to be received. After entering a
name for the expected CNC program and clicking Save, the Receive status dialog will appear
showing the transfer status.
Click on the arrow below the icon to get a drop-down list with the last recently received files.
Receive
Receives a CNC program from a selected machine, opening it in a new window.
5.2 Machine
This section describes the functions related to file transmission on existing machine types. You can
access the configuration of the selected machine through the icon . Read more about setting
parameters for DNC communication under DNC Settings.
Machine Type
Select the CNC machine for the data transmission from the drop-down list. Click the field to
show a drop-down list with the machines available for selection.
The machine type determines the COM port and DNC settings.
Status
Click this option to open the status window of current transmissions and/or receptions.
If the five icons on the Transmission menu are grayed out, and it seems that a CNC program
transfer can or will be in progress, then you can click on the icon to display the
transmission state window (sending or receiving):
76 Transmission
The top left of the status window shows the signals of the serial data transmission according
to EIA RS-232-C, which light up when activated. The top right part shows information of
the current transmission (Machine, Filename, Bytes send, etc.). Below the transfer status
information there is a progress bar, three buttons to Start/Stop and Cancel the transmission
and Show/Hide the terminal box, which shows the NC program being transmitted in plain
text. Options to Scroll the text in the terminal box and to Show CR/LF (Carriage Return /
Line Feed characters) are also available at the bottom of the window.
If you click the Stop button when a transmission is in progress, you will get the following
dialog:
Here you have the option to cancel the transfer (answering Yes) or continue (answering No).
When receiving a file from the machine, the transmission status window will look like this:
77
When the CNC program (with M30) was completely received, is shown the following
message:
5.3 Setup
This section describes the functions related to the DNC settings for existing machine types. You can
also configure and/or add new CNC machines.
First, determine what CNC machines are installed and check the transmission parameters. Open the
CIMCO Edit v7 tab Transmission and click on the icon DNC settings to open the configuration
dialog.
In this dialog you can see a list of the existing machines, and select one to rename it, delete it or add
a new one.
If you want to change the transmission parameters of the selected machine, you can click on the
Setup button in the lower right part of the dialog. The machine settings dialog will appear, and you
can review and modify the interface parameters. From the tree menu on the left side, you can access
the Transmit and Receive dialogs to check/change the transmission parameters.
Set in the Directories dialog your default folders (send and receive folders) from which you want to
send and receive CNC programs to/from the machine. Use the folder icon to the right of the entry
fields to navigate or create a new folder, where to store the transmission files.
DNC Setup
Click this icon to add new machines and configure the DNC settings in CIMCO Edit. Read
more about setting parameters for DNC communication under DNC Settings.
79
6. Editor Setup
This section describes how to configure the CIMCO Edit settings.
These settings are stored in Windows (under USERNAME), so every user gets "his" Editor
after logging in.
80 Editor Setup
If a user does not have read/write access to the program directory, this option is
disabled.
Start maximized
When this field is checked, CIMCO Edit v7 will always start maximized, i.e. filling up the
whole screen.
Warning beeps
Check this field to use warnings beeps (switch this off for silent operation).
Re-open files
Select this option to re-open files when the program is started.
Language
Select the language to be used in menus and dialogs.
Changing language will not have effect until the program is restarted.
Tab width
Use this field to specify the tab width in characters.
Color theme
Select the color theme to be used in CIMCO Edit.
82 Editor Setup
Changing color theme will not have effect until the program is restarted.
Editor settings
Keyboard acceleration
Enables your cursor to move faster.
If you transmit files with 7 data bits, ASCII 128 becomes ASCII 0.
Wrap Searches
Check this field if searches should continue searching from the top of the file if no match is
found before the end of the file.
Block Mode
Drag-and-drop text editing
When this option is enabled, you can drag any selected text to a new location.
Font settings
This field shows an example of the selected font. Click the Select font icon to the right to
change the font used in the editor window.
85
6.1.2 Printing
To change printer settings, choose Printing from the left hand list of the General Setup menu. The
printer configuration dialog is shown below.
Printer setup.
Print options
Syntax highlight
Select this option to apply syntax highlighting to the printed text. Use Bold and Italic to
highlight NC commands and comments.
Use colors
Enables color printouts. This requires a color printer.
Print headers
Prints headers on every page.
Print footers
Prints footers on every page.
86 Editor Setup
Raw print
Produces simple text output to the printer. This is useful when printing large programs to
matrix printers. When raw print is selected, the options Syntax highlight, Use colors and Print
header on first page are disabled. The options Send form feed, Print on endless paper, Send
form feed after last page and Paper height will be activated to setup the raw print.
Header/Footer
Use these fields to specify the contents of the header and footer. The following options are
available:
%p : Page number
%P : Page count
%f : File name
%F : File name with path
%t : Time
%d : Date
%c : Company name
%U : Windows user name
File type settings determine how to perform renumbering, look for tool changes, compare files,
backplot settings, set up colors, where to save files, etc.
Colors, block numbers, backplot, file compare, etc. are configured individually for each file type.
File type is a macro file, which contains specific properties for the machining type (e.g. Turning,
Milling, etc.), program codes (ISO G-code, Heidenhain, plain text), and commands (renumbering,
tool changes, colors, backplot, etc.).
The File types ISO Turning, ISO Milling, Heidenhain TNC, and Text file are integrated in CIMCO
Edit v7. You can add new file types e.g. Turning by modifying existing macros or inserting your
own macros. Information on how to proceed is found in the section Macro Setup.
To configure File types settings, select Global Setup in the Editor tab, or click on the setup
dialog launch icon . This will open the Editor Setup window. Click on File types in the left tree of
the setup dialog. The following dialog appears:
88 Editor Setup
File types
This field shows a list of defined file types. Use the Up/Down arrows to move the selected file
type up or down on the list.
Delete
To delete a file type, highlight it and click on the button Delete. You will be prompted to
confirm the delete operation.
Rename
Click this button to rename the selected file type. To rename a file type, highlight it and click
on the button Rename.
Add
Click this button to add a new file type
To add a new file type, click on the button Add. The following window appears:
89
Enter the name of the new file type, select a file type template from the drop-down list and
click OK. Click Cancel if you wish to abort the operation.
6.2.1 Colors
Use this dialog to configure color settings for the selected file type.
To define the colors used for highlighting within a certain file type, select Colors from the File
types menu in the left tree of the Editor Setup dialog, or click the Colors icon in the File Type
menu within the Editor tab. The color configuration dialog is shown below.
Color setup.
The following defined color settings apply for the file type "ISO Milling".
90 Editor Setup
Color Settings
Use colors
Select this option to use color highlighting.
If all three options above are unchecked, the entire NC text - including comments - is set to the
color defined in Text color.
Background color
The background color used for editor windows.
Block color
The background color within a selection.
Comments color
The color used for comments, as defined by the Comment start and Comment end, or
Block Skip character on the Machine template configuration tab.
Text in blocks
The color used in one or more selected program blocks when the field Use color in
blocks is not checked.
Rapid moves
The color used for rapid moves.
Linear moves
The color used for linear moves.
91
Select color
Select a new color. To select a new color, highlight a color in the list and click on this button
(you can also double-click in the list).
Up/Down arrows
Use these buttons to move the selected color up and/or down on the list. Entries higher on
the list have higher priority.
Text
Use this field to specify a string that will be highlighted using the selected color.
Letter Colors
Click this button to create a different color for each letter. This will set the coloring similar
to the default in CIMCO Edit V4.
The color settings will only affect the selected file type.
Because often changes need to be carried out, i.e. new NC blocks are inserted between two old
ones, the definition of 'interval' between two NC blocks according to the expected number of NC
blocks is an important decision that affects the size of the block numbers, and therefore their
readability for the user. If the block number sequence is disturbed by many changes, a 'renumbering'
might be required.
To configure renumbering and/or automatic block numbering, select Block numbers from the File
types menu in the left tree of the Editor Setup dialog, or click the Configure Block Numbering
icon in the File Type menu within the Editor tab. The block number configuration dialog is
shown below.
93
Renumber Settings
Auto block numbering
Inserts line numbers automatically, according to the format described. If you make a new line
(after the existing lines), the new line number will be governed by the preceding line number
and the setting for Interval. If you insert a line in an existing program, the new line number
will be midway between the preceding line and the following line.
You can change the default values shown in the dialog (defined under 'Block format' in the
Block numbers setup dialog) to fit your renumbering requirements and click OK.
Block Format
Format
This field provides a list of available block number formats. Select a format from the drop-
down list. I.e. for 4 digit block numbers and max. 9999, select format "0001".
This will not limit the number of digits in the line number. If you wish to limit the
number of digits, you have to specify a maximum line number in the Restart every
field.
Start with
Makes it possible to specify the starting value of the block number.
Restart every
Specify when the line number must restart. This number is equal to the maximum line
number.
Example: To use line numbers from 0-9999, specify 9999 in this field. If no value is
specified, the line number will increment until it reaches 100000000, before it restarts.
95
Interval
Use this drop-down list to select the interval by which the block number must increase for
each block. Preset intervals are 1, 2, 5, 10, 20, 100, 1000 and Auto.
If you select one of the Auto ... options, the number selected is the maximum block number,
and the interval will be selected to distribute the block numbers as evenly as feasible, within
this maximum block number.
Example: To renumber a CNC program with 482 NC blocks, select the option 'Auto 1000'
for the interval. When you the click on the icon Renumber in the NC Functions toolbar
Block Numbers, block number will be N0964 (which is the highest multiple of 482 that is less
than 1000). From this, the program will calculate the most reasonable interval to be 2. This is
the highest possible spacing between the block numbers if 964 is the highest possible number
and 482 blocks need to be numbered.
If we want to renumber the same program of 482 NC blocks, and this time we select 'Auto
10000', the program will recognize the highest possible block number to be N9640, which
divided by the number of blocks yields an optimum interval of 20.
In this example, we assume that the value of the field start with is set to 0.
Skip
Use this field to specify if block numbers should skip lines.
Example: If you specify 2 in this field, only every 3rd line will be numbered.
From line
Specify the number of lines that should be skipped before the renumbering begins.
96 Editor Setup
To line
Use this field to specify the maximum number of lines that should be renumbered.
If a positive number is written here, it specifies the last line to be renumbered, counted from
the beginning of the program.
Example 1: If your CNC program starts with 4 comment lines and a program start line (with
program start trigger and number, but without 'N'), only the first 10 NC blocks will be
renumbered if you specify 15 in this field.
If a negative value (-N) is specified, the last N lines (counted from the end of the program)
will not be renumbered.
Example 2: If you specify the value -2, and the last line of your CNC program (line
containing the program end code M30) is followed by another line containing a special
character (e.g. %), then only the last line is not renumbered.
The Block numbers settings will only affect the selected file type.
97
Load/Save
Default extension
Specify a default extension to use for the selected file type. This extension will be appended
to any new files saved, unless an extension is specified in the Save as window.
Additional extensions
Define additional file extensions associated with your machine type. Extensions determine
the type(s) of file(s) you wish to open (only files with the extension(s) defined here will be
98 Editor Setup
displayed in an Open file window). You can define more than one extension using a comma
',' as separator.
Example: To associate the extensions .ISO and .NC, specify ISO, NC.
Backup / Save
UNICODE Files
Message when loading UNICODE
Displays a message when a UNICODE file is loaded.
The Load/Save settings will only affect the selected file type.
100 Editor Setup
Ignore Options
Ignore Block numbers
The values of block numbers will be ignored, as will the presence/absence of block numbers
(i.e. the fact that there are block numbers in one file and not in the other will be ignored).
Ignore Comments
Anything inside a comment will be ignored. For this to work, you must have specified the
correct Comment start e.g. '(' and Comment end e.g. ')' characters for this machine template
under the Machine templates tab.
Ignore Case
If this option is checked, the letter case will be ignored, i.e. if one program contains lowercase
and the other UPPERCASE characters for the same command.
Print Options
Print only differences
Check this field to print only the lines with differences between two files.
The File Compare settings will only affect the selected file type.
102 Editor Setup
6.2.5 Machine
To configure machine specific characters and commands, select Machine from the File types menu
in the left hand list of the Editor Setup dialog, or click the Machine Templates icon in the File
Type menu within the Editor tab. The machine configuration dialog is shown below:
Spceial Characters
Comment start
Enter the comment start character here, for example (.
Comment end
Enter the comment end character here, for example).
Block skip
Enter the block skip character here. If you don't want a block skip character, just leave the
field empty.
Decimal point
Enter the decimal separator here (decimal point or comma).
103
You can specify another block skip character in the field Block Skip, if necessary.
NC Codes
Tool Change
Use this field to specify the tool change prefix.
Example: If the tool number is specified as T010101, specify T in this field.
Tool load
Use this field to specify the tool load command. If the tool load command is found on the
same line as the tool change command, the tool is loaded immediately.
Example: N1230 T020202 M6.
Set feedrate
Use this field to specify the feedrate prefix.
Example: If the feedrate is specified as F1000, specify F in this field.
Units
Toopath unit
Select the path unit from this drop-down list.
Feedrate unit
Select the feedrate unit from the drop-down list.
Decimals
Use this field to specify the number of decimals shown in the backplot etc.
The machine settings will only affect the selected file type.
105
6.2.6 Backplot
Use this dialog to configure general backplot settings.
To configure the Backplot settings, select Backplot from the File types menu in the left window of
the Editor Setup dialog, or click the Backplot Setup icon in the File menu within the Backplot
tab. The following dialog appears:
Only the backplot options for the selected file type are active. All other options are grayed out.
Backplot Setup
Control Type
Select the control type for the backplot from the list.
Tool Library
Use this button to set up the tool library for the selected control type. Information on how to
set up tools is found under Tool.
Diameter programming
Check this field to select diameter programming.
106 Editor Setup
Show cycles
Check this field to plot cycles.
Ignore M6
Check this field to ignore tool load commands (like M6).
You can specify the tool load command on the Machine setup page.
X100 = X0.100
When this option is selected, the program will assume that a value without a decimal
separator is 1/1000 of a regular move.
Arc type
Select the type of arc that is used from this drop-down list.
107
Orientation
Use this field to specify the orientation of the plot for turning operations.
The Advanced Tool scanning feature allows you to automatically scan tool dimensions from the NC
program file. With this function, the tool number, type, and dimensions will be automatically read
from the NC program.
When using Automatic Tool scanning, the tool scanner searches for lines in the NC file that
contain the tool line trigger. The default trigger keyword is TOOL, and if necessary the user can
change the tool line trigger.
The tool line is expected to be inside comments, and it uses the Comment end character from the
machine settings if available.
When the tool is scanned, the order of the dimension keywords is irrelevant. The user is able to
change the keywords.
Some words can significantly slow down the performance if they occur often in the NC file.
Tool type
Use this field to select the type of tool used for the operation. In the field below, you can edit
the name of the tool, and the changes will automatically appear in the Example field. All
characters are supported.
Example
This field shows an example of the selected tool with all its parameters.
110 Editor Setup
The fields "Tool Trigger", "Tool Type" and "Tool dimension Keyword" are only used to insert
synonyms for standard keywords in the configuration. It is recommended to use the default
keywords, as a change may cause problems.
All tool lines can be grouped at the start of the program. In ISO codes, the tool lines are expected
to be inside comments i.e. between parentheses. For Heidenhain programs, tool lines start with a
semicolon.
Tool lines start with the trigger word TOOL followed by the tool number, and the tool type in
inverted commas.
If a tool line contains an unknown tool type, End mill flat is used.
111
The tool type is then followed by dimension keywords and values. The default keywords are:
You can define tools in the NC programs with and without '=' between the dimension keyword and
value.
You can change between metric and imperial tools by adding UM for Metric (mm) and UI for
Imperial (inch).
ISO comments
Heidenhain comment
; TOOL12 "TAPER MILL" A=12.345 D=8 AD=21.13 CR=0 FL=20 SL=30 BL=50 UM
Imperial tool
(TOOL136 "END MILL FLAT" UI D=1/8 CR=0 FL=1 SL=2 BL=3 AD=1/8)
If a dimension keyword is missing, the value of that keyword is taken from the default tool.
To configure Multi Channel settings, select Multi Channel from the File types menu in the left
window of the Editor Setup dialog, or click the Setup Multi Channel icon in the Multi Channel
menu within the NC Functions tab. The Multi Channel configuration dialog is shown below.
The windows can be synchronized with the wait codes and editing can be done in all windows.
Wait codes that match are shown in yellow and missing wait codes are shown in purple.
Channel start
Use this field to specify the start of a channel information, when multiple channels are stored
in the same file.
Example: Specify O if each channel starts with an O number. You can specify multiple
strings separated by comma. For example, if the first channel starts with G13 and the second
channel starts with G14, then specify G13,G14 in this field. You can also specify the start of
channel information using an advanced trigger.
Channel end
Use this field to specify the end of a channel information, when multiple channels are stored
in the same file.
Example: Specify M30 if each channel ends with M30. You can also specify the end of
channel information using an advanced trigger.
Synchronization command
Use this field to specify the synchronization command.
Example: If synchronization points are indicated with !1, !2, ..., specify ! in this field. If you
specify the command using an advanced trigger, then you must place <> around the
synchronization information.
Example: To synchronize on M300-M399, specify M3 in this field. To synchronize on all
Pxxx, specify P in this field.
Synchronization number
Use this field to specify the synchronization number.
Example: If synchronization points have an ID number like WAIT(1001, channel 1, channel
2) where the ID number is 1001, that must also match in addition to the synchronization
command.
Channel order
Use this field to specify the channel order, for example 1,3,2.
Test field
Use this field to test the multi channel setup.
114 Editor Setup
To configure Tool list settings, select Tool List from the File types menu in the left window of the
Editor Setup dialog. The Tool List configuration dialog is shown below.
Tool trigger
Specify the tool trigger in this field.
Example: If the machine uses T01 for tool 01, specify T in this field.
When you check this field, each tool is only listed once.
Click the icon next to the folder icon if you wish to edit the specified tool list
template.
116 Editor Setup
6.2.10 Other
This section describes how to configure File type specific settings, i.e. the settings made here will
only be applied to the selected file type, ex. ISO Milling.
To configure Other settings, select Other from the File types menu in the left window of the Editor
Setup dialog, or click the Other Settings icon in the File Type menu within the Editor tab. The
following dialog appears:
General Settings
Print Columns
Use this field to specify the number of columns to be used when CNC programs of the
selected file type should be printed.
If you are using a proportional font (i.e. all letters are not the same width), the indicator
does not show the exact line length.
117
To configure Global Colors, click on Global Colors in the left window of the Setup dialog. The
following dialog appears:
To quickly modify a specific color, select it from the list and move the sliders to get the desired
color.
Select Color
Click this button to select a predefined color from the list or create a custom color.
Default
Click this button to apply the color by default to the selected element.
118 Editor Setup
To configure External Commands, click on External Commands in the left window of the Setup
dialog. The following dialog appears:
External Command 1 - 2
Command Title
Use this field to specify the menu text shown in the NC Functions menu.
Command program
Use this field to specify the application to execute. You can click the folder icon to browse
for the executable file.
Parameters
Use this field to specify the parameters to the command. The following variables are
available:
$FILE: Defines the file name without path.
$PATH: Specifies the path of the file.
119
Mazatrol Viewer is an optional module, and requires therefore a Mazatrol Viewer enabled license
key. Mazatrol Viewer is activated under Plugins.
120 Editor Setup
Mazatrol Viewer
Language
Select the language used for showing the Mazatrol data.
Font settings
This field shows an example of the selected font. Click on the font button to the right to
select another font.
121
6.6 Plugins
In this section, you will find general information about how to manage Plugins.
The Editor must be licensed according to the plugins you wish to run in the Editor.
When you select Plugins in the Editor Setup window, the following dialog appears:
Select Plugins
Disable Backplot
Check this field to disable the Backplot module.
Disable NC-Base
Check this field to disable the NC-Base Client.
If installed along with NC-Base Server, requires extended license for CIMCO Edit.
If installed along with NC-Base Server and DNC-Max Server, requires extended
license for CIMCO Edit.
Disable CNC-Calc
Check this field to disable the CNC-Calc module.
Configuration Password
Configuration password
Use this field to specify the configuration password.
If you forget the password, hold down Ctrl+Shift when you start the editor.
7. DNC Settings
If you wish to configure the settings for the communication between the PC and a selected machine,
you can do it in two ways:
You can select DNC Setup from the Transmission menu, select the desired machine, and
click the Setup button.
Or you can select the desired machine from the Transmission toolbar and click on the DNC
Setup icon next to Machine.
If you select DNC Setup from the Transmission menu, this window will appear:
Machines
If there are several machines connected to the computer, you can select which machine to
communicate with or configure.
125
Configuration
Protocol
Here you select the communication protocol for the selected machine. The Standard serial
protocol is default in CIMCO Edit v7. Optional protocols are available for CNC controls like
Heidenhain, Mazak, etc.
You cannot select a protocol which you have no license for. If tried, the computer will
automatically select the earlier used protocol.
Port information
Shows in shorthand the most important of the machine settings.
Example: COM1, 9600, 7E2 (Port: COM1, Baud rate: 9600, Data bits: 7, Parity: E (even),
Stop bits: 2).
Machine Type
Shows a list of different machines, which can be used as templates (e.g. Heidenhain, ISO
Milling, ISO Turning, etc.)
Setup
Click this button to enter the configuration dialog for the selected machine.
Rename
Click this button to rename a machine configuration.
Add New
Click this button to add a new configuration. The following window appears:
Enter the name and machine template for the new machine, and then click OK. Click Cancel
to cancel the operation.
Delete
Click this button to delete a configuration. You will be prompted if you really want to delete
the machine configuration.
OK
Click this button to execute the new settings and close the configuration dialog.
Baud rate
The transmission speed in bits per second. Select the desired Baud rate from the drop-down
list.
Stop bits
Select the number of stop bits appended after each character in the communication to separate
the data bits.
The number of stop bits required depends on the CNC control. Please refer to the
reference manual for more details.
Data bits
Select the number of bits in each character. By default, the 7-bit ASCII code is used for NC
data transmission.
Parity
The parity is an error checking method which indicates if a transmission was successful or
not, by adding a 'parity bit' (8th bit when using 7-bit ASCII code for data transmission) to
ensure the number of bits with the value '1' in a set of bits is even or odd.
The method can operate in different modes:
None: Is selected when no parity error checking is going to be used.
Even parity: An even number of 1's is used in each character.
Odd parity: An odd number of 1's is used in each character.
Hardware handshake uses the RTS/CTS control lines in the RS-232 communication
specifications.
You can select one of the following flow control methods from the dropdown list:
None: No flow control is performed.
Software: Software handshake is used for the flow control.
Hardware: Hardware handshake is used for the flow control.
Hardware and Software: Both Hardware and Software handshakes are used.
Enable DTR
Check this box to set DTR high.
Enable RTS
Check this box to set RTS high.
XOn character
Use this field to specify the XOn character. If the field is left blank, the standard XOn
character is used. If your machine needs a non-standard XOn character, you can specify it
here.
XOff character
Use this field to specify the XOff character. If the field is left blank, the standard XOff
character is used. If your machine needs a non-standard XOff character, you can specify it
here.
You can specify the XOn, XOff, and Insert on parity error characters by entering the ASCII
character, i.e. enter $ to get ASCII character 36, or you can enter the ASCII value like this \36.
129
Transmission setup.
Transmit Settings
CR/LF
In this field, you can select the carriage-return or line-feed character(s) from the drop-down
list, or you can enter them manually.
Start trigger
Use this field to specify the start trigger. The DNC will start transmitting data from the first
line in the file that contains the specified start trigger. If no start trigger is specified, the
transmission will start at the beginning of the file.
130 DNC Settings
End trigger
Use this field to specify the end trigger.
Remove characters
Use this field to specify characters that should be removed from the transmitted data.
When entering characters in one of the character entry fields, the characters can be entered in two
ways: You can enter the characters themselves, like $* to get ASCII character 36 followed by
ASCII 42, or you can enter the ASCII values of the characters like \36\42.
132 DNC Settings
Receive settings.
Receive Settings
CR/LF
Use this field to specify the line feed character(s).
If you select Auto, the DNC will try to auto-detect the CR/LF combination used. If the remote
machine does not use any of the standard combinations of ASCII 13 and ASCII 10, you must
enter the appropriate CR/LF combination manually.
The normal combination is ASCII 13 followed by ASCII 10. ASCII 13 and ASCII 10
have no character representation, so they must be entered as \13 and \10 respectively.
Remove characters
Selected characters will automatically be removed from the received stream. You can select
None, ASCII 0 or All below ASCII 32 from the drop-down list if one of those is appropriate.
Start trigger
Start triggers are characters indicating that CIMCO Edit v7 should start saving incoming data.
If no start trigger is used and the field therefore is left empty, CIMCO Edit will start saving at
the beginning of the file.
End trigger
End triggers are characters indicating that CIMCO Edit v7 should stop saving incoming data.
If no end trigger is used and the field therefore is left empty, CIMCO Edit v7 will continue to
save until the end of the file, where a timeout occurs.
When entering characters in one of the character entry fields, the characters can be entered in two
ways: You can enter the characters themselves, like $* to get ASCII character 36 followed by
ASCII 42, or you can enter the ASCII values of the characters like \36\42.
134 DNC Settings
Default Send
Default send directory
Specify the default send path in this field, or click on the folder icon to the right to select a
directory.
Default extension
Use this field to specify the default extension of files to be sent.
Additional extensions
Use this field to specify additional extensions for files to be sent.
135
Default Receive
Default receive directory
Specify the default receive directory, or click on the folder icon to the right to select a
directory.
Default extension
Use this field to specify the default extension for received files.
Additional extensions
Use this field to specify additional extensions for received files.
Version info.
136 Using Editor Help
A standard Windows Help file is available through the drop-down Help menu by clicking Editor
help.
Help menu.
To get help for a particular dialog item, click the ? at the top of a dialog box, as shown below.
This will change the cursor to an arrow and a question mark indicating that you are in Help Mode.
The new pointer is shown below.
Now click on the item that you want further information about. If help is available for the selected
item, a small window will pop up displaying the help text. If no help is available the general help
file is launched. An example of a pop-up help is shown below.
137
You can also display the pop-up help for a dialog item by clicking in the field and then clicking F1.
Help buttons.
If you wish to print more than a few sections, you should open the PDF version of the on-line
documentation. The PDF document produces a much nicer printout.
You can download the PDF version of the user guide from the CIMCO website.