CNC 8055 ·M· & ·EN· - Fagorautomation

Transcription

CNC8055·M· & ·EN·Programming manualRef.1711Soft: V02.2x

DUAL-USE PRODUCTSProducts manufactured by FAGOR AUTOMATION since April 1st 2014 willinclude "-MDU" in their identification if they are included on the list of dual-useproducts according to regulation UE 428/2009 and require an export licensedepending on destination.All rights reserved. No part of this documentation may be transmitted,transcribed, stored in a backup device or translated into another languagewithout Fagor Automation’s consent. Unauthorized copying or distributing of thissoftware is prohibited.It is possible that CNC can execute more functions than those described in itsassociated documentation; however, Fagor Automation does not guarantee thevalidity of those applications. Therefore, except under the express permissionfrom Fagor Automation, any CNC application that is not described in thedocumentation must be considered as "impossible". In any case, FagorAutomation shall not be held responsible for any personal injuries or physicaldamage caused or suffered by the CNC if it is used in any way other than asexplained in the related documentation.The information described in this manual may be subject to changes due totechnical modifications. Fagor Automation reserves the right to change thecontents of this manual without prior notice.The content of this manual and its validity for the product described here has beenverified. Even so, involuntary errors are possible, hence no absolute match isguaranteed. However, the contents of this document are regularly checked andupdated implementing the necessary corrections in a later edition. We appreciateyour suggestions for improvement.All the trade marks appearing in the manual belong to the corresponding owners.The use of these marks by third parties for their own purpose could violate therights of the owners.The examples described in this manual are for learning purposes. Before usingthem in industrial applications, they must be properly adapted making sure thatthe safety regulations are fully met.This product uses the following source code, subject to the terms of the GPL license. The applications busybox V0.60.2;dosfstools V2.9; linux-ftpd V0.17; ppp V2.4.0; utelnet V0.1.1. The librarygrx V2.4.4. The linux kernel V2.4.4. The linux bootppcboot V1.1.3. If you would like to have a CD copy of this source code sent to you, send 10 Euros to Fagor Automationfor shipping and handling.

P r o gr a m m i ng m a n u a lINDEXAbout the product . 9Declaration of conformity and Warranty conditions . 11Version history . 13Safety conditions . 17Returning conditions . 21Additional notes . 23Fagor documentation. 25CHAPTER 1GENERAL CONCEPTS1.11.1.11.21.3CHAPTER 2CREATING A PROGRAM2.12.1.12.1.22.1.32.2CHAPTER 3Axis nomenclature . 40Axis selection . 41Plane selection (G16, G17, G18, G19) . 42Part dimensioning. Millimeters (G71) or inches (G70) . 44Absolute/incremental programming (G90, G91) . 45Coordinate programming . 46Cartesian coordinates . 47Polar coordinates . 48Cylindrical coordinates . 50Angle and Cartesian coordinate. 51Rotary axes. 52Work zones . 53Definition of the work zones . 53Using the work zones. 54REFERENCE SYSTEMS4.14.24.34.44.4.14.4.24.5CHAPTER 5Program structure at the CNC . 34Block header . 34Program block . 35End of block . 36Local subroutines within a program . 37AXES AND COORDINATE 3.73.7.13.7.2CHAPTER 4Part programs . 28Considerations regarding the Ethernet connection . 30DNC connection. 31Communication protocol via DNC or peripheral device . 32Reference points. 55Machine reference (Home) search (G74) . 56Programming with respect to machine zero (G53) . 57Coordinate preset and zero offsets. 58Coordinate preset and S value limitation (G92) . 59Zero offsets (G54.G59 and G159) . 60Polar origin preset (G93). 64ISO CODE reparatory functions. 66Feedrate F . 69Feedrate in mm/min or inches/min (G94). 70Feedrate in mm/rev.or inches/rev (G95) . 71Constant surface speed (G96) . 72Constant tool center speed (G97) . 73Spindle turning speed (S) . 74Spindle selection (G28, G29). 75Synchronized spindles (G30, G77S, G78S) . 76Tool number (T) and tool offset (D). 77CNC 8055CNC 8055iSOFT: V02.2X·3·

Prog ramm in g man u a HAPTER 6PATH 6.146.156.166.16.16.17CHAPTER 7CHAPTER 9SOFT: V02.2X·4·Interruption of block preparation (G04) . 109G04 K0: Block preparation interruption and coordinate update . 111Dwell (G04 K) . 112Working with square (G07) and round (G05,G50) corners . 113G07 (square corner). 113G05 (round corner) . 114Controlled round corner (G50) . 115Look-ahead (G51). 116Advanced look-ahead algorithm (integrating Fagor filters) . 118Look-ahead operation with Fagor filters active . 119Mirror image (G10, G11. G12, G13, G14) . 120Scaling factor (G72). 121Scaling factor applied to all axes. . 122Scaling factor applied to one or more axes. 123Pattern rotation (G73) . 125Electronic axis coupling/uncoupling. 127Electronic axis coupling, slaving, (G77) . 128Cancellation of the electronic axis coupling, slaving, (G78). 129Axes toggle G28-G29 . 130TOOL COMPENSATION8.18.1.18.1.28.1.38.1.48.28.3CNC 8055CNC 8055iRapid traverse (G00) . 85Linear interpolation (G01) . 86Circular interpolation (G02, G03) . 87Circular interpolation with absolute arc center coordinates (G06) . 92Arc tangent to previous path (G08). 93Arc defined by three points (G09). 94Helical interpolation . 95Tangential entry at the beginning of a machining operation (G37) . 96Tangential exit at the end of a machining operator (G38) . 97Automatic radius blend (G36) . 98Chamfer (G39) . 99Threading (G33) . 100Variable pitch threads (G34) . 102Move to hardstop (G52) . 103Feedrate "F" as an inverted function of time (G32). 104Tangential control (G45) . 105Considerations about the G45 function. 107G145. Temporary cancellation of tangential control . 108ADDITIONAL PREPARATORY 27.57.67.6.17.6.27.77.87.8.17.8.27.9CHAPTER 8Auxiliary function (M) . 78M00. Program stop . 79M01. Conditional program stop. 79M02. End of program . 79M30. End of program with return to the first block . 79M03, M4, M5. Spindle start and stop . 79M06. Tool change code . 81M19. Spindle orientation . 82M41, M42, M43, M44. Spindle gear change . 83M45. Auxiliary spindle / Live tool. 84Tool radius compensation (G40, G41, G42) . 132Beginning of tool radius compensation . 133Sections of tool radius compensation . 136Cancellation of tool radius compensation . 137Change of type of radius compensation while machining . 143Tool length compensation (G43, G44, G15) . 144Collision detection (G41 N, G42 N) . 146CANNED CYCLES9.19.29.2.19.39.49.59.69.6.1Canned cycle definition. 148Influence zone of a canned cycle . 149G79. Modification of the canned cycle parameters . 150Canned cycle cancellation . 152Some general points to consider . 153Machining canned cycles. 154G69. Drilling canned cycle with variable peck . 157Basic operation . 159

P r o gr a m m i ng m a n u a .17.19.189.18.1CHAPTER 10MULTIPLE 0.510.5.110.610.6.1CHAPTER 11G81. Drilling canned cycle . 162Basic operation . 163G82. Drilling canned cycle with dwell. 165Basic operation . 166G83. Deep-hole drilling canned cycle with constant peck. 168Basic operation . 170G84. Tapping canned cycle . 172Basic operation . 174G85. Reaming canned cycle. 177Basic operation . 178G86. Boring cycle with withdrawal in G00. 179Basic operation . 181G87. Rectangular pocket canned cycle. . 182Basic operation . 185G88. Circular pocket canned cycle . 188Basic operation . 192G89. Boring cycle with withdrawal at work feedrate (G01) . 194Basic operation . 195G210. Bore milling canned cycle . 196Basic operation . 198G211. Inside thread milling cycle . 199Basic operation . 201G212. Outside thread milling cycle . 202Basic operation . 204G60: Multiple machining in a straight line . 206Basic operation . 207G61: Multiple machining in rectangular pattern . 208Basic operation . 210G62: Multiple machining in grid pattern . 211Basic operation . 213G63: Multiple machining in a circular pattern. 214Basic operation . 216G64: Multiple machining in an arc. 217Basic operation . 219G65: Machining programmed with an arc-chord. 220Basic operation . 221IRREGULAR POCKET CANNED CYCLE11.12D pockets . 22511.1.1Drilling operation . 22811.1.2Roughing operation. 22911.1.3Finishing operation. 23211.1.4Profile programming syntax . 23411.1.5Profile intersection. 23511.1.6Profile programming syntax . 23911.1.7Errors . 24111.1.8Programming examples . 24311.23D pockets . 24611.2.1Roughing operation. 25011.2.2Semi-finishing operation. 25311.2.3Finishing operation. 25511.2.4Geometry of the contours or profiles. 25811.2.5Profile programming syntax . 25911.2.6Composite 3D profiles. 26411.2.7Profile stacking. 26711.2.8Profile programming syntax . 26811.2.9Programming examples . 27011.2.10 Errors . 282CHAPTER robing (G75, G76). 286Probing canned cycles. 287PROBE 1. Tool length calibrating canned cycle . 288Calibrate the length or measure the length wear of a tool. . 290Calibrate the radius or measure the radius wear of a tool . 293Measure or calibrate the tool radius wear and tool length wear. 295PROBE 2. Probe calibration canned cycle. . 298Basic operation . 300CNC 8055CNC 8055iSOFT: V02.2X·5·

Prog ramm in g man u a l12.5PROBE 3. Surface measuring canned cycle . 30212.5.1Basic operation . 30412.6PROBE 4. Outside corner measuring canned cycle . 30612.6.1Basic operation . 30712.7PROBE 5. Inside corner measuring canned cycle. 30912.7.1Basic operation . 31012.8PROBE 6. Angle measuring canned cycle . 31212.8.1Basic operation . 31312.9PROBE 7. Corner and angle measuring canned cycle. 31512.9.1Basic operation (measuring an outside corner) . 31612.9.2Basic operation (measuring an inside corner) . 31812.10 PROBE 8. Hole measuring cycle. 32012.10.1 Basic operation . 32112.11 PROBE 9. Boss measuring cycle . 32312.11.1 Basic operation . 32412.12 PROBE 10. Rectangular part centering canned cycle . 32612.12.1 Basic operation . 32812.13 PROBE 11. Circular part centering canned cycle. 32912.13.1 Basic operation . 33112.14 PROBE 12. Tabletop probe calibration. 332CHAPTER 13HIGH-LEVEL LANGUAGE PROGRAMMING13.1Lexical description . 33713.2Variables. 33913.2.1General purpose parameters or variables . 34013.2.2Variables associated with tools. 34213.2.3Variables associated with zero offsets. . 34513.2.4Variables associated with function G49 . 34713.2.5Variables associated with machine parameters. 34913.2.6Variables associated with work zones . 35013.2.7Variables associated with feedrates . 35113.2.8Variables associated with coordinates . 35313.2.9Variables associated with electronic handwheels . 35613.2.10 Variables associated with feedback . 35813.2.11 Variables associated with the main spindle . 35913.2.12 Variables associated with the second spindle . 36213.2.13 Variables associated with the live tool . 36513.2.14 PLC related variables. 36613.2.15 Variables associated with local parameters . 36813.2.16 Sercos variables . 36913.2.17 Software & hardware configuration variables . 37013.2.18 Variables associated with telediagnosis . 37313.2.19 Operating-mode related variables. 37613.2.20 Other variables. 38013.3CONSTANTS. 38913.4Operators . 39013.5Expressions . 39213.5.1Arithmetic expressions . 39213.5.2Relational expressions . 393CHAPTER 14CNC 8055CNC 8055iSOFT: V02.2X·6·PROGRAM CONTROL 14.914.10Assignment in

Programming manual CNC 8055 CNC 8055i