744
(Ref. 1309) 8070 CNC Programming manual

8070. Programming manual. - Diversified Machine · PDF fileProgramming manual CNC 8070 (REF. 1309) ·3· INDEX About the product

  • Upload
    dominh

  • View
    239

  • Download
    0

Embed Size (px)

Citation preview

  • (Ref. 1309)

    8070CNCProgramming manual

  • All rights reserved. No part of this documentation may be transmitted,transcribed, stored in a backup device or translated into another languagewithout Fagor Automations consent. Unauthorized copying or distributing of thissoftware is prohibited.

    The information described in this manual may be changed due to technicalmodifications. Fagor Automation reserves the right to make any changes to thecontents 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 therights of the owners.

    It is possible that CNC can execute more functions than those described in itsassociated documentation; however, Fagor Automation does not guarantee thevalidity of those applications. Therefore, except under the express permissionfrom Fagor Automation, any CNC application that is not described in thedocumentation must be considered as "impossible". In any case, FagorAutomation shall not be held responsible for any personal injuries or physicaldamage caused or suffered by the CNC if it is used in any way other than asexplained in the related documentation.

    The content of this manual and its validity for the product described here has beenverified. Even so, involuntary errors are possible, thus no absolute match isguaranteed. Anyway, the contents of the manual is periodically checked makingand including the necessary corrections in a future edition. We appreciate yoursuggestions for improvement.

    The examples described in this manual are for learning purposes. Before usingthem in industrial applications, they must be properly adapted making sure thatthe safety regulations are fully met.

    MACHINE SAFETY

    It is up to the machine manufacturer to make sure that the safety of the machineis enabled in order to prevent personal injury and damage to the CNC or to theproducts connected to it. On start-up and while validating CNC parameters, itchecks the status of the following safety elements. If any of them is disabled, theCNC 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 orphysical damage caused or suffered by the CNC resulting from any of the safetyelements being disabled.

    HARDWARE EXPANSIONS

    FAGOR AUTOMATION shall not be held responsible for any personal injuries orphysical damage caused or suffered by the CNC resulting from any hardwaremanipulation 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 nocomputer viruses. It is up to the user to keep the unit virus free in order toguarantee its proper operation.

    Computer viruses at the CNC may cause it to malfunction. An antivirus softwareis highly recommended if the CNC is connected directly to another PC, it is partof a computer network or floppy disks or other computer media is used to transmitdata.

    FAGOR AUTOMATION shall not be held responsible for any personal injuries orphysical damage caused or suffered by the CNC due a computer virus in thesystem.

    If a computer virus is found in the system, the unit will no longer be under warranty.

  • Programming manual

    CNC 8070

    (REF. 1309)

    3

    I N D E X

    About the product ......................................................................................................................... 9Declaration of conformity ............................................................................................................ 11Version history ............................................................................................................................ 13Safety conditions ........................................................................................................................ 23Warranty terms ........................................................................................................................... 27Material returning terms.............................................................................................................. 29CNC maintenance ...................................................................................................................... 31

    CHAPTER 1 CREATING A PROGRAM.

    1.1 Programming languages................................................................................................ 331.2 Program structure. ......................................................................................................... 341.2.1 Program body............................................................................................................. 351.2.2 The subroutines. ........................................................................................................ 361.3 Program block structure................................................................................................. 371.3.1 Programming in ISO code.......................................................................................... 381.3.2 High-level language programming. ............................................................................ 401.4 Programming of the axes............................................................................................... 411.5 List of "G" functions........................................................................................................ 421.6 List of auxiliary (miscellaneous) M functions.................................................................. 461.7 List of statements and instructions................................................................................. 471.8 Comment programming. ................................................................................................ 501.9 Variables and constants................................................................................................. 511.10 Arithmetic parameters.................................................................................................... 521.11 Arithmetic and logic operators and functions. ................................................................ 531.12 Arithmetic and logic expressions. .................................................................................. 55

    CHAPTER 2 MACHINE OVERVIEW

    2.1 Axis nomenclature ......................................................................................................... 572.2 Coordinate system ......................................................................................................... 592.3 Reference systems ........................................................................................................ 602.3.1 Origins of the reference systems ............................................................................... 612.4 Home search.................................................................................................................. 622.4.1 Definition of "Home search" ....................................................................................... 622.4.2 "Home search" programming ..................................................................................... 63

    CHAPTER 3 COORDINATE SYSTEM

    3.1 Programming in millimeters (G71) or in inches (G70).................................................... 653.2 Absolute (G90) or incremental (G91) coordinates ......................................................... 663.2.1 Rotary axes. ............................................................................................................... 673.3 Programming in radius (G152) or in diameters (G151).................................................. 693.4 Coordinate programming ............................................................................................... 703.4.1 Cartesian coordinates ................................................................................................ 703.4.2 Polar coordinates ....................................................................................................... 71

    CHAPTER 4 WORK PLANES.

    4.1 About work planes on lathe and mill models.................................................................. 744.2 Select the main new work planes. ................................................................................. 754.2.1 Mill model or lathe model with "trihedron" type axis configuration. ............................ 754.2.2 Lathe model with "plane" type axis configuration....................................................... 764.3 Select any work plane and longitudinal axis. ................................................................. 774.4 Select the longitudinal axis of the tool............................................................................ 79

    CHAPTER 5 ORIGIN SELECTION

    5.1 Programming with respect to machine zero................................................................... 825.2 Set the machine coordinate (G174). ............................................................................. 845.3 Fixture offset .................................................................................................................. 855.4 Coordinate preset (G92) ................................................................................................ 86

  • 4

    Programming manual

    CNC 8070

    (REF. 1309)

    5.5 Zero offsets (G54-G59/G159