FILOU-NC

-NC forWinPC

Introduction in FILOU-NC for WinPC-NC

FILOU Software GmbH www.filou.de
1

Table of contents

Introduction in FILOU-NC for WinPC-NC
Table of contents
Reasons for using FILOU-NC if WinPC-NC is already in operation ...... 3 How does FILOU-NC operates for WinPC-NC ? ................................... 4 Support and assistance .......................................................................... 6 Three steps for creating the CNC program ............................................ 7 Step 1 Geometry ....................................................................... 7 Step 2 - CAM ............................................................................... 8 Step 3 Send to WinPC-NC ........................................................ 9 Cooperation: WinPC-NC + FILOU-NC ................................................. 10 Samples for programming .................................................................... 11 Sample: milling outside contours ......................................................... 12 Characteristics during the milling of an inside contour ....................... 15 Simulation of the created program ....................................................... 16 Appendix ............................................................................................... 18 DIN-Code or HPGL? ............................................................................. 18 DIN/ISO commands .................................................................. 20 DIN/ISO Sample of program .................................................... 22 HPGL commands ...................................................................... 22 HPGL sample ............................................................................ 22 FILOU-NC – comparison of the different versions ............................... 23 Glossar ................................................................................................. 24

Additional information and online videos are available by www.filou.de
These instructions are continously completed. Please take note of the current version numbers. Version 1.01 – September 2006 Copyright 2006 by FILOU Software GmbH

2

Information concerning milling distances. This means that WinPC-NC is controlling a machine by a CNC program. By means of an editor the CNC code can be manually created. e. The workpiece to be manufactured is defined as geometry by a CAD program. it is also possible to import existing CAD files. FILOU-NC is a CAM system with this special feature.) and a description concerning milling distances are integrated in this CNC program in order to actuate the machine.Reasons for using FILOU-NC if WinPC-NC is already in operation Reasons for using FILOU-NC if WinPC-NC is already in operation WinPC-NC is a CNC control system. spindle speed. CAD drawings are generally made at a scale of 1:1 and therefore they are perfectly suitable for creating CNC programs by a CAM program. the geometry can be directly carried out in the CAM system. etc. Parameters for the following production are not defined. speeds. etc. and to use them for creating CNC programs. in DXF format. this requires basic knowledgement of CNC codes and mathematics. Of course. Commands (switching on the spindle. As many CAM programs provide CAD functions.g. The produced CAD drawing defines the workpiece to be manufactured by measurements and outlines. More confortable is programming by CAD + CAM programs such as FILOUNC. stated in the CNC program are not available in the CAD file. This is the reason why direct conversion of CAD geometry into CNC code 3 . this imported CAD file can be processed and optimized in FILOU-NC. However. However.

Areas can be changed at any time. as CAM program. As a result you receive a CNC code thoroughly tested. FILOU-NC. After completing this procedure the CNC program is simulated in FILOUNC. except for some cases. Errors which may occur can easily be noticed and the user saves time and money. it is absolu- tely no problem to change again to the geometry area in order to complete the missing geometry. editor and the 3D simulation. carries out complex calculations and creates the complete CNC program according to specification. pro- 4 .How does FILOU-NC operates for WinPC-NC ? is useless. Characteristic of the four programs: In the area geometry the CAD geometry can be imported. created. A special feature is that any of the four programs or so-called areas are independent of each other. Contrary to CNC codes which are automatically created. For example if you note during programming in the CAM area that the geometry is not completed yet. CAM. Savings of time to up to 60 % are possible. as it would create an incomplete CNC program. How does FILOU-NC operates for WinPC-NC ? FILOU-NC for WinPC-NC means four programs which are closely associated: geometry (CAD). this code provides considerably improved and optimized milling distances. This procedure is executed promptly and precisely.

High efficiency of the editor is ensured by the integrated „work plane“ that enables an immediate and simple amendment of a finished CNC program. Besides conventional edit functions the „editor“ provides additional special NC functions such as „renumber“ and „extract tools“. A CNC program does not merely mean milling distances. Furthermore it is possible to generate additional CNC codes by macros and cycles.How does FILOU-NC operates for WinPC-NC ? cessed. In the CAM area milling distances are derived from the geometry. In order to choose the suitable format. there are post processors. The geometry is the basic element for producing CNC programs. optimized and exported. 5 . By „3D simulation“ the CNC program is simulated and it does not matter whether the program has been created in FILOU-NC or whether an existing NC code has been loaded in the editor. The FILOU-NC simulation supports thereby up to three simultaneous axes.

filou. By means of various links and animated graphics it is more confortable than any printed manual. Furthermore you can use the function button F1 which can be activated at any time in the program and which displays immediately the corresponding assistance topics on the screen. For additional support please contact by e-mail 6 . These instructions are made for initial steps and. We have been thoroughly treated our assistance program.de/nc->Support. A manual is not able to provide this convenience.How does FILOU-NC operates for WinPC-NC ? Support and assistance Another tip concerning assistance. for further information. there are some videos in the internet under www.

you have to take care of this point. TurboCAD. 7 . the layers can be switched invisible by the Layer manager in FILOU-NC. Any other parameters are ignored because they are unimportant for CNC programming. A well-thought layer structure provides advantages with extensive drawings. There is also no requirement for closed contours or for contour elements arranged into one direction. FILOU-NC is equipped with a DXF import filter importing merely distances. However. This automatic procedure is carried out quickly. arcs and polylines. This is possible because the NC code is derived from the geometry and geometry does not mean NC code or is connected to it. Creating the geometry. Later on. it is essential that the geometry has been created at a scale of 1:1. If you create the geometry by a CAD program. First the imported drawing is cleared up from unnecessary elements by the command clear up drawing. respectively during the subsequent programming you still have the possibility to amend the geometry. Please note that the geometry defines the finished workpiece and not the milling distances to be moved. Rhino. The geometry can easily be created in FILOU-NC or imported by a CAD system as AutoCAD. circles. In order to obtain a better view. If you want to have no gap between the elements defining a contour.Step 1 Geometry Three steps for creating the CNC program Step 1 Geometry First you have to create a CAD drawing with the geometry of the workpiece to be manufactured. etc. If smaller gaps should occur they can be neglected by a gap tolerance in FILOU-NC. After having prepared the geometry it should be saved as DXF with the command save drawing. color and layer are insignificant. it is recommended to export it as DXF file.

e. Usually this is the upper edge of the workpiece. Start of the program to End of the program. A small window is displayed 8 . Generally it does not matter which edge is used. but you should be attentive to use always the same Z-zeropoint.Step 2 . i. However. although some of the comments also refer to HPGL. The next step is selecting the post processor. there are some users utilizing the lower edge. Structure of the program In order to be recognized by the CNC control system the CNC programs must feature a special structure. minus is on the top and plus is at the bottom. you have the possibility to obtain additional information concerning DIN/ISO (called G-code) and HPGL in the our operating instructions later on together with a comparison of both formats. This means selection of the CNC format for creating the NC code. i. Now you have the option between HPGL or DIN/ISO.which is identical with the workpiece zeropoint of the unmachined piece on the milling machine. Why ? The program zeropoint. e. should not be changed during the run of a CNC programn (with the exception of experts). Using WinPC-NC it has to be noted that the Z-axes is in reversed positon regarding the standard settings. these values refer to the Z-zeropoint defined on the machine for the workpiece .CAM Step 2 . The (program) zeropoint for the X and Y axes is defined in FILOU-NC. Now we select New CNC program. „At the beginning there was the zeropoint“. Therefore the Z-axes in WinPC-NC firstly should be turned round (menu: parameter / data format / DIN-ISO-Z-invert axes). In this way errors by incorrect entries are avoidable.CAM Following statements basically apply to DIN/ISO programs. If there is an interrogation for values concerning the feed axes „Z“ later on in the program. Please note that WinPC-NC is able to process solely HPGL programs. If you are unsure in selecting the suitable format.

Editor and work plane Working in the CAM area FILOU-NC registers each process in the editor together with a corresponding comment. 3D simulation The CNC program which is registered in the editor can be simulated at any time. If the comments are not required they can be automatically deleted by saving.Step 3 . Finally the End of the program is inserted. etc. description of the program).) Now the geometry is gradually processed by the operating functions and thereby the CNC code is automatically created in the editor. The procedure is completed and the program can be inspected in the editor. After this procedure operation can be simulated. the project can be saved and the CNC program can directly be transmitted to WinPC-NC. The next step is launching the tool. This can be made either by activating the tool manager or by one of the operating functions (contour. to move or delete them.Send to WinPC-NC where you can enter a certain program number and a comment (e. Step 3 Send to WinPC-NC After the NC code has been completed with satisfying result. measurements of unmachined pieces are entered and tools are accordingly assigned. First of all the NC code is analyzed. These comments are automatically extracted in the work plane and constitute the working scheme.g. pockets. 9 . regardless whether it has been created in FILOU-NC or whether an existing NC code has been loaded in the editor. By this procedure the beginning of the program has already been effected and a look into the editor supplies the corresponding confirmation. It is possible to give these entries predicative names.

Other settings in the WinPC-NC menu parameter / data format should remain deactivated. DIN-ISO and WinPC-NC Light Attention: Only HPGL programs can be processed by WinPC-NC Light. 10 . Measuring unit As measuring unit 1/1000 mm has to be adjusted in the DIN/ISO code (menu: parameter / coordinates / measuring unit + units). Therefore the Z-axes has to be turned round in WinPC-NC (menu: parameter / data format / DIN-ISO-Z-invert axes). the rotational speed is indicated per minute and the feed rate in mm/min. Tool numbers Please note that WinPC-NC accepts only tool numbers from 0 9 when they are set up in FILOU-NC for the first time.e. have to be set up in WinPC-NC accordingly (menu: parameter / coordinates /measuring unit + units). Prior to programming please select a HPGL post processor.Cooperation: WinPC-NC + FILOU-NC Cooperation: WinPC-NC + FILOU-NC Z-axes The standard setting of the Z-axes in WinPC-NC is in reversed position. The units in mm + mm/min. minus is top and plus is at bottom. Feed and rotational speed with DIN-ISO code Using the calculation of cutting data in the FILOU-NC tool data bank. i.

Sample: importing and preparing geometry Samples for programming Samples presented now require knowledge of the preceding basic elements. Clean up drawing This step should be carried out generally during the import of drawings. This is often the case with drawings deriving from 3D. 11 . Importing and preparing geometry 1. Full circle arcs to circles Circles are produced by arcs with an opening angle of 360 °. Remove overlaying elements Elements next to each other or overlapping are reduced to one element. This is often the case with drawings deriving from 3D. Deleting small elements Elements which are below a minimum length are deleted from the drawing. Loading the drawing Select the desired format from the file samples. in our sample it is the file SAMPLE.DXF. Such errors may occour during copying. This function is responsible for the execution of four special tasks: Remove identical elements Deletes elements of the same size. Please study the previous chapters. Filling a gap Extensive gaps in the contour can be filled by the trim function. 3. 2.

Contour processing starts always at one end of an element. 6. By clicking OK the program start and the corresponding indications are registered in the editor. Loading and preparing the drawing See sample: importing and optimizing geometry Change to the area CAM 2. Creating new program Please insert a program number as well as a brief description of the program.e.12 5. Using a tool changer you have the option for changing the milling cutter later on or with the specific function. From this position FILOU-NC moves to the oter end of 12 . at the end of a distance or an arc. In our sample decision was made for DIN/ISO. 4. Determination of the zero point Now you have to determine the zero point for the X and Y axes by activating the necessary option and catch the desired point. the milling distance is derived from the CNC contour of the geometry. Selecting tool Call up the tool data bank and select the required milling cutter. After definiton of the corresponding materials you can immediately effect calculation of feed rates and spindle speeds. Routing contours Routing contours. 3. Selecting post processor First you have to select the desired CNC format DIN/ISO or HPGL. i. Attention: The contour lining is able to process open and closed contours. FILOU-NC automatically searches for possible contours. Please observe messages at the lefthand bottom in the status bar.Sample: milling outside contours Sample: milling outside contours 1.

the contour lining continues running as long as possible.to the left of the contour . A slight deviation is permissible which is called „tolerance of sequential elements“. Additional settings for contour lining are as follows: Confirm adoption If this option is activated. If FILOU-NC discovers serveral elements at the same time. Attention: Gaps in the contour „Tolerance of sequential elements“ can be determined in the parameter „settings“. This procedure is called „offset correction“. The contour lining always wants to route all elements of a contour. This means that there are two reasons why the contour cannot be processed: 1. If the parameter „Automatic releasement of used elements“ is activated. If the milling cutter is greater or of the same size as the circle arc in this contour 2.Sample: Milling outside contours the element and checks whether there is another element with its starting point. as it is recommended. In order to find subsequent elements. the element is automatically adopted. Clicking to the correct element. Offset correction In order to obtain a workpiece corresponding exactly to the size of the drawing. If this is the case. Automatic releasement of used elements Used elements are blocked during contour lining. etc.onto the contour (without) . the milling cutter has to rout beside the contour. these elements are immediately released again. In order to eliminate this error please select a smaller milling cutter or change the contour. you have to confirm the contour prior to the editor registration of the NC code. There are three possibilities in FILOU-NC: .to the right of the contour 13 . These elements are dispayled in green color and „invisible“ for further functions. If an element cannot be machined due to the tool size An error message is displayed with the information „contour lining interrupted“. the corresponding ends have to positioned side by side. a message with the information „Click on following element“ is displayed in the status bar.

Sample: Milling outside contours Right and left is referring to the milling direction which is defined by the starting point of the contour as it has already been explained. Additional parameters are described in the program assistance by pressing the button F1. Even the graphical display above is derived from this support. click to the contour start by the left mouse button and proceed according to prior descriptions. Move the cursor over the geometry. 14 . FILOU-NC displays the current path correction. After finishing the process call up „CNC end of program“. Before starting the contour lining all settings can be changed. Once more we want to remind you of the program assistance which can be activated by pressing button F1 and provides you with direct support. Subsequent proceedings are possible. A click with the left mouse button confirms your selection. After completion of all settings.

Characteristics during the milling of an inside contour Characteristics during the milling of an inside contour contour violations As contour lining always starts at one end of the element and all elements are to be routed. 15 . some contour violations may arise concerning the inside contours. Remedy is made by dividing or cutting the element. In this way new starting points are produced and the contour can be routed without any problems. Circles are automatically sliced at one of the quadrant points.

If all settings are finished you have to select „simulation“. 16 . FILOU-NC starts automatically with the largest milling distances as basis for the size of the unmachined piece. First step: Analysis of the NC program After clicking „Analyze NC program“. By drag and drop you have to assign an element of the tool store to the tools. The coordinates refer to the zero point.he created program Simulation of the created program Simulation of the created program The simulation analyzes the NC code in the editor and processing is visibly displayed. In the right section you can enter measurements of the unmachined piece. FILOU-NC displays the milling distances. For this purpose FILOU-NC extracts the tools available in the program.

It is possible to simulate CNC prorgrams with max.Simulation of the created program In the simulation window you select „adopt analysis“. the better the adjusted precision. Attention: Existing CNC programs can also be simulated. The time required for calculating 3D simulation depends on the size of the workpiece and the adjusted precision. Therefore the program has to be loaded in the editor following by executing the steps described here. three simultaneous axis. 17 . Press button F1 for description of functions. The smaller the workpiece.

It can be produced by nearly all available graphic programs supporting a (HPGL) plotter. Generally drilling is not possible with a true HPGL code. Arcs and circles are resolved in many small paths. working in only one level. The plotter is drawing with a special kind of pin depending on the color. Later on HPGL2 was presented as a further development. there is no requirement for path or tool correction.4 mm).025 mm. HPGL (Hewlett-PackardGraphic-Language) is actually a graphical language for (pin) plotter controllers.Appendix: DIN code or HPGL? Appendix DIN-Code or HPGL? Often we have to answer questions concerning the difference between both languages for CNC programming. However. missing correction of milling radius and sometimes the quite irregular moving of the contours 18 .A disadvantage is the restriction to true 2D procedures. As the plotter pins are directly moving over the geomery. Some general and subjective information below: HPGL DIN code Upshot FILOU-NC and WinPC-NC FILOU-NC and HPGL As already expressed by the term HPGL itself. There are some restrictions when using HPGL: Relatively rough resolution. Some singular programs or machines provide / require a HPGL file with the smallest possible resolution of 0. It provided a userfriendly language but in principle. there have been no considerable changes. one characteristic is worth mentioning: The smallest resolution is 1/40 mm respectively 0. Simple creation of the HPGL format is a great advantage. This means a 2D geometry description with the options „pin down“ or „pin up“.0254 mm which corresponds to a thousandth inch (25.

However this process is very specific to controlling and cannot be produced by CAD or graphic programs. Requiring a wider range of possibilities or absolute accuracy. The DIN format is clearly structured and easy to master. cycles. called G-Code. for distances. FILOU-NC and WinPC-NC 19 . path correction. Generally programming is effected by a resolution of 0.4 mm per axes. The DIN code. However. Many industrial control systems apply DIN programming or elements of it as basis. There are so-called M commands concerning switching on/off the cooling water or the G functions. Some manufacturers of control systems have modified HPGL in the way that 3D can be used. Therefore it makes sense to optimize the HPGL code by FILOU-NC.Appendix: DIN Code or HPGL ? when pin change is carried out frequently.g.001 mm. This should cause no problems. is defined according to DIN 66025 and is considered as standard in acutal professional NC programming. as acutually there are a lot of control systems accepting wider value ranges. etc. Upshot HPGL is effective for simple 2D moving of 2D contours. The supply is completed by technical sub-routines and 3D processes. creating NC code in the DIN format requires basic knowledge of the language. DIN code offers a wider range of possibilities than HPGL Finally it can be stated. selection of the level. the application of DIN programming is recommended. completed by individual functions. e. The values in HPGL range from plus/minus 32768 (16 bit) and results in a max. that the DIN code provides much more possibilities than the relatively simple HPGL format and does not cause disadvantages like HPGL. length of distances of: 2 x 32768 / 40 = 1638.

completely or partly. Afterwards all contours for another tool can be created. DIN/ISO commands Following DIN/ISO commands are supported by WinPC-NC: G-commands G00 Linear interpolation with rapid speed G01 Processing. matches with WinPC-NC.Appendix: DIN/ISO commands By special post processors FILOU-NC. time with F-command G17 Level XY G18 Level XZ G19 Level YZ G70 Measurements in inch G71 Measurements in mm G90 Absolute position information G91 Relative position information G98 Define subroutine M-commands M00 Program halt M02 End of program M03 Spindle on. in a defined direction. as a steppermotor controller. linear interpolation G02 Clockwise circle movement G03 Counter-clockwise circle movement G04 Dwell time. FILOU-NC creates a NC code which can be read and processed by WinPC-NC. In order to be processed by PC-NC. On request the tool path with corresponding path correction can be immediately created for the selected tool. By contour lining the contours are automatically combined and unproductive distances are minimized. It is possible to move contours. FILOU-NC is equipped with the corresponding functional range. This applies for the HPGL format as well as the DIN code. FILOU-NC and HPGL By means of FILOU-NC an optimized HPGL code can be created. clockwise rotation 20 . In this way all contours for a individual tool can be machined.

Z U.20) I. same as M06 Set output 100 to HIGH Set output 101 to HIGH Set output 102 to HIGH Set output 103 to HIGH Set output 104 to HIGH Set output 105 to HIGH Set output 106 to HIGH Set output 107 to HIGH Commands S F F F Spindle speed Input number (with M16 command) Dwell time (with G04 command) Feed (without M16 and G04 command) Speed in set unit of measurement (mm/s or mm/min. input number in F End of program Change tool.K T X.Appendix: DIN/ISO Sample of program M04 M05 M06 M07 M08 M09 M16 M30 M66 M70 M71 M72 M73 M74 M75 M76 M77 Others N Record number Spindle on. counter-clockwise rotation Spindle off Change tool Coolant on Coolant on Coolant off Wait for input.) Circle parameters Select tool Coordinates Coordinates for 4th axis. if activated Radius of arcs Call subroutines (1.W A. if activated Coordinates for 4th axis. or inch/min..J.Y.V.B.C R L 21 ..

AA x.1000.x.y. Program start Absolute coordinates Rapid speed to first position Plunge movement with Z Feed movement in straight line Arc about center point etc.y[. SP1.a[.Appendix: HPGL commands DIN/ISO Sample of program % name N001 G90 N002 G71 T1 M6 N003 G00 X110 Y100 Z10 N004 G01 Z11 N005 G01 X190 N006 G03 X200 Y110 J10 N007 G01 Y190 N008 G03 X190 Y200 I-10 N009 G01 X110 N010 G03 X100 Y190 J-10 N011 G01 Y110 N012 G03 X110 Y100 110 N013 G01 Z10 N014 G00 X0 Y0 Z0 N015 M30 HPGL commands PA [x. PA1000. AR x. PA2000.c].y[.y.c]. Rapid speed to zero point End of program Move to absolute position(s) Move to relative position(s) Lift and move tool Lower and move tool Select tool Draw complete circle Absolute arc Relative arc Start by lifting tool Then move to 1000/1000 Select tool 1 Lower tool Outline square Lift tool 22 .x.a]. PA1000. HPGL sample PU.1000.y[. SP x. CI r [.x.y]].2000.y]].a[.2000. PD.y]]. PA2000. PU. PU [x. PA1000.y[.1000.y]].x. PD [x. PR [x.

FILOU-NC – comparison of the different versions FILOU-NC – comparison of the different versions FILOU-NC Operations Geometry CAM Editor 3D-Simulation CNC-Backplot V24-Transfer*** Individual post processors (optional or selfmade) Macroprogramming Standard post processors (extent of delivery) + + + + + + + FILOU-NC / SE Milling + Drilling + + + + + FILOU-NC for WinPC-NC + + + + - + - - Output Contour 2 / 3 PCNC (DIN/ISO) Dialog 4 / 11 / 12 HPGL (distances) Fanuc HPGL DIN/ISO (distances + arcs) HPGL (distances) HPGL (distances + arcs) ISEL (NCP) MACH 2 / 3 Mitsubishi PC-NC (DIN/ISO) Sinumerik 810-840 Heidenhain TNC 135-155 Heidenhain TNC 355 Heidenhain TNC 426-430 can be extended cannot be extended As file and/or byV24 File Directly to to the CNC WinPC-NC 1295. .-***EUR + -> Mill or SE Price Upgrades are possible + = available.-***EUR + -> Mill 300. ** = for steppermotor controllers not suitable *** = V.= not available.A.T. not included 23 .-***EUR 595.

24 .g. FILOU-NC imports 2D DXF files and creates 2D geometry. lines. CAD 3D Defines the 3D model by lines or sizes. 4 or 5 axis simultaneously In order to rout (free-shape) surfaces a CAM software is required which is able to create the CNC code for three. four or five simultaneous axis. For this purpose we can offer DeskProto and Mayka. CAM is a program which makes it possible to create a NC code out of CAD geometry in order to actuate machines. CAM 21/2D 21/2D CAM programs are calculating the tool distance parallel to the geometrical 2D contour of the CAD geometry The tool is working in the direction of the Z-axis (by a predefined height two axes are simultaneously machined). CAM Computer Aided Manufacturing (CAM) means fabrication supported by computer. Drawing elements are points. FILOU-NC is a CAM program. splines and operation corresponds to the conventional working by drawing board. CAD 21/2D This is no „real“ 3 D and is also called wiry model with spatial arranged vectors. circle arcs. CAM 3. FILOU-NC imports 3D polylines in DXF files. FILOU-NC provides 2D milling routines. Therefore the NC code is derived from the CAD geometry. polylines (line drawings). e.Appendix: Glossary Glossar CAD Construction supported by computer or Computer Aided Design (CAD) CAD 2D 2D CAD sytems are vector orientated drawing programs. a 3D polyline. The Z-height is defined by the user.

Appendix: Glossary CNC A Computerized Numerical Control (CNC) means electronic and/or software for controlling machines. Today both terms. means electronic with additional software for controlling machines. distances and paths. CNC and NC. CNC resulted from NC. also called numerical controller. In FILOU-NC for WinPC-NC the post processor is selected in order to create a CNC program either in DIN/ISO or HPGL format. All information of NC is read in from a punched tape in records. In FILOU-NC the post processor is selected at the start of the CNC programming. CNC controllers are differentiated by the number of simultaneously movable axis and by controlling points. are equally used. NC A Numerical Control (NC). 25 . Post processor The postprocessor is responsible for creating the correct CNC code.