Fagor CNC 8055i FL EN Installation Manual

Fagor CNC 8055i FL EN Installation Manual

Cnc 8055 series
Table of Contents

Advertisement

Quick Links

CNC
8055
Installation manual
Ref.1705
Soft: V02.2x

Advertisement

Table of Contents
loading

Summary of Contents for Fagor CNC 8055i FL EN

  • Page 1 8055 Installation manual Ref.1705 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 8055 CNC CONFIGURATION CNC structure ........................ 27 Central unit........................29 1.2.1 –CPU–...
  • Page 4 7.13.1 "C" axis and spindle with a single feedback............. 371 7.14 Additive coupling between axes .................. 374 7.15 Fagor handwheels: HBA, HBE and LGB ..............376 7.16 Machine safety related functions ................. 380 7.16.1 Maximum machining spindle speed ................. 380 7.16.2...
  • Page 5 I n s t a l l a t i o n m a n u a l 7.19 Gear ratio management on axes and spindle .............. 391 7.19.1 Example of axes: encoder in the motor..............392 7.19.2 Example of axes: external encoder without gear ratio ..........393 7.19.3 Example of axes: external encoder with gear ratio ..........
  • Page 6 I n st a l l a t io n ma n u a l 12.7 General logic outputs....................512 12.8 Logic outputs of the axes ..................... 520 12.9 Spindle logic outputs....................522 12.10 Logic outputs of the auxiliary spindle ................524 12.11 Logic outputs of key status ..................
  • Page 7 I n s t a l l a t i o n m a n u a l APPENDIX Technical characteristics of the 8055iCNC ..............645 Central unit of the 8055 CNC..................649 11" LCD Monitor......................653 Probe connection at the 8055i ..................655 Probe connection at the 8055 CNC ................
  • Page 8 I n st a l l a t io n ma n 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 ·18·...
  • 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 ·10·...
  • 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 ·16·...
  • 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 ·20·...
  • 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 ·22·...
  • Page 27: Cnc Structure

    FLASH FLASH COM1 COM1 NOD E NODE FAGOR FAGOR Either separate keyboard and monitor or keyboards with an incorporated monitor are available. The monitors are 11" LCD. The keyboards are specific for each model and work mode. CNC 8055 CNC 8055i : V02.2...
  • Page 28 I n st a l l a t io n ma n u a l The following illustration shows the possible combinations. Each configuration shows the value of machine parameter CUSTOMTY (P92). FAGOR FAGOR 8055-M 8055-MC 11" LCD 11" LCD...
  • Page 29: Central Unit

    CMPCT FLASH COM1 N ODE FAGOR Available modules It contains the system software and carries out the CNC functions (editing, execution, simulation, display, etc.), process the information of the rest of the modules and generate the video signals for the monitor.
  • Page 30 I n st a l l a t io n ma n u a l Central Unit (CPU) configuration The configuration of the central unit depends on each application. The –CPU– and –AXES– modules must be part of all configurations. The –CPU–...
  • Page 31 98,5 (3.88) 98,5 (3.88) 24 (0.94) 77 (3.03) 6 (0.24) AXES AXES 10 (0.39) 8 (0.31) CMPCT CMPCT FLASH FLASH 6 (0.24) COM1 COM1 OU T OU T NODE N OD E FAGOR FAGOR CNC 8055 CNC 8055i : V02.2 ·31·...
  • Page 32 Central Unit (CPU) voltage supply Do not manipulate the inside of the unit. • Only authorized personnel from Fagor Automation may do it. Do not handle the connectors with the unit connected to main AC power. • Before manipulating these connectors, make sure that the unit is not connected to main AC power.
  • Page 33: Cpu– Module

    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.
  • Page 34 Connector X1 - for the Keyboard connection SUB-D type 25-pin female connector to connect the central unit with the keyboard. FAGOR AUTOMATION provides the cable necessary for this connection. This cable has two 25- pin male connectors of the SUB-D type.
  • Page 35 It has a compact flash type hard disk to store user programs and for updating software versions. The hard disk may be accessed from the outside. The KeyCF supplied by Fagor with each CNC has an identification code corresponding to: • The card id (all the cards are different).
  • Page 36 USB hard disk. Separate monitors (without keyboard) Connecting the USB extension cable supplied by Fagor: Connect the cable and the USB adapter. Check that the seal and the nut of the USB adaptor are secured as shown in the figure.
  • Page 37 I n s t a l l a t i o n m a n u a l Monitors with keyboard Connecting the USB extension cable supplied by Fagor While the CNC is off, connect the extension cable to the CPU and to the keyboard.
  • Page 38 The digital servo drive system (CAN or Sercos) is located at the COM1 port. This servo system is enabled through its corresponding software option. Two types of digital servo system may be used to communicate with Fagor servo drives: • Sercos interface IEC1491.
  • Page 39 I n s t a l l a t i o n m a n u a l The "Line_Term" switch. The "Line_Term" switch identifies which are the elements that occupy the ends of the CAN bus; i.e. the first and last physical element in the connection. The central unit must always be at one end of the line.
  • Page 40 I n st a l l a t io n ma n u a l Interconnection of modules. It is connected in series. The figure shows the CAN connection between the central unit and 2 drives. DRIVE MODULE 1 DRIVE MODULE 2 ADDRESS=1 ADDRESS=2 LINE TERM=0...
  • Page 41 Storage: -40 ºC / 80 ºC (-40 ºF / 176 ºF). Cable handling. Fagor supplies the cable with the terminals protected by a cap. Remove the protection cap before connecting the cable. To remove the terminal protecting cap or to connect or disconnect the cable, hold the cable by its terminal;...
  • Page 42 Interconnection of modules. It is connected in a ring through optic fiber, by joining an OUT terminal with an IN terminal. The drawing shows the Sercos connection of the CNC with Fagor spindle drives and the X, Y axes. NODE...
  • Page 43: Vpp Axes– Module

    CNC 8055 CNC 8055i 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 these connectors, make sure that the unit is not connected to main AC power.
  • Page 44 SA-TTL-TTLD Adapter for "Non-differential TTL" to "differential TTL" signals SA-FS-P Adapter for Fagor sinusoidal signal to Vpp signal. Technical characteristics of the feedback inputs Power supply consumption of +5 V 1 A (250 mA per axis). Work levels for differential square signal.
  • Page 45 When connecting handwheels, they must be differential as well as the axis selector signal. The axis selector signal must be connected to pins 5 and 6. Non-differential handwheels (for example Fagor 100P) may be connected using either the Fagor signal adapter "SA-TTL-TTLD" (from "non-differential TTL to differential TTL) or connectors X5 and Protection at the connectors It detects over-current or short-circuits at the feedback devices issuing the relevant error message.
  • Page 46 Home signals. - - - Handwheel connection When using a FAGOR 100P model handwheel, the axis selecting signal must be connected to the reference mark (I0) pin of the corresponding axis 5 or 13 of this connector. Protection at the connectors It detects the error in axis pairs issuing the relevant error message.
  • Page 47 I n s t a l l a t i o n m a n u a l Connector X7 - Differential analog inputs and touch probes It is a 15-pin male connector of the SUB-D type used to connect the two touch probes and the analog inputs.
  • Page 48 I n st a l l a t io n ma n u a l Connector X9 - PLC inputs It is a 37-pin male connector of the SUB-D type used for the PLC inputs. Since the response time of the EMERGENCY signal must be very short, the CNC has assigned input I1 (pin 2) for this purpose.
  • Page 49 I n s t a l l a t i o n m a n u a l Connector X10 - PLC inputs and outputs. It is a 37-pin female connector of the SUB-D type used for the inputs and outputs of the PLC. When certain errors are issued, the CNC, besides indicating it to the PLC (/ALARM mark), activates output O1 (pin 2) of this connector.
  • Page 50: Vpp Sb Axes– Module

    CNC 8055 CNC 8055i 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 these connectors, make sure that the unit is not connected to main AC power.
  • Page 51 SA-TTL-TTLD Adapter for "Non-differential TTL" to "differential TTL" signals SA-FS-P Adapter for Fagor sinusoidal signal to Vpp signal. Technical characteristics of the feedback inputs Power supply consumption of +5 V 1 A (250 mA per axis). Work levels for differential square signal.
  • Page 52 When connecting handwheels, they must be differential as well as the axis selector signal. The axis selector signal must be connected to pins 5 and 6. Non-differential handwheels (for example Fagor 100P) may be connected using either the Fagor signal adapter "SATTLTTLD" (from "non-differential TTL to differential TTL) or connector X5.
  • Page 53 Home signals. - - - Handwheel connection When using a FAGOR 100P model handwheel, the axis selecting signal must be connected to the reference mark (I0) pin of the corresponding axis 5 or 13 of this connector. Protection at the connectors It detects the error in axis pairs issuing the relevant error message.
  • Page 54 I n st a l l a t io n ma n u a l Connector X7 - Differential analog inputs and touch probes It is a 15-pin male connector of the SUB-D type used to connect the two touch probes and the analog inputs.
  • Page 55 I n s t a l l a t i o n m a n u a l Connector X9 - PLC inputs It is a 37-pin male connector of the SUB-D type used for the PLC inputs. Since the response time of the EMERGENCY signal must be very short, the CNC has assigned input I1 (pin 2) for this purpose.
  • Page 56 I n st a l l a t io n ma n u a l Connector X10 - PLC inputs and outputs. It is a 37-pin female connector of the SUB-D type used for the inputs and outputs of the PLC. When certain errors are issued, the CNC, besides indicating it to the PLC (/ALARM mark), activates output O1 (pin 2) of this connector.
  • Page 57: I/O– Module (Inputs - Outputs)

    The PLC can control up to 512 inputs and 512 outputs although it can only communicate to the outside world through the ones indicated above. Do not manipulate the inside of the unit. Only personnel authorized by Fagor Automation may access the interior of this unit.
  • Page 58 I n st a l l a t io n ma n u a l Elements Connectors ·X1· & ·X2· 37-pin male connector of the SUB-D type for 64 digital inputs of the PLC. Connector ·X3· 37-pin female connector of the SUB-D type for 32 digital outputs of the PLC.
  • Page 59 I n s t a l l a t i o n m a n u a l Connectors and connection Connectors X1, X2 37-pin male connectors of the SUB-D type used for the PLC inputs. The 0V of the power supply used for these inputs must be connected to pins 18 and 19 of each connector.
  • Page 60 I n st a l l a t io n ma n u a l Connector X2. Signal and function - - - External power supply. External power supply. - - - Chassis - Shield. CNC 8055 CNC 8055i : V02.2 ·60·...
  • Page 61 I n s t a l l a t i o n m a n u a l Connector X3. 37-pin female connector of the SUB-D type used for the PLC outputs. Both 24V and 0V of the power supply used to power these PLC outputs must be connected to pins 18 and 19 (for 0V) and pins 1 and 20 (for the 24V) of the connector.
  • Page 62: Monitors

    I n st a l l a t io n ma n u a l Monitors There are independent monitors and those with incorporated keyboard. See "1.1 CNC structure" on page 27. Independent monitors Monitor Reference 11" LCD MONITOR-8055 Monitors with incorporated keyboard Monitor + Keyboard Reference 11"...
  • Page 63: Lcd Monitor

    I n s t a l l a t i o n m a n u a l 1.3.1 11" LCD Monitor Dimensions FAGOR 11" LCD F1 F2 F3 F4 F5 F6 F7 7,5(0.29) 310(12.205) 325(12.795) 287,8 x 220(11.33 x 8.66) 20(0.787)
  • Page 64 CRT. The temperature inside the enclosure must be between 0 and 50ºC (32ºF and 122ºF). Do not manipulate the inside of the unit. Only personnel authorized by Fagor Automation may access the interior of this unit.
  • Page 65: Lcd Monitor + M, T, Mc Or Tc Keyboard

    I n s t a l l a t i o n m a n u a l 1.3.2 11" LCD monitor + M, T, MC or TC keyboard Dimensions 10(0.394) FAGOR SPINDLE FEED 40 50 60 1 10 100...
  • Page 66 CRT. The temperature inside the enclosure must be between 0 and 50ºC (32ºF and 122ºF). Do not manipulate the inside of the unit. Only personnel authorized by Fagor Automation may access the interior of this unit.
  • Page 67: Operator Panel

    I n s t a l l a t i o n m a n u a l Operator panel Independent keyboards are called operator panels. See "1.1 CNC structure" on page 27. Operator panels available for the mill model Monitor Reference Alphanumeric operator panel...
  • Page 68: Mc, Tc, Mco/Tco And Alphanumeric Operator Panels

    I n st a l l a t io n ma n u a l 1.4.1 MC, TC, MCO/TCO and alphanumeric operator panels Dimensions 7.5(0.295) FAGOR FEED 40 50 60 1 10 100 1000 10000 5.2(0.2) 38(1.5) 155(6.1) 155(6.1) 7.5(0.295) 325(12.795)
  • Page 69: Alphanumeric Keyboard (Optional)

    I n s t a l l a t i o n m a n u a l 1.4.2 Alphanumeric keyboard (optional) MC, TC and MCO/TCO can have an optional alphanumeric keyboard where each key has a single letter or number assigned to it (KB.40/55.ALFA). This keyboard is connected to the operator panel through the KS50/55 adapter.
  • Page 70 I n st a l l a t io n ma n u a l Dimensions and elements of the KS50/55 25-pin female SUB-D type (normal density) connector to connect the "central unit + monitor". 25-pin female SUB-D type (normal density) connector to connect the "alphanumeric keyboard + monitor".
  • Page 71 I n s t a l l a t i o n m a n u a l With a PLC. CNC general logic output CUSTOM (M5512) indicates to the PLC the currently selected work mode. CUSTOM (M5512) = 0 M or T work mode.
  • Page 72 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·72·...
  • Page 73: Cnc Structure

    CNC 8055 i CONFIGURATION The CNC is prepared to be used in industrial environments, especially on milling machines, lathes, etc. The CNC can control machine movements and devices. CNC structure The central unit is located on the rear of the monitor. The monitor may be either integrated into the operator panel or separate from it.
  • Page 74 I n st a l l a t io n ma n u a l Operator panels with integrated monitor CNC 8055i FL-GP-K CNC 8055i Power-GP-K CNC 8055i FL-M-K CNC 8055i Power-M-K CNC 8055i FL-MC-K CNC 8055i Power-MC-K CNC 8055i FL-T-K CNC 8055i Power-T-K CNC 8055i FL-TC-K CNC 8055i Power-TC-K...
  • Page 75 I n s t a l l a t i o n m a n u a l Dimensions 128.3(5.05) To p v i e w o f t h e C N C w i t h t h e communications board "CAN - CAN - Ethernet".
  • Page 76 I n st a l l a t io n ma n u a l Enclosure 200(7.874) 200(7.874) M5x0.7 10(0.394) 380(14.96) SPINDLE FEED 40 50 60 1 10 100 1000 1000 0 10(0.394) The minimum distance from each side of the monitor to its enclosure in order to guarantee the required ambient conditions is shown below: It is up to the installer to make sure that the enclosure has forced ventilation or ventilation grooves in order to prevent the inside temperature to exceed the specified ambient temperature.
  • Page 77: Connectors

    For feedback connection of the fourth axis. CNC 8055 Do not manipulate the inside of the unit. Only authorized personnel from Fagor Automation may do it. Do not handle the connectors with the unit connected to main AC power. Before manipulating these CNC 8055i connectors, make sure that the unit is not connected to main AC power.
  • Page 78 SA-TTL-TTLD Adapter for "Non-differential TTL" to "differential TTL" signals SA-FS-P Adapter for Fagor sinusoidal signal to Vpp signal. Technical characteristics of the feedback inputs Feedback inputs for the axes and spindle Power supply consumption of +5 V 1 A (250 mA per axis).
  • Page 79 I n s t a l l a t i o n m a n u a l Work levels for sinusoidal signal (only for axes). Maximum frequency 500 kHz. A and B signals Amplitude: 0.6 ÷ 1.2 Vpp Centered: |V1-V2| / 2 Vpp =< 6,5% Ratio: VApp / VBpp = 0.8 ÷...
  • Page 80 I n st a l l a t io n ma n u a l Connectors and connection Power 3-prong male Phoenix connector, 7.65 mm pitch. Signal and function + 24 V Power supply. Power supply. Chassis Shield. Use an independent external power supply with the following specifications: Rated voltage 20 V minimum 30 V maximum...
  • Page 81 I n s t a l l a t i o n m a n u a l Connector X1 - RS232 It is a 9-pin SUB-D type male connector to connect the RS 232 C serial port. The cable shield must be connected to the metallic hood at each end. Signal GND ISO - - -...
  • Page 82 I n st a l l a t io n ma n u a l Connector X2 - Digital inputs (I1 to I16) and digital outputs (O1 to O8) It is a 37-pin normal density SUB-D type female connector. Connect both 24V and 0V of the power supply used for these inputs and outputs must be connected to pins 18 and 19 (for 0V) and pins 1 and 20 (for the 24V) of the connector.
  • Page 83 I n s t a l l a t i o n m a n u a l Connector X3 - For probe connection 9-pin normal density SUB-D type female connector. Signal and function Chassis Shield. +5 V Probe 1. +5 V output for the probe. PRB1_5 Probe 1.
  • Page 84 It is highly recommended to run these cables as far as possible from the power cables of the machine. When using a FAGOR 100P model handwheel, connect it as first handwheel and connect the axis selecting signal (button) to pin 13.
  • Page 85 Connector X6 - For Operator Panel connection 26-pin high density SUB-D type female connector. Fagor Automation provides the union cable required for this connection. It consists of a cable hose, one high density SUB-D type 26-pin male connector and a SUB-D type 25-pin male connector.
  • Page 86 I n st a l l a t io n ma n u a l Connector X7 - Digital inputs (I97 to I104) and digital outputs (O33 to O56) It is a 37-pin normal density SUB-D type female connector. Connect both 24V and 0V of the power supply used for these inputs and outputs must be connected to pins 18 and 19 (for 0V) and pins 1 and 20 (for the 24V) of the connector.
  • Page 87 I n s t a l l a t i o n m a n u a l Connector X8 - For connecting the outputs for the velocity command of the axes 9-pin normal density SUB-D type female connector. Signal and function Chassis Shield.
  • Page 88 I n st a l l a t io n ma n u a l Connector X9 - Digital inputs (I65 to I96) It is a 37-pin normal density SUB-D type male connector. Connect the 0V of the power supply used for these inputs to pins 18 and 19 (for 0V) of the connector. Signal and function - - - External power supply.
  • Page 89 I n s t a l l a t i o n m a n u a l Conectores X10, X11, X12, X13 - Feedback inputs for the axes For feedback connection of the first axis. For feedback connection of the second axis. For feedback connection of the third axis.
  • Page 90 Compartment of the KeyCF (CNC configuration card). The KeyCF supplied by Fagor with each CNC has an identification code corresponding to: • The card id (all the cards are different). • The software features that have been purchased for that unit The id code only needs very little memory space.
  • Page 91 CNC. The extension cable must not be longer than 3 m and it must be plugged in while the CNC is off. We recommend to use the extension set supplied by Fagor. Once this cable has been plugged in, USB devices may be connected or disconnected through it while the CNC is on.
  • Page 92 I n st a l l a t io n ma n u a l Separate monitors (without keyboard) Connecting the USB extension set supplied by Fagor: Connect the cable and the USB adapter. Check that the seal and the nut of the USB adaptor are secured as shown in the figure.
  • Page 93 I n s t a l l a t i o n m a n u a l Monitors with keyboard Connecting the USB extension cable supplied by Fagor: The USB extension cable for monitors with an integrated keyboard is supplied with the CNC.
  • Page 94 I n st a l l a t io n ma n u a l Sercos, CAN and Ethernet - communications board There are 3 communications boards: CAN - CAN - Ethernet. CAN AXES CAN I/Os Ethernet This board has the following connections: •...
  • Page 95 I n s t a l l a t i o n m a n u a l Ethernet - CNC configuration in a local network Transmitting data Network connection The Ethernet option permits configuring the CNC as another node within the local area network. This makes it possible to communicate with other PC’s to transfer files or carry out telediagnosis tasks.
  • Page 96 I n st a l l a t io n ma n u a l CAN I/Os - Expansion of inputs and outputs (remote I/O) The CAN bus connection allows connecting up to 4 remote modules to the central unit to expand the number of digital or analog inputs and outputs, The transmission speed depends on the length of the cable or total CAN connection distance.
  • Page 97 I n s t a l l a t i o n m a n u a l Characteristics of the CAN cable. Use a specific CAN cable. The ends of all the wires and the shield must be protected by the corresponding terminal (pin).
  • Page 98 I n st a l l a t io n ma n u a l DIGITAL DRIVES - Digital servo (CAN or Sercos) Two types of digital servo systems may be used to communicate with Fagor servo drives: • Sercos interface IEC1491.
  • Page 99 I n s t a l l a t i o n m a n u a l CAN connector pinout. 5-pin male Phoenix minicombicon connector (3.5 mm pitch). ISO GND CAN L SHIELD CAN H SHIELD Signal Description ISO GND Ground / 0 V.
  • Page 100 Sercos connection output. Sercos cable characteristics. Fagor Automation provides the fiber optic cables needed for Sercos communication. There are different types of cables depending on length and dynamic and static installation characteristics. • Fiber optic cable with polymer core (SFO, SFO-FLEX) for up to 40 meters If the cable will be subject to dynamic conditions (it will be moving), the SFO-FLEX cable must always be used.
  • Page 101 Interconnection of modules. It is connected in a ring through optic fiber, by joining an OUT terminal with an IN terminal. The drawing shows the Sercos connection of the CNC with Fagor spindle drives and the X, Y axes. NODE...
  • Page 102: Operator Panel

    I n st a l l a t io n ma n u a l Operator panel The operator panel depends on the CNC model. M model OP-8055-ALFA operator panel T model OP-8055-ALFA operator panel MC model OP-8055-MC operator panel TC model OP-8055-TC operator panel MCO/TCO model...
  • Page 103 I n s t a l l a t i o n m a n u a l Elements SUB-D type 25-pin female connector to connect the keyboard with the central unit or with a switching board. Ground terminal. Buzzer. Potentiometer for adjusting the buzzer volume.
  • Page 104: Alphanumeric Keyboard (Optional)

    I n st a l l a t io n ma n u a l 2.2.1 Alphanumeric keyboard (optional) MC, TC and MCO/TCO can have an optional alphanumeric keyboard where each key has a single letter or number assigned to it (KB-55-ALFA). This keyboard is connected to the operator panel through the KS 50/55 adapter.
  • Page 105 I n s t a l l a t i o n m a n u a l Dimensions and elements of the KS 50/55 25-pin female SUB-D type (normal density) connector to connect the "central unit + monitor". 25-pin female SUB-D type (normal density) connector to connect the "alphanumeric keyboard + monitor".
  • Page 106 I n st a l l a t io n ma n u a l With a PLC. CNC general logic output CUSTOM (M5512) indicates to the PLC the currently selected work mode. CUSTOM (M5512) = 0 M or T work mode. CUSTOM (M5512) = 1 MC, TC, MCO or TCO work mode.
  • Page 107 HEAT DISSIPATION The working temperature of the central unit enclosure must not exceed 45 ºC (113ºF). To ensure that this temperature is not exceeded, the enclosure must have enough surface to evacuate the heat generated inside and maintain the ambient conditions within the working temperature range. Calculating the surface needed to dissipate the heat The expressions have been obtained for an enclosure having a 2 mm wall and made out of aluminum.
  • Page 108: Heat Dissipation By Natural Convection

    I n st a l l a t io n ma n u a l Heat dissipation by natural convection Surface without paint. ------------- -  T Surface with smooth metallic enamel. ----------------- -  T CNC 8055 CNC 8055i : V02.2 ·108·...
  • Page 109: Heat Dissipation By Convection With Internal Fan

    I n s t a l l a t i o n m a n u a l Heat dissipation by convection with internal fan Fan whose air flow is Q = 13.6 m /h facing down. Surface without paint. ----------------- - ...
  • Page 110: Heat Dissipation By Flowing Air To The Outside With A Fan

    I n st a l l a t io n ma n u a l Heat dissipation by flowing air to the outside with a fan Heat dissipation by convection forcing hot air flow to flow outside with a fan and ambient air input through the holes of the bottom surface of the enclosure.
  • Page 111 REMOTE MODULES (BUS CAN WITH CANOPEN PROTOCOL) Remote modules may be used to have an additional number of digital and analog inputs and outputs (remote I/O) as well as inputs for temperature sensors. The remote modules are distributed by groups and are connected to the central unit through the CAN bus. Up to 4 groups may be connected to the CAN bus, where each group may consist of 1 or 2 of the following elements.
  • Page 112 I n st a l l a t io n ma n u a l Some general points to consider When mounting the groups, bear in mind the following considerations. • One of the power supply modules must be present in each group. •...
  • Page 113: Installation Of The Modules

    I n s t a l l a t i o n m a n u a l Installation of the modules Place the modules on 2 profiles, according to the UNE 50022 standard, with 2 securing ends, one at each end of the group; they help securing the modules besides maintaining the right gap between the profiles.
  • Page 114: Power Supply

    I n st a l l a t io n ma n u a l Power supply The power supply must be powered at 24 V DC and connected to the CAN bus of the system. There are two power supply models. •...
  • Page 115 I n s t a l l a t i o n m a n u a l Power supply with analog inputs and outputs. POWER ANALOG I/O Connector ·X1·. Power supply. GN D ·SPEED· selector. Connector ·X4·. CAN bus transmission speed. 4 general purpose analog outputs.
  • Page 116 I n st a l l a t io n ma n u a l Connector ·X2· & ·X3·. CAN bus connection. Description 5-pin male Phoenix minicombicon connector (3.5 mm pitch). ISO GND CAN L SHIELD CAN H SHIELD ·SPEED· selector. CAN bus transmission speed. When using the CANopen protocol, the transmission speed at the bus is defined in each node.
  • Page 117 I n s t a l l a t i o n m a n u a l ·Line Term· selector. Line terminating resistor. The "Line_Term" switch identifies which are the elements that occupy the ends of the CAN bus; i.e. the first and last physical element in the connection. The switch of the elements at the ends must be in the ·1·...
  • Page 118 I n st a l l a t io n ma n u a l Description of the connectors (analog inputs and outputs) Connector ·X4·. General purpose analog outputs (4 outputs). 12-pin male Phoenix minicombicon connector (3.5 mm pitch). Signal Function O1+ O1- Analog output.
  • Page 119 I n s t a l l a t i o n m a n u a l Connector ·X6·. Differential analog inputs (4 inputs). 15-pin male Phoenix minicombicon connector (3.5 mm pitch). Signal Function I1+ I1- Analog input I2+ I2- Analog input I3+ I3- Analog input...
  • Page 120: Digital Inputs And Digital Outputs (Single Module)

    I n st a l l a t io n ma n u a l Digital inputs and digital outputs (single module) This module is used to expand the digital inputs and outputs (remote I/O). Each module has 24 digital inputs and 16 digital outputs.
  • Page 121 I n s t a l l a t i o n m a n u a l Description of the connectors (digital inputs and outputs) Connector ·X1· & ·X2·. Digital outputs (8 outputs in each connector). 10-pin male Phoenix minicombicon connector (3.5 mm pitch). Both connectors must be powered with 24 V DC and GND.
  • Page 122: Digital Inputs And Digital Outputs (Double Module)

    I n st a l l a t io n ma n u a l Digital inputs and digital outputs (double module) This module is used to expand the digital inputs and outputs (remote I/O). Each module has 48 digital inputs and 32 digital outputs.
  • Page 123 I n s t a l l a t i o n m a n u a l Description of the connectors (digital inputs and outputs) Connector ·X1· & ·X2· & ·X5· & ·X6·. Digital outputs (8 outputs in each connector). 10-pin male Phoenix minicombicon connector (3.5 mm pitch).
  • Page 124: Electrical Characteristics Of The Inputs And Outputs

    I n st a l l a t io n ma n u a l Electrical characteristics of the inputs and outputs Digital inputs All digital inputs are galvanically isolated through opto-couplers. The electrical characteristics of the inputs are: Rated voltage +24 V DC (between +18 V DC and +30 V DC).
  • Page 125 I n s t a l l a t i o n m a n u a l Inputs for the temperature sensor PT100 Use shielded cables connecting their meshes to the corresponding shield pin. The electrical characteristics of the inputs are: Type of sensor.
  • Page 126: Numbering Of The Digital Inputs And Outputs

    I n st a l l a t io n ma n u a l Numbering of the digital inputs and outputs The following PLC machine parameters identify each of the 4 possible remote modules. The following group of parameters must be defined for each one of them. IOCANID* Node address.
  • Page 127 MACHINE AND POWER CONNECTION 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. Install this unit in the proper place. •...
  • Page 128 I n st a l l a t io n ma n u a l The supply current has the following shape on power-up: Machine connection The machine-tool must have all the interference generating elements (relay coils, contactors, motors, etc.) uncoupled. •...
  • Page 129 I n s t a l l a t i o n m a n u a l CNC 8055. Ground connection diagram Chassis Ground Protection ground (for safety) CNC 8055 CNC 8055i : V02.2 ·129·...
  • Page 130 I n st a l l a t io n ma n u a l CNC 8055i. Ground connection diagram Chassis Ground Protection ground (for safety) CNC 8055 CNC 8055i : V02.2 ·130·...
  • Page 131: Digital Inputs And Outputs

    I n s t a l l a t i o n m a n u a l Digital inputs and outputs Digital outputs The CNC system offers a number of optocoupled digital PLC outputs which can be used to activate relays, deacons, etc.
  • Page 132: Analog Inputs And Outputs

    I n st a l l a t io n ma n u a l Analog inputs and outputs Analog outputs They may be used for axis, spindle drives and as a servo for other devices. The electrical characteristics of these outputs are: Command voltage range ±10 V.
  • Page 133: Setup

    I n s t a l l a t i o n m a n u a l Setup Some general points to consider Inspect the whole electrical cabinet verifying the ground connections BEFORE powering it. This ground connection must be done at a single machine point (Main Ground Point) and all other ground points must be connected to this point.
  • Page 134 I n st a l l a t io n ma n u a l Introduction to machine parameters The machine parameters relate the CNC to the particular machine. The values that the CNC assigns to each one of them by default are described in the relevant chapter. See chapter "6 Machine parameters".
  • Page 135 I n s t a l l a t i o n m a n u a l Machine reference point (home) adjustment for each axis Once the movement of the axes has been properly adjusted, place the travel-limit switches back where they should be.
  • Page 136 I n st a l l a t io n ma n u a l Adjustment of the drift (offset) and maximum feedrate (G00) These adjustments are performed on servo drives of the axes and on spindle drives. Offset (drift) adjustment. Disconnect the velocity command input and short-circuit it with a wire jumper.
  • Page 137: Connection Of The Emergency Input And Output

    I n s t a l l a t i o n m a n u a l Connection of the emergency input and output The emergency input of the CNC corresponds with the I01 input of the PLC and must be supplied with 24V.
  • Page 138 I n st a l l a t io n ma n u a l When the CNC detects an error, it will let the PLC know through the general logic output "/ALARM" and it will activate the emergency output (logic level 0). Pin 2 of connector X10 of the –Axes–...
  • Page 139 Report window. The CNC allows the display of a previously defined screen instead of the Fagor logo. Refer to the operating manual. During the autotest, if any error occurs, its relevant message will be displayed in the report window.
  • Page 140 I n st a l l a t io n ma n u a l The available machine parameter tables are: • General machine parameters. • Machine parameters for the axes (one table per axis) • Machine parameters for the spindles (main, second and auxiliary). •...
  • Page 141 I n s t a l l a t i o n m a n u a l The CNC offers the following options when working with each parameter of these tables: EDIT Edit a parameter. The CNC will indicate the proper format by means of the softkeys.
  • Page 142 I n st a l l a t io n ma n u a l VERIFICATIONS BEFORE STARTUP In order for the CNC to perform properly, after a setup, check that the following machine parameters have been set with proper values. This is very important for safety reasons, because if those values are not the right ones, the machine's performance could be deficient.
  • Page 143 I n s t a l l a t i o n m a n u a l FBALTIME (P12) This parameter indicates the maximum time that the axis may stay without properly responding to the CNC’s command. Axis parameter FBALTIME (P12) must be set with a proper value (other than MAXFLWE1 (P21) This parameter indicates the maximum following error allowed when this axis moves.
  • Page 144 I n st a l l a t io n ma n u a l SYNMAXSP (P63) This parameter indicates the maximum turning speed when the spindle are synchronized. Spindle parameter SYNMAXSP (P63) must be set with a proper value (other than 0). SLIMIT (P66) This parameter sets the maximum safety limit for the spindle speed.
  • Page 145: Parameter Matching Between The Cnc And The Sercos Drive

    I n s t a l l a t i o n m a n u a l Parameter matching between the CNC and the Sercos drive Some CNC and drive parameters must be set accordingly (matching each other) to ensure proper system performance.
  • Page 146: Parameters That May Be Modified From The Oscilloscope, Oem Program Or Oem Subroutine

    I n st a l l a t io n ma n u a l Parameters that may be modified from the oscilloscope, OEM program or OEM subroutine Here is a list of the machine parameters that may be modified either from the oscilloscope or from an OEM program/subroutine.
  • Page 147 I n s t a l l a t i o n m a n u a l Spindle machine parameters: Parameter Number Update MAXGEAR1 Beginning of the next block MAXGEAR2 Beginning of the next block MAXGEAR3 Beginning of the next block MAXGEAR4 Beginning of the next block ACCTIME...
  • Page 148: General Machine Parameters

    I n st a l l a t io n ma n u a l General machine parameters AXIS1 (P0) AXIS2 (P1) AXIS3 (P2) AXIS4 (P3) AXIS5 (P4) AXIS6 (P5) AXIS7 (P6) AXIS8 (P7) They permit associating axes, handwheels, spindles or live tools with each feedback input and analog output according to the following code: Value Meaning...
  • Page 149 It replaces the mechanical handwheels. Up to 3 handwheels can be used (one per axis). It only moves the axis it is associated with. When using a Fagor 100P handwheel, no other handwheels may be used and it must be connected as first handwheel. See "7.3 Movement with an electronic handwheel"...
  • Page 150 I n st a l l a t io n ma n u a l IPLANE (P11) Indicates which function: G17 (XY plane) or G18 (ZX plane) is assumed on power-up, after executing M02,M30, EMERGENCY or RESET. The code is: Value Meaning G17 (XY plane).
  • Page 151 I n s t a l l a t i o n m a n u a l on the jog keypad; on vertical lathes, the X axis keys are swapped with those of the Z axis and vice versa. Possible values Integer numbers between 0, 1, 2, 3.
  • Page 152 I n st a l l a t io n ma n u a l MAXFOVR (P18) Indicates the maximum value of the feedrate override % applicable to the programmed feedrate. Possible values Integer numbers between 0 and 255. Default value: 120 From the operator panel switch, it may be varied between 0% and 120% and from the PLC, DNC or by program between 0% and 255%.
  • Page 153 I n s t a l l a t i o n m a n u a l NTOOL (P23) Indicates the number of tools in the tool magazine. On the other hand, the CNC adjusts the length of the tool table to that value. Possible values Integer numbers between 0 and 255.
  • Page 154 I n st a l l a t io n ma n u a l If it is, the CNC will select, at the tool magazine, the tool indicated when executing the "T" function and it will be necessary to execute M06 afterwards in order to carry out the tool change. Value Meaning Yes, it is a machining center.
  • Page 155 I n s t a l l a t i o n m a n u a l NPCROSS (P31) Indicates the number of points available in the first cross compensation table. This compensation is used when the movement of one axis causes a position change on another axis.
  • Page 156 I n st a l l a t io n ma n u a l INT1SUB (P35) INT2SUB (P36) INT3SUB (P37) INT4SUB (P38) They indicate the number of the subroutine associated with the corresponding general logic input: "INT1" (M5024), "INT2" (M5025), "INT3" (M5026)", "INT4" (M5027). When one of these inputs is activated, the program currently being executed is interrupted and the CNC jumps to execute the associated subroutine whose number is indicated in the corresponding parameter.
  • Page 157 I n s t a l l a t i o n m a n u a l PRBMOVE (P46) Indicates the maximum distance the tool can travel when calibrating it with a probe in JOG mode. Possible values Between 0.0001 and 99999.9999 millimeters. Between 0.00001 and 3937.00787 inches.
  • Page 158 I n st a l l a t io n ma n u a l NPCROSS2 (P54) Indicates the number of points available in the second cross compensation table. This compensation is used when the movement of one axis causes a position change on another axis.
  • Page 159 I n s t a l l a t i o n m a n u a l MOVAXIS3 (P58) Used in the third cross compensation table, it indicates the axis causing position variations on another axis. The definition code is: Value Meaning Value...
  • Page 160 I n st a l l a t io n ma n u a l TRMULT (P62) TRPROG (P63) TRDERG (P64) MAXDEFLE (P65) MINDEFLE (P66) TRFBAKAL (P67) Not used. TIPDPLY (P68) Indicates whether the CNC displays the position of the tool tip or that of the tool base when working with tool length compensation.
  • Page 161 I n s t a l l a t i o n m a n u a l LOOPTIME (P72) It sets the sample period used by the CNC and, consequently, affects the block processing time. Value Meaning 4 ms period (standard). 1··6 Period in milliseconds.
  • Page 162 I n st a l l a t io n ma n u a l • At the beginning of the compensation, the tool should be positioned before penetrating into the part. The additional block must be executed in the upper plane and, consequently, together with the first block (COMPTYPE=00).
  • Page 163 I n s t a l l a t i o n m a n u a l The first movement programmed in the plane may be either linear or circular. Example of beginning of compensation (COMPTYPE=1x1) · · · (X0 Y0) ·...
  • Page 164 I n st a l l a t io n ma n u a l PLACOMP (P78) It is used on the lathe model to indicate whether there is tool compensation in all planes or just in the ZX plane. Value Meaning Only in the ZX plane.
  • Page 165 Default value: 0 (means 25) Example. Having a Fagor electronic handwheel (25 pulses per turn) we would like to move 1 mm per handwheel turn. Set the axis parameter for the feedback input of the electronic handwheel AXIS1 (P0) through AXIS7 (P6), to a value of 12 (Fagor 100P handwheel).
  • Page 166 I n st a l l a t io n ma n u a l Keyboard auto-identification Certain keyboard models have a auto-identification system. With this type of keyboards, this parameter is updated automatically; for the rest of the keyboards, this parameter must be set manually.
  • Page 167 I n s t a l l a t i o n m a n u a l Possible configuration at an 8055i CNC. XFORM (P93) Kinematics type. Value Meaning Without kinematics. Reserved. Orthogonal, spherical or oscillating spindle. Angular spindle. Rotary table.
  • Page 168 I n st a l l a t io n ma n u a l Swinging spindle. Orthogonal spindle. Spherical spindle. Angular spindle. XFORM = 2 XFORM = 2 XFORM = 2 XFORM = 3 AB table. AC table. BA table. BC table.
  • Page 169 I n s t a l l a t i o n m a n u a l Orthogonal or spherical spindle. XFORM = 2 XFORM = 2 XFORM = 2 XFORM = 2 XFORM1 = 0 XFORM1 = 1 XFORM1 = 2 XFORM1 = 3 Swinging spindle.
  • Page 170 I n st a l l a t io n ma n u a l XDATA0 (P96) XDATA1 (P97) XDATA2 (P98) XDATA3 (P99) XDATA4 (P100) XDATA5 (P101) XDATA6 (P102) XDATA7 (P103) XDATA8 (P104) XDATA9 (P105) These parameters are used to define the dimensions of the spindle. All of them need not be defined. The parameters to be defined for each model and their meanings are listed here below.
  • Page 171 I n s t a l l a t i o n m a n u a l CNC 8055 CNC 8055i : V02.2 ·171·...
  • Page 172 I n st a l l a t io n ma n u a l Definition of the kinematics of the angular spindle (XFORM = 3) XFORM1 (P94) It defines the axes of the kinematics and their order, indicating which is the main axis and which the secondary or dragged axis.
  • Page 173 I n s t a l l a t i o n m a n u a l Angular spindle. XFORM1 = 0 XFORM1 = 1 XFORM1 = 2 XFORM1 = 3 XFORM2 (P95) It defines the turning direction of the rotary axes. Value Meaning The one indicated by the DIN 66217 standard (see figure).
  • Page 174 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·174·...
  • Page 175 I n s t a l l a t i o n m a n u a l Definition of the kinematics of the angular spindle (XFORM = 4) XFORM1 (P94) Sets the spindle axes and their order. The rotary axes are called A, B or C depending on whether the rotation axis is X, Y or Z respectively. The turning direction of the axes may be changed with parameter "XFORM2".
  • Page 176 I n st a l l a t io n ma n u a l XFORM2 (P95) It defines the turning direction of the rotary axes. Value Meaning The one indicated by the DIN 66217 standard (see figure). It changes the turning direction of the main axis. It changes the turning direction of the secondary axis.
  • Page 177 I n s t a l l a t i o n m a n u a l XDATA0 (P96) XDATA1 (P97) XDATA2 (P98) XDATA3 (P99) XDATA4 (P100) XDATA5 (P101) XDATA6 (P102) XDATA7 (P103) XDATA8 (P104) XDATA9 (P105) These parameters are used to define the dimensions of the spindle. All of them need not be defined. XDATA2 Position of the secondary rotary axis or of the intersection between the primary and secondary axes along the X axis, referred to machine zero.
  • Page 178 I n st a l l a t io n ma n u a l PRODEL (P106) The CNC takes this parameter into account when probing, functions G75, G76 and Probe cycles PROBE, DIGIT. When the digital probe communicates with the CNC via infrared beams, there could be some delay (milliseconds) from the time the probe touches the part to the instant the CNC receives the probe signal.
  • Page 179 I n s t a l l a t i o n m a n u a l Each bit has a function or work mode associated with it. By default, all the bits will be assigned the value of ·0·. Assigning the value of ·1· activates the corresponding function. Meaning Meaning Threading in blind threads (for lathe...
  • Page 180 I n st a l l a t io n ma n u a l DIPLCOF (P110) This parameter indicates whether the CNC takes into consideration or not the additive zero offset when displaying the coordinates of the axes on the screen and when accessing the POS(X-C) and TPOS(X-C) variables.
  • Page 181 If set to "0" (by default), tool inspection will be carried out at the feedrate currently used for machining. DISTYPE (P118) Only to be used by Fagor Automation technical personnel. PROBERR (P119) Indicates whether the CNC issues an error message when the axes reach the programmed position without having received the probe signal while executing function G75 or G76.
  • Page 182 I n st a l l a t io n ma n u a l SERSPEED (P120) It sets the Sercos transmission speed. Regardless of the baudrate used, always respect the values recommended by SERPOWSE. Value Meaning 4 Mbit/s. 2 Mbit/s. 8 Mbit/s 16 Mbit/s Sercos test.
  • Page 183 I n s t a l l a t i o n m a n u a l LANGUAGE (P122) Defines the work language. Value Meaning Value Meaning English Czech Spanish Polish French Mainland Chinese Italian Basque German Russian Dutch Turkish Portuguese Korean...
  • Page 184 I n st a l l a t io n ma n u a l FOVRG75 (P126) It indicates whether function G75 ignores the feedrate override switch of the front panel or not. Value Meaning It ignores the setting of the switch. Always at 100%. It is affected by the % of the switch.
  • Page 185 I n s t a l l a t i o n m a n u a l Bit 14: Bit 14 activates the axis filters for movements with the handwheel. These filters will be activated only during general or individual movements with the handwheel. These filters are specifically for smoother movements with the handwheel.
  • Page 186 I n st a l l a t io n ma n u a l RETRACAC (P133) It indicates whether retracing is allowed or not Value Meaning It is not permitted. It is permitted. The withdrawal stops at the M functions. It is permitted.
  • Page 187 I n s t a l l a t i o n m a n u a l AXIS9 (P136) PAXIS9 (P137) AXIS10 (P138) PAXIS10 (P139) AXIS11 (P140) PAXIS11 (P141) AXIS12 (P142) PAXIS12 (P143) If a CNC is configured so that any of the feedback inputs of its axes or spindles is free (because they are digital axes or spindle without feedback connection to the CNC), these free connectors could be configured as electronic or mechanical handwheels.
  • Page 188 I n st a l l a t io n ma n u a l ACTBAKAN (P145) It is related to axis parameters BAKANOUT (P29) and BAKTIME (P30), additional analog command pulse to recover the possible leadscrew backlash when reversing the movement. This parameter has 16 bits counted from right to left.
  • Page 189 I n s t a l l a t i o n m a n u a l STPFILE (P146) It defines the number of the program where the oscilloscope configuration will be saved. This program will be saved in the hard disk (KeyCF). Possible values Integer numbers between 0 and 65535.
  • Page 190 I n st a l l a t io n ma n u a l The interface and the machining cycles are adapted for this type of configuration. Since not all the cycles are applicable to a two-and-a-half-axis configuration, it will be necessary to set parameters COCYZ, COCYF1 and COCYF5 to hide them.
  • Page 191 I n s t a l l a t i o n m a n u a l COCYZ (P155) 0000 0000 0100 0110 It hides the tapping, drilling 2 and drilling 3 cycles. COCYF5 (P152) 0000 0000 0000 0010 It hides the 3D profile pocket cycle.
  • Page 192 I n st a l l a t io n ma n u a l Meaning of the parameters in the TC work mode. COCYF1 COCYF2 Turning 1 Turning 2 (Bit 0) (Bit 1) COCYF3 Facing 1 Facing 2 (Bit 0) (Bit 1) COCYF4 Taper turning 1...
  • Page 193 1...11 Not used. It activates/deactivates the speed control in arcs with linear blocks in look-ahead. It makes it possible to use Fagor filters with Look-ahead (standard look-ahead algorithm and with jerk control). Activates/deactivates smoother machining. It activates/deactivates the advanced look-ahead algorithm (integrating Fagor filters).
  • Page 194 Bit 13. Use Fagor filters with look-ahead. Fagor filters always work with the advanced look-ahead algorithm, but they can also be used in the standard algorithms and with jerk control using this bit 13, in which case, only those Fagor filters will be used.
  • Page 195 I n s t a l l a t i o n m a n u a l With "CAXGAIN (P163) = 1" and high values of both gains, the machine could be jerky depending on the type of certain parts. When that happens, we recommend to select a gain set with very small values or zero.
  • Page 196 I n st a l l a t io n ma n u a l If the stop signal ([CYCLE STOP] key or PLC signal) is received while executing a subroutine, the CNC memorizes it until enabling the stop signal. In this situation, it does not finish the subroutine and it does not consider the T as done, which could cause irregularities at the tool magazine.
  • Page 197 I n s t a l l a t i o n m a n u a l PROBEDEF (P168) Defines the behavior of the probe. This parameter has 16 bits counted from right to left. bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Each bit has a function or work mode associated with it.
  • Page 198 I n st a l l a t io n ma n u a l ANGAXNA (P171) Cartesian axis associated with the incline axis. Value Meaning Value Meaning None. V axis. X axis. W axis. Y axis. A axis. Z axis. B axis.
  • Page 199 I n s t a l l a t i o n m a n u a l OFFANGAX (P174) Distance between machine zero and the origin of the coordinate system of the incline axis. Possible values Within ± 99999.9999 millimeters. Within ±3937.00787 inches.
  • Page 200 I n st a l l a t io n ma n u a l Each bit has a function or work mode associated with it. By default, all the bits will be assigned the value of ·0·. Assigning the value of ·1· activates the corresponding function. Meaning 0 - 9 Not used.
  • Page 201 I n s t a l l a t i o n m a n u a l ADIMPRES (P177) Resolution of the additive handwheel. Value Meaning 0.001 mm or 0.0001 inch. 0.01 mm or 0.001 inch. 0.1 mm or 0.01 inch. Default value: 0 These values are only applied when bit 12 of parameter ADIMPG has been set to ·1·.
  • Page 202 I n st a l l a t io n ma n u a l ISOSIMUL (P183) In the conversational mode of the CNC, it is possible to generate an ISO-coded program with some basic G functions as well as M and T functions from an operation (cycle) or on a part-program. This parameter identifies the number of the ISO program generated in user RAM memory.
  • Page 203 I n s t a l l a t i o n m a n u a l ACTGAINT (P185) The axes and the spindle can have 3 sets of gains and accelerations. By default, the CNC always assumes the first set indicated by the parameters of the axis or of the spindle ACCTIME, PROGAIN, DERGAIN and FFGAIN.
  • Page 204 I n st a l l a t io n ma n u a l RETRACTE (P186) Enables or disables the various retracting options for drilling or mill type threading. 0 Value: disabled 1 Value: enabled Meaning Enables / disables the threading withdrawal in the threading cycles (G86 and G87). Only for the lathe model.
  • Page 205 I n s t a l l a t i o n m a n u a l Blocks affected by the square-corner effect. If bit 0 of general parameter MANTFCON (P189) = 1, the CNC will not execute the following blocks in square-corner mode: •...
  • Page 206 I n st a l l a t io n ma n u a l LCOMPTYP (P191) It may be used to define whether to maintain or change the longitudinal axis when changing the work plane (G17, G18 or G19). This parameter has 16 bits counted from right to left.
  • Page 207 I n s t a l l a t i o n m a n u a l Axis parameters AXISTYPE (P0) It sets the type of axis and whether it is governed by the CNC or by the PLC. Value Meaning Normal linear axis.
  • Page 208 I n st a l l a t io n ma n u a l Example: If the X and U axes form a Gantry pair, the U axis being the slave axis, program as follows: Parameter GANTRY (P2) for the X axis = 0 Parameter GANTRY (P2) for U axis = 1 (associated with X axis) This way, When programming an X axis move, the U axis will also move the same distance.
  • Page 209 PITCH or NPULSES. Linear axis with a 5 mm pitch leadscrew. PITCH = 5 mm. Axis with a 20µm-pitch Fagor linear encoder PITCH = 0,020 mm. Rotary axis with a 1/10 gear ratio. PITCH = 36º.
  • Page 210 On an 8055 CNC with –Vpp Axes– module, the feedback connectors of the first 4 axes are for differential TTL and Vpp signals. This parameter is ignored for these four axes. Use Fagor signal adapter "SA-TTL-TTLD" (from "non-differential TTL" to "differential TTL") to connect non-differential signals to these connectors.
  • Page 211 I n s t a l l a t i o n m a n u a l FBACKAL (P11) This parameter is to be used only when the feedback signals are sinusoidal or differential (double ended). Indicates whether the feedback alarm for this axis will be ON or OFF. Value Meaning No feedback alarm desired, it is canceled.
  • Page 212 I n st a l l a t io n ma n u a l NPOINTS (P16) Indicates the number of leadscrew error compensation points available in the table. The values in this table will be applied if axis parameter "LSCRWCOM" (P15) is ON. Possible values Integer numbers between 0 and 1000.
  • Page 213 I n s t a l l a t i o n m a n u a l MAXFLWE2 (P22) Indicates the maximum following error allowed when this axis is stopped. Possible values Between 0 and 99999.9999 degrees or millimeters. Between 0 and 3937.00787 inches.
  • Page 214 I n st a l l a t io n ma n u a l The best adjustment is achieved when minimizing the following error as much as possible but without inverting the peaks. The peaks of the right graph are inverted. Bad adjustment. The graph on the left shows the system response without DERGAIN (10 m per square) and the one on the right with DERGAIN (1 m per square).
  • Page 215 I n s t a l l a t i o n m a n u a l The best adjustment is achieved when the following error is minimized as much as possible, but without changing its sign, maintaining the moving direction of the axis. The scale for the following error is 10m per square.
  • Page 216 I n st a l l a t io n ma n u a l SERVOFF (P28) Defines the velocity command offset value for the drive. Possible values It is given in D/A converter units and it admits integer values between 0 and ±32767 which corresponds to an analog command of 10V.
  • Page 217 I n s t a l l a t i o n m a n u a l REFPULSE (P32) It indicates the type of flank of the I0 signal that is used for home search. Value Meaning + sign Positive flank (leading edge);...
  • Page 218 I n st a l l a t io n ma n u a l MAXVOLT (P37) Defines the value of the velocity command corresponding to the maximum feedrate of the axis indicated by axis parameter G00FEED (P38). Possible values Integer numbers between 0 mV and 9999 mV.
  • Page 219 I n s t a l l a t i o n m a n u a l JOGFEED (P43) Indicates the feedrate F assumed in the JOG mode if no feedrate is active. Possible values Between 0.0001 and 199999.9999 degrees/min or mm/min. Between 0.00001 and 7874.01574 inches/min.
  • Page 220 I n st a l l a t io n ma n u a l ACFGAIN = NO ACFGAIN = YES REFSHIFT (P47) This parameter is used when once the machine has been all set up, it is necessary to reinstall the feedback system and the new machine reference point (home) no longer coincides physically with the previous one.
  • Page 221 I n s t a l l a t i o n m a n u a l STOPAOUT (P50) This parameter is used with function G52 (move to hardstop) and it indicates the residual velocity command supplied by the CNC to exert pressure once contact has been detected. Possible values It is given in D/A converter units and it admits integer values between 0 and 32767 which corresponds to an analog command of 10V.
  • Page 222 I n st a l l a t io n ma n u a l ABSOFF (P53) The CNC takes this parameter into account when axis parameter I0TYPE (P52) has been set with a value other than 0. Linear encoders having a distance-coded reference mark indicate the machine position with respect to the "zero"...
  • Page 223 Default value: 0 Example: E.g. Fagor linear encoder "FOT" has a graduation pitch of 100 µm and a feedback signal period of 20 µm. EXTMULT = 100 / 20 = 5 Values to be assigned for Fagor encoders with distance-coded I0.
  • Page 224 I n st a l l a t io n ma n u a l ACCTIME2 (P59) PROGAIN2 (P60) DERGAIN2 (P61) FFGAIN2 (P62) These parameters define the second set of gains and accelerations. They must be set like the parameters that define the first set. First set Second set ACCTIME (P18)
  • Page 225 I n s t a l l a t i o n m a n u a l POSINREF (P64) Usually when working with Sercos feedback, the motor-drive system has an absolute encoder. Thanks to this, the system knows at all times the relative position of the axis per each turn of the motor.
  • Page 226 I n st a l l a t io n ma n u a l SWINBACK (P66) This parameter indicates whether an additive coupling is being applied between axes or there are two axes controlled by a single servo system. When having 2 axes controlled by a single servo drive, machine parameter SWINBACK of the secondary axis indicates whether it has its own feedback device or it uses that of the main axis it is associated with.
  • Page 227 I n s t a l l a t i o n m a n u a l CNC 8055 CNC 8055i : V02.2 ·227·...
  • Page 228 I n st a l l a t io n ma n u a l The communication with the drive is done through Sercos, feedback included. X axis (main) SWINBACK of the X axis = 0. Z axis (secondary) SWINBACK of the Z axis = 1. The CNC internally switches the feedback it receives via Sercos and it supplies it to either axis depending on the status of the SWITCH2 mark.
  • Page 229 Signal period Number of waves between fixed I 20000/(20 x EXTMULT) = 1000 Number of waves between variable I 20020/(20 x EXTMULT) = 1001 Values to be assigned for Fagor encoders with distance-coded I0. I0CODI1 I0CODI2 EXTMULT Linear encoders (P68)
  • Page 230 CNC start-up with Fagor filters active. CNC 8055i If on CNC start-up, Fagor filters are active on any of the axes and axis parameter SMOTIME (P58) is other than 0 on the same axis, the CNC displays the following error message: •...
  • Page 231 The meaning of this parameter depends on the type of filter being applied. On "low passing" and "FAGOR" filters, it indicates the break point frequency or frequency where the amplitude drops 3 dB or it reaches 70% of the nominal amplitude.
  • Page 232 I n st a l l a t io n ma n u a l Calculation example for a particular response of the machine. SHARE=100(Ar-Ao)/Ao FLIMIT (P75) Maximum safety limit for the axis feedrate. This limit is activated from the PLC and is applied to all the work modes, including the PLC channel.
  • Page 233 I n s t a l l a t i o n m a n u a l This parameter is used in the following cases: • To identify the marks of the slave axis DRENA, SPENA, DRSTAF and DRSTAS. To refer to these marks, it is recommended to use as indexes the name of the axis (DRENAX, SPENAZ, etc.).
  • Page 234 I n st a l l a t io n ma n u a l   Preload – error master slave  Speed error Possible values Between 0 and 100%. Default value: 0 (no proportional gain is applied). Sample A Tandem axis has a maximum speed of 2000 rpm and a rated torque of 20 Nm.
  • Page 235 I n s t a l l a t i o n m a n u a l TCOMPLIM (P83) This parameter limits the maximum compensation applied by the Tandem axis. This limit is also applied to the integral. This parameter refers to the master axis. It is defined as percentage of the maximum speed of the master motor.
  • Page 236 I n st a l l a t io n ma n u a l INPREV (P87) OUTPREV (P88) Parameters that indicate the input revolutions (INPREV) and the output revolutions OUTPREV) of each axis. These parameters are used to deal with gear ratios on the axis. The default value for both parameters is 0.
  • Page 237 I n s t a l l a t i o n m a n u a l DRISET (P91) It defines from which set of the drive will the following drive parameters be read: • NP 121: Input rpm. •...
  • Page 238 I n st a l l a t io n ma n u a l additional velocity command is eliminated (peak compensation cutoff) depending on the values of the following parameters: General parameter BAKTIME (P30), general parameter ACTBAKAN (P145) and axis parameter PEAKDISP (P98).
  • Page 239 I n s t a l l a t i o n m a n u a l REVEHYST (P99) This parameter is used to be able to control when the compensation should really be applied after detecting a movement reversal and not applying it every time a reversal command is received. This axis parameter should be set with the value that the position must vary after the first movement reversal (hysteresis) so it is considered that the command to compensate has been issued, hence prevent it from issuing the compensations every time it receives the command to reverse the moving...
  • Page 240 I n st a l l a t io n ma n u a l If the feedback difference exceeds the value set in axis parameter FBACKDIF (P100) the CNC will issue the corresponding error message. MAXDIFAB (P101) This parameter sets the maximum feedback difference between that of the CNC and the one indicated by the absolute encoder on power-up.
  • Page 241 I n s t a l l a t i o n m a n u a l The value of this parameter is updated with a reset. A low value of machine axis parameter DYNDEFRQ (P103) can cause too much movement of the axis issuing the following error message: Too much following error (axis lag).
  • Page 242: Spindle Parameters

    I n st a l l a t io n ma n u a l Spindle parameters This CNC can control the main spindle, a second spindle and an auxiliary spindle They all have their own setup parameters. The main and secondary spindle have identical parameter tables. In order to synchronize the main and secondary spindles, they both must have a feedback device, their spindle parameter M19TYPE (P43) must be set to "1"...
  • Page 243: Machine Parameters For The Main And 2Nd Spindles

    I n s t a l l a t i o n m a n u a l 6.5.1 Machine parameters for the main and 2nd spindles SPDLTYPE (P0) Indicates the type of spindle output being used. Value Meaning ±10 V analog output. 2-digit BCD coded "S"...
  • Page 244 I n st a l l a t io n ma n u a l POLARM3 (P7) POLARM4 (P8) Indicates the sign of the spindle velocity command for M03 and M04. Value Meaning + sign Positive command. - sign Negative command. Default value: For POLARM3 (P7) = + sign.
  • Page 245 I n s t a l l a t i o n m a n u a l When using a CAN servo system, if parameter NPULSES and parameters INPREV and OUTPREV of all the gears are set with a ·0· value, the CNC will assume the equivalent ones of the drive. DIFFBACK (P14) Indicates whether the feedback device uses differential signals (double ended) or not.
  • Page 246 I n st a l l a t io n ma n u a l INPOTIME (P20) Indicates the time period that the spindle must remain in the "IN POSITION" zone in order to consider it to be in position. This prevents the CNC from considering the spindle to be in position and executing the next block on those machines where the spindle could just overshoot the "IN POSITION"...
  • Page 247 I n s t a l l a t i o n m a n u a l Command  DERGAIN     PROGAIN  ---------------------------------- -   10 t  It is a good idea to also use the acc./dec. axis parameter ACCTIME2 (P18) for this axis (with a value other than "0") if this gain is to be applied.
  • Page 248 I n st a l l a t io n ma n u a l The scale for the following error is 10m per square. • Proper adjustment with Feed-forward. • Wrong adjustment with Feed-forward. LOOPCHG (P26) Indicates the sign of the velocity command. If correct, leave it as is, but to change it, select YES if it was set to NO and viceversa.
  • Page 249 I n s t a l l a t i o n m a n u a l SERVOFF Command -32767 -10 V. - - - - - - -3277 -1 V. - - - - - - 0.3 mV. - - - - - - 3277...
  • Page 250 I n st a l l a t io n ma n u a l REFEED2 (P35) Indicates the synchronizing speed of the spindle after hitting the home switch and until it finds the marker pulse. Possible values Between 0.0001 degrees/min and 99999.9999 degrees/min. Default value: 360 degrees/min.
  • Page 251 I n s t a l l a t i o n m a n u a l ACFGAIN = NO ACFGAIN = YES M19TYPE (P43) This parameter sets the type of spindle orient (M19) available. It indicates whether the spindle must be homed when switching from open to closed loop or it is enough to home it once on power-up.
  • Page 252 I n st a l l a t io n ma n u a l SMOTIME (P46) Sometimes the axis does not respond as desired on particular movements. Movements with handwheel or when the CNC internally transforms the programmed coordinates (C axis, etc.). In these cases, the response of the spindle may be smoothed by applying a filter to the speed changes.
  • Page 253 I n s t a l l a t i o n m a n u a l DRIBUSLE (P51) The CNC considers this parameter when using a digital drive (Sercos or CAN). Spindle parameter DRIBUSID (P44) other than 0. Even when the data exchange between the CNC and the drive is done via digital bus (Sercos or CAN), one must define whether the feedback is also handled via bus or through the corresponding connector for the axis or spindle.
  • Page 254 I n st a l l a t io n ma n u a l SYNPOSOF (P53) When both spindles are synchronized in position, the second spindle must follow the main spindle maintaining the offset set by function G30. The parameter of the main spindle sets the maximum error allowed. If this value is exceeded, no error message is displayed and the movement is not stopped.
  • Page 255 I n s t a l l a t i o n m a n u a l ACCTIME4 (P59). Parameter ACCTIME4 is set like ACCTIME3. Possible values Integers between 0 and 65535 ms. Default value: 8000. SECACESP (P60) Parameter SECACESP (P60) indicates at what speed the acceleration change takes place. If P60=0, it always applies ACCTIME3.
  • Page 256 I n st a l l a t io n ma n u a l CONCLOOP (P62) It indicates whether the spindle operates in closed positioning loop (as if it were an axis) or not. Value Meaning It operates in open loop. It operates in closed position loop (as if it were an axis).
  • Page 257 When detecting that the FAGOR filter order is too high for the filter configuration (according to parameters FREQUEN and LOOPTIME), on power-up it will issue the message: "It is recommended to lower the order of the frequency filter".
  • Page 258 FREQUEN CNC start-up with Fagor filters active. If on CNC start-up, Fagor filters are active on any of the axes and axis parameter SMOTIME (P58) is other than 0 on the same axis, the CNC displays the following error message: •...
  • Page 259 I n s t a l l a t i o n m a n u a l This parameter is only taken into account for the "anti-resonance (notch)" filter type. Possible values between 0 and 100.0 Default value: 1 0,707·Ao (-3dB) FREQUEN It is calculated with the following formula.
  • Page 260 I n st a l l a t io n ma n u a l INPREV1 (P72) OUTPREV1 (P73) INPREV2 (P74) OUTPREV2 (P75) INPREV3 (P76) OUTPREV3 (P77) INPREV4 (P78) OUTPREV4 (P79) When using a CAN servo system (only with DRIBUSLE = 0), these parameters set the gear ratios in each range.
  • Page 261 I n s t a l l a t i o n m a n u a l THREAOVR (P85) When beginning to machine long threads on large lathes, the part usually "bends". To prevent this, it is possible to change the spindle override in the first passes. This parameter affects canned cycles G86 and G87 while machining the thread.
  • Page 262 I n st a l l a t io n ma n u a l SPDLSTOP (P87) Using this spindle machine parameter, it is possible not to stop the spindle with an M30 or a RESET. Value Meaning The spindle stops with M2, M30 or RESET. The spindle does not stop with M2, M30 or RESET.
  • Page 263: Machine Parameters For Auxiliary Spindle

    I n s t a l l a t i o n m a n u a l 6.5.2 Machine parameters for auxiliary spindle MAXSPEED (P0) Indicates the maximum speed of the auxiliary spindle. Possible values Values with 3 decimals between 0.000 and 200000.000 rpm. Default value: 1000 rpm.
  • Page 264 I n st a l l a t io n ma n u a l MAXVOLT (P4) Indicates the velocity command corresponding to the maximum speed defined by spindle parameter MAXSPEED (P0). Possible values Integer numbers between 0 mV and 9999 mV. Default value: 9500 (9.5 V) DRIBUSID (P5) It indicates the address of the digital drive (Sercos or CAN) associated with the auxiliary spindle.
  • Page 265: Drive Parameters

    In other words, the position of the Sercos switch. The main window shows the variables or CNC 8055i parameters of the selected group and set indicating their Fagor name in each variable, its value, its meaning and its Sercos identifier. If the variable does not have a write permission, a key will appear before the Fagor name.
  • Page 266 • The ACCESS window shows the permitted access level. There are 3 levels of access for the drive: basic level, OEM level (manufacturer) and Fagor level. To change the level, press the [Password] softkey, key in the relevant code and press [ENTER].
  • Page 267 I n s t a l l a t i o n m a n u a l Press the [Modify Option] softkey to change it and [ENTER] to validate it. This option is common to all the axes. CNC 8055 CNC 8055i : V02.2 ·267·...
  • Page 268: Friction Compensation

    I n st a l l a t io n ma n u a l 6.6.1 Friction compensation From version V3.14 on, the drive offers parameters TP10, TP11, TP12, TP13, TP14 and TV4 for friction compensation. Refer to the drive manual. It also has 2 more general purpose variables: XV10 and XV11 (ID SERCOS 34800 and 34801).
  • Page 269: Serial Line Parameters

    I n s t a l l a t i o n m a n u a l Serial line parameters BAUDRATE (P0) Indicates the communication speed, in baud, between the CNC and the peripherals. It is given in baud and it is selected with the following code: Value Meaning Value...
  • Page 270 Indicates the type of communications protocol to be used. Value Meaning Communications protocol for general device. DNC communications protocol. Communications protocol for Fagor floppy disk unit. Open communication. Default value: 1 (DNC) PWONDNC (P5) Indicates whether the DNC feature will be active on power-up or not.
  • Page 271 I n s t a l l a t i o n m a n u a l EOFCHR (P9) Indicates the character used to indicate "end of text" (end of file) when communicating with a general peripheral device. Value Meaning EOT.
  • Page 272: Ethernet Parameters

    I n st a l l a t io n ma n u a l Ethernet parameters These parameters may be used to configure the CNC like any other node in the network, the DNC for Ethernet, the remote hard disk and the Ethernet network. Doing that requires the Ethernet option. Parameters Configuration Basic configuration:...
  • Page 273 I n s t a l l a t i o n m a n u a l DNCEACT (P22) DNC number to be used by Ethernet. Value Meaning There is no active DNC associated with Ethernet. DNC 1 associated with Ethernet. DNC 2 associated with Ethernet.
  • Page 274 I n st a l l a t io n ma n u a l IPSNFS (P28) IP address of the server acting as remote hard disk. If other than 0, the remote hard disk is activated. This means that the local hard disk, if there is any, is disabled and can no longer be accessed.
  • Page 275 I n s t a l l a t i o n m a n u a l • Editing the file "c:\windows\hosts". This file may be modified with any text editor. In the file, add a line containing the CNC'S IP address and the name to identify it with. For example: 10.0.7.40 CNC_1...
  • Page 276 I n st a l l a t io n ma n u a l Use the "save password" option with caution. Bear in mind that if you save the password, it will not be requested for the connection and, therefore, anybody is free to access the CNC from the PC. CNC 8055 CNC 8055i : V02.2...
  • Page 277: Plc Parameters

    I n s t a l l a t i o n m a n u a l PLC Parameters WDGPRG (P0) Indicates the Watchdog time-out period for the main PLC program. Possible values Integers between 0 and 65535 ms. Default value: 0 WDGPER (P1) Indicates the Watch-Dog time-out period for the periodic module of the PLC.
  • Page 278 I n st a l l a t io n ma n u a l The Status window of the PLC statistics screen indicates the time the system CPU dedicates to the PLC. Refer to the operating manual. Same as with sinewave feedback, number of axes and the user channel active, the PLC demands calculation time from the system CPU.
  • Page 279 250 kbit/s. From 100 to 500 meters. 125 kbit/s. From 500 to 1000 meters. Default value: 2 (500 kbit/s) Fagor modules that do not have a baudrate selector can only work at 500 Kbit/s. IOCAGEN (P89) Not used. IOCANID1 (P90)
  • Page 280 They are used to set the remote modules. They indicate the number of analog inputs of each of the 4 remote modules; a CAN node number identifies each one in the system. Its value will be 4 if it is a Fagor remote module. ·280·...
  • Page 281 They are used to set the remote modules. They indicate the number of analog outputs of each of the 4 remote modules; a CAN node number identifies each one in the system. Its value will be 4 if it is a Fagor remote module. PT100_1 (P112)
  • Page 282 I n st a l l a t io n ma n u a l IANA5V (P130) On an 8055 CNC with –Vpp Axes– module, this parameter indicates the range to be used in each differential analog input of the module's connector X7. A range of ±5 V or ±10 V may be assigned for each analog input.
  • Page 283 I n s t a l l a t i o n m a n u a l Expansion modules numbering examples It is a system made up of an axes board with 40I/24O and two expansion modules with 64I/32O available in each one of them.
  • Page 284 I n st a l l a t io n ma n u a l Expansion modules and remote modules numbering examples. Let's suppose a system made up of an axes board with 40I/24O and two expansion modules with 64I/32O available in each one of them and the following remote modules. Remote module in node 1, with 48 inputs and 32 outputs.
  • Page 285: Tables

    I n s t a l l a t i o n m a n u a l 6.10 Tables 6.10.1 Miscellaneous (M) function table The number of M functions in this table is determined by the general parameter NMISCFUN (P29), being possible to define up to 255 M functions.
  • Page 286 I n st a l l a t io n ma n u a l bit 2 Indicates whether the M function interrupts the block preparation or not. Value Meaning It does NOT interrupt the block preparation. It interrupts the block preparation. bit 3 Indicates whether the M function is executed or not after the associated subroutine is executed.
  • Page 287: Leadscrew Error Compensation Table

    I n s t a l l a t i o n m a n u a l 6.10.2 Leadscrew error compensation table The CNC provides a table for each one of the axes requiring leadscrew compensation. The CNC will provide a table for each one of the axes having leadscrew compensation. This type of compensation is selected by setting axis parameter LSCRWCOM (P15).
  • Page 288 I n st a l l a t io n ma n u a l Considerations and limitations. When defining the profile points in the table, the following requirements must be met: • The axis points must be in sequential order starting from the most negative (least positive) point to be compensated.
  • Page 289: Cross Compensation Parameter Table

    I n s t a l l a t i o n m a n u a l 6.10.3 Cross compensation parameter table Up to 3 cross compensation tables may be used. To enable each one, set general parameters: MOVAXIS (P32) COMPAXIS (P33) NPCROSS (P31) MOVAXIS2 (P55)
  • Page 290 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·290·...
  • Page 291: Axes And Coordinate Systems

    CONCEPTS It is recommended to save the machine parameters as well as the PLC program and files into the hard disk (KeyCF) or in a peripheral or PC to avoid losing them. 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.
  • Page 292 I n st a l l a t io n ma n u a l The figure below shows an example of the nomenclature of the axes on a milling-profiling machine with a tilted table. 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.
  • Page 293 I n s t a l l a t i o n m a n u a l Example of lathe The machine has two regular linear axes: X and Z, a "C" axis, an analog spindle (S) and an auxiliary spindle (live tool).
  • Page 294: Rotary Axes

    I n st a l l a t io n ma n u a l 7.1.1 Rotary axes With this CNC, it is possible to select the type of rotary axis by means of axis parameter AXISTYPE(P0). Normal rotary axis AXISTYPE (P0) = 2 Positioning-only rotary axis AXISTYPE (P0) = 3...
  • Page 295 I n s t a l l a t i o n m a n u a l Positioning-only rotary axis It cannot interpolate with linear axes. Movement always in G00, and they do not admit tool radius compensation (G41, G42). •...
  • Page 296: Gantry Axes

    I n st a l l a t io n ma n u a l 7.1.2 Gantry axes Gantry axes are any two axes that, due to the way the machine is built, must move together in synchronism. For example: bridge type mills. Only the movements of one of those axes must be programmed and it is called the main or master axis.
  • Page 297: Slaved Axes And Synchronized Axes

    I n s t a l l a t i o n m a n u a l 7.1.3 Slaved axes and synchronized axes Coupled or synchronized axes are two or more axes which are normally independent, but, sometimes need to be moved at the same time and in synchronism (temporarily slaved, versus permanently as by machine parameter).
  • Page 298: Incline Axis

    I n st a l l a t io n ma n u a l 7.1.4 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. On certain machines, the axes are configured in a Cartesian way, they are not perpendicular to each other.
  • Page 299 I n s t a l l a t i o n m a n u a l Programming and movements Coordinates display If the incline axis is active, the coordinates displayed will be those of the Cartesian system; otherwise, it will display the coordinates of the real axes.
  • Page 300: Tandem Axes

    I n st a l l a t io n ma n u a l 7.1.5 Tandem axes A tandem axis consists in two motors coupled to each other mechanically making up a single transmission system (axis). It is normally used to move the axes on large machines. The CNC only displays one axis (referred to as master axis) whose movements are programmed.
  • Page 301 I n s t a l l a t i o n m a n u a l Configuration of the tandem axis When configuring a tandem axis, bear in mind the following requirements. • Each master tandem axis admits one single slave tandem axis. •...
  • Page 302 I n st a l l a t io n ma n u a l Block diagrams The block diagram of the tandem control system shows the master tandem axis with its slave tandem axis. The block diagram for a Gantry machine consists of the same two diagrams as the one shown in the figure.
  • Page 303 I n s t a l l a t i o n m a n u a l Tandem axis control. The block diagram for the application to control the tandem axis is: Tandem master motor torque. Is the percentage (%) of rated torque reflected by the Sercos variable TV2 of the drive that governs the master axis of the tandem.
  • Page 304 I n st a l l a t io n ma n u a l It is recommended to begin the process with low jerk values (lower than 10 m/sec3) and low Kv. They can always be increased in a later readjustment. Steps for the adjustment Move both axes independently.
  • Page 305 I n s t a l l a t i o n m a n u a l Readjust the velocity loop in both motors with the method used normally. While changing the parameters of the velocity loop, the proper thing would be to change them on both drives at the same time.
  • Page 306: Relationship Between The Axes And The Jog Keys

    I n st a l l a t io n ma n u a l 7.2.1 Relationship between the axes and the JOG keys The mill model CNC has 5 pairs of JOG keys and the lathe model has 4 pairs of keys to jog the axes of the machine.
  • Page 307: Path-Jog Mode

    I n s t a l l a t i o n m a n u a l 7.2.2 Path-jog mode This mode may be used to act upon the jog keys of an axis to move both axes of the plane at the same time for chamfering (straight sections) and rounding (curved sections).
  • Page 308 I n st a l l a t io n ma n u a l Considerations about the jog movements This mode assumes as axis feedrate the one selected in jog mode and it will also be affected by the feedrate override switch. If F0 is selected, it assumes the one indicated by machine parameter "JOGFEED (P43)".
  • Page 309: Movement With An Electronic Handwheel

    I n s t a l l a t i o n m a n u a l Movement with an electronic handwheel Depending on their configuration, the available handwheels are: • General handwheel. It can be used to jog any axis one by one. Select the axis and turn the handwheel to move it.
  • Page 310: Standard Handwheel

    Press one of the JOG keys of the axis to be jogged. The selected axis will be highlighted. When using a Fagor handwheel with an axis selector button, the axis may be selected as follows:  Push the button on the back of the handwheel. The CNC select the first axis and it highlights it.
  • Page 311: Path Handwheel

    I n s t a l l a t i o n m a n u a l 7.3.2 Path handwheel With this feature, it is possible to jog two axes at the same time along a linear path (chamfer) or circular path (rounding) with a single handwheel.
  • Page 312: Feed Handwheel Mode

    I n st a l l a t io n ma n u a l 7.3.3 Feed handwheel mode Usually, when making a part for the first time, the machine feedrate is controlled by means of the feedrate override switch. From this version on, it is also possible to use the machine handwheels to control that feedrate.
  • Page 313: Additive Handwheel" Mode

    I n s t a l l a t i o n m a n u a l 7.3.4 "Additive handwheel" mode With manual intervention or additive handwheel, it is possible to move the axes manually while a program is being executed. To do this, once this option is activated, use the handwheel to make a movement to be added to the one resulting from the automatic execution.
  • Page 314 I n st a l l a t io n ma n u a l Configuring the additive handwheel When enabling the additive handwheel, the following must be borne in mind. • If the DWELL parameter of an axis has been set and it is not previously in motion, it activates the ENABLE mark of the axis and waits a time period indicated in DWELL to check whether its SERVOON has been activated or not.
  • Page 315: Feedback Systems

    I n s t a l l a t i o n m a n u a l Feedback systems The various feedback inputs available at the CNC admit sinusoidal and squarewave differential signals from feedback systems. The following axis machine parameters indicate the type of feedback system and the resolution used for each axis.
  • Page 316: Counting Speed Limitation

    (distance per pulse) in use, whereas on rotary encoders it will depend on the number of pulses per revolution. Example 1 When using a Fagor linear encoder, the signal pitch is 20 µm. Therefore, with a counting resolution of 1 µm, the maximum feedrate will be: 8055 20 µm/pulse x 50,000 pulses/s.
  • Page 317: Resolution

    PITCH (P7) Defines the pitch of the ballscrew or the linear encoder being used. When using a Fagor linear encoder, this parameter must be set with the pitch value of the feedback signals (20 µm or 100 µm).
  • Page 318 4 times the desired resolution. FAGOR linear encoders use a grading pitch of either 20 µm or 100 µm. Therefore, the resolution that can be obtained with them are: 5 µm (20/4) or 25 µm (100/4).
  • Page 319 Max. Feed = 20 µm/pulse x 250.000 pulses/s. Max. feedrate = 5,000 mm/s = 300 m/min. When using Fagor linear encoders, the maximum feedrate is limited by their own characteristics to 60 m/min. Example 5: Resolution in "inches"...
  • Page 320 PITCH=36.0000 NPULSES = 18000 SINMAGNI=0 Allthough the CNC accepts a maximum squarewave frequency of 400 kHz, when using Fagor squarewave rotary encoders their output frequency is limited to 200 kHz; thus, the maximum possible feedrate (F) will be: Max. Feed = 200,000 pulses/s. / 18,000 pulses/turn) Max.
  • Page 321: Axis Setting

    I n s t a l l a t i o n m a n u a l Axis setting In order to be able to set the axes, their corresponding feedback devices must be previously connected to the CNC. Before making this adjustment, position the axes near the middle of their travel and place the hard stops (monitored by the electrical cabinet) near these mid-travel points in order to prevent any possible damage to the machine.
  • Page 322: Drive Adjustment

    I n st a l l a t io n ma n u a l 7.5.1 Drive adjustment Offset (drift) adjustment This adjustment is made on one axis at a time: • Select the JOG mode at the CNC and press the softkey sequence: [Display] [Following error]. The CNC shows the current following Error (axis lag) of the axes.
  • Page 323: Gain Setting

    I n s t a l l a t i o n m a n u a l 7.5.2 Gain setting The various types of gains must be adjusted for each axis in order to optimize the system's performance for the programmed movements. An oscilloscope is highly recommended to make this critical adjustment by monitoring the tacho signals.
  • Page 324: Proportional Gain Setting

    I n st a l l a t io n ma n u a l 7.5.3 Proportional gain setting In a "pure" proportional position loop, the velocity command of the CNC to control an axis is, at all times, proportional to the following error (axis lag) which is the difference between its theoretical and actual (real) position.
  • Page 325: Feed-Forward Gain Setting

    I n s t a l l a t i o n m a n u a l 7.5.4 Feed-forward gain setting With the feed-forward gain, it is possible to reduce the following error without increasing the gain, thus keeping the system stable. It sets the percentage of velocity command due to the programmed feedrate;...
  • Page 326: Derivative (Ac-Forward) Gain Setting

    I n st a l l a t io n ma n u a l 7.5.5 Derivative (AC-forward) gain setting With the derivative gain, it is possible to reduce the following error during the acc./dec. stages. Its value is given by axis parameter DERGAIN (P24). When this additional velocity command is due to fluctuations of following error, "ACFGAIN"...
  • Page 327: Leadscrew Backlash Compensation

    I n s t a l l a t i o n m a n u a l 7.5.6 Leadscrew backlash compensation. On this CNC, the leadscrew backlash may be compensated for when reversing the direction of movement. Leadscrew backlash is defined with axis parameter BACKLASH (P14). Sometimes, an additional velocity command pulse may also be needed to recover the possible backlash when reversing the axis movement.
  • Page 328: Leadscrew Error Compensation

    I n st a l l a t io n ma n u a l 7.5.7 Leadscrew error compensation The CNC provides a table for each one of the axes requiring leadscrew compensation. It is possible to define different compensation values for each moving direction. This type of compensation is activated by setting axis parameter LSCRWCOM (P15)=ON for the desired axis.
  • Page 329 I n s t a l l a t i o n m a n u a l Set axis parameters LSCRWCOM (P15) = ON and NPOINTS (P16) = 7 Considering that the Machine Reference Point (physical location of the marker pulse) is located 30 mm from HOME (machine reference zero), at X30.
  • Page 330: Circle Geometry Test

    I n st a l l a t io n ma n u a l 7.5.8 Circle geometry test This adjustment improves the axis reversal peaks. It consists in machining a circle (without compensation) and verifying it on the graph displayed at the CNC. The following example shows a program that machines repetitive circles.
  • Page 331 I n s t a l l a t i o n m a n u a l CONTINUOUS It deletes the current graph and draws, over the theoretical circle, a series of circles with the machining error enlarged according to the defined scale until the STOP softkey or ESC key is pressed.
  • Page 332: Reference Systems

    I n st a l l a t io n ma n u a l Reference systems A CNC machine needs the following origin and reference points defined : Machine zero Machine’s origin point. This is set by the manufacturer as the origin of the coordinate system of the machine.
  • Page 333: Machine Reference (Home) Search

    I n s t a l l a t i o n m a n u a l 7.6.1 Machine reference (home) search With this CNC, home search may be performed in jog mode or by program. Home search may be carried out on one axis at a time or on several axes at the same time.
  • Page 334 I n st a l l a t io n ma n u a l Home search on SERCOS axes using absolute feedback If the first feedback is absolute (position feedback obtained from the absolute encoder of the motor), the CNC knows the axis position at all times. This allows the CNC to do a home search without having to use the travel limit switches and home switches.
  • Page 335 I n s t a l l a t i o n m a n u a l Gantry axes Home search on Gantry axes may be carried out in JOG mode or by program. It will be carried out as follows: •...
  • Page 336 I n st a l l a t io n ma n u a l Gantry axes. Managing two home switches Managing two home switches is only possible if axis machine parameter I0TYPE (P52) =3. If both the master and the slave axes have a home switch (axis parameter DECINPUT (P31) of the master and slave are YES), the home search will be carried out as follows: The CNC starts the movements of both axes in the direction indicated by axis parameter REFDIREC (P33) of the main axis.
  • Page 337: Setting On Systems Without Distance-Coded Feedback

    I n s t a l l a t i o n m a n u a l 7.6.2 Setting on systems without distance-coded feedback Machine reference point The reference point must be adjusted on one axis at a time. The following procedure is recommended: •...
  • Page 338 REFEED2 (P35) until the first marker pulse from the current position is found, thus ending the home search. FAGOR linear encoders (scales) provide a negative marker (reference) pulse Io every 50 mm (about 2 inches) and the FAGOR rotary encoders provide one positive reference pulse per revolution.
  • Page 339: Setting On Systems With Distance-Coded Feedback

    If while homing, the home switch is pressed, the axis will reverse its movement and it will keep searching home in the opposite direction. Distance-coded Fagor linear encoders have negative coded marker pulses (Io). CNC 8055 Do not mistake the type of pulse provided by the feedback system with the value to be assigned to axis parameter REFPULSE (P32).
  • Page 340: Axis Travel Limits (Software Limits)

    I n st a l l a t io n ma n u a l 7.6.4 Axis travel limits (software limits) Once all the axes have been referenced, their software limits must be measured and set. This operation must be carried out one axis at a time and it could be done as follows: •...
  • Page 341: Unidirectional Approach

    I n s t a l l a t i o n m a n u a l Unidirectional approach The FAGOR 8055 CNC provides a number of machine parameters to help improve repeatability when positioning the axes in rapid (G00) by always approachingg the end point in the same direction.
  • Page 342: Auxiliary M, S, T Function Transfer

    I n st a l l a t io n ma n u a l Auxiliary M, S, T function transfer Every time a block is executed in the CNC, information is passed to the PLC about the M, S, and T functions which are active.
  • Page 343 I n s t a l l a t i o n m a n u a l It sends out to the PLC the 3 M functions programmed to be executed after the move. It sets logic outputs "MBCD1=61", "MBCD2=62", "MBCD3=63" and it activates the general logic output "MSTROBE to "tell"...
  • Page 344: Transferring M, S, T Using The Auxend Signal

    I n st a l l a t io n ma n u a l 7.8.1 Transferring M, S, T using the AUXEND signal Once the block has been analyzed and after sending the corresponding values in the "MBCD1- 7", "SBCD", "TBCD" and "T2BCD" variables, the CNC will tell the PLC by means of the general logic outputs "MSTROBE", "SSTROBE", "TSTROBE"...
  • Page 345: Transferring The Auxiliary (Miscellaneous) M Functions Without The Auxend Signal

    I n s t a l l a t i o n m a n u a l 7.8.2 Transferring the auxiliary (miscellaneous) M functions without the AUXEND signal Once the block has been analyzed and after passing the corresponding values in variables "MBCD1-7", the CNC will tell the PLC through the general logic output "MSTROBE"...
  • Page 346: Main And Second Spindle

    I n st a l l a t io n ma n u a l Main and second spindle This CNC can handle 2 spindles: a main spindle and a second spindle. 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 347 I n s t a l l a t i o n m a n u a l Work plane selection Use function G16 to select the work plane. See programming manual. Sample Machining canned cycles When working in a plane other than the ZX, for example: G16 WX, the CNC interprets the canned cycle parameters as follows: •...
  • Page 348: Spindle Types

    I n st a l l a t io n ma n u a l 7.9.1 Spindle types The setting of spindle parameter SPDLTYPE (P0) allows the following possibilities: SPDLTYPE = 0 Spindle analog command output.. SPDLTYPE = 1, 2-digit BCD coded spindle command output S. SPDLTYPE = 2, 8-digit BCD coded spindle command output S.
  • Page 349: Spindle Speed (S) Control

    I n s t a l l a t i o n m a n u a l 7.9.2 Spindle speed (S) control BCD output When using BCD (2 or 8 digits) coded command output, the spindle will operate in open loop and it will be controlled by means of functions M3, M4 and M5.
  • Page 350 I n st a l l a t io n ma n u a l If S output in 8-digit BCD is used the CNC will indicate the programmed spindle speed to the PLC by means of this register. This value will be coded in BCD format (8 digits) in thousandths of a revolution per minute.
  • Page 351: Spindle Gear Change

    I n s t a l l a t i o n m a n u a l 7.9.3 Spindle gear change With this CNC, the machine can use a gear box for adjusting the best spindle speed and torque for the particular machining needs at any time.
  • Page 352 I n st a l l a t io n ma n u a l When requiring spindle oscillation control during a gear change, follow these steps: Indicate, from the PLC, at CNC logic input "SANALOG" (R504) the value of the residual S command to be applied to the spindle drive.
  • Page 353: Spindle In Closed Loop

    I n s t a l l a t i o n m a n u a l 7.9.4 Spindle in closed loop One of the following conditions must be met in order for the spindle to operate in closed loop by means of "spindle orientation (M19)": •...
  • Page 354 I n st a l l a t io n ma n u a l When managing the DECELS input from a CAN remote input, use the commands IREMRD, OREMWR and MWR inside the periodic cycle to obtain proper synchronism. PE ** IREMRD NOT I200= DECELS...
  • Page 355 I n s t a l l a t i o n m a n u a l Feed-forward gain It sets the percentage of velocity command due to the programmed feedrate. To use it, acc/dec must be active spindle parameter ACCTIME (P18). It is defined with spindle parameter FFGAIN (P25).
  • Page 356 I n st a l l a t io n ma n u a l This gain is only to be used when operating with acceleration/deceleration control. For example, if spindle parameter FFGAIN (P25) has been set to "80", the spindle velocity command will be: •...
  • Page 357 I n s t a l l a t i o n m a n u a l When it is due to variations of the programmed feedrate, "ACFGAIN" (P42) = YES, it is called AC- forward gain" since it is due to acc./dec. Best results are usually obtained when using it as AC-forward Gain, "ACFGAIN"...
  • Page 358 Fagor rotary encoders provide one positive reference pulse per revolution. Do not mistake the type of pulse provided by the feedback system with the value to be assigned to spindle parameter REFPULSE (P32).
  • Page 359: Auxiliary Spindle Controlled By Plc

    I n s t a l l a t i o n m a n u a l 7.10 Auxiliary spindle controlled by PLC With this feature, the PLC can temporarily control the auxiliary spindle. To do that, follow these steps: Indicate from the PLC at the logic CNC input "SANALOAS"...
  • Page 360: Treatment Of Emergency Signals

    I n st a l l a t io n ma n u a l 7.11 Treatment of emergency signals The CNC provides the following emergency signals: /EMERGENCY STOP Physical emergency input. It is generated from the outside and corresponds to the physical emergency input. This signal is active low (0 V).
  • Page 361 I n s t a l l a t i o n m a n u a l The emergency outputs of the CNC are: /ALARM (M5507) Physical output to the PLC. /EMERGENCY OUTPUT Physical output to the outside. Pin 2 of connector X10 of the –Axes– module of the 8055 CNC Pin 2 of connector X2 of the 8055i CNC.
  • Page 362 I n st a l l a t io n ma n u a l These emergency signals are the physical output /EMERGENCY OUTPUT (output O1 of the PLC) and the general logic output /EMERGEN" which is mark M5000 of the PLC. It must be borne in mind that every time a new PLC program cycle is initiated, the real inputs are updated with the physical inputs.
  • Page 363: Digital Servo (Can Or Sercos)

    I n s t a l l a t i o n m a n u a l 7.12 Digital servo (CAN or Sercos) Sercos communication requires a drive version V3.01 or later. CAN communication requires a drive version V7.02 or later. General parameters SERSPEED (P120) and SERPOWSE (P121) allow setting the communications speed and power for Sercos.
  • Page 364: Communication Channels

    I n st a l l a t io n ma n u a l 7.12.1 Communication channels The data exchange between the CNC and the drives takes place at every position loop. The more data to be transmitted, the more overloaded the transmission will be. These registers should be limited leaving only the ones absolutely necessary after the setup.
  • Page 365 I n s t a l l a t i o n m a n u a l Type of information Identifier AnalogInputValue 33673 AuxiliaryAnalogInputValue 33674 DigitalInputsValues 33675 PowerFeedback 34468 PowerFeedbackPercentage 34469 The bits of identifier 33172 "FagorDiagnostics" contain the following information: bits Meaning Id at the drive...
  • Page 366 I n st a l l a t io n ma n u a l • Reading and writing from a part-program or from a user channel. Read: (P*** = SVARaxis **) Write: (SVARaxis** = P**) Example: (P110 = SVARX 40) It assigns to parameter P110 the value of the X axis variable with the identifier 40 which corresponds to "VelocityFeedback"...
  • Page 367: Drive's Absolute Feedback

    I n s t a l l a t i o n m a n u a l 7.12.2 Drive’s absolute feedback If the drive has version V4.02 or later, absolute feedback is treated at the drive’s first feedback. The CNC checks the "RV5" variable of the drive (drive set with absolute encoder) and drive parameter PP177 (Absolute distance1) that indicates the distance between machine zero (home) and the encoder’s absolute zero.
  • Page 368: Axes (2) Controlled By A Single Drive

    I n st a l l a t io n ma n u a l 7.13 Axes (2) controlled by a single drive To control 2 axes through a single servo drive: • Set axis parameters SWITCHAX (P65) and SWINBACK (P66). Main axis Associated axis SWITCHAX...
  • Page 369 I n s t a l l a t i o n m a n u a l X and Z paraxial axes (moving one at a time) and communication via Sercos, feedback included X axis (main) Z axis (secondary) SWITCHAX for X = 0 SWITCHAX for Z axis = 1 (X axis) SWINBACK for X axis = 0...
  • Page 370 I n st a l l a t io n ma n u a l The mark for the secondary axis is SWITCH3 (M5205) With SWITCH3=0 velocity command of the Z axis and with SWITCH3=1 that of the W axis. PLC program The M40 mark indicates that there is no external emergency (I1) and that the position loop of the axes are closed (NOT LOPEN).
  • Page 371: C" Axis And Spindle With A Single Feedback

    I n s t a l l a t i o n m a n u a l 7.13.1 "C" axis and spindle with a single feedback At the lathe model, when using a single feedback for the spindle and "C" axis, set axis parameters SWITCHAX (P65) and SWINBACK (P66) of the C axis.
  • Page 372 I n st a l l a t io n ma n u a l 1 motor and DRIBUSLE=0 Analog or Sercos connection with DRIBUSLE=0. The feedback is taken to the CNC connector for the spindle and there is 1 motor. Spindle (S) "C"...
  • Page 373 I n s t a l l a t i o n m a n u a l DRIBUSLE=2 Sercos connection with DRIBUSLE=2. The axis feedback is handled via Sercos, second feedback (direct feedback) and the command for the drive is sent via Sercos. Spindle (S) "C"...
  • Page 374: Additive Coupling Between Axes

    I n st a l l a t io n ma n u a l 7.14 Additive coupling between axes The additive coupling may be applied on any pair of axes, but only one pair of axes may be defined in an additive coupling.
  • Page 375 I n s t a l l a t i o n m a n u a l The following example assumes that the Z axis is motorized and that the W axis is a DRO axis. The W axis is coupled with the Z axis. ;* COMPENSATION OF THE W AXIS MOVEMENT WITH PLCOFZ * ;R73 - Operation mode ;R74 - previous POSW...
  • Page 376: Fagor Handwheels: Hba, Hbe And Lgb

    I n st a l l a t io n ma n u a l 7.15 Fagor handwheels: HBA, HBE and LGB Fagor handwheels HBA, HBE and LGB have: • a pulse generator (encoder). • an emergency output. • One or two enable buttons.
  • Page 377 I n s t a l l a t i o n m a n u a l Connection example and PLC program for the HBA-072914 handwheel. There are 2 ways to use the "Enable Push Button". Just press one of the buttons Both buttons must be pressed The example uses input I79, making it necessary to push both buttons in order to use the handwheel.
  • Page 378 I n st a l l a t io n ma n u a l Axis selection. Inputs I70, I71, I72 I70 I71 I72 NOT I70 NOT I71 NOT I72 = XSEL XSEL NOT I70 NOT I71 = YSEL YSEL NOT I70 = ZSEL ZSEL...
  • Page 379 I n s t a l l a t i o n m a n u a l If JOG movement (JOGON) and [-] key pressed: "I77", then axis movement in the negative direction. JOGON AND I77 AND XSEL = AXIS-1 JOGON AND I77 AND YSEL = AXIS-2 JOGON AND I77 AND ZSEL = AXIS-3 JOGON AND I77 AND 4SEL = AXIS-4...
  • Page 380: Machine Safety Related Functions

    I n st a l l a t io n ma n u a l 7.16 Machine safety related functions 7.16.1 Maximum machining spindle speed The following safety regulation forces to limit the spindle speed on lathes: "A program will not be executed in machining mode unless the maximum spindle speed value for the part is entered as well as the proper maximum speed for the part holding fixture for the machine.
  • Page 381: Cycle Start Disabled When Hardware Errors Occur

    I n s t a l l a t i o n m a n u a l PLC programming example. ()=CNCRD(OPMODA,R100,M1000) Reading of the OPMODA variable. B0R100 = M100 Indicator of program in execution. DFU M100 = CNCRD(PRGN,R101,M1000) = CNCRD(MDISL,R102,M1000) At the beginning of the execution, it reads the program being executed (CNCRD) and the speed limit set by MDISL.
  • Page 382 I n st a l l a t io n ma n u a l 7.17 Configuring a CNC as two and a half axes A two-and-a-half-axis configuration is a milling machine where the X and Y axes are motorized and the Z axis is set as a DRO axis (display only).
  • Page 383 I n s t a l l a t i o n m a n u a l 7.17.1 Machine parameter setting The following machine parameters must be modified to configure the CNC as having two and a half axes: CODISET (P147) This parameter has 16 bits counted from right to left.
  • Page 384 I n st a l l a t io n ma n u a l 7.17.2 PLC Program The PLC program must be modified as follows in order for the machine to work properly with a two- and-a-half-axis configuration: • Stop the machine when the Z axis gets in position and the X-Y axes are going to start moving. •...
  • Page 385 I n s t a l l a t i o n m a n u a l PLC programming example ;* * * * * * * * 2+1/2-AXIS APPLICATION * * * * * * * * () = SET TOOLINSP = CNCRD(MPG147,R131,M1000) NOT B2R131 = JMP L99 If it is not a 2+1/2-AXIS configuration, jump to label L99.
  • Page 386: Tool Magazine

    I n st a l l a t io n ma n u a l 7.18 Tool magazine 7.18.1 Tool change via PLC If the tool change process is interrupted, the values of the tool magazine table and active tool may not reflect the machine's reality.
  • Page 387: Tool Magazine Management

    I n s t a l l a t i o n m a n u a l 7.18.2 Tool magazine management The following must be borne in mind when doing a tool change: • The tool change is not validated until the execution of the T function or M06 is completed correctly. If it is not completed correctly, the tool magazine table is not refreshed.
  • Page 388: Additional Information For Magazine Management

    I n st a l l a t io n ma n u a l 7.18.3 Additional information for magazine management When executing a T function, or an M6, the PLC can have all the necessary information about the new tool that has been requested and about the tool to be returned to the magazine. This way, on one hand, there is no need to save the information sent out with the T (TBCD) in PLC registers in order to use it when executing the M6.
  • Page 389 I n s t a l l a t i o n m a n u a l 7.18.4 Anticipated tool management This tool readying management is used to optimize the time required to change tools on machines that have a tool magazine with a tool changer arm. This optimization consists in preparing the magazine while machining to pick up the tool that will be used in the next operation.
  • Page 390 I n st a l l a t io n ma n u a l Anticipation when returning the tool to the magazine This management may be added in the PLC to improve tool change execution time while making sure that the magazine cycle is completed before starting the next tool change. For the tool change to be safer and more efficient, the PLC must set logic input /XINHMZ low with the M6 to indicate that it is running to return the previous tool to the magazine.
  • Page 391: Gear Ratio Management On Axes And Spindle

    I n s t a l l a t i o n m a n u a l 7.19 Gear ratio management on axes and spindle The gear ratios on axes and spindle, depending on whether they are analog, CAN or Sercos, are managed as follows: Sercos If axis parameters PITCHB (P86), INPREV (P87) and OUTPREV (P88) are other than 0, the CNC...
  • Page 392: Example Of Axes: Encoder In The Motor

    I n st a l l a t io n ma n u a l 7.19.1 Example of axes: encoder in the motor MOTOR TABLE ENCODER L EA D SC R E We have an axis with a maximum feedrate of 20 m/min, with a leadscrew pitch of 20 and a 3-to-1 gear ratio between the motor and the leadscrew.
  • Page 393: Example Of Axes: External Encoder Without Gear Ratio

    The encoder is an HOP model (Vpp) and provides 18,000 pulses per turn. If a linear encoder is a FAGOR GOX model with a glass/steel-tape grading pitch of 20 and the actual TTL pitch is 4.
  • Page 394 I n st a l l a t io n ma n u a l With linear encoder: •PP115 (drive) = bit 0 = 1 (direct external linear feedback). •NP117 (drive) = glass/tape graduation pitch of the linear encoder = 20. •NP118 (drive) = actual (real) counting pitch of the linear encoder = 4.
  • Page 395 I n s t a l l a t i o n m a n u a l CAN axes 1. External feedback connected to the CNC  Axis parameter DRIBUSLE (P63) = 0. Parameters involved in the calculation of the velocity command: ...
  • Page 396 I n st a l l a t io n ma n u a l Analog axes 1. External feedback connected to the CNC  Axis parameter DRIBUSLE (P63) = 0. Parameters involved in the calculation of the velocity command: ...
  • Page 397: Example Of Axes: External Encoder With Gear Ratio

    I n s t a l l a t i o n m a n u a l 7.19.3 Example of axes: external encoder with gear ratio In this case, on linear axes the encoder is connected to the leadscrew through a gear box and on rotary axes, it is connected to the center of rotation through a gear box.
  • Page 398 I n st a l l a t io n ma n u a l 2. External feedback connected to the CNC  Axis parameter DRIBUSLE (P63) = 0. Parameters involved in the calculation of the velocity command:  Axis parameter G00FEED (P38) = Maximum feedrate of the axis = 20000. ...
  • Page 399 I n s t a l l a t i o n m a n u a l Analog axes 1. External feedback connected to the CNC  Axis parameter DRIBUSLE (P63) = 0. Parameters involved in the calculation of the velocity command: ...
  • Page 400: Example Of Spindle: Encoder In The Motor

    I n st a l l a t io n ma n u a l 7.19.4 Example of spindle: encoder in the motor Having a spindle with 4 gears. The maximum rpm and the gear ratio for each gear are the following: Gear 1: maximum speed 1000 rpm, gear ratio 4:1.
  • Page 401 I n s t a l l a t i o n m a n u a l Analog spindle Parameters involved in the calculation of the velocity command:  spindle parameter MAXGEAR1 (P2) = maximum rpm of the first gear = 1000. ...
  • Page 402: Example Of Spindle: External Encoder Without Gear Ratio

    I n st a l l a t io n ma n u a l 7.19.5 Example of spindle: external encoder without gear ratio Having a spindle with 4 gears. The maximum rpm and the gear ratio for each gear are the following: Gear 1: maximum speed 1000 rpm, gear ratio 4:1.
  • Page 403 I n s t a l l a t i o n m a n u a l 2. External encoder connected to the CNC  spindle parameter DRIBUSLE (P51) = 0. Parameters involved in the calculation of the velocity command: ...
  • Page 404 I n st a l l a t io n ma n u a l Analog spindle Parameters involved in the calculation of the velocity command:  spindle parameter MAXGEAR1 (P2) = maximum rpm of the first gear = 1000. ...
  • Page 405: Example Of Spindle: External Encoder With Gear Ratio

    I n s t a l l a t i o n m a n u a l 7.19.6 Example of spindle: external encoder with gear ratio Having a spindle with 4 gears. The maximum rpm and the gear ratio for each gear are the following: Gear 1: maximum speed 1000 rpm, gear ratio 4:1.
  • Page 406 I n st a l l a t io n ma n u a l 2. External encoder connected to the CNC  spindle parameter DRIBUSLE (P51) = 0. Parameters involved in the calculation of the velocity command:  spindle parameter MAXGEAR1 (P2) = maximum rpm of the first gear = 1000. ...
  • Page 407 I n s t a l l a t i o n m a n u a l Analog spindle Parameters involved in the calculation of the velocity command:  spindle parameter MAXGEAR1 (P2) = maximum rpm of the first gear = 1000. ...
  • Page 408: Feedback Combination For Sercos Axes With External Feedback To The Cnc

    I n st a l l a t io n ma n u a l 7.20 Feedback combination for SERCOS axes with external feedback to the CNC On large machines that have a lot of backlash and use external feedback to obtain greater accuracy may suffer some instability.
  • Page 409: Open Communication

    I n s t a l l a t i o n m a n u a l 7.21 Open communication Open communication lets the CNC communicate with any device through the RS232 serial line without having to use any particular protocol. Open communication uses the machine parameters, variables and PLC instructions described next.
  • Page 410 I n st a l l a t io n ma n u a l PLC instruction. PLC instructions to control communication via RS232. These READ and WRITE instructions may be executed from a periodic execution module (PE). = WRITE nBuffer. = READ nBuffer.
  • Page 411: Reception Setting

    I n s t a l l a t i o n m a n u a l 7.21.1 Reception setting Reception of a message begins and ends as follows: Beginning of the reception of a message As soon as the READ character is executed, it puts the characters in the message as they come in.
  • Page 412: Trace Of Characters Sent And Received

    I n st a l l a t io n ma n u a l 7.21.3 Trace of characters sent and received To help debug the open communication at a CNC, it is possible to do a trace of all characters that are sent and received through the RS232 serial line.
  • Page 413: Examples Of Open Communication

    I n s t a l l a t i o n m a n u a l 7.21.4 Examples of open communication Here are some examples of open communication: Send 1 message Pressing the F key sends the ?"HELLO" message through the serial line. DFU B0R560= CNCWR($48,COMBUFB 1 2,M1);...
  • Page 414 I n st a l l a t io n ma n u a l Send 1 message and wait for the response with timeout Pressing the F key sends 2 integers with the numbers $10000000 and $20000000 and waits for the answer that must be the same data that was sent.
  • Page 415 I n s t a l l a t i o n m a n u a l Continuous communication between 2 CNC's where one is the master and the other the slave Two CNC's continuously exchange 64 PLC marks when pressing the F key at the master. Master CNC programming: Set the following serial line parameters as follows: RCVMAXCAR (P11) = 8...
  • Page 416 I n st a l l a t io n ma n u a l Slave CNC programming: Set the following serial line parameters as follows: RCVMAXCAR (P11) = 8 RCVENDTI (P12) = 0 () = SET M1000 ; Stage 0 ;...
  • Page 417: Auto-Adjustment Of Axis Machine Parameter Dergain

    I n s t a l l a t i o n m a n u a l 7.22 Auto-adjustment of axis machine parameter DERGAIN The auto-adjustment of DERGAIN allows setting the axis machine parameters DERGAIN of the three sets so the following error of the axis is close to 0. •...
  • Page 418 I n st a l l a t io n ma n u a l Feature limitations The area for the back-and-forth axis movement must be long enough to reach G0. DERGAIN can only be auto-adjusted on linear and rotary axes. Auto-adjustment is not possible on switched axes, gantry, tandem axes, dead axes or spindles.
  • Page 419: Compensation Of The Elastic Deformation In The Coupling Of An Axis

    I n s t a l l a t i o n m a n u a l 7.23 Compensation of the elastic deformation in the coupling of an axis This feature should be applied on machines whose dynamics causes significant elastic deformation on the transmission system (coupling) of each axis generating unacceptable deviations on any path followed by the tool tip in machining processes, cutting processes etc.
  • Page 420 I n st a l l a t io n ma n u a l resonance frequency (in Hz) associated with the elastic coupling. The procedure to obtain this frequency will be described later on. Dynamic factors that affect elastic deformation. The deformation suffered by an elastic mechanical system subject to a force is given by the formula: k x ...
  • Page 421 I n s t a l l a t i o n m a n u a l Conclusions: The elastic deformation on the axis of a machine is directly proportional to the acceleration and when its dynamics is a circular path, it is also directly proportional to the square of the feedrate. Therefore, the higher the relative feedrate between the tool tip and the table, the more significant the elastic deformation will be.
  • Page 422 I n st a l l a t io n ma n u a l Sample To adjust the compensation of elastic deformation caused in the X axis of a laser cutting machine. The machine has two servomotors with position feedback that move the tool tip in a plane defined by the X and Y axes.
  • Page 423 INTRODUCTION TO THE PLC It is recommended to save the PLC program and files into the hard disk (KeyCF) or in a peripheral or PC to avoid losing them. The PLC program (PLC_PRG) may be edited at the front panel or copied from the hard disk (KeyCF) or from a peripheral device or PC.
  • Page 424: Plc Resources

    I n st a l l a t io n ma n u a l PLC Resources Inputs (I) They are elements that provide the PLC with information on the signals received from the outside. They are represented by the letter I and there are 512 inputs available. Outputs (O) They are elements that let the PLC activate or deactivate the various devices of the electrical cabinet.
  • Page 425: Plc Program Execution

    I n s t a l l a t i o n m a n u a l PLC program execution The PLC executes the user program cyclically. In other words, once it executes the complete program, it restarts running this program from the first instruction. This cyclic processing of the program is done as follows: At the beginning of the cycle, PLC’s "I"...
  • Page 426 I n st a l l a t io n ma n u a l The following example shows how the PLC acts when working with real or image values. PLC program () = M1 Assigns the value of "1" to mark M1. M1 = M2 Assigns the value of M1 to M2.
  • Page 427 I n s t a l l a t i o n m a n u a l Operating with real values In the first scan, when execution the instruction M1 = M2, M1 has a real value of "1" set by the previous instruction.
  • Page 428: Cycle Time

    I n st a l l a t io n ma n u a l Cycle time The time the PLC requires to execute the program is called cycle time and can vary in the successive cycles of a same program, as the conditions under which they are executed are not the same. PLC parameter WDGPRG (P0) sets the maximum cycle execution time This is called WATCH-DOG time and if a cycle is executed which lasts longer than 1.5 times this time, or two cycles are executed, one after the other, taking longer than this time period, the CNC will display the WATCH-DOG error...
  • Page 429: Modular Structure Of The Program

    I n s t a l l a t i o n m a n u a l Modular structure of the program The program to be executed by the PLC consists of a series of modules which are appropriately defined by means of directing instructions.
  • Page 430: Periodic Execution Module (Pe T)

    I n st a l l a t io n ma n u a l 8.4.3 Periodic execution module (PE t) This module is optional and will be executed every period of time t indicated in the directing instruction defining the module. This module may be used to process certain critical inputs and outputs which cannot be checked or updated properly in the body of the main program due to its extended execution time.
  • Page 431: Priority Of Execution Of The Plc Modules

    I n s t a l l a t i o n m a n u a l 8.4.4 Priority of execution of the PLC modules Every time the PLC program is started (command RUN) the first module to be executed is the first cycle module (CY1).
  • Page 432 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·432·...
  • Page 433: Inputs

    PLC RESOURCES Inputs They are elements that provide information to the PLC on the signals they receive from the outside world. They are represented by the letter I followed by the input number which is desired to reference, for example I1, I25, I102, etc. The PLC may control 512 inputs although when communicating with the outside world it can only access the physical ones.
  • Page 434: Outputs

    I n st a l l a t io n ma n u a l Outputs They are elements that let the PLC activate or deactivate the various devices of the electrical cabinet. They are represented by the letter O followed by the output number which is desired to reference, for example O1, O25, O102, etc.
  • Page 435: Marks

    I n s t a l l a t i o n m a n u a l Marks These are elements capable of memorizing in one bit (as if they were an internal relay) information defined by the user, their value being inalterable even when the power supply to the system is turned off.
  • Page 436 I n st a l l a t io n ma n u a l Because the PLC program is not interrupted by these marks, it is advised to make it possible to change their status via accessible external inputs; otherwise, the CNC will keep receiving the same error at every PLC scan (cycle) thus preventing access to any PLC mode.
  • Page 437: Registers

    I n s t a l l a t i o n m a n u a l Registers These are elements which store a numerical value in 32 bits, their value remaining unalterable even when the power supply to the system is cut off. They do not have image values and are represented by the letter R, followed by the register number it is desired to reference, for example R1, R25, R102, etc.
  • Page 438: Timers

    I n st a l l a t io n ma n u a l Timers These are elements capable of maintaining their output at a determined logic level during a preset time (time constant), after which the output changes status. They do not have image values and are represented by the letter T, followed by the number of the timer it is required to reference, for example, T1, T25, T102, etc.
  • Page 439 I n s t a l l a t i o n m a n u a l Reset input (TRS) This input allows the timer to be initialized, by assigning the value 0 to its T status and by canceling its count (it initializes this to 0).
  • Page 440 I n st a l l a t io n ma n u a l Status output (T) This output indicates the logic status of the timer. It is referred to by the letter "T" followed by the timer number. For example: T1, T25, T102, etc. The logic status of the timer depends on the operating mode selected by means of the trigger inputs TG1, TG2, TG3 and TG4, and so the activation or deactivation of this signal is explained in each of the PLC operating modes.
  • Page 441: Monostable Mode. Input Tg1

    I n s t a l l a t i o n m a n u a l 9.5.1 Monostable mode. Input TG1 In this operational mode the timer status is kept at the high logic level (T=1) from the moment the TG1 input is activated until the time indicated by the time constant elapses.
  • Page 442 I n st a l l a t io n ma n u a l Operation of the TRS input in this mode If a leading edge is produced at the TRS input at any moment during timing or afterwards, the PLC initializes the timer, assigning the value 0 to its T status and cancelling its count (it initializes this to 0).
  • Page 443: Delayed Activation Mode. Tg2 Input

    I n s t a l l a t i o n m a n u a l 9.5.2 Delayed activation mode. TG2 input With this operating mode, it is possible to apply a time delay between the activation of the trigger input TG2 and the activation of the status output T of the timer.
  • Page 444 I n st a l l a t io n ma n u a l Operation of the TRS input in this mode If a leading edge is produced at the TRS input at any moment during timing or afterwards, the PLC initializes the timer, assigning the value 0 to its T status and cancelling its count (it initializes this to 0).
  • Page 445: Delayed Deactivation Mode. Input Tg3

    I n s t a l l a t i o n m a n u a l 9.5.3 Delayed deactivation mode. Input TG3 With this operating mode, it is possible to apply a time delay between the deactivation of the trigger input TG3 and the deactivation of the status output T of the timer.
  • Page 446 I n st a l l a t io n ma n u a l Operation of the TRS input in this mode If a leading edge is produced at the TRS input at any moment during timing or afterwards, the PLC initializes the timer, assigning the value 0 to its T status and cancelling its count (it initializes this to 0).
  • Page 447: Signal Limiting Mode. Input Tg4

    I n s t a l l a t i o n m a n u a l 9.5.4 Signal limiting mode. Input TG4 In this operating mode, the timer status is kept high (T=1) from the moment the TG4 input is activated until the time indicated by the time constant has elapsed or a down-flank occurs at input TG4.
  • Page 448 I n st a l l a t io n ma n u a l Operation of the TRS input in this mode If a leading edge is produced at the TRS input at any moment during timing or afterwards, the PLC initializes the timer, assigning the value 0 to its T status and cancelling its count (it initializes this to 0).
  • Page 449: Counters

    I n s t a l l a t i o n m a n u a l Counters They are elements capable of counting up or down a particular number of events. They do not have image values and are represented by the letter C, followed by the counter number which it is required to reference, for example C1, C25, C102, etc.
  • Page 450 I n st a l l a t io n ma n u a l Enable input (CEN) This input allows the internal counter count to be stopped. It is referred to by the letters CEN followed by the counter number, for example: CEN 1, CEN 25, CEN 102, etc. In order to be able to modify the internal count by means of the inputs CUP and CDW this input must be at logic level "1".
  • Page 451 I n s t a l l a t i o n m a n u a l Count value (C) This output indicates the value of the internal counter count. It is referred to by the letter "C" followed by the counter number, for example: C1, C25, C102, etc.
  • Page 452: Operating Mode Of A Counter

    I n st a l l a t io n ma n u a l 9.6.1 Operating mode of a counter If the CEN counter input is initialized (CEN=1), the counter allows its count to be increased and decreased by means of the CUP and CDW inputs. Operation of CUP and CDW inputs Every time a leading edge is produced at the CUP input the counter increases its count by one count.
  • Page 453 PLC PROGRAMMING The PLC program is structured by modules and it may consist of: • Main module (PRG). • Periodic module (PE). • First Cycle module (CY1). Every time the PLC program starts running, the CNC will execute first, if it has been defined, the First Cycle module (CY1).
  • Page 454: Module Structure

    I n st a l l a t io n ma n u a l 10.1 Module structure The modules which make up the PLC program (main module "PRG", periodic modules "PE" and first cycle module "CY1") consist of a series of instructions which, depending on their functionality, can be divided into: •...
  • Page 455: Directing Instructions

    I n s t a l l a t i o n m a n u a l 10.2 Directing instructions They provide the PLC with information about the type of module and how it must be executed. The directing instructions available at the PLC are: PRG, PEt, CY1 Define the module type.
  • Page 456 I n st a l l a t io n ma n u a l This option, among other applications, makes programming and later understanding of the PLC program much easier when trying to control the CNC by simulating its keyboard from the PLC program.
  • Page 457 I n s t a l l a t i o n m a n u a l Updates the values of resources M5000/5957 and R500/559 with the values of the logic outputs of the CNC. Care must be taken when using this instruction since the current values of those resources will be lost.
  • Page 458: Consulting Instructions

    I n st a l l a t io n ma n u a l 10.3 Consulting instructions They may be used to check the status of PLC resources as well as the marks and registers for CNC- PLC communication. They are divided into: •...
  • Page 459 I n s t a l l a t i o n m a n u a l I3 phy = I3 physical I3 rea = I3 real I3 ima = I3 image Examples: DFU I23 DFU B3R120 DFU AUXEND Comparison Used to compare two operands, checking whether the first one is greater than (GT), greater than or equal to (GE), equal to (EQ), not equal to (NE), smaller than or equal to (LE) or less than (LT)
  • Page 460: Operators And Symbols

    I n st a l l a t io n ma n u a l 10.4 Operators and symbols These are used to group and operate with different consulting instructions. The available operators are: The available symbols are: The operators are associated from left to right and the priorities ordered from the highest to the lowest are: With the "("...
  • Page 461: Action Instructions

    I n s t a l l a t i o n m a n u a l 10.5 Action instructions The action instructions, depending on the result obtained in the logic expression, may be used to alter the status of the PLC resources and CNC-PLC communication marks. Logic expression = Action instruction There may be several action instructions associated with a single logic expression.
  • Page 462: Binary Assignment Instructions

    I n st a l l a t io n ma n u a l 10.5.1 Binary assignment instructions They assign the value (0/1) resulting from a logic expression to the indicated resource. 1/512 Inputs 1/512 Outputs 1/5957 Marks = TEN 1/256 Timer enable = TRS...
  • Page 463: Conditioned Binary Actions Instructions

    I n s t a l l a t i o n m a n u a l 10.5.2 Conditioned binary actions instructions There are 3 instructions: SET, RES and CPL, that are used to change the status of the indicated resource.
  • Page 464: Sequence Breaking Action Instructions

    I n st a l l a t io n ma n u a l 10.5.3 Sequence breaking action instructions These actions interrupt the sequence of a program, resuming it somewhere else in the program. That area must be identified with a label (L 1/2000). A subroutine is any part of the program that starts with a label (L1/2000) and end with the directing instruction END.
  • Page 465: Arithmetic Action Instructions

    I n s t a l l a t i o n m a n u a l 10.5.4 Arithmetic action instructions = MOV It is used to move data from one PLC resource to another. The programming format is: Origin Target Source code...
  • Page 466 I n st a l l a t io n ma n u a l = NGS Register sign change. Example: I16 = NGS R89 If input "I16 = 1", the PLC changes the sign of the contents of register R89. R89 before 0001 0001...
  • Page 467: Logic Action Instructions

    I n s t a l l a t i o n m a n u a l 10.5.5 Logic action instructions = AND, = OR, = XOR To perform logic operations: AND, OR and XOR between register contents or between a register content and a number.
  • Page 468 I n st a l l a t io n ma n u a l The origin and destination registers must always be defined, even when they are both the same. The number of repetitions indicates the consecutive number of times the register will be rotated. Examples: RR1 R100 1 R200 1 type-1 right-hand rotation of R100 leaving the result in R200.
  • Page 469: Specific Action Instructions

    I n s t a l l a t i o n m a n u a l 10.5.6 Specific action instructions = ERA Used to delete a group of resources. Indicate the first and last resource to be erased. Their programming formats are: 1/512 1/512...
  • Page 470 I n st a l l a t io n ma n u a l = PAR It analyzes the type of parity of a register. Their programming formats are: TORQUE R1/559 M1/5957 If the register being checked has an EVEN parity, this instruction will set the indicated mark to "1" and if its parity is ODD, it will set it to "0".
  • Page 471: Plc Library

    I n s t a l l a t i o n m a n u a l 10.6 PLC library The PLC library allows for a series of subroutines that may be used for the PLC program of the machine.
  • Page 472 I n st a l l a t io n ma n u a l How to create a PLC Library The following example shows how to create a PLC library: Edit a PLC program. Use only subroutines and symbols in the PLC program. Modify the comment of the PLC program.
  • Page 473 I n s t a l l a t i o n m a n u a l ; PLC library symbols can be used CPS RCOUNTER GT 1000 = MSG14 PE 4 MARK_SECOND = MOV 1 INCREMENT_PAR = MOV 0 INCREMENT_PAR () = CAL L1501 PLC_LIB documentation example This document must be provided so the PLC library can be used correctly.
  • Page 474 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·474·...
  • Page 475 CNC-PLC COMMUNICATION With the data exchange between the CNC and the PLC, it is possible to: • The control of logic inputs and outputs from the CNC by means of an exchange of information between both systems, which is done periodically and by means of specific PLC Marks and Registers.
  • Page 476: Auxiliary M, S, T Functions

    I n st a l l a t io n ma n u a l 11.1 Auxiliary M, S, T functions MBCD1 (R550) MBCD2 (R551) MBCD3 (R552) MBCD4 (R553) MBCD5 (R554) MBCD6 (R555) MBCD7 (R556) MBCDP1 (R565) MBCDP2 (R566) MBCDP3 (R567) MBCDP4 (R568) MBCDP5 (R569) MBCDP6 (R570)
  • Page 477 I n s t a l l a t i o n m a n u a l SBCD (R557) This register will be used when using a spindle operating with BCD coded S signal. spindle parameter SPDLTYPE (P0). The auxiliary S function will always be executed at the beginning of the block and the CNC will wait for the general logic input AUXEND to be activated to consider the execution completed.
  • Page 478 I n st a l l a t io n ma n u a l TBCD (R558) The CNC tells the PLC by means of this 32-bit register, the pocket number in the magazine where the selected tool is. If the general parameter RANDOMTC (P25) has been set so it is not a random magazine, the magazine pocket position coincides with the tool number.
  • Page 479: Auxiliary M, S, T Function Transfer

    I n s t a l l a t i o n m a n u a l 11.2 Auxiliary M, S, T function transfer Every time a block is executed in the CNC, information is passed to the PLC about the M, S, and T functions which are active.
  • Page 480: Transferring M, S, T Using The Auxend Signal

    I n st a l l a t io n ma n u a l 11.2.1 Transferring M, S, T using the AUXEND signal Once the block has been analyzed and after sending the corresponding values in the variables "MBCD1-7", "SBCD", "TBCD" and "T2BCD", the CNC will tell the PLC by means of the general logic outputs "MSTROBE", "SSTROBE", "TSTROBE"...
  • Page 481 I n s t a l l a t i o n m a n u a l 11.2.2 Transferring the auxiliary (miscellaneous) M functions without the AUXEND signal Once the block has been analyzed and after passing the corresponding values in variables "MBCD1-7", the CNC will tell the PLC through the general logic output "MSTROBE"...
  • Page 482: Displaying Messages, Errors And Screens

    I n st a l l a t io n ma n u a l 11.3 Displaying messages, errors and screens The PLC has a series of marks that allow messages and errors to be displayed in the CNC, as well as displaying screens which have been defined previously by the user.
  • Page 483 I n s t a l l a t i o n m a n u a l Error display The PLC has 128 marks, with their corresponding mnemonic, for displaying errors at the CNC. M4500 ERR001 M4530 ERR031 M4625 ERR126 M4501 ERR002...
  • Page 484 I n st a l l a t io n ma n u a l 11.4 Access to the PLC from the CNC The CNC is provided with an operating mode in which it can: • Monitor the user PLC program. •...
  • Page 485 • Monitoring of PLC resources. • Consultation or modification of PLC resources. • Execution of PLC commands (compile, execute, etc.). • Etc. The DNC manual can be applied for from the Commercial Department of Fagor Automation. CNC 8055 CNC 8055i : V02.2...
  • Page 486 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·486·...
  • Page 487 LOGIC CNC INPUTS AND OUTPUTS Physical inputs and outputs are the names given to the set of inputs and outputs of the CNC system which, being controlled by the PLC, communicate with the outside through CNC connectors. The CNC also has a series of logic inputs and outputs for the internal exchange of information with PLC marks and registers.
  • Page 488: General Logic Inputs

    I n st a l l a t io n ma n u a l 12.1 General logic inputs These inputs must always be defined in the PLC program. /EMERGEN (M5000) /STOP (M5001) /FEEDHOL (M5002) /XFERINH (M5003) /EMERGEN (M5000) There are to ways to cause an emergency at the CNC, by activating the physical input /Emergency stop or the general logic input "/EMERGEN"...
  • Page 489 I n s t a l l a t i o n m a n u a l /FEEDHOL (M5002) When the PLC sets this signal low, the CNC stops the axes (maintaining spindle rotation). When the signal returns to the high logic level, the movement of the axes continues. If the /FEEDHOL signal is activated (0V) in a block without motion, the CNC will continue the execution of the program until detecting a block with motion.
  • Page 490 I n st a l l a t io n ma n u a l LATCHM (M5011) This allows the type of JOG key operation to be selected in JOG mode. If the PLC sets this signal low, the axes will only move while the corresponding JOG key is pressed. If the PLC sets this signal at a high logic level, the axes will move from the moment the corresponding JOG key is pressed until the STOP key or other JOG key is pressed.
  • Page 491 I n s t a l l a t i o n m a n u a l It operates in the following way: Once the block has been analyzed and after sending the corresponding values in the variables "MBCD1-7", "SBCD", "TBCD" and "T2BCD", the CNC will tell the PLC by means of the general logic outputs "MSTROBE", "SSTROBE", "TSTROBE"...
  • Page 492 I n st a l l a t io n ma n u a l PLCABORT (M5022) The PLC sets this signal high to indicate to the CNC that it must stop the PLC axes. It also cancels the rest of the movement and the possible blocks that might have been sent from the PLC. Once this process is ended, the CNC automatically deactivates this signals.
  • Page 493 I n s t a l l a t i o n m a n u a l TOOLINSP (M5050) The CNC takes into consideration this input in MC, MCO, TC and TCO modes. It indicates whether the "T" key must be pressed or not after executing the operation or the part in order to inspect the tool.
  • Page 494 I n st a l l a t io n ma n u a l M5054 = 1 "Path handwheel" or "path jog" function on. CAXSEROK (M5055) It must be used on the lathe model, when the "C" axis and the spindle share the same drive. See "7.12 Digital servo (CAN or Sercos)"...
  • Page 495 I n s t a l l a t i o n m a n u a l These marks do not affect the following functions. • It does not affect motionless blocs, which will be executed. • It does not affect the M functions that are executed after the block. These functions are always executed, even if the movement of the block is interrupted.
  • Page 496 I n st a l l a t io n ma n u a l SKIPCYCL (M5064) During the drilling, tapping and rigid tapping cycles of the mill model CNC, it is now possible to withdraw the tool to the starting plane and, once there, stop the spindle. Once the retraction is completed, the user may finish the hole, go to the next hole or go into tool inspection.
  • Page 497: Axis Logic Inputs

    I n s t a l l a t i o n m a n u a l 12.2 Axis logic inputs. There are several groups of logic inputs (LIMIT, DECEL, etc.) which refer to the possible axes of the machine by means of digits 1 through 7 (LIMIT+2, DECEL1,etc.) or using the axis name (LIMIT+X, DECELZ, etc.).
  • Page 498 I n st a l l a t io n ma n u a l INHIBIT1 (M5103) INHIBIT2 (M5153) INHIBIT3 (M5203) INHIBIT4 (M5253) INHIBIT5 (M5303) INHIBIT6 (M5353) INHIBIT7 (M5403) The PLC sets one of these signals at a high logic level in order to tell the CNC to prevent any movement of the corresponding axis.
  • Page 499 I n s t a l l a t i o n m a n u a l SERVO1ON (M5107) SERVO2ON (M5157) SERVO3ON (M5207) SERVO4ON (M5257) SERVO5ON (M5307) SERVO6ON (M5357) SERVO7ON (M5407) When one of these signals is set high, the CNC closes the positioning loop of the corresponding axis. If set low, the CNC does not close the position loop of the axis.
  • Page 500 I n st a l l a t io n ma n u a l AXIS+1 (M5108) AXIS-1 (M5109) AXIS+2 (M5158) AXIS-2 (M5159) AXIS+3 (M5208) AXIS-3 (M5209) AXIS+4 (M5258) AXIS-4 (M5259) AXIS+5 (M5308) AXIS-5 (M5309) AXIS+6 (M5358) AXIS-6 (M5359) AXIS+7 (M5408) AXIS-7 (M5409) The CNC uses these signals when working in the manual (JOG) operating mode.
  • Page 501 I n s t a l l a t i o n m a n u a l MANINT1 (M5116) MANINT2 (M5166) MANINT3 (M5216) MANINT4 (M5266) MANINT5 (M5316) MANINT6 (M5366) MANINT7 (M5416) The PLC sets one of these signals high to activate the additive handwheel on each axis. Only one additive handwheel may be enabled at a time.
  • Page 502: Spindle Logic Inputs

    I n st a l l a t io n ma n u a l 12.3 Spindle logic inputs. This CNC can handle 2 spindles: a main spindle and a second spindle. They both can be operative simultaneously, but only one can be controlled at a time. This selection can be made via part- program by means of functions G28 and G29.
  • Page 503 I n s t a l l a t i o n m a n u a l On the other hand, if the SERVOSON signal is low or if it changes to low during the rotation of the spindle, the CNC will stop the axes feed and the spindle rotation displaying the corresponding error message.
  • Page 504 I n st a l l a t io n ma n u a l The PLC, then, activates the logic input "AUXEND" to "tell" the CNC that the execution of the gear change has been completed. Once the "AUXEND" input is activated, the CNC will require that this signal be kept active for a time period greater than the value given to the general parameter "MINAENDW"...
  • Page 505 I n s t a l l a t i o n m a n u a l When this input is low, the CNC assumes the value set by spindle parameter "REFEED1" (P34) When this input is high, the CNC assumes the value set by the spindle input register "M19FEED" (R505).
  • Page 506 I n st a l l a t io n ma n u a l ELIMIS (M5456) Main spindle ELIMIS2 (M5481) Second spindle If the PLC sets one these signals high, the CNC does not display the corresponding spindle but keeps controlling it.
  • Page 507: Logic Inputs Of The Auxiliary Spindle

    I n s t a l l a t i o n m a n u a l 12.4 Logic inputs of the auxiliary spindle SPENAAS (M5449) DRENAAS (M5448) The CNC uses these signals when communicating with the drive via Sercos or via CAN. Every time the PLC sets one of these signals high or low, the CNC lets the corresponding drive know about it.
  • Page 508: Key Inhibiting Logic Inputs

    I n st a l l a t io n ma n u a l 12.5 Key inhibiting logic inputs. KEYDIS1 (R500) KEYDIS2 (R501) KEYDIS3 (R502) KEYDIS4 (R503) KEYDIS5 (R508) The PLC can individually inhibit the operation of the panel keys, setting the corresponding bit of these 32-bit registers high.
  • Page 509: Logic Inputs Of The Plc Channel

    I n s t a l l a t i o n m a n u a l 12.6 Logic inputs of the PLC channel To govern the axes managed by PLC. /FEEDHOP (M5004) It is similar to general logic input /FEEDHOL (M5002), but for the PLC channel. When the PLC sets this signal low, the CNC stops the axes (maintaining spindle rotation).
  • Page 510 I n st a l l a t io n ma n u a l BLOABORP (M5061) It is similar to general logic input BLOABOR (M5060), but for the PLC channel. When the PLC sets this mark high, the CNC ends the movement in progress and starts executing the next block.
  • Page 511 I n s t a l l a t i o n m a n u a l /XINHMZ (M5079) Logic input /XINHMZ is used to make the tool change safer and more efficient. The PLC uses this logic input to indicate that it is operating in order to returning a tool to the tool magazine.
  • Page 512: General Logic Outputs

    I n st a l l a t io n ma n u a l 12.7 General logic outputs CNCREADY (M5500) The CNC activates and maintains this signal high if the autotest which the CNC makes when it is powered up has not detected any problem. Should any hardware error be detected (RAM, over- temperature, etc.) this signal is set low.
  • Page 513 I n s t a l l a t i o n m a n u a l /ALARM (M5507) The CNC sets this signal low in order to tell the PLC that an alarm or emergency condition has been detected.
  • Page 514 I n st a l l a t io n ma n u a l INCYCLE (M5515) The CNC sets this signal high while executing a block or moving an axis. Once the execution of the program has been requested by the PLC to the CNC by means of the logic input CYSTART, the latter will indicate that it is being executed by setting the INCYCLE signal high.
  • Page 515 I n s t a l l a t i o n m a n u a l SELECT0 (M5524) SELECT1 (M5525) SELECT2 (M5526) SELECT3 (M5527) SELECT4 (M5528) SELECT5 (M5529) SELECT6 (M5530) SELECT7 (M5531) SELECTOR (R564) The CNC uses these signals to indicate to the PLC the position selected at each keyboard switch. SELECTOR indicates the position currently selected.
  • Page 516 I n st a l l a t io n ma n u a l TSTROBE (M5534) The CNC sets this signal high to tell the PLC that it must execute the auxiliary S function which is indicated in the register "TBCD" (R558). In this register the CNC will tell the PLC the position of the magazine where the selected tool is.
  • Page 517 I n s t a l l a t i o n m a n u a l DM04 (M5543) The CNC sets this signal high to tell the PLC that the spindle is turning counter-clockwise or that the auxiliary function M04 is programmed in the block being executed. DM05 (M5542) The CNC sets this signal high to tell the PLC that the spindle is stopped or that the auxiliary function M05 is programmed in the block being executed.
  • Page 518 I n st a l l a t io n ma n u a l SYNSPEED (M5560) Indicates that the spindles are synchronized in speed (set high). In other words, that the second spindle turns at the same speed as the main spindle. It goes low when the following error between them exceeds the maximum allowed by spindle parameter SYNSPEOF (P54).
  • Page 519 I n s t a l l a t i o n m a n u a l WRITERDY (M5572) CNC output that indicates whether the WRITE commands may be sent or not. Value Meaning It indicates that no WRITE commands may be sent. It indicates that WRITE commands may be sent.
  • Page 520: Logic Outputs Of The Axes

    I n st a l l a t io n ma n u a l 12.8 Logic outputs of the axes There are several groups of logic inputs (ENABLE, DIR, etc.) which refer to the possible axes of the machine by means of digits 1 through 7 (ENABLE2, DIR1,etc.) or using the axis name (ENABLEX, DIRZ, etc.).
  • Page 521 I n s t a l l a t i o n m a n u a l REFPOIN1 (M5602) REFPOIN2 (M5652) REFPOIN3 (M5702) REFPOIN4 (M5752) REFPOIN5 (M5802) REFPOIN6 (M5852) REFPOIN7 (M5902) The CNC sets these signals high to tell the PLC that the machine reference search has been made already.
  • Page 522: Spindle Logic Outputs

    I n st a l l a t io n ma n u a l 12.9 Spindle logic outputs. This CNC can handle 2 spindles: a main spindle and a second spindle. They both can be operative simultaneously, but only one can be controlled at a time. This selection can be made via part- program by means of functions G28 and G29.
  • Page 523 I n s t a l l a t i o n m a n u a l When working with M03 and M04 the CNC sets this signal high to tell the PLC that the real spindle revolutions correspond to those programmed. The CNC will activate this signal every time the real revolutions are within the range defined by spindle parameters "LOSPDLIM"...
  • Page 524: Logic Outputs Of The Auxiliary Spindle

    I n st a l l a t io n ma n u a l 12.10 Logic outputs of the auxiliary spindle DRSTAFAS (M5557) DRSTASAS (M5556) The CNC uses these signals when communicating with the drive via Sercos or via CAN and indicate the status of the drive.
  • Page 525: Logic Outputs Of Key Status

    I n s t a l l a t i o n m a n u a l 12.11 Logic outputs of key status KEYBD1 (R560) KEYBD2 (R561) KEYBD3 (R562) KEYBD4 (R563) These registers indicate whether or not one of the keys on the keyboard or on the operator panel is pressed.
  • Page 526 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·526·...
  • Page 527 ACCESS TO INTERNAL CNC 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. Reading and writing variables from the PLC The PLC provides two instructions (actions) which permit to read or modify the various internal variables of the CNC from the PLC.
  • Page 528 I n st a l l a t io n ma n u a l Identifying the variables in the PLC commands These variables are accessed from the PLC using high level commands. Each one of these variables is referred to by its mnemonic that must be written in upper-case (capital) letters. •...
  • Page 529: Variables Associated With Tools

    I n s t a l l a t i o n m a n u a l 13.1 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 530 I n st a l l a t io n ma n u a l Tool magazine table. Each magazine position is represented as follows: 1··255 Tool number. The magazine position is empty. The magazine position has been canceled. The tool position in the magazine is represented as follows: 1.- Position number.
  • Page 531 I n s t a l l a t i o n m a n u a l TLFFn This variable allows the family code of the indicated tool (n) to be read or modified in the tool table. TLFNn This variable allows the value assigned as the nominal life of the indicated tool (n) to be read or modified in the tool table.
  • Page 532 I n st a l l a t io n ma n u a l TOIn This variable allows the value assigned to the wear in radius (I) of the indicated tool offset (n) to be read or modified in the tool offset table. 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.
  • Page 533: Variables Associated With Zero Offsets

    I n s t a l l a t i o n m a n u a l 13.2 Variables associated with zero offsets. These variables are associated with the zero offset table, due to which the values that will be assigned to or read from these fields will comply with the formats established for this table.
  • Page 534 I n st a l l a t io n ma n u a l Example: If G54 + G58, EXTORG = 1 has been programmed. Read-and-write variables ORG(X-C)n This variable allows the value of the selected axis to be read or modified in the table corresponding to the indicated zero offset (n).
  • Page 535: Variables Associated With Function G49

    I n s t a l l a t i o n m a n u a l 13.3 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.
  • Page 536 I n st a l l a t io n ma n 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.
  • Page 537: Variables Associated With Machine Parameters

    I n s t a l l a t i o n m a n u a l 13.4 Variables associated with machine parameters These variables associated with machine parameters are read-only variables. Refer to the installation and start-up manual to know the format of the values returned. The values of 1/0 correspond to the parameters that are set as YES/NO, +/- or ON/OFF.
  • Page 538: Variables Associated With Work Zones

    I n st a l l a t io n ma n u a l 13.5 Variables associated with work zones The values of the limits are given in the units set by general parameter INCHES. If, INCHES = 0, in ten-thousandths of a millimeter (±999999999). If INCHES = 1, in hundred-thousandths of an inch (±393700787).
  • Page 539 I n s t a l l a t i o n m a n u a l FOZUP(X-C) 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).
  • Page 540: Variables Associated With Feedrates

    I n st a l l a t io n ma n u a l 13.6 Variables associated with feedrates Read-only variables associated with the real (actual) feedrate FREAL It returns the CNC's real feedrate. It takes into account the feedrate override and the acc/dec of the machine.
  • Page 541 I n s t a l l a t i o n m a n u a l Read-only variables associated with function G95 FPREV It returns the feedrate selected at the CNC by function G95. In mm/turn or inches/turn. This feedrate may be indicated by program, by PLC or by DNC;...
  • Page 542 I n st a l l a t io n ma n u a l Read-write variables associated with the override PLCFRO It returns the feedrate override % currently selected by the PLC. If it has a value of 0 it means that it is not selected.
  • Page 543: Variables Associated With Coordinates

    I n s t a l l a t i o n m a n u a l 13.7 Variables associated with coordinates The values are given in the units set by general parameter INCHES. If, INCHES = 0, in ten-thousandths of a millimeter (±999999999). If INCHES = 1, in hundred-thousandths of an inch (±393700787).
  • Page 544 I n st a l l a t io n ma n u a l DPOS(X-C) The CNC updates this variable whenever probing operations G75, G76 and probing cycles PROBE and DIGIT are carried out. When the digital probe communicates with the CNC via infrared beams, there could be some delay (milliseconds) from the time the probe touches the part to the instant the CNC receives the probe signal.
  • Page 545: Variables Associated With Electronic Handwheels

    The screen always shows the value selected at the switch. HBEVAR CNC 8055 It must be used when having a Fagor HBE handwheel. CNC 8055i 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 546 It shows the selected axis in reverse video and the multiplying factor selected by the PLC. When the HBEVAR variable is set to "0", it shows the mode selected by the switch again. "7.15 Fagor handwheels: HBA, HBE and LGB" on page 376.
  • Page 547: Variables Associated With Feedback

    I n s t a l l a t i o n m a n u a l 13.9 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"...
  • Page 548: Variables Associated With The Main Spindle

    I n st a l l a t io n ma n u a l 13.10 Variables associated with the main spindle Variables associated with the real speed SREAL It returns the actual (real) turning speed of the main spindle. Its value is given in 0.0001 rpm units. FTEOS It returns the theoretical turning speed of the main spindle.
  • Page 549 I n s t a l l a t i o n m a n u a l PRGCSS It returns the constant surface speed selected by program. Its value is given in m/min or ft/min. Variables associated with the spindle override The variable PLCSSO is a read-write variable, the rest are read-only.
  • Page 550 I n st a l l a t io n ma n u a l Position related variables POSS Indicates the spindle travel considering the ±214748.3647 limit of the variable. Once the maximum is exceeded, it starts adding from the minimum. RPOSS It returns the real position of the main spindle.
  • Page 551: Variables Associated With The Second Spindle

    I n s t a l l a t i o n m a n u a l 13.11 Variables associated with the second spindle Variables associated with the real speed SSREAL It returns the actual (real) turning speed of the second spindle. Its value is given in 0.0001 rpm units. SFTEOS It returns the theoretical turning speed of the second spindle.
  • Page 552 I n st a l l a t io n ma n u a l SPRGCS It returns the constant surface speed selected by program. Its value is given in m/min or ft/min and it is 0 it means that it is not currently selected. Variables associated with the spindle override The variable SPLCSSO is a read-write variable, the rest are read-only.
  • Page 553 I n s t a l l a t i o n m a n u a l Position related read-only variables SPOSS It returns the real position of the second spindle. Its value is given in 0.0001 degree units within ±999999999º.
  • Page 554: Variables Associated With The Live Tool

    I n st a l l a t io n ma n u a l 13.12 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 555: Variables Associated With Local And Global Parameters

    I n s t a l l a t i o n m a n u a l 13.13 Variables associated with local and global parameters The CNC has two types of general purpose variables. These two variables may be used to read and write the following arithmetic parameters: •...
  • Page 556: Sercos Variables

    I n st a l l a t io n ma n u a l 13.14 Sercos variables They are used in the data exchange via Sercos between the CNC and the drives. Write variables SETGE(X-C) SETGES SSETGS The drive may have up to 8 gear ratios (0 through 7). Sercos identifier 218, GearRatioPreselection. I t m ay a l s o h ave u p t o 8 p a r a m e t e r s e t s ( 0 t h r o u g h 7 ) .
  • Page 557: Software & Hardware Configuration Variables

    I n s t a l l a t i o n m a n u a l 13.15 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.
  • Page 558 I n st a l l a t io n ma 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 559 I n s t a l l a t i o n m a n 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 560: Variables Associated With Telediagnosis

    I n st a l l a t io n ma n u a l 13.16 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 561 I n s t a l l a t i o n m a n u a l MEMTST It returns the result of the memory test. Each data uses 4 bits. The text is successful if the least significant bit of each data is set to 1. There is an error if the least significant bit of any data is other than 1.
  • Page 562: Operating-Mode Related Variables

    I n st a l l a t io n ma n u a l 13.17 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.
  • Page 563 I n s t a l l a t i o n 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.
  • Page 564 I n st a l l a t io n ma n u a l Read-only variables related to the conversational mode (MC, TC, MCO, TCO) and configurable mode M, T ([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.
  • Page 565 I n s t a l l a t i o n 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 566: Other Variables

    I n st a l l a t io n ma n u a l 13.18 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 567 I n s t a l l a t i o n 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 568 I n st a l l a t io n ma n 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 569 I n s t a l l a t i o n m a n u a l LONGAX This variable can only be used at the mill model. It returns the number according to the programming order corresponding to the longitudinal axis. This will be the one selected with the G15 function and by default the axis perpendicular to the active plane, if this is XY, ZX or YZ.
  • Page 570 I n st a l l a t io n ma n u a l FIRST Indicates whether it is the first time that a program has been run or not. It returns a value of 1 if it is the first time and 0 if not. A first-time execution is considered as being one which is done: •...
  • Page 571 Variable that can be read from the CNC, PLC and DNC for monitoring the difference between the position value of the first and second feedbacks on the oscilloscope with Fagor digital servo system. If the feedback difference exceeds the value set in axis parameter FBACKDIF (P100) the CNC will issue the corresponding error message.
  • Page 572 I n st a l l a t io n ma n u a l CYCEDI Variable that may be read from CNC, PLC and DNC that indicates (on the conversational model) the cycle or screen number according to the following list: Screen CYCEDI Standard screen...
  • Page 573 I n s t a l l a t i o n m a n u a l Cycle (milling model ·MC·) CYCEDI Cycle (lathe model ·TC·) CYCEDI Scaling factor cycle Cycle of work sets Coordinate system rotation cycle Cycle of labels and jumps Part centering cycle Mirror image cycle Plane change cycle...
  • Page 574 I n st a l l a t io n ma n u a l Read-and-write variables TIMER This variable allows reading or modifying the time, in seconds, indicated by the clock enabled by the PLC. Possible values 0..4294967295. The CNC will set this value to 0 when changing the software version or when a checksum error occurs.
  • Page 575 I n s t a l l a t i o n m a n u a l SELPRO When having two probe inputs, it allows selecting the active input. On power-up, it assumes the value of ·1· thus selecting the first probe input. To select the second probe input, set it to a value of ·2·.
  • Page 576 I n st a l l a t io n ma n u a l RCVCTRL Variable used to control reception. It has 7 bits that are counted from right (LSB) to left (MSB). This variable may be read and written from the CNC, from the PLC and from DNC. The following table shows the meaning of each bit: Meaning 0, 1...
  • Page 577 I n s t a l l a t i o n m a n u a l PRGN Returns the program number being executed. If none is selected, a value of -1 is returned. With the programs with letters, it returns a number calculated by the CNC for each program. EXECLEV New variable that indicates the EXEC level that is in execution at the time.
  • Page 578 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·578·...
  • Page 579 AXES CONTROLLED FROM THE The PLC offers actions CNCEX and CNCEX1 to send commands to the CNC. CNCEXsends commands to the CNC so it executes movements on one or several axes. CNCEX1sends commands to the CNC so it executes any kind of block. The CNCEX action is executed through the execution channel of the PLC.
  • Page 580: Plc Execution Channel

    I n st a l l a t io n ma n u a l 14.1 PLC execution channel The CNC offers a parallel execution channel to execute commands received from the PLC. This channel will have its own history and it permits the execution of blocks programmed from the PLC regardless of the operating mode being selected at the CNC at the time.
  • Page 581: Considerations

    I n s t a l l a t i o n m a n u a l 14.1.1 Considerations Graphic editor The axis parameter AXISTYPE of each axis of the machine must be set properly indicating whether that axis is controlled by the CNC or from the PLC. The axes of the PLC channel can only be governed from the PLC.
  • Page 582 I n st a l l a t io n ma n u a l Errors during execution When the CNC detects an execution error in one of the two execution channels (for example, travel limit overrun), it will show the corresponding error code. If it must also stop the movement of the axes and the spindle rotation, the CNC will stop the movement of all the axes regardless of whether they are controlled from the CNC or the PLC.
  • Page 583: Blocks Which Can Be Executed From The Plc

    I n s t a l l a t i o n m a n u a l 14.1.2 Blocks which can be executed from the PLC It is possible to execute blocks that contain G codes, axis position values, feedrates, M functions and high level language programming.
  • Page 584 I n st a l l a t io n ma n u a l When using parametric programming, it is recommended to previously assign a value to the corresponding global parameter by means of the instruction: CNCWR..= MOV 150 R1 Assigns the value of 150 to register R1.
  • Page 585 I n s t a l l a t i o n m a n u a l Blocks programmed in high-level language The high-level instructions that can be used in the PLC execution channel are: (IF condition <action1> ELSE <action2>) (CALL (expression)) CNCEX ((CALL 100), M1000) Sends the (CALL 100) command to the CNC so it executes (calls) subroutine 100...
  • Page 586 I n st a l l a t io n ma n u a l Auxiliary M functions The M functions programmed in the PLC channel may be defined in the M function table. In the PLC channel, the following functions cannot be programmed: M0, M1, M2, M3, M4, M5, M6, M19, M30, M41, M42, M43, M44 and M45.
  • Page 587: Control Of The Plc Program From The Cnc

    I n s t a l l a t i o n m a n u a l 14.1.3 Control of the PLC program from the CNC The section of the PLC program regarding the "axes controlled from the PLC" can be controlled from the CNC itself.
  • Page 588 I n st a l l a t io n ma n u a l Subroutine SUB1 can be programmed as follows: (SUB 1) (P100 = G, P101 = U, P102 = F) Data transfer to global parameters. (PLCM1000 = PLCM1000 OR 1) Execution command for the PLC.
  • Page 589: Action Cncex1

    I n s t a l l a t i o n m a n u a l 14.2 Action CNCEX1 The CNCEX1 action is executed via main channel of the CNC and as long as the JOG keyboard is enabled. Its execution can be interrupted by pressing [CYCLE STOP] or even canceled by pressing [RESET].
  • Page 590: Synchronize A Plc Axis With A Cnc Axis

    I n st a l l a t io n ma n u a l 14.3 Synchronize a PLC axis with a CNC axis The synchronization is carried out from the PLC. Previously, to synchronize an axis of the PLC channel with another one of the CNC channel (main channel), set axis parameter SYNCHRO (P3) of the PLC axis indicating which axis it must synchronize with.
  • Page 591 (3) display a completely different screen in contents and looks. All of them use OEM screens that have been created on a PC using the Fagor WINDRAW55 application software and have been sent out to the CNC using the Fagor WinDNC application software.
  • Page 592 When having several images, the order of priorities will be the following: 000.jpg, 000.jpeg, 000.JPG, 000.JPEG 000.png, 000.PNG 000.pan Fagor standard start-up (home) screen. Compatibilities: The modular CNC8055 does not display PNG and JPG type graphic elements. WinDNC: For the management of PNG and JPG graphical elements, WinDNC Version 6.02 must be used. This process is not possible with previous WinDNC versions.
  • Page 593: Configuration File

    I n s t a l l a t i o n m a n u a l 15.1 Configuration file It is a program which describes the operating characteristics of the graphic elements of the screen. Set general parameter "CFGFILE (127)" with the number of the program for the configuration file: The configuration file is a CNC program edited in high level language (configuration language) which is described later on.
  • Page 594 I n st a l l a t io n ma n u a l [JOGFLW] JOG mode - Following error [STD] [POS] Execution mode - Standard Execution mode - Position [FLW] Execution mode - Following error [PRG] [SUB] Execution mode - Program Execution mode - Subroutines CNC 8055 CNC 8055i...
  • Page 595: Configuration Language

    I n s t a l l a t i o n m a n u a l 15.2 Configuration language The general characteristics of the configuration language are: • All instructions are preceded by ";" and enclosed in parenthesis. •...
  • Page 596: Key Words

    I n st a l l a t io n ma n u a l 15.3 Key words ;(PRGSCRIPT 1) ;(PRGSCRIPT 2) Header of the configuration file and version used to edit it. It must always be defined. ;(PRGSCRIPT 1) Version 1.
  • Page 597 CNC 8055i ;(WGDWIN 201) It must ALWAYS be defined. It indicates the number of the OEM screen to be overlapped, edited with the Fagor WINDRAW55 application software. : V02.2 ;(W1=GUP100) Associates the value of a global parameter with the (W) data.
  • Page 598 I n st a l l a t io n ma n u a l ;(W2=PLCFRO) Associates the value of a variable with the (W) data. ;(W3=PLCR127) Associates the value of a PLC resource with the (W) data. A register ;(W6=PLCR127) A mark ;(W6=PLCM1000,1)
  • Page 599 I n s t a l l a t i o n m a n u a l ;(FORMAT W8,LEDBARDEC) It must be used with Ledbar type (W) data that have a decimal variable associated with them. (For example: X axis following error). The values assigned, at the PLC, to the end and intermediate values of a LEDBAR element must be integer values and must be related to the variable associated at the CNC.
  • Page 600: Arithmetic Operations

    I n st a l l a t io n ma n u a l 15.4 Arithmetic operations Math operations are only available in version 2 of the configuration language. With math operations (arithmetic, trigonometric, logic, etc.) it is possible to assign to a "widget" element the result of several operations taking CNC variables, PLC resources, constants, etc.
  • Page 601 I n s t a l l a t i o n m a n u a l Other functions: absolute value. GUP101=ABS(-8) GUP101=8 decimal logarithm. GUP102=LOG(100) GUP102=2 SQRT square root. GUP103=SQRT(16) GUP103=4 ROUND rounding up an integer number. GUP104=ROUND(5.83) GUP104=6 FLOOR It rounds down.
  • Page 602: Conditional Instructions

    I n st a l l a t io n ma n u a l 15.5 Conditional instructions. Conditional instructions are only available in version 2 of the configuration language. These instructions may be used to have (IF...ELSE…) type structures that depending on particular conditions (PLC resources, etc.) it will be possible to do the following: •...
  • Page 603: Example Of A Configuration File

    I n s t a l l a t i o n m a n u a l 15.6 Example of a configuration file ;(PRGSCRIPT 1) Header ;;=============================================== Screen (201) in JOG mode - Actual ;;=============================================== Comment ;[JOG],PLCM1125 To show the "JOG mode - Actual" screen when mark M1125=1 ;(DEBUG) Starting at this line, program 999500 keeps a log of the errors originated when debugging the configuration file.
  • Page 604 I n st a l l a t io n ma n u a l The graphic element W11 will always show the selected % of spindle speed override. ;;-------------------- Tool and offset (T, D) ;(AUTOREFRESH W12=TOOL) The graphic element W12 will always show the number of the selected tool. ;(AUTOREFRESH W13=TOD) The graphic element W10 will always show the number of the selected tool offset.
  • Page 605: Error Log File (P999500)

    I n s t a l l a t i o n m a n u a l 15.7 Error log file (P999500) Every time a customized screen is accessed, the CNC checks the section of that screen in the configuration file.
  • Page 606 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·606·...
  • Page 607 CONFIGURABLE WORK MODE The CNC offers a work mode that may be configured by the machine manufacturer. The basic screen provided by Fagor permits controlling the axes, the tool and the spindle. In the configurable work mode, the manufacturer (OEM) can: •...
  • Page 608 The window provided by Fagor shows the axis feedrate (F) currently selected and the % of F being applied. The window provided by Fagor shows the tool number (T) and the tool offset (D). If the tool number and offset number are the same, the CNC will not show the "D" value.
  • Page 609: Axis Control

    I n s t a l l a t i o n m a n u a l 16.1 Axis control When accessing the customizable mode, the CNC assumes the work units "mm or inches", "radius or diameters", "mm/min. or mm/rev", etc. selected by machine parameter. Coordinate preset It must be done on one axis at a time and proceeding as follows: Value...
  • Page 610: Tool Control

    I n st a l l a t io n ma n u a l 16.2 Tool control To select another tool, press: Value The CNC will manage the tool change and the T model updates its graphic representation. Another offset may be assigned to the tool temporarily without modifying the one associated with it. To access the "D"...
  • Page 611: Spindle Control

    I n s t a l l a t i o n m a n u a l 16.3 Spindle control The CNC displays the following information: Real spindle speed in rpm. Theoretical spindle speed in rpm or m/min (ft/min) when working at Constant Surface Speed (CSS).
  • Page 612 I n st a l l a t io n ma n u a l 16.4 To use the MDI option in this work mode, send the key code "$F01E (61470)" from the PLC to the CNC. In the next example, there is an external push button connected to input I13 and the MDI mode is activated every time this button is pressed or when pressing a free key of the front panel.
  • Page 613: Screens, Subroutines And Cycles

    16.5 Screens, subroutines and cycles User Fagor’s WINDRAW55 (PC based) application to define the screens Screens 201 through 255 must be used to customize the screens already stored at the CNC. Screens 001 through 200 may be used to create new screens for diagnosis, variable consultation, setup, adjustments, device control, OEM canned cycles, etc.
  • Page 614: Associated Keys

    I n st a l l a t io n ma n u a l 16.6 Associated keys Screens 001 through 200 are grouped in 20 groups. Keys F1 through F7 allow direct access to the first 7 groups; the rest of the grops are accessed by sending a key code from the PLC. Each group has 10 different levels or screens.
  • Page 615 I n s t a l l a t i o n m a n u a l Example. It has screens 1, 21, 41, 2 and 22. Press F1. it shows screen 1. It sends the level key code. it shows screen 21.
  • Page 616: Oem Text In Several Languages

    If any of these texts is in Russian or mainland Chinese, the file format must be converted from Unicode to a special Unicode customized for the Fagor CNC. Use WinDNC to do this conversion. Converting standard Unicode files into Fagor Unicode format requires WinDNC version 5.1. This conversion is not possible with previous WinDNC versions.
  • Page 617 I n s t a l l a t i o n m a n u a l The language number is indicated after the label and separated by a comma "," the same number used by general parameter LANGUAGE (P122): (0) English ;[PLCMSG],0 (1) Spanish...
  • Page 618 I n st a l l a t io n ma n u a l • Texts associated with screens and symbols generated with program Draw55. Key in the text and press ENTER. Assign to it the number of one of the internal CNC texts. Assign to it the number of one of the OEM texts defined in the [OEMMSG] group.
  • Page 619: Associated Programs

    I n s t a l l a t i o n m a n u a l 16.8 Associated programs Programs P900000 through P999999 are reserved for the CNC itself; in other words, the user cannot use them as part-programs. Some have a special meaning and must be used by the machine manufacturer (OEM).
  • Page 620: Associated Subroutines

    I n st a l l a t io n ma n u a l 16.9 Associated subroutines Subroutines 0000 through 8999 are free to use and subroutines 9000 through 9999 are reserved for customizing the CNC. It is recommended to define all the OEM subroutines in a program with a high number to prevent the user from modifying them.
  • Page 621: Configuration File

    I n s t a l l a t i o n m a n u a l 16.10 Configuration file The configuration file is a CNC file written in high-level language (configuration language) that describes the operating characteristics of the various screen elements. There is a configuration file for each screen.
  • Page 622 I n st a l l a t io n ma n u a l ;(TEACHIN W5=POSX) Permits assigning the value of a CNC variable to the data. In this case, While the W5 data is selected, when pressing the Recall key, W5 will show the variable of POSX (X axis position).
  • Page 623 I n s t a l l a t i o n m a n u a l If a field (W) has a parameter, variable or resource associated with it, it acts as follows: • It assumes the value that its associate has when accessing the page. To continuously update the field value, use the (AUTOREFRESH) instruction as described later •...
  • Page 624 I n st a l l a t io n ma n u a l The resulting new instructions are: ;(UNMODIFIED W1=GUP170) Associates the value of a global parameter, variable or resource of the PLC with the (W1) data. The W1 item of the screen pick ups the editing focus. ;(UNMODIFIED AUTOREFRESH W6=FLWEX) It refreshes (updates) the value of the graphic element (item) W6, but it does not assign the editing focus to it.
  • Page 625: Error Log File (P999500)

    I n s t a l l a t i o n m a n u a l 16.11 Error log file (P999500) There is a configuration file for each screen. P999001 corresponds to screen 001, P999002 to 002 and so on up to P999200 that corresponds to screen 200. The CNC checks these programs when accessing each screen for the first time.
  • Page 626: Cycle Data Entry

    I n st a l l a t io n ma n u a l 16.12 Cycle data entry Once the cycle has been selected, the CNC shows the relevant screen. It may have a blue frame at the top right indicating the current status of the machine. Coordinates and machining conditions: One of the data that define the cycle will be highlighted indicating that it is selected.
  • Page 627 I n s t a l l a t i o n m a n u a l Select one of the representations in an icon It is used to select an icon in a multiple representation of WINDRAW55. Press the key or send the key code $F01D (61469) from the PLC to the CNC until the desired icon or text appears.
  • Page 628 I n st a l l a t io n ma n u a l 16.13 Example. Consult inputs and outputs It uses the 005 screen. The data shown by this screen have the following identifier (W). Inputs I1 through I30 W1 through W30 Outputs O1 through O30 W31 through W60...
  • Page 629 I n s t a l l a t i o n m a n u a l 16.14 Example. Machining canned cycle It uses the 001 screen. The data shown by this screen have the following identifier (W). The data that the user may edit in this cycle have the W identifier, the number associated with each one indicates the order in which they are selected (W1, W2, etc.).
  • Page 630 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·630·...
  • Page 631 PLC PROGRAMMING EXAMPLE It is a three-axes machine (X, Y, Z) having a spindle with two speed ranges. The PLC, besides controlling the 3 axes and the spindle, is in charge of lubricating the axes as well as turning the coolant on and off. CNC configuration The PLC has 512 inputs and 512 outputs.
  • Page 632: Definition Of Symbols (Mnemonics)

    I n st a l l a t io n ma n u a l 17.1 Definition of symbols (mnemonics) It is a possible to associate a symbol (name) to any PLC resource. It may have up to 8 characters so long as the name does not coincide with any of the reserved instructions.
  • Page 633 I n s t a l l a t i o n m a n u a l Used in: Coolant treatment. I-COOLMA The operator control the coolant. Jog mode. I-COOLAU The CNC controls the coolant. Automatic mode. O-COOL Coolant output Used in: Spindle turning control.
  • Page 634: First Cycle Module

    I n st a l l a t io n ma n u a l 17.2 First cycle module. ( ) = ERA O1 512 = ERA C1 256 = ERA T1 256 = ERA R1 256 = ERA M1 2000 ( ) = ERA M4000 4127 = ERA M4500 4563 = ERA M4700 4955 Initializes all PLC resources to low logic level "0".
  • Page 635 I n s t a l l a t i o n m a n u a l 17.3 Main module. ---- Basic and necessary programming ---- ( ) = /STOP Permission to execute the part-program ( ) = /FEEDHOL Permission to move the axes ( ) = /XFERINH Permission to execute the next block...
  • Page 636 I n st a l l a t io n ma n u a l ----- Treatment of the machine reference (home) switches ----- I-REF0X = DECEL1 I-REF0Y = DECEL2 I-REF0Z = DECEL3 ----- Message treatment ----- The PLC allows displaying the corresponding PLC message at the CNC screen by activating marks MSG1 through MSG255.
  • Page 637 I n s t a l l a t i o n m a n u a l This example SETs the auxiliary marks so they can be analyzed later. Once analyzed, they must be RESet so that the PLC does not analyze them again on the next cycle (scan). DFU MSTROBE AND CPS MBCD* EQ $0 = RES M-08 DFU MSTROBE AND CPS MBCD* EQ $2 = RES M-08 Functions M00 and M02 cancel the coolant (M08).
  • Page 638 I n st a l l a t io n ma n u a l ----- Treatment of spindle gear change ----- The spindle in this example has two gears (high and low). To perform a gear change, proceed as follows: •...
  • Page 639 I n s t a l l a t i o n m a n u a l I-GEAR1 = GEAR1 I-GAMA2 = GEAR2 The corresponding CNC logic input (GEAR1, GEAR2) must be activated to confirm the gear change. ----- Lubrication of the machine ways ----- In this example, the machine axes are lubricated in the following instances: •...
  • Page 640 I n st a l l a t io n ma n u a l C N C R D ( M P L C 1 2 , R 3 1 , M 3 0 2 ) C N C R D ( M P L C 1 3 , R 3 2 , M 3 0 2 ) CNCRD(MPLC14,R33,M302) Assigns to registers R31, R32 and R33 the values of PLC parameters USER12 (P14), "USER13 (P15) and USER14 (P16).
  • Page 641 I n s t a l l a t i o n m a n u a l NOT T1 AND NOT M-41 AND NOT M-42 = AUXEND Input AUXEND will remain low while: • The "Treatment of the MSTROBE, TSTROBE, STROBE signals" is in progress (timer T1 active) •...
  • Page 642 I n st a l l a t io n ma n u a l = MOV ENTER KEYCODE = SET SENDKEY ...and the code for the "ENTER" key is sent out. M124 AND ENVIOK = RES M124 = RES ENVIOK = SET M125 If the previous key was sent out successfully (SENTOK), flags M124 and SENTOK will be turned off, the flag for the next stage (M125) is activated ..
  • Page 643 I n s t a l l a t i o n m a n u a l APPENDIX A. Technical characteristics of the 8055iCNC ..........645 B. Central unit of the 8055 CNC ..............649 C. 11" LCD Monitor..................653 D.
  • Page 645: Technical Characteristics Of The 8055Icnc

    I n s t a l l a t i o n m a n u a l TECHNICAL CHARACTERISTICS OF THE 8055iCNC The machine manufacturer must comply with the EN 60204-1 (IEC-204-1) standard in terms of protection against electrical shock due to faulty contacts with external power supply. This unit MUST NOT be opened by unauthorized personnel.
  • Page 646 When running 10-50 Hz amplitude 0.2 mm (1g). : V02.2 While being shipped 10-50 Hz amplitude 1 mm (5g). Free fall of packaged unit under Fagor ruling 1m. Electromagnetic compatibility and safety Refer to the section on safety conditions in the introduction of this manual.
  • Page 647 I n s t a l l a t i o n m a n u a l Protection degree Central unit: IP54 for the front panel and IP2X for the rear panel. Accessible parts inside: IP1X. Operator panel: IP54. Battery 3.5 V lithium battery Estimated life: 3 years...
  • Page 648 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·648·...
  • Page 649: Central Unit Of The 8055 Cnc

    In duty cycle 10-50 Hz amplitude 0.2 mm. While being shipped 10-50 Hz amplitude 1 mm, 50-300 Hz 5g acceleration. Free fall of packaged unit under Fagor ruling 1m. Electromagnetic compatibility and safety Refer to the section on safety conditions in the introduction of this manual.
  • Page 650 I n st a l l a t io n ma n u a l Memory: 135 kb. Programming in mnemonics. 1 millisecond time unit. 512 inputs. 512 outputs. 3999 user marks. 499 32-bit registers. 256 32-bit counters. 512 32-bit timers. –...
  • Page 651 I n s t a l l a t i o n m a n u a l Maximum rated voltage +30 Vdc. Minimum rated voltage +18 Vdc. High threshold (logic level "1") V : From +18 V DC on. Low threshold (logic level "0") V : Under +5 Vdc or not connected.
  • Page 652 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·652·...
  • Page 653: Lcd Monitor

    I n s t a l l a t i o n m a n u a l 11" LCD MONITOR The machine manufacturer must comply with the EN 60204-1 (IEC-204-1) standard in terms of protection against electrical shock due to faulty contacts with external power supply. This unit MUST NOT be opened by unauthorized personnel.
  • Page 654 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·654·...
  • Page 655: Probe Connection At The 8055I

    I n s t a l l a t i o n m a n u a l PROBE CONNECTION AT THE 8055i The CNC has two probe inputs (of 5Vdc and 24Vdc) at connector X3. Depending on the type of connection applied the general parameter "PRBPULSE" (P39) must be set, indicating whether it operates with the leading edge or trailing edge of the signal which the probe provides.
  • Page 656 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·656·...
  • Page 657: Probe Connection At The 8055 Cnc

    I n s t a l l a t i o n m a n u a l PROBE CONNECTION AT THE 8055 CNC -Vpp axes and –Vpp SB Axes– module The CNC has two probe inputs (of 5Vdc and 24Vdc) at connector X7 of the –Vpp Axes– module and the -Vpp SB- module.
  • Page 658 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·658·...
  • Page 659: Summary Of Internal Cnc Variables

    I n s t a l l a t i o n 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 660 I n st a l l a t io n ma n u a l Variables associated with function G49 Variables associated with the definition of function G49. section 13.3 Variable ORGROX X coordinate of the new part zero with respect to home. ORGROY Y coordinate of the new part zero with respect to home.
  • Page 661 I n s t a l l a t i o n m a n u a l Variables associated with function G94. FEED Active feedrate at the CNC in mm/min or inch/min. DNCF R/W Feedrate selected via DNC. PLCF Feedrate selected via PLC.
  • Page 662 I n st a l l a t io n ma n u a l Feedback related variables. section 13.9 Variable ASIN(X-C) A signal of the CNC's sinusoidal feedback for the selected axis. BSIN(X-C) B signal of the CNC's sinusoidal feedback for the selected axis. ASINS "A"...
  • Page 663 I n s t a l l a t i o n m a n u a l Variables associated with the second spindle. section 13.11 Variable SSREAL Real spindle speed. SFTEOS Theoretical spindle speed. Variables associated with spindle speed. SSPEED Active spindle speed at the CNC.
  • Page 664 I n st a l l a t io n ma n u a l PLC related variables. Variable PLCMSG Number of the active PLC message with the highest priority. PLCIn 32 PLC inputs starting from (n). PLCOn 32 PLC outputs starting from (n). PLCMn 32 PLC marks starting from (n).
  • Page 665 I n s t a l l a t i o n m a n u a l Operating-mode related variables. section 13.17 Variable OPMODE Operation mode. OPMODA Operating mode when working in the main channel. OPMODB Type of simulation. OPMODC Axes selected by handwheel.
  • Page 666 I n st a l l a t io n ma n u a l section 13.18 Variable TANGAN Angular position with respect to the path (G45). TPIOUT(X-C) Output of the PI of the tandem master axis in rpm. DNCSTA DNC transmission status.
  • Page 667: Summary Of Plc Commands

    I n s t a l l a t i o n m a n u a l SUMMARY OF PLC COMMANDS PLC Resources Inputs: I 1/512 Outputs: O 1/512 User marks: M 1/2000 and 2049/3999 Arithmetic flag marks: M 2003 Clock marks: M 2009/2024 Fixed status marks:...
  • Page 668 I n st a l l a t io n ma n u a l Simple consulting instructions 1/512 Inputs 1/512 Outputs 1/5957 Marks 1/512 Timers 1/256 Counters 0/31 R 1/499 Register bit Flank detecting consulting instructions DFU (Up flank detection) I 1/512 DFD (Down flank detection) O 1/512...
  • Page 669 I n s t a l l a t i o n m a n u a l Sequence breaking action instructions = JMP L 1/256 Unconditional jump. = RET Return or end of subroutine. = CAL L 1/256 Call to subroutine. Arithmetic action instructions = MOV Transfers the logic states of the indicated source to the indicated destination.
  • Page 670 I n st a l l a t io n ma n u a l Logic action instructions = AND Logic AND operation between register contents or between a number and a register content. = OR Logic OR operation between register contents or between a number and a register content. = XOR Logic XOR operation between register contents or between a number and a register content.
  • Page 671: Summary Of Plc Inputs And Outputs

    I n s t a l l a t i o n m a n u a l SUMMARY OF PLC INPUTS AND OUTPUTS General logic inputs. /EMERGEN M5000 Stops the axes and the spindle. Displays the error. /STOP M5001 Stops execution of the part program, maintaining spindle rotation.
  • Page 672 I n st a l l a t io n ma n u a l ACTGAINT M5063 Indicates that the CNC assumes the 3rd set of gains. SKIPCYCL M5064 Go to the next hole after drilling or mill type threading withdrawal. RETRACYC M5065 It indicates tha the Z axis has stopped before starting the withdrawal.
  • Page 673 I n s t a l l a t i o n m a n u a l Spindle logic inputs. Main Second LIMIT+S M5450 LIMIT+S2 M5475 Travel limit overrun. Stops the axes and the spindle. Displays the error. LIMIT -S M5451 LIMIT -S2 M5476...
  • Page 674 I n st a l l a t io n ma n u a l General logic outputs. CNCREADY M5500 CNC without errors. START M5501 The CYCLE START key of the front panel has been pressed. FHOUT M5502 Indicates that program execution has been interrupted. RESETOUT M5503 Indicates that the CNC is set to initial conditions.
  • Page 675 I n s t a l l a t i o n m a n u a l DM08 M5540 The coolant output has been activated (M08). DM09 M5555 The coolant output has been canceled (M09). DM19 M5554 A block with spindle stop has been executed (M19). DM30 M5553 The program concluded after executing the auxiliary M30 function.
  • Page 676 I n st a l l a t io n ma n u a l Logic outputs of the auxiliary spindle DRSTAFAS M5557 With Sercos. They indicate servo drive status. DRSTASAS M5556 Auxiliary M, S, T function transfer. MBCD1 R550 Auxiliary M function to be executed in the main channel.
  • Page 677: Digit Bcd Code Output Conversion Table

    I n s t a l l a t i o n m a n u a l 2-DIGIT BCD CODE OUTPUT CONVERSION TABLE Programmed Programmed Programmed 50-55 800-899 56-62 900-999 63-70 1000-1119 71-79 1120-1249 80-89 1250-1399 90-99 1400-1599 100-111 1600-1799 112-124 1800-1999...
  • Page 678 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·678·...
  • Page 679: Key Code

    I n s t a l l a t i o n m a n u a l KEY CODE Alphanumeric keyboard and monitor (M-T models) CNC 8055 CNC 8055i : V02.2 ·679·...
  • Page 680 I n st a l l a t io n ma n u a l Alphanumeric operator panel (M-T models) CNC 8055 CNC 8055i : V02.2 ·680·...
  • Page 681 I n s t a l l a t i o n m a n u a l MC operator panel CNC 8055 CNC 8055i : V02.2 ·681·...
  • Page 682 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·682·...
  • Page 683 I n s t a l l a t i o n m a n u a l TC operator panel CNC 8055 CNC 8055i : V02.2 ·683·...
  • Page 684 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·684·...
  • Page 685 I n s t a l l a t i o n m a n u a l MCO/TCO operator panel CNC 8055 CNC 8055i : V02.2 ·685·...
  • Page 686 I n st a l l a t io n ma n u a l Alphanumeric keyboard CNC 8055 CNC 8055i : V02.2 ·686·...
  • Page 687 I n s t a l l a t i o n m a n u a l 11" LCD Monitor CNC 8055 CNC 8055i : V02.2 ·687·...
  • Page 688 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·688·...
  • Page 689: Logic Outputs Of Key Status

    I n s t a l l a t i o n m a n u a l LOGIC OUTPUTS OF KEY STATUS Alphanumeric keyboard and monitor (M-T models) CNC 8055 CNC 8055i : V02.2 ·689·...
  • Page 690 I n st a l l a t io n ma n u a l Alphanumeric operator panel (M-T models) CNC 8055 CNC 8055i : V02.2 ·690·...
  • Page 691 I n s t a l l a t i o n m a n u a l MC operator panel CNC 8055 CNC 8055i : V02.2 ·691·...
  • Page 692 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·692·...
  • Page 693 I n s t a l l a t i o n m a n u a l TC operator panel CNC 8055 CNC 8055i : V02.2 ·693·...
  • Page 694 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·694·...
  • Page 695 I n s t a l l a t i o n m a n u a l MCO/TCO operator panel CNC 8055 CNC 8055i : V02.2 ·695·...
  • Page 696 I n st a l l a t io n ma n u a l Alphanumeric keyboard CNC 8055 CNC 8055i : V02.2 ·696·...
  • Page 697 I n s t a l l a t i o n m a n u a l 11" LCD Monitor R563 R563 R563 R563 R563 R563 R563 CNC 8055 CNC 8055i : V02.2 ·697·...
  • Page 698 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·698·...
  • Page 699: Key Inhibiting Codes

    I n s t a l l a t i o n m a n u a l KEY INHIBITING CODES Alphanumeric keyboard and monitor (M-T models) CNC 8055 CNC 8055i : V02.2 ·699·...
  • Page 700 I n st a l l a t io n ma n u a l Alphanumeric operator panel (M-T models) CNC 8055 CNC 8055i : V02.2 ·700·...
  • Page 701 I n s t a l l a t i o n m a n u a l MC operator panel CNC 8055 CNC 8055i : V02.2 ·701·...
  • Page 702 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·702·...
  • Page 703 I n s t a l l a t i o n m a n u a l TC operator panel CNC 8055 CNC 8055i : V02.2 ·703·...
  • Page 704 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·704·...
  • Page 705 I n s t a l l a t i o n m a n u a l MCO/TCO operator panel CNC 8055 CNC 8055i : V02.2 ·705·...
  • Page 706 I n st a l l a t io n ma n u a l Alphanumeric keyboard CNC 8055 CNC 8055i : V02.2 ·706·...
  • Page 707 I n s t a l l a t i o n m a n u a l 11" LCD Monitor CNC 8055 CNC 8055i : V02.2 ·707·...
  • Page 708 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·708·...
  • Page 709: Machine Parameter Setting Chart

    I n s t a l l a t i o n m a n u a l MACHINE PARAMETER SETTING CHART General machine parameters P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158...
  • Page 710 I n st a l l a t io n ma n u a l _______ axis machine parameters P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109 P159 P110 P160 P111 P161...
  • Page 711 I n s t a l l a t i o n m a n u a l _______ axis machine parameters P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109 P159 P110...
  • Page 712 I n st a l l a t io n ma n u a l _______ axis machine parameters P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109 P159 P110 P160 P111 P161...
  • Page 713 I n s t a l l a t i o n m a n u a l _______ axis machine parameters P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109 P159 P110...
  • Page 714 I n st a l l a t io n ma n u a l _______ axis machine parameters P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109 P159 P110 P160 P111 P161...
  • Page 715 I n s t a l l a t i o n m a n u a l _______ axis machine parameters P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109 P159 P110...
  • Page 716 I n st a l l a t io n ma n u a l _______ axis machine parameters P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109 P159 P110 P160 P111 P161...
  • Page 717 I n s t a l l a t i o n m a n u a l Machine parameters for the main spindle P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109...
  • Page 718 I n st a l l a t io n ma n u a l Machine parameters for the second spindle P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109 P159 P110 P160...
  • Page 719 I n s t a l l a t i o n m a n u a l Machine parameters for auxiliary spindle P100 P150 P101 P151 P102 P152 P103 P153 P104 P154 P105 P155 P106 P156 P107 P157 P108 P158 P109 P159...
  • Page 720 I n st a l l a t io n ma n u a l Machine parameters for serial line Ethernet machine parameters PLC machine parameters CNC 8055 CNC 8055i : V02.2 ·720·...
  • Page 721: M Functions Setting Chart

    I n s t a l l a t i o n m a n u a l M FUNCTIONS SETTING CHART Setting bits Setting bits Associated Associated M function M function subroutine subroutine 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CNC 8055 CNC 8055i...
  • Page 722 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·722·...
  • Page 723: Leadscrew Error Compensation Table

    I n s t a l l a t i o n m a n u a l LEADSCREW ERROR COMPENSATION TABLE Axis _______ Axis _______ Point Position Error Error (-) Point Position Error Error (-) Axis _______ Axis _______ Point Position Error...
  • Page 724 I n st a l l a t io n ma n u a l Axis _______ Axis _______ Point Position Error Error (-) Point Position Error Error (-) Axis _______ Axis _______ Point Position Error Error (-) Point Position Error Error (-) CNC 8055...
  • Page 725: Cross Compensation Tables

    I n s t a l l a t i o n m a n u a l CROSS COMPENSATION TABLES MOVAXIS COMPAXIS (P32) (P33) Moving axis _____ Axis to be compensated _____ Point Position Error Point Position Error MOVAXIS COMPAXIS (P55) (P56)
  • Page 726 I n st a l l a t io n ma n u a l MOVAXIS COMPAXIS (P58) Moving axis _____ (P59) Axis to be compensated _____ Point Position Error Point Position Error CNC 8055 CNC 8055i : V02.2 ·726·...
  • Page 727: 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 728 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·728·...
  • Page 729 I n s t a l l a t i o n m a n u a l CNC 8055 CNC 8055i : V02.2 ·729·...
  • Page 730 I n st a l l a t io n ma n u a l CNC 8055 CNC 8055i : V02.2 ·730·...
  • Page 732 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...

Table of Contents