Fagor CNC 8035 Programming Manual
Hide thumbs Also See for CNC 8035:
Table of Contents

Advertisement

Quick Links

CNC 8035
·T· model
Ref. 0901
(Soft V16.1x)
PROGRAMMING MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CNC 8035 and is the answer not in the manual?

Questions and answers

Summary of Contents for Fagor CNC 8035

  • Page 1 CNC 8035 ·T· model Ref. 0901 (Soft V16.1x) PROGRAMMING MANUAL...
  • Page 3 The information described in this manual may be changed due to technical modifications. Fagor Automation reserves the right to make any changes to the The examples described in this manual are for learning purposes. Before using contents of this manual without prior notice.
  • Page 5 Version history (T) ......................... V Safety conditions ........................IX Warranty terms........................XIII Material returning terms ..................... XV Additional remarks......................XVII Fagor documentation ......................XIX CHAPTER 1 GENERAL CONCEPTS Part programs......................2 DNC connection ......................4 Communication protocol via DNC or peripheral device..........4...
  • Page 6 G05 (round corner) ....................72 7.3.3 Controlled round corner (G50)................73 Look-ahead (G51) ....................74 7.4.1 Advanced look-ahead algorithm (integrating Fagor filters) ........76 7.4.2 Look-ahead operation with Fagor filters active ............ 77 7.4.3 Smoother machining feedrate ................77 Mirror image (G10, G11. G12, G13, G14) ............... 78 Scaling factor (G72) ....................
  • Page 7 Screen customizing instructions ................212 CHAPTER 13 ANGULAR TRANSFORMATION OF AN INCLINE AXIS 13.1 Turning angular transformation on and off ............221 CNC 8035 13.2 Freezing the angular transformation..............222 APPENDIX ISO code programming ..................225 Program control instructions.................. 227 Summary of internal CNC variables ..............
  • Page 9: About The Product

    Tool radius compensation Stand Stand Stand Stand Stand Stand Retracing ----- Stand ----- Stand ----- ----- Color monitor ----- ----- Stand Stand ----- Stand Before start-up, verify that the machine that integrates this CNC meets the 89/ 392/CEE Directive. CNC 8035...
  • Page 11: Declaration Of Conformity

    DECLARATION OF CONFORMITY The manufacturer: Fagor Automation, S. Coop. Barrio de San Andrés 19, C.P. 20500, Mondragón -Guipúzcoa- (SPAIN). We declare: We declare under our exclusive responsibility the conformity of the product: Numerical Control Fagor 8035 CNC Referred to by this declaration with following directives: Safety regulations.
  • Page 13 SELPRO: Variable to select the active probe input. DIAM: Variable to select the programming mode, radius or diameter. G2/G3. There is no need to program the center coordinates if their value is zero. M41-M44: These functions admit subroutines when the gear change is automatic. CNC 8035...
  • Page 14 List of features Manual Hirth axis pitch may be set in degrees via parameters. INST Rollover positioning axis. Movement in G53 via the shortest way. INST CNC 8035 Software V10.15 June 2005 List of features Manual CAN servo system. INST...
  • Page 15 Selecting the additive handwheel as handwheel associated with the axis. INST Software V12.18 June 2007 List of features Manual CNC 8035 Copy and execute programs on Hard Disk (KeyCF). Software V12.20 May 2008 List of features Manual Home search on SERCOS axes using absolute feedback.
  • Page 16 Home search on SERCOS axes using absolute feedback. INST Starting the CNC up while FAGOR filters are active. INST Larger numeric format to define the arc center in a G2/G3. Monitoring the offset between the spindle and the longitudinal axis during rigid tapping.
  • Page 17: Safety Conditions

    This unit may only be repaired by authorized personnel at Fagor Automation. Fagor Automation shall not be held responsible of any physical damage or defective unit resulting from not complying with these basic safety regulations.
  • Page 18 Use a DC fan to improve enclosure ventilation. Power switch This power switch must be mounted in such a way that it is easily accessed and at a distance between 0.7 meters (27.5 inches) and 1.7 meters (5.5ft) off the floor. CNC 8035...
  • Page 19: Safety Symbols

    All the digital inputs and outputs have galvanic isolation via optocouplers between the CNC circuitry and the outside. Precautions during repair Do not open this unit. Only personnel authorized by Fagor Automation may open this unit. Do not handle the connectors with the unit connected to mains. Before manipulating the connectors (inputs/outputs, feedback, etc.) make...
  • Page 20 CNC 8035...
  • Page 21: Warranty Terms

    15 months from when the product left our warehouse. This warranty covers all costs of material and labour involved in repairs at FAGOR carried out to correct malfunctions in the equipment. FAGOR undertakes to repair or replace their products within the period from the moment manufacture begins until 8 years after the date on which it disappears from the catalogue.
  • Page 22: Warranty On Repairs

    Warranty on repairs In a similar way to the initial warranty, FAGOR offers a warranty on standard repairs according to the following conditions: PERIOD 12 months. CONCEPT Covers parts and labor for repairs (or replacements) at the network's own facilities.
  • Page 23: Material Returning Terms

    4. Wrap the unit in a polyethylene roll or similar material to protect it. 5. When sending the central unit, protect especially the screen. 6. Pad the unit inside the cardboard box with polyurethane foam on all sides. 7. Seal the cardboard box with packing tape or industrial staples. CNC 8035...
  • Page 24 CNC 8035...
  • Page 25: Additional Remarks

    Before turning the unit on, verify that the ground connections have been properly made. In case of a malfunction or failure, disconnect it and call the technical service. Do not get into the inside of the unit. CNC 8035 XVII...
  • Page 26 CNC 8035 XVIII...
  • Page 27: Fagor Documentation

    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. It describes how to operate and program in T mode. CNC 8035...
  • Page 28 CNC 8035...
  • Page 29: General Concepts

    Depending on the type of communication required, the serial port machine parameter “PROTOCOL” should be set. “PROTOCOL” = 0 if the communication is with a peripheral device. “PROTOCOL” = 1 if the communication is via DNC. CNC 8035 ·T· MODEL V16.1...
  • Page 30: Editing A Part-Program

    The user customizing programs must be in RAM memory so the CNC can execute them. –Utilities– operating mode The –Utilities– mode, lets display the part-program directory of all the devices, make copies, delete, rename and even set the protections for any of them. CNC 8035 ·T· MODEL V16.1...
  • Page 31 Open programs with the OPEN instruction, in RAM from ... Open programs with the OPEN instruction, in DNC from ... (*) If it is not in RAM memory, it generates the executable code in RAM and it executes CNC 8035 ·T· MODEL...
  • Page 32 To end the file header, RT (RETURN ) or LF (LINE FEED) characters should be sent separated by a comma (“,”). 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

    Later on, during execution, the CNC will replace the arithmetic parameter by its value. For example, if XP3 has been programmed, during execution the CNC will replace P3 by its numerical value, obtaining results such as X20, X20.567, X-0.003, etc. CNC 8035 ·T· MODEL V16.1...
  • Page 34: Block Header

    On the "DISPLAY / SUBROUTINES" window, when displaying an RPT that has a label higher than 9999, it displays it with ****. • Canned cycles G66, G68 and G69 can only be edited using 4-digit labels. CNC 8035 ·T· MODEL...
  • Page 35: Program Block

    A local variable is one that is only recognized by the subroutine in which it has been defined. It is also possible to create libraries, grouping subroutines with useful and tested functions, which can be accessed from any program. CNC 8035 ·T· MODEL V16.1...
  • Page 36: Block Comment

    “;” (semicolon). If a block begins with “;” all its contents will be considered as a comment, and it will not be executed. Empty blocks are not permitted. They should contain at least one comment. CNC 8035 ·T· MODEL V16.1...
  • Page 37: Axes And Coordinate Systems

    XY plane. U, V, W auxiliary axes parallel to X, Y, Z respectively. A, B, C Rotary axes on each axis X, Y, Z. CNC 8035 ·T· MODEL V16.1...
  • Page 38 Programming manual The drawing below shows an example of the nomenclature of the axes on a parallel lathe. CNC 8035 ·T· MODEL V16.1...
  • Page 39 It may be used to select the desired work plane and the turning direction of G02 and G03 (circular interpolation), programming as axis1 the abscissa axis and as axis2 the ordinate axis. G17. Selects the XY plane G18. Selects the ZX plane G19. Selects the YZ plane CNC 8035 ·T· MODEL V16.1...
  • Page 40 The G16 function should be programmed on its own within a block. On power-up, after executing M02, M30 or after EMERGENCY or RESET, the CNC will assume that the plane defined by the general machine parameter as "IPLANE" is the work plane. CNC 8035 ·T· MODEL V16.1...
  • Page 41 +/- 5.4 in millimeters and +/- 4.5 in inches. On power-up, after executing M02, M30 or after EMERGENCY or RESET, the CNC will assume that the system of units of measurement is the one defined by the general machine parameter "INCHES". CNC 8035 ·T· MODEL V16.1...
  • Page 42 ; Point P0 ; Point P3 On power-up, after executing M02, M30 or after an EMERGENCY or RESET, the CNC will assume G90 or G91 according to the definition by the general machine parameter "ISYSTEM". CNC 8035 ·T· MODEL V16.1...
  • Page 43 Functions G151 and G152 are modal and incompatible with each other. On power-up, after executing an M02, M30 or after an emergency or reset, the CNC assumes G151 or G152 depending on the setting of X axis machine parameter "DFORMAT". CNC 8035 ·T· MODEL V16.1...
  • Page 44: Coordinate Programming

    W, A, B, C, always in this order) followed by the coordinate value. The values of the coordinates are absolute or incremental, depending on whether it is working in G90 or G91, and its programming format is ±5.5. CNC 8035 ·T· MODEL...
  • Page 45: Polar Coordinates

    When programming a "Q" value greater than 360º, the module will be assumed after dividing it by 360. Thus, Q420 is the same as Q60 and Q-420 is the same as Q-60. CNC 8035 ·T· MODEL...
  • Page 46 • When executing a circular interpolation (G02 or G03), and if the general machine parameter "PORGMOVE" has a value of 1, the center of the arc will become the CNC 8035 new polar origin. ·T·...
  • Page 47 Q149 Z110 ; Point P2 Q180 ; Point P3 Q146.3 ; Point P4 X100 ; Point P0 If you wish to represent a point in space, the remaining coordinates can be programmed in Cartesian coordinates. CNC 8035 ·T· MODEL V16.1...
  • Page 48: Rotary Axes

    Rotary Hirth axis They work like the positioning-only axis except that they do not admit decimal position values (coordinates). More than one hirth axis can be used, but they can only be moved one at a time. CNC 8035 ·T· MODEL V16.1...
  • Page 49: Work Zones

    These coordinates are given in radius and must be programmed with reference to machine zero (home). It is not necessary to program all the axes, so only defined axes will be limited. G20 K1 X20 Z20 G21 K1 X100 Z100 CNC 8035 ·T· MODEL V16.1...
  • Page 50 S=2 enabled as a no-exit zone. On power-up, the CNC will disable all work zones. However, upper and lower limits for these zones will not undergo any variation, and they can be re-enabled through the G22 function. CNC 8035 ·T· MODEL V16.1...
  • Page 51: Reference Systems

    Reference Zero, taking, at this point, the reference coordinates which are defined via the axis machine parameter “REFVALUE”. Machine zero Part zero Machine reference point XMW, YMW, ZMW... Coordinates of part zero XMR, YMR, ZMR... Coordinates of machine reference point (“REFVALUE”) CNC 8035 ·T· MODEL V16.1...
  • Page 52 CNC will display the position values with respect to that part zero. If the G74 command is executed in MDI, the display of coordinates depends on the mode in which it is executed : Jog, Execution, or Simulation. CNC 8035 ·T· MODEL...
  • Page 53 Function G53 is not modal, so it should be programmed every time you wish to indicate the coordinates referred to machine zero. This function temporarily cancels radius and tool length compensation. Example programming the X axis in diameter. Machine zero Part zero CNC 8035 ·T· MODEL V16.1...
  • Page 54 (among other things) to correct deviations produced as a result of expansion, etc. ORG*(54) ORG*(55) ORG*(56) ORG*(57) ORG*(58) ORG*(59) PLCOF* CNC 8035 ORG* PLC Parameters. Zero offsets ·T· MODEL V16.1...
  • Page 55 This means that the CNC will not accept, from that block on, the programming of S values higher than the maximum defined. Neither is it possible to exceed this maximum value from the keyboard on the front panel. CNC 8035 ·T· MODEL...
  • Page 56 This kind of zero offsets established by program is very useful for repeated machining operations at different machine positions. Example: The zero offset table is initialized with the following values: G54: Z330 G55: Z240 G56: Z150 G58: Z-900 G59: Z-180 CNC 8035 ·T· MODEL V16.1...
  • Page 57 It applies the first zero offset. It is the same as programming G54. G159 N6 It applies the sixth zero offset. It is the same as programming G59, but it is applied in absolute. G159 N20 It applies the 20th zero offset. CNC 8035 ·T· MODEL V16.1...
  • Page 58 "PORGF" y "PORGS". If, while selecting the general machine parameter “PORGMOVE” a circular CNC 8035 interpolation is programmed (G02 or G03), the CNC assumes the center of the arc as the new polar origin.
  • Page 59 Any function with parameters can also be programmed in a block, apart from the number of the label or block. Thus, when the block is executed the CNC substitutes the arithmetic parameter for its value at that time. CNC 8035 ·T· MODEL...
  • Page 60 6.14 * Programming with respect to machine zero * Absolute zero offset 1 4.4.2 * Absolute zero offset 2 4.4.2 CNC 8035 * Absolute zero offset 3 4.4.2 * Absolute zero offset 4 4.4.2 * Additive zero offset 1 4.4.2 * Additive zero offset 2 4.4.2...
  • Page 61 In those cases indicated by ? , it should be understood that the DEFAULT of these G functions depends on the setting of the general machine parameters of the CNC. V means that the G code is displayed next to the current machining conditions in the execution and simulation modes. CNC 8035 ·T· MODEL V16.1...
  • Page 62 "RAPIDOVR" is set. When functions G33 (electronic threading), G34 (variable-pitch threading), G86 (longitudinal threading canned cycle) or G87 (face threading canned cycle) are executed the feedrate cannot be modified; it works at 100% of programmed F. CNC 8035 ·T· MODEL V16.1...
  • Page 63 Function G94 is modal i.e. once programmed it stays active until G95 is programmed. On power-up, after executing M02, M30 or following EMERGENCY or RESET, the CNC assumes function G94 or G95 according to how the general machine parameter "IFEED" is set. CNC 8035 ·T· MODEL V16.1...
  • Page 64 S for jog movements in any axis, regardless of whether it belongs to the plane or not. This is especially interesting for auxiliary axes, center rests and tailstocks, because, in those cases, the S has no effect. CNC 8035 ·T· MODEL...
  • Page 65: Spindle Speed (S)

    Function G97 is modal i.e. once programmed it stays active until G96 is programmed. CNC 8035 On power-up, after executing M02, M30 or following EMERGENCY or RESET, the CNC assumes function G97.
  • Page 66 23. • When having a tool holding arm with two cutters, the "T" and "D" functions must CNC 8035 also be programmed. The "T" function refers to the arm and the "D" function to the dimensions of the cutter.
  • Page 67 G40, G41 and G42. If there is no tool selected or D0 is defined, neither tool length nor radius compensation is applied. For further information, refer to chapter 8 "tool compensation" in this manual. CNC 8035 ·T· MODEL V16.1...
  • Page 68 In the case of functions M41 through M44 with associated subroutine, the S that generates the gear change must be programmed alone in the block. Otherwise, the CNC will display error 1031. CNC 8035 ·T· MODEL V16.1...
  • Page 69 5.5.7 M05. Spindle stop We recommend that you set this function in the table of M functions, in such a way CNC 8035 that it is executed at the end of the block in which it is programmed. ·T· MODEL...
  • Page 70: M19. Spindle Orientation

    The spindle switches to closed loop. Home search and positioning (orientation) at 100º. M19 S -30 The spindle orients to -30º, passing through 0º. M19 S400 CNC 8035 The spindle turns a whole revolution and positions at 40º. ·T· MODEL V16.1...
  • Page 71 M44 may have an associated subroutine. If the function M41 through M44 is programmed and then an S corresponding to that gear, it does not generate the automatic gear change and it does not execute the associated subroutine. CNC 8035 ·T· MODEL...
  • Page 72 Programming manual CNC 8035 ·T· MODEL V16.1...
  • Page 73: Path Control

    100%. When G00 is programmed, the last "F" programmed is not cancelled i.e. when G01, CNC 8035 G02 or G03 are programmed again "F" is recovered. G00 is modal and incompatible with G01, G02, G03, G33 G34 and G75. Function G00 can be programmed as G or G0.
  • Page 74: Linear Interpolation (G01)

    Function G01 is modal and incompatible with G00, G02, G03, G33 and G34. Function G01 can be programmed as G1. On power-up, after executing M02, M30 or after EMERGENCY or RESET, the CNC assumes code G00 or G01, depending on how general machine parameter "IMOVE" has been set. CNC 8035 ·T· MODEL V16.1...
  • Page 75: Circular Interpolation (G02, G03)

    Observe how the relative tool position is maintained with respect to the axes. • Horizontal lathes: • Vertical lathes: Circular interpolation can only be executed on a plane. The form of definition of circular interpolation is as follows : CNC 8035 ·T· MODEL V16.1...
  • Page 76 Axes Y, V, B ==> Axes Z, W, C ==> If the center of the arc is not defined, the CNC will assume that it coincides with the current polar origin. Programming format: CNC 8035 Plane XY: G02(G03) Q±5.5 I±6.5 J±6.5 Plane ZX: G02(G03) Q±5.5...
  • Page 77 Although both of them should be "exactly" the same, general parameter "CIRINERR" allows a certain calculation tolerance by establishing CNC 8035 the maximum difference between these two radii. When exceeding this value, the CNC will issue the corresponding error message.
  • Page 78: Programming Examples

    G90 G03 Q0 I50 K0 Q-90 I0 K50 G93 I90 J60 ; defines polar center G03 Q0 G93 I90 J160 ; defines polar center Q-90 Cartesian coordinates with radius programming: CNC 8035 G90 G03 X90 Z110 R50 X40 Z160 R50 ·T· MODEL V16.1...
  • Page 79 Various programming modes analyzed below, point X40 Z60 being the starting point. Cartesian coordinates: G90 G06 G03 X90 Z110 I90 K60 G06 X40 Z160 Y40 I90 K160 Polar coordinates: G90 G06 G03 Q0 I90 K60 G06 Q-90 I90 K160 CNC 8035 ·T· MODEL V16.1...
  • Page 80: Arc Tangent To Previous Path (G08)

    The same function G01, G02 or G03 stays active after the block is finished. When using function G08 it is not possible to execute a complete circle, as an infinite range of solutions exists. The CNC displays the corresponding error code. CNC 8035 ·T· MODEL V16.1...
  • Page 81: Arc Defined By Three Points (G09)

    (G02 or G03). Function G09 does not alter the history of the program. The same G01, G02 or G03 CNC 8035 function stays active after finishing the block. When using function G09 it is not possible to execute a complete circle, as you have to program three different points.
  • Page 82 Example programming the X axis in radius. If the starting point is X20 Z60 and you wish to machine an arc (the path of approach being straight) you should program: G90 G01 X20 Z30 G03 X40 Z10 R20 CNC 8035 ·T· MODEL V16.1...
  • Page 83 Function G37 should only be programmed in the block which includes a straight-line movement (G00 or G01). If you program in a block which includes circular movement (G02 or G03), the CNC displays the corresponding error. CNC 8035 ·T· MODEL...
  • Page 84 If, however, in the same example you wish the exit from machining to be done tangentially and describing a radius of 5 mm, you should program : G90 G02 G38 R5 X30 Z30 R20 G00 X30 Z10 CNC 8035 ·T· MODEL V16.1...
  • Page 85 Example programming the X axis in diameter. G90 G01 X20 Z60 G01 G36 R10 X80 G90 X20 Z60 G01 G36 R10 X80 G02 X60 Z10 I20 K-30 G90 X60 Z90 G02 G36 R10 X60 Z50 R28 X60 Z10 R28 CNC 8035 ·T· MODEL V16.1...
  • Page 86 This R value must always be positive. Example programming the X axis in diameter. G90 G01 X20 Z80 G01 G39 R10 X80 Z60 X100 Z10 CNC 8035 ·T· MODEL V16.1...
  • Page 87 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. When working in round corner mode (G05), it is possible to blend different threads in the same part.
  • Page 88 To make a longitudinal thread with two entries. The threads are shifted 180º and each one has a depth of 2mm and a pitch of 5 mm. G90 G00 X200 Z190 X116 Z180 CNC 8035 ; First threadcutting. G33 Z40 L5 Q0 G00 X200...
  • Page 89 We would like to a blend a longitudinal thread with a taper thread with a depth of 2mm and a pitch of 5 mm. G90 G00 G05 X220 Z230 ; Longitudinal threadcutting. G33 Z120 L5 ; Taper threadcutting. Z160 Z60 L5 G00 X200 CNC 8035 Z230 ·T· MODEL V16.1...
  • Page 90: Programming Format

    Incremental distance (positive or negative) to move along the thread exit axis (X axis). Incremental distance to move along the thread axis (Z axis). Thread exit point End point Cycle stop point STOP Starting point CNC 8035 ·T· MODEL V16.1...
  • Page 91: Programming Example

    While executing those cycles, when pressing the [STOP] key or feedhold, once the tool has been withdrawn, it returns to the starting point of the cycle. Then, the machine remains stopped waiting for the [START] command to repeat the interrupted pass. CNC 8035 ·T· MODEL...
  • Page 92 It is used to finish a variable-pitch thread (G34) with a portion of the thread keeping the final pitch of the previous thread. The fixed-pitch thread is not programmed with G33 but with G34 ... L0 K0. Blending two variable-pitch threads (G34). Two variable-pitch threads (G34) cannot be blended together. CNC 8035 ·T· MODEL V16.1...
  • Page 93 Function G52 is not modal; therefore, it must be programmed every time this operation is to be carried out. Also, it assumes functions G01 and G40 modifying the program history. It is incompatible with functions G00, G02, G03, G33, G34, G41, G42, G75 and G76. CNC 8035 ·T· MODEL V16.1...
  • Page 94 When programming "F0" the movement will be carried out at the feedrate set by axis machine parameter "MAXFEED". Function G32 may be programmed and executed in the PLC channel. Function G32 is canceled in JOG mode. CNC 8035 ·T· MODEL V16.1...
  • Page 95 Every time G04 is programmed, active radius and length compensation are cancelled. For this reason, care needs to be taken when using this function, because if it is introduced between machining blocks which work with compensation, unwanted profiles may be produced. CNC 8035 ·T· MODEL V16.1...
  • Page 96 "A-B". As you can see, the resulting path is not the required one, so we recommend avoiding the use of function G04 in sections which work with compensation. CNC 8035 ·T· MODEL...
  • Page 97 It executes a dwell 50 hundredths of a second. G04 K0 or G04 K It interrupts block preparation and updates the CNC coordinates to the current position. (G4 K0 works in the CNC and PLC channel). CNC 8035 ·T· MODEL V16.1...
  • Page 98 Note: When programming G04 K0 or G04 K, instead of applying a delay, it only interrupts block preparation and it will refresh the coordinates. See "7.1.1 G04 K0: Block preparation interruption and coordinate update" on page 69. CNC 8035 ·T· MODEL V16.1...
  • Page 99 Function G07 is modal and incompatible with G05, G50 and G51. Function G07 can be programmed as G7. On power-up, after executing M02, M30 or after EMERGENCY or RESET, the CNC assumes code G05 or G07 depending on how the general machine parameter “ICORNER” is set. CNC 8035 ·T· MODEL V16.1...
  • Page 100 Function G05 is modal and incompatible with G07, G50 and G51. Function G05 can be programmed as G5. On power-up, after executing M02, M30 or after EMERGENCY or RESET, the CNC assumes code G05 or G07 depending on how the general machine parameter “ICORNER” is set. CNC 8035 ·T· MODEL V16.1...
  • Page 101 Function G50 is modal and incompatible with G07, G05 and G51. On power-up, after executing M02, M30 or after EMERGENCY or RESET, the CNC assumes code G05 or G07 depending on how the general machine parameter “ICORNER” is set. CNC 8035 ·T· MODEL V16.1...
  • Page 102 The square-corner management at the corners is valid for the look-ahead algorithm with jerk management and for the look-ahead algorithm without jerk management. Considerations for the execution. CNC 8035 When calculating the feedrate, the CNC takes the following into account: • The programmed feedrate.
  • Page 103 On the other hand, the CNC will issue Error 7 (Incompatible G functions) when programming any of the following functions while G51 is active: Electronic threading (G33) Variable-pitch threading. Move to hardstop. Feedrate per revolution. CNC 8035 ·T· MODEL V16.1...
  • Page 104 (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 105 7.4.2 Look-ahead operation with Fagor filters active This option makes it possible to use Fagor filters with Look-ahead (not advanced look- ahead algorithm). It will only be considered if the advanced look-ahead algorithm is deactivated; that is, if bit 15 of g.m.p. LOOKATYP (P160) = 0.
  • Page 106 If while one of the mirror imaging functions (G11, G12, G13, and G14) is active, a new coordinate origin (part zero) is preset with G92, this new origin will not be affected by the mirror imaging function. CNC 8035 On power-up, after executing M02, M30 or after EMERGENCY or RESET, the CNC assumes code G10.
  • Page 107 Function G72 should be programmed on its own in a block. There are two formats for programming G72 : • Scaling factor applied to all axes. • Scaling factor applied to one or more axes. CNC 8035 ·T· MODEL V16.1...
  • Page 108 G72 S1 ; End of program Function G72 is modal and is cancelled when another scaling factor with a value of S1 is programmed, or on power-up, after executing M02, M30 or after EMERGENCY CNC 8035 or RESET. ·T· MODEL...
  • Page 109 Application of the scaling factor to the Z axis, working with tool radius compensation. As it can be observed, the tool path does not coincide with the required path, as the scaling factor is applied to the calculated movement. CNC 8035 ·T· MODEL V16.1...
  • Page 110 G36 R5 C112.5 G36 R5 Z190 C157.5 G36 R5 C202.5 G36 R5 Z130 C247.5 G36 R5 C270 G36 R5 Z70 C315 G36 R5 C360 ; Withdrawal G91 X4 CNC 8035 ; Cancels the scaling factor G72 C1 ·T· MODEL V16.1...
  • Page 111: Tool Length Compensation

    When selecting a new tool, the CNC takes its dimensions into account, defined in the corresponding offset and moves the tool holding turret so the new tool occupies the same position (coordinate) as the previous one. CNC 8035 ·T· MODEL...
  • Page 112: Tool Radius Compensation

    The CNC does not show the tool center path; it shows the position of the theoretical tip. The path of the theoretical tip coincides, in part, with the profile programmed in turning and facing, but never coincides with the incline or curved sections. CNC 8035 ·T· MODEL V16.1...
  • Page 113 The following example shows the location code F3 on different machines. Observe how the relative tool position is maintained with respect to the axes. Horizontal lathes Vertical lathes CNC 8035 ·T· MODEL V16.1...
  • Page 114 Programming manual We now show the location codes available on the most common horizontal lathes. CNC 8035 ·T· MODEL V16.1...
  • Page 115 Programming manual CNC 8035 ·T· MODEL V16.1...
  • Page 116 Machining sections. Only sides with constant diameter may be turned (left figure) or straight walls may be faced (right figure). There are problems in incline sections (left figure) and on rounded sides (right figure). CNC 8035 ·T· MODEL V16.1...
  • Page 117 0 coordinate, but due to the tip's rounding, it leaves a ridge on the part. To solve this problem, face to a negative coordinate (for example from 40 to -3). CNC 8035 ·T· MODEL V16.1...
  • Page 118 G40, G04 (interruption of block preparation), G53 (programming with reference to machine zero), G74 (home search), G66, G68, G69, G83 (machining canned cycles) and also on power-up, after executing M02, M30 or after and emergency or a reset. Horizontal lathes Vertical lathes CNC 8035 ·T· MODEL V16.1...
  • Page 119 · · · (X0 Y0) G01 Y40 · · · G91 G40 Y0 Z10 G02 X20 Y20 I20 J0 G01 X-30 Y30 · · · G01 G41 X-30 Y30 Z10 G01 X25 · · · CNC 8035 (X0 Y0) ·T· MODEL V16.1...
  • Page 120 Programming manual STRAIGHT-STRAIGHT path CNC 8035 ·T· MODEL V16.1...
  • Page 121 Programming manual STRAIGHT-CURVED path CNC 8035 ·T· MODEL V16.1...
  • Page 122: Sections Of Tool Radius Compensation

    • If it is set to ·2·, the compensation method depends on the angle between paths. With an angle between paths of up 300º, it calculates the intersection. In the rest of the cases it is compensated like COMPMODE = 0. CNC 8035 ·T· MODEL...
  • Page 123 (X0 Y0) (X0 Y0) · · · · · · G03 X-20 Y-20 I0 J-20 G91 G40 Y0 G01 X-30 G01 G40 X-30 G01 X-20 G01 X25 Y-25 · · · · · · CNC 8035 ·T· MODEL V16.1...
  • Page 124 Programming manual STRAIGHT-STRAIGHT path CNC 8035 ·T· MODEL V16.1...
  • Page 125 Programming manual CURVED-STRAIGHT path CNC 8035 ·T· MODEL V16.1...
  • Page 126: Programming Example

    It activates the compensation and moves to the starting point. X70 Z40 X70 Z20 X90 Z20 Movement to end point (compensation active). G40 X110 Z100 It cancels the compensation and moves to the starting point. CNC 8035 ·T· MODEL V16.1...
  • Page 127 T1 D1 G0 G90 X110 Z100 Positioning at the starting point G1 G42 X10 Z60 It activates the compensation and moves to the starting CNC 8035 point X70 Z40 X70 Z20 G40 X110 Z100 It cancels the compensation and moves to the starting point ·T·...
  • Page 128 Positioning at the starting point G1 G42 X10 Z60 It activates the compensation and moves to the starting point X70 Z40 X70 Z20 G40 G0 X110 Z100 It cancels the compensation and moves to the starting point CNC 8035 ·T· MODEL V16.1...
  • Page 129 Both points are located at a distance R from the programmed path. Here is a summary of the different cases: Straight - straight path: Straight - arc path: Arc - straight path: Arc - arc path: CNC 8035 ·T· MODEL V16.1...
  • Page 130 CNC interprets the tool table as follows: ZX plane WX plane AB plane Parameters Z and K. Abscissa axis. Z axis W axis A axis Parameters X and I. Ordinate axis. X axis X axis B axis CNC 8035 ·T· MODEL V16.1...
  • Page 131 In CAD generated programs that are made up of lots of very short blocks, it is recommended to use very low N values (around 5) so as not to jeopardize block processing time. When this function is active, the history of active G functions shows G41 N or G42 N. CNC 8035 ·T· MODEL V16.1...
  • Page 132 Programming manual CNC 8035 ·T· MODEL V16.1...
  • Page 133: Canned Cycles

    Parameter Z and all those related to it, with Z axis W axis A axis the abscissa axis. Parameter Z and all those related to it, with X axis X axis B axis the ordinate axis. CNC 8035 ·T· MODEL V16.1...
  • Page 134 "C" as the pass along X. • When programming "A1", the X axis will be the main axis, "I" will be taken as Z residual value and "C" as the pass along Z. CNC 8035 ·T· MODEL...
  • Page 135 Defines the number of the program that contains the geometrical description of the profile. This parameter is optional and if it is not defined, the CNC assumes that the profile is defined in the same program that is calling the cycle. CNC 8035 ·T· MODEL V16.1...
  • Page 136 When the stock profile is known, it is recommended to define both profiles: The profile of the original stock and the desired final profile. The machining operation is much faster because only the stock delimited by both profiles is removed. CNC 8035 ·T· MODEL...
  • Page 137: Basic Operation

    If the parameter "M" is not programmed, the passes will be identical keeping the "C" distance between 2 consecutive passes. Also, if the last section of the profile is a curved section or an incline plane, the CNC will calculate the different passes without exceeding the programmed maximum coordinate. CNC 8035 ·T· MODEL V16.1...
  • Page 138 CNC calculates a new profile in the areas that cannot be accessed by the selected tool and it machines as much as possible. The message is shown during the whole machining operation. CNC 8035 ·T· MODEL...
  • Page 139 Programming in millimeters. Absolute programming. Incremental programming. Polar origin preset. The following functions may be programmed, although the cycle will ignore them. Round corner. Square corner. Controlled round corner. F S T D or M functions. CNC 8035 ·T· MODEL V16.1...
  • Page 140 D 5.5 It sets the safety distance the tool withdraws after each pass. CNC 8035 When programming D with a value other than 0, the cutter withdraws at 45º until reaching the safety distance (left figure). When programming D with a 0 value, the exit path is the same as the entry path. This may be useful to groove complex profiles, to use these cycle on cylindrical grinders, etc.
  • Page 141 It defines the feedrate during the finishing pass. If not programmed or programmed with a 0 value, it does not run the finishing pass. CNC 8035 Defines the label number of the block where the geometrical description of the profile of the part starts.
  • Page 142 When the stock profile is known, it is recommended to define both profiles: The profile of the original stock and the desired final profile. The machining operation is much faster because only the stock delimited by both profiles is removed. CNC 8035 ·T· MODEL...
  • Page 143 CNC will go on executing the rest of the profile ignoring that channel. A profile may have an unlimited number of channels. Once the CNC is done machining the excess profile, it will start executing the detected CNC 8035 channels. ·T·...
  • Page 144 "L" stock at the set feedrate "F". This final roughing pass will eliminate the ridges that were left in the roughing stage. Once the profile roughing operation has ended, the tool will return to the point from where the cycle was called. CNC 8035 ·T· MODEL V16.1...
  • Page 145 This profile will coincide or not with the programmed profile depending on whether there are areas not accessible to the selected tool. Once the finishing pass has ended, the tool will return to the point from where the cycle was called. CNC 8035 ·T· MODEL V16.1...
  • Page 146 Programming in millimeters. Absolute programming. Incremental programming. Polar origin preset. The following functions may be programmed, although the cycle will ignore them. Round corner. Square corner. Controlled round corner. F S T D or M functions. CNC 8035 ·T· MODEL V16.1...
  • Page 147 D 5.5 It sets the safety distance the tool withdraws after each pass. CNC 8035 When programming D with a value other than 0, the cutter withdraws at 45º until reaching the safety distance (left figure). When programming D with a 0 value, the exit path is the same as the entry path. This may be useful to groove complex profiles, to use these cycle on cylindrical grinders, etc.
  • Page 148 It defines the feedrate during the finishing pass. If not programmed or programmed with a 0 value, it does not run the finishing pass. CNC 8035 Defines the label number of the block where the geometrical description of the profile of the part starts.
  • Page 149 When the stock profile is known, it is recommended to define both profiles: The profile of the original stock and the desired final profile. The machining operation is much faster because only the stock delimited by both profiles is removed. CNC 8035 ·T· MODEL...
  • Page 150 CNC will go on executing the rest of the profile ignoring that channel. A profile may have an unlimited number of channels. Once the CNC is done machining the excess profile, it will start executing the detected CNC 8035 channels. ·T·...
  • Page 151 "L" stock at the set feedrate "F". This final roughing pass will eliminate the ridges that were left in the roughing stage. Once the profile roughing operation has ended, the tool will return to the point from where the cycle was called. CNC 8035 ·T· MODEL V16.1...
  • Page 152 This profile will coincide or not with the programmed profile depending on whether there are areas not accessible to the selected tool. Once the finishing pass has ended, the tool will return to the point from where the cycle was called. CNC 8035 ·T· MODEL V16.1...
  • Page 153 Programming in millimeters. Absolute programming. Incremental programming. Polar origin preset. The following functions may be programmed, although the cycle will ignore them. Round corner. Square corner. Controlled round corner. F S T D or M functions. CNC 8035 ·T· MODEL V16.1...
  • Page 154 It sets the safety distance the tool withdraws after each pass. When programming D with a value other than 0, the cutter withdraws at 45º until CNC 8035 reaching the safety distance (left figure). When programming D with a 0 value, the exit path is the same as the entry path.
  • Page 155 0 value, it does not run the last roughing pass. H5.5 It defines the feedrate during the finishing pass. If not programmed or programmed with a 0 value, it does not run the finishing pass. CNC 8035 ·T· MODEL V16.1...
  • Page 156 "L" and "M" stock at the set feedrate "F". This final roughing pass will eliminate the ridges that were left in the roughing stage. After the turning operation (with or without finishing pass) the canned cycle will always end at the cycle calling point. CNC 8035 ·T· MODEL V16.1...
  • Page 157 L. The distance between the starting point and the initial point (X, Z) along the Z axis must be equal to or greater than M. If the tool position is not correct to execute the cycle, the CNC will display the corresponding error. CNC 8035 ·T· MODEL V16.1...
  • Page 158 If programmed with a 0 value, the CNC will display the corresponding error message. D 5.5 It sets the safety distance the tool withdraws after each pass. CNC 8035 When programming D with a value other than 0, the cutter withdraws at 45º until reaching the safety distance (left figure).
  • Page 159 0 value, it does not run the last roughing pass. H5.5 It defines the feedrate during the finishing pass. If not programmed or programmed with a 0 value, it does not run the finishing pass. CNC 8035 ·T· MODEL V16.1...
  • Page 160 "L" and "M" stock at the set feedrate "F". This final roughing pass will eliminate the ridges that were left in the roughing stage. After the facing operation (with or without finishing pass) the canned cycle will always end at the cycle calling point. CNC 8035 ·T· MODEL V16.1...
  • Page 161 L. The distance between the starting point and final point (R,Q) along the Z axis must be equal to or greater than M. If the tool position is not correct to execute the cycle, the CNC will display the corresponding error. CNC 8035 ·T· MODEL V16.1...
  • Page 162 (in G00). If not programmed, a value of 1 millimeter. L5.5 Optional. In the drilling cycle, it defines the minimum drilling peck. It is used with "R" CNC 8035 values other than 1. If not programmed, a value of 0 is assumed.
  • Page 163 In order to execute a rigid tapping, the relevant spindle (main or secondary) must be ready to operate in closed loop. In other words, that it must have a servo drive-motor system with rotary encoder. CNC 8035 ·T· MODEL V16.1...
  • Page 164: Rigid Tapping

    4. Withdrawal in work feedrate to the approach point. Rigid tapping is drawn with the color used for "uncompensated tool path". When the cycle is completed, the spindle stops (M5). CNC 8035 ·T· MODEL V16.1...
  • Page 165 Once the canned cycle has ended, the program will continue with the same feedrate F and G functions active previous to calling the cycle. Only the tool radius compensation will be cancelled (G40) if it was active. CNC 8035 ·T· MODEL...
  • Page 166 • If the parameter "D" is not programmed, the tool withdraws following the profile up to the previous pass, "C" distance (right figure). CNC 8035 It must be borne in mind that when not programming the parameter D, the cycle ·T·...
  • Page 167 Defines the distance from the initial point (X, Z) to the arc’s center along the Z axis. It is programmed in incremental values with respect to the initial point like the "K" for circular interpolations (G02, G03). CNC 8035 ·T· MODEL...
  • Page 168 "L" and "M" stock at the set feedrate "F". This final roughing pass will eliminate the ridges that were left in the roughing stage. After the turning operation (with or without finishing pass) the canned cycle will always end at the cycle calling point. CNC 8035 ·T· MODEL V16.1...
  • Page 169 L. The distance between the starting point and the initial point (X, Z) along the Z axis must be equal to or greater than M. If the tool position is not correct to execute the cycle, the CNC will display the corresponding error. CNC 8035 ·T· MODEL V16.1...
  • Page 170 • If the parameter "D" is not programmed, the tool withdraws following the profile up to the previous pass, "C" distance (right figure). CNC 8035 It must be borne in mind that when not programming the parameter D, the cycle ·T·...
  • Page 171 Defines the distance from the initial point (X, Z) to the arc’s center along the Z axis. It is programmed in incremental values with respect to the initial point like the "K" for circular interpolations (G02, G03). CNC 8035 ·T· MODEL...
  • Page 172 "L" and "M" stock at the set feedrate "F". This final roughing pass will eliminate the ridges that were left in the roughing stage. After the facing operation (with or without finishing pass) the canned cycle will always end at the cycle calling point. CNC 8035 ·T· MODEL V16.1...
  • Page 173 L. The distance between the starting point and final point (R,Q) along the Z axis must be equal to or greater than M. If the tool position is not correct to execute the cycle, the CNC will display the corresponding error. CNC 8035 ·T· MODEL V16.1...
  • Page 174 If programmed with a 0 value, the CNC will display the corresponding error message. B±5.5 Defines the depth of the threading passes and it is given in radius. CNC 8035 • If a positive value is programmed, the depth of each pass will depend on the number of the corresponding pass.
  • Page 175 • With a positive sign if the pitch is programmed along the taper. • With a negative sign if the pitch is programmed along the associated axis. CNC 8035 If programmed with a 0 value, the CNC will display the corresponding error message.
  • Page 176 • If "K" has been defined, it is a thread repair cycle. It indicates the angular spindle position corresponding to the thread measuring point. CNC 8035 • If parameter "K" has not been defined, it indicates the angular position of the spindle corresponding to the thread's starting point.
  • Page 177 It must be borne in mind that is a thread pitch decrement is programmed and the pitch reaches 0 before the end of the thread cutting operation, the CNC will display the corresponding error message. CNC 8035 ·T· MODEL V16.1...
  • Page 178: Thread Repair

    Once the canned cycle has ended, the program will continue with the same feedrate F and G functions active previous to calling the cycle. Only the tool radius compensation will be cancelled (G40) if it was active. CNC 8035 ·T· MODEL...
  • Page 179 Defines the depth of the thread. Its value will be positive if threading in the negative Z direction and vice versa. If programmed with a 0 value, the CNC will display the corresponding error message. CNC 8035 ·T· MODEL V16.1...
  • Page 180 (D) from the programmed section. • If the programmed value is positive, this withdrawal will be performed in round corner (G05) and if negative, in square corner (G07). • If not programmed, a value of 0 is assumed. CNC 8035 ·T· MODEL V16.1...
  • Page 181 If the thread exit is a short distance, any acceleration set may be used or even remove the acceleration without getting the error "insufficient acceleration while threading". We recommend to use low or no acceleration. CNC 8035 (Xs,Zs) (R,Q) (Xs,Zs) (R,Q) ·T·...
  • Page 182 It must be borne in mind that is a thread pitch decrement is programmed and the pitch reaches 0 before the end of the thread cutting operation, the CNC will display the corresponding error message. CNC 8035 ·T· MODEL V16.1...
  • Page 183 Once the canned cycle has ended, the program will continue with the same feedrate F and G functions active previous to calling the cycle. Only the tool radius compensation will be cancelled (G40) if it was active. CNC 8035 ·T· MODEL...
  • Page 184 Defines the safety distance and it must have a positive value in radius. Defines the dwell, in hundredths of a second, after each penetration until the withdrawal begins. If not programmed, a value of 0 is assumed. CNC 8035 ·T· MODEL V16.1...
  • Page 185 If the depth of the groove is 0, the CNC will display the corresponding error message. If the width of the groove is smaller than the width of the cutter (NOSEW), the CNC will display the corresponding error message. CNC 8035 ·T· MODEL...
  • Page 186 Defines the safety distance. If not programmed, a value of 0 is assumed. Defines the dwell, in hundredths of a second, after each penetration until the withdrawal begins. If not programmed, a value of 0 is assumed. CNC 8035 ·T· MODEL V16.1...
  • Page 187 If the depth of the groove is 0, the CNC will display the corresponding error message. If the width of the groove is smaller than the width of the cutter (NOSEW), the CNC will display the corresponding error message. CNC 8035 ·T· MODEL...
  • Page 188 Programming manual CNC 8035 ·T· MODEL V16.1...
  • Page 189 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. CNC 8035 ·T· MODEL V16.1...
  • Page 190 G33, G34, G41 and G42 functions. In addition, once this has been performed, the CNC will assume functions G01 and G40. During G75 or G76 moves, the operation of the feedrate override switch depends on the setting of OEM machine parameter FOVRG75. CNC 8035 ·T· MODEL V16.1...
  • Page 191: High-Level Language Programming

    To assign the value 100000000 to the variable "TIMER", It can be done in one of the following ways: (TIMER = $5F5E100) (TIMER = 10000 * 10000) CNC 8035 (P100 = 10000 * 10000) (TIMER = P100) If the CNC operates in the metric system (millimeters), the resolution is a tenth of a micron and the figures will be programmed in the ±5.4 format (positive or negative...
  • Page 192 (positive or negative, with 5 integers and 5 decimals), adjusting each number appropriately to the working units every time they are used. Symbols The symbols used in high-level language are: ( ) “ = + - * / , CNC 8035 ·T· MODEL V16.1...
  • Page 193 N30 X50 Z80 Block N15 interrupts block preparation and the execution of block N10 will finish at point A. Once the execution of block N15 has ended, the CNC will resume block preparation from block N20 on. CNC 8035 ·T· MODEL V16.1...
  • Page 194 "A-B". As can be observed, the resulting path is not the desired one, and therefore it is recommended to avoid the use of this type of variable in sections having tool compensation active. CNC 8035 ·T· MODEL V16.1...
  • Page 195 Be careful when using parenthesis since M30 is not the same as (M30). The CNC interprets (M30) as a high level instruction meaning (P12 = 30) and not the execution of the miscellaneous M30 function. CNC 8035 Global parameters Global parameters can be accessed from any program and subroutine called from a program.
  • Page 196 Local parameters may be assigned to more than one subroutine up to 6 parameter nesting levels within the 15 subroutine nesting levels. CNC 8035 ·T· MODEL V16.1...
  • Page 197: Variables Associated With Tools

    The tool position in the magazine is represented as follows: 1··255 Position number. The tool is in the spindle. Tool not found. The tool is in the change position. CNC 8035 Read-only variables TOOL Returns the number of the active tool. ·T· MODEL (P100=TOOL) V16.1...
  • Page 198 This variable allows the value corresponding to the real life of the indicated tool (n) to be read or modified in the tool table. CNC 8035 TMZTn This variable allows the contents of the indicated position (n) to be read or modified in the tool magazine table.
  • Page 199 (HTOR) to change the tool radius value used by the CNC to calculate. Now, if the program is interrupted, the tool radius value initially assigned in the (TOR) table will be correct because it has not changed. CNC 8035 ·T· MODEL...
  • Page 200: Variables Associated With Zero Offsets

    This variable allows the value of the selected axis to be read or modified in the table corresponding to the indicated zero offset (n). (P110=ORGX 55) CNC 8035 Loads parameter P100 with the X value of G55 in the zero offset table. (ORGZ 54=P111) It assigns parameter P111 to the Z axis in the table for the G54 offset.
  • Page 201: Variables Associated With Machine Parameters

    Assigns the value of Y axis machine parameter P1 "DFORMAT" to parameter P110. MPSn Returns the value assigned to the indicated machine parameter (n) of the main spindle. MPLCn Returns the value assigned to the indicated machine parameter (n) of the PLC. CNC 8035 ·T· MODEL V16.1...
  • Page 202 Upper limit of zone 4 along the selected axis (X-C). FIZONE Status of work zone 5. FIZLO(X-C) Lower limit of zone 5 along the selected axis (X-C). FIZUP(X-C) Upper limit of zone 5 along the selected axis (X-C). CNC 8035 ·T· MODEL V16.1...
  • Page 203 PRGFPR It returns the feedrate, in mm/turn or inches/turn selected by program. Read-only variables associated with function G32 CNC 8035 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.
  • Page 204 "MAXFOVR" (maximum 255). If it has a value of 0 it means that it is not selected. (P110=PRGFRO) It assigns to P110 the % of feedrate override selected by program. (PRGFRO=P111) It sets the feedrate override % selected by program to the value of P111. CNC 8035 ·T· MODEL V16.1...
  • Page 205: Variables Associated With Coordinates

    It returns the following error of the selected axis. DPLY(X-C) It returns the position value (coordinate) shown on the screen for the selected axis. CNC 8035 GPOS(X-C)n p Programmed coordinate for a particular axis in the indicated (n) block of the (p) program.
  • Page 206 It is also recommended to execute function G4 after the change so the CNC executes the following blocks with the new limits. The second travel limit will be taken into account if the first one has been set using axis machine parameters LIMIT+ (P5) and LIMIT- (P6). CNC 8035 ·T· MODEL V16.1...
  • Page 207: 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 208 It must be used when the path-handwheel or the path-jog is selected. Indicates the angle of the linear path. MASCFI They must be used when the path-handwheel or the path-jog is selected. MASCSE On circular paths (arcs), they indicate the center coordinates. CNC 8035 ·T· MODEL V16.1...
  • Page 209: Variables Associated With Feedback

    "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" signal of the CNC's sinusoidal feedback for the spindle. CNC 8035 ·T· MODEL V16.1...
  • Page 210 PLC, by DNC or by the front panel; the CNC selects one of them and the priority (from the highest to the lowest) is: by program, by DNC, by PLC and from the front panel. CNC 8035 DNCSSO It returns the turning speed override % of the main spindle currently selected via DNC.
  • Page 211 It assigns to P110 the % of the main spindle speed selected by program. (PRGSSO=P111) It sets the value indicating the main spindle speed % selected by program to the value of arithmetic parameter P111. CNC 8035 ·T· MODEL V16.1...
  • Page 212 53 52 51 50 49 48 47 46 45 44 ..27 26 25 24 23 22 PLCMn This variable allows 32 PLC marks to be read or modified starting from the one CNC 8035 indicated (n). PLCRn This variable allows the status of 32 register bits to be read or modified starting from the one indicated (n).
  • Page 213 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 8035 ·T· MODEL V16.1...
  • Page 214 ;Call to subroutine 20. (PCALL 20, P0=20, P2=3, P3=5) ;Beginning of subroutine 20. ( SUB 20) (P100 = CALLP) In parameter P100 the following will be obtained: 0000 0000 0000 0000 0000 0000 0000 1101 LSB CNC 8035 ·T· MODEL V16.1...
  • Page 215: Operating-Mode Related Variables

    50 = Zero offset table. 51 = Tool offset table. 52 = Tool table. 53 = Tool magazine table. 54 = Global parameter table. CNC 8035 55 = Local parameter table. 56 = User parameter table. 57 = OEM parameter table. 60 = Utilities.
  • Page 216 105 = M function table. 106 = Leadscrew error compensation tables. 110 = Diagnosis: configuration. 111 = Diagnosis: hardware test. 112 = Diagnosis: RAM memory test. 113 = Diagnosis: Flash memory test. 114 = User diagnosis. CNC 8035 ·T· MODEL V16.1...
  • Page 217: Other Variables

    (P122 = PLANE) assigns the value of $31 to parameter P122. 0000 0000 0000 0000 0000 0000 0011 0001 LSB Abscissa axis = 3 (0011) => Z axis CNC 8035 Ordinate axis = 1 (0001) => X axis MIRROR Returns in the least significant bits of the 32-bit group, the status of the mirror image of each axis, 1 in the case of being active and 0 if not.
  • Page 218 1 if it is the first time and 0 if not. A first-time execution is considered as being one which is done: • After turning on the CNC. • After pressing [SHIFT]+[RESET]. • Every time a new program is selected. CNC 8035 ·T· MODEL V16.1...
  • Page 219 If this variable is accessed, block preparation is interrupted and the CNC waits for this command to be executed to resume block preparation. CNC 8035 SELPRO When having two probe inputs, it allows selecting the active input.
  • Page 220 The PRBMOD variable takes the following values. Value Meaning An error message is issued. No error message is issued. Default value 0. The PRBMOD variable can be read and written from the CNC and the PLC an read from the DNC. CNC 8035 ·T· MODEL V16.1...
  • Page 221 NOT, OR, AND, XOR: The act as logic operators between conditions and as binary operators between variables and constants. IF (FIRST AND GS1 EQ 1) GOTO N100 P5 = (P1 AND (NOT P2 OR P3)) CNC 8035 ·T· MODEL V16.1...
  • Page 222 Conversions to binary and BCD are made in 32 bits, it being possible to represent the number 156 in the following formats: decimal Hexadecimal Binary 0000 0000 0000 0000 0000 0000 1001 1100 0000 0000 0000 0000 0000 0001 0101 0110 CNC 8035 ·T· MODEL V16.1...
  • Page 223: Arithmetic Expressions

    (P100 = P(P7)) (P100 = P(P8 + SIN(P8 * 20))) (P100 = ORGX 55) (P100 = ORGX (12+P9)) CNC 8035 (PLCM5008 = PLCM5008 OR 1) ; Selects single block execution mode (M5008=1) (PLCM5010 = PLCM5010 AND $FFFFFFFE) ; Frees feedrate override (M5010=0) ·T·...
  • Page 224: Relational Expressions

    At the same time these conditions can be joined by means of logic operators. (IF ((P8 EQ 12.8) OR (ABS(SIN(P24)) GT SPEED)) AND (CLOCK LT (P9 * 10.99)) ... The result of these expressions is either true or false. CNC 8035 ·T· MODEL...
  • Page 225: Program Control Instructions

    • Flow control instructions. • Subroutine instructions. • Interruption-subroutine instructions. • Program instructions. • Screen customizing instructions. Only one instruction can be programmed in each block, and no other additional information may be programmed in this block. CNC 8035 ·T· MODEL V16.1...
  • Page 226 (P1=P1+P2, P1=P1+P3, P1=P1*P4, P1=P1/P5) It is the same as saying: (P1=(P1+P2+P3)*P4/P5). The different assignments which are made in the same block will be separated by commas ",". CNC 8035 ·T· MODEL V16.1...
  • Page 227: Display Instructions

    Each expression forming the instruction syntax correspond to one of the limits and they must be defined in millimeters or inches. expression 1 Z minimum expression 2 Z maximum expression 3 Inside radius or inside diameter. expression 4 Outside radius or outside diameter. CNC 8035 ·T· MODEL V16.1...
  • Page 228 It will remain disabled until it is enabled once again by means of the mnemonic ESTOP. (EFHOLD and DFHOLD) After executing the mnemonic DFHOLD, the CNC enables the Feed-Hold input from the PLC. It will remain disabled until it is enabled once again by means of the mnemonic EFHOLD. CNC 8035 ·T· MODEL V16.1...
  • Page 229 When reaching block N30, the program will execute section N10-N20 three times. Once this has been completed, the program will continue execution in block N40. CNC 8035 Since the RPT instruction does not interrupt block preparation or tool compensation, it may be used when using the EXEC instruction and while needing to maintain tool compensation active.
  • Page 230 M10 will not be executed, since a high level block cannot have ISO code commands. In this case M10 represents the assignment of value 10 to parameter P12, i.e., one can program either: (IF (E EQ 10) M10) or (IF (P5 EQ 10) P12=10) CNC 8035 ·T· MODEL V16.1...
  • Page 231: Subroutine Instructions

    (CALL (expression)) The mnemonic CALL makes a call to the subroutine indicated by means of a number CNC 8035 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...
  • Page 232 G90 G01 X100 Z240 (CALL 10) G90 G01 X100 Z150 ( SUB 10) G91 G01 Z -10 X40 Z-10 G03 X0 Z-20 I0 K-10 G01 X-20 G02 X0 Z-20 I0 K-10 G01 X40 Z-10 Z-20 (RET) CNC 8035 ·T· MODEL V16.1...
  • Page 233 G90 G01 X200 Z200 ; Also (PCALL 10, A30, B-15) (PCALL 10, P0=30, P1=-15) G90 G01 X200 Z115 ; Also (PCALL 10, A30, B-15) (PCALL 10, P0=30, P1=-15) ( SUB 10) G91 G01 ZP1 XP0 ZP1 (RET) CNC 8035 ·T· MODEL V16.1...
  • Page 234 The X axis is programmed in diameter. (P100=20, P101=-10) G90 G01 X80 Z330 (MCALL 10) G90 G01 X80 Z260 (P100=30, P101=-15) G90 G01 X200 Z200 G90 G01 X200 Z115 (MDOFF) CNC 8035 ( SUB 10) G91 G01 ZP101 XP100 ZP101 ·T· MODEL XP100 V16.1 ZP101...
  • Page 235 CNC moves the first one. The movement is not repeated when defining the second one, it is ignored. If the REPOS instruction is detected while executing a subroutine not activated by an interruption input, the CNC will issue the corresponding error message. CNC 8035 ·T· MODEL V16.1...
  • Page 236: Program Instructions

    MEXEC instruction, it will issue the relevant error message. 1064: The program cannot be executed. (MDOFF) The MDOFF instruction indicates that the mode assumed by a subroutine with the MCALL instruction or a part-program with MEXEC ends in that block. CNC 8035 ·T· MODEL V16.1...
  • Page 237 If the mnemonic WRITE is programmed without having programmed the mnemonic OPEN previously, the CNC will display the corresponding error, except when editing a user customized program, in which case a new block is added to the program being CNC 8035 edited. ·T·...
  • Page 238 Value of the K constant. B or P1 Initial X coordinate. C or P2 Final X coordinate. D or P3 Increment or step in X. Calculated parameters: E or P4 X coordinate. F or P5 Z coordinate. CNC 8035 ·T· MODEL V16.1...
  • Page 239 (IF (P4+P3 GE P2) P4=P2 ELSE P4=P4+P3) (P5=-(P0 * P4 * P4)) ; Movement block (WRITE G01 XP4 ZP5) (IF (P4 NE P2) GOTO N100) ; End of program block (WRITE M30) ; End of subroutine (RET) CNC 8035 ·T· MODEL V16.1...
  • Page 240 Graphic Editor mode such as is indicated in the Operating Manual. In order to position it within the display area its pixels must be defined, 0-639 for columns (expression 2) and 0-335 for rows (expression 3). CNC 8035 ·T· MODEL...
  • Page 241 The following example shows a dynamic variable display: (ODW 1, 6, 33) ; Defines data window 1 (ODW 2, 14, 33) ; Defines data window 2 (DW1=DATE, DW2=TIME) ; Displays the date in window 1 and the time in 2 CNC 8035 (GOTO N10) ·T· MODEL V16.1...
  • Page 242 FEED MAXIMUN POINT CNC 8035 If while a standard CNC softkey menu is active, one or more softkeys are selected via high level language instruction: "SK", the CNC will clear all existing softkeys and it will only show the selected ones.
  • Page 243 ; Adds "B=(value entered)" to the block being edited. (WBUF ")") ; Adds ")" to the block being edited. CNC 8035 ( WBUF ) ; Enters the edited block into memory. After executing this program the block being edited contains: ·T·...
  • Page 244 ; Adds Y (entered value) to the block being edited. (WBUF ")") ; Adds ")" to the block being edited. ( WBUF ) ; Enters the edited block into memory. ; For example : (PCALL 1, X2, Y3) CNC 8035 (GOTO N0) ·T· MODEL V16.1...
  • Page 245 ; Adds C (entered value) to the block being edited. (WBUF ")") ; Adds ")" to the block being edited. ( WBUF ) ; Enters the edited block into memory. For example: (PCALL 2, A3, B1, C3). (GOTO N0) CNC 8035 ·T· MODEL V16.1...
  • Page 246 Programming manual CNC 8035 ·T· MODEL V16.1...
  • Page 247 Influence of the reset, turning the CNC off and of the M30. The angular transformation of an incline axis stays active after a RESET, M30 and even after turning the CNC off and back on. CNC 8035 ·T· MODEL V16.1...
  • Page 248 Either the real or the Cartesian axes may be jogged depending on how they've been set by the manufacturer. It is selected via PLC (MACHMOVE) and it may be available, for example, from a user key. CNC 8035 ·T· MODEL...
  • Page 249 The angular transformation is turned off using function G46 whose programming format is: G46 S0 The angular transformation of an incline axis stays active after a RESET, M30 and even after turning the CNC off and back on. CNC 8035 ·T· MODEL V16.1...
  • Page 250 α N10 G46 S1 N20 G1 Z(P2) N30 G46 S2 Freezing the transformation. N40 X(P3) Movement programming the coordinate in the Cartesian system ZX. N50 G46 S1 Activate the normal mode. N60 Z(P4) N70 X(P1) CNC 8035 ·T· MODEL V16.1...
  • Page 251 Programming manual A P P E N D I X ISO code programming ...........225 Program control instructions..........227 Summary of internal CNC variables .......229 Key codes .................235 Maintenance ..............237 CNC 8035 ·T· MODEL V16.1...
  • Page 253 4.4.2 * Additive zero offset 2 4.4.2 * Pattern repeat cycle canned cycle * X axis roughing canned cycle CNC 8035 * Z axis roughing canned cycle * Programming in inches Programming in millimeters * General and specific scaling factor * Home search ·T·...
  • Page 254 In those cases indicated by ? , it should be understood that the DEFAULT of these G functions depends on the setting of the general machine parameters of the CNC. V means that the G code is displayed next to the current machining conditions in the execution and simulation modes. CNC 8035 ·T· MODEL V16.1...
  • Page 255: Enabling And Disabling Instructions

    (CALL (expression)) Call to a subroutine. (PCALL (expression), (assignment instruction), (assignment instruction),...) ) CNC 8035 Call to a subroutine. In addition, using assignment instructions, it is possible to initialize up to a maximum of 26 local parameters of this subroutine.
  • Page 256 ( WBUF ) Enters the block being edited into memory. It can only be used in the screen customizing program CNC 8035 to be executed in the Editing mode. ( SYSTEM ) It ends the execution of the user screen customizing program and returns to the corresponding standard menu of the CNC.
  • Page 257 Value assigned to general machine parameter (n). MP(X-C)n Value assigned to (X-C) axis machine parameter (n). MPSn Value assigned to machine parameter (n) of the main spindle. MPLCn Value assigned to machine parameter (n) of the PLC. CNC 8035 ·T· MODEL V16.1...
  • Page 258 Programmed theoretical position value (coordinate). POS(X-C) Machine coordinates. Real coordinates of the tool base. TPOS(X-C) Machine coordinates. Theoretical coordinates of the tool base. CNC 8035 APOS(X-C) Part coordinates. Real coordinates of the tool base. ATPOS(X-C) Part coordinates. Theoretical coordinates of the tool base.
  • Page 259: Variables Associated With The Main Spindle

    SLIMIT Spindle speed limit active at the CNC. DNCSL R/W Spindle speed limit selected via DNC. PLCSL Spindle speed limit selected via PLC. PRGSL Spindle speed limit selected by program. MDISL Maximum machining spindle speed. CNC 8035 ·T· MODEL V16.1...
  • Page 260 GGSD Status of functions G75 thru G99. Status of the indicated M function (n) Status of M functions: M (0..6, 8, 9, 19, 30, 41..44). CNC 8035 PLANE Abscissa and ordinate axes of the active plane. LONGAX Axis affected by the tool length compensation (G15).
  • Page 261 Linear theoretical feedrate resulting from the next loop (in mm/min). The "KEY" variable can be "written" at the CNC only via the user channel. The "NBTOOL" variable can only be used within the tool change subroutine. CNC 8035 ·T· MODEL...
  • Page 262 Programming manual CNC 8035 ·T· MODEL V16.1...
  • Page 263: Key Codes

    Programming manual KEY CODES Alphanumeric operator panel (M-T models) ñ 65454 65453 65456 65445 65460 65462 65458 65455 64512 64513 64514 64515 64516 64517 64518 65522 65524 61446 61447 61452 61443 65523 65521 65520 CNC 8035 ·T· MODEL V16.1...
  • Page 264 Programming manual CNC 8035 ·T· MODEL V16.1...
  • Page 265: Maintenance

    • 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 266 Programming manual CNC 8035 ·T· MODEL V16.1...
  • Page 267 Programming manual CNC 8035 ·T· MODEL V16.1...
  • Page 268 Programming manual CNC 8035 ·T· MODEL V16.1...

Table of Contents