ggcad.1.5.4.en

Upload: asritaip

Post on 04-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 ggcad.1.5.4.en

    1/34

    GGCad, fast and easy CNC.

    User manualV1.5.4 - 20/06/2010

    GGCad 1/34

  • 7/29/2019 ggcad.1.5.4.en

    2/34

    Index

    1.Introduction.........................................................................................................32.Interface.............................................................................................................33.Tool strips............................................................................................................44.Keyboard short-cuts..............................................................................................7

    5.Document............................................................................................................76.Preferences........................................................................................................107.G-Code and Ninos post-processor.........................................................................128.DXF and HPGL Post-processor...............................................................................139.Shapes..............................................................................................................1310.My first project.................................................................................................1511.Tools database..................................................................................................1612.Free drawing....................................................................................................1713.Pocketing tool path............................................................................................1814.Text path.........................................................................................................1815.Pocketing tool path with island selection...............................................................1916.Contour path....................................................................................................2017.Document........................................................................................................2018.Drawing tools...................................................................................................2119.Special functions...............................................................................................2120.External tools...................................................................................................2221.Custom tool path commands..............................................................................2322.File import.......................................................................................................2423.4th axe............................................................................................................2524.Special menu....................................................................................................2725.Modification of the post-pocessor commands........................................................3126.Electron, laser and other simple post-processor....................................................32

    GGCad 2/34

  • 7/29/2019 ggcad.1.5.4.en

    3/34

    1. Introduction

    GGCad is a software for g-code ( or iso ) generation. It is designed to be userfriendly. Its simplicity, compared to other software, renders it indispensable.You will control it fastly either in its CAD mode (Computer aided design) or in

    its CAM mode (Computer aided manufacturing).

    With its advanced CAD module, GGCad offers you traditional drawing tools thatyou can find in most of industrial softwares. You will thus be able to drawdifferent shapes such as points, lines, circles, arcs, ellipses, text and splines.Moreover, you will have the transformation tools such as rotation, symmetry,scale, translation. Its flexibility will allow your drawings to be managed easilyand rapidly.

    With its CAM module, you are able to create simple tool paths as well ascomplex tool paths (contours and pocketing). Its importing and exportingcapabilities, such as DXF and HPGL, allow you to work on your files that are

    already designed.

    GGCad has support for any type of font and writing, left to right, right to left aswell as Asian fonts.

    2. Interface

    The user interface is organised in three parts. On the top left hand corner, thereis a tree that represents levels, shapes and tool paths. On the bottom left handcorner, a property window gives access to level and shape parameters. Theright side of the screen is the space designed for drawing.

    GGCad 3/34

  • 7/29/2019 ggcad.1.5.4.en

    4/34

    3. Tool strips

    The horizontal tool strip bar contains general tools.

    New document

    Open document

    Save document

    Cut

    Copy

    Paste

    New level

    Reverse shape direction

    Move up level or shape process order

    Move down level or shape process order

    Run the post-processor

    Undo

    Redo

    Zoom area

    Zoom 1:1

    Zoom in the display area

    Delete shape or level

    Enable/disable mouse magnet

    Display grid

    Display arrows representing moving direction

    Select current level shapes

    Open special selection dialogue box

    Convert a text in splines (curves )

    Display only the current level

    Display all levels

    Open the machining calculator

    GGCad 4/34

  • 7/29/2019 ggcad.1.5.4.en

    5/34

    The vertical tool strip contents for CAD and CAM tools.

    Selection mode

    Point Drill

    Line

    Tangent

    Circle from centre

    Circle from 3 points

    Arc from centre

    Arc from 3 points

    Ellipse from centre

    Ellipse from 3 points

    Curve polygon

    Text

    Pocketing tool path

    Pocketing tool path, Island manual selection

    Inside contour tool path

    Outside contour tool path

    Bull nose

    Bevelled edge

    Vertical distance

    Horizontal distance

    Joint next

    Divide

    Symmetry

    Rotation

    Polar duplication

    Scale

    Offset

    Recursive offset

    Translation

    GGCad 5/34

  • 7/29/2019 ggcad.1.5.4.en

    6/34

    Organise path

    Reverse path

    Close paths

    Move origin

    4. Keyboard short-cuts

    Space : display, hide left window

    + : increase the zoom factor

    - : decrease the zoom factor

    Ctrl + m : merge shapes

    Ctrl + o : explode a spline or a polygon into linesCtrl + u : move shape or level up into the tree

    Ctrl + d : move shape or level down into the tree

    Ctrl + t : move shape or level to the top into the tree

    Ctrl + b : move shape or level to the bottom into the tree

    Ctrl + s : save document

    Ctrl + c : copy shapes

    Ctrl + v : paste shapes

    Ctrl + x : cut shapesDel : delete shapes

    F5 : Generate post-processor

    F6 : Update tool paths

    GGCad 6/34

  • 7/29/2019 ggcad.1.5.4.en

    7/34

    5. Document

    Document properties can be modified through the menu [Project][Properties].

    Common project properties :

    Measure unit: millimetre or inch.

    Dimensions axe X and axe Y : just to facilitate displaying.

    Offset X Y: Allows offset displaying.

    Post-processor: post-processor selection

    G-Code or iso (EMC2, Mach3, Galaad...).

    DXF.

    HPGL (plot files).

    Ninos

    Create a file for each tool: Each time the tool is changed, the post-processor creates a new file.

    Output file: By default, the output file is created in the document folderwith the post-processor extension. For example, [sample.ggd] will give[sample.nc]. This device allows to change the output file.

    Author: Left to user.

    Comment: Left to user.

    GGCad 7/34

  • 7/29/2019 ggcad.1.5.4.en

    8/34

    Post-generation even: Add a command line to be called after thegeneration. {out} will be replaced with output file path.

    Example :

    c:\windows\notepad.exe {out}

    Open output file with the windows notepad

    4th axe name : if the project needs a 4th rotative axe.

    [A] diameter axe : Diameter of the circle described by the objectrotation.

    Button [Cylindrical axe] : see Chapter 21.

    The 3 project types :

    Router/mill

    Allows stopping coolant during rapid movement.

    Plasma

    Offset plasma starting: Allows to start next to the tool path to avoid burr.

    Tempo: Add tempo during arc torch starting. Be careful following the

    controller software! If the controller is configured in milliseconds, youhave to set 2000 for 2 seconds.

    Start command: plasma arc starting.

    Stop command: plasma arc stop.

    Enable start height: Allows for a specific height at the start. For example,bring the torch to 0.5 mm for torch arc starting, then bring it back to 1mm (tool path height), and carry on.

    GGCad 8/34

  • 7/29/2019 ggcad.1.5.4.en

    9/34

    Turn

    Turn reference: Coordinates are computed in radius or diameter.

    Reverse arcs: following controllers, allows to reverse arc direction duringgeneration.

    Origin at end face:

    When creating a new document, all the above indicated parameters are set by

    default with [Preferences] dialogue box data. To change them, open menu[Options][Preferences].

    GGCad 9/34

  • 7/29/2019 ggcad.1.5.4.en

    10/34

    6. Preferences

    Default file extension: if no extension is defined in the post-processor,GGCad will use this extension.

    Language: user interface language.

    Default unit: unit used for new document.

    Open last document: to open automatically last opened document whenGGCad starts.

    Back colour: document background colour.

    Display axe offset: todisplay the offset axe in the document.

    Display grid: to display the grid.

    Grid interval: distance between 2 grid lines.

    Automatic saving: automatic saving at a certain predetermined period oftime.

    Check for updates: to check on internet for an update.

    GGCad 10/34

  • 7/29/2019 ggcad.1.5.4.en

    11/34

    Default parameters for a new level.

    Other tabs define default parameters when creating a new document.

    GGCad 11/34

  • 7/29/2019 ggcad.1.5.4.en

    12/34

    7. G-Code and Ninos post-processor

    G-Code properties defines several of options :

    Line numbers.

    Increment: to increment value for line numbers.

    Safe moving height: the tool will be brought to this position for rapidmovements.

    Spline accuracy : minimum distance between two movement.

    Start block: code bloc that will be added at the beginning of the file.

    End block: code bloc that will be added at the end of the file.

    Condensed: the code is condensed. If the code is not condensed, somecontrollers may get jerky.

    File extension: extension added to the end of the file. Mach3 defaultextension is [tap].

    Drilling diagonally: used to tell the post-processor to plunge along a ramp

    instead of vertically. Input the ramp angle. For hard material, mill toolsdoes not like vertical plunging.

    GGCad 12/34

  • 7/29/2019 ggcad.1.5.4.en

    13/34

    8. DXF and HPGL Post-processor

    9. Shapes

    Each shape has its own properties. It has a starting point and an ending point.The starting point is visualised with asmallred square. The circle,however, is aparticular case where its starting point will always be the extreme left point.

    The direction can be reversed with the icon

    The icon displays the process direction arrows.

    For each object, there exist thepossibility to specify code before Z movement[Pre-command] and code after movement [Post-command].

    Line: Point 1: starting coordinates.

    Point 2: ending coordinates. Length: line length. Angle: line angle with the horizontal line. Fluting in: to bring down the tool to the tool path height along a

    defined distance.

    GGCad 13/34

  • 7/29/2019 ggcad.1.5.4.en

    14/34

    Fluting out: Like fluting in but bringing up the tool.In the previous example, the tool goes down on 10 mm, works at thetool path height, then goes up for 10 mm.

    Point drill:

    The operation can be a drilling, right end taping,

    boring or null. The pause is the time the tool isleft down in the material. The back position is theposition the tool is lifted to remove shaving.

    Arc Centre: centre coordinates Point 1: start coordinates Point 2: end coordinates Radius: arc radius Rotation: rotation direction between points 1 et 2

    Ellipse Minor : minor axe Major: major axe Rotation: process direction

    Circle Centre : centre coordinates Radius : arc radius Rotation : process direction

    Curve Type: algorithm used to draw the curve

    Pocketing tool path Diameter: tool diameter Engagement: flute over pass ( ex : a 3 mm flute, with an engagement

    of 2.8 mm = over pass of 0.2 mm ) Outer edge: to generate contours Force clipping algorithm: see chapter 15 Process outers first: by default, it starts pocketing then the outers.

    Generally, better resultsare obtained. This feature allows to start withouters first.

    Pocketing tool path with island selection.Same as pocketing tool path. It specifies islands if automatic detectionfails.

    Outside contour tool path Offset plasma starting: the job starts next to the path Direction: to set the direction, clockwise or counter clockwise.

    Inside contour tool path.

    Same as outside but inside instead.

    GGCad 14/34

  • 7/29/2019 ggcad.1.5.4.en

    15/34

    10. My first project

    Your first document is made of an empty level. Levels and shapes can berenamed by selecting them, clicking with right mouse button or pressing [F2]key.

    Each level represents a job space, with its own parameters. The tree representsthe levels and shapes list.

    When generating G-Code, the post-processor willprocess levels and shapes in a sequential order. In theleft example, the orders will be processed as: line1 line2 line3 line4 circle1.

    Lines are coded with [Dfaut1] level properties. Thecircle is coded with [Dfaut2] level properties.

    Level properties are :

    Drawing colours

    Level visible or not

    Level will be generated or not

    Number or name of tool

    Feed rate

    Plung rate

    Final deep level

    Max tool height in material

    Z job position will start from this value

    Spindle rotation speed

    Spindle direction

    Cooling: none, flood coolant, mist cooling

    Constant velocity

    Tool will be left in low position during this time

    Lock level edition

    Tabs are created on closed figures to let theobject attached to its support. For exampleto avoid it to be aspired by the vacuum.

    GGCad 15/34

  • 7/29/2019 ggcad.1.5.4.en

    16/34

    The software philosophy is very simple. Draw a line: it is generated. Toseparate drafting and machining, you can block generation of the level with the[Generate] property. In previous example, if in [Default1], the [Generate]property is unchecked, only Circle1 will be generated.

    Properties for the tool can be manually set, or by means of the tool database. Ifa tool from the database is selected, [Feed rate], [Plung rate], [Max pass],[Spindle speed] fields will be automatically modified.

    11. Tools database

    First column is used to select tools to be deleted. [Name] column is the toolname which must be unique. Column [] stores the tool number. Thisnumberwhich will be generated by the post-processor. Column [] gives the tooldiameter. Column [Engagement] stores the max tool width which will be insidein the material. Example, if the diameter is 3 mm, and the engagement 2.8mm, the tool will pass over 0.2 mm from previous path between two parallelmovements.

    GGCad 16/34

  • 7/29/2019 ggcad.1.5.4.en

    17/34

    12. Free drawing

    To manufacture a drawing withoutusing tool path functions, do notforget to set the shapes' direction

    in the same way. By clicking in theicon , arrows that show theprocess direction will be

    displayed. When constructing aform, shapes' direction can beopposed. To get the sameorientation, use the tool [Organisepath] It will set all the shapeswith the same direction.

    After using it, the arrows show thatshapes have the same direction.Using [Reverse path], all directions

    are reversed.

    Blue arrows shows starting shapes,red arrows end shapes.

    GGCad 17/34

  • 7/29/2019 ggcad.1.5.4.en

    18/34

    13. Pocketing tool path

    Tool creation through menu [Tools][Tools database].

    Create a new document. Draw a square. Size does not matter. Uncheck the[Generate] level property. Create a new level. Select tool [6 mm wood]. Clickon [Pocketing path] and click on the square.

    14. Text path

    In order to process a created text with tool path functions, the texthas to be converted in curves with the tool [Convert to curves].

    GGCad 18/34

  • 7/29/2019 ggcad.1.5.4.en

    19/34

    15. Pocketing tool path with island selection

    Pocketing tool path uses a simple algorithm to detect island. It will as wellremove overlapped islands.

    In the left example, the orange island has beenremoved. To process it, you just need to create atool path for this orange island.

    Another example: in thiscase, the algorithm removesthe orange island. To forcethe selection of the orangeisland, use the [Pocketingtool path with islandselection] tool.

    Click on the exterior contour, then click on a shape of both islands with the

    [Control] key pressed on. Then click anywhere else in the document. Bothislands are processed.

    GGCad 19/34

  • 7/29/2019 ggcad.1.5.4.en

    20/34

    16. Contour path

    To process a contour path, select the appropriate tool. Outside or inside, andclick on a closed figure.

    To remove burrs due to

    plasma arc starting, adda plasma start offset.An arc or a line isautomatically added.

    If the clipping algorithm does not display anything, use the [Force clippingalgorithm] property.

    Left example shows a 24 mm width square. With a 18 mmdiameter flute, offsetting is not created (overlappingdetection).

    Forcing the algorithm will generate the tool path..

    17. Document

    Project menu allows several transformations on the whole document :

    Offset the document: If shapes are not centred in the document, this toolallows centring of all shapes with an offset added around.

    Change the document size : Allows to change the document size. Shapes willbe computed with the new scale.

    Rotate the document: to rotate all shapes. For example, to permute X and Yaxes, you just need to rotate the document to 90.

    Horizontal mirror : reverse the document upside down.

    Vertical mirror : reverse the document left to right.

    GGCad 20/34

  • 7/29/2019 ggcad.1.5.4.en

    21/34

    18. Drawing tools

    Symmetry: Allows duplication of shapes by symmetry. Create a symmetryaxe with a [Line] shape. Click on [Symmetry] tool. Select shapes toduplicate. Move mouse over symmetry axe and left click.

    Rotation: to duplicate shapes by rotating. Select shapes. Click on a referencepoint. Move the mouse and click left mouse button when you reach youraim.

    Polar duplication: to duplicate shapes several times around a virtual circle.Select shapes to be duplicated, then click on a [Point] or [Circle]. For the[Circle], its centre will be the reference point. A dialogue box is displayed.Enter the total number of duplication.

    Scale: Select shapes and click on the document. A dialogue box is displayedto input X scale and Y scale. For example, to double the scale, set 2 to bothaxes. To divide by 2, set 0.5 to both axes.

    Translation: Select shapes. Click on the reference point. A dialogue box isdisplayed. Set X and Y new coordinates corresponding to the point ofreference. Shapes will be moved following the new given information.

    Horizontal mirror : reverse selected shapes upside down.

    Vertical mirror : reverse selected shapes left to right.

    19. Special functions

    Optimise level to shortest path: GGCad reorganise shapes to get the shortestmovements.

    Change multiple tool path properties: to change simultaneously severalproperties of several tool paths through a dialogue box.

    Update all paths: paths are recomputed.

    Create path for each closed figure: Create a path for each closed figure withthe same tool path properties.

    Convert tool path to shapes : to convert a tool path to shapes. Afterwards,you may alter the tool path manually.

    Convert selected shapes into drills or circles: to convert all selected shapesinto circles or drills.

    Cut at intersections: Cut each shape at each intersection.

    Merge shapes: Merge lines and curves, or arcs.

    GGCad 21/34

  • 7/29/2019 ggcad.1.5.4.en

    22/34

    20. External tools

    The menu [Tools][External tools] opens the dialogue box to manage theexternal tools. It will create menus to access directly to other programs throughGGCad.

    GGCad creates automatically a shortcut to open the generated file. In theprevious example, a shortcut to CncSimulator is created to be runned through amenu in GGCad.

    The {out} code will be replaced by the generated output file path. The {ggd}code will be replaced by the currently edited file.

    Example :

    A program [cnc.exe] is opened with the cnc file as argument.

    Column [File]: c:\program files\cnc\cnc.exe

    Column [Arguments]: {out}

    GGCad 22/34

  • 7/29/2019 ggcad.1.5.4.en

    23/34

    21. Custom tool path commands

    The dialogue box is used to enter custom commands. These commands areaccessible from the tool path icon.

    Select the command in the [tool path] tool. Click on a shape. The enablecommand will be added to the [Pre-command] of the shape. Then GGCad willlook for the last linked shape, and add to it the disable command to its [Post-command] property.

    GGCad 23/34

  • 7/29/2019 ggcad.1.5.4.en

    24/34

    22. File import

    Coordinates file

    Open the dialogue box to import a coordinates file. The import can add

    coordinates to the document as a list of points, or as a curve (default algorithm

    used is Polygon). You can change it through the properties window. You canspecify whether the curve is an open curve or a closed curve.The file is a text file formatted as follows: each line is made of the Xcoordinates, a separator, Y coordinates. If the separator is the tabulation, justselect [Tabulation], or specify another separator by choosing [Other]. ex:

    1.00006;0.001340.99804;0.002000.99260;0.003720.98401;0.005940.97220;0.008660.95749;0.01168

    0.93979;0.014740.91895;0.01797

    Here the separator is ';'

    GGCad 24/34

  • 7/29/2019 ggcad.1.5.4.en

    25/34

    1.00006 0.001340.99804 0.002000.99260 0.003720.98401 0.005940.97220 0.008660.95749 0.011680.93979 0.014740.91895 0.01797

    Here the separator is a space.

    DXF, HPGL, SVG

    Importing is automatic. No parameters.

    23. 4th axe

    Cylinder engraving

    To engrave on a cylinder, simply untie the surface of the cylinder on thedocument. On the document property window, a button [Cylindrical axe] allowsto compute the perimeter and set it to the axe. Perimeter = diameter*2*PI.

    In the post-processor, change the axe name to the one chosen : example [Y] in[A]

    The post-processor will replace [Y] with [A]. Example :

    G1 Z-1

    X20.1745 A230.0282

    X20.1745 A239.7648

    X17.457 A233.4678

    X14.89936 A233.4678

    Following example shows how to engrave every 45.

    GGCad 25/34

  • 7/29/2019 ggcad.1.5.4.en

    26/34

    Multiple faces

    To work on a multiple face object, the 4th

    axe has to be declared in the document

    properties, [4th

    Axe name]. Set thediameter which is materialised by thecircle that is around the object. Theorange circle shows the circle made by theobject when rotating.

    GGCad 26/34

  • 7/29/2019 ggcad.1.5.4.en

    27/34

    For a squared or rectangle object, the diameter ofthe circle is the diagonal length.

    To operate a rotation, set the [4th axe angle]property in the level properties. The angle is indegrees. The post-processor will move the axe insafe position before processing the level.

    Be careful with the tool heightand the height reference. Itmay end-up with a tool crash.

    24. Special menu

    Airfoil file

    Open the dialogue ox to import an airfoil. You can choose the profile in the list,or specify a new one. Next just enter the chord length of the wing. If youspecify a new file, it will be transferred into the database. The database islocated in the folder [c:\Program Files\ggcad\airfoils]. Each airfoil is stored in atext file. First line contents the airfoil description. Then each line contains the Xcoordinate, a space, the Y coordinate. The coordinates are computed in the file

    to have a chord of 1.

    GGCad 27/34

  • 7/29/2019 ggcad.1.5.4.en

    28/34

    Example :

    NACA 231121.0000000 0.00125900.9993370 0.00136660.9973499 0.00167870.9940439 0.00219630.9894279 0.00291590.9835139 0.00383250.9763177 0.00493970.9678584 0.00623040.9581585 0.00769580.9472436 0.00932660.9351426 0.01111260.9218878 0.01304300.9075142 0.01510610.8920599 0.01729030.8755660 0.0195833

    0.8580761 0.02197270.8396367 0.0244455...

    Spur gear

    Create a spur gear. The 3 parametersto set are the pitch, the teethnumber and the pressure angle.Parameters [Primitive parameter]and [Outside parameter] can becorrected with the values [1] et [3].The [Dedendum] gives the toothheight. Generally 1,25 modules from0.25 to 1.25, and 1.40 for modules

    from 1.50 to 8. [Boring] is the centrediameter.

    GGCad 28/34

  • 7/29/2019 ggcad.1.5.4.en

    29/34

    Parameter [Display circles] add construction circles.

    [Spokes] set the number of wheel spokes to create. [Spokes boring] is thedistance between the centre circle, the spokes and the root circle.

    GGCad 29/34

  • 7/29/2019 ggcad.1.5.4.en

    30/34

    Wheel spokes

    Allows creating wheel spokes, following 2 circles. Select 2 circles. The dialogue

    box will be setted with the centre and the 2 diameters. Then set spokes numberand boring.

    Frame

    Add a frame around the document.

    Polygon centre of gravity

    Add a point at the gravity centre of a polygon

    GGCad 30/34

  • 7/29/2019 ggcad.1.5.4.en

    31/34

    25. Modification of the post-pocessor commands

    Open the post-processor properties and click on following button :

    This open the mapping commands file. You can modify values between .

    G0 = "G0" // rapid motion

    G1 = "G1" // linear motion

    G2 = "G2" // CW circular motion

    G3 = "G3" // CCW circular motion

    G4 = "G4" // Dwell

    G73 = "G73" // Drilling Cycle with Chip Breaking

    G81 = "G81" // Drilling

    G82 = "G82" // Drilling Cycle with Dwell

    G83 = "G83" // Peck Drilling

    G84 = "G84" // Right-Hand Tapping

    G85 = "G85" // Boring, No Dwell, Feed Out

    G86 = "G86" // Boring, Spindle Stop, Rapid Out

    G98 = "G98" // Canned Cycle Return Level

    G90 = "G90" // Absolute Distance Mode

    G94 = "G94" // Units per Minute Mode

    G20 = "G20" // Inch

    G21 = "G21" // Millimeter

    G61 = "G61" // Exact Path Mode

    G64 = "G64" // Best Possible Speed

    PAUSE = "P" // Best Possible Speed

    RETRACT = "R" // Retract position

    TOOL = "T" // tool number

    SPINDLE = "S" // Spindle speedM0 = "M00" // Program break

    M6 = "M6" // tool change

    M3 = "M3" // start spindle CW

    M4 = "M4" // start spindle CCW

    M5 = "M5" // stop spindle

    M2 = "M2" // program stop

    M8 = "M8" // Mist coolant

    M7 = "M7" // Flood coolant

    M9 = "M9" // Stop coolant

    OC = "(" // open comment

    CC = ")" // close comment

    CRLF = "\r\n" // line return

    GGCad 31/34

  • 7/29/2019 ggcad.1.5.4.en

    32/34

    26. Electron, laser and other simple post-processor

    Some CNC like electron or laser manages feed rates, plunge rates, etc,automatically. To remove the output of these codes, open document properties.In the [Router/mill] tab, uncheck the parameters. To get these parameters

    always unchecked, uncheck them in the [Options][Preferences] dialogue box.The post-processor allows as well to remove comments and add program stopbetween every rapid movement. For example electron machines that do nothave automatic plunge.

    Example :

    %

    G00X0Y0

    M00

    G42

    G01Y7.5499?9

    G01X6.0499?9

    G02X7.5499?9Y6.0499?9I0J-1.5G01Y-6.0499?9

    G02X6.0499?9Y-7.5499?9I-1.5J0

    G01X-6.0499?9

    G02X-7.5499?9Y-6.0499?9I0J1.5

    G01Y6.0499?9

    G02X-6.0499?9Y7.5499?9I1.5J0

    G01X0.680996

    G01X0.647938Y6.238705

    G40

    M00

    G00X0Y40

    M00

    G42

    G01Y27.8

    G02X-5.886654Y32.63926I0J6

    G03X-7.081949Y35.02371I-4.905544J-0.967278

    G03X-8.063316Y35.32431I-0.742052J-0.670341

    G01X-9.276314Y35.02533

    G03X-10.00558Y34.3031I0.239317J-0.97094

    G03X-9.955853Y31.6363I4.842886J-1.243568

    G02X-20.38059Y26.16497I-5.751791J-1.707886

    G03X-22.54709Y27.72081I-3.894131J-3.136204

    G03X-23.55?74Y27.53091I-0.345526J-0.938408

    G01X-24.49085Y26.70247

    G03X-24.80095Y25.72407I0.663122J-0.748508G03X-23.51759Y23.38584I4.866077J1.149475

    G02X-30.20559Y13.69659I-4.299265J-4.185249

    G03X-32.84695Y14.06741I-1.990612J-4.586658

    G03X-33.65182Y13.43052I0.130146J-0.991497

    G01X-34.09483Y12.2624

    G03X-33.91471Y11.25196I0.935017J-0.354607

    G03X-31.69173Y9.77?962I3.774508J3.27919

    G02X-33.11084Y-1.909504I-1.861826J-5.703823

    G03X-35.62199Y-2.808674I0.368919J-4.986372

    G03X-36.03868Y-3.746651I0.576015J-0.81744

    G01X-35.88?1Y-4.986841

    G03X-35.25903Y-5.79784I0.99271J0.120537

    G03X-32.60568Y-6.069925I1.818245J4.65768

    G02X-28.43081Y-17.07816I1.002131J-5.91572

    G03X-30.23645Y-19.04132I2.64395J-4.243763

    GGCad 32/34

  • 7/29/2019 ggcad.1.5.4.en

    33/34

    G03X-30.16951Y-20.06551I0.889917J-0.456121

    G01X-29.45983Y-21.09366

    G03X-28.52594Y-21.51942I0.822983J0.568066

    G03X-26.05006Y-20.52727I-0.554554J4.969152

    G02X-17.23761Y-28.33442I3.636517J-4.772394

    G03X-17.9241Y-30.91183I4.313279J-2.528959

    G03X-17.388?7Y-31.78759I0.99?952J0.009689

    G01X-16.28267Y-32.36817G03X-15.25788Y-32.311?6I0.464724J0.885456

    G03X-13.52669Y-30.28206I-2.800316J4.14225

    G02X-2.09549Y-33.09959I5.437819J-2.535774

    G03X-1.505562Y-35.70081I4.994484J-0.234806

    G03X-0.624649Y-36.22753I0.880913J0.473282

    G01X0.624649

    G03X1.505562Y-35.70081I0J1

    G03X2.09549Y-33.0996I-4.404556J2.366409

    G02X13.52669Y-30.28206I5.993381J0.281765

    G03X15.25788Y-32.311?6I4.531513J2.113142

    G03X16.28267Y-32.36817I0.560066J0.828449

    G01X17.388?7Y-31.78759

    G03X17.9241Y-30.91183I-0.464722J0.885456G03X17.23761Y-28.33442I-4.99?768J0.048454

    G02X26.05006Y-20.52727I5.175934J3.034752

    G03X28.52594Y-21.51942I3.030434J3.976995

    G03X29.45983Y-21.09366I0.110909J0.993832

    G01X30.16951Y-20.06551

    G03X30.23645Y-19.04132I-0.822983J0.568066

    G03X28.43081Y-17.07816I-4.449593J-2.280605

    G02X32.60568Y-6.069925I3.172745J5.092514

    G03X35.25904Y-5.797836I0.835106J4.929765

    G03X35.88?1Y-4.986839I-0.363647J0.931532

    G01X36.03868Y-3.746651

    G03X35.62198Y-2.808674I-0.992714J0.120537G03X33.11084Y-1.909504I-2.880066J-4.087202

    G02X31.69173Y9.77?962I0.442719J5.983643

    G03X33.91471Y11.25196I-1.551521J4.753185

    G03X34.09482Y12.2624I-0.754906J0.655838

    G01X33.65183Y13.43052

    G03X32.84696Y14.0674I-0.93502J-0.354607

    G03X30.20559Y13.69659I-0.650757J-4.957466

    G02X23.51759Y23.38584I-2.388733J5.503994

    G03X24.80095Y25.72407I-3.582718J3.487709

    G03X24.49085Y26.70248I-0.973217J0.229897

    G01X23.55?74Y27.53091

    G03X22.54708Y27.72081I-0.663124J-0.748508

    G03X20.3806Y26.16497I1.727638J-4.692043

    G02X9.955853Y31.6363I-4.672951J3.763447

    G03X10.00557Y34.3031I-4.793164J1.423233

    G03X9.276314Y35.02533I-0.968575J-0.248711

    G01X8.063316Y35.32431

    G03X7.081951Y35.02371I-0.239316J-0.97094

    G03X5.886654Y32.63926I3.710247J-3.351723

    G02X-0.949841Y27.87566I-5.886654J1.160736

    G01X-0.903107Y28.87457

    G40

    %

    Here comments are removed, and stop command is added between every rapidmovement.

    GGCad 33/34

  • 7/29/2019 ggcad.1.5.4.en

    34/34

    Following is the modified g-code mapping file :

    G0 = "G00" // rapid motion

    G1 = "G01" // linear motion

    G2 = "G02" // CW circular motion

    G3 = "G03" // CCW circular motion

    G4 = "G04" // Dwell

    G73 = "G73" // Drilling Cycle with Chip BreakingG81 = "G81" // Drilling

    G82 = "G82" // Drilling Cycle with Dwell

    G83 = "G83" // Peck Drilling

    G84 = "G84" // Right-Hand Tapping

    G85 = "G85" // Boring, No Dwell, Feed Out

    G86 = "G86" // Boring, Spindle Stop, Rapid Out

    G98 = "G98" // Canned Cycle Return Level

    G90 = "" // Absolute Distance Mode

    G94 = "" // Units per Minute Mode

    G20 = "" // Inch

    G21 = "" // Millimeter

    G61 = "" // Exact Path Mode

    G64 = "" // Best Possible Speed

    PAUSE = "P" // Best Possible Speed

    RETRACT = "R" // Retract position

    TOOL = "T" // tool number

    SPINDLE = "S" // Spindle speed

    M0 = "M00" // Program break

    M6 = "M6" // tool change

    M3 = "M3" // start spindle CW

    M4 = "M4" // start spindle CCW

    M5 = "M5" // stop spindle

    M2 = "%" // program stop

    M8 = "M8" // Mist coolant

    M7 = "M7" // Flood coolantM9 = "M9" // Stop coolant

    OC = "(" // open comment

    CC = ")" // close comment

    CRLF = "\r\n" // line return

    SL = "%" // start line

    EL = "%" // end line

    You can go to a new line by inserting "{crlf}" in the command.

    Example : SL = "%{crlf}%"

    Output :

    %

    %