Table of Contents

Advertisement

Quick Links

CNC
8055
·M· & ·EN·
Programming manual
Ref.1711
Soft: V02.2x

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 8055 M and is the answer not in the manual?

Questions and answers

Summary of Contents for Fagor 8055 M

  • Page 1 8055 ·M· & ·EN· Programming manual Ref.1711 Soft: V02.2x...
  • Page 2 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 boot ppcboot V1.1.3. If you would like to have a CD copy of this source code sent to you, send 10 Euros to Fagor Automation...
  • Page 3: Table Of Contents

    Declaration of conformity and Warranty conditions ..............11 Version history ..........................13 Safety conditions ........................17 Returning conditions ........................21 Additional notes .......................... 23 Fagor documentation........................25 CHAPTER 1 GENERAL CONCEPTS Part programs ........................ 28 1.1.1 Considerations regarding the Ethernet connection ............ 30 DNC connection......................
  • Page 4 7.3.3 Controlled round corner (G50) ................. 115 Look-ahead (G51)......................116 7.4.1 Advanced look-ahead algorithm (integrating Fagor filters) ........118 7.4.2 Look-ahead operation with Fagor filters active ............119 Mirror image (G10, G11. G12, G13, G14) ..............120 Scaling factor (G72)..................... 121 7.6.1...
  • Page 5 P r o gr a m m i ng m a n u a l G81. Drilling canned cycle ................... 162 9.7.1 Basic operation ......................163 G82. Drilling canned cycle with dwell................165 9.8.1 Basic operation ......................166 G83. Deep-hole drilling canned cycle with constant peck..........168 9.9.1 Basic operation ......................
  • Page 6 Prog ramm in g man u a l 12.5 PROBE 3. Surface measuring canned cycle ............... 302 12.5.1 Basic operation ......................304 12.6 PROBE 4. Outside corner measuring canned cycle ............ 306 12.6.1 Basic operation ......................307 12.7 PROBE 5. Inside corner measuring canned cycle............309 12.7.1 Basic operation ......................
  • Page 7 P r o gr a m m i ng m a n u a l CHAPTER 15 COORDINATE TRANSFORMATION 15.1 Movement in an inclined plane ..................424 15.1.1 Definition of the inclined plane (G49) ............... 425 15.1.2 G49 in swinging spindles ..................430 15.1.3 G49 on Huron type spindles..................
  • Page 8 Prog ramm in g man u a l CNC 8055 CNC 8055i : V02.2 ·8·...
  • Page 9: About The Product

    - - - Remote CAN modules, for digital I/O expansion (RIO). Option Option - - - Sercos servo drive system for Fagor servo drive connection. - - - Option - - - CNC 8055 CAN servo drive system for Fagor servo drive connection.
  • Page 10 SOFTWARE OPTIONS OF THE 8055 AND 8055I CNCS. Model Number of axes with standard software Number of axes with optional software ----- 4 or 7 4 or 7 4 or 7 Electronic threading ----- Stand. Stand. Stand. Stand. Stand. Stand. Stand. Tool magazine management: ----- Stand.
  • Page 11: Declaration Of Conformity And Warranty Conditions

    DECLARATION OF CONFORMITY AND WARRANTY CONDITIONS DECLARATION OF CONFORMITY The declaration of conformity for the CNC is available in the downloads section of FAGOR’S corporate website at http://www.fagorautomation.com. (Type of file: Declaration of conformity). WARRANTY TERMS The warranty conditions for the CNC are available in the downloads section of FAGOR’s corporate website at http://www.fagorautomation.com.
  • Page 12 CNC 8055 CNC 8055i ·12·...
  • Page 13: Version History

    VERSION HISTORY Here is a list of the features added in each software version and the manuals that describe them. The version history uses the following abbreviations: INST Installation manual Programming manual Operating manual OPT-MC Operating manual for the MC option. OPT-TC Operating manual for the TC option.
  • Page 14 Software V01.31 October 2011 List of features Manual CNC 8055 FL Engraving model INST / OPT/ PRG Software V01.40 January 2012 List of features Manual Execution of M3, M4 and M5 using PLC marks INST / PRG Values 12 and 43 of variable OPMODE in conversational work mode. INST / PRG Software V01.60 December 2013...
  • Page 15 Software V02.03 July 2014 List of features Manual Set PAGE and SYMBOL instructions support PNG and JPG/JPEG formats. New values for parameters MAXGEAR1..4 (P2..5), SLIMIT (P66), MAXSPEED (P0) and INST DFORMAT (P1). Software V02.10 November 2014 List of features Manual Incremental zero offset (G158).
  • Page 16 CNC 8055 CNC 8055i ·16·...
  • Page 17: Safety Conditions

    The unit can only be repaired by personnel authorized by Fagor Automation. Fagor Automation shall not be held responsible of any physical or material damage originated from not complying with these basic safety rules. PRECAUTIONS AGAINST PERSONAL HARM •...
  • Page 18 This unit is ready to be used in industrial environments complying with the directives and regulations effective in the European Community. Fagor Automation shall not be held responsible for any damage that could suffer or cause when installed under other conditions (residential or domestic environments).
  • Page 19 PROTECTIONS OF THE UNIT ITSELF (8055) • "Axes" and "Inputs-Outputs" modules. All the digital inputs and outputs have galvanic isolation via optocouplers between the CNC circuitry and the outside. They are protected by an external fast fuse (F) of 3.15 A 250V against overvoltage of the external power supply (over 33 Vdc) and against reverse connection of the power supply.
  • Page 20 PRECAUTIONS DURING REPAIRS Do not manipulate the inside of the unit. Only personnel authorized by Fagor Automation may access the interior of this unit. Do not handle the connectors with the unit connected to AC power. Before manipulating the connectors (inputs/outputs, feedback, etc.) make sure that the unit is not connected to AC power.
  • Page 21: Returning Conditions

    RETURNING CONDITIONS When sending the central nit or the remote modules, pack them in its original package and packaging material. If you do not have the original packaging material, pack it as follows: Get a cardboard box whose 3 inside dimensions are at least 15 cm (6 inches) larger than those of the unit itself.
  • Page 22 CNC 8055 CNC 8055i ·22·...
  • Page 23: Additional Notes

    FLASH COM1 NODE FAGOR To prevent electrical shock at the monitor of the 8055 CNC, use the proper mains AC connector (A) with 3-wire power cables (one of them for ground connection). Before turning on the monitor of the 8055 CNC and verifying that the external AC line (B) fuse of each unit is the right one.
  • Page 24 CNC 8055 CNC 8055i ·24·...
  • Page 25: Fagor Documentation

    FAGOR DOCUMENTATION OEM manual It is directed to the machine builder or person in charge of installing and starting-up the CNC. USER-M manual Directed to the end user. It describes how to operate and program in M mode. USER-T manual Directed to the end user.
  • Page 26 CNC 8055 CNC 8055i ·26·...
  • Page 27 GENERAL CONCEPTS The CNC may be programmed at the machine (from the front panel) and from a peripheral (computer). Memory available to the user for carrying out the part programs is 1 Mbyte. The part programs and the values in the tables which the CNC has can be entered from the front panel, from a pc (DNC) or from a peripheral.
  • Page 28: Part Programs

    Prog ramm in g man u a l Part programs The operating manual describes the different operating modes. Refer to that manual for further information. Editing a part-program To create a part-program, access the –Edit– mode. The new part-program edited is stored in the CNC's RAM memory. A copy of the part-programs may be stored in the hard disk (KeyCF) at a PC connected through the serial line or in the USB disk.
  • Page 29 P r o gr a m m i ng m a n u a l Operations that may be carried out with part-programs. Hard memory disk See the program directory of ... See the subroutine directory of ... Create the work directory from ... Change the work directory from ...
  • Page 30: Considerations Regarding The Ethernet Connection

    Prog ramm in g man u a l 1.1.1 Considerations regarding the Ethernet connection When configuring the CNC as another node in the computer network, the programs stored in the hard disk (KeyCF) may be edited and modified from any PC. Instructions for setting up a PC to access CNC directories To set up the PC to access the CNC directories, we recommend to proceed as follows.
  • Page 31: Dnc Connection

    P r o gr a m m i ng m a n u a l DNC connection The CNC offers as optional feature the possibility of working in DNC (Distributed Numerical Control), enabling communication between the CNC and a computer to carry out the following functions: •...
  • Page 32: Communication Protocol Via Dnc Or Peripheral Device

    (","). Example: %Fagor Automation, MX, RT • Following the header, the file blocks should be programmed. These will all be programmed according to the programming rules indicated in this manual. After each block, to separate it from the others, the RT (RETURN ) or LF (LINE FEED) characters should be used.
  • Page 33 CREATING A PROGRAM A CNC program consists of a series of blocks or instructions. These blocks or instructions are made of words composed of capital letters and numerical format. The CNC’s numerical format consists of : • The signs . (decimal points, + (plus), - (minus). •...
  • Page 34: Program Structure At The Cnc

    Prog ramm in g man u a l Program structure at the CNC All the blocks which make up the program have the following structure: Block header + program block + end of block 2.1.1 Block header The block header is optional, and may consist of one or more block skip conditions and by the block number or label.
  • Page 35: Program Block

    P r o gr a m m i ng m a n u a l 2.1.2 Program block This is written with commands in ISO and high level languages. To prepare a program, blocks written in both languages will be used, although each one should be edited with commands in just one language.
  • Page 36: End Of Block

    Prog ramm in g man u a l 2.1.3 End of block The end of block is optional and may consist of the indication of number of repetitions of the block and of the block comment. Both must be programmed in this order. Number of block repetitions.
  • Page 37: Local Subroutines Within A Program

    P r o gr a m m i ng m a n u a l Local subroutines within a program A subroutine is a part of a program which, being properly identified, can be called from any position of a program to be executed. Local subroutines may be defined within a program.
  • Page 38 Prog ramm in g man u a l Executing programs: (LL n) Call to a local subroutine. Parameters cannot be initialized with this command. (CALL n) Call to a local or global subroutine. Parameters cannot be initialized with this command. (PCALL n ...) Call to a global or local subroutine.
  • Page 39 AXES AND COORDINATE SYSTEMS Given that the purpose of the CNC is to control the movement and positioning of axes, it is necessary to determine the position of the point to be reached through its coordinates. The CNC allows you to use absolute, relative or incremental coordinates throughout the same program.
  • Page 40: Axis Nomenclature

    Prog ramm in g man u a l Axis nomenclature The axes are named according to DIN 66217. Characteristics of the system of axes: X and Y main movements on the main work plane of the machine. parallel to the main axis of the machine, perpendicular to the main XY plane. U, V, W auxiliary axes parallel to X, Y, Z respectively.
  • Page 41: Axis Selection

    P r o gr a m m i ng m a n u a l 3.1.1 Axis selection Of the 9 possible axes that may exist, the CNC allows the manufacturer to select up to 7 of them. Moreover, all the axes should be suitably defined as linear/rotary, etc. through the axis machine parameters which appear in the Installation and Start-up Manual.
  • Page 42: Plane Selection (G16, G17, G18, G19)

    Prog ramm in g man u a l Plane selection (G16, G17, G18, G19) Plane selection should be made when the following are carried out : • Circular interpolations. • Controlled corner rounding. • Tangential entry and exit. • Chamfer. •...
  • Page 43 P r o gr a m m i ng m a n u a l When radius compensation is done on the work plane, and length compensation on the perpendicular axis, the CNC does not allow functions G17, G18, and G19 if any one of the X, Y, or Z axes is not selected as being controlled by the CNC.
  • Page 44: Part Dimensioning. Millimeters (G71) Or Inches (G70)

    Prog ramm in g man u a l Part dimensioning. Millimeters (G71) or inches (G70) The CNC allows you to enter units of measurement with the programming, either in millimeters or inches. It has a general machine parameter "INCHES" to define the unit of measurement of the CNC. However, these units of measurement can be changed at any time in the program.
  • Page 45: Absolute/Incremental Programming (G90, G91)

    P r o gr a m m i ng m a n u a l Absolute/incremental programming (G90, G91) The CNC allows the programming of the coordinates of one point either with absolute G90 or incremental G91 values. When working with absolute coordinates (G90), the point coordinates refer to a point of origin of established coordinates, often the part zero (datum).
  • Page 46: Coordinate Programming

    Prog ramm in g man u a l Coordinate programming The CNC allows the selection of up to 7 of the 9 possible axes X, Y, Z, U, V, W, A, B, C. Each of these may be linear, linear to position only, normal rotary, rotary to position only or rotary with hirth toothing (positioning in complete degrees), according to the specification in the machine parameter of each "AXISTYPE"...
  • Page 47: Cartesian Coordinates

    P r o gr a m m i ng m a n u a l 3.5.1 Cartesian coordinates The Cartesian Coordinate System is defined by two axes on the plane, and by three or more axes in space. The origin of all these, which in the case of the axes X Y Z coincides with the point of intersection, is called Cartesian Origin or Zero Point of the Coordinate System.
  • Page 48: Polar Coordinates

    Prog ramm in g man u a l 3.5.2 Polar coordinates In the event of the presence of circular elements or angular dimensions, the coordinates of the different points on the plane (2 axes at the same time), it may be easier to express them in polar coordinates.
  • Page 49 P r o gr a m m i ng m a n u a l Incremental coordinates: ; Point P0 G91 G01 R100 ; Point P1, in a straight line (G01) ; Point P2, in an arc (G03) R-50 ; Point P3, in a straight line (G01) ;...
  • Page 50: Cylindrical Coordinates

    Prog ramm in g man u a l 3.5.3 Cylindrical coordinates To define a point in space, the system of cylindrical coordinates can be used as well as the Cartesian coordinate system. A point on this system would be defined by : The projection of this point on the main plane, which should be defined in polar coordinates (R Q).
  • Page 51: Angle And Cartesian Coordinate

    P r o gr a m m i ng m a n u a l 3.5.4 Angle and Cartesian coordinate A point on the main plane can be defined via one of its Cartesian coordinates, and the exit angle of the previous path. Example of programming assuming that the main plane is XY: ;...
  • Page 52: Rotary Axes

    Prog ramm in g man u a l Rotary axes The types of rotary axes available are: Normal rotary axis. Positioning-only rotary axis. Rotary HIRTH axis. Each one of them can be divided into: Rollover When it is displayed between 0º and 360º. Non Rollover When it may be displayed between -99999º...
  • Page 53: Work Zones

    P r o gr a m m i ng m a n u a l Work zones The CNC provides four work zones or areas, and also limits the tool movement in each of these. 3.7.1 Definition of the work zones Within each work zone, the CNC allows you to limit the movement of the tool on each axis, with upper and lower limits being defined in each axis.
  • Page 54: Using The Work Zones

    Prog ramm in g man u a l 3.7.2 Using the work zones Within each work zone, the CNC allows you to restrict the movement of the tool, either prohibiting its exit from the programmed zone (no exit zone) or its entry into the programmed zone (no entry zone).
  • Page 55: Reference Points

    REFERENCE SYSTEMS Reference points A CNC machine needs the following origin and reference points defined : • Machine Reference Zero or home. This is set by the manufacturer as the origin of the coordinate system of the machine. • Part zero or point of origin of the part. This is the origin point that is set for programming the measurements of the part.
  • Page 56: Machine Reference (Home) Search (G74)

    Prog ramm in g man u a l Machine reference (Home) search (G74) The CNC allows you to program the machine reference search in two ways : • Machine reference (home) search of one or more axes in a particular order. G74 is programmed followed by the axes in which you want to carry out the reference search.
  • Page 57: Programming With Respect To Machine Zero (G53)

    P r o gr a m m i ng m a n u a l Programming with respect to machine zero (G53) Function G53 can be added to any block that has path control functions. It is only used when the programming of block coordinates relating to machine zero is required. These coordinates should be expressed in millimeters or inches, depending on how the general machine parameter "INCHES"...
  • Page 58: Coordinate Preset And Zero Offsets

    Prog ramm in g man u a l Coordinate preset and zero offsets The CNC allows you to carry out zero offsets with the aim of using coordinates related to the plane of the part, without having to modify the coordinates of the different points of the part at the time of programming.
  • Page 59: Coordinate Preset And S Value Limitation (G92)

    P r o gr a m m i ng m a n u a l 4.4.1 Coordinate preset and S value limitation (G92) Via Function G92 one can select any value in the axes of the CNC, in addition to limiting the spindle speed.
  • Page 60: Zero Offsets (G54..G59 And G159)

    Prog ramm in g man u a l 4.4.2 Zero offsets (G54..G59 and G159) The CNC has a table of zero offsets, in which several zero offsets can be selected. The aim is to generate certain part zeros independently of the part zero active at the time. Access to the table can be obtained from the front panel of the CNC (as explained in the Operating Manual), or via the program using high-level language commands.
  • Page 61 P r o gr a m m i ng m a n u a l Using absolute zero offsets: ; Applies G54 offset Profile execution ; Executes profile A1 ; Applies G55 offset Profile execution ; Executes profile A2 ; Applies G56 offset Profile execution ;...
  • Page 62 Prog ramm in g man u a l G158 G158 G158 G54 (G159N1) G55 (G159N2) N100 G54 (It applies the first absolute zero offset) ··· (Machining of profile A1) N200 G158 Z-90 (Apply incremental zero offset) ··· (Machining of profile A2) N300 G55 (It applies the second absolute zero offset) (The incremental zero offset stays active)
  • Page 63 P r o gr a m m i ng m a n u a l The incremental zero offset is not canceled after applying a new absolute zero offset (G54-G57 or G159Nx). As described earlier, only one incremental zero offset may be active; therefore, instructions G58 and G59 are incompatible with G158.
  • Page 64: Polar Origin Preset (G93)

    Prog ramm in g man u a l Polar origin preset (G93) Function G93 allows you to preset any point from the work plane as a new origin of polar coordinates. This function must be programmed alone in the block, its programming format being : G93 I±5.5 J±5.5 Parameters I &...
  • Page 65 ISO CODE PROGRAMMING A block programmed in ISO language can consist of: • Preparatory (G) functions • Axis coordinates (X...C) • Feedrate (F) • Spindle speed (S) • Tool number (T) • Tool offset number (D) • Auxiliary functions (M) This order should be maintained within each block, although it is not necessary for every block to contain the information.
  • Page 66 Prog ramm in g man u a l Preparatory functions Preparatory functions are programmed using the letter G followed by up to 3 digits (G0 - G319). They are always programmed at the beginning of the body of the block and are useful in determining the geometry and working condition of the CNC.
  • Page 67 P r o gr a m m i ng m a n u a l Function Meaning Section Movement until making contact 6.14 Programming with respect to machine zero Absolute zero offset 1 4.4.2 Absolute zero offset 2 4.4.2 Absolute zero offset 3 4.4.2 Absolute zero offset 4 4.4.2...
  • Page 68 Prog ramm in g man u a l Function Meaning Section G159 Absolute zero offsets G210 Bore milling canned cycle 9.16 G211 Inside thread milling canned cycle. 9.17 G212 Outside thread milling canned cycle. 9.18 M means modal, i.e. the G function, once programmed, remains active until another incompatible G function is programmed or until an M02, M30, EMERGENCY or RESET is executed or the CNC is turned off and back on.
  • Page 69: Feedrate F

    P r o gr a m m i ng m a n u a l Feedrate F The machining feedrate can be selected from the program. It remains active until another feedrate is programmed. It is represented by the letter F and Depending on whether it is working in G94 or G95, it is programmed in mm/minute (inches/minute) or in mm/revolution (inches/revolution).
  • Page 70 Prog ramm in g man u a l 5.2.1 Feedrate in mm/min or inches/min (G94) From the moment the code G94 is programmed, the control takes that the feedrates programmed through F5.5 are in mm/min or inches/mm. If the moving axis is rotary, the CNC interprets that the programmed feedrate is in degrees/minute. If an interpolation is made between a rotary and a linear axis, the programmed feedrate is taken in mm/min or inches/min, and the movement of the rotary axis (programmed in degrees) will be considered programmed in millimeters or inches.
  • Page 71 P r o gr a m m i ng m a n u a l 5.2.2 Feedrate in mm/rev.or inches/rev (G95) From the moment when the code G95 is programmed, the control assumes that the feedrates programmed through F5.5 are in mm/rev or inches/mm. This function does not affect the rapid moves (G00) which will be made in mm/min or inch/min.
  • Page 72: Constant Surface Speed (G96)

    Prog ramm in g man u a l 5.2.3 Constant surface speed (G96) When G96 is programmed the CNC takes the F5.5 feedrate as corresponding to the cutting point of the tool on the part. By using this function, the finished surface is uniform in curved sections. In this manner (working in function G96) the speed of the center of the tool in the inside or outside curved sections will change in order to keep the cutting point constant.
  • Page 73: Constant Tool Center Speed (G97)

    P r o gr a m m i ng m a n u a l 5.2.4 Constant tool center speed (G97) When G97 is programmed the CNC takes the programmed F5.5 feedrate as corresponding to the feedrate of the center of the tool. In this manner (working in function G97) the speed of the cutting point on the inside or outside curved sections is reduced, keeping the speed of the center of the tool constant.
  • Page 74 Prog ramm in g man u a l Spindle turning speed (S) The turning speed of the spindle is programmed directly in rpm via code S5.4. The maximum value is limited by spindle machine parameters "MAXGEAR1", MAXGEAR2, MAXGEAR 3 and MAXGEAR4", in each case depending on the spindle range selected. It is also possible to limit this maximum value from the program by using function G92 S5.4.
  • Page 75: Spindle Selection (G28, G29)

    P r o gr a m m i ng m a n u a l Spindle selection (G28, G29) This CNC can govern two spindles: the main one and the second one. They both can be operative simultaneously, but only one can be controlled at a time. This selection is made using functions G28 and G29.
  • Page 76: Synchronized Spindles (G30, G77S, G78S)

    Prog ramm in g man u a l Synchronized spindles (G30, G77S, G78S) With function G77S, two spindles (main and secondary) may be synchronized in speed; this synchronism may be cancelled with function G78S. Always program G77S and G78S because functions G77, G78 to slave and unslave the axes.
  • Page 77: Tool Number (T) And Tool Offset (D)

    P r o gr a m m i ng m a n u a l Tool number (T) and tool offset (D) With the "T" function, it is possible to select the tool and with the "D" function it is possible to select the offset associated with it.
  • Page 78: Auxiliary Function (M)

    Prog ramm in g man u a l Auxiliary function (M) The miscellaneous functions are programmed by means of the M4 Code, it being possible to program up to 7 functions in the same block. When more than one function has been programmed in one block, the CNC executes these correlatively to the order in which they have been programmed.
  • Page 79: M00. Program Stop

    P r o gr a m m i ng m a n u a l 5.7.1 M00. Program stop When the CNC reads code M00 in a block, it interrupts the program. To start up again, press CYCLE START. We recommend that you set this function in the table of M functions, in such a way that it is executed at the end of the block in which it is programmed.
  • Page 80 While executing the M function, it is possible to abort the process by deactivating the PLC mark that CNC 8055 has initiated it. CNC 8055i Note: The PLCM5 mark is used to handle the open-door safety operation defined by Fagor Automation. ·M· & ·EN· M ODELS : V02.2 ·80·...
  • Page 81: M06. Tool Change Code

    P r o gr a m m i ng m a n u a l 5.7.6 M06. Tool change code If the general machine parameter "TOFFM06" (indicating that it is a machining center) is active, the CNC sends instructions to the tool changer and updates the table corresponding to the tool magazine.
  • Page 82: M19. Spindle Orientation

    Prog ramm in g man u a l 5.7.7 M19. Spindle orientation With this CNC it is possible to work with the spindle in open loop (M3, M4) and with the spindle in closed loop (M19). In order to work in closed loop, it is necessary to have a rotary encoder installed on the spindle of the machine.
  • Page 83: M41, M42, M43, M44. Spindle Gear Change

    P r o gr a m m i ng m a n u a l 5.7.8 M41, M42, M43, M44. Spindle gear change The CNC offers 4 spindle speed ranges M41, M42, M43 and M44 with maximum speed limits set by the spindle machine parameters "MAXGEAR1", MAXGEAR2", "MAXGEAR3"...
  • Page 84: M45. Auxiliary Spindle / Live Tool

    Prog ramm in g man u a l 5.7.9 M45. Auxiliary spindle / Live tool In order to use this miscellaneous function, it is necessary to set one of the axes of the machine as auxiliary spindle or live tool (general machine parameter P0 thru P7). To use the auxiliary spindle or live tool, execute the command: M45 S±5.5 where S indicates the turning speed in rpm and the sign indicates the turning direction.
  • Page 85: Rapid Traverse (G00)

    PATH CONTROL The CNC allows you to program movements on one axis only or several at the same time. Only those axes which intervene in the required movement are programmed. The programming order of the axes is as follows : X, Y, Z, U, V, W, A, B, C Rapid traverse (G00) The movements programmed after the G00 are executed using the rapid feedrate found in the...
  • Page 86: Linear Interpolation (G01)

    Prog ramm in g man u a l Linear interpolation (G01) The movements programmed after G01 are executed according to a straight line and at the programmed feedrate "F". When two or three axes move simultaneously the resulting path is a straight line between the starting point and the final point.
  • Page 87: Circular Interpolation (G02, G03)

    P r o gr a m m i ng m a n u a l Circular interpolation (G02, G03) There are two ways of carrying out circular interpolation: G02: Clockwise circular interpolation. G03: Counterclockwise circular interpolation. Movements programmed after G02 and G03 are executed in the form of a circular path and at the programmed feedrate "F".
  • Page 88 Prog ramm in g man u a l The programming order of the axes is always maintained regardless of the plane selected,, as are the respective center coordinates. Plane AY: G02(G03) Y±5.5 A±5.5 J±6.5 I±6.5 Plane XU: G02(G03) X±5.5 U±5.5 I±6.5 I±6.5 Polar coordinates...
  • Page 89 P r o gr a m m i ng m a n u a l If P0 is the starting point and P1 the endpoint, there are 4 arcs which have the same value passing through both points. Depending on the circular interpolation G02 or G03, and on the radius sign, the relevant arc is defined.
  • Page 90 Prog ramm in g man u a l Programming examples Various programming modes are analyzed below, point X60 Y40 being the starting point. Cartesian coordinates: G90 G17 G03 X110 Y90 I0 J50 X160 Y40 I50 J0 Polar coordinates: G90 G17 G03 Q0 I0 J50 Q-90 I50 J0 ;...
  • Page 91 P r o gr a m m i ng m a n u a l Programming of a (complete) circle in just one block: Various programming modes analyzed below, point X170 Y80 being the starting Point. Cartesian coordinates: G90 G17 G02 X170 Y80 I-50 J0 G90 G17 G02 I-50 J0 Polar coordinates.
  • Page 92: Circular Interpolation With Absolute Arc Center Coordinates (G06)

    Prog ramm in g man u a l Circular interpolation with absolute arc center coordinates (G06) By adding function G06 to a circular interpolation block you can program the coordinates of the center of the arc (I,J, or K) in absolute coordinates i.e. with respect to the zero origin and not to the beginning of the arc.
  • Page 93: Arc Tangent To Previous Path (G08)

    P r o gr a m m i ng m a n u a l Arc tangent to previous path (G08) Via function G08 you can program an arc tangential to the previous path without having to program the coordinates (I.J &K) of the center. Only the coordinates of the endpoint of the arc are defined, either in polar coordinates or in Cartesian coordinates according to the axes of the work plane.
  • Page 94: Arc Defined By Three Points (G09)

    Prog ramm in g man u a l Arc defined by three points (G09) Through function G09 you can define an arc by programming the endpoint and an intermediate point (the starting point of the arc is the starting point of the movement). In other words, instead of programming the coordinates of the center, you program any intermediate point.
  • Page 95: Helical Interpolation

    P r o gr a m m i ng m a n u a l Helical interpolation A helical interpolation consists in a circular interpolation in the work plane while moving the rest of the programmed axes. The helical interpolation is programmed in a block where the circular interpolation must be programmed by means of functions: G02, G03, G08 or G09.
  • Page 96: Tangential Entry At The Beginning Of A Machining Operation (G37)

    Prog ramm in g man u a l Tangential entry at the beginning of a machining operation (G37) Via function G37 you can tangentially link two paths without having to calculate the intersection points. Function G37 is not modal, so it should always be programmed if you wish to start a machining operation with tangential entry: If the starting point is X0 Y30 and you wish to machine an arc (the path of approach being straight) you should program:...
  • Page 97: Tangential Exit At The End Of A Machining Operator (G38)

    P r o gr a m m i ng m a n u a l Tangential exit at the end of a machining operator (G38) Function G38 enables the ending of a machining operation with a tangential exit of the tool. The path should be in a straight line (G00 or G01).
  • Page 98: Automatic Radius Blend (G36)

    Prog ramm in g man u a l 6.10 Automatic radius blend (G36) In milling operations, it is possible to round a corner via function G36 with a determined radius, without having to calculate the center nor the start and end points of the arc. Function G36 is not modal, so it should be programmed whenever controlled corner rounding is required.
  • Page 99: Chamfer (G39)

    P r o gr a m m i ng m a n u a l 6.11 Chamfer (G39) In machining operations it is possible (using G39) to chamfer corners between two straight lines, without having to calculate intersection points. Function G39 is not modal, so it should be programmed whenever the chamfering of a corner is required.
  • Page 100: Threading (G33)

    If the feedback device does not have the reference mark synchronized, the home search in M3 might not coincide with the home search in M4. This does not happen with FAGOR feedback. If the threads are blended together in round corner, only the first one can have an entry angle (Q).
  • Page 101 P r o gr a m m i ng m a n u a l Example: We would like to a make a thread in a single pass in X0 Y0 Z0, with a depth of 100 mm and a pitch of 5 mm using a threadcutting tool located in Z10.
  • Page 102: Variable Pitch Threads (G34)

    Prog ramm in g man u a l 6.13 Variable pitch threads (G34) To make variable-pitch threads, the spindle of the machine must have a rotary encoder. Although this threading is often done along the entire length of an axis, the CNC enables threading to be done interpolating more than one axis at a time.
  • Page 103: Move To Hardstop (G52)

    P r o gr a m m i ng m a n u a l 6.14 Move to hardstop (G52) By means of function G52 it is possible to program the movement of an axis until running into an object. This feature may be interesting for forming machines, live tailstocks, bar feeders, etc. The programming format is: G52 X..C ±5.5 After G52, program the desired axis as well as the target coordinate of the move.
  • Page 104: Feedrate "F" As An Inverted Function Of Time (G32)

    Prog ramm in g man u a l 6.15 Feedrate "F" as an inverted function of time (G32) There are instances when it is easier to define the time required by the various axes of the machine to reach the target point instead of defining a common feedrate for all of them. A typical case may be when a linear axis (X, Y, Z) has to move together (interpolated) with a rotary axis programmed in degrees.
  • Page 105: Tangential Control (G45)

    P r o gr a m m i ng m a n u a l 6.16 Tangential control (G45) The "Tangential Control" function keeps an axis always in the same orientation with respect to the programmed path. Orientation parallel to the path Orientation perpendicular to the path The path is defined by the axes of the active plane.
  • Page 106 Prog ramm in g man u a l If the joint of sections requires a new orientation of the tangential axis, the following takes place: ·1· Ends the current section. ·2· Orients the tangential axis with respect to the next section. ·3·...
  • Page 107: Considerations About The G45 Function

    P r o gr a m m i ng m a n u a l 6.16.1 Considerations about the G45 function Tangential control, G45, is optional. It can only be executed in the main channel and is compatible with: • Tool radius and length compensation (G40, 41, 42, 43, 44). •...
  • Page 108: G145. Temporary Cancellation Of Tangential Control

    Prog ramm in g man u a l 6.17 G145. Temporary cancellation of tangential control Function G145 may be used to cancel the tangential control (G415) temporarily: G145 K0 It cancels the tangential control temporarily. Function G45 stays in the history and the new function G145 comes up in it.
  • Page 109: Interruption Of Block Preparation (G04)

    ADDITIONAL PREPARATORY FUNCTIONS Interruption of block preparation (G04) The CNC reads up to 20 blocks ahead of the one it is executing, with the aim of calculating beforehand the path to be followed. Each block is evaluated (in its absence) at the time it is read, but if you wish to evaluate it at the time of execution of the block you use function G04.
  • Page 110 Prog ramm in g man u a l Example: The following program blocks are performed in a section with G41 compensation. N10 X50 Y80 N15 G04 /1 N17 M10 N20 X50 Y50 N30 X80 Y50 Block N15 interrupts block preparation and the execution of block N10 will finish at point A. Once the execution of block N15 has been carried out, the CNC continues preparing blocks starting from block N17.
  • Page 111: G04 K0: Block Preparation Interruption And Coordinate Update

    P r o gr a m m i ng m a n u a l 7.1.1 G04 K0: Block preparation interruption and coordinate update The function associated with G04 K0 may be used to update the coordinates of the axes of the channel after finishing particular PLC routines.
  • Page 112: Dwell (G04 K)

    Prog ramm in g man u a l Dwell (G04 K) A dwell can be programmed via function G04 K. The dwell value is programmed in hundredths of a second via format K5 (1..99999). Example: ; Dwell of 50 hundredths of a second (0.5 seconds) G04 K50 ;...
  • Page 113: Working With Square (G07) And Round (G05,G50) Corners

    P r o gr a m m i ng m a n u a l Working with square (G07) and round (G05,G50) corners 7.3.1 G07 (square corner) When working in G07 (square corner) the CNC does not start executing the following program block until the position programmed in the current block has been reached.
  • Page 114: G05 (Round Corner)

    Prog ramm in g man u a l 7.3.2 G05 (round corner) When working in G05 (round corner), the CNC starts executing the following block of the program as soon as the theoretical interpolation of the current block has concluded. It does not wait for the axes to physically reach the programmed position.
  • Page 115: Controlled Round Corner (G50)

    P r o gr a m m i ng m a n u a l 7.3.3 Controlled round corner (G50) When working in G50 (controlled round corner); once the theoretical interpolation of the current block has concluded, the CNC waits for the axis to enter the area defined by machine parameter "INPOSW2"...
  • Page 116: Look-Ahead (G51)

    Prog ramm in g man u a l Look-ahead (G51) Programs consisting of very small movement blocks (CAM, digitizing, etc.) tend to run very slowly. Those programs may be executed at high machining speed using the "Look-Ahead" function. The look-ahead function analyzes in advance the path to be machined (up to 75 blocks) in order to calculate the maximum feedrate for each section of the path.
  • Page 117 P r o gr a m m i ng m a n u a l To prevent motionless blocks from causing a square-corner effect, change bit 0 of general machine parameter MANTFCON (P189). Function properties: Function G51 is modal and incompatible with G05, G07 and G50. Should any of them be programmed, function G51 will be canceled and the new one will be selected.
  • Page 118: Advanced Look-Ahead Algorithm (Integrating Fagor Filters)

    To activate the advanced look-ahead algorithm, use bit 15 of g.m.p. LOOKATYP (P160). Considerations • If there are no Fagor filters set by machine parameters in the axes of the main channel, activating the advanced look-ahead algorithm will internally activate FIR filters of the 5th order and a frequency of 30 Hz in all the axes of the channel.
  • Page 119: Look-Ahead Operation With Fagor Filters Active

    15 of g.m.p. LOOKATYP (P160)=0. To activate/deactivate this option, use bit 13 of g.m.p. LOOKATYP (P160). Effect of Fagor filters when machining circles When machining circles, the error will be smaller when using Fagor filters than without using these filters: Programmed movement.
  • Page 120: Mirror Image (G10, G11. G12, G13, G14)

    Prog ramm in g man u a l Mirror image (G10, G11. G12, G13, G14) The functions to activate the mirror image are the following. G10: Cancel mirror image. G11: Mirror image on X axis. G12: Mirror image on the Y axis. G13: Mirror image on the Z axis G14:...
  • Page 121: Scaling Factor (G72)

    P r o gr a m m i ng m a n u a l Scaling factor (G72) By using function G72 you can enlarge or reduce programmed parts. In this way, you can produce families of parts which are similar in shape but of different sizes with a single program.
  • Page 122: Scaling Factor Applied To All Axes

    Prog ramm in g man u a l 7.6.1 Scaling factor applied to all axes. The programming format is: G72 S5.5 Following G72 all coordinates programmed are multiplied by the value of the scaling factor defined by S until a new G72 scaling factor definition is read or the definition is canceled. Programming example (starting point X-30 Y10) The following subroutine defines the machining of the part.
  • Page 123: Scaling Factor Applied To One Or More Axes

    P r o gr a m m i ng m a n u a l 7.6.2 Scaling factor applied to one or more axes. The programming format is: G72 X...C 5.5 After G72 the axis or axes and the required scaling factor are programmed. All blocks programmed after G72 are treated by the CNC as follows : The CNC calculates the movement of all the axes in relation to the programmed path and compensation.
  • Page 124 Prog ramm in g man u a l If a scaling factor equal to 360/2R is applied to a rotary axis, R being the radius of the cylinder on which you wish to machine, this axis can be considered linear, and any figure with tool radius compensation can be programmed on the cylindrical surface.
  • Page 125: Pattern Rotation (G73)

    P r o gr a m m i ng m a n u a l Pattern rotation (G73) Function G73 enables you to turn the system of coordinates, taking either the coordinates origin or the programmed rotation center as the active rotation center. The format which defines the rotation is the following : G73 Q+/5.5 I±5.5 J±5.5 Where:...
  • Page 126 Prog ramm in g man u a l Assuming that the starting point is X0 Y0, you get : N10 G01 X21 Y0 F300 ; Positioning at starting point G02 Q0 I5 J0 G03 Q0 I5 J0 Q180 I-10 J0 N20 G73 Q45 ;...
  • Page 127: Electronic Axis Coupling/Uncoupling

    P r o gr a m m i ng m a n u a l Electronic axis coupling/uncoupling The CNC enables two or more axes to be coupled together. The movement of all axes is subordinated to the movement of the axis to which they were coupled. There are three possible ways of coupling axes : •...
  • Page 128: Electronic Axis Coupling, Slaving, (G77)

    Prog ramm in g man u a l 7.8.1 Electronic axis coupling, slaving, (G77) Function G77 allows the selection of both the master axis and the slaved axis (axes). The programming format is as follows : G77 <Axis 1> <Axis 2> <Axis 3> <Axis 4> <Axis 5> Where <Axis 2>, <Axis 3>, <Axis 4>...
  • Page 129: Cancellation Of The Electronic Axis Coupling, Slaving, (G78)

    P r o gr a m m i ng m a n u a l 7.8.2 Cancellation of the electronic axis coupling, slaving, (G78) Function G78 enables you to uncouple all the axes that are coupled (slaved), or only uncouple indicated axes.
  • Page 130: Axes Toggle G28-G29

    Prog ramm in g man u a l Axes toggle G28-G29 With this feature, on machines having two machining tables, it is possible to use a single part- program to make the same parts on both tables. With function G28 the axes can be toggled from one to the other in such way that after that instruction all the movements associated with the first axis next to G28 will take place on the second axis next to G28 and vice versa.
  • Page 131 TOOL COMPENSATION The CNC has a tool offset table, its number of components being defined via the general machine parameter "NTOFFSET". The following is specified for each tool offset: • Tool radius in work units in R±5.5 format. • Tool length in work units in L±5.5 format. •...
  • Page 132: Tool Radius Compensation (G40, G41, G42)

    Prog ramm in g man u a l Tool radius compensation (G40, G41, G42) In normal milling operations, it is necessary to calculate and define the path of the tool taking its radius into account so that the required dimensions of the part are achieved. Tool radius compensation allows the direct programming of part contouring and of the tool radius without taking the dimensions of the tool into account.
  • Page 133: Beginning Of Tool Radius Compensation

    P r o gr a m m i ng m a n u a l 8.1.1 Beginning of tool radius compensation Once the plane in which tool radius compensation has been selected (via G16, G17, G18, or G19), functions G41 or G42 must be used to activate it. G41: Left-hand tool radius compensation.
  • Page 134 Prog ramm in g man u a l STRAIGHT-STRAIGHT path CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·134·...
  • Page 135 P r o gr a m m i ng m a n u a l STRAIGHT-CURVED path CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·135·...
  • Page 136: Sections Of Tool Radius Compensation

    Prog ramm in g man u a l 8.1.2 Sections of tool radius compensation The CNC reads up to 20 blocks ahead of the one it is executing, with the aim of calculating beforehand the path to be followed. When working with tool radius compensation, the CNC needs to know the next programmed movement to calculate the path to follow;...
  • Page 137: Cancellation Of Tool Radius Compensation

    P r o gr a m m i ng m a n u a l 8.1.3 Cancellation of tool radius compensation Tool radius compensation is canceled by using function G40. It should be remembered that canceling radius compensation (G40) can only be done in a block in which a straight-line movement is programmed (G00 or G01).
  • Page 138 Prog ramm in g man u a l STRAIGHT-STRAIGHT path CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·138·...
  • Page 139 P r o gr a m m i ng m a n u a l CURVED-STRAIGHT path CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·139·...
  • Page 140 Prog ramm in g man u a l Example of machining with radius compensation: The programmed path is shown with solid line and the compensated path with dashed line. Tool radius 10mm Tool number Tool offset number ; Preset G92 X0 Y0 Z0 ;...
  • Page 141 P r o gr a m m i ng m a n u a l Example of machining with radius compensation: The programmed path is shown with solid line and the compensated path with dashed line. Tool radius 10mm Tool number Tool offset number ;...
  • Page 142 Prog ramm in g man u a l Example of machining with radius compensation: The programmed path is shown with solid line and the compensated path with dashed line. Tool radius 10mm Tool number Tool offset number ; Preset G92 X0 Y0 Z0 ;...
  • Page 143: Change Of Type Of Radius Compensation While Machining

    P r o gr a m m i ng m a n u a l 8.1.4 Change of type of radius compensation while machining The compensation may be changed from G41 to G42 or vice versa without having to cancel it with G40.
  • Page 144 Prog ramm in g man u a l Tool length compensation (G43, G44, G15) With this function it is possible to compensate possible differences in length between the programmed tool and the tool being used. The tool length compensation is applied on to the axis indicated by function G15 or, in its absence, to the axis perpendicular to the main plane.
  • Page 145 P r o gr a m m i ng m a n u a l Example of machining with tool length compensation: It is assumed that the tool used is 4 mm shorter than the programmed one. Tool length -4mm Tool number Tool offset number ;...
  • Page 146 Prog ramm in g man u a l Collision detection (G41 N, G42 N) Using this option, the CNC analyzes in advance the blocks to be executed in order to detect loops (profile intersections with itself) or collisions of the programmed profile. The number of blocks to be analyzed (up to 50) may be defined by the user.
  • Page 147 CANNED CYCLES These canned cycles can be performed on any plane, the depth being along the axis selected as longitudinal via function G15 or, in its absence, along the axis perpendicular to this plane. The CNC offers the following machining canned cycles : Complex deep hole drilling Drilling canned cycle.
  • Page 148: Canned Cycle Definition

    Prog ramm in g man u a l Canned cycle definition A canned cycle is defined by the G function indicating the canned cycle and its corresponding parameters. A canned cycle cannot be defined in a block which has nonlinear movements (G02, G03, G08, G09, G33 or G34).
  • Page 149 P r o gr a m m i ng m a n u a l Influence zone of a canned cycle Once a canned cycle has been defined it remains active, and all blocks programmed after this block are under its influence while it is not cancelled. In other words, every time a block is executed in which some axis movement has been programmed, the CNC will carry out (following the programmed movement) the machining operation which corresponds to the active canned cycle.
  • Page 150 Prog ramm in g man u a l 9.2.1 G79. Modification of the canned cycle parameters The CNC allows one or several parameters of an active canned cycle to be modified by programming the G79 function, without any need for redefining the canned cycle. The CNC will continue to maintain the canned cycle active and will perform the following machinings of the canned cycle with the updated parameters.
  • Page 151 P r o gr a m m i ng m a n u a l ; Starting point. G00 G90 X0 Y0 Z60 ; Defines drilling cycle. Drills in A. G81 G99 X15 Y25 Z32 I18 ; Drills in B. G98 X25 ;...
  • Page 152: Canned Cycle Cancellation

    Prog ramm in g man u a l Canned cycle cancellation A canned cycle can be canceled via : • Function G80, which can be programmed in any block. • After defining a new canned cycle. This will cancel and replace any other that may be active. •...
  • Page 153: Some General Points To Consider

    P r o gr a m m i ng m a n u a l Some general points to consider • A canned cycle may be defined anywhere in the program, that is, in the main program as well as in a subroutine. •...
  • Page 154: Machining Canned Cycles

    Prog ramm in g man u a l Machining canned cycles In all machining cycles there are three coordinates along the longitudinal axis to the work plane which, due to their importance, are discussed below: • Initial plane coordinate. This coordinate is given by the position which the tool occupies with respect to machine zero when the cycle is activated.
  • Page 155 P r o gr a m m i ng m a n u a l Programming in other planes The programming format is always the same, it does not depend on the work plane. Parameters XY indicate the coordinate in the work plane (X = abscissa, Y = ordinate) and the penetration along the longitudinal axis.
  • Page 156 Prog ramm in g man u a l Example 4: G1 Y-25 F1000 S1000 M3 G81 X15 Y60 Z-2 I8 K1 CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·156·...
  • Page 157: G69. Drilling Canned Cycle With Variable Peck

    P r o gr a m m i ng m a n u a l G69. Drilling canned cycle with variable peck This cycle makes successive drilling steps until the final coordinate is reached. The tool withdraws a fixed amount after each drilling operation, it being possible to select that every J drillings it withdraws to the reference plane.
  • Page 158 Prog ramm in g man u a l [ H±5.5 ] Withdrawal after drilling Distance or coordinate the longitudinal axis returns to, in rapid (G00), after each drilling step. "J" other than 0 means the distance and "J=0" indicates the relief coordinate or absolute coordinate it withdraws to.
  • Page 159: Basic Operation

    P r o gr a m m i ng m a n u a l 9.6.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement of the longitudinal axis from the initial plane to the reference plane.
  • Page 160 Prog ramm in g man u a l The first drilling penetration is done in G07 or G50 depending on the value assigned to the parameter of the longitudinal axis "INPOSW2 (P51)" and to parameter "INPOSW1 (P19)". This is important to join a drilling operation with another one in multiple drilling so the tool path is faster and smoother.
  • Page 161 P r o gr a m m i ng m a n u a l Go into tool inspection: If you don't wish to finish the hole nor go to the next hole, it is possible to go into a standard tool inspection.
  • Page 162: G81. Drilling Canned Cycle

    Prog ramm in g man u a l G81. Drilling canned cycle This cycle drills at the point indicated until the final programmed coordinate is reached. It is possible to program a dwell at the bottom of the drill hole. Working in Cartesian coordinates, the basic structure of the block is as follows: G81 G98/G99 X Y Z I K [ G98/G99 ] Withdrawal plane...
  • Page 163: Basic Operation

    P r o gr a m m i ng m a n u a l 9.7.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement of the longitudinal axis from the initial plane to the reference plane.
  • Page 164 Prog ramm in g man u a l Tool withdrawal While machining, the CNC lets withdraw the tool to the starting plane stopping the spindle when the tool reaches the starting plane. Activating PLC mark RETRACYC (M5065) stops the main axis and the tool is withdrawn without stopping the spindle.
  • Page 165: G82. Drilling Canned Cycle With Dwell

    P r o gr a m m i ng m a n u a l G82. Drilling canned cycle with dwell This cycle drills at the point indicated until the final programmed coordinate is reached. Then it executes a dwell at the bottom of the drill hole. Working in Cartesian coordinates, the basic structure of the block is as follows: G82 G98/G99 X Y Z I K [ G98/G99 ] Withdrawal plane...
  • Page 166: Basic Operation

    Prog ramm in g man u a l 9.8.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement of the longitudinal axis from the initial plane to the reference plane. Drill the hole.
  • Page 167 P r o gr a m m i ng m a n u a l Options after tool withdrawal Once the tool has been retracted, the user will have the following options: • Finish the hole. • Go to the next hole. •...
  • Page 168: G83. Deep-Hole Drilling Canned Cycle With Constant Peck

    Prog ramm in g man u a l G83. Deep-hole drilling canned cycle with constant peck This cycle makes successive drilling steps until the final coordinate is reached. The tool withdraws as far as the reference plane after each drilling step. Working in Cartesian coordinates, the basic structure of the block is as follows: G83 G98/G99 X Y Z I J [ G98/G99 ] Withdrawal plane...
  • Page 169 P r o gr a m m i ng m a n u a l [ J4 ] Drilling passes to withdraw to the starting plane Defines the number of steps which the drill is to make. A value between 1 and 9999 may be programmed.
  • Page 170: Basic Operation

    Prog ramm in g man u a l 9.9.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement of the longitudinal axis from the initial plane to the reference plane. First drilling operation.
  • Page 171 P r o gr a m m i ng m a n u a l ; Tool selection. ; Starting point. G0 G90 X0 Y0 Z0 ; Canned cycle definition. G83 G99 X50 Y50 Z-98 I-22 J3 F100 S500 M4 ;...
  • Page 172: G84. Tapping Canned Cycle

    Prog ramm in g man u a l 9.10 G84. Tapping canned cycle This cycle taps at the point indicated until the final programmed coordinate is reached. General logic output "TAPPING" (M5517) stays active while executing this cycle. Due to the fact that the tapping tool turns in two directions (one when tapping and the other when withdrawing from the thread), by means of the machine parameter of the spindle "SREVM05"...
  • Page 173 P r o gr a m m i ng m a n u a l [ R ] Type of tapping Defines the type of tapping to be carried out. Regular tapping. Rigid tapping. The CNC stops the spindle with M19 and orients it to begin tapping. Rigid tapping.
  • Page 174: Basic Operation

    Prog ramm in g man u a l 9.10.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement of the longitudinal axis from the initial plane to the reference plane. Movement of the longitudinal axis and at the working feedrate, to the bottom of the machined section, producing the threaded hole.
  • Page 175 P r o gr a m m i ng m a n u a l ; Tool selection. ; Starting point. G0 G90 X0 Y0 Z0 ; Canned cycle definition. Three machining operations are carried out. G84 G99 G91 X50 Y50 Z-98 I-22 K150 F350 S500 N3 ;...
  • Page 176 Prog ramm in g man u a l Go into tool inspection If you don't wish to finish the hole nor go to the next hole, it is possible to go into a standard tool inspection. In this case, a block must be selected and a standard repositioning must be done before resuming the execution of the program.
  • Page 177: G85. Reaming Canned Cycle

    P r o gr a m m i ng m a n u a l 9.11 G85. Reaming canned cycle This cycle reams at the point indicated until the final programmed coordinate is reached. It is possible to program a dwell at the bottom of the machined hole. Working in Cartesian coordinates, the basic structure of the block is as follows: G85 G98/G99 X Y Z I K [ G98/G99 ] Withdrawal plane...
  • Page 178: Basic Operation

    Prog ramm in g man u a l 9.11.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement of the longitudinal axis from the initial plane to the reference plane. Movement at the working feedrate (G01) of the longitudinal axis to the bottom of the machined hole, and reaming.
  • Page 179: G86. Boring Cycle With Withdrawal In G00

    P r o gr a m m i ng m a n u a l 9.12 G86. Boring cycle with withdrawal in G00 This cycle bores at the point indicated until the final programmed coordinate is reached. It is possible to program a dwell at the bottom of the machined hole.
  • Page 180 Prog ramm in g man u a l [ D±5.5 ] Gap between the cutter and the wall of the hole on the X axis Defines the gap between the cutter and the wall of the hole on the X axis for the withdrawal. If not programmed, the cutter does not separate from the wall of the hole along the X axis.
  • Page 181: Basic Operation

    P r o gr a m m i ng m a n u a l 9.12.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement of the longitudinal axis from the initial plane to the reference plane.
  • Page 182: G87. Rectangular Pocket Canned Cycle

    Prog ramm in g man u a l 9.13 G87. Rectangular pocket canned cycle. This cycle executes a rectangular pocket at the point indicated until the final programmed coordinate is reached. It is possible to program, in addition to milling pass and feedrate, a final finishing step with its corresponding milling feedrate.
  • Page 183 P r o gr a m m i ng m a n u a l [ I±5.5 ] Machining depth. Defines the machining depth. When programmed in absolute coordinates, it will be referred to the part zero and when programmed in incremental coordinates, it will be referred to the starting plane (P.P.).
  • Page 184 Prog ramm in g man u a l If programmed with a value greater than the tool diameter, the CNC issues the relevant error message. If programmed with a 0 value, the CNC will display the corresponding error message. [ D5.5 ] Reference plane Defines the distance between the reference plane and the surface of the part where the pocket is to be made.
  • Page 185: Basic Operation

    P r o gr a m m i ng m a n u a l 9.13.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement (G0) of the longitudinal axis from the starting plane to the reference plane.
  • Page 186 Prog ramm in g man u a l Programming example ·1· Let us suppose a work plane formed by the X and Y axis, Z being the longitudinal axis and the starting point X0 Y0 Z0. ; Tool selection. (TOR1=6, TOI1=0) T1 D1 ;...
  • Page 187 P r o gr a m m i ng m a n u a l Programming example ·2· Let us suppose a work plane formed by the X and Y axis, Z being the longitudinal axis and the starting point X0 Y0 Z0. ;...
  • Page 188: G88. Circular Pocket Canned Cycle

    Prog ramm in g man u a l 9.14 G88. Circular pocket canned cycle This cycle executes a circular pocket at the point indicated until the final programmed coordinate is reached. It is possible to program, in addition to milling pass and feedrate, a final finishing step with its corresponding milling feedrate.
  • Page 189 P r o gr a m m i ng m a n u a l [ J±5.5 ] Pocket radius Defines the radius of the pocket. The sign indicates the pocket machining direction. J with "+" sign J with "-" sign [ B±5.5 ] Penetration step Defines the cutting pass along the longitudinal axis to the main plane.
  • Page 190 Prog ramm in g man u a l [ D5.5 ] Reference plane Defines the distance between the reference plane and the surface of the part where the pocket is to be made. During the first deepening operation this amount will be added to incremental depth "B". If not programmed, a value of 0 is assumed.
  • Page 191 P r o gr a m m i ng m a n u a l [ V.5.5 ] Tool penetrating feedrate. Defines the tool penetrating feedrate. If not programmed or programmed with a 0 value, it assumes 50% of the feedrate in the plane (F). CNC 8055 CNC 8055i ·M·...
  • Page 192: Basic Operation

    Prog ramm in g man u a l 9.14.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement (G0) of the longitudinal axis from the starting plane to the reference plane. First penetrating operation.
  • Page 193 P r o gr a m m i ng m a n u a l Programming example ·1· Let us suppose a work plane formed by the X and Y axis, Z being the longitudinal axis and the starting point X0 Y0 Z0. ;...
  • Page 194: G89. Boring Cycle With Withdrawal At Work Feedrate (G01)

    Prog ramm in g man u a l 9.15 G89. Boring cycle with withdrawal at work feedrate (G01) This cycle bores at the point indicated until the final programmed coordinate is reached. It is possible to program a dwell at the bottom of the machined hole. Working in Cartesian coordinates, the basic structure of the block is as follows: G89 G98/G99 X Y Z I K [ G98/G99 ] Withdrawal plane...
  • Page 195: Basic Operation

    P r o gr a m m i ng m a n u a l 9.15.1 Basic operation If the spindle was previously running, it maintains the turning direction. If it was not in movement, it will start by turning clockwise (M03). Rapid movement of the longitudinal axis from the initial plane to the reference plane.
  • Page 196: G210. Bore Milling Canned Cycle

    Prog ramm in g man u a l 9.16 G210. Bore milling canned cycle This cycle may be used to increase the diameter of a hole through a helical movement of the tool. Besides this, if the tool allows it, it is also possible to mill a hole without having to drill it first. Working in Cartesian coordinates, the basic structure of the block is as follows: G210 G98/G99 X Y Z D I J K B [ G98/G99 ] Withdrawal plane...
  • Page 197 P r o gr a m m i ng m a n u a l The tool must meet the following conditions: • The tool radius must be smaller than J/2. • The tool radius must be equal to or larger than (J-K)/4. If these two conditions are not met, the CNC issues the corresponding error.
  • Page 198: Basic Operation

    Prog ramm in g man u a l 9.16.1 Basic operation Rapid movement to the center of the hole (X, Y). Rapid movement to the reference plane (Z). Rapid movement to the tangential entry coordinate along the longitudinal axis. Tangential entry to the helical path of the drilling. Helical movement, with the pitch given by parameter B and in the direction given by parameter J, down to the bottom of the hole.
  • Page 199: G211. Inside Thread Milling Cycle

    P r o gr a m m i ng m a n u a l 9.17 G211. Inside thread milling cycle This cycle may be used to make an inside thread through a helical movement of the tool. Working in Cartesian coordinates, the basic structure of the block is as follows: G211 G98/G99 X Y Z D I J K B C L A E Q [ G98/G99 ] Withdrawal plane The tool withdraws to the Initial Plane, once the hole has been milled.
  • Page 200 Prog ramm in g man u a l [ K5.5 ] Thread depth It defines the distance between the crest and the root of the thread. If not programmed, the CNC issues the corresponding error. [ B±5.5 ] Thread pitch Defines the thread pitch.
  • Page 201: Basic Operation

    P r o gr a m m i ng m a n u a l 9.17.1 Basic operation Rapid movement to the center of the hole (X, Y). Rapid movement to the reference plane (Z). Rapid movement of the plane axes to the thread entry point (it only makes this movement if parameter E has been programmed).
  • Page 202: G212. Outside Thread Milling Cycle

    Prog ramm in g man u a l 9.18 G212. Outside thread milling cycle This cycle may be used to make an outside thread through a helical movement of the tool. Working in Cartesian coordinates, the basic structure of the block is as follows: G212 G98/G99 X Y Z D I J K B C L A E Q [ G98/G99 ] Withdrawal plane The tool withdraws to the Initial Plane, once the hole has been milled.
  • Page 203 P r o gr a m m i ng m a n u a l [ B±5.5 ] Thread pitch Defines the thread pitch. • With a positive sign, the direction of the thread pitch is from the surface of the part to the bottom. •...
  • Page 204: Basic Operation

    Prog ramm in g man u a l 9.18.1 Basic operation Rapid movement to the center of the hole (X, Y). Rapid movement to the reference plane (Z). Rapid movement of the plane axes to the thread entry point (it only makes this movement if parameter E has been programmed).
  • Page 205 MULTIPLE MACHINING Multiple machining is defined as a series of functions which allow a machining operation to be repeated along a given path. The programmer will select the type of machining, which can be a canned cycle or a subroutine (which must be programmed as a modal subroutine) defined by the user.
  • Page 206: G60: Multiple Machining In A Straight Line

    Prog ramm in g man u a l 10.1 G60: Multiple machining in a straight line The programming format for this cycle is: radius P Q R S T U V [ A±5.5 ] Angle of the path Defines the angle that forms the machining path with the abscissa axis. It is expressed in degrees and if not programmed, the value A=0 will be taken.
  • Page 207: Basic Operation

    P r o gr a m m i ng m a n u a l 10.1.1 Basic operation Multiple machining calculates the next point of those programmed where it is wished to machine. Rapid traverse (G00) to this point. Multiple machining will perform the canned cycle or modal subroutine selected after this movement.
  • Page 208: G61: Multiple Machining In Rectangular Pattern

    Prog ramm in g man u a l 10.2 G61: Multiple machining in rectangular pattern The programming format for this cycle is: G61 A B P Q R S T U V [ A±5.5 ] Angle of the path with respect to the abscissa axis Defines the angle that forms the machining path with the abscissa axis.
  • Page 209 P r o gr a m m i ng m a n u a l [ P Q R S T U V ] Points where no drilling takes place These parameters are optional and are used to indicate at which points or between which of those programmed points it is not required to machine.
  • Page 210: Basic Operation

    Prog ramm in g man u a l 10.2.1 Basic operation Multiple machining calculates the next point of those programmed where it is wished to machine. Rapid traverse (G00) to this point. Multiple machining will perform the canned cycle or modal subroutine selected after this movement.
  • Page 211: G62: Multiple Machining In Grid Pattern

    P r o gr a m m i ng m a n u a l 10.3 G62: Multiple machining in grid pattern The programming format for this cycle is: G62 A B P Q R S T U V [ A±5.5 ] Angle of the path with respect to the abscissa axis Defines the angle that forms the machining path with the abscissa axis.
  • Page 212 Prog ramm in g man u a l [ P Q R S T U V ] Points where no drilling takes place These parameters are optional and are used to indicate at which points or between which of those programmed points it is not required to machine.
  • Page 213: Basic Operation

    P r o gr a m m i ng m a n u a l 10.3.1 Basic operation Multiple machining calculates the next point of those programmed where it is wished to machine. Rapid traverse (G00) to this point. Multiple machining will perform the canned cycle or modal subroutine selected after this movement.
  • Page 214: G63: Multiple Machining In A Circular Pattern

    Prog ramm in g man u a l 10.4 G63: Multiple machining in a circular pattern The programming format for this cycle is: G63 X Y C F P Q R S T U V [ X±5.5 ] Distance from the first machining point to the center along the abscissa axis Defines the distance from the starting point to the center along the abscissa axis.
  • Page 215 P r o gr a m m i ng m a n u a l [ P Q R S T U V ] Points where no drilling takes place These parameters are optional and are used to indicate at which points or between which of those programmed points it is not required to machine.
  • Page 216: Basic Operation

    Prog ramm in g man u a l 10.4.1 Basic operation Multiple machining calculates the next point of those programmed where it is wished to machine. Movement at the feedrate programmed by "C" (G00, G01, G02 or G03) to this point. Multiple machining will perform the canned cycle or modal subroutine selected after this movement.
  • Page 217: G64: Multiple Machining In An Arc

    P r o gr a m m i ng m a n u a l 10.5 G64: Multiple machining in an arc The programming format for this cycle is: G64 X Y B C F P Q R S T U V [ X±5.5 ] Distance from the first machining point to the center along the abscissa axis Defines the distance from the starting point to the center along the abscissa axis.
  • Page 218 Prog ramm in g man u a l [ P Q R S T U V ] Points where no drilling takes place These parameters are optional and are used to indicate at which points or between which of those programmed points it is not required to machine.
  • Page 219: Basic Operation

    P r o gr a m m i ng m a n u a l 10.5.1 Basic operation Multiple machining calculates the next point of those programmed where it is wished to machine. Movement at the feedrate programmed by "C" (G00, G01, G02 or G03) to this point. Multiple machining will perform the canned cycle or modal subroutine selected after this movement.
  • Page 220: G65: Machining Programmed With An Arc-Chord

    Prog ramm in g man u a l 10.6 G65: Machining programmed with an arc-chord This function allows activated machining to be performed at a point programmed by means of an arc chord. Only one machining operation will be performed, its programming format being: G65 X Y [ X±5.5 ] Distance from the first machining point to the center along the abscissa axis Defines the distance from the starting point to the center along the abscissa axis.
  • Page 221: Basic Operation

    P r o gr a m m i ng m a n u a l 10.6.1 Basic operation Multiple machining calculates the next point of those programmed where it is wished to machine. Movement at the feedrate programmed by "C" (G00, G01, G02 or G03) to this point. Multiple machining will perform the canned cycle or modal subroutine selected after this movement.
  • Page 222 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·222·...
  • Page 223 IRREGULAR POCKET CANNED CYCLE What is an irregular pocket with islands? A pocket with islands is composed by an external contour or profile and a series of internal contours or profiles called islands. (1) Outside contour or profile of the pocket. (2) Inside contour or profile of the pocket.
  • Page 224 Prog ramm in g man u a l (A) Plane profile. (B) Depth profile. Programming the irregular pocket canned cycle The call function for a 2D or 3D irregular pocket canned cycle is G66. The machining of a pocket may consist of the following operations, each one is programmed with its relevant ·G· function. Function Machining operation Pocket...
  • Page 225: D Pockets

    P r o gr a m m i ng m a n u a l 11.1 2D pockets The G66 function is not modal, therefore it must be programmed whenever it is required to perform a 2D pocket. In a block defining an irregular pocket canned cycle, no other function can be programmed, its structure definition being: G66 D H R I F K S E Q D (0-9999) / H (0-9999) Drilling operation...
  • Page 226 Prog ramm in g man u a l Basic operation Drilling operation. Only if it has been programmed. After analyzing the geometry of the pocket with islands, the tool radius and the angle of the path programmed in the roughing operation, the CNC will calculate the coordinates of the point where the selected drilling operation must be performed.
  • Page 227 P r o gr a m m i ng m a n u a l Case B: When the machining paths are concentric. The roughing operation is carried out along paths concentric to the profile. The machining will be done as fast as possible avoiding (when possible) going over the islands. Finishing operation.
  • Page 228: Drilling Operation

    Prog ramm in g man u a l 11.1.1 Drilling operation This operation is optional and in order to be executed it is necessary to also program a roughing operation. It is mainly used when the tool programmed in the roughing operation does not machine along the longitudinal axis, allowing, by means of this operation, the access of this tool to the surface to be roughed off.
  • Page 229: Roughing Operation

    P r o gr a m m i ng m a n u a l 11.1.2 Roughing operation This is the main operation in the machining of an irregular pocket, and its programming is optional. This operation will be performed keeping the square corner mode (G07) or round corner mode (G05) that is currently active.
  • Page 230 Prog ramm in g man u a l [ B±5.5 ] Pass depth Defines the machining pass along the longitudinal axis (depth of the roughing pass). It must be defined and it must have a value other than 0; otherwise, the roughing operation will be canceled. •...
  • Page 231 P r o gr a m m i ng m a n u a l [ Q5.5 ] Penetrating angle Optional. Tool penetration angle. If not programmed or programming the value of 90, it means that the penetration is vertical. When programming a value lower than 0 or greater than 90, it issues the error "wrong parameter value in canned cycle".
  • Page 232: Finishing Operation

    Prog ramm in g man u a l 11.1.3 Finishing operation This operation is optional. It will be programmed in a block that will need to bear a label number in order to indicate to the canned cycle the block where the finishing operation is defined. ;...
  • Page 233 P r o gr a m m i ng m a n u a l [ I±5.5 ] Pocket depth Defines the total depth of the pocket and is programmed in absolute coordinates. • If the island has a roughing operation, it is not necessary to define this parameter since it has been programmed in that operation.
  • Page 234: Profile Programming Syntax

    Prog ramm in g man u a l 11.1.4 Profile programming syntax When outside and inside profiles of an irregular pocket are programmed the following programming rules must be followed: The canned cycle will verify all these geometry rules before beginning to make the pocket adapting the profile of the pocket to them and displaying the error message when necessary.
  • Page 235: Profile Intersection

    P r o gr a m m i ng m a n u a l 11.1.5 Profile intersection In order to facilitate the programming of profiles, the canned cycle allows the profiles to intersect one another and the external profile. The two available types of intersection can be selected by parameter "K"...
  • Page 236 Prog ramm in g man u a l Advanced profile intersection (K=1) When selecting this type, the following profile intersecting rules are to be followed: The initial point of each contour determines the section to be selected. In a profile intersection, each contour is divided into several lines that could be grouped as: ...
  • Page 237 P r o gr a m m i ng m a n u a l The programming sequence for the different profiles is determinant when having an intersection of more than 3 profiles. The profile intersection process is performed according to the order in which the profiles have been programmed.
  • Page 238 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·238·...
  • Page 239: Profile Programming Syntax

    P r o gr a m m i ng m a n u a l 11.1.6 Profile programming syntax The outside profile and the inside profiles or islands which are programmed must be defined by simple geometrical elements such as straight lines or arcs. The first definition block (where the external profile starts) and the last (where the last profile defined ends) must be provided with the block label number.
  • Page 240 Prog ramm in g man u a l In addition to the G00 function, which has a special meaning, the irregular pocket canned cycle allows the use of the following functions for the definition of profiles. Linear interpolation. Clockwise circular interpolation. Counter-clockwise circular interpolation.
  • Page 241: Errors

    P r o gr a m m i ng m a n u a l 11.1.7 Errors The CNC will issue the following errors: ERROR 1023 G67. Tool radius too large. When selecting a wrong roughing tool. ERROR 1024 G68. Tool radius too large. When selecting a wrong finishing tool.
  • Page 242 Prog ramm in g man u a l ERROR 1227 Wrong profile intersection in a pocket with islands. It comes up in the following instances: • When two plane profiles have a common section (drawing on the left). • When the initial points of two profiles in the main plane coincide (drawing on the right). CNC 8055 CNC 8055i ·M·...
  • Page 243: Programming Examples

    P r o gr a m m i ng m a n u a l 11.1.8 Programming examples Programming example ·1· Programming example, without automatic tool changer ; Tool dimensions. (TOR1=5, TOI1=0, TOL1=25, TOK1=0) (TOR2=3, TOI2=0, TOL2=20, TOK2=0) (TOR3=5, TOI3=0, TOL3=25, TOK3=0) ;...
  • Page 244 Prog ramm in g man u a l Programming example ·2· Programming example, with automatic tool changer. The "x" of the figure indicates the initial points of each profile: ; Tool dimensions. (TOR1=9, TOI1=0, TOL1=25, TOK1=0) (TOR2=3.6, TOI2=0, TOL2=20, TOK2=0) (TOR3=9, TOI3=0, TOL3=25, TOK3=0) ;...
  • Page 245 P r o gr a m m i ng m a n u a l ; Contour of the first island. G0 X-120 Y80 G2 G6 X-80 Y80 I-100 J80; (Contour a) G1 Y-80 G2 G6 X-120 Y-80 I-100 J-80 G1 Y80 G0 X-40 Y0;...
  • Page 246: D Pockets

    Prog ramm in g man u a l 11.2 3D pockets The cycle calling function G66 is not modal; therefore, it must be programmed every time a 3D pocket is to be executed. In a block defining an irregular pocket canned cycle, no other function can be programmed, its structure definition being: G66 R I C J F K S E R (0-9999) / I (0-9999) Roughing operation...
  • Page 247 P r o gr a m m i ng m a n u a l Basic operation Roughing operation. Only if it has been programmed. It consists of several surface milling passes, until the total depth programmed has been reached. On each surface milling pass, the steps below will be followed depending on the type of machining that has been programmed: Case A:...
  • Page 248 Prog ramm in g man u a l Case B: When the machining paths are concentric. The roughing operation is carried out along paths concentric to the profile. The machining will be done as fast as possible avoiding (when possible) going over the islands. Semi-finishing operation.
  • Page 249 P r o gr a m m i ng m a n u a l Conditions after finishing the cycle: Once the canned cycle has ended, the active feedrate will be the last one programmed, i.e. the one corresponding to the roughing operation or the finishing operation. The CNC will assume functions G00, G40 and G90.
  • Page 250: Roughing Operation

    Prog ramm in g man u a l 11.2.1 Roughing operation This is the main operation in the machining of an irregular pocket, and its programming is optional. It will be programmed in a block which will need to bear a label number in order to indicate to the canned cycle the block where the roughing operation is defined.
  • Page 251 P r o gr a m m i ng m a n u a l • If programmed with a negative sign, all the roughing will be performed with the programmed pass, and the canned cycle will adjust the last pass to obtain the total programmed depth. If done with B(+), the ridges will appear only on the pocket walls;...
  • Page 252 Prog ramm in g man u a l [ T4 ] Tool number Defines the tool used for the roughing operation. It must be programmed. [ D4 ] Tool offset Optional. Defines the tool offset number. [ M ] Auxiliary (miscellaneous) functions Optional.
  • Page 253: Semi-Finishing Operation

    P r o gr a m m i ng m a n u a l 11.2.2 Semi-finishing operation This operation is optional. It will be programmed in a block which will need to bear a label number in order to indicate to the canned cycle the block where the roughing operation is defined.
  • Page 254 Prog ramm in g man u a l [ S5.5 ] Spindle speed Optional. It sets the spindle speed. [ T4 ] Tool number. Defines the tool used for the semi-finishing operation. It must be programmed. [ D4 ] Tool offset Optional.
  • Page 255: Finishing Operation

    P r o gr a m m i ng m a n u a l 11.2.3 Finishing operation This operation is optional. It will be programmed in a block that will need to bear a label number in order to indicate to the canned cycle the block where the finishing operation is defined.
  • Page 256 Prog ramm in g man u a l [ J5.5 ] Tool tip radius Indicates the tool tip radius and, therefore, the type of finishing tool being used. Depending on the radius assigned to the tool in the tool offset table (of the CNC variables: "TOR" + "TOI") and the value of assigned to this parameter, three tool types may be defined.
  • Page 257 P r o gr a m m i ng m a n u a l This operation allows M06 with an associated subroutine to be defined, and the tool change is performed before beginning the finishing operation. CNC 8055 CNC 8055i ·M·...
  • Page 258: Geometry Of The Contours Or Profiles

    Prog ramm in g man u a l 11.2.4 Geometry of the contours or profiles To define the contours of a 2D pocket, the plane profile (3) and the depth profile (4) for all the contours must be defined (even if they are vertical). Since the canned cycle applies the same depth profile to the whole contour, the same start point must be used to define the plane profile as for the depth profile.
  • Page 259: Profile Programming Syntax

    P r o gr a m m i ng m a n u a l 11.2.5 Profile programming syntax When programming inside or outside contours of an irregular 3D pocket (with islands) , the following rules must be complied with: The profile in the main plane indicates the shape of the contour.
  • Page 260 Prog ramm in g man u a l The depth profile must be defined after having defined the plane profile. The beginning points of the plane profile and depth profile must be the same one. Nevertheless, the depth profile must be programmed: ...
  • Page 261 P r o gr a m m i ng m a n u a l Programming example. 3D pocket without islands. (TOR1=2.5,TOL1=20,TOI1=0,TOK1=0) G17 G0 G43 G90 Z50 S1000 M4 ; Defines the 3D pocket. G66 R200 C250 F300 S400 E500 ;...
  • Page 262 Prog ramm in g man u a l Programming examples. Profile definition. Pyramid island ; Plane profile G0 G90 X17 Y4 G1 X30 G1 Y30 G1 X4 G1 Y4 G1 X17 ; Depth profile G16 YZ G0 G90 Y4 Z4 G1 Y17 Z35 Conic island ;...
  • Page 263 P r o gr a m m i ng m a n u a l Programming example. 3D pocket without islands. (TOR1=2.5,TOL1=20,TOI1=0,TOK1=0) G17 G0 G43 G90 Z50 S1000 M4 ; Defines the 3D pocket. G66 R200 C250 F300 S400 E500 ;...
  • Page 264: Composite 3D Profiles

    Prog ramm in g man u a l 11.2.6 Composite 3D profiles A composite 3D profile is a 3D contour with more than one depth profile. It is defined by means of the intersection of several contours with different depth profiles. Each contour is defined by a profile on the plane and a depth profile, which requires the definition of an initiation point.
  • Page 265 P r o gr a m m i ng m a n u a l Profile intersection syntax The plane profile intersecting rules are: At a profile intersection, each contour is divided into several lines which could be grouped as: ...
  • Page 266 Prog ramm in g man u a l The programming sequence for the different profiles is determinant when having an intersection of more than 3 profiles. The profile intersection process is performed according to the order in which the profiles have been programmed.
  • Page 267: Profile Stacking

    P r o gr a m m i ng m a n u a l 11.2.7 Profile stacking When 2 or more profiles stack on top of each other, the following considerations must be taken into account. For clarity sakes, refer to the drawing on the right that consists of 2 stacked profiles: 1 and 2.
  • Page 268: Profile Programming Syntax

    Prog ramm in g man u a l 11.2.8 Profile programming syntax The outside profile and the inside profiles or islands which are programmed must be defined by simple geometrical elements such as straight lines or arcs. The first definition block (where the external profile starts) and the last (where the last profile defined ends) must be provided with the block label number.
  • Page 269 P r o gr a m m i ng m a n u a l • Profiles are described as programmed paths, it being possible to include corner rounding, chamfers, etc., following the syntax rules defined for this purpose. • The profile description must not contain: mirror images, scaling factor changes, pattern rotation, zero offsets, etc.
  • Page 270: Programming Examples

    Prog ramm in g man u a l 11.2.9 Programming examples Programming example ·1· The island of this example has 3 different depth profiles, type A, type B and type C. To define the island, 3 contours are used: contour A, contour B and contour C. ;...
  • Page 271 P r o gr a m m i ng m a n u a l ; Depth profile. G16 YZ G0 G90 Y90 Z0 G1 Z-20 ; Definition of contour B. Profile on the plane. G0 G90 X10 Y50 G1 Y100 X-10 ;...
  • Page 272 Prog ramm in g man u a l Programming example ·2· The island of this example has 3 different depth profiles, type A, type B and type C. To define the island, 3 contours are used: contour A, contour B and contour C. ;...
  • Page 273 P r o gr a m m i ng m a n u a l ; Definition of contour A. Profile on the plane. G0 G90 X50 Y30 G1 X70 ; Depth profile. G16 YZ G0 G90 Y30 Z-25 G2 Y50 Z-5 J20 K0 ;...
  • Page 274 Prog ramm in g man u a l Programming example ·3· The island of this example has 3 different depth profiles, type A, type B and type C. To define the island, 3 contours are used: contour A, contour B and contour C. ;...
  • Page 275 P r o gr a m m i ng m a n u a l ; Definition of outside contour. Plane profile. G0 G90 X0 Y0 Z0 G1 X105 ; Depth profile. G16 XZ G0 X0 Z0 G2 X5 Z-5 I0 K-5 G1 X7.5 Z-20 ;...
  • Page 276 Prog ramm in g man u a l Programming example ·4· To define the island 10 contours are used as shown here: CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·276·...
  • Page 277 P r o gr a m m i ng m a n u a l ; Tool dimensions. (TOR1=4,TOI1=0,TOR2=2.5,TOI2=0) ; Initial positioning and definition of the 3D pocket. G17 G0 G43 G90 Z25 S1000 M3 G66 R200 C250 F300 S400 E500 ;...
  • Page 278 Prog ramm in g man u a l ; Definition of contour 2. G0 X27.5 Y-25 G1 G91 Y31 G1 X-2 Y-62 ; Depth profile. G16 XZ G0 G90 X27.5 Z-30 G1 Z0 ; Definition of contour 3. G0 X57.5 Y-25 G1 G91 Y-31 Y-31 ;...
  • Page 279 P r o gr a m m i ng m a n u a l ; Depth profile. G16 YZ G0 G90 Y-45 Z-30 G1 Z0 ; Definition of contour 7. G0 X-57.5 Y-25 G1 G91 Y31 Y-62 ; Depth profile. G16 XZ G0 G90 X-57.5 Z-30 G1 Z0...
  • Page 280 Prog ramm in g man u a l Programming example ·5· The island of this example has 2 different depth profiles, type A and type B. To define the island, 2 contours are used: contour A and contour B. ; Tool dimensions. (TOR1=2.5,TOL1=20,TOI1=0,TOK1=0) ;...
  • Page 281 P r o gr a m m i ng m a n u a l ; Definition of the low (A-type) contour. Plane profile. G90 G0 X30 Y-6 G1 Y-46 X130 ; Depth profile. G16 XZ G0 X30 Z-25 G1 Z-20 G2 X39 Z-11 I9 K0 ;...
  • Page 282 Prog ramm in g man u a l 11.2.10 Errors The CNC will issue the following errors: ERROR 1025 A tool with no radius has been programmed It comes up when using a tool with "0" radius while machining a 3D pocket. ERROR 1026 A step has been programmed that is larger than the tool diameter When parameter "C"...
  • Page 283 P r o gr a m m i ng m a n u a l • When the initial points of two profiles in the main plane coincide (drawing on the right). CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·283·...
  • Page 284 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·284·...
  • Page 285 PROBING The CNC has two probe inputs, one for TTL-type 5Vdc signals and another for 24 Vdc signals. The connection of the different types of probes to these inputs are explained in the appendix to the Installation manual. This control allows the following operations to be performed, by using probes: •...
  • Page 286: Probing (G75, G76)

    Prog ramm in g man u a l 12.1 Probing (G75, G76) The G75 function allows movements to be programmed that will end after the CNC receives the signal from the measuring probe used. The G76 function allows movements to be programmed that will end after the CNC no longer receives the signal from the measuring probe used.
  • Page 287: Probing Canned Cycles

    P r o gr a m m i ng m a n u a l 12.2 Probing canned cycles The CNC offers the following probing canned cycles: • Tool calibration canned cycle. • Probe calibrating canned cycle. • Surface measuring canned cycle. •...
  • Page 288: Probe 1. Tool Length Calibrating Canned Cycle

    Prog ramm in g man u a l 12.3 PROBE 1. Tool length calibrating canned cycle This is used to calibrate the length and radius of the selected tool. The following operations are possible with this cycle. • Calibrate the length of a tool. •...
  • Page 289 P r o gr a m m i ng m a n u a l Programming format The programming format for this cycle is. (PROBE 1, B, I, F, J, K, L, C, D, E, S, M, C, N, X, U, Y, V, Z, W) Certain parameters are only relevant in certain type of measurement.
  • Page 290 Prog ramm in g man u a l 12.3.1 Calibrate the length or measure the length wear of a tool. The type of operation (calibration or measurement) is selected when calling the cycle. The calibration or measurement may be done on the tool shaft or on its tip. It is selected when calling the canned cycle.
  • Page 291 P r o gr a m m i ng m a n u a l [ D5.5 ] Distance from the tool shaft to the probing point It sets the radius or distance referred to the tool shaft being probed. If not defined, probing is carried out on the tool tip.
  • Page 292 Prog ramm in g man u a l Actions after finishing the cycle Once the calibration cycle has ended It updates global arithmetic parameter P299 and assigns the measured length to the tool offset selected in the tool offset table. P299 "Measured length"...
  • Page 293: Calibrate The Radius Or Measure The Radius Wear Of A Tool

    P r o gr a m m i ng m a n u a l 12.3.2 Calibrate the radius or measure the radius wear of a tool The type of operation (calibration or measurement) is selected when calling the cycle. The programming format depends on the operation to carry out: •...
  • Page 294 Prog ramm in g man u a l [ C ] Behavior when exceeding the amount of wear allowed Only if "M" has been set to other than zero. C = 0 It interrupts the execution for the user to select another tool. C = 1 The cycle replaces the tool with another one of the same family.
  • Page 295: Measure Or Calibrate The Tool Radius Wear And Tool Length Wear

    P r o gr a m m i ng m a n u a l 12.3.3 Measure or calibrate the tool radius wear and tool length wear. The type of operation (calibration or measurement) is selected when calling the cycle. The programming format depends on the operation to carry out: •...
  • Page 296 Prog ramm in g man u a l [ S±5.5 ] Speed and turning direction of the tool To probe with the spindle running, the tool must be turning in the opposite direction to the cutting direction. • When set to 0, probing is carried out with the spindle stopped. •...
  • Page 297 P r o gr a m m i ng m a n u a l Actions after finishing the cycle Once the calibration cycle has ended It updates global arithmetic parameter P298 and assigns the measured radius to the tool offset selected in the tool offset table.
  • Page 298: Probe 2. Probe Calibration Canned Cycle

    Prog ramm in g man u a l 12.4 PROBE 2. Probe calibration canned cycle. This is used to calibrate the probe located in the tool holding spindle. This probe which previously must be calibrated in length, will be the one used in probe measuring canned cycles. The cycle measures the deviation which the probe ball axis has with respect to the tool holder axis, using a previously machined hole with known center and dimensions for its calibration.
  • Page 299 P r o gr a m m i ng m a n u a l The programming format for this cycle is: (PROBE 2, X, Y, Z, B, J, E, H, F) [ X±5.5 ] Real coordinate, along the X axis, of the hole center. [ Y±5.5 ] Real coordinate, along the Y axis, of the hole center.
  • Page 300: Basic Operation

    Prog ramm in g man u a l 12.4.1 Basic operation Approach movement. Probe's rapid movement (G00) from the cycle calling point to the center of the hole. The approaching movement is made in two stages: ·1· Movement in the main work plane. ·2·...
  • Page 301 P r o gr a m m i ng m a n u a l ·2· Movement along the longitudinal axis to the coordinate of the point (along this axis) from where the cycle was called. ·3· Movement in the main work plane to the point where the cycle is called. Correction of the tool offset.
  • Page 302: Probe 3. Surface Measuring Canned Cycle

    Prog ramm in g man u a l 12.5 PROBE 3. Surface measuring canned cycle A probe placed in the spindle will be used, which must be previously calibrated by means of canned cycles: Tool length calibrating canned cycle. Probe calibrating canned cycle. This cycle allows correcting the value of the tool offset of the tool that has been used in the surface machining process.
  • Page 303 P r o gr a m m i ng m a n u a l [ D4 ] Tool offset Defines the number of the tool offset to be corrected, once the measurement cycle is completed. If this is not programmed or is programmed with a value of 0, the CNC will understand that it is not required to make this correction.
  • Page 304: Basic Operation

    Prog ramm in g man u a l 12.5.1 Basic operation Approach movement. Rapid probe movement (G00) from the cycle calling point to the approach point. This point is located in front of the point to be measured, at a safety distance (B) from it and along the probing axis (K).
  • Page 305 P r o gr a m m i ng m a n u a l Correction of the tool offset. If the Tool Offset Number (D) was selected, the CNC will modify the values of this tool offset, whenever the measurement error is equal to or greater than the tolerance (L). Depending on the axis the measurement is made with (K), the correction will be made on the length or radius value.
  • Page 306: Probe 4. Outside Corner Measuring Canned Cycle

    Prog ramm in g man u a l 12.6 PROBE 4. Outside corner measuring canned cycle A probe placed in the spindle will be used, which must be previously calibrated by means of canned cycles: Tool length calibrating canned cycle. Probe calibrating canned cycle.
  • Page 307: Basic Operation

    P r o gr a m m i ng m a n u a l 12.6.1 Basic operation Approach movement. Movement of the probe in rapid (G00) from the point where the cycle is called to the first approach point, situated at a distance (B) from the first face to be probed. The approaching movement is made in two stages: ·1·...
  • Page 308 Prog ramm in g man u a l Arithmetic parameters modified by the cycle Once the cycle has been completed, the CNC will return the real values obtained after measurement, in the following global arithmetic parameters. P296 Real coordinate of the corner along the abscissa axis. P297 Real coordinate of the corner along the ordinate axis.
  • Page 309: Probe 5. Inside Corner Measuring Canned Cycle

    P r o gr a m m i ng m a n u a l 12.7 PROBE 5. Inside corner measuring canned cycle. A probe placed in the spindle will be used, which must be previously calibrated by means of canned cycles: Tool length calibrating canned cycle.
  • Page 310: Basic Operation

    Prog ramm in g man u a l 12.7.1 Basic operation Approach movement. Movement of the probe in rapid (G00) from the point where the cycle is called to the first approach point, situated at a distance (B) from both faces to be probed. The approaching movement is made in two stages: ·1·...
  • Page 311 P r o gr a m m i ng m a n u a l Arithmetic parameters modified by the cycle Once the cycle has been completed, the CNC will return the real values obtained after measurement, in the following global arithmetic parameters. P296 Real coordinate of the corner along the abscissa axis.
  • Page 312: Probe 6. Angle Measuring Canned Cycle

    Prog ramm in g man u a l 12.8 PROBE 6. Angle measuring canned cycle A probe placed in the spindle will be used, which must be previously calibrated by means of canned cycles: Tool length calibrating canned cycle. Probe calibrating canned cycle. The programming format for this cycle is: (PROBE 6, X, Y, Z, B, F) [ X±5.5 ] Theoretical coordinate, along the X axis, of the vertex of the angle to be measured.
  • Page 313: Basic Operation

    P r o gr a m m i ng m a n u a l 12.8.1 Basic operation Approach movement. Movement of the probe in rapid (G00) from the point where the cycle is called to the first approach point, situated at a distance (B) from the programmed vertex and at (2B) from the face to be probed.
  • Page 314 Prog ramm in g man u a l Arithmetic parameters modified by the cycle Once the cycle has been completed, the CNC will return the real values obtained after measurement, in the following global arithmetic parameter. P295 Inclination angle which the part has in relation to the abscissa axis. Considerations for the cycle This cycle may be used to measure angles between ±45º.
  • Page 315: Probe 7. Corner And Angle Measuring Canned Cycle

    P r o gr a m m i ng m a n u a l 12.9 PROBE 7. Corner and angle measuring canned cycle. A probe placed in the spindle will be used, which must be previously calibrated by means of canned cycles: Tool length calibrating canned cycle.
  • Page 316: Basic Operation (Measuring An Outside Corner)

    Prog ramm in g man u a l 12.9.1 Basic operation (measuring an outside corner) Approach movement. Movement of the probe in rapid (G00) from the point where the cycle is called to the first approach point, situated at a distance (2B) from the first side to be probed. The approaching movement is made in two stages: ·1·...
  • Page 317 P r o gr a m m i ng m a n u a l Withdrawal movement. Movement of the probe in rapid (G00) from the third probing point to the point where the cycle was called. The withdrawal movement is made in three stages: ·1·...
  • Page 318: Basic Operation (Measuring An Inside Corner)

    Prog ramm in g man u a l 12.9.2 Basic operation (measuring an inside corner) Approach movement. Movement of the probe in rapid (G00) from the point where the cycle is called to the approach point, situated at a distance (B) from the first face to be probed. The approaching movement is made in two stages: ·1·...
  • Page 319 P r o gr a m m i ng m a n u a l Withdrawal movement. Movement of the probe in rapid (G00) from the third probing point to the point where the cycle was called. The withdrawal movement is made in three stages: ·1·...
  • Page 320: Probe 8. Hole Measuring Cycle

    Prog ramm in g man u a l 12.10 PROBE 8. Hole measuring cycle A probe placed in the spindle will be used, which must be previously calibrated by means of canned cycles: Tool length calibrating canned cycle. Probe calibrating canned cycle. The programming format for this cycle is: (PROBE 8, X, Y, Z, B, J, E, C, H, F) [ X±5.5 ] Theoretical coordinate, along the X axis, of the hole center...
  • Page 321: Basic Operation

    P r o gr a m m i ng m a n u a l 12.10.1 Basic operation Approach movement. Probe's rapid movement (G00) from the cycle calling point to the center of the hole. The approaching movement is made in two stages: ·1·...
  • Page 322 Prog ramm in g man u a l Withdrawal movement. This movement consists of: ·1· Movement of the probe in rapid (G00) from the point where it probed to the real center (calculated) of the hole. ·2· Should (C0) be programmed, the probe will be moved to the point where the cycle was called. Movement along the longitudinal axis to the coordinate of the point (along this axis) from where the cycle was called.
  • Page 323: Probe 9. Boss Measuring Cycle

    P r o gr a m m i ng m a n u a l 12.11 PROBE 9. Boss measuring cycle A probe placed in the spindle will be used, which must be previously calibrated by means of canned cycles: Tool length calibrating canned cycle.
  • Page 324: Basic Operation

    Prog ramm in g man u a l 12.11.1 Basic operation Positioning over the center of the boss. Movement of the probe in rapid (G00) from the point where the cycle is called to the center of the boss. The approaching movement is made in two stages: ·1·...
  • Page 325 P r o gr a m m i ng m a n u a l Fourth probing movement. Same as above. 10.Withdrawal movement. This movement consists of: ·1· Withdrawal to the fourth approach point. ·2· Movement of the probe in rapid (G00) and at a distance (B) above the boss to the real center (calculated) of the boss.
  • Page 326: Probe 10. Rectangular Part Centering Canned Cycle

    Prog ramm in g man u a l 12.12 PROBE 10. Rectangular part centering canned cycle Cycle that, with a digital probe, minimizes the preparation time of rectangular part calculating the real coordinates of the center, of the surface and of the part inclination. (PROBE 10, I, J, X, Y, Z, K, L, B, D, E, H, F, Q) Initial conditions •...
  • Page 327 P r o gr a m m i ng m a n u a l [ B5.5 ] Approach distance Part approaching distance in each probing movement. If not programmed or programmed as 0, it assumes the approach distance value from the probe position to the part. [ D±5.5 ] Probe's up distance Distance for the probe to go up in Z for its movements over the part.
  • Page 328: Basic Operation

    Prog ramm in g man u a l 12.12.1 Basic operation Approach movement (according to the value given in Q), first in the axes of the plane and then in the longitudinal axis, to the position of the first probing (only if X or Y or Z has been programmed).
  • Page 329: Probe 11. Circular Part Centering Canned Cycle

    P r o gr a m m i ng m a n u a l 12.13 PROBE 11. Circular part centering canned cycle. Cycle that, with a digital probe, minimizes the preparation time of circular part calculating the real coordinates of the center and of the surface of the part. (PROBE 11, J, X, Y, Z, K, L, B, D, E, H, F, Q) Initial conditions •...
  • Page 330 Prog ramm in g man u a l [ D±5.5 ] Probe's up distance along Z. Distance for the probe to go up in Z for its movements over the part. If not programmed or programmed with a 0 value, it generates the corresponding error message. [ E±5.5 ] Probe withdrawal distance Distance the probe retracts after finding the part, to make the measurement.
  • Page 331: Basic Operation

    P r o gr a m m i ng m a n u a l 12.13.1 Basic operation Approach movement (according to the value given in Q), first in the axes of the plane and then in the longitudinal axis, to the position of the first probing (only if X or Y or Z has been programmed).
  • Page 332: Probe 12. Tabletop Probe Calibration

    Prog ramm in g man u a l 12.14 PROBE 12. Tabletop probe calibration This cycle makes it easier to calibrate the probe reducing machine preparation time. Initial conditions The tool used for calibration must properly calibrated in radius and length. The values of the machine parameters of the probe must be close to their real values.
  • Page 333 P r o gr a m m i ng m a n u a l Cycle programming format Working in Cartesian coordinates, the basic structure of the block is as follows: PROBE 12, B, E, H, F, I, X, U, Y, V, Z, W [ B5.5 ] Approach distance Probe approaching distance in each probing movement.
  • Page 334 Prog ramm in g man u a l [ V±5.5 ] Approximate Y axis coordinate of the most positive side of the probe Approximate coordinate of the most positive side of the probe, along the ordinate axis. If not programmed, it will assume the value of general machine parameter PRBYMAX (P43). [ Z±5.5 ] Approximate Z axis coordinate of the least positive side of the probe Approximate coordinate of the least positive side of the probe, along the Z axis.
  • Page 335 P r o gr a m m i ng m a n u a l 30.Probing movement (at the feedrate given in H) until touching that side. 31.Rapid withdrawal (distance given in E) for the measuring probing movement. 32.Probing movement (at the feedrate given in F) until touching the same side again. 33.Rapid withdrawal on the Y axis up to the approach position.
  • Page 336 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·336·...
  • Page 337: Lexical Description

    HIGH-LEVEL LANGUAGE PROGRAMMING 13.1 Lexical description All the words that make up the high-level language of the numerical control must be written in capital letters except for associated texts which may be written in upper and lower case letters. The following elements are available for high-level programming: •...
  • Page 338 Prog ramm in g man u a l Simbols The symbols used in high-level language are: ( ) “ = + - * / , CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·338·...
  • Page 339: Variables

    P r o gr a m m i ng m a n u a l 13.2 Variables The CNC has a number of internal variables that may be accessed from the user program, from the PLC program or via DNC. Depending on how they are used, these variables may be read-only or read-write.
  • Page 340: General Purpose Parameters Or Variables

    Prog ramm in g man u a l 13.2.1 General purpose parameters or variables General purpose variables are referred to with the letter "P" followed by an integer number. The CNC has four types of general purpose variables. Parameter type Range Local parameters P0-P25...
  • Page 341 P r o gr a m m i ng m a n u a l Using arithmetic parameters by the cycles Multiple machining cycles (G60 through G65) and the machining canned cycles (G69, G81 to G89) use the sixth nesting level of local parameters when they are active. Machining canned cycles use the global parameter P299 for internal calculations and probing canned cycles use global parameters P294 to P299.
  • Page 342: Variables Associated With Tools

    Prog ramm in g man u a l 13.2.2 Variables associated with tools. These variables are associated with the tool offset table, tool table and tool magazine table, so the values which are assigned to or read from these fields will comply with the formats established for these tables.
  • Page 343 P r o gr a m m i ng m a n u a l PTOOL Returns the magazine position to where the current tool is to be left. It matches the value that will be received later on in the register "T2BCD" (R559) with the M6, but the latter will be in BCD format. This variable is only accessible via the CNC.
  • Page 344 Prog ramm in g man u a l TOKn This variable allows the value assigned to the wear in length (K) of the indicated tool offset (n) to be read or modified in the tool offset table. TLFDn This variable allows the tool offset number of the indicated tool (n) to be read or modified in the tool table.
  • Page 345: Variables Associated With Zero Offsets

    P r o gr a m m i ng m a n u a l 13.2.3 Variables associated with zero offsets. These variables are associated with the zero offsets and may correspond to the table values or to those currently preset either by means of function G92 or manually in the JOG mode. The possible zero offsets in addition to the additive offset indicated by the PLC, are G54, G55, G56, G57, G58 and G59.
  • Page 346 Prog ramm in g man u a l EXTORG Returns the active absolute zero offset. The values returned by the variable are identical for both possible expressions of absolute zero offsets. This read-only variable interrupts block preparation and may be read from the CNC, from the PLC and from DNC.
  • Page 347: Variables Associated With Function G49

    P r o gr a m m i ng m a n u a l 13.2.4 Variables associated with function G49 With function G49, it is possible to define a coordinate transformation or, in other words, the inclined plane resulting from that transformation. The values for each axis are given in the active units: If G70, in inches (within ±3937.00787).
  • Page 348 Prog ramm in g man u a l Read-write variables updated by the CNC once function G49 is executed Accessing the variables TOOROF or TOOROS interrupts block preparation and the CNC waits for that command to be executed before resuming block preparation. When having a swivel or angular spindle, general machine parameter XFORM (P93) with a value of 2 or 3, the CNC shows the following data: TOOROF...
  • Page 349: Variables Associated With Machine Parameters

    P r o gr a m m i ng m a n u a l 13.2.5 Variables associated with machine parameters These variables associated with machine parameters are read-only variables. These variables may be read and written when executed inside an OEM program or subroutine. Refer to the installation and start-up manual to know the format of the values returned.
  • Page 350: Variables Associated With Work Zones

    Prog ramm in g man u a l 13.2.6 Variables associated with work zones Variables associated with work zones are read-only variables. The values of the limits are given in the active units: If G70, in inches (within ±3937.00787). If G71, in millimeters (within ±99999.9999). If rotary axis in degrees (within ±99999.9999).
  • Page 351: Variables Associated With Feedrates

    P r o gr a m m i ng m a n u a l 13.2.7 Variables associated with feedrates Read-only variables associated with the real (actual) feedrate FREAL It returns the CNC's real feedrate. In mm/minute or inches/minute. (P100=FREAL) It assigns the real feedrate value of the CNC to parameter P100.
  • Page 352 Prog ramm in g man u a l Read-only variables associated with function G32 PRGFIN It returns the feedrate selected by program, in 1/min. Likewise, the CNC variable FEED, associated with G94, indicates the resulting feedrate in mm/min or inches/min. Read-only variables associated with the override It returns the feedrate override (%) currently selected at the CNC.
  • Page 353: Variables Associated With Coordinates

    P r o gr a m m i ng m a n u a l 13.2.8 Variables associated with coordinates The coordinate values for each axis are given in the active units: If G70, in inches (within ±3937.00787). If G71, in millimeters (within ±99999.9999). If rotary axis in degrees (within ±99999.9999).
  • Page 354 Prog ramm in g man u a l Although the probe keeps moving until the CNC receives the probing signal, the CNC takes into account the value assigned to general machine parameter PRODEL and provides the following information in the variables TPOS(X-C) and DPOS(X-C). TPOS(X-C) Actual position of the probe when the CNC receives the probe signal.
  • Page 355 P r o gr a m m i ng m a n u a l Read-and-write variables DIST(X-C) These variables may be used to read or modify the distance traveled by the selected axis. This value is accumulative and is very useful when it is required to perform an operation which depends on the distance traveled by the axes, their lubrication for example.
  • Page 356: Variables Associated With Electronic Handwheels

    The screen always shows the value selected at the switch. HBEVAR It must be used when having a Fagor HBE handwheel. It indicates whether the HBE handwheel is enabled or not, the axis to be jogged and the multiplying factor to be applied (x1, x10, x100).
  • Page 357 P r o gr a m m i ng m a n u a l (^) When the machine has a general handwheel and individual handwheels (associated with an axis), it indicates which handwheel has priority when both are turned at the same time. The individual handwheel has priority.
  • Page 358: Variables Associated With Feedback

    Prog ramm in g man u a l 13.2.10 Variables associated with feedback ASIN(X-C) "A" signal of the CNC's sinusoidal feedback for the X-C axis. BSIN(X-C) "B" signal of the CNC's sinusoidal feedback for the X-C axis. ASINS "A" signal of the CNC's sinusoidal feedback for the spindle. BSINS "B"...
  • Page 359: Variables Associated With The Main Spindle

    P r o gr a m m i ng m a n u a l 13.2.11 Variables associated with the main spindle In these variables associated with the spindle, their values are given in revolutions per minute and the main spindle override values are given in integers from 0 to 255. Certain variables interrupt block preparation (it is indicated in each one) and the CNC waits for that command to be executed before resuming block preparation.
  • Page 360 Prog ramm in g man u a l This limit may be indicated by program, by PLC or by DNC; the CNC selects one of them, the one indicated by DNC has the highest priority and the one indicated by program has the lowest priority. DNCSL It returns the speed limit of the main spindle in rpm currently selected via DNC.
  • Page 361 P r o gr a m m i ng m a n u a l Read-and-write variables PRGSSO This variable may be used to read or modify the speed override percentage of the main spindle currently selected by program. It is given in integer values between 0 and "MAXFOVR" (maximum 255).
  • Page 362: Variables Associated With The Second Spindle

    Prog ramm in g man u a l 13.2.12 Variables associated with the second spindle In these variables associated with the spindle, their values are given in revolutions per minute and the 2nd spindle override values are given in integers from 0 to 255. Read-only variables SSREAL Returns the real 2nd spindle turning speed in revolutions per minute.
  • Page 363 P r o gr a m m i ng m a n u a l SSLIMI It returns the value set in rpm at the CNC for the turning speed limit of the second spindle. This limit may be indicated by program, by PLC or by DNC; the CNC selects one of them, the one indicated by DNC has the highest priority and the one indicated by program has the lowest priority.
  • Page 364 Prog ramm in g man u a l Read-and-write variables SPRGSO This variable may be used to read or modify the speed override percentage of the second spindle currently selected by program. It is given in integer values between 0 and "MAXFOVR" (maximum 255).
  • Page 365: Variables Associated With The Live Tool

    P r o gr a m m i ng m a n u a l 13.2.13 Variables associated with the live tool Read-only variables ASPROG It must be used inside the subroutine associated with function M45. Returns the revolutions per minute programmed in M45 S. If programmed only in M45, the value 0 will be used.
  • Page 366: Plc Related Variables

    Prog ramm in g man u a l 13.2.14 PLC related variables It should be borne in mind that the PLC has the following resources: (I1 thru I512) Inputs. (O1 thru O512) Outputs. M1 thru M5957) Marks. (R1 thru R499) 32-bit registers.
  • Page 367 P r o gr a m m i ng m a n u a l PLCMMn This variable permits reading or modifying the PLC mark (n). (PLMM4=1) It sets mark M4 to ·1· and leaves the rest untouched. (PLCM4=1) It sets mark M4 to ·1· and the following 31 marks (M5, through M35) to ·0· CNC 8055 CNC 8055i ·M·...
  • Page 368: Variables Associated With Local Parameters

    Prog ramm in g man u a l 13.2.15 Variables associated with local parameters The CNC allows 26 local parameters (P0-P25) to be assigned to a subroutine, by using mnemonics PCALL and MCALL. In addition to performing the required subroutine these mnemonics allow local parameters to be initialized.
  • Page 369: Sercos Variables

    P r o gr a m m i ng m a n u a l 13.2.16 Sercos variables They are used in the data exchange via Sercos between the CNC and the drives. Read-only variables TSVAR(X-C) TSVARS TSSVAR It returns the third attribute of the Sercos variable corresponding to the "identifier". The third attribute is used in particular software applications and its information is coded according to the Sercos standard.
  • Page 370: Software & Hardware Configuration Variables

    Prog ramm in g man u a l 13.2.17 Software & hardware configuration variables Read-only variables HARCON It indicates, with bits, the CNC's hardware configuration. The bit will be "1" when the relevant configuration is available. CNC8055 model: Meaning 4,3,2,1 0000 8055 FL model.
  • Page 371 P r o gr a m m i ng m a n u a l CNC8055i model: Meaning 4, 3, 2, 1 0100 8055i FL model. 0110 8055i Power model. Sercos (digital model). Reserved. 9, 8, 7 Expansion board missing. "Feedback + I/O"...
  • Page 372 Prog ramm in g man u a l IDHARH IDHARL They return, in BCD code, the hardware identification number corresponding to the KeyCF. It is the number appearing on the software diagnosis screen. Since the identification number has 12 digits, the IDHARL variable shows the 8 least significant bits and the IDHARH the 4 most significant bits.
  • Page 373: Variables Associated With Telediagnosis

    P r o gr a m m i ng m a n u a l 13.2.18 Variables associated with telediagnosis Read-only variables HARSWA HARSWB They return, in 4 bits, the central unit configuration, a value of "1" if it is present and "0" if not. Logic address (device select) set on each board with the dip-switches (see installation manual).
  • Page 374 Prog ramm in g man u a l HARTST It returns the result of the hardware test. The data comes at the least significant bits with a "1" if it failed and with a "0" if OK or if the relevant board is missing. Bits 24V test of IO4 module Inside temperature...
  • Page 375 P r o gr a m m i ng m a n u a l IOSREM They may be used to read the number of remote digital I/O available. Meaning 0 - 15 Number of inputs. 16 - 31 Number of outputs. CNC 8055 CNC 8055i ·M·...
  • Page 376: Operating-Mode Related Variables

    Prog ramm in g man u a l 13.2.19 Operating-mode related variables Read-only variables related to the standard mode OPMODE It returns the code corresponding to the selected operating mode. 0 = Main menu. 10 = Automatic execution. 11 = Single block execution. 12 = MDI in EXECUTION.
  • Page 377 P r o gr a m m i ng m a n u a l 70 = DNC status. 71 = CNC status. 80 = PLC file editing. 81 = PLC program compilation. 82 = PLC monitoring. 83 = Active PLC messages. 84 = Active PLC pages.
  • Page 378 Prog ramm in g man u a l Read-only variables related to the conversational mode (MC, MCO) and configurable mode M, ([SHIFT]-[ESC]). In these work modes, it is recommended to use variables OPMODA, OPMODB and OPMODC. The OPMODE variable is generic and contains different values to those of the standard mode. OPMODE It returns the code corresponding to the selected operating mode.
  • Page 379 P r o gr a m m i ng m a n u a l OPMODB Indicates the type of simulation currently selected. This information is given at the least significant bits indicating with a "1" the one currently selected. Bit 0 Theoretical path.
  • Page 380: Other Variables

    Prog ramm in g man u a l 13.2.20 Other variables Read-only variables NBTOOL Indicates the tool number being managed. This variable can only be used within the tool change subroutine. Example: There is a manual tool changer. Tool T1 is currently selected and the operator requests tool T5.
  • Page 381 P r o gr a m m i ng m a n u a l GGSD It returns the status of functions G5 through G99. The status of each one of the functions will be given in the 25 least significant bits and it will be indicated by a 1 when active and a 0 when not active or when not available in the current software version.
  • Page 382 Prog ramm in g man u a l GGSL It returns the status of functions G75 through G299. The status of each one of the functions will be given in the 25 least significant bits and it will be indicated by a 1 when active and a 0 when not active or when not available in the current software version.
  • Page 383 P r o gr a m m i ng m a n u a l PLANE Returns data on the abscissa axis (bits 4 to 7) and the ordinate axis (bits 0 to 3) of the active plane in 32 bits and in binary. 7654 3210 Abscissa axis...
  • Page 384 Prog ramm in g man u a l ROTPS Returns the ordinate value of the rotation center with respect to the Cartesian coordinate origin. It is given in the active units: If G70, in inches (within ±3937.00787). If G71, in millimeters (within ±99999.9999). PRBST Returns probe status.
  • Page 385 P r o gr a m m i ng m a n u a l ANAIn It returns the status of the indicated analog input (n). The value given in Volts and in ±1.4 format. • At the –Axes– module, it is possible to select one of the 8 analog inputs (1··8) available. The values returned will be within the ±5 V range.
  • Page 386 Prog ramm in g man u a l TEMPIn It returns the temperature in tenths of a degree detected by the PT100. It is possible to select one of the 4 temperature inputs (1··4) available. Read-and-write variables TIMER This variable allows reading or modifying the time, in seconds, indicated by the clock enabled by the PLC.
  • Page 387 P r o gr a m m i ng m a n u a l DIAM It changes the programming mode for X axis coordinates between radius and diameter. When changing the value of this variable, the CNC assumes the new way to program the following blocks. When the variable is set to ·1·, the programmed coordinates are assumed in diameter;...
  • Page 388 Prog ramm in g man u a l Programming example: (CYCCHORDERR = 25) (PCALL 9986, P200=0) It is recommended to use a CYCCHORDERR value of 25 tenths of a micron. This value improves part finish and it does not increase machining time too much. CNC 8055 CNC 8055i ·M·...
  • Page 389: Constants

    P r o gr a m m i ng m a n u a l 13.3 CONSTANTS Constants are defined as being all those fixed values which cannot be altered by a program. The following are considered as constants: • Numbers expressed in the decimal system. •...
  • Page 390: Operators

    Prog ramm in g man u a l 13.4 Operators An operator is a symbol that indicates the mathematical or logic operations to carry out. The CNC has arithmetic, relational, logic, binary, trigonometric operators and special operators. Arithmetic operators. add. P1=3 + 4 P1=7 subtraction, also a negative value.
  • Page 391 P r o gr a m m i ng m a n u a l Other functions. absolute value. P1=ABS -8 P1=8 decimal logarithm. P2=LOG 100 P2=2 SQRT square root. P3=SQRT 16 P3=4 ROUND rounding up an integer number. P4=ROUND 5.83 P4=6 Integer.
  • Page 392: Expressions

    Prog ramm in g man u a l 13.5 Expressions An expression is any valid combination of operators, constants, parameters and variables. All expressions must be placed between brackets, but if the expression is reduced to an integer, the brackets can be removed. 13.5.1 Arithmetic expressions These are formed by combining functions and arithmetic, binary and trigonometric operators with...
  • Page 393: Relational Expressions

    P r o gr a m m i ng m a n u a l 13.5.2 Relational expressions These are arithmetic expressions joined by relational operators. (IF (P8 EQ 12.8) ; It checks if the value of P8 is equal to 12.8. (IF (ABS(SIN(P24)) GT SPEED) ;Analyzes if the sine is greater than the spindle speed.
  • Page 394 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·394·...
  • Page 395 PROGRAM CONTROL INSTRUCTIONS The control instructions available to high-level programming can be grouped as follows: • Assignment instructions. • Display instructions. • Enable-disable instructions. • Flow control instructions. • Subroutine instructions. • Probe related instructions. • Interruption-subroutine instructions. • Program instructions. •...
  • Page 396: Assignment Instructions

    Prog ramm in g man u a l 14.1 Assignment instructions This is the simplest type of instruction and can be defined as: (target = arithmetic expression) A local or global parameter or a read-write variable may be selected as target. The arithmetic expression may be as complex as required or a simple numerical constant.
  • Page 397: Display Instructions

    P r o gr a m m i ng m a n u a l 14.2 Display instructions (ERROR integer, "error text") This instruction stops the execution of the program and displays the indicated error, it being possible to select this error in the following ways: (ERROR integer) This will display the error number indicated and the text associated to this number according to the CNC error code (should there be one).
  • Page 398: Enable-Disable Instructions

    Prog ramm in g man u a l 14.3 Enable-disable instructions (ESBLK and DSBLK) After executing the mnemonic ESBLK, the CNC executes all the blocks that come after as if it were dealing with a single block. This single block treatment is kept active until it is cancelled by executing the mnemonic DSBLK. In this way, should the program be executed in the SINGLE BLOCK operating mode, the group of blocks which are found between the mnemonics ESBLK and DSBLK will be executed in a continuous cycle, i.e., execution will not be stopped at the end of a block but will continue by executing the...
  • Page 399: Flow Control Instructions

    P r o gr a m m i ng m a n u a l 14.4 Flow control instructions The GOTO and RPT instructions cannot be used in programs that are executed from a PC connected through the serial line. ( GOTO N(expression) ) The mnemonic GOTO causes a jump within the same program, to the block defined by the label N(expression).
  • Page 400 Prog ramm in g man u a l Both <action1> and <action2> can be expressions or instructions, except for mnemonics IF and SUB. Due to the fact that in a high level block local parameters can be named by means of letters, expressions of this type can be obtained: (IF (E EQ 10) M10) If the condition of parameter P5 (E) having a value of 10 is met, the miscellaneous function M10...
  • Page 401: Subroutine Instructions

    P r o gr a m m i ng m a n u a l 14.5 Subroutine instructions A subroutine is a part of a program which, being properly identified, can be called from any position of a program to be executed. A subroutine can be kept in the memory of the CNC as an independent part of a program and be called one or several times, from different positions of a program or different programs.
  • Page 402 Prog ramm in g man u a l ( CALL (expression) ) The mnemonic CALL makes a call to the subroutine indicated by means of a number or by means of any expression that results in a number. As a subroutine may be called from a main program, or a subroutine, from this subroutine to a second one, from the second to a third, etc..., the CNC limits these calls to a maximum of 15 nesting levels, it being possible to repeat each of the levels 9999 times.
  • Page 403 P r o gr a m m i ng m a n u a l (PCALL (expression), (assignment instruction), (assignment instruction),...) ) The mnemonic PCALL calls the subroutine indicated by means of a number or any expression that results in a number. In addition, it allows up to a maximum of 26 local parameters of this subroutine to be initialized.
  • Page 404 Prog ramm in g man u a l (MCALL (expression), (assignment instruction), (assignment instruction),...) ) By means of the mnemonic MCALL, any user-defined subroutine (SUB integer) acquires the category of canned cycle. The execution of this mnemonic is the same as the mnemonic PCALL, but the call is modal, i.e., if another block with axis movement is programmed at the end of this block, after this movement, the subroutine indicated will be executed and with the same call parameters.
  • Page 405: Calls To Subroutines Using G Functions

    P r o gr a m m i ng m a n u a l 14.5.1 Calls to subroutines using G functions Subroutine calls are made using the CALL and PCALL instructions. In addition to using these statements, it is also possible to make subroutine calls using specific G functions. This way, the calls to subroutines are more similar to machine tool language.
  • Page 406: Probe Related Instructions

    Prog ramm in g man u a l 14.6 Probe related instructions (PROBE (expression), (assignment instruction), (assignment instruction),...) ) The mnemonic PROBE calls the probe cycle indicated by means of a number or any expression that results in a number. In addition, it allows the local parameters of this subroutine to be initialized by means of assignment instructions.
  • Page 407: Interruption-Subroutine Instructions

    P r o gr a m m i ng m a n u a l 14.7 Interruption-subroutine instructions Whenever one of the general interruption logic input is activated, "INT1" (M5024), "INT2" (M5025), "INT3" (M5026) or "INT4 (M5027), the CNC temporarily interrupts the execution of the program in progress and starts executing the interruption subroutine whose number is indicated by the corresponding general parameter.
  • Page 408 Prog ramm in g man u a l 14.8 Program instructions With this CNC, from a program in execution, it is possible to: • Execute another program. Instruction (EXEC P..) • Execute another program in modal mode. Instruction (MEXEC P..) •...
  • Page 409 P r o gr a m m i ng m a n u a l Parameter A/D is used when the program to be edited already exists. The CNC appends the new blocks after the ones already existing. The CNC deletes the existing program and starts editing a new one. A program comment may also be associated with it;...
  • Page 410 Prog ramm in g man u a l Example of the creation of a program which contains several points of a cardioid: | R = B cos (Q/2) | Subroutine number 2 is used, its parameters having the following meaning: A or P0 Value of angle Q.
  • Page 411 P r o gr a m m i ng m a n u a l 14.9 Kinematics related instructions Changing the kinematics requires modifying the general machine parameters associated with them and validating them. The machine parameters may be modified from the OEM subroutines and then the values validated using the INIPAR instruction.
  • Page 412 Prog ramm in g man u a l 14.10 Screen customizing instructions Customizing instructions may be used only when customizing programs made by the user. These customizing programs must be stored in the CNC's RAM memory and they may utilize the "Programming Instructions"...
  • Page 413 P r o gr a m m i ng m a n u a l The wait for data entry will only occur when programming the format of the requested data. This format may have a sign, integer part and decimal part. If it bears the "-"...
  • Page 414 Prog ramm in g man u a l ( ODW (expression 1), (expression 2), (expression 3) ) The mnemonic ODW defines and draws a white window on the screen with fixed dimensions (1 row and 14 columns). Each mnemonic has an associated number which is indicated by the value of expression 1 once this has been evaluated.
  • Page 415 P r o gr a m m i ng m a n u a l Each text will allow a maximum of 20 characters that will be shown in two lines of 10 characters each. If the text selected has less than 10 characters, the CNC will center it on the top line, but if it has more than 10 characters the programmer will center it.
  • Page 416 Prog ramm in g man u a l • ( WBUF ) Enters into memory, adding to the program being edited and after the cursor position, the block being edited by means of (WBUF "text", (expression)). It also clears the editing buffer in order to edit a new block.
  • Page 417 P r o gr a m m i ng m a n u a l CICLO 1 ; Displays page 11 and defines 2 data entry windows (PAGE 11) (ODW 1,10,60) (ODW 2,15,60) ;Editing (WBUF "( PCALL 1,") ; Adds "(PCALL 1," to the block being edited. (IB 1=INPUT "X:",-6.5) ;...
  • Page 418 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·418·...
  • Page 419 COORDINATE TRANSFORMATION The description of the general coordinate transformation is divided into three basic functions: • Movement in an inclined plane (G49). • Tool movement according to the tool coordinate system (G47). • TCP transformation, Tool Center Point (G48). For a better understanding of coordinate transformation, three machine coordinate systems will be considered in the following examples.
  • Page 420 Prog ramm in g man u a l Case –A– No transformation has been done and the spindle is spinning. If a Z axis movement is programmed (G01 Z), this axis will move according to the part coordinate system which, in this case, coincides with machine coordinates. Now, to move the tool according to the tool coordinate system, function G47 must be used when programming the movement of the Z axis (G01 G47 Z).
  • Page 421 P r o gr a m m i ng m a n u a l Case –B– An inclined plane has been selected (G49) and the spindle is perpendicular to it. If a Z axis movement is programmed (G01 Z), this axis will move according to the part coordinate system.
  • Page 422 Prog ramm in g man u a l Case –C– An inclined plane has been selected (G49) and the spindle is not perpendicular to it. If a Z axis movement is programmed (G01 Z), this axis will move according to the part coordinate system.
  • Page 423 P r o gr a m m i ng m a n u a l To move the tool according to the machine coordinate system, function G53 (programming with respect to home) must be used when programming the movement of the Z axis (G01 G53 Z). Function G53 is not modal and only affects the programmed movement.
  • Page 424: Movement In An Inclined Plane

    Prog ramm in g man u a l 15.1 Movement in an inclined plane An inclined plane is any plane in space resulting from the coordinate transformation of the X, Y, Z axes. Any plane in space may be selected to carry out machining operations in it. The coordinates are programmed as if it were a regular XY plane, but the program will be executed in the indicated inclined plane.
  • Page 425: Definition Of The Inclined Plane (G49)

    P r o gr a m m i ng m a n u a l 15.1.1 Definition of the inclined plane (G49) With function G49, it is possible to define a coordinate transformation or, in other words, the inclined plane resulting from that transformation. There are several ways to define G49. G49 X Y Z A B C Defines the inclined plane resulting from rotating around the X axis first and around the Z axis last the amounts indicated in A, B, C respectively.
  • Page 426 Prog ramm in g man u a l And last, rotate around the Z'' axis the amount indicated by C. G49 X Y Z Q R S Spherical coordinates. Defines the inclined plane resulting from rotating around the Z axis first, then around the Y axis and again around the Z axis the amounts indicated by Q, R, S respectively.
  • Page 427 P r o gr a m m i ng m a n u a l Then, it must be rotated around the Y' axis the R amount. In the figure, the new coordinate system resulting from this transformation is called X'' Y' Z' because the X, Z axes have been rotated.
  • Page 428 Prog ramm in g man u a l Defines which of the axes of the new Cartesian plane (X' Y' ) is aligned with the edge. If R0, the X' axis is lined up and If R1, the Y' axis is lined up. If not programmed, a value of R0 is assumed. Lets rotate the coordinates in the new Cartesian plane.
  • Page 429 P r o gr a m m i ng m a n u a l The new work plane will be perpendicular to the orientation of the tool. The Z axis keeps the same orientation as the tool. The orientation of the X, Y axes in the new work plane depends on the spindle type and on how its rotary axes are oriented.
  • Page 430: G49 In Swinging Spindles

    Prog ramm in g man u a l 15.1.2 G49 in swinging spindles For the function G49, inclined plane definition, the W parameter W has been added. This indicates that it is an oscillating spindle and that it must be defined at the end: G49 ****** W. G49 X Y Z A B C W G49 X Y Z Q R S W G49 X Y Z I J K R S W...
  • Page 431: G49 On Huron Type Spindles

    P r o gr a m m i ng m a n u a l 15.1.3 G49 on Huron type spindles When defining a new inclined plane, the CNC provides the position that each rotary axis must occupy to orient the tool perpendicular to the new plane. That position is indicated in variables TOOROF and TOOROS and arithmetic parameters P297 and P298.
  • Page 432: Considerations About The G49 Function

    Prog ramm in g man u a l 15.1.4 Considerations about the G49 function G49 cannot be programmed in the following instances: • At the GP model CNC • From the PLC channel (although it can be programmed from the user channel). •...
  • Page 433: Variables Associated With Function G49

    P r o gr a m m i ng m a n u a l 15.1.5 Variables associated with function G49 Read-only variables associated with the definition of function G49 ORGROX ORGROY ORGROZ New part zero coordinates with respect to home. ORGROA ORGROB ORGROC...
  • Page 434: Parameters Associated With Function G49

    Prog ramm in g man u a l 15.1.6 Parameters associated with function G49 Once G49 has been executed, the CNC updates global parameters P297 and P298: P297 It indicates the position to be occupied by the spindle's main rotary axis in order to orient the spindle perpendicular to the indicated inclined plane.
  • Page 435: Programming Example

    P r o gr a m m i ng m a n u a l 15.1.7 Programming example G49 X0 Y0 Z100 B-30 Defines the inclined plane. G01 AP298 BP297 Orients the main axis (B) and the secondary axis (A) so the tool is perpendicular to the plane.
  • Page 436: Movement According To The Tool Coordinate System (G47)

    Prog ramm in g man u a l 15.2 Movement according to the tool coordinate system (G47) When using this function, a swivel or angled spindle should be utilized (general machine parameter "XFORM (P93)" set to 2 or 3). When not using function G47, the tool moves according to the part coordinate system In the example on the left, the part coordinates coincide with those of the machine and in the example on the right, an inclined plane is active (G49).
  • Page 437: Tcp Transformation (G48)

    P r o gr a m m i ng m a n u a l 15.3 TCP Transformation (G48) In order to use this feature, the spindle articulations must have encoders and they must be controlled by the CNC. When working with TCP transformation, Tool Center Point, the tool orientation may be modified without changing the position of its tip (part coordinates).
  • Page 438 Prog ramm in g man u a l Example –A– Circular interpolation keeping tool orientation fixed. • Block N20 selects the ZX plane (G18) and positions the tool at the starting point (30,90). • Block N21 turns TCP transformation on. •...
  • Page 439 P r o gr a m m i ng m a n u a l • Block N33 defines a circular interpolation up to point (170,90) setting the final tool orientation to (0º). The CNC interpolates the XZB axes executing the programmed circular interpolation while rotating the tool from the current position (-90º) to the programmed final orient position (0º).
  • Page 440: Considerations About The G48 Function

    Prog ramm in g man u a l 15.3.1 Considerations about the G48 function G49 cannot be programmed in the following instances: • At the GP model CNC • From the PLC channel (although it can be programmed from the user channel). In order to work with TCP transformation (G48), the X, Y, Z axes must be defined, they must form the acive trihedron and be linear.
  • Page 441 P r o gr a m m i ng m a n u a l When working with inclined planes and TCP transformation, it is recommended to follow this programming order (sequence): G48 S1 Turn TCP transformation on. G49 ... Define the inclined plane.
  • Page 442 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·442·...
  • Page 443 ANGULAR TRANSFORMATION OF AN INCLINE AXIS With the angular transformation of an incline axis, it is possible to make movements along an axis that is not perpendicular to another. The movements are programmed in the Cartesian system and to make the movements, they are transformed into movements on the real axes. On certain machines, the axes are configured in a Cartesian way, they are not perpendicular to each other.
  • Page 444 Prog ramm in g man u a l Considerations for the angular transformation of an incline axis. The axes involved in an angular transformation must be linear. Both axes may have Gantry axes associated with them, the may be slaved (coupled) or synchronized by PLC. If the angular transformation is active, the coordinates displayed will be those of the Cartesian system.
  • Page 445: Turning Angular Transformation On And Off

    P r o gr a m m i ng m a n u a l 16.1 Turning angular transformation on and off Turn angular transformation on When the transformation is on, the movements are programmed in the Cartesian system and to make the movements, the CNC transforms them into movements on the real axes.
  • Page 446: Freezing The Angular Transformation

    Prog ramm in g man u a l 16.2 Freezing the angular transformation Freezing the angular transformation is a special way to make movements along the angular axis, but programming it in the Cartesian system. The angular transformation cannot be "frozen" (suspended) while jogging.
  • Page 447 P r o gr a m m i ng m a n u a l APPENDIX A. ISO code programming................449 B. Program control instructions..............451 C. Summary of internal CNC variables............455 D. Key code ....................463 E. Programming assistance screens of the system........473 F.
  • Page 449 P r o gr a m m i ng m a n u a l ISO CODE PROGRAMMING Function Meaning Section Rapid traverse Linear interpolation Clockwise circular (helical) interpolation Counterclockwise circular (helical) interpolation Dwell/interruption of block preparation Round corner 7.3.2 Circle center in absolute coordinates Square corner 7.3.1...
  • Page 450 Prog ramm in g man u a l Function Meaning Section Multiple machining in rectangular pattern 10.2 Grid pattern canned cycle 10.3 Multiple machining in a circular pattern 10.4 Multiple machining in an arc 10.5 Machining programmed with an arc-chord 10.6 Irregular pocket canned cycle 11.1...
  • Page 451 P r o gr a m m i ng m a n u a l PROGRAM CONTROL INSTRUCTIONS Display instructions. section 14.2 (ERROR integer, "error text") Stops the execution of the program and displays the indicated error. (MSG "message") Displays the indicated message. (DGWZ expression 1, ..
  • Page 452 Prog ramm in g man u a l Probe related instructions. section 14.6 (PROBE (expression), (assignment instruction), (assignment instruction),...) ) It executes a probing canned cycle initializing its parameters by means of assignment instructions. Interruption-subroutine instructions. section 14.7 ( REPOS X, Y, Z, ..) It must always be used inside an interruption subroutine and facilitates the repositioning of the machine axes to the point of interruption.
  • Page 453 P r o gr a m m i ng m a n u a l section 14.10 ( WBUF "text", (expression) ) It adds the text and value of the expression, once it has been evaluated, to the block that is being edited and within the data entry window.
  • Page 454 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·454·...
  • Page 455 P r o gr a m m i ng m a n u a l SUMMARY OF INTERNAL CNC VARIABLES. • The R symbol indicates that the variable can be read. • The W symbol indicates that the variable can be modified. Variables associated with tools.
  • Page 456 Prog ramm in g man u a l Variables updated by the CNC once function G49 is executed. TOOROF R/W Position to be occupied by the spindle's main rotary axis. TOOROS R/W Position to be occupied by the spindle's 2nd rotary axis. Variables associated with machine parameters.
  • Page 457 P r o gr a m m i ng m a n u a l Variables associated with feedrate override (%) Feedrate Override (%) active at the CNC. PRGFRO Override (%) selected by program. DNCFRO R/W Override (%) selected via DNC. PLCFRO Override (%) selected via PLC.
  • Page 458 Prog ramm in g man u a l Variables associated with spindle speed. SPEED Active spindle speed at the CNC. DNCS R/W Spindle speed selected via DNC. PLCS Spindle speed selected via PLC. PRGS Spindle speed selected by program. Variables associated with the spindle override. Spindle Speed Override (%) active at the CNC.
  • Page 459 P r o gr a m m i ng m a n u a l Speed limit related variables. SSLIMI Spindle speed limit active at the CNC. SDNCSL R/W Spindle speed limit selected via DNC. SPLCSL Spindle speed limit selected via PLC. SPRGSL Spindle speed limit selected by program.
  • Page 460 Prog ramm in g man u a l Software & hardware configuration variables. section 13.2.17 Variable HARCON It indicates, with bits, the CNC's hardware configuration. HARCOA It indicates, with bits, the CNC's hardware configuration. IDHARH Hardware identifier (8 least significant bits). IDHARL Hardware identifier (4 most significant bits).
  • Page 461 P r o gr a m m i ng m a n u a l section 13.2.20 Variable LONGAX Axis affected by the tool length compensation (G15). MIRROR Active mirror images. SCALE General scaling factor applied. Reading from the PLC in ten-thousandths. SCALE(X-C) Scaling Factor applied only to the indicated axis.
  • Page 462 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·462·...
  • Page 463 P r o gr a m m i ng m a n u a l KEY CODE Alpha-numeric keyboard and monitor CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·463·...
  • Page 464 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·464·...
  • Page 465 P r o gr a m m i ng m a n u a l Alphanumeric operator panel CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·465·...
  • Page 466 Prog ramm in g man u a l MC operator panel CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·466·...
  • Page 467 P r o gr a m m i ng m a n u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·467·...
  • Page 468 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·468·...
  • Page 469 P r o gr a m m i ng m a n u a l MCO/TCO operator panel CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·469·...
  • Page 470 Prog ramm in g man u a l Alphanumeric keyboard CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·470·...
  • Page 471 P r o gr a m m i ng m a n u a l 11" LCD Monitor CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·471·...
  • Page 472 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·472·...
  • Page 473 P r o gr a m m i ng m a n u a l PROGRAMMING ASSISTANCE SCREENS OF THE SYSTEM. These screens (pages) may be displayed using the high level instruction “PAGE”. They all belong to the CNC system and are used as help screens of the corresponding functions. Syntax-graphics help screens Page 1000 Preparatory functions G00-G09.
  • Page 474 Prog ramm in g man u a l Syntax help: ISO language Page 1033 Structure of a program block. Page 1034 Positioning and linear interpolation: G00, G01 (part 1). Page 1035 Positioning and linear interpolation: G00, G01 (part 2). Page 1036 Circular-helical interpolation: G02, G03 (part 1).
  • Page 475 P r o gr a m m i ng m a n u a l Syntax help: CNC tables Page 1090 Tool offset table. Page 1091 Tool table. Page 1092 Tool magazine table. Page 1093 Auxiliary (miscellaneous) M function table. Page 1094 Zero offset table.
  • Page 476 Prog ramm in g man u a l Syntax help: Canned cycles Page 1070 Multiple machining in a straight line: G60. Page 1071 Multiple machining in a rectangular pattern: G61. Page 1072 Multiple machining in a grid pattern: G62. Page 1073 Multiple machining in a circular pattern: G63.
  • Page 477 • Dissolved detergents. • Alcohol. Fagor Automation shall not be held responsible for any material or physical damage derived from the violation of these basic safety requirements. To check the fuses, first unplug the unit from mains If the CNC does not turn on when flipping the power switch, check that the fuses are the right ones and they are in good condition.
  • Page 478 Prog ramm in g man u a l CNC 8055 CNC 8055i ·M· & ·EN· M ODELS : V02.2 ·478·...
  • Page 479 P r o gr a m m i ng m a n u a l CNC 8055 CNC 8055i : V02.2 ·479·...
  • Page 480 Prog ramm in g man u a l CNC 8055 CNC 8055i : V02.2 ·480·...
  • Page 482 FAGOR AUTOMATION Fagor Automation S. Coop. Bº San Andrés, 19 - Apdo. 144 E-20500 Arrasate-Mondragón, Spain Tel: +34 943 719 200 +34 943 039 800 Fax: +34 943 791 712 E-mail: info@fagorautomation.es www.fagorautomation.com...

This manual is also suitable for:

8055 en8055i m8055i en

Table of Contents

Save PDF