It is up to the machine manufacturer to make sure that the safety of the machine
is enabled in order to prevent personal injury and damage to the CNC or to the
products connected to it. On start-up and while validating CNC parameters, it
checks the status of the following safety elements. If any of them is disabled, the
CNC shows a warning message.
• Feedback alarm for analog axes.
• Software limits for analog and sercos linear axes.
• Following error monitoring for analog and sercos axes (except the spindle)
both at the CNC and at the drives.
• Tendency test on analog axes.
FAGOR AUTOMATION shall not be held responsible for any personal injuries or
physical damage caused or suffered by the CNC resulting from any of the safety
elements being disabled.
HARDWARE EXPANSIONS
FAGOR AUTOMATION shall not be held responsible for any personal injuries or
physical damage caused or suffered by the CNC resulting from any hardware
manipulation by personnel unauthorized by Fagor Automation.
If the CNC hardware is modified by personnel unauthorized by Fagor Automation,
it will no longer be under warranty.
COMPUTER VIRUSES
FAGOR AUTOMATION guarantees that the software installed contains no
computer viruses. It is up to the user to keep the unit virus free in order to
guarantee its proper operation.
Computer viruses at the CNC may cause it to malfunction. An antivirus software
is highly recommended if the CNC is connected directly to another PC, it is part
of a computer network or floppy disks or other computer media is used to transmit
data.
FAGOR AUTOMATION shall not be held responsible for any personal injuries or
physical damage caused or suffered by the CNC due a computer virus in the
system.
If a computer virus is found in the system, the unit will no longer be under warranty.
All rights reserved. No part of this documentation may be transmitted,
transcribed, stored in a backup device or translated into another language
without Fagor Automation’s consent. Unauthorized copying or distributing of this
software is prohibited.
The information described in this manual may be changed due to technical
modifications. Fagor Automation reserves the right to make any changes to the
contents of this manual without prior notice.
All the trade marks appearing in the manual belong to the corresponding owners.
The use of these marks by third parties for their own purpose could violate the
rights of the owners.
It is possible that CNC can execute more functions than those described in its
associated documentation; however, Fagor Automation does not guarantee the
validity of those applications. Therefore, except under the express permission
from Fagor Automation, any CNC application that is not described in the
documentation must be considered as "impossible". In any case, Fagor
Automation shall not be held responsible for any personal injuries or physical
damage caused or suffered by the CNC if it is used in any way other than as
explained in the related documentation.
The content of this manual and its validity for the product described here has been
verified. Even so, involuntary errors are possible, thus no absolute match is
guaranteed. Anyway, the contents of the manual is periodically checked making
and including the necessary corrections in a future edition. We appreciate your
suggestions for improvement.
The examples described in this manual are for learning purposes. Before using
them in industrial applications, they must be properly adapted making sure that
the safety regulations are fully met.
Programming manual
INDEX
About the product ......................................................................................................................... 9
Declaration of conformity............................................................................................................ 13
Version history............................................................................................................................ 15
22.26 Variables related to the machine configuration............................................................ 574
22.27 Variables related to volumetric compensation. ............................................................ 582
22.28 Variables associated with the Mechatrolink bus. ........................................................ 583
22.29 Variables related to synchronized switching. ............................................................... 585
22.30 PWM related variables................................................................................................. 586
22.31 Variables related to cycle time. .................................................................................... 588
22.32 Variables associated with the feedback inputs for analog axes................................... 590
22.33 Variables associated with the analog inputs and outputs. ........................................... 592
22.34 Variables associated with the velocity command and the feedback of the drive. ........ 593
22.35 Variables related to the change of gear and set of the Sercos drive. .......................... 595
22.36 Variables related to loop adjustment............................................................................ 596
22.37 Variables related to the loop of the axis or of the tandem spindle. .............................. 604
22.38 Variables related to user tables (zero offset table). ..................................................... 606
22.39 Variables related to user tables (fixture table). ............................................................ 611
22.40 Variables related to user tables (arithmetic parameters table). ................................... 613
22.41 Variables related to the position of the axes. ............................................................... 617
22.42 Variables related to spindle position. ........................................................................... 623
22.43 Feedrate related variables. .......................................................................................... 625
22.44 Variables associated with acceleration and jerk on the tool path. ............................... 630
22.45 Variables related to managing the feedrate in HSC mode........................................... 631
22.46 Variables related to spindle speed............................................................................... 634
22.47 Variables associated with the tool manager. ............................................................... 642
22.48 Variables related to managing the tool magazine and the tool changer arm............... 644
22.49 Variables related to the active tool and to the next one. .............................................. 646
22.50 Variables associated with any tool............................................................................... 658
22.51 Variables associated with the tool being prepared. ..................................................... 667
22.52 Variables related to jog mode. ..................................................................................... 675
22.53 Variables related to the programmed functions. .......................................................... 681
22.54 Variables related to the electronic cam........................................................................ 708
22.55 Variables related to the independent axes................................................................... 710
22.56 Variables associated with the virtual tool axis.............................................................. 717
22.57 Variables defined by the user. ..................................................................................... 718
22.58 General variables of the CNC. ..................................................................................... 719
22.59 Variables related to CNC status................................................................................... 722
22.60 Variables associated with the part-program being executed. ...................................... 727
22.61 Interface related variables............................................................................................ 731
CNC 8065
(REF. 1309)
·7·
Programming manual
ABOUT THE PRODUCT
BASIC CHARACTERISTICS.
Basic characteristics.·M··T·
PC-based system.Open system
Operating system.Windows XP
Number of axes.3 to 28
Number of spindles.1 to 4
Number of tool magazines.1 to 4
Number of execution channels.1 to 4
Number of handwheels.1 to 12
Type of servo system.Analog / Digital Sercos / Digital Mechatrolink
Communications.RS485 / RS422 / RS232
Ethernet
Integrated PLC.
PLC execution time.
Digital inputs / Digital outputs.
Marks / Registers.
Timers / Counters.
Symbols.
Block processing time.< 1 ms
< 1ms/K
1024 / 1024
8192 / 1024
512 / 256
Unlimited
Remote modules.RIOWRIO5RIO70
Communication with the remote modules.CANopenCANopenCANfagor
Digital inputs per module.816 or 3216
Digital outputs per module.824 or 4816
Analog inputs per module.448
Analog outputs per module.444
Inputs for PT100 temperature sensors.22- - -
Feedback inputs.- - -- - -4
Differential TTL
Sinusoidal 1 Vpp
Customizing.
PC-based open system, fully customizable.
INI configuration files.
FGUIM visual configuration tool.
Visual Basic®, Visual C++®, etc.
Internal databases in Microsoft® Access.
OPC compatible interface
CNC 8065
(REF. 1309)
·9·
Programming manual
SOFTWARE OPTIONS.
Bear in mind that some of the features described in this manual depend on the software options that are
installed. The information of the following table is informative only; when purchasing the software options,
only the information provided in the ordering handbook is valid.
Software options (·M· model).
8065 M8065 M Power
Basic Pack 1Basic Pack 1
Open system.
Access to the administrator mode.
Number of execution channels1111 to 4
Number of axes3 to 65 to 85 to 128 to 28
Number of spindles11 to 21 to 41 to 4
Number of tool magazines111 to 21 to 4
Limited to 4 interpolated axesOptionOptionOptionOption
Additional negative command pulse for analog axes.• Variable:
The SPDLEREV mark (reverse turning direction) affects the spindle in M19.• Variable:
Functions M02, M30 and reset do not cancel the speed limit function G192.• Function G192.
Functions M02, M30 and reset do not cancel the constant surface speed (CSS)
function.
(V.)[ch].MPA.BAKANOUT[set].xn
(V.)[ch].MPA.M19SPDLEREV.xn
• Function G96.
Ref. 1301
Software V04.25
Synchronized switching.• Variables:
Error programmed in HSC mode. • Variable:
The HSC FAST mode may be used to adjust the chordal error (parameter E).• Statement: #HSC
The CNC will load into RAM memory the subroutines having the extension .fst.
If function G95 is active and the spindle does not have an encoder, the CNC
will use the programmed theoretical rpm to calculate the feedrate.
(V.)G.TON (V.)G.TOF
(V.)G.PON (V.)G.POF
• Statement: #SWTOUT
(V.)[ch].G.CONTERROR
• Function G95.
Ref. 1305
Software V04.26
Keep the longitudinal axis when changing planes (G17/G18/G19).• Function G17/G18/G19.
The M3/M4/M5 functions cancel the C axis and set the spindle in open loop.
Programs with ".mod" extension may be modified when they are interrupted
Read the following safety measures in order to prevent harming people or damage to this product and those
products connected to it. Fagor Automation shall not be held responsible of any physical damage or
defective unit resulting from not complying with these basic safety regulations.
Before start-up, verify that the machine that integrates this CNC meets the 89/392/CEE Directive.
PRECAUTIONS BEFORE CLEANING THE UNIT
If the CNC does not turn on when actuating the start-up switch, verify the connections.
Do not get into the inside of the unit.Only personnel authorized by Fagor Automation may manipulate the
Do not handle the connectors with the unit
connected to AC power.
inside of this unit.
Before manipulating the connectors (inputs/outputs, feedback, etc.)
make sure that the unit is not connected to AC power.
PRECAUTIONS DURING REPAIR
In case of a malfunction or failure, disconnect it and call the technical service.
Do not get into the inside of the unit.Only personnel authorized by Fagor Automation may manipulate the
inside 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.
PRECAUTIONS AGAINST PERSONAL DAMAGE
Interconnection of modules.Use the connection cables provided with the unit.
Use proper cables.To prevent risks, use the proper cables for mains, Sercos and Bus
CAN recommended for this unit.
In order to avoid electrical shock at the central unit, use the proper
power (mains) cable. Use 3-wire power cables (one for ground
connection).
Avoid electrical overloads.In order to avoid electrical discharges and fire hazards, do not apply
electrical voltage outside the range selected on the rear panel of the
central unit.
Ground connection.In order to avoid electrical discharges, connect the ground terminals
of all the modules to the main ground terminal. Before connecting the
inputs and outputs of this unit, make sure that all the grounding
connections are properly made.
In order to avoid electrical shock, before turning the unit on verify that
the ground connection is properly made.
Do not work in humid environments.In order to avoid electrical discharges, always work under 90% of
relative humidity (non-condensing) and 45 ºC (113 ºF).
Do not work in explosive environments.In order to avoid risks or damages, do no work in explosive
environments.
CNC 8065
(REF. 1309)
·17·
Programming manual
PRECAUTIONS AGAINST PRODUCT DAMAGE
Working environment.This unit is ready to be used in industr ial environments complying with
the directives and regulations effective in the European Community.
Fagor Automation shall not be held responsible for any damage
suffered or caused by the CNC when installed in other environments
(residential or homes).
Install the unit in the right place.It is recommended, whenever possible, to install the CNC away from
coolants, chemical product, blows, etc. that could damage it.
This unit complies with the European directives on electromagnetic
compatibility. Nevertheless, it is recommended to keep it away from
sources of electromagnetic disturbance such as:
Powerful loads connected to the same AC power line as this
equipment.
Nearby portable transmitters (Radio-telephones, Ham radio
transmitters).
Nearby radio/TV transmitters.
Nearby arc welding machines.
Nearby High Voltage power lines.
Enclosures.The manufacturer is responsible of assuring that the enclosure
involving the equipment meets all the currently effective directives of
the European Community.
Avoid disturbances coming from the
machine.
Use the proper power supply.Use an external regulated 24 Vdc power supply for the keyboard and
Grounding of the power supply.The zero volt point of the external power supply must be connected
Analog inputs and outputs connection.Use shielded cables connecting all their meshes to the corresponding
Ambient conditions.The storage temperature must be between +5 ºC and +45 ºC (41 ºF
Central unit enclosure.Make sure that the needed gap is kept between the central unit and
Main AC power switch.This switch must be easy to access and at a distance between 0.7 and
The machine must have all the interference generating elements
(relay coils, contactors, motors, etc.) uncoupled.
the remote modules.
to the main ground point of the machine.
pin.
and 113 ºF).
The storage temperature must be between -25 ºC and 70 ºC (-13 ºF
and 158 ºF).
each wall of the enclosure.
Use a DC fan to improve enclosure ventilation.
1.7 m (2.3 and 5.6 ft) off the floor.
CNC 8065
(REF. 1309)
·18·
PROTECTIONS OF THE UNIT ITSELF
Remote modules.All the digital inputs and outputs have galvanic isolation via
optocouplers between the CNC circuitry and the outside.
Programming manual
i
SAFETY SYMBOLS
Symbols that may appear on the manual.
Danger or prohibition symbol.
It indicates actions or operations that may hurt people or damage products.
Warning symbol.
It indicates situations that certain operations could cause and the suggested actions to prevent them.
Obligation symbol.
It indicates actions and operations that must be carried out.
Information symbol.
It indicates notes, warnings and advises.
Symbols that the product may carry.
Ground protection symbol.
It indicates that that point must be under voltage.
CNC 8065
(REF. 1309)
·19·
Programming manual
WARRANTY TERMS
INITIAL WARRANTY
All products manufactured or marketed by FAGOR carry a 12-month warranty for the end user which could
be controlled by the our service network by means of the warranty control system established by FAGOR
for this purpose.
In order to prevent the possibility of having the time period from the time a product leaves our warehouse
until the end user actually receives it run against this 12-month warranty, FAGOR has set up a warranty
control system based on having the manufacturer or agent inform FAGOR of the destination, identification
and on-machine installation date, by filling out the document accompanying each FAGOR product in the
warranty envelope. This system, besides assuring a full year of warranty to the end user, enables our service
network to know about FAGOR equipment coming from other countries into their area of responsibility.
The warranty starting date will be the one appearing as the installation date on the above mentioned
document. FAGOR offers the manufacturer or agent 12 months to sell and install the product. This means
that the warranty starting date may be up to one year after the product has left our warehouse so long as
the warranty control sheet has been sent back to us. This translates into the extension of warranty period
to two years since the product left our warehouse. If this sheet has not been sent to us, the warranty period
ends 15 months from when the product left our warehouse.
This warranty covers all costs of material and labour involved in repairs at FAGOR carried out to correct
malfunctions in the equipment. FAGOR undertakes to repair or replace their products within the period from
the moment manufacture begins until 8 years after the date on which it disappears from the catalogue.
It is entirely up to FAGOR to determine whether the repair is or not under warranty.
EXCLUDING CLAUSES
Repairs will be carried out on our premises. Therefore, all expenses incurred as a result of trips made by
technical personnel to carry out equipment repairs, despite these being within the above-mentioned period
of warranty, are not covered by the warranty.
Said warranty will be applied whenever the equipment has been installed in accordance with instructions,
has not be mistreated, has not been damaged by accident or by negligence and has not been tampered
with by personnel not authorised by FAGOR. If, once servicing or repairs have been made, the cause of
the malfunction cannot be attributed to said elements, the customer is obliged to cover the expenses
incurred, in accordance with the tariffs in force.
Other warranties, implicit or explicit, are not covered and FAGOR AUTOMATION cannot be held responsible
for other damages which may occur.
CNC 8065
(REF. 1309)
·21·
Programming manual
WARRANTY ON REPAIRS
In a similar way to the initial warranty, FAGOR offers a warranty on standard repairs according to the
following conditions:
PERIOD12 months.
CONCEPTCovers parts and labor for repairs (or replacements) at the
network's own facilities.
EXCLUDING CLAUSESThe same as those applied regarding the chapter on initial
warranty. If the repair is carried out within the warranty period, the
warranty extension has no effect.
When the customer does not choose the standard repair and just the faulty material has been replaced,
the warranty will cover just the replaced parts or components within 12 months.
For sold parts the warranty is 12 moths length.
SERVICE CONTRACTS
The SERVICE CONTRACT is available for the distributor or manufacturer who buys and installs our CNC
systems.
CNC 8065
(REF. 1309)
·22·
Programming manual
MATERIAL RETURNING TERMS
When sending the central nit or the remote modules, pack them in its original package and packaging
material. If the original packaging material is not available, pack it as follows:
1 Get a cardboard box whose three inside dimensions are at least 15 cm (6 inches) larger than those
of the unit. The cardboard being used to make the box must have a resistance of 170 Kg (375 lb.).
2 Attach a label indicating the owner of the unit, person to contact, type of unit and serial number. In case
of malfunction also indicate symptom and a brief description of the problem.
3 Wrap the unit in a polyethylene roll or similar material to protect it. When sending a central unit with
monitor, protect especially the screen.
4 Pad the unit inside the cardboard box with poly-utherane foam on all sides.
5 Seal the cardboard box with packing tape or industrial staples.
CNC 8065
(REF. 1309)
·23·
Programming manual
CNC MAINTENANCE
CLEANING
The accumulated dirt inside the unit may act as a screen preventing the proper dissipation of the heat
generated by the internal circuitry which could result in a harmful overheating of the unit and, consequently,
possible malfunctions. Accumulated dirt can sometimes act as an electrical conductor and short-circuit the
internal circuitry, especially under high humidity conditions.
To clean the operator panel and the monitor, a smooth cloth should be used which has been dipped into
de-ionized water and /or non abrasive dish-washer soap (liquid, never powder) or 75º alcohol. Do not use
highly compressed air to clean the unit because it could generate electrostatic discharges.
The plastics used on the front panel are resistant to grease and mineral oils, bases and bleach, dissolved
detergents and alcohol. Avoid the action of solvents such as chlorine hydrocarbons, venzole, esters and
ether which can damage the plastics used to make the unit’s front panel.
PRECAUTIONS BEFORE CLEANING THE UNIT
Fagor Automation shall not be held responsible for any material or physical damage derived from the
violation of these basic safety requirements.
• Do not handle the connectors with the unit connected to AC power. Before handling these connectors
(I/O, feedback, etc.), make sure that the unit is not connected to main AC power.
• Do not get into the inside of the unit. Only personnel authorized by Fagor Automation may manipulate
the inside of this unit.
• If the CNC does not turn on when actuating the start-up switch, verify the connections.
CNC 8065
(REF. 1309)
·25·
CREATING A PROGRAM.
1.1Programming languages.
The CNC has its own programming language described in this manual. The program is edited
block by block and each one may be written in ISO language or in High level language. See
"1.3 Program block structure." on page 31.
When editing high level commands, the editor offers a list of available commands.
8055 language.
Programs can also be edited in the 8055 CNC language. Programming in 8055 CNC
language is enabled from the part-program editor. Refer to the operating manual to enable
this option.
This manual does not describe the 8055 language; refer to the specific documentation for
this product. Obviously, since this CNC and the 8055 are two functionally different products,
some concepts may be different.
1
CNC 8065
(REF. 1309)
·27·
1.
N10
N20
N30
N40
CNC program
Block
· · ·
Block
Subroutine
Block
· · ·
Block
Program body
Block
Programming manual
1.2Program structure.
A CNC program consists of a set of blocks or instructions that properly organized, in
subroutines or in the program body, provide the CNC with the necessary data to machine
the desired part.
Each block contains all the functions or command necessary to execute an operation that
may be machining, preparing the cutting conditions, controlling the elements of the machine,
etc.
Program structure.
CREATING A PROGRAM.
%example
(Name of the program)
N5 F550 S1000 M3 M8 T1 D1
(Sets the machining conditions)
N6 G0 X0 Y0
(Positioning)
N10 G1 G90 X100
N20 Y50
N30 X0
N40 Y0
(Machining)
N50 M30
(End of program)
The CNC program may consist of several local subroutines and the body of the program.
The local subroutines must be defined at the beginning of the program.
CNC 8065
(REF. 1309)
·28·
Programming manual
1.2.1Program body.
The body of the program has the following structure.
HeaderThe header indicates the beginning of the body of the program.
Program blocksIt is the main part of the program, the one containing
End of program
Program header.
The header of the program is a block consisting of the "%" character followed by the name
of the program. The name of the program may be up to 14 characters long and may consist
of uppercase and lowercase characters as well as numbers (no blank spaces are allowed).
The header must be programmed when the program has local
subroutines.
movements, operations, etc.
1.
%0123
%PROGRAM
%PART923R
The header must be programmed when the program contains local subroutines; otherwise,
programming the header is optional.
The name defined in the header has nothing to do with the name of the file. The two may
be different.
Program body.
The body of the program consists of blocks in charge of executing operations, movements,
etc.
End of the program.
The end of the program body is defined by functions "M02" or "M30" and they are equivalent.
There is no need to program these functions; when reaching the end of the program without
executing any of them, the CNC ends the execution and shows a warning indicating that they
are missing.
M30
M02
Program structure.
CREATING A PROGRAM.
The CNC behaves differently when reaching the end of the program depending on whether
the M02 / M30 has been programmed or not
With M02/M30Without
M02/M30
The CNC selects the first block of the program.YesYes
The CNC stops the spindle.YesNo
The CNC assumes the initial conditions.Yes (*)No
The CNC initializes the cutting conditions.YesNo
(*) Stopping the spindle depends on the setting of machine parameter SPDLSTOP.
%PROGRAM
G81 X·· Y··(Point 1. Center punching definition)
LL POINTS(call to a subroutine)
G81 X·· Y··(Point 1. Center punching definition)
LL POINTS(call to a subroutine)
G84 X·· Y··(Point 1. Center punching definition)
LL POINTS(call to a subroutine)
G80
M30
A subroutine is a set of blocks that, once properly identified, may be called upon several times
from another subroutine or from the program. Subroutines are normally used for defining a
bunch of operations or movements that are repeated several times throughout the program.
See chapter "12 Subroutines.".
Types of subroutines.
Programming manual
1.
Program structure.
CREATING A PROGRAM.
The CNC has two types of subroutines, namely local and global. There is also a third type
available, OEM subroutines, that are a special case of a global subroutine defined by the
OEM.
Global subroutines.
The global subroutine is stored in CNC memory as an independent program. This subroutine
may be called upon from any program or subroutine being executed.
Local subroutines.
The local subroutine is defined as part of a program. This subroutine may only be called upon
from the program where it has been defined.
A program can have several local subroutines; but they all must be defined before the body
of the program. A local subroutine can call a second local subroutine with the condition that
the calling subroutine be defined after the one being called.
CNC 8065
(REF. 1309)
·30·
Loading...
+ 708 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.