Fagor 8070 BL Programming Manual - 15.

Manual is about: CNC 8070 series

Summary of 8070 BL

  • Page 1

    (ref: 1709) 8070 cnc programming manual..

  • Page 2

    Blank page ·2· machine safety 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 followi...

  • Page 3: I N D E X

    Programming manual. Cnc 8070 ·3· (r ef : 1709) i n d e x about the product - cnc 8070 ..................................................................................................... 9 declaration of ce conformity and warranty conditions ............................................................

  • Page 4

    Programming manual. Cnc 8070 ·4· (r ef : 1709) 5.5 zero offsets (g54-g59/g159) ........................................................................................ 87 5.5.1 variables for setting zero offsets................................................................................ 89 5.5.2...

  • Page 5

    Programming manual. Cnc 8070 ·5· (r ef : 1709) chapter 10 electronic threading and rigid tapping. 10.1 electronic threading with constant pitch (g33) ............................................................ 179 10.1.1 programming examples (·m· model).................................................

  • Page 6

    Programming manual. Cnc 8070 ·6· (r ef : 1709) 14.6 generic user subroutines (g500-g599). ..................................................................... 280 14.7 assistance for subroutines........................................................................................... 283 14.7.1 su...

  • Page 7

    Programming manual. Cnc 8070 ·7· (r ef : 1709) 20.3 hsc surface mode. Optimization of surface finish. ................................................ 367 20.4 hsc conterror mode. Optimizing the contouring error. ....................................... 370 20.5 hsc fast mode. Optimizing the machinin...

  • Page 8

    Blank page ·8·.

  • Page 9: About The Product - Cnc 8070

    Programming manual. Cnc 8070 ·9· (r ef : 1709) about the product - cnc 8070 basic characteristics. (*) differential ttl / sinusoidal 1 vpp (**) ttl / differential ttl / sinusoidal 1 vpp / ssi protocol / feedat / endat basic characteristics. ·bl· ·ol· ·l· number of axes. 3 to 7 3 to 31 3 to 31 number...

  • Page 10

    Programming manual. Cnc 8070 ·10· (r ef : 1709) software options. Some of the features described in this manual are dependent on the acquired software options. The active software options for the cnc can be consulted in the diagnostics mode (accessible from the task window by pressing [ctrl] [a]), u...

  • Page 11

    Programming manual. Cnc 8070 ·11· (r ef : 1709) soft rtcp dynamic rtcp (rotating tool center point). The dynamic rtcp option is required for interpolation machining with 4, 5 or 6 axis. Soft c axis c axis. It activates the kinematics for working with the c axis and the associated canned cycles. The ...

  • Page 12

    Blank page ·12·.

  • Page 13: Warranty Conditions

    Programming manual. Cnc 8070 ·13· (r ef : 1709) declaration of ce 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. Http://www.Fagorautomation.Com. (type of file: declaration of c...

  • Page 14

    Blank page ·14·.

  • Page 15: Version History - Cnc 8070

    Programming manual. Cnc 8070 ·15· (r ef : 1709) version history - cnc 8070 here is a list of the features added to each manual reference. Ref. 0201 ref. 0212 ref. 0501 software v01.00 first version. Milling model. Software v01.10 new repositioning feedrate after tool inspection. • machine parameter:...

  • Page 16

    Programming manual. Cnc 8070 ·16· (r ef : 1709) ref. 0504 ref. 0509 ref. 0601 optimize the reading and writing of variables from the plc. Only the access to the following variables will be asynchronous. • the tool variables will be read asynchronously when the tool is neither the active one nor in t...

  • Page 17

    Programming manual. Cnc 8070 ·17· (r ef : 1709) ref. 0606 ref. 0608 ref. 0704 / ref. 0706 ref. 0707 ref. 0709 ref. 0712 the instruction #exec does not issue an error if the channel is busy; the instruction waits for the operation in progress to end. • #exec instruction. The instruction #exblk does n...

  • Page 18

    Programming manual. Cnc 8070 ·18· (r ef : 1709) ref. 0801 ref. 0809 ref. 0811 ref. 0907 ref. 1007 software v03.20 set change. The cnc lets change the gear of the slave axis or spindle of a tandem. Coordinate latching with the help of a probe or a digital input. • variables: (v.)a.Latch1.Xn (v.)a.Lat...

  • Page 19

    Programming manual. Cnc 8070 ·19· (r ef : 1709) ref. 1010 ref. 1107 ref. 1304 know the current position of the main rotary axes of the kinematics (third axis). • variable: (v.)g.Posrott know the target position of the main rotary axes of the kinematics (third axis). • variable: (v.)g.Toolorit1 (v.)g...

  • Page 20

    Programming manual. Cnc 8070 ·20· (r ef : 1709) ref. 1305 ref. 1309 ref. 1405 ref. 1408 software v04.25 synchronized switching. • variables: (v.)g.Ton (v.)g.Tof (v.)g.Pon (v.)g.Pof • statement: #swtout error programmed in hsc mode. • variable: (v.)g.Conterror the hsc fast mode may be used to adjust ...

  • Page 21

    Programming manual. Cnc 8070 ·21· (r ef : 1709) ref. 1501 ref. 1505 position to be occupied by the fourth rotary axis of the kinematics in order to position the tool perpendicular to the inclined plane (solution 1 and 2). • variable: (v.)g.Toolorio1 (v.)g.Toolorio2 status of the #csrot function. • v...

  • Page 22

    Programming manual. Cnc 8070 ·22· (r ef : 1709) ref. 1512 ref. 1604 ref. 1709 percentage of loop time (cycle time) used by the plc. • variable: (v.)g.Plctimerate percentage of loop time (cycle time) used by the dynamic preparation of the tool path. • variable: (v.)g.Traytimerate value of the local c...

  • Page 23: Safety Conditions

    Programming manual. Cnc 8070 ·23· (r ef : 1709) safety conditions 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 or material damage originated from not ...

  • Page 24

    Programming manual. Cnc 8070 ·24· (r ef : 1709) precautions against damage to the product safety symbols symbols that may appear in the manual. Work environment. This unit is ready to be used in industrial environments complying with the directives and regulations effective in the european community...

  • Page 25

    Programming manual. Cnc 8070 ·25· (r ef : 1709) symbols that the product may carry. Ground symbol. This symbol indicates that that point must be under voltage. Esd components. This symbol identifies the cards as esd components (sensitive to electrostatic discharges)..

  • Page 26

    Blank page ·26·.

  • Page 27: Returning Conditions

    Programming manual. Cnc 8070 ·27· (r ef : 1709) returning conditions pack it in its original package along with its original packaging material. If you do not have the original packaging material, pack it as follows: 1 get a cardboard box whose 3 inside dimensions are at least 15 cm (6 inches) large...

  • Page 28

    Blank page ·28·.

  • Page 29: Cnc Maintenance

    Programming manual. Cnc 8070 ·29· (r ef : 1709) 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 malf...

  • Page 30

    Blank page ·30·.

  • Page 31: Creating A Program.

    Cnc 8070 1 ·31· (r ef : 1709) creating a program. 1.1 programming 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 35. W...

  • Page 32

    Programming manual. Cnc 8070 1. Cr ea ting a program. Program structure. ·32· (r ef : 1709) 1.2 program 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 ...

  • Page 33

    Programming manual. Cnc 8070 cr ea ting a program. 1. Program structure. ·33· (r ef : 1709) 1.2.1 program body. The body of the program has the following structure. Program header. The header of the program is a block consisting of the "%" character followed by the name of the program. The name of t...

  • Page 34

    Programming manual. Cnc 8070 1. Cr ea ting a program. Program structure. ·34· (r ef : 1709) 1.2.2 the subroutines. 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 ...

  • Page 35

    Programming manual. Cnc 8070 cr ea ting a program. 1. Prog ra m bl ock structure. ·35· (r ef : 1709) 1.3 program block structure. The blocks comprising the subroutines or the program body may be defined by commands in iso code or in high-level language. Each block must be written in either language ...

  • Page 36

    Programming manual. Cnc 8070 1. Cr ea ting a program. Prog ra m bl ock structure. ·36· (r ef : 1709) 1.3.1 programming in iso code. Iso-coded functions consist of letters and numbers. The letters are "n", "g", "f", "s", "t", "d", "m", "h", "nr" plus those identifying the axes. The numbers include di...

  • Page 37

    Programming manual. Cnc 8070 cr ea ting a program. 1. Prog ra m bl ock structure. ·37· (r ef : 1709) ·s· spindle speed. This function sets the spindle speed. The spindle name is defined by 1 or 2 characters. The first character is the letter s and the second character is optional, it must be a numer...

  • Page 38

    Programming manual. Cnc 8070 1. Cr ea ting a program. Prog ra m bl ock structure. ·38· (r ef : 1709) 1.3.2 high-level language programming. The commands of high level language are made up of control instructions "#" and flow control instructions "$". Block structure. A block may have the following c...

  • Page 39: 00000.0000

    Programming manual. Cnc 8070 cr ea ting a program. 1. Programming o f the axes. ·39· (r ef : 1709) 1.4 programming of the axes. Programming using the name of the axis. The axis name is defined by 1 or 2 characters. The first character must be one of the letters x - y - z - u - v - w - a - b - c. The...

  • Page 40

    Programming manual. Cnc 8070 1. Cr ea ting a program. List of "g" fu ncti ons. ·40· (r ef : 1709) 1.5 list of "g" functions. The following tables show a list of "g" functions available at the cnc. The meaning of the "m", "d" and "v" fields of the table is the following: next to each function, it ind...

  • Page 41

    Programming manual. Cnc 8070 cr ea ting a program. 1. List of "g" fu ncti ons. ·41· (r ef : 1709) g57 ! * absolute zero offset 4. 5.5 g58 ! * absolute zero offset 5. 5.5 g59 ! * absolute zero offset 6. 5.5 g60 * square corner (not modal). 11.1 g61 * controlled corner rounding (not modal). 11.3 g63 *...

  • Page 42

    Programming manual. Cnc 8070 1. Cr ea ting a program. List of "g" fu ncti ons. ·42· (r ef : 1709) g152 * programming in radius. 3.1 g157 * * excluding axes in the zero offset. 5.5.3 g158 * * incremental zero offset. 5.5.2 g159 ! * additional absolute zero offsets. 5.5 g160 * (·m· model). Multiple ma...

  • Page 43

    Programming manual. Cnc 8070 cr ea ting a program. 1. List o f auxi liary (miscella neo us) m fu ncti ons. ·43· (r ef : 1709) 1.6 list of auxiliary (miscellaneous) m functions. The following table shows a list of "m" functions available at the cnc. Next to each function, it indicates which chapter o...

  • Page 44

    Programming manual. Cnc 8070 1. Cr ea ting a program. List o f sta te m e n ts an d instructi ons. ·44· (r ef : 1709) 1.7 list of statements and instructions. The following tables show a list of statements and instructions functions available at the cnc. Next to each of them, it indicates which chap...

  • Page 45

    Programming manual. Cnc 8070 cr ea ting a program. 1. List o f sta te m e n ts an d instructi ons. ·45· (r ef : 1709) #exec it executes a program in the indicated channel. 15.1 #face "c" axis. Machining on the face of the part. 16.2 #feednd smooth the path and the feedrate. 12.5 #flush interrupt blo...

  • Page 46

    Programming manual. Cnc 8070 1. Cr ea ting a program. List o f sta te m e n ts an d instructi ons. ·46· (r ef : 1709) probing. Probing canned cycles. ·m· model (milling). Probing canned cycles. ·t· model (lathe). #tsync spindle synchronization. Synchronization of the theoretical coordinate. 22.1.11 ...

  • Page 47

    Programming manual. Cnc 8070 cr ea ting a program. 1. Commen t prog ra mmi ng. ·47· (r ef : 1709) 1.8 comment programming. Any comment may be associated with the blocks. When executing the program, the cnc ignores this information. The cnc offers various methods to include comments in the program. P...

  • Page 48

    Programming manual. Cnc 8070 1. Cr ea ting a program. Va riabl es and constan ts. ·48· (r ef : 1709) 1.9 variables and constants. Constants. They are fixed values that cannot be modified by program; constants are numbers in decimal, binary and hexadecimal system and read-only tables and variables be...

  • Page 49

    Programming manual. Cnc 8070 cr ea ting a program. 1. Arithmetic parameters. ·49· (r ef : 1709) 1.10 arithmetic parameters. Arithmetic parameters are general purpose variables that the user may utilize to create his/her own programs. The cnc has global, local and common arithmetic parameters. The ra...

  • Page 50

    Programming manual. Cnc 8070 1. Cr ea ting a program. Arithmetic and lo gic ope rato rs an d fu ncti ons. ·50· (r ef : 1709) 1.11 arithmetic and logic operators and functions. An operator is a symbol that indicates the mathematical or logic operations to carry out. The cnc offers the following types...

  • Page 51

    Programming manual. Cnc 8070 cr ea ting a program. 1. Arithmetic and lo gic ope rato rs an d fu ncti ons. ·51· (r ef : 1709) boolean constants. Trigonometric functions. In these type of functions the following must be borne in mind: • in the "tan" function, the argument cannot take the values ...-90...

  • Page 52

    Programming manual. Cnc 8070 1. Cr ea ting a program. Arithmetic and l ogic expre s si ons. ·52· (r ef : 1709) 1.12 arithmetic and logic expressions. An expression is any valid combination of operators, constants, parameters and variables. Expressions may be used to program the numerical portion of ...

  • Page 53: Machine Overview

    Cnc 8070 2 ·53· (r ef : 1709) machine overview 2.1 axis nomenclature with this cnc, the manufacturer may select up to 28 axes (that must be properly defined as linear, rotary, etc. By setting machine parameters), without no limitation as how to program them and they may all be interpolated at the sa...

  • Page 54

    Programming manual. Cnc 8070 2. Machine overview axis n o mencla tu re ·54· (r ef : 1709) right-hand rule the direction of the x-y-z axes can easily be remembered using the right-hand rule (see the drawing below). On rotary axes, the positive turning direction is determined by the direction pointed ...

  • Page 55

    Programming manual. Cnc 8070 machine overview 2. Coordinate system ·55· (r ef : 1709) 2.2 coordinate system since one of the cnc's purposes is to control the movement and positioning of the axes, a coordinate system is required that permits defining the position of the various target (destination) p...

  • Page 56

    Programming manual. Cnc 8070 2. Machine overview reference systems ·56· (r ef : 1709) 2.3 reference systems a machine may use the following reference systems. • machine reference system. It is the coordinate system of the machine and it is set by the manufacturer of the machine. • fixture reference ...

  • Page 57

    Programming manual. Cnc 8070 machine overview 2. Reference systems ·57· (r ef : 1709) 2.3.1 origins of the reference systems the position of the different reference systems is determined by their respective origin points. O m machine zero. It is the origin point of the machine reference system, set ...

  • Page 58

    Programming manual. Cnc 8070 2. Machine overview hom e search ·58· (r ef : 1709) 2.4 home search 2.4.1 definition of "home search" it is the operation used to synchronize the system. This operation must be carried out when the cnc loses the position of the origin point (e.G. By turning the machine o...

  • Page 59

    Programming manual. Cnc 8070 machine overview 2. Hom e search ·59· (r ef : 1709) 2.4.2 "home search" programming when programming a "home search", the axes are homed sequentially in the order set by the operator. All the axes need not be included in the "home search", only those being homed. The "ho...

  • Page 60

    Programming manual. Cnc 8070 2. Machine overview hom e search ·60· (r ef : 1709).

  • Page 61: Coordinate System

    Cnc 8070 3 ·61· (r ef : 1709) coordinate system 3.1 programming in millimeters (g71) or in inches (g70) the displacements and feedrates of the axes may be defined in millimeters or in inches. The unit system may be selected by program using the following functions: g70 programming in inches. G71 pro...

  • Page 62

    Programming manual. Cnc 8070 3. Coordinate system absolu te (g90) or increm ental (g91) coordi nates. ·62· (r ef : 1709) 3.2 absolute (g90) or incremental (g91) coordinates. The coordinates of the various points may be defined in absolute coordinates (referred to the active origin point) or incremen...

  • Page 63

    Programming manual. Cnc 8070 coordinate system 3. Absolu te (g90) or increm ental (g91) coordi nates. ·63· (r ef : 1709) 3.2.1 rotary axes. The cnc admits different ways to configure a rotary axis depending on how it is going to move. Hence, the cnc can have rotary axes with travel limits, for examp...

  • Page 64

    Programming manual. Cnc 8070 3. Coordinate system absolu te (g90) or increm ental (g91) coordi nates. ·64· (r ef : 1709) positioning-only rotary axis. This type of rotary axis can move in both directions; but in absolute movements, it only moves via the shortest path. The cnc displays the position v...

  • Page 65

    Programming manual. Cnc 8070 coordinate system 3. Absolu te a nd incremen ta l co ordin a tes in th e sa me b lock (i). ·65· (r ef : 1709) 3.3 absolute and incremental coordinates in the same block (i). The "i" command may be added to the programmed coordinate and it may be used to make it increment...

  • Page 66

    Programming manual. Cnc 8070 3. Coordinate system pro g ramming in ra dius (g1 52) or in dia m e te rs (g1 51). ·66· (r ef : 1709) 3.4 programming in radius (g152) or in diameters (g151). Programming in radius or diameters may be selected by program with these functions: g151 programming in diameter...

  • Page 67

    Programming manual. Cnc 8070 coordinate system 3. Co ordin a te p rogrammin g ·67· (r ef : 1709) 3.5 coordinate programming 3.5.1 cartesian coordinates coordinates are programmed according to a cartesian coordinate system. This system consists of two axes in the plane and three or more in space. Def...

  • Page 68

    Programming manual. Cnc 8070 3. Coordinate system co ordin a te p rogrammin g ·68· (r ef : 1709) 3.5.2 polar coordinates when having circular elements or angular dimensions, polar coordinates may be more convenient to express the coordinates of the various points in the plane. This type of coordinat...

  • Page 69

    Programming manual. Cnc 8070 coordinate system 3. Co ordin a te p rogrammin g ·69· (r ef : 1709) examples. Point definition in polar coordinates. P1 p2 p3 p4 p5 p6 50 30 o 60 o p0 y x r q p0 0 p1 100 0 0 p2 p3 p4 100 50 50 30 30 60 p5 100 60 p6 100 90 10 6 10 10 25 25 15 15 p1 p2 p3 p4 p5 p6 p7 p8 p...

  • Page 70

    Programming manual. Cnc 8070 3. Coordinate system co ordin a te p rogrammin g ·70· (r ef : 1709) 3.5.3 angle and cartesian coordinate. In the main plane, a point may be defined using one of its cartesian coordinates (x..Z) and the angle (q) formed by the abscissa axis and the line joining the starti...

  • Page 71

    Programming manual. Cnc 8070 coordinate system 3. Co ordin a te p rogrammin g ·71· (r ef : 1709) programming example (·t· model) g00 g90 x0 z160 ; point p0 g01 x30 q90 ; point p1 g01 z110 q150 ; point p2 g01 z80 q180 ; point p3 g01 z50 q145 ; point p4 g01 x100 q90 ; point p5.

  • Page 72

    Programming manual. Cnc 8070 3. Coordinate system co ordin a te p rogrammin g ·72· (r ef : 1709).

  • Page 73: Work Planes.

    Cnc 8070 4 ·73· (r ef : 1709) work planes. The work planes determine which axes define the work plane/trihedron and which axis corresponds to the longitudinal axis of the tool. Plane selection is required to execute operations like: • circular and helical interpolations. • corner chamfering and roun...

  • Page 74

    Programming manual. Cnc 8070 4. Work planes. Abo u t wo rk pl ane s on l a th e and mill mod e ls. ·74· (r ef : 1709) 4.1 about work planes on lathe and mill models. The operation of the work planes depends on the geometric configuration of the axes. At a mill model, the geometric configuration of t...

  • Page 75

    Programming manual. Cnc 8070 work planes. 4. Se lect the mai n new work pla nes. ·75· (r ef : 1709) 4.2 select the main new work planes. 4.2.1 mill model or lathe model with "trihedron" type axis configuration. The main planes may be selected by program using functions g17, g18 and g19 and are forme...

  • Page 76

    Programming manual. Cnc 8070 4. Work planes. Se lect the mai n new work pla nes. ·76· (r ef : 1709) 4.2.2 lathe model with "plane" type axis configuration. The work plane is always g18 and will be formed by the first two axes defined in the channel. Functions g17 and g19 have no meaning for the cnc....

  • Page 77

    Programming manual. Cnc 8070 work planes. 4. Sele ct an y wo rk pla ne an d long itudin a l axis. ·77· (r ef : 1709) 4.3 select any work plane and longitudinal axis. The meaning of function g20 depends on the type of configuration of the machines axes; "plane" type for lathe or "trihedron" type for ...

  • Page 78

    Programming manual. Cnc 8070 4. Work planes. Sele ct an y wo rk pla ne an d long itudin a l axis. ·78· (r ef : 1709) select the longitudinal axis of the tool. When selecting the longitudinal axis with g20, tool orientation may be established according to the programmed sign. • if the parameter to se...

  • Page 79

    Programming manual. Cnc 8070 work planes. 4. Sel e ct the lon g itud inal a x is o f th e to ol. ·79· (r ef : 1709) 4.4 select the longitudinal axis of the tool. The instruction #tool ax allows changing the longitudinal axis of the tool except on those for turning. This instruction allows to select ...

  • Page 80

    Programming manual. Cnc 8070 4. Work planes. Sel e ct the lon g itud inal a x is o f th e to ol. ·80· (r ef : 1709).

  • Page 81: Origin Selection

    Cnc 8070 5 ·81· (r ef : 1709) origin selection with this cnc, it is possible to program movements in the machine reference system or apply offsets in order to use reference systems referred to the fixtures or the part without having to change the coordinates of the different points of the part in th...

  • Page 82

    Programming manual. Cnc 8070 5. Orig in s e lect ion programming wi th resp ect to ma chin e ze ro ·82· (r ef : 1709) 5.1 programming with respect to machine zero machine zero is the origin of the machine reference system. Movements referred to machine zero are programmed using the instructions #mcs...

  • Page 83

    Programming manual. Cnc 8070 orig in s e lect ion 5. Programming wi th resp ect to ma chin e ze ro ·83· (r ef : 1709) system units; millimeters or inches when moving with respect to machine reference zero, the g70 or g71 units (inches/millimeters) selected by the user are ignored. It assumes the uni...

  • Page 84

    Programming manual. Cnc 8070 5. Orig in s e lect ion set the machi ne coord inate (g1 74). ·84· (r ef : 1709) 5.2 set the machine coordinate (g174). Function g174 may be used to set the machine coordinate of an axis or spindle; in other words, temporarily set a new machine zero. The new machine coor...

  • Page 85

    Programming manual. Cnc 8070 orig in s e lect ion 5. F ixt ur e of fse t ·85· (r ef : 1709) 5.3 fixture offset with fixture offsets, it is possible to select the fixture system to be used (when having more than one fixture). When applying a new fixture offset, the cnc assumes the point set by the ne...

  • Page 86

    Programming manual. Cnc 8070 5. Orig in s e lect ion coord inate prese t (g9 2 ) ·86· (r ef : 1709) 5.4 coordinate preset (g92) coordinate presetting is done with function g92 and it may be applied onto any axis of the machine. When presetting coordinates, the cnc interprets that the axis coordinate...

  • Page 87

    Programming manual. Cnc 8070 orig in s e lect ion 5. Ze ro o ff s et s (g54-g59/g159) ·87· (r ef : 1709) 5.5 zero offsets (g54-g59/g159) the zero offsets may be used to set the part zero at different positions of the machine. When applying a zero offset, the cnc assumes as the new part zero the poin...

  • Page 88

    Programming manual. Cnc 8070 5. Orig in s e lect ion ze ro o ff s et s (g54-g59/g159) ·88· (r ef : 1709) only one zero offset may be active at a time; therefore, when applying a zero offset, the previous one will be canceled. When programming g53, the zero offset currently active will be canceled. T...

  • Page 89

    Programming manual. Cnc 8070 orig in s e lect ion 5. Ze ro o ff s et s (g54-g59/g159) ·89· (r ef : 1709) 5.5.1 variables for setting zero offsets zero offset table (without fine setting of the absolute zero offset). The following variables may be accessed via part-program or via mdi/mda mode. Each o...

  • Page 90

    Programming manual. Cnc 8070 5. Orig in s e lect ion ze ro o ff s et s (g54-g59/g159) ·90· (r ef : 1709) 5.5.2 incremental zero offset (g158) when applying an incremental zero offset, the cnc adds it to the absolute zero offset active at a time. Programming incremental zero offset are defined by pro...

  • Page 91

    Programming manual. Cnc 8070 orig in s e lect ion 5. Ze ro o ff s et s (g54-g59/g159) ·91· (r ef : 1709) only one incremental zero may be active at a time for each axis; therefore, applying an incremental zero offset on an axis cancels the one that was active on that axis. The offsets on the rest of...

  • Page 92

    Programming manual. Cnc 8070 5. Orig in s e lect ion ze ro o ff s et s (g54-g59/g159) ·92· (r ef : 1709) 5.5.3 excluding axes in the zero offset (g157) excluding axes allows to select on to which axes the next absolute zero offset will not be applied. After applying the zero offset, the programmed a...

  • Page 93

    Programming manual. Cnc 8070 orig in s e lect ion 5. Zero o ffset ca ncell a ti on (g5 3 ) ·93· (r ef : 1709) 5.6 zero offset cancellation (g53) executing function g53 cancels the active zero offset resulting either from a preset (g92) or from a zero offset, including the incremental offset and the ...

  • Page 94

    Programming manual. Cnc 8070 5. Orig in s e lect ion pola r ori g in prese t (g3 0 ) ·94· (r ef : 1709) 5.7 polar origin preset (g30) function g30 may be used to preset any point of the work plane as the new polar origin. If not selected, it assumes as polar origin the origin of the active reference...

  • Page 95

    Programming manual. Cnc 8070 orig in s e lect ion 5. Pola r ori g in prese t (g3 0 ) ·95· (r ef : 1709) function properties the g30 function is modal. The polar origin stays active until another value is preset or the work plane is changed. When changing the work plane, it assumes the part zero of t...

  • Page 96

    Programming manual. Cnc 8070 5. Orig in s e lect ion pola r ori g in prese t (g3 0 ) ·96· (r ef : 1709).

  • Page 97: Technological Functions

    Cnc 8070 6 ·97· (r ef : 1709) technological functions 6.1 machining feedrate (f) the machining feedrate may be selected by programmed using the "f" code which remains active until another value is programmed. The programming units depend on the active work mode (g93, g94 or g95) and the type of axis...

  • Page 98

    Programming manual. Cnc 8070 6. Tech nological functions machin ing feed rate (f) ·98· (r ef : 1709) understanding how the cnc calculates the feedrate. The feedrate is measured along the tool path, either along the straight line (linear interpolations) or along the tangent of the indicated arc (circ...

  • Page 99

    Programming manual. Cnc 8070 tech nological functions 6. Feedrate rela ted func tions ·99· (r ef : 1709) 6.2 feedrate related functions 6.2.1 feedrate programming units (g93/g94/g95) the functions related to programming units permit selecting whether mm/minute (inches/minute) or mm/revolution (inche...

  • Page 100

    Programming manual. Cnc 8070 6. Tech nological functions feedrate rela ted func tions ·100· (r ef : 1709) 6.2.2 feedrate blend (g108/g109/g193) with these functions, it is possible to blend the feedrate between consecutive blocks programmed with different feedrates. Programming the functions related...

  • Page 101

    Programming manual. Cnc 8070 tech nological functions 6. Feedrate rela ted func tions ·101· (r ef : 1709) considerations adapting the feedrate (g108 and g109) is only available when the manufacturer has set the cnc to operate with either trapezoidal or square-sine (bell shaped) acceleration. Feedrat...

  • Page 102

    Programming manual. Cnc 8070 6. Tech nological functions feedrate rela ted func tions ·102· (r ef : 1709) 6.2.3 constant feedrate mode (g197/g196) with these functions, it is possible to choose whether the feedrate at the tool center is maintained constant while machining or the feedrate at the cutt...

  • Page 103

    Programming manual. Cnc 8070 tech nological functions 6. Feedrate rela ted func tions ·103· (r ef : 1709) n10 g01 g196 g41 x12 y10 f600 (tool radius compensation and constant tangential feedrate) n20 g01 x12 y30 n30 g02 x20 y30 r4 (constant tangential feedrate) n40 g03 x30 y20 r10 (constant tangenti...

  • Page 104

    Programming manual. Cnc 8070 6. Tech nological functions feedrate rela ted func tions ·104· (r ef : 1709) 6.2.4 cancellation of the % of feedrate override (g266) g266 feedrate override at 100% this function sets the feedrate override at 100%, which can neither be changed by selector switch on the op...

  • Page 105

    Programming manual. Cnc 8070 tech nological functions 6. Feedrate rela ted func tions ·105· (r ef : 1709) 6.2.5 acceleration control (g130/g131) these functions allow to change the acceleration and deceleration of the axes and spindles. Programming the functions related to acceleration control are: ...

  • Page 106

    Programming manual. Cnc 8070 6. Tech nological functions feedrate rela ted func tions ·106· (r ef : 1709) properties of the functions functions g130 and g131 are modal and incompatible with each other. On power-up, after an m02, m30, emergency or a reset, the cnc restores 100% of acceleration for al...

  • Page 107

    Programming manual. Cnc 8070 tech nological functions 6. Feedrate rela ted func tions ·107· (r ef : 1709) 6.2.6 jerk control (g132/g133) the jerk of axes and spindles may be modified with these functions. Programming the functions associated with jerk control are: g132 percentage of jerk to be appli...

  • Page 108

    Programming manual. Cnc 8070 6. Tech nological functions feedrate rela ted func tions ·108· (r ef : 1709) 6.2.7 feed-forward control (g134) feed-forward control may be used to reduce the amount of following error (axis lag). Feed-forward may be applied via machine parameters and via plc as well as b...

  • Page 109

    Programming manual. Cnc 8070 tech nological functions 6. Feedrate rela ted func tions ·109· (r ef : 1709) 6.2.8 ac-forward control (g135) ac-forward control may be used to improve system response in acceleration changes and reduce the amount of following error (axis lag) on the acceleration and dece...

  • Page 110

    Programming manual. Cnc 8070 6. Tech nological functions spi ndle sp eed (s) ·110· (r ef : 1709) 6.3 spindle speed (s) the spindle speed is selected by program using the spindle name followed by the desired speed. The speeds of all the spindles of the channel may be programmed in the same block. See...

  • Page 111

    Programming manual. Cnc 8070 tech nological functions 6. T ool nu mb er (t ) ·111· (r ef : 1709) 6.4 tool number (t) the "t" code identifies the tool to be selected. The tools may be in a magazine managed by the cnc or in a manual magazine (referred to as ground tools). The programming format is t a...

  • Page 112

    Programming manual. Cnc 8070 6. Tech nological functions t ool nu mb er (t ) ·112· (r ef : 1709) loading and unloading a tool in the magazine to load the tools into the magazine, the magazine must be in load mode. To unload the tools from the magazine, the magazine must be in unload mode. The tools ...

  • Page 113

    Programming manual. Cnc 8070 tech nological functions 6. T ool nu mb er (t ) ·113· (r ef : 1709) positioning a turret magazine. The cnc allows positioning the turret in a particular position whether there is a tool in the indicated position or not. If the selected position contains a tool, the cnc a...

  • Page 114

    Programming manual. Cnc 8070 6. Tech nological functions t ool o ffset n u mber (d) ·114· (r ef : 1709) 6.5 tool offset number (d) the tool offset contains the tool dimensions. Each tool may have several offsets associated with it in such a way that when using combined tools having parts with differ...

  • Page 115

    Programming manual. Cnc 8070 tech nological functions 6. T ool o ffset n u mber (d) ·115· (r ef : 1709) considerations activating the tool offset also activates tool length compensation. This compensation is also activated after a tool change because it "d1" is assumed after the change (if another o...

  • Page 116

    Programming manual. Cnc 8070 6. Tech nological functions auxi liary (mi s ce lla neou s) function s (m) ·116· (r ef : 1709) 6.6 auxiliary (miscellaneous) functions (m) auxiliary "m" functions are related to the overall cnc program execution and the control of the various devices of the machine such ...

  • Page 117

    Programming manual. Cnc 8070 tech nological functions 6. Auxi liary (mi s ce lla neou s) function s (m) ·117· (r ef : 1709) 6.6.1 list of "m" functions program interruption (m00/m01) m00 program stop. Function m00 interrupts the execution of the program. It does not stop the spindle or initialize th...

  • Page 118

    Programming manual. Cnc 8070 6. Tech nological functions auxi liary fu nctions (h) ·118· (r ef : 1709) 6.7 auxiliary functions (h) auxiliary "h" functions are used to send information out to the plc. They differ from the "m" functions in that the "h" functions do not wait for confirmation that the f...

  • Page 119: The Spindle. Basic Control.

    Cnc 8070 7 ·119· (r ef : 1709) the spindle. Basic control. The cnc can have up to four spindles distributed between the various channels of the system. A channel may have one, several or no spindles associated with it. Each channel can only control its spindles; it is not possible to start up or sto...

  • Page 120

    Programming manual. Cnc 8070 7. The spindle. Basic control. T h e master sp ind le of the cha nne l ·120· (r ef : 1709) 7.1 the master spindle of the channel the master spindle is the main spindle of the channel. It is the spindle that receives the commands when no specific spindle is mentioned. In ...

  • Page 121

    Programming manual. Cnc 8070 the spindle. Basic control. 7. T h e master sp ind le of the cha nne l ·121· (r ef : 1709) • if two or more spindles remain in a channel and none of the previous rules can be applied, it applies the following criteria. If any of the spindles is the original master, it is...

  • Page 122

    Programming manual. Cnc 8070 7. The spindle. Basic control. T h e master sp ind le of the cha nne l ·122· (r ef : 1709) 7.1.1 manual selection of a master spindle selecting a new master spindle whenever a channel has a single spindle, it will be its master spindle. When a channel has several spindle...

  • Page 123

    Programming manual. Cnc 8070 the spindle. Basic control. 7. Sp ind le spee d ·123· (r ef : 1709) 7.2 spindle speed the spindle speed is selected by program using the spindle name followed by the desired speed. The speeds of all the spindles of the channel may be programmed in the same block. It is n...

  • Page 124

    Programming manual. Cnc 8070 7. The spindle. Basic control. Sp ind le spee d ·124· (r ef : 1709) 7.2.1 g192. Turning speed limitation function g192 limits the spindle turning speed in both work modes; g96 and g97. This function is especially useful when working at constant cutting speed while machin...

  • Page 125

    Programming manual. Cnc 8070 the spindle. Basic control. 7. Sp ind le spee d ·125· (r ef : 1709) 7.2.2 constant surface speed the functions related to spindle speed programming may be used to select either constant surface speed mode or constant turning speed mode. Constant surface speed is only ava...

  • Page 126

    Programming manual. Cnc 8070 7. The spindle. Basic control. Spin dle start an d sto p ·126· (r ef : 1709) 7.3 spindle start and stop a speed must be set in order to start up a spindle. The spindle start-up and stop are defined using the following auxiliary functions. M03 - start the spindle clockwis...

  • Page 127

    Programming manual. Cnc 8070 the spindle. Basic control. 7. Spin dle start an d sto p ·127· (r ef : 1709) knowing which is the preset turning direction. The turning direction preset for each tool may be consulted in the tool table; the one for the active tool can also be consulted with a variable. (...

  • Page 128

    Programming manual. Cnc 8070 7. The spindle. Basic control. Gear chan ge. ·128· (r ef : 1709) 7.4 gear change. Each spindle may have up to 4 different ranges (gears). Each gear means a speed range for the cnc work in. The programmed speed must be within the active gear; otherwise, a gear change will...

  • Page 129

    Programming manual. Cnc 8070 the spindle. Basic control. 7. Gear chan ge. ·129· (r ef : 1709) (v.)[n].G.Ms[i] variable that can only be read from the prg and plc. The variable indicates the status of the auxiliary mi function this variable returns a ·1· if it is active and a ·0· if not. Gear change ...

  • Page 130

    Programming manual. Cnc 8070 7. The spindle. Basic control. Sp ind le orien ta ti on. ·130· (r ef : 1709) 7.5 spindle orientation. The spindle orientation is defined with function m19. This function stops the spindle and it positions it at an angle defined by parameter "s". See "how is positioning c...

  • Page 131

    Programming manual. Cnc 8070 the spindle. Basic control. 7. Sp ind le orien ta ti on. ·131· (r ef : 1709) how is positioning carried out when executing function m19, the cnc behaves as follows. 1 the cnc stops the spindle (if it was turning). 2 the spindle no longer works in speed mode and it switch...

  • Page 132

    Programming manual. Cnc 8070 7. The spindle. Basic control. Sp ind le orien ta ti on. ·132· (r ef : 1709) 7.5.1 the turning direction for spindle orientation the turning direction for positioning may be set with function m19; if not defined, the cnc applies a turning direction by default. Each spind...

  • Page 133

    Programming manual. Cnc 8070 the spindle. Basic control. 7. Sp ind le orien ta ti on. ·133· (r ef : 1709) how to know the type of spindle. The type of spindle may be checked directly in the machine parameter table or using the following variables. (v.)sp.Shortestway.Sn variable that can only be read...

  • Page 134

    Programming manual. Cnc 8070 7. The spindle. Basic control. Sp ind le orien ta ti on. ·134· (r ef : 1709) 7.5.2 m19 function with an associated subroutine. Function m19 may have a subroutine associated with them that the cnc executes instead of the function. If, within a subroutine associated with a...

  • Page 135

    Programming manual. Cnc 8070 the spindle. Basic control. 7. Sp ind le orien ta ti on. ·135· (r ef : 1709) 7.5.3 positioning speed it is possible to set the spindle positioning (orienting) speed; if it is not set, the cnc assumes the one set by machine parameter refeed1 as the positioning speed. Each...

  • Page 136

    Programming manual. Cnc 8070 7. The spindle. Basic control. M fu nctions with an associ ated subrou ti ne. ·136· (r ef : 1709) 7.6 m functions with an associated subroutine. M3, m4, m5, m19 and m41 to m44 may have a subroutine associated with them that the cnc executes instead of the function. Altho...

  • Page 137: Path Control.

    Cnc 8070 8 ·137· (r ef : 1709) path control. 8.1 rapid traverse (g00). Function g00 executes a rapid positioning, according to a straight line and to the rapid traverse determined by the oem, from the current position to the programmed point. Regardless of the number of axes involved, the resulting ...

  • Page 138

    Programming manual. Cnc 8070 8. Path control. Rapi d trave rse (g00). ·138· (r ef : 1709) • for polar coordinates, define the radius (r) and the angle (q) of the end point relative to the polar origin. The "r" radius will be the distance between the polar origin and the point. The "q" angle will be ...

  • Page 139

    Programming manual. Cnc 8070 path control. 8. Lin ear interpo lation (g01). ·139· (r ef : 1709) 8.2 linear interpolation (g01). Function g01 activates the linear movement, according to the active "f" feedrate, for the following programmed movements. If auxiliary or rotary axes are programmed in the ...

  • Page 140

    Programming manual. Cnc 8070 8. Path control. Lin ear interpo lation (g01). ·140· (r ef : 1709) • for polar coordinates, define the radius (r) and the angle (q) of the end point relative to the polar origin. The "r" radius will be the distance between the polar origin and the point. The "q" angle wi...

  • Page 141

    Programming manual. Cnc 8070 path control. 8. Lin ear interpo lation (g01). ·141· (r ef : 1709) programming example (m model). Absolute and incremental cartesian coordinates. Absolute coordinates. N10 g00 g90 x20 y15 n20 g01 x70 y15 f450 n30 y30 n40 x45 y45 n50 x20 n60 y15 n70 g00 x0 y0 n80 m30 incr...

  • Page 142

    Programming manual. Cnc 8070 8. Path control. Lin ear interpo lation (g01). ·142· (r ef : 1709) programming example (m model). Cartesian and polar coordinates. N10 t1 d1 n20 m06 n30 g71 g90 f450 s1500 m03 (initial conditions) n40 g00 g90 x-40 y15 z10 (approaching profile 1) n50 g01 z-5 n60 x-40 y30 ...

  • Page 143

    Programming manual. Cnc 8070 path control. 8. Lin ear interpo lation (g01). ·143· (r ef : 1709) programming example (t model). Programming in radius. Absolute coordinates. G90 g95 g96 f0.15 s180 t2 d1 m4 m41 g0 x50 z100 g1 x0 z80 ; point a g1 x15 z65 ; a-b section z55 ; b-c section x40 z30 ; c-d sec...

  • Page 144

    Programming manual. Cnc 8070 8. Path control. Lin ear interpo lation (g01). ·144· (r ef : 1709) programming example (t model). Programming in diameters. Absolute coordinates. G90 g95 g96 f0.15 s180 t2 d1 m4 m41 g0 x100 z100 g1 x0 z80 ; point a g1 x30 z65 ; a-b section z55 ; b-c section x80 z30 ; c-d...

  • Page 145

    Programming manual. Cnc 8070 path control. 8. C ircular interp olatio n (g02 /g03). ·145· (r ef : 1709) 8.3 circular interpolation (g02/g03). Movements programmed for g02 and g03 are executed along a circular tool path at the programmed feedrate "f" from the current position to the indicated target ...

  • Page 146

    Programming manual. Cnc 8070 8. Path control. C ircular interp olatio n (g02 /g03). ·146· (r ef : 1709) considerations for the feedrate. • the programmed feedrate "f" stays active until a new value is programmed, thus not being necessary to program it in every block. • the programmed feedrate "f" ma...

  • Page 147

    Programming manual. Cnc 8070 path control. 8. C ircular interp olatio n (g02 /g03). ·147· (r ef : 1709) 8.3.1 cartesian coordinates (arc center programming). The arc is defined by programming function g02 or g03 followed by the coordinates of the arc's end point and those of its center (referred to ...

  • Page 148

    Programming manual. Cnc 8070 8. Path control. C ircular interp olatio n (g02 /g03). ·148· (r ef : 1709) programming examples. Xy plane (g17) ... G02 x60 y15 i0 j-40 ... Xy plane (g17) n10 g17 g71 g94 n20 g01 x30 y30 f400 n30 g03 x30 y30 i20 j20 n40 m30 yz plane (g19) n10 g19 g71 g94 n20 g00 y55 z0 n...

  • Page 149

    Programming manual. Cnc 8070 path control. 8. C ircular interp olatio n (g02 /g03). ·149· (r ef : 1709) 8.3.2 cartesian coordinates (arc radius programming). The arc is defined by programming function g02 or g03 followed by the coordinates of the arc's end point and its radius. Programming format. T...

  • Page 150

    Programming manual. Cnc 8070 8. Path control. C ircular interp olatio n (g02 /g03). ·150· (r ef : 1709) programming examples. Xy plane (g17) g03 g17 x20 y45 r30 zx plane (g18) g03 g18 z20 x40 r-30 yz plane (g19) g02 g19 y80 z30 r30 xy zx yz.

  • Page 151

    Programming manual. Cnc 8070 path control. 8. C ircular interp olatio n (g02 /g03). ·151· (r ef : 1709) 8.3.3 cartesian coordinates (arc radius pre-programming) (g263). The arc is defined by programming function g02 or g03 followed by the coordinates of the arc's end point. The arc radius is program...

  • Page 152

    Programming manual. Cnc 8070 8. Path control. C ircular interp olatio n (g02 /g03). ·152· (r ef : 1709) 8.3.4 polar coordinates. The arc is defined by programming function g02 or g03 followed by the coordinates of the arc's end point (radius and angle) and those of its center (relative to the starti...

  • Page 153

    Programming manual. Cnc 8070 path control. 8. C ircular interp olatio n (g02 /g03). ·153· (r ef : 1709) programming examples. Plane. Programming the center. G17 g18 g19 letters "i", "j" and "k" are associated with the first, second and third axis of the channel respectively. G17 (xy plane) g02/g03 r...

  • Page 154

    Programming manual. Cnc 8070 8. Path control. C ircular interp olatio n (g02 /g03). ·154· (r ef : 1709) 8.3.5 programming example (m model). Polar coordinates. Absolute coordinates. I n c r e m e n t a l coordinates. G00 g90 x0 y0 f350 g00 g90 x0 y0 f350 ; point p0. G01 r100 q0 g91 g01 r100 q0 ; poi...

  • Page 155

    Programming manual. Cnc 8070 path control. 8. C ircular interp olatio n (g02 /g03). ·155· (r ef : 1709) 8.3.6 programming example (m model). Polar coordinates. 10 6 10 10 25 25 15 15 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 ow r p1 46 p2 p3 p4 31 16 16 p5 10 p6 10 p7 16 p8 p9 p10 31 31 46 q 65 80 80 65 65 115...

  • Page 156

    Programming manual. Cnc 8070 8. Path control. C ircular interp olatio n (g02 /g03). ·156· (r ef : 1709) 8.3.7 programming example (t model). Programming examples. Absolute coordinates. I n c r e m e n t a l coordinates. G18 g18 ; z-x plane, g152 g152 ; programming in radius. G90 r430 q0 f350 g90 r43...

  • Page 157

    Programming manual. Cnc 8070 path control. 8. C ircular interp olatio n (g02 /g03). ·157· (r ef : 1709) 8.3.8 polar coordinates. Temporary polar origin shift to the center of arc (g31). Function g31 shifts temporarily the polar origin to the center of the programmed arc. This function only acts in t...

  • Page 158

    Programming manual. Cnc 8070 8. Path control. C ircular interp olatio n (g02 /g03). ·158· (r ef : 1709) 8.3.9 cartesian coordinates. Arc center in absolute coordinates (no-modal) (g06). Function g06 indicates that the absolute coordinates are defined by the center of the arc, relative to the origin ...

  • Page 159

    Programming manual. Cnc 8070 path control. 8. C ircular interp olatio n (g02 /g03). ·159· (r ef : 1709) 8.3.10 cartesian coordinates. Arc center in absolute coordinates (modal) (g261/g262). Function g261 indicates that the absolute coordinates are defined by the center of the arc, relative to the or...

  • Page 160

    Programming manual. Cnc 8070 8. Path control. C ircular interp olatio n (g02 /g03). ·160· (r ef : 1709) properties of the function and influence of the reset, turning the cnc off and of the m30 function. • functions g261 and g262 are modal and incompatible with each other. • on power-up, after execu...

  • Page 161

    Programming manual. Cnc 8070 path control. 8. C ircular interp olatio n (g02 /g03). ·161· (r ef : 1709) 8.3.11 arc correction (g264/g265). In order to execute the programmed arc, the cnc calculates the initial and end radii, which must be the same. When this is not the case, the cnc attempts to exec...

  • Page 162

    Programming manual. Cnc 8070 8. Path control. C ircular interp olatio n (g02 /g03). ·162· (r ef : 1709) properties of the function and influence of the reset, turning the cnc off and of the m30 function. • functions g264 and g265 are modal and incompatible with each other. • on power-up, after execu...

  • Page 163

    Programming manual. Cnc 8070 path control. 8. Arc tan gen t to p reviou s pa th (g08). ·163· (r ef : 1709) 8.4 arc tangent to previous path (g08). Function g08 may program a circular tool path tangent to the previous path without having to program the center coordinates (i, j or k). The previous pat...

  • Page 164

    Programming manual. Cnc 8070 8. Path control. Arc tan gen t to p reviou s pa th (g08). ·164· (r ef : 1709) programming examples. If you wish to program a straight line, then an arc tangential to the line and finally an arc tangential to the previous one. Y x 40 70 60 90 110 g90 g01 x70 g08 x90 y60 g...

  • Page 165

    Programming manual. Cnc 8070 path control. 8. Arc de fi ned by three po ints (g09). ·165· (r ef : 1709) 8.5 arc defined by three points (g09). Function g09 allows a circular tool path (arc) to be defined, by programming the end point and an intermediate point; this means, instead of programming the ...

  • Page 166

    Programming manual. Cnc 8070 8. Path control. Arc de fi ned by three po ints (g09). ·166· (r ef : 1709) properties of the function and influence of the reset, turning the cnc off and of the m30 function. • function g09 may also be programmed as g9. • function g09 is not modal, so it should always be...

  • Page 167

    Programming manual. Cnc 8070 path control. 8. Hel ical interp olatio n (g02 /g03). ·167· (r ef : 1709) 8.6 helical interpolation (g02/g03). Helical interpolation consists of a circular interpolation in the work plane and a linear movement of the rest of the axes programmed. If the helical interpolat...

  • Page 168

    Programming manual. Cnc 8070 8. Path control. Hel ical interp olatio n (g02 /g03). ·168· (r ef : 1709) helical pitch. The helical pitch is defined using the letter "i", "j" or "k" associated with the axis perpendicular to the work plane. The pitch will not be affected by functions g90 and g91. Progr...

  • Page 169: Tool Path Control. Manual

    Cnc 8070 9 ·169· (r ef : 1709) tool path control. Manual intervention. Manual intervention makes it possible to activate the jog mode by program; in other words, the axes may be jogged even while executing a program. The movement may be made using handwheels or the jog keys (incremental or continuou...

  • Page 170

    Programming manual. Cnc 8070 9. To ol path co ntrol . Manu al intervention. Additive man ual in terve n ti on (g2 01/g2 02). ·170· (r ef : 1709) 9.1 additive manual intervention (g201/g202). The additive manual intervention makes it possible to jog the axes using handwheels or the jog keys (continuo...

  • Page 171

    Programming manual. Cnc 8070 to ol path co ntrol . Manu al intervention. 9. Exclusive man ual in te rve n tion (g2 00). ·171· (r ef : 1709) 9.2 exclusive manual intervention (g200). With exclusive manual intervention, the axes may be jogged using handwheels or jog keys (continuous or incremental) by...

  • Page 172

    Programming manual. Cnc 8070 9. To ol path co ntrol . Manu al intervention. Jog g ing f e ed ra te . ·172· (r ef : 1709) 9.3 jogging feedrate. 9.3.1 feedrate in continuous jog (#contjog). This statement allows the feedrate to be configured in continuous jog mode for the specified axis. These values ...

  • Page 173

    Programming manual. Cnc 8070 to ol path co ntrol . Manu al intervention. 9. Jog g ing f e ed ra te . ·173· (r ef : 1709) 9.3.2 feedrate in incremental jog (#incjog). This instruction configures the indicated incremental movement and axis feedrate for each incremental jog position of the selector swi...

  • Page 174

    Programming manual. Cnc 8070 9. To ol path co ntrol . Manu al intervention. Jog g ing f e ed ra te . ·174· (r ef : 1709) 9.3.3 feedrate in incremental jog (#mpg). This instruction allows for the configuration, for each position on the handwheel, of the resolution of the handwheel on the specified ax...

  • Page 175

    Programming manual. Cnc 8070 to ol path co ntrol . Manu al intervention. 9. Jog g ing f e ed ra te . ·175· (r ef : 1709) 9.3.4 manual path movement limits (#set offset). This statement allows for the configuration of the movement limits made under additive manual intervention. These limits are ignor...

  • Page 176

    Programming manual. Cnc 8070 9. To ol path co ntrol . Manu al intervention. Jog g ing f e ed ra te . ·176· (r ef : 1709) 9.3.5 synchronization of coordinates and additive manual offset (#sync pos). This instruction synchronizes the preparation coordinate with the execution one and assumes the additi...

  • Page 177

    Programming manual. Cnc 8070 to ol path co ntrol . Manu al intervention. 9. Variables. ·177· (r ef : 1709) 9.4 variables. The following variables may be accessed via part-program or via mdi/mda mode. Each of them indicates whether it may be read (r) or written (w). Reading these variables interrupts...

  • Page 178

    Programming manual. Cnc 8070 9. To ol path co ntrol . Manu al intervention. Variables. ·178· (r ef : 1709).

  • Page 179: Electronic Threading and

    Cnc 8070 10 ·179· (r ef : 1709) electronic threading and rigid tapping. 10.1 electronic threading with constant pitch (g33) the electronic threading executes the programmed thread in a single pass. In the electronic threading, the cnc does not interpolate the movement of the axes with the spindle. A...

  • Page 180: 10.

    Programming manual. Cnc 8070 10. Elec tronic threading a nd rigid tappin g . Electronic thread ing with constan t pitch (g3 3 ) ·180· (r ef : 1709) thread pitch. • the pitch is defined by the letters "i", "j" or "k" depending on the active plane. • when interpolating several axes in the electronic t...

  • Page 181: 10.

    Programming manual. Cnc 8070 elec tronic threading a nd rigid tappin g . 10. Electronic thread ing with constan t pitch (g3 3 ) ·181· (r ef : 1709) feedrate behavior. The threading feedrate depends on the programmed spindle speed and thread pitch (feedrate = spindle speed x pitch). The electronic th...

  • Page 182: 10.

    Programming manual. Cnc 8070 10. Elec tronic threading a nd rigid tappin g . Electronic thread ing with constan t pitch (g3 3 ) ·182· (r ef : 1709) 10.1.1 programming examples (·m· model) single-entry electronic threading since a spindle speed of 100 rpm an a pitch of 1.5 mm have been programmed, th...

  • Page 183: 10.

    Programming manual. Cnc 8070 elec tronic threading a nd rigid tappin g . 10. Electronic thread ing with constan t pitch (g3 3 ) ·183· (r ef : 1709) 10.1.2 programming examples (·t· model) example programming the x axis in radius. Longitudinal electronic threading to make a cylindrical thread in a si...

  • Page 184: 10.

    Programming manual. Cnc 8070 10. Elec tronic threading a nd rigid tappin g . Electronic thread ing with constan t pitch (g3 3 ) ·184· (r ef : 1709) electronic taper threading to make a taper thread in a single pass, 2 mm deep and with a 5 mm pitch. Thread blending (joining) we would like to a blend ...

  • Page 185: 10.

    Programming manual. Cnc 8070 elec tronic threading a nd rigid tappin g . 10. El ectro n ic th readi ng with variab le pitch (g3 4 ) ·185· (r ef : 1709) 10.2 electronic threading with variable pitch (g34) the electronic threading executes the programmed thread in a single pass. In the electronic thre...

  • Page 186: 10.

    Programming manual. Cnc 8070 10. Elec tronic threading a nd rigid tappin g . El ectro n ic th readi ng with variab le pitch (g3 4 ) ·186· (r ef : 1709) starting thread pitch. • the pitch is defined by the letters "i", "j" or "k" depending on the active plane. • when interpolating several axes in the...

  • Page 187: 10.

    Programming manual. Cnc 8070 elec tronic threading a nd rigid tappin g . 10. El ectro n ic th readi ng with variab le pitch (g3 4 ) ·187· (r ef : 1709) considerations about execution. Beginning of threading. If threading begins in square (sharp) corner, the pitch increase in the first turn will be h...

  • Page 188: 10.

    Programming manual. Cnc 8070 10. Elec tronic threading a nd rigid tappin g . El ectro n ic th readi ng with variab le pitch (g3 4 ) ·188· (r ef : 1709) blending a thread of variable pitch (g34) with a thread of fixed pitch (g33). This combination is used to end a variable-pitch thread (g34) with a p...

  • Page 189: 10.

    Programming manual. Cnc 8070 elec tronic threading a nd rigid tappin g . 10. Rig id tappi ng (g6 3 ) ·189· (r ef : 1709) 10.3 rigid tapping (g63) when rigid tapping, the cnc interpolates the movement of the longitudinal axis with the spindle. Programming to define a rigid tapping, program function g...

  • Page 190: 10.

    Programming manual. Cnc 8070 10. Elec tronic threading a nd rigid tappin g . Rig id tappi ng (g6 3 ) ·190· (r ef : 1709) considerations for the execution spindle speed behavior threading is carried out a the speed defined with function g63. If no particular threading speed is defined, threading will...

  • Page 191: 10.

    Programming manual. Cnc 8070 elec tronic threading a nd rigid tappin g . 10. Wi th draw th e axes afte r in te rru p ti ng an e lectro n ic th read ing (g2 33). ·191· (r ef : 1709) 10.4 withdraw the axes after interrupting an electronic threading (g233). Function g233 may be used to program the safe...

  • Page 192: 10.

    Programming manual. Cnc 8070 10. Elec tronic threading a nd rigid tappin g . Wi th draw th e axes afte r in te rru p ti ng an e lectro n ic th read ing (g2 33). ·192· (r ef : 1709) programming. Define the block to resume the block to resume execution after pressing [start]. To resume execution, pres...

  • Page 193: 10.

    Programming manual. Cnc 8070 elec tronic threading a nd rigid tappin g . 10. Wi th draw th e axes afte r in te rru p ti ng an e lectro n ic th read ing (g2 33). ·193· (r ef : 1709) threading canned cycles, iso and conversational (-t- model). The option to withdraw the axes when interrupting a thread...

  • Page 194: 10.

    Programming manual. Cnc 8070 10. Elec tronic threading a nd rigid tappin g . Wi th draw th e axes afte r in te rru p ti ng an e lectro n ic th read ing (g2 33). ·194· (r ef : 1709) 10.4.1 variables related to g233. The following variables may be accessed via part-program or via mdi/mda mode. Each of...

  • Page 195: Geometry Assistance

    Cnc 8070 11 ·195· (r ef : 1709) geometry assistance 11.1 square corner (g07/g60) when working in square corner mode, the cnc does not begin executing the next movement until the axis reaches the programmed position. The cnc considers that the programmed position has been reached when the axis is loc...

  • Page 196: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance se mi -ro und ed corner (g5 0 ) ·196· (r ef : 1709) 11.2 semi-rounded corner (g50) when working in semi-rounded corner, the cnc starts executing the next movement once the theoretical interpolation of the current move is completed without waiting...

  • Page 197: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. C ontrolle d corner roun ding , radi us b len d, (g05/g6 1) ·197· (r ef : 1709) 11.3 controlled corner rounding, radius blend, (g05/g61) when working in round corner, it is possible to control the corners of the programmed profile. How this machi...

  • Page 198: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance c ontrolle d corner roun ding , radi us b len d, (g05/g6 1) ·198· (r ef : 1709) 11.3.1 types of corner rounding there are 5 different corner contouring types. The first 4 execute the different corner rounding types whereas the last one executes a...

  • Page 199: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. C ontrolle d corner roun ding , radi us b len d, (g05/g6 1) ·199· (r ef : 1709) the distances from the programmed point to the points where the corner rounding begins and ends are calculated automatically and they cannot be greater than half the ...

  • Page 200: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance c ontrolle d corner roun ding , radi us b len d, (g05/g6 1) ·200· (r ef : 1709) the distances from the programmed point to the points where the corner rounding begins and ends are calculated automatically and they cannot be greater than half the ...

  • Page 201: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. C ontrolle d corner roun ding , radi us b len d, (g05/g6 1) ·201· (r ef : 1709) ... G92 x0 y0 g71 g90 #roundpar [5,-30,-30,55,-5,0] g01 g61 x50 f850 n90 g01 y40 ... "a" and "b" distances negative and greater (in absolute value) than the distance ...

  • Page 202: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance co rn er ro und ing, radiu s b lend , (g3 6 ) ·202· (r ef : 1709) 11.4 corner rounding, radius blend, (g36) g36 may be used to round a corner with a particular radius without having to calculate either the center or the starting and ending points...

  • Page 203: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. Co rn er ro und ing, radiu s b lend , (g3 6 ) ·203· (r ef : 1709) the programmed rounding feedrate depends on the type of movement programmed afterwards: • if the next movement is in g00, the rounding will be carried out in g00. • if the next mov...

  • Page 204: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance co rner chamfering , (g3 9 ) ·204· (r ef : 1709) 11.5 corner chamfering, (g39) function g39 may be used to insert a chamfer of a particular size without having to calculate the intersection points. Programming the chamfer definition must be progr...

  • Page 205: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. Co rner chamfering , (g3 9 ) ·205· (r ef : 1709) the programmed chamfering feedrate depends on the type of movement programmed afterwards: • if the next movement is in g00, the chamfer will be carried out in g00. • if the next movement is in g01,...

  • Page 206: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance t ang ential e n try (g3 7 ) ·206· (r ef : 1709) 11.6 tangential entry (g37) function g37 may be used to begin machining with a tangential entry of the tool without having to calculate the intersection points. Programming tangential entry must be...

  • Page 207: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. T ang ential exi t (g3 8 ) ·207· (r ef : 1709) 11.7 tangential exit (g38) function g38 may be used to end machining with a tangential exit of the tool without having to calculate the intersection points. Programming tangential exit must be progra...

  • Page 208: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance mirror image (g11, g12 , g13, g10 , g1 4) ·208· (r ef : 1709) 11.8 mirror image (g11, g12, g13, g10, g14) mirror image may be used to repeat the programmed machining operation in a symmetrical position with respect one or more axes. When using wi...

  • Page 209: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. Mirror image (g11, g12 , g13, g10 , g1 4) ·209· (r ef : 1709) considerations when machining a profile with a mirror image, the machining direction is opposite to that of the programmed profile. If this profile has been defined with tool radius co...

  • Page 210: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance mirror image (g11, g12 , g13, g10 , g1 4) ·210· (r ef : 1709) programming examples. %l profile ("profile" subroutine definition) n10 g00 x10 y10 n20 g01 z0 f400 n30 g01 x20 y20 f850 n40 x50 n50 g03 x50 y50 r15 n60 g01 x30 n70 x20 y40 n80 y20 n90 ...

  • Page 211: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. Mirror image (g11, g12 , g13, g10 , g1 4) ·211· (r ef : 1709) %l profile (subroutine that defines the "a" zone of the part) g90 g00 x40 z150 g02 x80 z110 r60 g01 z60 g01 x124 z-6 m17 %program (main program) g18 g151 (main plane zx and programming...

  • Page 212: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance pattern rotat ion (g 73) ·212· (r ef : 1709) 11.9 pattern rotation (g73) function g73 may be used to rotate the coordinate system taking as rotation center the active reference system (part zero) or the programmed rotation center. Programming the...

  • Page 213: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. Pattern rotat ion (g 73) ·213· (r ef : 1709) on power-up, after executing an m02 or m30, and after an emergency or reset, the cnc cancels the active coordinate system (pattern) rotation. Programming example assuming that the starting point is x0 ...

  • Page 214: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance ge neral scal ing factor ·214· (r ef : 1709) 11.10 general scaling factor it may be used to enlarge or reduce the scale of the programmed paths and contours. This permits using a single program to make sets of similar profiles of different dimens...

  • Page 215: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. Ge neral scal ing factor ·215· (r ef : 1709) programming example %l profile (profile to be machined) g90 x-19 y0 g01 x0 y10 f150 g02 x0 y-10 i0 j-10 g01 x-19 y0 m29 %program g00 x-30 y10 #call profile (machining of profile "a") g92 x-79 y-30 (coo...

  • Page 216: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance ge neral scal ing factor ·216· (r ef : 1709) %l profile (subroutine that defines the "a1" zone of the part) g90 g01 x200 z0 g01 x200 z30 f150 g01 x160 z40 g03 x160 z60 r10 g02 x160 z80 r10 g03 x160 z100 r10 g02 x160 z120 r10 m29 %program (main pr...

  • Page 217: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. W o rk zo nes. ·217· (r ef : 1709) 11.11 work zones. The work zones define a restricted area for tool movement, either forbidding it to exit the programmed zone (no-exit zone) or forbidding it to enter it (no-entry zone). The cnc lets set five of...

  • Page 218: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance w o rk zo nes. ·218· (r ef : 1709) 11.11.1 cnc behavior when there are active work zones. Some general points to consider. • on power-up, the cnc will not monitor the zones whose limits are defined by axes that have non-absolute feedback and have...

  • Page 219: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. W o rk zo nes. ·219· (r ef : 1709) 11.11.2 set the limits of the work zones (g120/g121/g123). The cnc lets set the work zones using the following functions. A work zone may be limited in all the axes of the channel. The limits of the work zones a...

  • Page 220: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance w o rk zo nes. ·220· (r ef : 1709) programming. Set circular limits of a zone. Program function g123 and then the zone number and its dimensions. Programming format. The programming format is the following; the arguments appear between curly brac...

  • Page 221: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. W o rk zo nes. ·221· (r ef : 1709) 11.11.3 enable/disable the work zones (g122). Once the zones have been defined, function g122 allows enabling them either as a no-exit or no-entry zone. When a zone is enabled, the cnc, by default, watches the t...

  • Page 222: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance w o rk zo nes. ·222· (r ef : 1709) considerations. Cnc behavior when an axis invades the forbidden zone. When one or several axes get into a no-entry zone or get out of a no-exit zone, the cnc interrupts the execution and issues the corresponding...

  • Page 223: 11.

    Programming manual. Cnc 8070 geometry as sistance 11. W o rk zo nes. ·223· (r ef : 1709) if there are 2 circular or rectangular no-exit zones one inside the other, the cnc will only take into account the outside one. The entire shaded area is the permitted zone. Properties of the function and influe...

  • Page 224: 11.

    Programming manual. Cnc 8070 11. Geometry as sistance w o rk zo nes. ·224· (r ef : 1709) 11.11.4 summary of work zone related variables. The following variables may be accessed via part-program or via mdi/mda mode. Each of them indicates whether it may be read (r) or written (w). Syntax of the varia...

  • Page 225: Additional Preparatory

    Cnc 8070 12 ·225· (r ef : 1709) additional preparatory functions 12.1 dwell (g04 / #time). The f04 function and the #time instruction may be used to interrupt the execution of the program for the specified period of time. Both commands are equivalent and either one may be used. Programming (1). G04....

  • Page 226: 12.

    Programming manual. Cnc 8070 12. Addition al prep aratory functions d w ell (g04 / #t ime). ·226· (r ef : 1709) properties of the function and influence of the reset, turning the cnc off and of the m30 function. Function g04 is not modal, therefore, it must be programmed every time a dwell is desire...

  • Page 227: 12.

    Programming manual. Cnc 8070 addition al prep aratory functions 12. So ftware li mi ts. ·227· (r ef : 1709) 12.2 software limits. The cnc lets set the software limits on linear axes and on linearlike rotary axes. The software limits set the travel limits for the axes to prevent the carriages from re...

  • Page 228: 12.

    Programming manual. Cnc 8070 12. Addition al prep aratory functions so ftware li mi ts. ·228· (r ef : 1709) 12.2.1 define the first software limit (g198/g199). The cnc lets set the software limits on linear axes and on linearlike rotary axes. The first software limits of the axes are pre-defined in ...

  • Page 229: 12.

    Programming manual. Cnc 8070 addition al prep aratory functions 12. So ftware li mi ts. ·229· (r ef : 1709) axes out of position. If after setting the new limits, an axis positions beyond them, it will be possible to move that axis towards the work zone (between those limits). Programming on a lathe...

  • Page 230: 12.

    Programming manual. Cnc 8070 12. Addition al prep aratory functions so ftware li mi ts. ·230· (r ef : 1709) 12.2.2 define the first software limit via variables. The first software limits can also be defined by the variables equivalent to g198/g199. The functions and the variables modify the same so...

  • Page 231: 12.

    Programming manual. Cnc 8070 addition al prep aratory functions 12. So ftware li mi ts. ·231· (r ef : 1709) 12.2.3 define the second software limit via variables. The second software limits can only be defined by variables. On power-up, these variables assume the values of the first software limits....

  • Page 232: 12.

    Programming manual. Cnc 8070 12. Addition al prep aratory functions so ftware li mi ts. ·232· (r ef : 1709) 12.2.4 variables associated with the software limits. The following variables may be accessed via part-program or via mdi/mda mode. Each of them indicates whether it may be read (r) or written...

  • Page 233: 12.

    Programming manual. Cnc 8070 addition al prep aratory functions 12. Turn hi rth axis on a nd off (g1 70/g1 71). ·233· (r ef : 1709) 12.3 turn hirth axis on and off (g170/g171). A hirth axis is the one that can only be positioned at particular positions, multiple of its pitch (parameter hpitch). When...

  • Page 234: 12.

    Programming manual. Cnc 8070 12. Addition al prep aratory functions se t an d g ear chan ge. ·234· (r ef : 1709) 12.4 set and gear change. 12.4.1 change parameter set of an axis (g112) the cnc may have up to 4 sets of parameters for each axis defined by the oem in the machine parameter table. The pa...

  • Page 235: 12.

    Programming manual. Cnc 8070 addition al prep aratory functions 12. Se t an d g ear chan ge. ·235· (r ef : 1709) 12.4.2 change the gear and set of a sercos drive using variables. The following variables may be used to change the gear and set of a sercos drive for axes and for spindles. This variable...

  • Page 236: 12.

    Programming manual. Cnc 8070 12. Addition al prep aratory functions se t an d g ear chan ge. ·236· (r ef : 1709) 12.4.3 variables related to set and gear change. The following variables may be accessed via part-program or via mdi/mda mode. Each of them indicates whether it may be read (r) or written...

  • Page 237: 12.

    Programming manual. Cnc 8070 addition al prep aratory functions 12. Smoo th the pa th an d th e fee d rate. ·237· (r ef : 1709) 12.5 smooth the path and the feedrate. By default, the cnc calculates the space and the feedrate on the main three axes and the rest of the axes follow their corresponding ...

  • Page 238: 12.

    Programming manual. Cnc 8070 12. Addition al prep aratory functions smoo th the pa th an d th e fee d rate. ·238· (r ef : 1709) 12.5.2 smooth the path and the feedrate (#feednd). This instruction being active (#feednd on), the cnc considers all the axes when calculating the space. The programmed fee...

  • Page 239: Tool Compensation

    Cnc 8070 13 ·239· (r ef : 1709) tool compensation tool compensation allows programming the contour to be machined based on part dimensions and without taking into account the dimensions of the tool that will be used later on. This way, there is no need to calculate and redefine the tool path dependi...

  • Page 240: 13.

    Programming manual. Cnc 8070 13. Tool compensation ·240· (r ef : 1709) compensation values the compensation values applied in each case is calculated from the tool dimensions. • in tool radius compensation, the applied value is the sum of the radius and radius wear of the selected tool. • in tool le...

  • Page 241: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·241· (r ef : 1709) 13.1 tool radius compensation radius compensation is applied in the active work plane, previously selected using functions g17 (xy plane), g18 (zx plane), g19 (yz plane) or g20 (user defined plane). P...

  • Page 242: 13.

    Programming manual. Cnc 8070 13. Tool compensation to ol radiu s comp ensatio n ·242· (r ef : 1709) 13.1.1 location code (shape or type) of the turning tools the location code indicates the type of tool and the sides used to calibrate it. The location code depends on the position of the tools and on...

  • Page 243: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·243· (r ef : 1709) f1 f2 f3 f4 f5 f6 f7 f8 f0 f9 f1 f2 f3 f4 f5 f6 f7 f8 f0 f9 f1 f2 f3 f4 f5 f6 f7 f8 f2 f4 f6 f8 x+ z+.

  • Page 244: 13.

    Programming manual. Cnc 8070 13. Tool compensation to ol radiu s comp ensatio n ·244· (r ef : 1709) f5 f6 f7 f1 f2 f3 f4 f8 f0 f9 x+ z+ f5 f6 f7 f1 f2 f3 f4 f8 f0 f9 f6 f2 f4 f8 f5 f6 f7 f1 f2 f3 f4 f8.

  • Page 245: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·245· (r ef : 1709) 13.1.2 functions associates with radius compensation the functions associated with tool compensation may be programmed anywhere in the program, even while tool radius compensation is active. Selecting...

  • Page 246: 13.

    Programming manual. Cnc 8070 13. Tool compensation to ol radiu s comp ensatio n ·246· (r ef : 1709) how tool radius is activated and canceled the functions associated with the strategy for activating and canceling establish how tool radius compensation starts and ends. Programming the type of strate...

  • Page 247: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·247· (r ef : 1709) on power-up, after executing an m02 or m30, and after an emergency or reset, the cnc assumes function g139..

  • Page 248: 13.

    Programming manual. Cnc 8070 13. Tool compensation to ol radiu s comp ensatio n ·248· (r ef : 1709) 13.1.3 beginning of tool radius compensation tool radius compensation is selected with these functions: g41 left-hand tool radius compensation. G42 right-hand tool radius compensation. After executing...

  • Page 249: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·249· (r ef : 1709) straight-to-straight path when the angle between paths is smaller than or equal to 180º, the way radius compensation is activated is independent from the functions g136/g137 or g138/g139 selected. Whe...

  • Page 250: 13.

    Programming manual. Cnc 8070 13. Tool compensation to ol radiu s comp ensatio n ·250· (r ef : 1709) straight - arc path when the angle between the straight path and the tangent of the arc is smaller than or equal to 180º, the way radius compensation is activated is independent from the functions g13...

  • Page 251: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·251· (r ef : 1709) 13.1.4 sections of tool radius compensation the way the compensated paths are joined depends on the type of transition selected (g136/g137). The following tables show the different transition possibil...

  • Page 252: 13.

    Programming manual. Cnc 8070 13. Tool compensation to ol radiu s comp ensatio n ·252· (r ef : 1709) straight - arc path when the angle between the straight line and the tangent of the arc is smaller than or equal to 180º, the transition between the paths is independent from the selected g136/g137 fu...

  • Page 253: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·253· (r ef : 1709) arc-to-straight path when the angle between the tangent of the arc and the straight line is smaller than or equal to 180º, the transition between the paths is independent from the selected g136/g137 f...

  • Page 254: 13.

    Programming manual. Cnc 8070 13. Tool compensation to ol radiu s comp ensatio n ·254· (r ef : 1709) arc-to-arc path when the angle between the tangents of the arcs is smaller than or equal to 180º, the transition between the paths is independent from the selected g136/g137 function. When the angle b...

  • Page 255: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·255· (r ef : 1709) 13.1.5 change of type of radius compensation while machining the compensation may be changed from g41 to g42 or vice versa without having to cancel it with g40. It may be changed in any motion block o...

  • Page 256: 13.

    Programming manual. Cnc 8070 13. Tool compensation to ol radiu s comp ensatio n ·256· (r ef : 1709) • back-and-forth path along the same way. • intermediate path as long as the tool radius: b a.

  • Page 257: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·257· (r ef : 1709) 13.1.6 cancellation of tool radius compensation tool radius compensation is canceled with function g40. After executing one of this function, radius compensation will be canceled during the next movem...

  • Page 258: 13.

    Programming manual. Cnc 8070 13. Tool compensation to ol radiu s comp ensatio n ·258· (r ef : 1709) straight-to-straight path when the angle between the paths is smaller or equal to 180º, the way radius compensation is canceled is independent from the g136/g137 and g138/g139 functions selected. When...

  • Page 259: 13.

    Programming manual. Cnc 8070 tool compensation 13. To ol radiu s comp ensatio n ·259· (r ef : 1709) tool path arc-straight when the angle between the tangent of the arc and the straight path is smaller or equal to 180º, the way radius compensation is canceled is independent from the g136/g137 and g1...

  • Page 260: 13.

    Programming manual. Cnc 8070 13. Tool compensation too l leng th comp ensatio n ·260· (r ef : 1709) 13.2 tool length compensation tool length compensation on a milling machine. On a milling machine, tool length compensation is applied to the longitudinal axis; i.E. On the axis indicated by the instr...

  • Page 261: 13.

    Programming manual. Cnc 8070 tool compensation 13. Too l leng th comp ensatio n ·261· (r ef : 1709) • to activate this compensation, program "d", where is the tool offset number that contains the tool dimensions that will be used as compensation values. • to cancel this compensation, program "d0". O...

  • Page 262: 13.

    Programming manual. Cnc 8070 13. Tool compensation 3 d too l compensa ti on. ·262· (r ef : 1709) 13.3 3d tool compensation. In tool radius compensation (g41/g42) tool orientation is constant. 3d tool compensation allows changing the tool orientation during the path considering the dimensions and the...

  • Page 263: 13.

    Programming manual. Cnc 8070 tool compensation 13. 3 d too l compensa ti on. ·263· (r ef : 1709) type of compensation. 3d compensation with normal vector. The cam generates a program with the necessary information for the cnc to generate the paths at the corners, depending on the type of tool, if ne...

  • Page 264: 13.

    Programming manual. Cnc 8070 13. Tool compensation 3 d too l compensa ti on. ·264· (r ef : 1709) 13.3.1 programming the vector in the block. The vector must be programmed in all linear and circular motion blocks; if not programmed and 3d compensation is active, the cnc will issue an error message. I...

  • Page 265: Subroutines.

    Cnc 8070 14 ·265· (r ef : 1709) subroutines. 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 thr...

  • Page 266: 14.

    Programming manual. Cnc 8070 14. Subroutines. ·266· (r ef : 1709) common parameters. Common parameters will be shared by the program and the subroutines of any channel. They may be used in any block of the program and of the subroutine regardless of the nesting level they may be at..

  • Page 267: 14.

    Programming manual. Cnc 8070 subroutines. 14. Executin g su broutin es from ram memory. ·267· (r ef : 1709) 14.1 executing subroutines from ram memory. If the same subroutines are executed repeatedly during execution, it is more efficient to load them into the ram memory of the cnc because this way,...

  • Page 268: 14.

    Programming manual. Cnc 8070 14. Subroutines. De fin ition of th e su broutin es ·268· (r ef : 1709) 14.2 definition of the subroutines like the body of the program, a subroutine has a header, a body and an end-of-subroutine function. Header of a local subroutine. The header of the subroutine is a b...

  • Page 269: 14.

    Programming manual. Cnc 8070 subroutines. 14. Subro u tine execu ti on. ·269· (r ef : 1709) 14.3 subroutine execution. The cnc offers the following types of commands to call the subroutines. When executing one of these commands, the cnc executes the selected subroutine. When the subroutine has ended...

  • Page 270: 14.

    Programming manual. Cnc 8070 14. Subroutines. Subro u tine execu ti on. ·270· (r ef : 1709) 14.3.1 ll. Call to a local subroutine. The command ll calls a local subroutine. This type of call allows initializing local parameters of the subroutine. Programming format. The programming format is: ll sub ...

  • Page 271: 14.

    Programming manual. Cnc 8070 subroutines. 14. Subro u tine execu ti on. ·271· (r ef : 1709) 14.3.3 #call. Call to a global or local subroutine. The #call instruction calls a local or global subroutine. This type of call allows initializing local parameters of the subroutine. When it is a global subr...

  • Page 272: 14.

    Programming manual. Cnc 8070 14. Subroutines. Subro u tine execu ti on. ·272· (r ef : 1709) 14.3.4 #pcall. Call to a global or local subroutine initializing parameters. The #pcall instruction calls a local or global subroutine. This type of call allows initializing local parameters of the subroutine...

  • Page 273: 14.

    Programming manual. Cnc 8070 subroutines. 14. Subro u tine execu ti on. ·273· (r ef : 1709) 14.3.5 #mcall. Modal call to a local or global subroutine. The #mcall instruction calls a local or global subroutine. This type of call allows initializing local parameters of the subroutine. When it is a glo...

  • Page 274: 14.

    Programming manual. Cnc 8070 14. Subroutines. Subro u tine execu ti on. ·274· (r ef : 1709) local parameter nesting levels. If local parameters are initialized in the #mcall instruction, this instruction generates a new nesting level for the local parameters. Remember that up to 7 parameter nesting ...

  • Page 275: 14.

    Programming manual. Cnc 8070 subroutines. 14. Subro u tine execu ti on. ·275· (r ef : 1709) 14.3.6 #mdoff. Turning the subroutine into non-modal. The subroutine stops being modal with the instruction #mdoff. . Programming format. The programming format is: #mdoff #mdoff.

  • Page 276: 14.

    Programming manual. Cnc 8070 14. Subroutines. Subro u tine execu ti on. ·276· (r ef : 1709) 14.3.7 #retdsblk. Execute subroutine as a single block. The #retdsblk instruction ends the subroutine and cancels the single block treatment. Programming format. Program the instruction alone in the block and...

  • Page 277: 14.

    Programming manual. Cnc 8070 subroutines. 14. #path . Define the l o cation of th e glob al subrou ti nes. ·277· (r ef : 1709) 14.4 #path. Define the location of the global subroutines. The instruction #path defines the pre-determined location of the global subroutines if no path is defined in the g...

  • Page 278: 14.

    Programming manual. Cnc 8070 14. Subroutines. Oem subro u tine execu ti on. ·278· (r ef : 1709) 14.5 oem subroutine execution. The machine manufacturer may define up to 30 subroutines per channel and associate them with functions g180 through g189 and g380 through g399 in such a way that when a chan...

  • Page 279: 14.

    Programming manual. Cnc 8070 subroutines. 14. Oem subro u tine execu ti on. ·279· (r ef : 1709) additional data in the block. Besides initializing the parameters, any other type of additional information may be added to these functions, even movements. This information must be programmed before the ...

  • Page 280: 14.

    Programming manual. Cnc 8070 14. Subroutines. Ge neric user subrou ti nes (g50 0-g5 99). ·280· (r ef : 1709) 14.6 generic user subroutines (g500-g599). The cnc lets the uses define up to 100 subroutines, common to all channels and that will be associated with functions g500 through g599, so when the...

  • Page 281: 14.

    Programming manual. Cnc 8070 subroutines. 14. Ge neric user subrou ti nes (g50 0-g5 99). ·281· (r ef : 1709) additional data in the block. Besides initializing the parameters, any other type of additional information may be added to these functions, even movements. This information must be programme...

  • Page 282: 14.

    Programming manual. Cnc 8070 14. Subroutines. Ge neric user subrou ti nes (g50 0-g5 99). ·282· (r ef : 1709) local parameter nesting levels. If these functions initialize local parameters, this instruction generates a new nesting level for the local parameters. Remember that up to 7 parameter nestin...

  • Page 283: 14.

    Programming manual. Cnc 8070 subroutines. 14. Assistan ce for subrou ti nes. ·283· (r ef : 1709) 14.7 assistance for subroutines. 14.7.1 subroutine help files. Help files may be associated with each oem subroutine (g180, g380, etc), user subroutine (g500, g800, etc) and each global subroutine called...

  • Page 284: 14.

    Programming manual. Cnc 8070 14. Subroutines. Assistan ce for subrou ti nes. ·284· (r ef : 1709) where to save the help files. The machine manufacturer can save the help files in the folders ..\mtb\sub\help and ..\mtb\sub\help\{language}. Since the modifications to the mtb directory in the "user" wo...

  • Page 285: 14.

    Programming manual. Cnc 8070 subroutines. 14. Assistan ce for subrou ti nes. ·285· (r ef : 1709) 14.7.2 list of available subroutines. The editor allows having in a text file (txt) a list that is displayed while editing the part-program, every time a #pcall or an #mcall instruction is edited. The ed...

  • Page 286: 14.

    Programming manual. Cnc 8070 14. Subroutines. Interrup ti on subrou ti nes. ·286· (r ef : 1709) 14.8 interruption subroutines. The interruption subroutines are defined by the machine manufacturer and will be executed from the plc. When the plc commands the execution of one of these subroutines, the ...

  • Page 287: 14.

    Programming manual. Cnc 8070 subroutines. 14. Interrup ti on subrou ti nes. ·287· (r ef : 1709) 14.8.1 repositioning axes and spindles from the subroutine (#repos). The #repos can only be used inside the interruption subroutines and allows repositioning axes and spindles before ending that subroutin...

  • Page 288: 14.

    Programming manual. Cnc 8070 14. Subroutines. Sub routine a s so ciated with the sta rt. ·288· (r ef : 1709) 14.9 subroutine associated with the start. For each channel, a subroutine can be associated with the execution start, which can be executed by pressing the [start] key, in automatic mode, to ...

  • Page 289: 14.

    Programming manual. Cnc 8070 subroutines. 14. Su brou tin e associated wi th the rese t. ·289· (r ef : 1709) 14.10 subroutine associated with the reset. For each channel, the reset may have an associated subroutine, which will be executed after pressing the [reset] key on the operator panel or when ...

  • Page 290: 14.

    Programming manual. Cnc 8070 14. Subroutines. Subr outines associated with the k inematics calibration cycle. ·290· (r ef : 1709) 14.11 subroutines associated with the kinematics calibration cycle. The kinematics calibration cycle has two associated subroutines (kincal_begin.Nc and kincal_end.Nc), w...

  • Page 291: Executing Blocks and

    Cnc 8070 15 ·291· (r ef : 1709) executing blocks and programs 15.1 executing a program in the indicated channel. With the #exec instruction, it is possible, from a program in execution, to begin the execution of a second program in another channel. The execution of the program starts in the indicate...

  • Page 292: 15.

    Programming manual. Cnc 8070 15. Executing b l ocks and programs executing a pro g ram in th e indi ca te d ch ann el. ·292· (r ef : 1709) channel where the block is to be executed. Programming the channel is optional. If the channel is not indicated or it coincides with the channel where the #exec ...

  • Page 293: 15.

    Programming manual. Cnc 8070 executing b l ocks and programs 15. Executing a bl ock i n th e i ndi ca te d ch ann el. ·293· (r ef : 1709) 15.2 executing a block in the indicated channel. With the #exblk instruction, it is possible, from a program in execution or via mdi, to execute a block in anothe...

  • Page 294: 15.

    Programming manual. Cnc 8070 15. Executing b l ocks and programs ab ort th e exe c u ti on o f th e pro g ram an d resume it in anothe r blo c k or p rogram. ·294· (r ef : 1709) 15.3 abort the execution of the program and resume it in another block or program. The cnc offers a special interruption m...

  • Page 295: 15.

    Programming manual. Cnc 8070 executing b l ocks and programs 15. Ab ort th e exe c u ti on o f th e pro g ram an d resume it in anothe r blo c k or p rogram. ·295· (r ef : 1709) 15.3.1 define the execution resuming block or program. The point where the execution is resumed is defined with the #abort...

  • Page 296: 15.

    Programming manual. Cnc 8070 15. Executing b l ocks and programs ab ort th e exe c u ti on o f th e pro g ram an d resume it in anothe r blo c k or p rogram. ·296· (r ef : 1709) considerations. It is recommended to program the target labels at the beginning of the program, outside the main program. ...

  • Page 297: C Axis

    Cnc 8070 16 ·297· (r ef : 1709) c axis the cnc allows activating axes and spindles as c axis, that interpolated with a linear axis makes it possible to mill the cylindrical surface or the face of a turning part. Although the machine may have several axes or spindle defined as "c" axis, only one of t...

  • Page 298: 16.

    Programming manual. Cnc 8070 16. C a x is activa ti ng th e spind le as "c" axis. ·298· (r ef : 1709) 16.1 activating the spindle as "c" axis. To use a spindle as ·c· axis, it must be enabled as such first. Once this is done, it will be possible to program machining operation on the face or on the s...

  • Page 299: 16.

    Programming manual. Cnc 8070 c a x is 16. Activa ti ng th e spind le as "c" axis. ·299· (r ef : 1709) programming the master spindle as ·c· axis. Programming any spindle as ·c· axis. #cax g01 z50 c100 f100 g01 x20 c20 a50 #cax off #cax [s1,c1] (the spindle "s1" is activated as "c" axis under the nam...

  • Page 300: 16.

    Programming manual. Cnc 8070 16. C a x is machin ing of th e face o f th e part ·300· (r ef : 1709) 16.2 machining of the face of the part either a rotary axis or a spindle may be used as c axis for this type of machining operation. When using a spindle, it must be activated as "c" axis in advance u...

  • Page 301: 16.

    Programming manual. Cnc 8070 c a x is 16. Machin ing of th e face o f th e part ·301· (r ef : 1709) #face [x,c] g90 x0 c-90 g01 g42 c-40 f600 g37 i10 x37.5 g36 i10 c0 g36 i15 x12.56 c38.2 g03 x-12.58 c38.2 r15 g01 x-37.5 c0 g36 i15 c-40 g36 i10 x0 g38 i10 g40 c-90 #face off m30

  • Page 302: 16.

    Programming manual. Cnc 8070 16. C a x is ma chini ng of the turni ng side o f th e part ·302· (r ef : 1709) 16.3 machining of the turning side of the part either a rotary axis or a spindle may be used as c axis for this type of machining operation. When using a spindle, it must be activated as "c" ...

  • Page 303: 16.

    Programming manual. Cnc 8070 c a x is 16. Ma chini ng of the turni ng side o f th e part ·303· (r ef : 1709) #cyl [y,b,z20] g90 g42 g01 y70 b0 g91 z-4 g90 b15.708 g36 i3 y130 b31.416 g36 i3 b39.270 g36 i3 y190 b54.978 g36 i3 b70.686 g36 i3 y130 b86.394 g36 i3 b94.248 g36 i3 y70 b109.956 g36 i3 b125....

  • Page 304: 16.

    Programming manual. Cnc 8070 16. C a x is ma chini ng of the turni ng side o f th e part ·304· (r ef : 1709).

  • Page 305: Angular Transformation of

    Cnc 8070 17 ·305· (r ef : 1709) angular transformation of an incline axis. With the angular transformation of an incline axis, it is possible to make movements along an axis that is not perpendicular to another. The movements are programmed in the cartesian system and to make the movements, they are...

  • Page 306: 17.

    Programming manual. Cnc 8070 17. Angular transfor m a t ion of an inc l ine axis. ·306· (r ef : 1709) considerations for the angular transformation of an incline axis. The axes that make up the angular transformation must meet the following requirements: • both axes must belong to the same channel. ...

  • Page 307: 17.

    Programming manual. Cnc 8070 angular transfor m a t ion of an inc l ine axis. 17. Tu rning a ngul ar tran sformatio n o n and o ff ·307· (r ef : 1709) 17.1 turning angular transformation on and off turn angular transformation on. When the transformation is on, the movements are programmed in the car...

  • Page 308: 17.

    Programming manual. Cnc 8070 17. Angular transfor m a t ion of an inc l ine axis. Fre e zing (susp endi ng) th e angu lar tra n sfo rma ti on. ·308· (r ef : 1709) 17.2 freezing (suspending) the angular transformation. Freezing the angular transformation is a special way to make movements along the a...

  • Page 309: 17.

    Programming manual. Cnc 8070 angular transfor m a t ion of an inc l ine axis. 17. Obtaini ng information o n angu lar tra n sfo rma ti on. ·309· (r ef : 1709) 17.3 obtaining information on angular transformation. Checking the configuration of the angular transformation. The configuration data of the...

  • Page 310: 17.

    Programming manual. Cnc 8070 17. Angular transfor m a t ion of an inc l ine axis. Obtaini ng information o n angu lar tra n sfo rma ti on. ·310· (r ef : 1709).

  • Page 311: Tangential Control.

    Cnc 8070 18 ·311· (r ef : 1709) tangential control. "tangential control" keeps a rotary axis always in the same orientation with respect to the programmed path. The machining path is defined in the axes of the active plane and the cnc keeps the orientation of the rotary axis along the whole path. Tu...

  • Page 312: 18.

    Programming manual. Cnc 8070 18. Tangential control. ·312· (r ef : 1709) when jogging the axes, the cnc cancels tangential control once the movement has ended, the cnc re-activates tangential control in the same conditions as before. Mdi mode. The mdi mode may be accessed from jog mode to activate t...

  • Page 313: 18.

    Programming manual. Cnc 8070 tangential control. 18. T u rnin g tan gen tia l control on an d off. ·313· (r ef : 1709) 18.1 turning tangential control on and off. There are two ways to manage tangential control; using either iso-coded functions or high level commands. Both modes are equivalent and m...

  • Page 314: 18.

    Programming manual. Cnc 8070 18. Tangential control. T u rnin g tan gen tia l control on an d off. ·314· (r ef : 1709) the positioning angle in only maintained when tangential control is "frozen"; in the rest of the cases, it must be programmed every time tangential control is activated. See "18.2 f...

  • Page 315: 18.

    Programming manual. Cnc 8070 tangential control. 18. T u rnin g tan gen tia l control on an d off. ·315· (r ef : 1709) cancel tangential control. Tangential control is canceled with function g45 or with the instruction #tangctrl . Programming format (1). This function cancels tangential control in a...

  • Page 316: 18.

    Programming manual. Cnc 8070 18. Tangential control. F reezin g tan gen tia l control. ·316· (r ef : 1709) 18.2 freezing tangential control. Freezing tangential control is a special cancellation where the cnc remembers the programmed angle. When restoring tangential control, the cnc orients the axis...

  • Page 317: 18.

    Programming manual. Cnc 8070 tangential control. 18. F reezin g tan gen tia l control. ·317· (r ef : 1709) programming format (2). This instruction resumes tangential control in one or several axes. If no axis is programmed, it resumes tangential control in all the axes of the channel. The programmi...

  • Page 318: 18.

    Programming manual. Cnc 8070 18. Tangential control. Ob ta inin g information o n tan gen tia l control. ·318· (r ef : 1709) 18.3 obtaining information on tangential control. Checking the configuration of the angular transformation. The configuration data of the tangential control may be checked dir...

  • Page 319: Kinematics and Coordinate

    Cnc 8070 19 ·319· (r ef : 1709) kinematics and coordinate transformation the description of the general coordinate transformation is divided into these basic functions: instruction. Meaning. #kin id. Select a kinematics. #cs. Define a machining coordinate system (inclined plane). #acs. Define a fixt...

  • Page 320: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation coordinate systems. ·320· (r ef : 1709) 19.1 coordinate systems. For clarity's sake, the following examples show three coordinate systems: when no transformation has been made and the spindle is in the starting position, ...

  • Page 321: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Movemen t in an i n clin ed pla ne. ·321· (r ef : 1709) 19.2 movement in an inclined plane. An inclined plane is any plane resulting form a coordinate transformation of the first three axes of the channel (xyz in the foll...

  • Page 322: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation select a kinem a tic s (#kin id). ·322· (r ef : 1709) 19.3 select a kinematics (#kin id). The manufacturer can set up to 6 kinematics for the machine each one indicating the type of spindle or table, its characteristics a...

  • Page 323: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Coordinate system s (#cs / #acs). ·323· (r ef : 1709) 19.4 coordinate systems (#cs / #acs). There are two different types of coordinate systems, namely the machining coordinate system and the fixture coordinate system. Ea...

  • Page 324: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation coordinate system s (#cs / #acs). ·324· (r ef : 1709) definition mode. The mode definition mode sets the order in which the axes rotate to reach the desired plane. In some cases, the resolution of the plane presents two s...

  • Page 325: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Coordinate system s (#cs / #acs). ·325· (r ef : 1709) format to define and activate (without saving) a coordinate system. Only one of them may be defined; to define another one, the previous one must be canceled. The coor...

  • Page 326: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation coordinate system s (#cs / #acs). ·326· (r ef : 1709) format to assume and save the current coordinate system. #cs def act [{nb}] #acs def act [{nb}] format to activate a saved coordinate system. #cs on [{nb}] #acs on [{n...

  • Page 327: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Coordinate system s (#cs / #acs). ·327· (r ef : 1709) 19.4.1 define a coordinate system (mode1). Both instructions use the same programming format and may be used together or separately. #cs def [{n}] [mode 1, {v1}, {v2},...

  • Page 328: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation coordinate system s (#cs / #acs). ·328· (r ef : 1709) 19.4.2 define a coordinate system (mode2). Both instructions use the same programming format and may be used together or separately. #cs def [{n}] [mode 2, {v1}, {v2},...

  • Page 329: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Coordinate system s (#cs / #acs). ·329· (r ef : 1709) 19.4.3 define a coordinate system (mode3). Both instructions use the same programming format and may be used together or separately. #cs def [{n}] [mode 3, {v1}, {v2},...

  • Page 330: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation coordinate system s (#cs / #acs). ·330· (r ef : 1709) 19.4.4 define a coordinate system (mode4). Both instructions use the same programming format and may be used together or separately. #cs def [{n}] [mode 4, {v1}, {v2},...

  • Page 331: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Coordinate system s (#cs / #acs). ·331· (r ef : 1709) 19.4.5 define a coordinate system (mode5). Both instructions use the same programming format and may be used together or separately. #cs def [{n}] [mode 5, {v1}, {v2},...

  • Page 332: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation coordinate system s (#cs / #acs). ·332· (r ef : 1709) 19.4.6 define a coordinate system (mode6). Both instructions use the same programming format and may be used together or separately. #cs def [{n}] [mode 6, {v1}, {v2},...

  • Page 333: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Coordinate system s (#cs / #acs). ·333· (r ef : 1709) v1, v2, v3 components of the translation vector. Coordinate origin of the inclined plane with respect to the current part zero. 1 coordinate (pattern) rotation. This a...

  • Page 334: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation coordinate system s (#cs / #acs). ·334· (r ef : 1709) 19.4.7 operation with 45º spindles (huron type). Huron type spindles have two solutions for orienting the tool perpendicular to the new work plane. • the first solutio...

  • Page 335: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Coordinate system s (#cs / #acs). ·335· (r ef : 1709) in order that the tool is perpendicular to the defined plane, the positioning must be performed using machine coordinates (#mcs), since the cnc provides the solution i...

  • Page 336: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation coordinate system s (#cs / #acs). ·336· (r ef : 1709) 19.4.8 how to combine several coordinate systems. Up to 10 acs and cs coordinate systems may be combined to build new coordinate systems. For example, the acs coordina...

  • Page 337: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Coordinate system s (#cs / #acs). ·337· (r ef : 1709) the #acs off and #cs off instructions deactivate the last #acs or #cs activated, respectively. A #acs or #cs coordinate system may be activated several time. The figur...

  • Page 338: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation t ool pe rpend icula r to the incli ned pl ane (#t o ol or i). ·338· (r ef : 1709) 19.5 tool perpendicular to the inclined plane (#tool ori). The #tool ori instruction is used to position the tool perpendicular to the act...

  • Page 339: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. T ool pe rpend icula r to the incli ned pl ane (#t o ol or i). ·339· (r ef : 1709) 19.5.1 programming examples. #cs on [1] [mode 1, 0, 0, 20, 30, 0, 0] (define the inclined plane) #tool ori (tool perpendicular to the incl...

  • Page 340: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation t ool pe rpend icula r to the incli ned pl ane (#t o ol or i). ·340· (r ef : 1709) the following example shows how to drill three holes with different inclination in the same plane: #cs on [1] [mode .....] (define the inc...

  • Page 341: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. U s ing rt cp (ro ta tin g to ol center poin t). ·341· (r ef : 1709) 19.6 using rtcp (rotating tool center point). The rtcp represents a length compensation in space. The rtcp orientation of the tool may be changed withou...

  • Page 342: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation u s ing rt cp (ro ta tin g to ol center poin t). ·342· (r ef : 1709) considerations about the rtcp transformation. • in order to work with rtcp transformation, the first three axes of the channel (for example x, y, z) mus...

  • Page 343: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. U s ing rt cp (ro ta tin g to ol center poin t). ·343· (r ef : 1709) 19.6.1 programming examples. Example 1. Circular interpolation maintaining tool orientation. • block n20 selects the zx plane (g18) and positions the to...

  • Page 344: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation u s ing rt cp (ro ta tin g to ol center poin t). ·344· (r ef : 1709) example 3. Machining a profile. G18 g90 (selects the zx plane (g18)) #rtcp on (turn rtcp on) g01 x40 z0 b0 f1000 (position the tool at x40 z0, oriented ...

  • Page 345: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. C o rrect the impli c it too l len g th compen sati on o f the p rogram (#t l c). ·345· (r ef : 1709) 19.7 correct the implicit tool length compensation of the program (#tlc). Cad-cam programs take the tool length into co...

  • Page 346: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation how to withdra w the tool wh en lo si ng the pla ne. ·346· (r ef : 1709) 19.8 how to withdraw the tool when losing the plane. If the cnc is turned off and back on while working with kinematics, the work plane that was sel...

  • Page 347: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. To ol orie ntati on in t he pa rt coordi nate system. ·347· (r ef : 1709) 19.9 tool orientation in the part coordinate system. 19.9.1 activate tool orientation in the part coordinate system. Currently at the cnc, in order...

  • Page 348: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation to ol orie ntati on in t he pa rt coordi nate system. ·348· (r ef : 1709) 19.9.2 cancel tool orientation in the part coordinate system. The instruction #csrot off cancels the programming of the rotary axes in the active a...

  • Page 349: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. To ol orie ntati on in t he pa rt coordi nate system. ·349· (r ef : 1709) 19.9.3 how to manage the discontinuities in the orientation of rotary axes. Usually, the axis orienting process provides two possible solution in t...

  • Page 350: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation to ol orie ntati on in t he pa rt coordi nate system. ·350· (r ef : 1709) criterion to solve the discontinuity. The possible criteria are: if not programmed, the cnc assumes the last value programmed. After executing an m...

  • Page 351: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. To ol orie ntati on in t he pa rt coordi nate system. ·351· (r ef : 1709) 19.9.4 screen for choosing the desired solution. When the instruction #csrot is programmed with the warning option (show a warning and interrupt th...

  • Page 352: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation to ol orie ntati on in t he pa rt coordi nate system. ·352· (r ef : 1709) 19.9.5 execution example. Selecting a solution. The example assumes a cb spindle type kinematics. The starting program will be a circle in the xz p...

  • Page 353: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Se lecting the ro ta ry axes tha t posit io n the tool in typ e -52 kinematics. ·353· (r ef : 1709) 19.10 selecting the rotary axes that position the tool in type-52 kinematics. The instruction #select ori may be used to ...

  • Page 354: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation tra n sfo rm the current part ze ro co ns ide ri ng the positio n of the tabl e kinematics. ·354· (r ef : 1709) 19.11 transform the current part zero considering the position of the table kinematics. On 7-axis kinematics ...

  • Page 355: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Tra n sfo rm the current part ze ro co ns ide ri ng the positio n of the tabl e kinematics. ·355· (r ef : 1709) 19.11.1 process of saving a part zero with the table axes in any position. The following steps are valid for ...

  • Page 356: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation tra n sfo rm the current part ze ro co ns ide ri ng the positio n of the tabl e kinematics. ·356· (r ef : 1709) 19.11.2 example to maintain the part zero without rotating the coordinate system. The following example shows...

  • Page 357: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Summary of kinemati cs related variables. ·357· (r ef : 1709) 19.12 summary of kinematics related variables. The following variables may be accessed via part-program or via mdi/mda mode. Each of them indicates whether it ...

  • Page 358: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation summary of kinemati cs related variables. ·358· (r ef : 1709) in order that the tool is perpendicular to the defined plane, the positioning must be performed using machine coordinates, since the cnc provides the solution ...

  • Page 359: 19.

    Programming manual. Cnc 8070 kinematic s an d coordin a te tr ansformation 19. Summary of kinemati cs related variables. ·359· (r ef : 1709) variables related to the kinorg option (position of the current transformed part zero, considering the position of the table kinematics). V.G.Csroto2[2] r posi...

  • Page 360: 19.

    Programming manual. Cnc 8070 19. Kinematic s an d coordin a te tr ansformation summary of kinemati cs related variables. ·360· (r ef : 1709).

  • Page 361: Hsc. High Speed Machining.

    Cnc 8070 20 ·361· (r ef : 1709) hsc. High speed machining. Nowadays, lots of parts are designed using cad-cam systems. This type of information is later post-processed to generate a cnc program, usually made up of a large number of very short blocks of several mm or just a few tenths of a micron. In...

  • Page 362: 20.

    Programming manual. Cnc 8070 20. Hsc. High speed machinin g . Recommend ation s for ma ch ini ng. ·362· (r ef : 1709) 20.1 recommendations for machining. S e l e c t i n g t h e c h o r d a l e r r o r a t t h e c n c a n d a t t h e p o s t - processed cam. As mentioned earlier, the error caused by...

  • Page 363: 20.

    Programming manual. Cnc 8070 hsc. High speed machinin g . 20. User subro u ti nes g5 00-g501 to tu rn h s c o n /off. ·363· (r ef : 1709) 20.2 user subroutines g500-g501 to turn hsc on/off. The cnc lets the uses define up to 100 subroutines, common to all channels and that will be associated with fu...

  • Page 364: 20.

    Programming manual. Cnc 8070 20. Hsc. High speed machinin g . User subro u ti nes g5 00-g501 to tu rn h s c o n /off. ·364· (r ef : 1709) subroutine g501 supplied by fagor (may be modified by the user). ; ----------------------------------------- ; ----------------------------------------- ; hsc act...

  • Page 365: 20.

    Programming manual. Cnc 8070 hsc. High speed machinin g . 20. User subro u ti nes g5 00-g501 to tu rn h s c o n /off. ·365· (r ef : 1709) 20.2.1 alternative example for functions g500-g501 supplied by fagor. G500 subroutines supplied by fagor may be modified by the user. Here is another example for ...

  • Page 366: 20.

    Programming manual. Cnc 8070 20. Hsc. High speed machinin g . User subro u ti nes g5 00-g501 to tu rn h s c o n /off. ·366· (r ef : 1709) example of a g501 subroutine. Turn hsc on in fast mode. Example of a g502 subroutine. Turn hsc on in surface mode. ;----------------------------------------------...

  • Page 367: 20.

    Programming manual. Cnc 8070 hsc. High speed machinin g . 20. Hsc surf ac e mode . Optimization of surfa c e fin ish. ·367· (r ef : 1709) 20.3 hsc surface mode. Optimization of surface finish. It is the recommended way (mode) to work. This mode optimizes the velocity profile through intelligent algo...

  • Page 368: 20.

    Programming manual. Cnc 8070 20. Hsc. High speed machinin g . Hsc surf ac e mode . Optimization of surfa c e fin ish. ·368· (r ef : 1709) maximum chordal error allowed. The e command sets the maximum contouring error allowed between the programmed path and the resulting path (mm or inches). This com...

  • Page 369: 20.

    Programming manual. Cnc 8070 hsc. High speed machinin g . 20. Hsc surf ac e mode . Optimization of surfa c e fin ish. ·369· (r ef : 1709) when changing hsc modes, the cnc assumes the default values set in the machine parameters. Execute an hsc mode starting with initial conditions. To execute in hsc...

  • Page 370: 20.

    Programming manual. Cnc 8070 20. Hsc. High speed machinin g . Hsc conterr o r mode . Op ti mi zing the contou ri ng error. ·370· (r ef : 1709) 20.4 hsc conterror mode. Optimizing the contouring error. From this instruction on, the cnc modifies the geometry through intelligent algorithms for eliminat...

  • Page 371: 20.

    Programming manual. Cnc 8070 hsc. High speed machinin g . 20. Hsc conterr o r mode . Op ti mi zing the contou ri ng error. ·371· (r ef : 1709) maximum error on rotary axes. The re command defines the error in all the rotary axes and linear axes (except the first three axes of the channel). Programmi...

  • Page 372: 20.

    Programming manual. Cnc 8070 20. Hsc. High speed machinin g . Hsc f ast mode. Optimizing the mach inin g fee d rate. ·372· (r ef : 1709) 20.5 hsc fast mode. Optimizing the machining feedrate. In spite of the recommendations for generating cam programs, it is possible to have programs already generat...

  • Page 373: 20.

    Programming manual. Cnc 8070 hsc. High speed machinin g . 20. Hsc f ast mode. Optimizing the mach inin g fee d rate. ·373· (r ef : 1709) maximum angle for square corner. The corner command sets the maximum angle between two paths (between 0º and 180º), under which the cnc machines in square corner m...

  • Page 374: 20.

    Programming manual. Cnc 8070 20. Hsc. High speed machinin g . Ca nceli ng th e hsc mo de. ·374· (r ef : 1709) 20.6 canceling the hsc mode. The hsc mode is canceled with the instruction #hsc off. Hsc is also canceled when programming any of the functions g05, g07 or g50. Functions g60 and g61 do not ...

  • Page 375: Virtual Tool Axis.

    Cnc 8070 21 ·375· (r ef : 1709) virtual tool axis. A virtual axis of the tool is a fictitious axis that always moves in the direction in which the tool is oriented. This virtual tool axis facilitates the movement in the tool direction when it is not aligned with the axes of the machine, but it is or...

  • Page 376: 21.

    Programming manual. Cnc 8070 21. Virtua l tool axis. Activate t h e v irt ual t o ol axis. ·376· (r ef : 1709) 21.1 activate the virtual tool axis. The instruction #virtax is used to activate the transformation of the virtual tool axis. Programming. When defining this instruction, it is also possibl...

  • Page 377: 21.

    Programming manual. Cnc 8070 virtua l tool axis. 21. C a nc el t h e v irt ua l t o o l a x is . ·377· (r ef : 1709) 21.2 cancel the virtual tool axis. The instruction #virtax off cancels the transformation of the virtual tool axis. The way the virtual tool axis will behave after executing an m30 or...

  • Page 378: 21.

    Programming manual. Cnc 8070 21. Virtua l tool axis. Varia b les associ ate d with th e vi rtu a l to ol axis. ·378· (r ef : 1709) 21.3 variables associated with the virtual tool axis. The following variables may be accessed via part-program or via mdi/mda mode. Each of them indicates whether it may...

  • Page 379: Statements And Instructions

    Cnc 8070 22 ·379· (r ef : 1709) statements and instructions there are two types of high level language commands, programming instructions and flow controlling instructions. Programming instructions they are defined with the "#" sign followed by the name of the instruction and its associated paramete...

  • Page 380: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·380· (r ef : 1709) 22.1 programming statements 22.1.1 display instructions. Display an error on the screen it interrupts program execution and displays the indicated error message. It is programmed using the inst...

  • Page 381: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·381· (r ef : 1709) including external values in the error text the identifier %d or %d may be used to insert external values (parameters or variables) into the text. The data whose value is to be displayed must b...

  • Page 382: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·382· (r ef : 1709) 22.1.2 display instructions. Display a warning on the screen the display of warnings on the screen may be programmed using the instruction #warningstop or #warning depending on whether the prog...

  • Page 383: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·383· (r ef : 1709) including external values in the error text the identifier %d or %d may be used to insert external values (parameters or variables) into the text. The data whose value is to be displayed must b...

  • Page 384: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·384· (r ef : 1709) 22.1.3 display instructions. Display a message on the screen the indicated message appears at the top of the screen and it does not interrupt the execution of the program. The message will stay...

  • Page 385: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·385· (r ef : 1709) 22.1.4 display instructions. Define the size of the graphics area the instruction #dgwz may be used to define cylindrical or prismatic parts at both cnc models. The defined parts are kept until...

  • Page 386: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·386· (r ef : 1709) programming format (2). Defining a cylindrical part. The programming format is the following; the list of arguments appears between curly brackets and the optional ones between angle brackets. ...

  • Page 387: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·387· (r ef : 1709) programming from channel ·1·. #dgwz rect [...] programming from channel ·1·. #dgwz cyl z [...] p1 c1 programming from channel ·2·. #dgwz cyl z2 [...] p2 c2 programming from channel ·1·. #dgwz c...

  • Page 388: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·388· (r ef : 1709) 22.1.5 enabling and disabling instructions #esblk beginning of the single-block treatment #dsblk end of the single-block treatment the #esblk and #dsblk instructions activate and deactivate the...

  • Page 389: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·389· (r ef : 1709) 22.1.6 iso generation. Iso generation converts canned cycles, calls to subroutines, loops, etc. Into their equivalent iso code (g, f, s, etc functions), so the user can modify it and adapt it t...

  • Page 390: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·390· (r ef : 1709) programming. Disable iso generation. 'this instruction must be programmed alone in the block' programming it is optional; if not programed, the cnc generates iso code up to the end of the progr...

  • Page 391: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·391· (r ef : 1709) example. Convert parameters. Program after iso generation. $for p1=0,240,120 g73 q[p1] $endfor g73 q[0] g73 g73 q[120] g73 g73 q[240] g73.

  • Page 392: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·392· (r ef : 1709) 22.1.7 electronic axis slaving two axes may be slaved to each other so the movement of one of them (slave) depends on the movement of the other one (master). It is possible to have several axis...

  • Page 393: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·393· (r ef : 1709) 22.1.8 axis parking some machines, depending on the type of machining, may have two different configurations (axes and spindles). In order to prevent the elements not present in one of the conf...

  • Page 394: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·394· (r ef : 1709) when trying to park an axis or spindle that is already parked, the programming is ignored. #unpark unparks an axis this instruction is used to unpark the selected axis or spindle. When unparkin...

  • Page 395: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·395· (r ef : 1709) 22.1.9 modifying the configuration of the axes of a channel initially, each channel has some axes assigned to it as set by the machine parameters. While executing a program, a channel may relea...

  • Page 396: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·396· (r ef : 1709) offset setting the offsets that may be applied to the axes are identified with the following commands. To apply several offsets, program the relevant commands separated by a blank space. If whe...

  • Page 397: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·397· (r ef : 1709) offset setting the offsets that may be applied to the axes are identified with the following commands. To apply several offsets, program the relevant commands separated by a blank space. Screen...

  • Page 398: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·398· (r ef : 1709) screen display at first, the axes appear ordered as they have been defined in the general machine parameter table (by channels) and then as the swapping is defined. #rename ax renames the axes ...

  • Page 399: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·399· (r ef : 1709) accessing the variables of a renamed axis. After changing the name of an axis, the new name of the axis must be used to access its variables from the part-program or mdi. The access to the vari...

  • Page 400: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·400· (r ef : 1709) 22.1.10 modifying the configuration of the spindles of a channel the cnc can have up to four spindles distributed between the various channels of the system. A channel may have one, several or ...

  • Page 401: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·401· (r ef : 1709) #call sp add a spindle to the configuration it adds one or several spindles to the current configuration. The position of the spindles in the channel is not relevant. To add a spindle to the ch...

  • Page 402: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·402· (r ef : 1709) when a channel releases (frees) a spindle (instruction #set or #free), the axis always recovers its original name. Even if the #rename is kept (parameter renamecancel), the cnc cancels it if th...

  • Page 403: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·403· (r ef : 1709) 22.1.11 spindle synchronization this mode may be used to set the movement of a spindle (slave) synchronized with that of another spindle (master) through a given ratio. The spindle synchronizat...

  • Page 404: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·404· (r ef : 1709) considerations for the synchronization the #sync function may be executed either in open loop (m3 or m4) or in closed loop (m19) in the synchronization, the master spindle can work in either op...

  • Page 405: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·405· (r ef : 1709) #unsync [slave1 ...] all the spindles are uncoupled if no parameter is defined. Considerations for uncoupling the synchronism is also canceled with m30 and reset. When canceling the synchronism...

  • Page 406: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·406· (r ef : 1709) position synchronization (v.)[n].A.Syncposw.Xn read-only from the prg, plc e int. When the spindles are synchronized in position, the slave spindle follows the master keeping the programmed off...

  • Page 407: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·407· (r ef : 1709) 22.1.12 selecting the loop for an axis or a spindle. Open loop or closed loop when working in open loop, the command does not depend on the feedback. When working in closed loop, the command is...

  • Page 408: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·408· (r ef : 1709) #servo on [axis/spindle] the loop of each axis or spindle must be opened separately. Considerations for programming the loops function m19 involves always working in closed loop. Functions m3, ...

  • Page 409: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·409· (r ef : 1709) 22.1.13 collision detection with this option, the cnc analyzes in advance the blocks to be executed in order to detect loops (intersections of the profile with itself) or collisions in the prog...

  • Page 410: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·410· (r ef : 1709) #cd off cancels collision detection it cancels the collision detecting process. The process will also be canceled automatically after executing an m02 or m30 and after an error or a reset. Exam...

  • Page 411: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·411· (r ef : 1709) 22.1.14 spline interpolation (akima) this type of machining adapts the programmed contour to a spline type curve that goes through all the programmed points. The contour to be splined is define...

  • Page 412: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·412· (r ef : 1709) if defined with a value of ·3·, the initial tangent is defined using the #aspline starttang instruction and the final tangent using the #aspline endtang instruction if not defined, it applies t...

  • Page 413: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·413· (r ef : 1709) n10 g00 x0 y20 n20 g01 x20 y20 f750 (starting point of the spline) n30 #aspline mode [1,2] (type of initial and final tangent) n40 #spline on (activation of the spline) n50 x40 y60 n60 x60 n70 ...

  • Page 414: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·414· (r ef : 1709) 22.1.15 polynomial interpolation the cnc permits interpolating straight lines and arcs and the #poly instruction may be used to interpolate complex curves, like a parabola. #poly polynomial int...

  • Page 415: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·415· (r ef : 1709) 22.1.16 acceleration control the acceleration and the jerk (variation of acceleration) applied on the movements are set by machine parameters. However, those values may be changed from the prog...

  • Page 416: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·416· (r ef : 1709) #slope it sets the behavior of the acceleration this instruction sets the influence of the values defined with functions g130, g131, g132 and g133 in the behavior of the acceleration. The progr...

  • Page 417: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·417· (r ef : 1709) 22.1.17 definition of macros macros may be used to define a program block or part of it with their own names in the format "macroname" = "cncblock". Once the macro has been defined, programming...

  • Page 418: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·418· (r ef : 1709) #init macrotab resetting the table of macros when defining a macro from a program (or mdi), it is stored in a cnc table so it is available for all the rest of the programs. This instruction res...

  • Page 419: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·419· (r ef : 1709) 22.1.18 block repetition this instruction may be used to execute a portion of the program defined between two blocks which will be identified with labels. The label of the last block must be pr...

  • Page 420: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·420· (r ef : 1709) the execution of a block can also be repeated with the "nr" command. See "1.3.1 programming in iso code." on page 36. It is not possible to repeat a group of blocks that close a control loop if...

  • Page 421: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·421· (r ef : 1709) 22.1.19 communication and synchronization between channels each channel may execute its own program simultaneously and independently from other channels. But, besides this, it can also communic...

  • Page 422: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·422· (r ef : 1709) • status of the meet or wait type "m" mark in the "n" channel v.[n].G.Meetst[m] v.[n].G.Waitst[m] #meet it activates the mark indicated in the channel and waits for it to be activated in the re...

  • Page 423: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·423· (r ef : 1709) as opposed to the #meet instruction, it does not activate the indicated mark of its own channel. The marks of the channel are activated using the instruction #signal . #signal it activates the ...

  • Page 424: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·424· (r ef : 1709) 22.1.20 movements of independent axes the cnc has the possibility of executing independent positioning and synchronization. For this type of movements, each cnc axis has an independent interpol...

  • Page 425: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·425· (r ef : 1709) positioning move (#move) the various types of positioning are programmed with the following instructions. #move - absolute positioning move. #move add - incremental positioning move. #move inf ...

  • Page 426: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·426· (r ef : 1709) synchronization move (#follow on) the activation and cancellation of the different types of synchronization are programmed with the following instructions. #follow on - activates the synchroniz...

  • Page 427: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·427· (r ef : 1709) programming it is an option. If not programmed, it executes a velocity synchronization. #follow on [x, y, n1, d1] #follow on [a1, u, n2, d1, pos] #follow off [y] #follow on [accux, y, n1, d1].

  • Page 428: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·428· (r ef : 1709) 22.1.21 electronic cams. The electronic cam mode may be used to move a slave axis based on a positions-table or on a cam profile. If while executing a cam profile, a second cam profile is execu...

  • Page 429: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·429· (r ef : 1709) activating and canceling the electronic cam (#cam). The activation and cancellation of the electronic cam is programmed with the following instructions. #cam on - activates the cam (real coordi...

  • Page 430: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·430· (r ef : 1709) [type] cam type. Depending on the execution mode, the time cams and the position cams may be of two different types; i.E. Periodic or non-periodic. This selection is made using the following co...

  • Page 431: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. Pro g ramming statements ·431· (r ef : 1709) 22.1.22 additional programming instructions #flush interruption of block preparation the cnc reads several blocks ahead (preparation) of the one being executed in order to calculate in advance ...

  • Page 432: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions pro g ramming statements ·432· (r ef : 1709) 22.1.23 on line modification of the machine configuration in hd graphics (xca files). The cnc offers several xca files, one per model, containing the definition and configuration of the machine...

  • Page 433: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. F low control ling i n stru ctio ns ·433· (r ef : 1709) 22.2 flow controlling instructions 22.2.1 jump to a block ($goto) $goto n $goto [] one of the following parameters is defined in this instruction: this instruction provokes a jump to...

  • Page 434: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions f low control ling i n stru ctio ns ·434· (r ef : 1709) 22.2.2 conditional execution ($if) $if ... $endif the following parameter is defined in this instruction: this instruction analyzes the programmed condition. • if the condition is tr...

  • Page 435: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. F low control ling i n stru ctio ns ·435· (r ef : 1709) $if ... $elseif ... $endif this instruction analyzes the following programmed conditions. • if is true, it executes the blocks contained between $if and $elseif. • if is false, it an...

  • Page 436: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions f low control ling i n stru ctio ns ·436· (r ef : 1709) 22.2.3 conditional execution ($switch) $ s w i t c h . . . $ c a s e ... $endswitch the following parameters are defined in this instruction: this instruction calculates the result o...

  • Page 437: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. F low control ling i n stru ctio ns ·437· (r ef : 1709) 22.2.4 block repetition ($for) $for = ,, ... $endfor the following parameters are defined in this instruction. When executing this instruction, takes the value of and it changes its ...

  • Page 438: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions f low control ling i n stru ctio ns ·438· (r ef : 1709) 22.2.5 conditional block repetition ($while) $while ... $endwhile the following parameter is defined in this instruction: while the condition is true, it executes the blocks containe...

  • Page 439: 22.

    Programming manual. Cnc 8070 statements an d instructions 22. F low control ling i n stru ctio ns ·439· (r ef : 1709) 22.2.6 conditional block repetition ($do) $do ... $enddo the following parameter is defined in this instruction: while the condition is true, it repeats the execution of the blocks c...

  • Page 440: 22.

    Programming manual. Cnc 8070 22. Statements an d instructions f low control ling i n stru ctio ns ·440· (r ef : 1709).

  • Page 441: Cnc Variables.

    Cnc 8070 23 ·441· (r ef : 1709) cnc variables. All information regarding cnc variables can found in the manual on “cnc variables", which can be downloaded from the fagor automation corporate website. The electronic document is called man_8070_var.Pdf. Http://www.Fagorautomation.Com/en/downloads/.

  • Page 442: 23.

    Programming manual. Cnc 8070 23. Cnc varia b les. ·442· (r ef : 1709).

  • Page 443

    Programming manual. Cnc 8070 ·443· user notes: (r ef : 1709).

  • Page 444

    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.