Editasc Help
Content
1 Introduction
1.1 1.2 1.3 1.4 1.5 1.6 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.1 3.2 3.3 3.4 3.5 3.6 3.7 4.1 4.2 4.3 4.4 5.1 5.2 5.3 5.4 5.5 5.6 5.7 6.1 6.2 6.3 6.4 Overview ................................................................................................................................... New Features ................................................................................................................................... Special Properties ................................................................................................................................... Coordinates ................................................................................................................................... Installation ................................................................................................................................... Requirements ................................................................................................................................... The Main Window ................................................................................................................................... The Toolbar ................................................................................................................................... The Graphic Window ................................................................................................................................... Input / Output ................................................................................................................................... The Coordinate Window ................................................................................................................................... The Status ................................................................................................................................... Display The Error Window ................................................................................................................................... The "Suspended" Window ................................................................................................................................... The MTASC Language ................................................................................................................................... Menu "File"................................................................................................................................... Menu "View" ................................................................................................................................... Menu "Machine" ................................................................................................................................... Menu "Options" ................................................................................................................................... Menu "Windows" ................................................................................................................................... Menu "Extras" ................................................................................................................................... Menu "?" ................................................................................................................................... Calling the ................................................................................................................................... integrated Editor Commands................................................................................................................................... of the Editor Batch Processing ................................................................................................................................... Interpreter Language for the Editor ................................................................................................................................... Line ................................................................................................................................... Arc XY ................................................................................................................................... Circle & Rectangle ................................................................................................................................... Text XY ................................................................................................................................... Arc 3D & Splines ................................................................................................................................... Helix ................................................................................................................................... Parameters................................................................................................................................... The Project................................................................................................................................... Window The Project................................................................................................................................... Line Generate Drilling Data ................................................................................................................................... The Mirror Axis ................................................................................................................................... ................................................................................................................................... ................................................................................................................................... 4 5 6 6 7 7 8 8 10 11 12 12 13 13 14 15 16 17 31 32 33 33 34 34 35 35 37 37 37 38 38 38 39 40 41 43 43 45 46 47 48 48 50
3 Main Menu
4 Integrated Editor
5 Programming Tool
6 Mtasc Projects
7 Proboard
7.1 Outline 7.2 Rubout
9 Special Features
9.1 Partial Milling ...................................................................................................................................
2009 TRIMETA software
Content 9.2 Z-Level Compensation ................................................................................................................................... 9.3 Set Origin ................................................................................................................................... 9.4 Trace ...................................................................................................................................
3 51 51 53 55 57 65 67 79 79 79 79 79 80 80 80 80 80 81 81 81 81 81 82 82 82 83 83 83 83 84 84 84 84 85 85 85 86
10 Tutorials
10.1 10.2 10.3 10.4 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.10 11.11 11.12 11.13 11.14 11.15 11.16 11.17 11.18 11.19 11.20 11.21 11.22 11.23 11.24 11.25 11.26 11.27 11.28 11.29 First Steps ................................................................................................................................... CNC Programming ................................................................................................................................... Z-Level Compensation ................................................................................................................................... Prototyping................................................................................................................................... with ProBoard
11 Glossary
Activating Tools ................................................................................................................................... Border Range ................................................................................................................................... Central Range ................................................................................................................................... Cutter Radius Compensation ................................................................................................................................... Dxf-Macro ................................................................................................................................... Feed Rate and Ramping ................................................................................................................................... Infeed ................................................................................................................................... Intermediate Range ................................................................................................................................... Level Milling ................................................................................................................................... Machine-Coordinates ................................................................................................................................... Milling Depth ................................................................................................................................... Object-Coordinates ................................................................................................................................... Outline ................................................................................................................................... Reference Switches ................................................................................................................................... Referencing ................................................................................................................................... Rubout ................................................................................................................................... Spiral Drilling ................................................................................................................................... Tool Change ................................................................................................................................... Tool Color ................................................................................................................................... Tool Emulation ................................................................................................................................... Tool-ID ................................................................................................................................... Tool Macros ................................................................................................................................... Tool Mode ................................................................................................................................... Tool Number ................................................................................................................................... Tool Offset................................................................................................................................... Tool Parameters ................................................................................................................................... Trailing Error ................................................................................................................................... Zlevel Compensation ................................................................................................................................... Zoom Factor ................................................................................................................................... ........................................................................................................................................... Index
Editasc Help
1 Introduction
1.1 Overview
EdiTasc is a universal tool which is used to handle and develop systems for numerical controlled motion, CAD/CAM interface and general automation. Important features are: Look ahead for speed interpolation with all axes. Positioning with independent axis movement. MTASC-Interpreter, MTASC is a high level script language, similar to BASIC. HPGL-Interpreter (optional). DIN 66025 /ISO-Interpreter (Optional). ISEL-Format interpreter (optional), the NC language for IselAutomation, is enhanced by the option to use MTASC functions. The ISEL-Format is not the subject of this manual. The look ahead facility provides continuous milling without unnecessary stops or ramps. Automatic compensation of the milling tool radius (optional) for all formats. Texteditor with NC-interface. PLC-Functions can be integrated. The VisualBasic source code of the user interface can be purchased. Trace features are integrated. Software tool for optimization of machine parameters. Radius dependent speed with circular axes. Backlash compensation. Dynamic z-level compensation. Programming help tool including splines. Extended Override feature including back stepping. Tool management. Origin management. EdiTasc is an open CNC system, thus it is not limited to the hardware of a special controller. The interface dealing with the hardware is located on a device driver. The interface of the device driver can be used with other software. Optional types of controllers (visit TRIMETA's web site for a complete list): Servo-Motor controllers with analogous interface: ISEL, MOVTEC and ServoToGo are supported. Servo-Motor controllers with CanOpen interface. Stepping-Motor-Controller for MPK3 or MPK1-boards from ISEL (PC-boards with integrated amplifiers), allowing for very smooth micro-stepping.
2009 TRIMETA software
Introduction
Stepping Motor Controller with clock/direction-output. There are software solutions available using the printer port (up to 20KHz) as well as special PC boards. All stepping motor controllers are also available with closed loop control which reads the real position via encoder. The Programming Language MTASC: Free use of individually named variables of any length Many mathematical functions Evaluation of expressions in parentheses for any depth of nesting Calling of subprograms Evaluation of string variables User defined data structures The MTASC language is described in a separate manual. The MTASC-interpreter is also available directly from the text editor. You can execute any line or text module from the editor. The most common controller types: Abbrev. CC PP P4Cx LS CANx USB1 Description for digital step/direction signals in Real-Time, e.g. via LPT-Port for PC card (ISA) MPK3 from IselAutomation for PCI Servo-, Stepper- und IO-card from TRIMETA for Controller LS-773 / 785 von LOGOSOL for CanOpen PCI card PCI/200 oder PCI104/200 card from ESD. Suitable for all controllers with digital CanOpen interface according to CiA Draft Standard 402 Communication via USB 2.0. The interface is compatible to LPT printer port.
Editasc Help
Toolbar configuration Joystick support Lathe support Tool emulation Offset definition with camera Enhanced DXF converter (2.0)
Version 9.1: ProBoard feature for prototyping with Extended Gerber and Excellon/Sieb & Mayer filters Recognition of hardware switches Configuration of tool change properties User defined tool shapes
1.4 Coordinates
There are two general sets of coordinates for the machine. One, the machine-coordinate system, refers to the origin of the machine. This origin is unique and set at the reference point of the machine, which is defined by the position of the switches. The second coordinate system are the object coordinates. The origin of the object coordinates defines the position of a new set of axes relative to the origin of the machine coordinates. The origin of the object coordinates can be set to wherever position you want (e.g. with ) and
Introduction
there can be multiple origins, one of them being the current origin. The object coordinates (of the current origin) are shown in the coordinate window. The machine coordinates can be displayed in the same window alternatively. You can switch between object and machine coordinates by pressing SHIFT+F2 or SHIFT+F3 or by choosing the menu Windows / Coordinate Display.
1.5 Installation
Insert the boards - if there are any - into the appropriate slot of your PC. Start Setup.exe and follow the instructions. Entering the serial number and code is usually not necessary, except in the case of additional features being added after installation. The device driver will be entered in the WINDOWS registry and is loaded when the PC is restarted. Also see our tutorials on how to configure the driving directions, the range limits and the referencing. Deinstallation If the deinstallation program fails, you can avoid loading the driver upon every restart of windows by using Regedit to remove the Mtdrv entry from the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Mtdrv. You should also delete the driver itself in the directory Windows/system32/drivers (windows 2000). In order to install the driver again call RegDrv.bat from the directory "Driver" of the EdiTasc folder.
1.6 Requirements
CPU: minimum Pentium 500 MHz RAM: 128 MB Operating system: Windows 2000 SP4, XP SP2, Vista
For Gerber- and Excellon-Converter the runtime libraries of .NET Framework version 2.0.50727 is needed. Download from http://www.microsoft.com/downloads/details.aspx? displaylang=en&FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5
Editasc Help
Starts ET-Trace which allows the observation of the currently executed commands.
Execution: Button Shortcut F4 F5 Shift-F9 Action Graphic: Displays the paths of the currently opened program. Start: Starts the currently selected program and sets the output-ports. This corresponds to the command Execute file with settings. Pause: Stops the running program at the end of the current vector command. If there is no program running it has no effect. Repeated pressing will step through the vector commands, which is useful for testing purposes. Immediate Pause: Stops the running program and enters the stopped state (STOP-symbol with text "Stopped"). The "suspended" window will open. Stop: Stops all motions at once.
F9
Stop
Auxiliary move: Starts the referencing of the axes. Sets the object origin. Moves to the object origin. Sets the parking position. Moves to the parking position.
Graphic display: Enlarges the current graphic to fit the graphic window. This zoom button enlarges the displayed graphic. This only affects the view parameters, not the execution. Restores the previous view. Note: The Zoom functions only have influence on the graphic display, not on the machine movement. Additional Buttons: Switches the jog-wheel on or off. This button opens a dialog to modify the position, size and orientation of a program to be executed. see: command Displace/Scale/Rotate of the Machine menu.
2009 TRIMETA software
10
Editasc Help
Activates the Z-Level correction. The Button appears grey if this software option has not been purchased. Calls the macro "CustomMacro", which may be defined in the file EtInit_XX.ts. The button is only available if the EdiTasc folder contains the file Custom.bmp (30x30 pixel) which is displayed on the top of the button.
11
12
Editasc Help
The EdiTasc status (1) may look as follows: After EdiTasc is started READY is displayed on the left margin. During the execution of a loaded program AUTOMATIC is displayed. The machine has been stopped. All axes stay in place until you select " Continue Program" (F5) or "Program Abort" (F9). If one of the axes exceeds its allowed range or does not follow the desired position, the ERROR status is raised.
13
In case of error an additional window opens in the upper left corner which tells you the reason. See Error Status. As the program is being read - during execution and graphic display - a counter for the number of vector commands executed will be updated regularly. It's value appears in the lower left corner (2) along with the current level of the command buffer (sum of the driver's real time buffer and the application's look ahead buffer). Its is maximum is 149 (driver: 51 + look ahead: 98). The vector-commands will be stored there before final execution. If the appropriate option is included in your version the remaining time is shown at the bottom of the status display (3). Press F4 after loading a file to make the display valid. The speed can be modified by an override factor - even during machine movement. The factor is adjusted by using the scrollbar or by pressing the F7 / F8 keys (4). In the upper right corner of the status window you find the current origin and tool being used (5). Click "new" to change the settings. In the print pane (6) text can be displayed from MTASC programs by using the print command.
Errors during the execution of programs (e.g. syntax errors) will be displayed in a message box, mentioning the file name and line number of the program containing the error.
14
Editasc Help
If a Trailing error occurs you can fix it with F9 / F9 ("Abort program"). The desired position shown in the Coordinates window will be adjusted to the real position, and the error state disappears. It is possible to continue an aborted program with the Partial Milling feature.
Main Menu
15
3 Main Menu
The main menu controls the actions of EdiTasc. It contains the following entries:
Graphic (simulation) F4
Execute with settings F5 Execute, no settings F6 Partial milling Open current file for editing Open other file for editing New text window Go to position / teach F3
*) You can select the interpreter language among the supported formats by selecting the appropriate filter: MTASC (.t, .ts) DIN66025 (.nc) HPGL (.plt) Isel Intermediate Format (.ncp)
2009 TRIMETA software
16
Editasc Help
EdiTasc-Project (.epj) You may change the default filter by selecting the "Miscellaneous" tab from the Settings entry of the Options menu. **) The processing language will be chosen automatically according to the loaded file.
Main Menu
17
However, the distance and speed values are only available from here. If the axes move in the opposite direction than what the button indicates, you will have to change the direction of movement in the driver configuration menu. By activating the Pin-button
2009 TRIMETA software
).
18
Editasc Help
More options for the continuous jog support are accessible if you click the
-Button:
The left column shows the current position of the machine in machine coordinates The next column shows the Offset of the current tool with the current position of the machine as its origin. You may change the current tool in the tools pull down menu to make the offsets on that tool visible. The rightmost column shows the position of the first column, plus the second column, with that value converted into the current object coordinates. In simpler language it shows the current position of the current tool in object coordinates. You may change the current Origin in the origins pull down menu to see the coordinates referring to another origin. In both cases the remaining columns are updated automatically. The two pull down menus do not effect the actual state of the machine. They only effect the data displayed. On closing the Jog-Support-Window the old values will be restored. If you want to change these settings to effect the machine, you must call the Origins- or Tools-management.
3.3.2 MoveTo
With this menu entry the machine can be moved to one of the following predefined positions: Machine origin, parking position, tool switch, tool change position. A context menu opens from which the desired location can be chosen.
Main Menu
19
3.3.5 Positions
This menu allows you to define fixed positions and manage them. Each fixed point is a location defined by machine coordinates. The first four entries have a well defined purpose which cannot be changed:
The Machine Origin cannot be modified. This origin is defined through referencing the axes and serves as the reference for all other fixed positions. The Service Point is intended to be used along with manual tool change. It is used by the tool macros and the GetTool.ts file. The Parking position is a position where the machine can be positioned to make room for the exchange of working pieces. The Parking position can be set by driving the axes to the desired position and clicking the SET-P button in the toolbar. Tool change position. With automatic tool change the machine will move to this point for reactivating limit watching which is disabled during tool change. Fixed points can be used temporarily or saved as default. This means they are also available after a restart. Using the fixed points makes no sense unless the axes are referenced.
2009 TRIMETA software
20
Editasc Help
3.3.6 Origins
This menu allows you to define origins and manage them. Each Origin represents a translation of the object coordinates in relation to the machine coordinates. The first two entries have a well defined purpose which cannot be changed:
The Machine Origin cannot be modified. This origin is defined through referencing the axes and serves as the reference for all other origins. The Temporary Origin can be set by right-clicking the mouse in EdiTasc's graphics window. Then choose "Set XY Position as Origin". The Object Origin-symbol appears next to the currently used origin. A different origin can be selected by double-clicking on the appropriate line number or by using the status display. Origins can be used temporarily or saved as default. This means they are also available after a restart. Using the origins makes no sense unless the axes are referenced. Double-clicking a row opens a window for editing the origin.
Main Menu
21
The right column shows origin of the object-coordinate system given in machine-coordinates. If these values are set to zero using the =0 button, then the origin of the object-coordinate system is set to the origin of the machine coordinates. The machine and object-coordinates will not match if a tool offset applies. the objectcoordinates will measure the distance to the tool, and the machine-coordinates will measure the distance to the machine origin.
To make the coordinate values match the current position, press the "=Mc" button. EdiTasc achieves this by setting the origin of the object coordinate system to the tool offset. Therefore the distance between the origin of the object-coordinate system and the origin of the machinecoordinate system will be equal to the tool offset. You may enter coordinates in either column - the coordinates of the corresponding fields are adjusted appropriately. Extended transformation This entry is only shown for origins, when EdiTasc is prepared for 5-axis-transformation (RTCP). If you select a positive number, then the appropriate transformation chain is activated for this origin. Origin for lathe: This entry is only shown for origins. The activated checkbox makes the appropriate origin valid for working in lathe mode.
22
Editasc Help
The tool change is controlled through the status display of the graphic/status window. Clicking "Use temporarily" saves the changes for this session. Clicking "Save" makes the changes permanent. This means they are also available after a restart. Clicking "Exit" will result in a dialog box asking you to save the changes if any. The ''Tool-File'' menu allows to save and open entire sets of tools, which is especially useful when a tool-changer is used.
Main Menu
23
Tool shape: For the moment this entry is "Standard" an cannot be changed. However, it is possible to use custom tool shapes according to the following rules: 1) If the EdiTasc folder contains the file "ToolShape.ini", then this file is loaded as a tool shape. 2) If this file is missing, EdiTasc generates its own tool shape. 2a) If the view is 3D, then the generated shape looks like a pencil. 2b) If the view is parallel to one of the axex (2D), then the shape is (now) chosen according to the tool ID: 2a1) If the EdiTasc folder contains the file "ToolShapeXX.ini" (XX is the tool ID), then this file is loaded as a tool shape. 2a2) If this file does not exist, then the shape consists of a a circle with a fixed diameter (7 pixels) and a variable circle which shows the diameter of the current tool (see screenshot above).
24
Editasc Help
Main Menu
25
See "Use different speed from submerge level" in the machine parameters. In MTASC you can use this feature as well by using the vector command MLD (instead of ML).
26
Editasc Help
Main Menu
27
Level milling: Activate the check box for milling infeed to invoke level milling. Enter a positive infeed value. The first level is at "submerge from" minus "infeed", the last at "submerge to". Note that the HPGL values for tool down are not in effect when level milling is chosen!
Peck drilling/spiral drilling: Peck drilling is in the moment only available for drilling data converted from Excellon or Sieb&Mayer formats. Peck drilling and spiral drilling is activated by checking the "Infeed" box for drilling. Enter a positive infeed value. The first level is at "submerge from" minus "infeed", the last at "submerge to". It is not possible to use spiral drilling together with "Level Milling" because spiral drilling applies to each individual drill hole whereas level milling applies to the whole file. Note that the HPGL values for tool down are not in effect when peck drilling is chosen! With DIN/ISO files peck drilling is available through drill cycle definition (G8n codes). Default tool: This tool will be chosen if the milling data does not load its own tool. "Auto" takes the tool from the currently active project (if any) or from EdiTasc according to the context. HPGL settings: The HPGL settings dialog allows to assign EdiTasc tools to HPGL pens. The same tool can be assigned to different pens. Each pen can be associated with an individual submerge level which is applied to the selected tool when milling takes place. The graphic is drawn with the color of the selected tool. Standard HPGL units can be selected form the right pane. If User-defined is chosen, an input field shows up to allow input of any other scaling factor. Cutter radius compensation: If your EdiTasc supports cutter radius compensation, then it is possible to apply cutter radius compensation to HPGL files. The settings are also used when an MTASC program opens the CRC mode with a CrcOpen command. Alternatively the settings can be chosen (inherited) from the active project or they can be taken from the properties of the selected tool. The radius to be compensated is the radius of the selected tool. If tool emulation is active, then the radius from the emulated tool is in effect. This allows milling of parallel contours with the same tool.
2009 TRIMETA software
28
Editasc Help
The transformation button from the tool bar shows the transformation status: No transformation is defined.
Main Menu
29
will have to define the camera offset whenever its relative position to the spindle has changed. The camera offset is saved among the configuration data of EdiTasc and is available from there.
Define the camera offset The "with camera offset" checkbox is only available if a suitable camera software is installed. Definition of the camera offset takes the following steps: 1) Select the left (upper) coordinate box by clicking into the rounded rectangle. The border will be shown as bold. 2) Move the machine to the coordinate origin or set the coordinate origin to the current location. 3) Drill a hole into a piece of ... on the working surface. 4) Now select the right (upper) coordinate box. The red border must change to bold. 5) Check the "with camera offset" checkbox. 6) Move the camera to the position of the drilling hole and make sure that the camera has the desired Z value. 7) Press the "Ctlr"+"Shift" keys and click the command button "Get coordinates form machine position". You will be prompted by a window which displays the location where the result is saved along with the Z value of the camera.
30
Editasc Help
Select a location from the graphic pane 1) Select one of the left coordinate boxes by clicking into the rounded rectangle. The order will be shown as bold. 2) Enter the coordinates of the first drilling hole or... 3) activate the command button "Get coordinates from graphic pane". The mouse pointer will show as cross hair then. Select the first location form the graphic pane by 4a) either clicking the desired location or alternatively by 4b) dragging a rectangle with the mouse which intersects the border of the location. If the location is a drilling hole shown as a single point, you may select "front view" from the "View" menu to let the rectangle intersect with the axis of the drilling hole. You may change the view at any time to make the location clearly visible and use the zoom features accordingly. It may be necessary to activate the command button "Get coordinates from graphic pane" again. 5) For verification of the selected point you may click the "Show point" command which draws a crosshair at the selected location. The size of the cross-hair ca be changed if necessary. The result will be shown in the corresponding fields.
Select a location from the working area by machine position 1) Select one of the right coordinate boxes. The red border must follow. 2) Check the "with camera offset" box if applicable. 3) Move the machine exactly to the corresponding location. 4) Click "Get coordinates from machine position". The result will be shown in the corresponding fields.
For verification move the machine to the selected location (with or without the camera) by clicking the "Got to point" command. If you close the window by using one of the save buttons, the transformation will be activated. The activation will be shown by a blue background of the corresponding command of the toolbar . When you click on this command, the "Transformation / Repeat" dialog opens to allow you to deactivate the transformation.
Note: Before the first referencing the machine must have been prepared for work.
Main Menu
31
Test mode On/ Toggles EdiTasc between test mode and real mode. The test mode allows the Off real-time simulation of all of the controller's functions without moving the axes. On return to real mode the coordinates are updated to reflect the current real positions of the axes. Arrows on/off Shows / hides arrows of the milling paths. Driver Configuration Language Settings Allows changing some important driver settings *) Allows to select a language "on the fly". Not all texts will be updated immediately. For the rest a restart of EdiTasc is necessary. Allows changing most of the EdiTasc properties including tool change behavior.
*) This window allows the configuration of important axis related settings. When you click an input field a help text is shown in the lower part of the window. More driver parameters including input and output definitions can be set with the configuration utility MtConfig.
32
Editasc Help
After changing the contents of one or more fields you may save the values by clicking "Save". A message box will open and ask you for updating the driver. On clicking "yes" the driver will be updated without restart. Attention: Errors in the settings can cause damage to the machine!
The commands of the Windows menu make the EdiTasc windows accessible (by bringing covered ones to the foreground). The submenu "Coordinate Display" sets the display mode of the coordinates. The command "Arrange Windows" arranges the input/output window and the coordinates display within the main window. The command "Save positions" saves the position and size of each open window as a standard setting. The command "Save on shutdown" saves the window positions when the program is shut down. The last three entries allow to move the focus to a given window. Normally "Object coordinates" is chosen. "Machine coordinates" show the position relative to the reference point. "Speed" and "Increments" are meant for service and testing only.In Systems with closed loop control you can test if the counters are OK by using "Increments (Actual)" or Shift+F6 and moving the axes manually.
Main Menu
33
34
Editasc Help
4 Integrated Editor
4.1 Calling the integrated Editor
The command File -> Edit in the main-menu opens a text-window showing the source of the currently opened program. You can open as many text windows as you like. As soon as a text-window is active, you can execute commands with Ctrl+Enter. Use the command File New or Open in the editor-menu or the toolbar to open as many text-files as you like.
There is no essential difference between using this editor and the WINDOWS-Editor Notepad. Unlike Notepad it is suitable for (almost) unlimited large files.
The integrated Editor serves as a suitable platform for reading and editing of files interaktive generating of NC-Programs experiments with the selected programming language temporary computations in notepad files Only one editor window can be switched to Batch Mode at a time.
or just
Integrated Editor
35
36
Editasc Help
5 Programming Tool
This command supports writing MTASC programs and immediate moving to positions. If tabs appear in grey, then they are not included with your version of EdiTasc but can be purchased separately. "Update with current position" (1) copies the current position of the axes into the data field. In doing so a field is affected only if its check box (2) is selected. In the other fields you may enter constant values or variable names (e.g. zdn in Z). With "Goto Position" (3) the machine moves to the given position. "Execute Command" (4) causes immediate execution of the selected vector command.
"Command --> Text)" (5) writes a corresponding command into the uppermost opened text window. If there is no window open, an empty one will be automatically opened. "TEACH (get position + command -> Text)" (6) (or shortcut Ctrl+T) has the same effect as "command -> Text)", but copies the actual position into the data field beforehand. The shortcut Ctrl+T works even if other windows are in the foreground. This is an efficient way to teach in a sequence of points (as lines, arcs, splines etc.) and save them subsequently. If you want to change or delete a command later, you can do so in the editor, where you also have the possibility to rearrange commands by using the clipboard. If you want to add a command, then 1. place the cursor at the beginning of the line, which shall follow the command you want to add. 2. Go back to the programming window. 3. Click on "Command --> Text" (5) or (6) as soon as the data are correct. After programming it is very important to save the corresponding text. Use FILE Save as to save it as a new file.
Programming Tool
37
Hint for Continuous Jog Support with Teach In: Continuous jog support by AltGr+Cursorkeys is easier to use than the special "Continuous Jog Support" window in the MACHINE menu. You can move a defined small distance with a single keystroke. by hitting the key twice you drive a defined larger distance. Holding down the key makes the axis accelerate gradually. After reaching the positions get the command and its coordinate values with Ctrl+ T.
5.1 Line
For "Line", the end of the previous command is the beginning point. The position entered in the Datafield is the ending point. See Introduction for a description of the common parameters and buttons.
5.2 Arc XY
For "Arc XY" the position entered in the Datafield is the ending point. The arc starts at the current position and ends at X, Y in the data field. There are, in general, four possible arcs to the destination point in the data field: 1. Short arc to the left 2. Short arc to the right 3. Long arc to the left 4. Long arc to the right. The Z coordinate, at which the arc is carried out, is the one at the current position. See Introduction for a description of the other command buttons.
38
Editasc Help
5.4 Text XY
Creates a text line with X, Y of the data field as its lower left corner. This command generates lines of simple text. Unlike the true type fonts (e.g. in Corel Draw) which always create outlines, this is a single line font. The approach commands use Z = Zup. The machine plane is Z = Zdn. See Introduction for a description of the command buttons.
5.6 Helix
To define a "Helix" enter the coordinates of the center into the data field on the right. Enter the start and end angles into the first two data fields. The difference between these two data fields is the total number of degrees around the helix. (For example, if the two values are 0 and 720, the tool will make 2 rotations in the allotted height.) In the second two fields enter the start and end radius in mm. The first radius field contains the distance of the tool from the axis of the helix at the beginning, and the second one contains the distance of the tool from the axis at the end. The machine will make a linear increase or decrease of the radius. If the values are the same, the result will be a cylindrical helix. In the third field, enter the height that the machine should move per rotation, meaning every 360 degrees. As an example, if you want a helix with a height of 30 cm that goes around twice, and the radius increases from 5 to 10 centimeters, the settings would be:
2009 TRIMETA software
Programming Tool
39
Start angle: 0 End angle: 720 Start radius: 50 End radius: 100 Pitch: 150 The fields ''Rotate about'' one and two are for rotating the entire helix around the coordinate axis specified in the first text box. The second text box describes how many degrees to rotate. See Introduction for a description of the other command buttons.
5.7 Parameters
These values represent the data in Machine Speed/Ramps. If a program is run with individual parameters instead of the global parameters, you can write them into your program before the commands they refer to. See Introduction for a description of the command buttons.
40
Editasc Help
6 Mtasc Projects
In EdiTasc-versions beginning from 8.6 projects can be defined. Within projects different files can be collected and supplied with individual machining parameters. It is also possible to machine parts of a file. Project management is activated by Selecting a project (suffix .epj) from the "File" menu of EdiTasc Selecting "Load Project" or "New project" from the "File" menu of EdiTasc Selecting a project from the most recently used file list In each case the project window opens the selected project or - if it does not exist - an empty project "PrjEmpty". The "empty" project contains only one file and must be renamed (by selecting Save File as...) before changes can be saved. The configuration data of each individual project are located in the project file (suffix .epj). Parameters which apply to all projects are located in the file "Project.ini" in the "Project" folder.
Insert lines: Click "insert" form the "Line" menu. A new line is inserted after the current line. If the first line is the current line, then the blue arrow in front of the tool column shows a red star. By clicking this arrow a new line is inserted before the first line If the last line is the current line, then the blue arrow in front of the tool column shows a red star. By clicking this arrow a new line is inserted after the last line. Move lines: By clicking the blue arrows in front of the tool column the current line is moved up/down according to the arrow. Delete lines: The current line is deleted by clicking "delete" from the "Line" menu. If the project contains only
2009 TRIMETA software
Mtasc Projects
41
one line, this line cannot be deleted. Change contents of a line: Change the contents of the line by clicking the appropriate part of the line parameters.
Other options from the project window: Menu "Project": Create new project, Load existing project, Save project, Save project as... Menu "Line": Insert line, Delete line Menu "Options": - Machine Parameters: Parameters for Milling Depth, Milling Levels and Drilling Levels. These are the same parameters which can be entered for each project line. From this menu the parameters can be set for the entire project. - Save Origin: Save the current origin and restore it when loading the project again - Define Offset: Superpose files with different coordinate origins - Edit Tools: Changing the tool file and its contents.
Select: Only Lines with a check mark are shown (F4) or machined (F5). Use this check box for testing parts of a project. Description: This field may contain a descriptive text for the specific line. With a double-click a menu with standard texts opens, from which a line can be selected. The standard texts can be changed by editing the "Project.ini" file of the "Project" folder, thus supplying all new projects with the same texts. Mirroring/Shift Theses settings are commonly used for the machining of (single sided or double sided) circuit boards. They allow separate mirroring and shifting for graphic and machining. The mirror axis can be defined with the "mirror axis" entry of the machine menu. This axis is a property of the machine and does not depend on project settings. Set the parameter by clicking the picture. A context menu allows to select one of four settings which are graphically represented as follows:
42
Editasc Help
Grapic
Action No change. No mirroring and no shift takes place. Shift only. The shift takes place as if the coordinates were mirrored at X=0 first and then at the mirror axis. Mirroring at Y axis (x=0). Mirroring at the mirror axis.
Note: Normally in circuit board projects the graphic of all layers (solder layers and component layers) are mirrored at y=0 by the output. Therefore for machining the component layers must be mirrored at Y=0 whereas the solder layers must be shifted as defined above. File/Type This field shows the loaded file. A new file can be loaded by double-clicking the current name. If the loaded file has an Excellon format, a conversion to EdiTasc format takes place automatically. The file extension for Excellon files is predefined as ".exc". To change the predefined value, open the "Project.ini" file in the "Project" folder with a plain text editor and change the entry "ExcFilter" in section [Common] accordingly. Automatic conversion takes place for files in Extended Gerber format too, provided they have the file extension ".grb" which may be changed in the same way. If a new line is inserted, the file name is "Load file". The line contents can not change unless a valid file has been loaded. If a file does not exist when the project is loaded, the file name is stricken through and the contents of that line cannot change too. Tool Select: By clicking this button a list of tools opens along with a check box for each tool. A tool can be selected/deselected by clicking its check box. If not all tools are selected, the button is highlighted with red color and shows the text "Select". Settings: This button enters the editing of project settings such as milling depth, Z-shift, level milling, level drilling and tool number for each line separately. The settings override the project settings (and are overwritten by instructions from within the code). By clicking with the right mouse button a context menu allows to set the parameters to the project values or to the values of the first project line. When project values are chosen, then the button shows a "Project" caption. The Settings for the entire project can be changed with the "Options/Machine parameters" entry from the project menu. Offset: This control shows whether the offset defined from the "Offset" menu applies. The offset is used to match external drilling data with given milling data. Each project file may be shifted by an individual offset.
Mtasc Projects
43
44
Editasc Help
Any line of a project may be mirrored at an axis with Y-direction. The mirror axis may be realized mechanically with any suitable mirroring device which is precisely measurable. For example, the mirroring axis can be realized by 2 Y-parallel pins for drill holes in the board or by a stop for a clamping device. This makes the machining of two-layer boards a lot easier. The x-coordinates of the mirror axis can be entered in the Settings dialog from the options menu on the "miscellaneous" tab. There you can also show or hide the graphic display of the mirror axis. Note: Before the mirror axis can be used, the axes must have been referenced. If you get the X-coordinate of the mirror axis by manual jogging, make sure that the coordinate window shows machine coordinates (press shift+F3 if not). Mirroring and shifting are defined independently for graphic and machining. The settings are usually as described below (provided that no mirroring feature is used by the CAD): Graphic: CAD systems for circuit boards normally show circuit boards from the component side. As machining in most cases takes place from the solder side, EdiTasc selects "mirrored" by default. All the graphics in one project should match with this setting. Machining of the solder layer (with mirroring): When machining, the solder layer is the more important one. This is especially the case with single-sided boards. Therefore the solder layer is machined in "mirrored" position. Mirroring does not take place at the mirror axis, but rather at the y axis. With single-sided boards you still have to mirror, but the position of the mirror axis is not relevant. Machining of the component layer (shift only, no mirroring): Machining of the component side is therefore not mirrored, but shifted in such a way that the result appears mirrored at the mirror axis.
Proboard
45
7 Proboard
The ProBoard option supports the creation of outlines and rubouts in circuit board projects especially with Extended Gerber format. The feature however applies to all files which contain only closed contours. This options generates Outlines by merging overlapping areas. The result is a set of closed lines which are the borders of the merged areas. An outline may be generated with or without cutter radius compensation thus giving the choice to compensate the cutter radius in advance or when the milling takes place. Rubouts by milling lines within one or more selected rectangles only for areas which are not covered by areas enclosed in an outline thus erasing the copper from these regions. ProBoard can only be called from within a project , so a project file (with suffix .epj) must be created first. In this project the layout file is loaded along with other data (such as drilling files). If you select "ProBoard" from the "line" menu or from the context menu of a line, then the ProBoard-window opens to let you generate the milling files.
7.1 Outline
When the ProBoard Window opens only the left part of the window is shown. In the upper part the work is prepared by: Show: The original file can be displayed in the graphic window. Resolution: The internal structures are generated with this resolution. You can select values from 0.01 mm to 1.0 mm. Small values may slow down the conversion significantly. "with numbers" shows an object count of the original contour thus making it easy to find critical points in the original file. The setting applies only to files converted from Extended Gerber format. You can find the numbers in the converted file easily. Wait: The process waits after each piece of input for the selected time in seconds to make it possible to watch the object sequence. Applies only to files from Extended Gerber. The wait interval may be changed while the process is going on. Prepare: Generates the internal structures for further processing. After preparation the right part of the window opens to allow creation of the outline and rubouts as necessary. An Outline may be generated with or without cutter radius compensation. If compensation is selected, then the following parameters apply: Tool diameter for cutter radius compensation.
2009 TRIMETA software
46
Editasc Help
CheckLen: Length of a piece of milling structure to be checked for intersection with other pieces. Pieces with a longer distance to other pieces are not considered to intersect. Buffer: Total number of look-ahead instructions for compensation. Open: Number of instructions to test for contour closing. Suitable values for "Buffer" and "Open" are 5 and 3. If the result is not satisfying then test with other values. In any case the "Buffer" value must exceed the "Open" value.
7.2 Rubout
The roubout window is shown after the "Prepare" button in the left part of the ProBoard window has been clicked and the preparation process terminated successfully. A new rubout is created by clicking the "create new rectangle" button and then creating a rectangle in the graphic window of EdiTasc. The coordinates of the corners are inserted automatically into the new line along with a generated file name. The tool diameter must be supplied in the edit field. If you click on any part of a line, this line becomes active (blue background). With an activated line you can move it up or down by clicking one of the blue arrows. Show(F4): The rubout is generated and shown in the graphic pane. Create PLT: The output file is generated and saved. delete it by clicking the delete button When all rubouts are finished the whole process must be created by clicking "Make all". The results are then copied into the project by clicking "Insert in project".
47
48
Editasc Help
49
the Z-position by an arc with radius value of 2 mm (marked with green). Example:
50
Editasc Help
9 Special Features
9.1 Partial Milling
The Select command / contour dialog box is opened from the "Partial Milling" entry of the file menu or by hitting F3. With this dialog the parameters for partial milling can be set to restart after tool crash or to execute programs partially for the execution of single paths or contours. To start after tool crash simply click on "Continue after Break". The command number will be displayed in the "Command" field. To select a contour, a small rectangle can be drawn to hit the displayed contour (the color of the rectangle is yellow by default). The path which first intersects the rectangle will be reported in the "Command" box while the contour start and end fields are filled accordingly. The values serve for selecting the program segment to be milled. "Graphic" shows the graphic of the current selection, depending on the mode: Beg. -> command enters the program from the beginning, and runs up to but not including the selected command. Command -> End enters the program at the selected command and runs from there to the end. Contour selects the contiguous contour from "Contour start" to "Contour end". "Execute" starts executing the selected commands (setting the output ports like F5). You can manually modify the three values of the vector command numbers in order to change the beginning and/or the end of the selected part. It is likely that the milling should start a couple of vector commands earlier especially after tool break. This procedure works for every file format including prototyping of circuit boards with ProBoard.
Special Features
51
52
Editasc Help
Adjusting the Switch Level: It is important that the milling tool does not touch the object or parts of the machine while using the probing tool. Therefore the position of the probing tool can be changed by loosening the attachment screws. Move the probing tool down for probing the object's surface. Move the probing tool up for milling. If the position of the probing tool has changed, the referencing surface muss be touched prior to touching the object's surface. See "Switch on referencing surface" below. Note: Moving the probing tool and touching the referencing surface can be avoided if probing is done with a distance tool. As a distance tool you can use any material wich parallel surfaces (e. g. an aluminum cylinder with a length of 60mm and 10 mm diameter). Put this distance tool between the surface and the probing tool whenever the probing tool is used. No calculation is necessary if the distance tool is used for both setting the probing value and setting the origin. Additional Functions: By clicking the "Set Origin" button with the right mouse button a context menu opens. This menu shows two header entries and four additional entries separated from the header by a line. The header entries give the choice between using and setting of the probing values with "using" as default. The additional entries depend on the selection of the header entry. Using the Probing Values: Touch the surface: This entry does the same as clicking on the "Set Origin"-button with the left mouse button. See details above. Set Origin X: Move the machine manually until the laser points to a place where the X-coordinate is expected to be zero. Then click "Set Origin X" to set the X-value of this place to zero. The Y-values remain unchanged. Set Origin Y: Move the machine manually until the laser points to a place where the Ycoordinate is expected to be zero. Then click "Set Origin Y" to set the X-value of this place to zero. The X-values remain unchanged. Set Origin X/Y: Move the machine manually until the laser points to a place where the Xand Y-coordinates are expected to be zero. Then click "Set Origin X/Y" to make this place the origin. Set the Probing Values: Before the probing tool can be used the parameters must be set accordingly. The setting is done only once when the machine is set up and must only be repeated when the position of the affected parts has changed. Tool on referencing surface: Move the tool manually to a horizontal referencing place. The tool must just touch the surface. Then click "Tool on referencing surface" to save this position for further use. Switch on referencing surface: Now move the probing tool over the same place. Choose a suitable height as described in "Touch the surface". Start probing by clicking the entry "Switch on referencing surface".
2009 TRIMETA software
Special Features
53
Caution: If the signal of the probing tool does not change due to an incorrect input setting then the tool may be damaged. In this case probing may be interrupted by pressing F9. If both actions have completed without error then the probing feature can be used. If there is a tool change with automatic compensation of the tool length then the setting remains valid. The setting "Switch on referencing surface" must be repeated if the Z-position of the probing tool has changed. If you do not remember the place where the original referencing plane was chosen then both actions ("Tool on referencing surface" and "Switch on referencing surface") must be repeated. The same applies when the tool is changed without automatic tool length compensation. Tool X and Y: Move the machine manually to a well defined place of the working piece. Click "Tool X and Y" to save the result for further use. Laser X and Y: Activate the laser pointer by clicking the appropriate output in the Input/ Output window. Move the machine manually until the laser hits the same place as used in "Tool X and Y". Click "Tool X and Y" to save the result. If both actions have completed without error then the set origin feature can be used. If the position of the laser pointer relative to the tool changes then the laser and tool actions must be repeated.
9.4 Trace
Trace is started with this button in the toolbar or by selecting "trace" from the options menu.
54
Editasc Help
The upper window shows the contents of the motion-command buffer. These are the motion commands currently being executed by the machine. The lower window shows the motion commands currently handled by MTASC interpreter. When an error occurs, this is where you will find the command which caused the error. With "Selected Level" you choose the level of the calling hierarchy to be shown in the lower window. The Active Level is the level which is currently treated by the MTASC interpreter. On nested calls the active level is permanently updated so that you always see the the currently active parts of the program. Depending on the state of EdiTasc it may occur that the commands that you wish to look at are located at one level below in this case you may select "-1". If you want to display a fixed Level then choose "Level No." "Select thread" allows you to choose among several threads. Right now only one thread is supported. "Stop" display freezes the display while EdiTasc continues to work. You may change the level selection even with a frozen display. When the display is frozen the command shows "Continue display".
2009 TRIMETA software
Tutorials
55
10 Tutorials
Configuration of the Software CNC Programming with EdiTasc Z-Level Compensation ProBoard for Prototyping
4. Now you can start using EdiTasc, e.g. with driving the axes manually (AltGr + Arrow keys).
56
Editasc Help
Axi negative direction s X left arrow Y down arrow Z Page down A End B Del C F11
The Continuous Jog Support entry of the machine menu offers advanced tools for manual driving. The manual driving can also be simulated by activating the test-mode with Options -> TestMode On/Off or Ctrl+M.
4. Set the origin either by clicking with the right mouse button into the graphic window, or by moving manually to the desired position and then clicking on 5. Before the actual milling you may want to test the execution. Click on Options - Test-Mode On/Off (Ctrl + M). Then you can start the real time simulation by clicking the F5 key. or pressing
6. The machine can be started by first turning off the test mode, then by clicking on either " Execute with Settings" in there file menu or by clicking on . button.
Warning: The machine is now moving. To stop the machine press F9 or use the There are tutorials in this manual for first steps in writing your own NC-Programs.
Tutorials
57
This is a step-by-step introduction into the usage of EdiTasc and the MTASC programming language. Our objective: an object with an even surface shall receive an engraving as sketched out on the right. To do this we proceed as follows: 1. Start EdiTasc, switch on the controller, reference the axes (if the software is not configured properly refer to Starting EdiTasc). 2. Open the Editor with File/New Text Window or by clicking on be used to write the program. 3. Enter /* Program for milling a label with a rectangular frame */ as a first line for a general description of the file's purpose. As in C++, the letters /* and */ define the beginning and end of comments and do not influence the program. 4. Set the driving speed. The general maximum speed of the machine can be found in the file Drv_XX.ini in the variable vMax= (in mm/sec), but a hard material may require a lower driving speed. The maximum driving speed can therefore be defined within each NC program as long as it is below the value of vMax in the file Drv_XX.ini. XX is a place holder for the driver name. "ML_L" : is the variable [in mm/sec] for a slow driving speed e.g. when the tool enters the material (ML = "Move Linear"). "MF_F" : is the variable [in mm/sec] for a high speed that is normally used when the tool drives outside the material from one milling position to the next (MF = "Move Fast"). "MVPAR" : defines a speed ("MoveParameter") for all subsequent variables of this type up to the next MVPAR variable. So we write the commands and two comments in the text window: ML_L = 4; MVPAR; MF_F = 20; MVPAR; /* set slow speed */ /* set fast speed */ . The new window will
It is important not to forget the blanks around the "=" signs. The menu File / Save saves the program in the MTASC format.
58
Editasc Help
1. The position can be chosen relative to the MachineOrigin (M, see Figure). The machine origin is positioned on the area limits of the axes. The coordinates that refer to this position are called Machine Coordinates.
2. The position can be chosen relative to the WorkingPiece (W, see Figure). In this case a point of the working piece serves as the origin, which is called the "object origin". The coordinates are referred to as "object-coordinates".
We will define an origin that is positioned at the corner of the rectangular frame. It is therefore an Object Origin (W, see figure).
Setting the Object Origin: Drive the milling tool manually to the position on the raw-material (CtrlAlt + Cursors) where the lower left corner of the label is positioned. Click on to define this position as the Object Origin. The lower left corner will be the Object Origin (X=0, Y=0) of our program, see figure.
Tutorials
59
Activating the test mode: 1. Click on the Graphic/Status Window to be sure you leave the editor menu and return to the main menu. 2. Now you can activate the Test Mode with Options -> Test Mode. The lower part of the Graphic/Status Window shows that the Test Mode is active. Testing the Z-Axis At the beginning of our program the milling tool has to enter the material. This requires the usage of the Z-Axis, which can be tested manually: 1. Click on the Graphics Pane to leave the editor. 2. When you now press AltGr + PageUp/PageDown the values in the coordinate window should change.
60
Editasc Help
1. Choose the tab "Rectangle" and enter the Width (80mm) and the Height (50mm). 2. You can enter the center of the rectangle in the Data-Field. 3. Make sure that the text cursor is on the last line in the editor-window, because the new commands will be entered there. 4. Clicking Command -> Text will write the command into the editor window, based on the position given in the Data-field (on the right). MRect (0.000) (0.000) (80) (50);
5. Close the programming tool and save the test program (you might have to click on the frame of the editor- window for the editor menu to replace the main menu).
Tutorials
61
6. The button
If it is not displayed then open it in EdiTasc by clicking on the graphics then selecting File-Open from the main menu.
If you want to move the milling tool, you can right-click on the screen and choose "Go to XY Position" in the popup menu. You can see that the Object-Origin is in the center of the rectangle. Since we wanted to have it in the lower left corner, we will have to modify the coordinates as follows:
MRect (40.000) (25.000) (80) (50); 7. Save the file. F4 will show that the object origin is now on the lower left corner of our rectangle (screenshot).
62
Editasc Help
3. Click on Update with current position to switch the coordinates of the text to the current position. You can round these entries manually e.g. from 9.084 to 9.000. 4. Now you can enter the Text size (e.g. 10) and the first line of text (e.g. EdiTasc). 5. Clicking on Command -> Text will write the following code into our test file: WrX0[0] = 9.0; wrY0[0] = 30.0; WrXfac[0] = WrYfac[0] = 10; wrText0 = "EdiTasc"; wrExec 0; 6. Change the coordinates in the data-field for the second line to X=9.0 and Y=10.0 and enter a different text, e.g. "Tutorial". Clicking on Command -> Text will add this line to the test file: WrX0[0] = 9.0; wrY0[0] = 10.0; WrXfac[0] = WrYfac[0] = 10; wrText0 = "Tutorial"; wrExec 0; 7. To ensure that the milling to leaves the material in the end the following line is needed: Z 5; MF; 8. Save the result. Now the file looks as follows: /* Program for a label with a rectangular frame */ ML_L = 4; MVPAR; /* set slow speed */ MF_F = 20; MVPAR; /* set fast speed */ Z -2.2; ML; MRect (40.000) (25.000) (80) (50); WrX0[0] = 9.0; wrY0[0] = 30.0; WrXfac[0] = WrYfac[0] = 10; wrText0 = "EdiTasc"; wrExec 0; WrX0[0] = 9.0; wrY0[0] = 10.0; WrXfac[0] = WrYfac[0] = 10; wrText0 = "Tutorial"; wrExec 0; Z 5; MF;
Tutorials
63
64
Editasc Help
Z -2.2; ML; wait 0; print "Milling of the Rectangle"; MRect (40.000) (25.000) (80) (50); wait 0; print "Milling of <EdiTasc>"; WrX0[0] = 9.0; wrY0[0] = 30.0; WrXfac[0] = WrYfac[0] = 10; wrText0 = "EdiTasc"; wrExec 0; wait 0; print "Milling of <Tutorial>"; WrX0[0] = 9.0; wrY0[0] = 10.0; WrXfac[0] = WrYfac[0] = 10; wrText0 = "Tutorial"; wrExec 0; Z 5; MF; wait 0; print "Done";
The Screenshot shows a possible result during execution. You may now continue with Starting EtTrace.
10.2.9 EtTrace
If you click on this symbol in your toolbar, the trace tool "EtTrace" is invoked. EtTrace shows the currently executed commands within the context of the program along with the calling hierarchy. This tool may help you to find errors in your program (if any). You may now start the program.
Tutorials
65
in the height ZUp and then start from there. The value for ZUp can be changed via the menu Machine - Machine parameters.
10.3.1 Parameters
Open the Z level compensation dialog by clicking on Machine -> Z level compensation. Click the "Configuration of tool switch" button. The configuration dialog opens. Select the input for the probing device. Select "With PrbUp/ PrbDown" if the probing tool is to be moved up/down before/after each probing. The macros "_PrbUp" and " PrbDown" must be defined to perform the appropriate action. If the height sensor is not mounted on the point of the tool, enter the X and Y coordinates of the offset in mm. Otherwise set both values to zero. Set the probing ranges appropriately. After saving the settings proceed with probing.
10.3.2 Probing
The Z-Level compensation can be started by selecting "Z-Level compensation" from the "Machine" menu. Note: Before you start probing you will have to set the parameters. After that you may continue with the following:
66
Editasc Help
1. Define the diagonal corners of the probing range. a. Move the tool to position (1) of the rectangle by using the AltGr+Cursor Keys and enter the X- and Y-Coordinates into the appropriate fields. b. Same with position (2). 2. Input the number of probing points along the X- (3) and YAxes (4). The range will be covered by a grid of e.g. 7 x 4 points (Columns X multiplied by Rows Y) where the level difference from normal level (Z=0) is being probed.
Through the collection all these points a spline surface will be calculated which then acts as the zero level during machining. This is achieved by dynamically shifting the Z origin offset while the X and Y axes are moving. 3. Draw the grid with the appropriate button to show the result. 4. Start the probing by pressing the button "Probing(All)". The grid of points is displayed graphically now. The process of probing is carried out by the MTASC program GetZlevDat. ts in the Macros folder. If necessary the probing mode can be changed there. Probing modes: The Z level compensation feature supports three probing modes: 1. Manually 2. With probing device (in this case you must define the parameters for automatic z-level compensation) 3. With jog wheel (similar to manually, but with electronic jog wheel)
To change the probing mode, open the file GetZlevDat.ts in the Maros folder. You will find three paragraphs beginning with If(1){ or If(0){ The one paragraph beginning with "If(1){" is active. The others must be deactivated by "If(0) {". In manual mode the tool moves at Z = Zup over the 1st position, then it waits until you have
2009 TRIMETA software
Tutorials
67
moved down manually (AltGr+Page- keys) to the material level. The probe is taken when you press the enter key. Probing continues then with the next point and so on. With Esc you can interrupt at any time. The status line will guide you through the process. In the mode with probing device the parameters for this device must be defined properly so that probing can take place automatically. The settings are stored in the file "ZLevel.ini" in the "ZLevel" folder. Probing with jog wheel is similar to manual probing. Finish the probing After probing you should press "Save Probe Data". Otherwise the data are lost when exiting EdiTasc. With "Start probing from curr. Position" it is possible to repeat or to continue the probing at any time from a certain point, or to change the probing data of single points. To do this make the grid visible graphically by pressing "Z-Level Compensation" button ( ) in the toolbar. This makes it easier to move to points having been probed previously: Just use the right mouse button in the graphic window and select "move to position". If you don't hit the point exactly, the software will look for the closest point. The grid data and the probed levels are saved into the file Data.t in the folder "Zlevel" of the EdiTasc folder. It is possible to edit these data, but recommended for experienced users only.
10.3.3 Apply
After defining the parameters and taking the probe you simply press this button from the toolbar to apply the Z_Level Compensation.
68
Editasc Help
Loading a file into the project Double-click the "File" field (or select "load file" after clicking with the right mouse button). A file selection window shows up. Select "Extended Gerber" as file type and select the file named "PboFile.grb". After clicking the "Open" button the file will be converted automatically into MTASC-Format and the result is shown in the project line.
Change text and show the project line Click into the "Description" box and replace the text "Keine Datei" by a meaningful name like "Layout". Activate the check box at the beginning of the line and click F4 in the main window. If the result is not to be seen entirely on the graphic pane then select Zoom over all paths from the toolbar to get the adjoining picture.
Tutorials
69
The result shows the outline of the circuit paths. When preparation is finished the right part of the ProBoard window opens. This part is used only for saving the outline later on.
Now we create the outline. Select "Without cutter radius compensation" from the lower panel of the Proboard window. Cutter radius compensation will added later during the Preparations. The adjoining picture shows the result. It is possible to do the cutter radius compensation from the ProBoard panel. In this case we can try to get a better result by changing the values for "Buffer" and "Open". The tool diameter has of course an important influence on the outline of detailed contours.
If the result good enough the "Create PLT" button fixes the result in a PLT file which can be added to the project by clicking "Insert in Projekt". You may now create the rubout or close the ProBoard window and proceed with preparations if no rubout is needed.
70
Editasc Help
Precision rubout: To shorten the milling process it makes sense to make a rough rubout first and to refine the result by a precision rubout. We show this approach with a second rubout rectangle which overlaps the first partially. We choose 1.2 mm as tool diameter as we have done with the outline, so we can use the same tool. The result after clicking "Show (F4)" or "Create PLT" in the right pane can be seen here:
If the first rubout remains on the screen, you may clear the screen first by clicking "Delete" from the "View" menu of the main window, then "prepare" in the left pane of the ProBoard window, then on the second rubout line in the right pane and at last on "Show (F4)" or "Create PLT".
Create the entire result: To create a valid result, it is necessary to create the rubouts in one single pass. Doing so, the current roubout will not mill the areas which are already covered by the preceding rubouts. The following steps are to be taken: Click "Delete" from the "View" menu of the main window Click "Prepare" in the left pane of the ProBoard window click "Make All" in the right pane of the ProBoard window click "Insert in project" in the right pane of the ProBoard window. The result will contain in the overlapping area only few milling paths of the precision rubout as they only cover the parts which have not been done by the rough rubout. This can easily be seen when you now close the Proboard window and then proceed with the preparations. Depending on the type of your project you will probably have to add drilling data or to create a frame.
Tutorials
71
with the drilling data in the last line. If the Excellon file contains additional milling data, another file named "ProBoardDrillM.t" will be generated. If you select the lines "Outline" and the last line (as in the picture) and press F4, you can see both files printed on the graphic panel, so you can see whether the files match or not. In our sample they do not match, therefore the milling data must be shifted. The shifting procedure is explained in the next chapter.
72
Editasc Help
corresponding contour of the outline similarly. The destination of the shift can be shown with a cross in the same way as the source point. Save the result "as default" and close the offset window. Now you can activate or deactivate the shift of this project line by clicking the offset button. The result can be shown with F4. If the shift is active, the blue circles are placed in the center of the corresponding pads of the outline. If the outline does not contain any symmetric contours to corresponding drilling holes we suggest to create a small isolated circle by CAD which encloses a drilling hole.
10.4.7 Preparations
Now the new lines created by an outline and two rubouts get a meaningful description as shown on the left of the project window. Then uncheck the "select"-box of the first line and show the project lines individually or together by checking one or more of the following boxes. The results are shown in the graphic pane by clicking F4.
Tutorials
73
The pictures below show the outline and the rubout files along with the whole project:
Outline
Rubout Pass 1
Rubout Pass 2
Whole Project
Now we must supply the tools and other parameters: First we check the project settings and then we make changes to individual lines.
74
Editasc Help
For the tool up level we choose 4 mm, for the surface 0 mm and for the milling level -0.1 mm. The check boxes for "different speed" and "milling infeed" remain unchecked. The tool with a diameter of 1.2 mm is suitable for most of the project lines. We will have to choose a different tool for the drilling and frame. The values for cutter radius compensation are not used in this project and remain unchanged. We save these settings as default values for this project. They should apply to all lines. We ensure this by checking if the "settings" button shows the caption "Project" in each line. If not, we right-click this button and select "Copy settings from project" from the context menu. In the next step we change those values which differ from the project settings in individual lines . Note: HPGL-settings do not apply because the generated HPGL files do not contain tool loading
2009 TRIMETA software
Tutorials
75
instructions.
Cutter radius compensation: Because we created the outline without cutter radius compensation, we click the "Settings" button in the "outline" line and activate the check box "Apply automatic cutter radius compensation in HPGL programs". Choose "Left" and "Closed" as settings for the compensation modes. After saving the symbol of the "Settings"-button shows the compensation mode. If the project contains the appropriate lines, the settings for drilling and those for the frame must be done. Otherwise you can proceed directly with the project execution.
Tool: Right-click on the tool entry and select a tool with 4 mm diameter. If it is not present, we will have to update the tool file. See more details in the chapter about the tools list. If the new setting is saved, then the "Settings"-button of this line shows a tool bit symbol indicating that individual line settings are chosen. The graphic pane now shows different colors for the different tools (in this case yellow for outline and 2nd pass and pink for the first pass).
76
Editasc Help
To save time for tool changes we decide to drill all the holes with the same tool. From the drilling file, ProBoardDrill.t we can see that the tool numbers 4,5,6,7,8,9 are used. The tools list shows that no.4 is the smallest tool.
The drilling of holes with different diameters by only one real tool is achieved by selecting "spiral drilling" from the "Settings" of the drilling line. We choose 3 mm as milling depth and select level drilling with levels of 1 mm each.
If the project does not contain a frame, we can proceed with project execution, otherwise we must edit the settings for frame first.
Tutorials
77
The milling depth is chosen as 3 mm. With an infeed of 2 mm we achieve two passes, one with 2 mm and the last one with 1 mm additional milling depth. When you close the settings window and redraw the entire project, the frame will be drawn in red color indicating the different tool.
78
Editasc Help
it up on top of the "Outline" line. After checking the correct selection by clicking F4 and adjusting the zero level you can start again with F5. If the outline is to be milled first, you will have to check this line and do it with the 1.2 mm tool before the other steps apply. Next step are the drilling holes (using tool 4, if any) and at last the frame with tool 9. If manual tool change applies, EdiTasc will stop and display a message box whenever a new tool is needed. In this case you can order the project lines in the desired sequence and check any of the boxes. After checking the selection with F4 and adjusting the zero level you can start with F5. If manual tool change with switch applies, the zero level adjusting is done automatically. Automatic tool change requires a tool rack to be installed and populated with the required tools. EdiTasc will perform all necessary tasks automatically.
Glossary
79
11 Glossary
11.1 Activating Tools
Tool can be activated an deactivated. A tool, which is deactivated, will be surpassed in graphic mode and for machining. During machining a virtual tool change takes place to keep the tool number up do date. Activating and deactivating tools is normally used with Mtasc Projects to perform machining of parts of a file.
11.5 Dxf-Macro
This macro type is designed for the processing of the output of the DXF-Converter. If this macro name is other than "Default'', then the default macro from the DxfType/Tool (whatever it is called) is replaced by a macro with this name. If a macro name other than ''default'' is used, you must provide a corresponding macro in the file DxfInit.ts which contains the definition of the process to take place instead of the default process. If this macro name is missing, errors may occur, the machining process may skip to the next object, or even stop without warning. Note that each tool may have it's own DXF-macro. The predefined processing types are described in the manual of the Dxf-Converter.
80
Editasc Help
11.7 Infeed
Infeed is the distance from level to level when level milling or level drilling is chosen.
11.10 Machine-Coordinates
This is the position relative to the reference point of the machine (M). The reference point is the position of the switches on the axes. The object coordinate origins and other fixed points are defined in machine-coordinates. Use Shift+F3 to show these coordinates in the coordinate window.
Glossary
81
11.12 Object-Coordinates
Object-coordinates are the coordinates of the current position relative to the current object's origin (W). This object origin may be arbitrarily chosen. EdiTasc shows the object origin as a small blue circle in the graphic pane. The coordinate window shows the object coordinates by default. If other coordinates are shown, press Shift+F2 to return to object coordinates.
11.13 Outline
The outline feature of ProBoard merges overlapping closed contours to non overlapping contours thus forming the paths of a circuit board. The border must be milled with cutter radius compensation which can be generated along with the outline or alternatively when the non compensated outlined is milled.
11.15 Referencing
With Referencing of the Axes each axis is driven to its reference switch to tell the machining program its position. Referencing must take place on startup and when a trailing error has occurred. If your configuration includes a switch for tool calibration then you are prompted to enable the calibration process and do the initial calibration after referencing the axes. If the answer is "yes" then the calibration takes place whenever the tool changes.
82
Editasc Help
11.16 Rubout
The rubout feature of ProBoard defines one or more rectangular areas. In each area the copper between the circuit paths is erased. Different tools with different diameters may be used to speed up the milling process.
_ToolAuto=0: No further action after tool change. EdiTasc changes the tool settings due to the contents of the tool table without a corresponding action of the machine. _ToolAuto=1: Tool change manually. EdiTasc stops the machine at the tool change position and asks the user to change the tool manually. After this EdiTasc will continue to work with the settings of the new tool. _ToolAuto=2: Tool change with calibration. EdiTasc stops the machine at the tool change position and asks the user to change the tool manually. After tool change the new tool will be calibrated by moving the tool to the calibration switch. Then EdiTasc will continue to work with the new settings. _ToolAuto=3: Automatic tool change. EdiTasc stores the current tool in the tool storage and fetches the next tool from the appropriate place. Then the tool is calibrated and EdiTasc continues to work with the new settings.
Remarks: The position, where the manual tool change takes place, is marked by a small cross on the graphic pane. The coordinates of this position can be changed by selecting "Define Positions" from the Machine menu. If tool change with calibration is chosen, the user is asked once whether the tool calibration process shall take place or not. If the user chooses "No", the calibration part will be skipped for all subsequent tool changes until EdiTasc is restarted.
Glossary
83
11.21 Tool-ID
The Tool-Id is used to identify a tool by an externally given identification number. This number is normally given by the currently running MTasc program. If the value of the Mtasc variable _ToolMode is 2, the tool will be looked up using the Tool ID. Otherwise the tool ID is ignored. The variable _ToolMode is stored in the tool file and can be set with the Tools List entry of the Machine menu.
84
Editasc Help
Glossary
85
Rpm (rotations per minute): You may want to select different rotation values depending on the tool number. Output: This parameter is designed for triggering some output depending on which tool is being used.
86
Editasc Help Color HPGL files 83 Command -> Text 36 Compensation 79 Continuous Jog Support 17 Controller types 4 Coordinate Systems 6 Coordinates 12 Coordinates window 12 Copyright 4 Corel Draw 33 Crc 79 Ctrl+Enter 35 Custom.bmp 8 CustomMacro 8 Cutter Radius Compensation
Index
-33D-View 10
-AAccMax 85 activating Test Mode 58 Z-Level Compensation Activating Tools 79 Active Level 53 AcxParFast 26 AcxParSlow 26 Additional Buttons 8 Adjustment change 24 clear 24 Set 24 Arc 3D 38 Arc XY 37 Arrows 31 Axes Manual Driving 56 Referencing 81 65
-EEdit Origin 20 Edit Tool 22 EdiTasc Starting 55 Structure 8 windows 32 EdiTasc Overview 4 EdiTascTxt.Ini 83 editing 34 editor-language 34 Editor-menu 34 Editors 35 Emulating Tools 83 Entering Ctrl+B 35 Text 61 Error Status Window 13 EtInit_XX.ts 83 EtTrace 64 Excellon 41 ExcFilter 41 Execute 56
2009 TRIMETA software
-CCAD-postprocessor CenonPCB CAD-program 45 calling GetTool 84 integrated Text Editor 34 CenonPCB 45 Central Range 85 Changing adjustment 24 Circular Arc 38 clicking Graphics Button 10 Clipboard 31 45
87
Execute Clipboard-Command Execute expressions 34 External Drilling Data 41 External Milling Data 45 Extras Menu 33
31
-FF4 8 F5 8 F9 8 Features 4 Feed Rate 80 FILE File Menu 15 File Open 56 Fixed Points 19 Following error 85
-KKeys TxtLbl 83
-LLanguage Selection 35 level Z-axis 18 Level Drilling 26 Level Milling 26 Line 37 Link Corel Draw 33 Microsoft Excel 33
-GGenerate Drilling Data GetTool 84 GetZlevDat.ts 65 Go to XY Position 59 Graphic rotate 80 shift 79 zoom 79 Graphics window 10 43
-MMachine Configuration 55 Machine Coordinates 20 Machine menu 17 Machine Parameters 26 Macros 79 Main Menu 15 Main Window 8 MCirc 37 McirExec 38 Milling parallel contours 26 Milling Depth 81 Milling Levels 41 Mirror Axis 45 Mirroring/Shift 41 Motors On/Off 31 Move Fast 57 Move Linear 57 MoveParameter 57 MoveTo 18 MRect 59 MspAdd 38
-IiLabel 11 Immediate Pause 8 Increment 32 Increments 12 Infeed 80 Info menu 33 Input/Output Window Installation 7 integrated Text Editor
2009 TRIMETA software
11
88
Editasc Help Milling 64 Parameter 39 Print Text 63 Rectangle 37 Spline 38 Text 38 Tool 39 Tool Parameters 64 View result 63 ZLevel 51 Programming Language MTASC Project Window 40 Projects 41
14
14
-OoaSet 11 oaValueMax 11 oaValueMin 11 Object coordinates 32 Object Origin 8 Object-Coordinates 20 Offset 41 Offset Adjustment 24 Offset/Scale/Rotate 28 oLabel 11 Operatin System 7 Options 45 Options menu 31 Options/Language menu Origins 10 oSet 11 OVERVIEW 4
-RRadius compensation 79 Ramping 80 Range limit violation 13 Range limit watching 10 Range Limits 55 Rectangle 37 Reference Switches 81 Referencing 8 Refresh 11 Refsrch.Ts 30 RegDrv.bat 7 regedit 7 Remaining time 12 Repeat 28 Requirements 7 Rotation 28
35
-PParallel contours 26 Parameters 40 Park Position 10 Parking 19 Path Color 83 PID algorithm 6 PrjEmpty 41 Probing 65 Proboard 45 ProboardDrill.ts 43 Programming Help 61 Arc 37 Circle 37 Helix 38 Line 37
-SSave Probe Data 65 Scale 28 scrollbar 11 Search Reference-Point Selected Level 53 Selected tool 84 Set editor-language 34 Object Origin 57 Set Origin 20 Set tool offset 23 Set XY Position 19 SET-P button 19 Setup.exe 7 shifting 41 graphic 79 30
Index
89
Sieb&Meyer-format 45 Special Properties 6 Speed 12 Spline 38 Start EdiTasc 55 NC Program 56 Trace 8 Status Display 12 Status window 8 STOP-status 13 STOP-symbol 8 Structre of EdiTasc 8 Submerge 59 Submerge level 26 Submerging speed 26 Suspended 8 Suspended window 13 switch 81
28
-TTeach 36 Temporary Origin 19 Test Mode 31 Activating 58 Test.pbo 45 Test.plt 45 Test.svp 45 Test.t 45 Text XY 38 Text-window 34 Tool calibration 82 Tool Change 82 Tool change position 19 Tool change positions 10 Tool emulation 26 Tool Id 83 Tool Mode 84 Tool Number 84 ToolAuto 82 ToolConfig 82 ToolEdit 83 tool-home-position 10 ToolMode 83 ToolNC 84 ToolPos.ts 65 Tools Activating 79 Emulating 83 Offset 84
2009 TRIMETA software
-ZZ-Axis level 18 Zdn 26 Zdn0 26 Z-Level 8 Z-Level Compensation Zoom 85 ZPrbOfs 65 ZPrbZdn 65 ZPrbZdn0 65 ZPrbZup 65 ZPrbZup0 65 Zup 26
51