background image

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 cancel
the HSC mode. Activating a second HSC mode does not cancel the previous HSC mode.

Programming.

Program the instruction alone in the block.

Programming format.

The programming format is:

#HSC OFF

Influence of the reset, turning the CNC off and of the M30.

The HSC mode is canceled on power-up, after executing an M02 or M30 and after an
emergency or reset.

#HSC OFF

Содержание 8070 BL

Страница 1: ... Ref 1709 8070 CNC Programming manual ...

Страница 2: ...p to the user to keep the unit virus free in order to guarantee its proper operation Computer viruses at the CNC may cause it to malfunction FAGOR AUTOMATION shall not be held responsible for any personal injuries or physical damage caused or suffered by the CNC due a computer virus in the system Ifacomputervirus isfoundinthesystem the unitwillnolongerbeunderwarranty All rights reserved No part of...

Страница 3: ...tem 55 2 3 Reference systems 56 2 3 1 Origins of the reference systems 57 2 4 Home search 58 2 4 1 Definition of Home search 58 2 4 2 Home search programming 59 CHAPTER 3 COORDINATE SYSTEM 3 1 Programming in millimeters G71 or in inches G70 61 3 2 Absolute G90 or incremental G91 coordinates 62 3 2 1 Rotary axes 63 3 3 Absolute and incremental coordinates in the same block I 65 3 4 Programming in r...

Страница 4: ...n with an associated subroutine 134 7 5 3 Positioning speed 135 7 6 M functions with an associated subroutine 136 CHAPTER 8 PATH CONTROL 8 1 Rapid traverse G00 137 8 2 Linear interpolation G01 139 8 3 Circular interpolation G02 G03 145 8 3 1 Cartesian coordinates Arc center programming 147 8 3 2 Cartesian coordinates arc radius programming 149 8 3 3 Cartesian coordinates arc radius pre programming...

Страница 5: ...iables 231 12 2 4 Variables associated with the software limits 232 12 3 Turn Hirth axis on and off G170 G171 233 12 4 Set and gear change 234 12 4 1 Change parameter set of an axis G112 234 12 4 2 Change the gear and set of a Sercos drive using variables 235 12 4 3 Variables related to set and gear change 236 12 5 Smooth the path and the feedrate 237 12 5 1 Smooth the path PATHND 237 12 5 2 Smoot...

Страница 6: ...ematics KIN ID 322 19 4 Coordinate systems CS ACS 323 19 4 1 Define a coordinate system MODE1 327 19 4 2 Define a coordinate system MODE2 328 19 4 3 Define a coordinate system MODE3 329 19 4 4 Define a coordinate system MODE4 330 19 4 5 Define a coordinate system MODE5 331 19 4 6 Define a coordinate system MODE6 332 19 4 7 Operation with 45º spindles Huron type 334 19 4 8 How to combine several co...

Страница 7: ...g 392 22 1 8 Axis parking 393 22 1 9 Modifying the configuration of the axes of a channel 395 22 1 10 Modifying the configuration of the spindles of a channel 400 22 1 11 Spindle synchronization 403 22 1 12 Selecting the loop for an axis or a spindle Open loop or closed loop 407 22 1 13 Collision detection 409 22 1 14 Spline interpolation Akima 411 22 1 15 Polynomial interpolation 414 22 1 16 Acce...

Страница 8: ...BLANK PAGE 8 ...

Страница 9: ...tegrated PLC PLC execution time Digital inputs Digital outputs Marks Registers Timers Counters Symbols 1ms K 1024 1024 8192 1024 512 256 Unlimited Block processing time 1 ms 1 ms Remote modules RIOW RIO5 RIO70 RIOR RCS S Valid for CNC 8070 8065 8060 8070 8065 8060 8070 8065 D I S C O N T I N U E D 8070 8065 8060 8070 8065 8060 Communication with the remote modules CANopen CANopen CANfagor CANopen ...

Страница 10: ...her tasks apart from machining a part This feature must be active when installing this type of application even if they are Office files Once the application has been installed it is recommended to close the CNC in order to prevent the operators from installing other kinds of applications that could slow the system down and affect the machining operations SOFT DIGITAL SERCOS Sercos digital bus Ser...

Страница 11: ... ISO cycles for the OL model G80 G81 G82 G83 SOFT PROBE Probing canned cycles The CNC may have two probes usually a tabletop probe to calibrate tools and a measuring probe to measure the part This option activates the functions G100 G103 and G104 for probe movements probe canned cycles are not included SOFT THIRD PARTY CANOPEN Third party CANopen Enables the use of non Fagor CANopen modules SOFT F...

Страница 12: ...BLANK PAGE 12 ...

Страница 13: ...mity for the CNC is available in the downloads section of FAGOR S corporate website http www fagorautomation com Type of file Declaration of conformity WARRANTY TERMS The warranty conditions for the CNC are available in the downloads section of FAGOR s corporate website http www fagorautomation com Type of file General sales warranty conditions ...

Страница 14: ...BLANK PAGE 14 ...

Страница 15: ...gram is now limited to 50 Macros Software V02 01 Windows XP operating system Emergency shutdown with battery central unit PC104 Multi channel system up to 4 channels Swapping of axes and spindles communication and synchronization between channels common arithmetic parameters access variables by channel etc Multi spindle system up to 4 spindles Tool management with up to 4 magazines Tool radius com...

Страница 16: ...rror Variable V A FLWEST xn Variables to read the instant value of feed forward or AC forward Variables V A ACTFFW xn V A ACTACF xn Variable to know the line number of the file being executed Variable V G LINEN Variable to know what kind of cycle is active Variable V G CYCLETYPEON Variable to know the tool orientation Variable V G TOOLDIR Variable to know whether the HSC mode is active or not Vari...

Страница 17: ...gramming the radius CYL instruction Software V03 11 Retrace function Several improvements to the retrace function HSC New command CORNER HSC instruction G33 The override limitation is maintained while returning to the beginning of the thread Function G33 RTCP Home search is now possible on the axes that are not involved in RTCP Abort the execution of the program and resume it somewhere else Instru...

Страница 18: ...sets Function G159 There can now be up to 100 synchronization marks Instructions MEET WAIT and SIGNAL Select a turret position ROTATEMZ instructions Axis synchronization Managing a rotary axis as an infinite axis making it possible to increase the feedback count of the axis indefinitely wihout limits regardless of the value of the module Variables V A PREVACCUDIST xn Variables The variable V E PRO...

Страница 19: ...ized switching Variables V G TON V G TOF V G PON V G POF Statement SWTOUT Software V04 20 Maximum safety limit for feedrate Machine parameter FLIMIT Maximum safety speed limit Machine parameter SLIMIT Interruption subroutines per channel Programming instructions REPOS Theremaybeupto 30OEMsubroutinesperchannelnow G180 G189 G380 G399 The OEM subroutines may be executed either in a non modal G180 G18...

Страница 20: ...e V04 27 10 HSC New SURFACE mode HSC instruction Generic user subroutines Functions G500 G599 Generic user subroutines pre configured by Fagor G500 G501 functions program start subroutine Override of the dynamics for HSC Variable V G DYNOVR New name for the V G CONTERROR variable Variable V G ACTROUND Maximum frequency generated on the machining path Variable V MPG MAXFREQ Software V05 01 ModBUS s...

Страница 21: ...oftware V05 20 New options in graphics Define whether the part is cylindrical or rectangular Define up to four parts Assign a part to one or more channels Statement DGWZ On line modification of the machine configuration in HD graphics xca files Statement DEFGRAPH 3D tool compensation Statement COMP3D HSC SURFACE mode New commands RE SF and AXF HSC instruction HSC FAST mode New commands RE SF and A...

Страница 22: ...ECIR2 k V G ZONER k V G ZONECIRAX1 k V G ZONECIRAX2 k Smooth the path Statement PATHND Smooth the path and the feedrate Statement FEEDND Software V05 50 The CNC permits setting the machine coordinate for gantry axes Function G174 The CNC permits executing seven subroutines per block Software V05 60 00 Subroutine associated with the reset Subroutine PROGRAM_RESET Subroutine associated with the tool...

Страница 23: ... handle the connectors with the unit connected to AC power Before handling these connectors I O feedback etc make sure that the unit is not powered Interconnection of modules Use the connection cables provided with the unit Use proper cables To prevent risks only use cables and Sercos fiber recommended for this unit To prevent a risk of electrical shock at the central unit use the proper connector...

Страница 24: ...elay coils contactors motors etc uncoupled Use the proper power supply Use an external regulated 24 Vdc power supply for the keyboard operator panel and the remote modules Connecting the power supply to ground The zero Volt point of the external power supply must be connected to the main ground point of the machine Analog inputs and outputs connection Use shielded cables connecting all their meshe...

Страница 25: ...70 25 REF 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 ...

Страница 26: ...BLANK PAGE 26 ...

Страница 27: ... Kg 375 lb 2 Attach a label to the device indicating the owner of the device along with contact information address telephone number email name of the person to contact type of device serial number etc In case of malfunction also indicate symptom and a brief description of the problem 3 Protect the unit wrapping it up with a roll of polyethylene or with similar material When sending a central unit...

Страница 28: ...BLANK PAGE 28 ...

Страница 29: ... pressure to clean the unit because it could cause the accumulation of electrostatic charges that could result in electrostatic shocks The plastics used on the front panel are resistant to grease and mineral oils bases and bleach dissolved detergents and alcohol Avoid the action of solvents such as chlorine hydrocarbons venzole esters and ether which can damage the plastics used to make the unit s...

Страница 30: ...BLANK PAGE 30 ...

Страница 31: ... editing high level commands the editor offers a list of available commands 8055 language Programs can also be edited in the 8055 CNC language Programming in 8055 CNC language is enabled from the part program editor Refer to the operating manual to enable this option This manual does not describe the 8055 language refer to the specific documentation for this product Obviously since this CNC and th...

Страница 32: ...ssary to execute an operation that may be machining preparing the cutting conditions controlling the elements of the machine etc The CNC program may consist of several local subroutines and the body of the program The local subroutines must be defined at the beginning of the program example Name of the program N5 F550 S1000 M3 M8 T1 D1 Sets the machining conditions N6 G0 X0 Y0 Positioning N10 G1 G...

Страница 33: ...The end of the program body is defined by functions M02 or M30 and they are equivalent There is no need to program these functions when reaching the end of the program without executing any of them the CNC ends the execution and shows a warning indicating that they are missing The CNC behaves differently when reaching the end of the program depending on whether the M02 M30 has been programmed or n...

Страница 34: ... stored in CNC memory as an independent program This subroutine may be called upon from any program or subroutine being executed Local subroutines The local subroutine is defined as part of a program This subroutine may only be called upon from the program where it has been defined A program can have several local subroutines but they all must be defined before the body of the program A local subr...

Страница 35: ... interpolations threading canned cycles etc Functions to control cutting conditions such as feedrate of the axes spindle speed and accelerations Functions to control the tools Complementary functions with technological instructions Definition of position values High level language programming This language provides the user with a set of control commands with a terminology similar to the one used ...

Страница 36: ...k identification The block identification must be programmed when the block is used as the destination of references or jumps In this case it is recommended to program it alone in the block It may be represented in two ways The letter N followed by the block number 0 4294967295 and the character only when the label is used asthe destination of a block jump theyneed not followa particular order or ...

Страница 37: ...ter D followed by the tool offset number The number of offsets available for each tool is defined in the tool table M H Auxiliary functions With the auxiliary functions it is possible to control machine elements such as spindle turning direction coolant etc These functions are represented by the letters M or H followed by the function number 0 65535 NR Number of block repetitions This indicates th...

Страница 38: ...is used asthe destination of a block jump theyneed not followa particular order or be consecutive If the label is not a jump target and is programmed without it may go in any position of the block not necessarily at the beginning name type labels where name may be up to 14 characters long and may consist of uppercase and lowercase characters as well as numbers no blank spaces are allowed Both type...

Страница 39: ...wild card is represented by the character followed by the position number of the axis 1 for the first axis 2 for the second one and so forth If the position of a gap is programmed the CNC will display an error message Using these wild cards the user can program a movement as follows Besides for programming movements the wild cards can also be used to refer to the axes in the following G functions ...

Страница 40: ...unction Function M D V Meaning G00 Rapid positioning 8 1 G01 Linear interpolation 8 2 G02 Clockwise circular helical interpolation 8 3 8 6 G03 Counterclockwise circular helical interpolation 8 3 8 6 G04 Dwell 12 1 G05 Controlled corner rounding modal 11 3 G06 Arc center in absolute coordinates not modal 8 3 9 G07 Square corner modal 11 1 G08 Arc tangent to previous path 8 4 G09 Arc defined by thre...

Страница 41: ...inates 3 2 G91 Programming in incremental coordinates 3 2 G92 Coordinate preset 5 4 G93 Setting machining time in seconds 6 2 1 G94 Feedrate in millimeters minute inches minute 6 2 1 G95 Feedrate in millimeters revolution inches revolution 6 2 1 G96 Constant surface speed 7 2 2 G97 Constant turning speed 7 2 2 G98 M model Withdrawal to the starting plane G99 M model Withdrawal to the reference pla...

Страница 42: ... 12 3 G174 Set the machine coordinate 5 2 G180 G189 OEM subroutine execution 14 5 G380 G399 OEM subroutine execution 14 5 G192 Turning speed limitation 7 2 1 G193 Interpolating the feedrate 6 2 2 G196 Constant surface speed feedrate at the cutting point 6 2 3 G197 Constant feedrate of the tool center 6 2 3 G198 Setting of lower software travel limits 12 2 G199 Setting of upper software travel limi...

Страница 43: ...s indicated the function is described in another manual Function Meaning M00 Program stop 6 6 1 M01 Conditional program stop 6 6 1 M02 End of program 1 2 1 M03 Start the spindle clockwise 7 3 M04 Start the spindle counterclockwise 7 3 M05 Stop the spindle 7 3 M06 Tool change 6 6 1 M17 End of a global or local subroutine 14 2 M19 Spindle orientation 7 5 M29 End of a global or local subroutine 14 2 ...

Страница 44: ...which the manual intervention is applied 9 1 CALL Call to a global or local subroutine 14 3 3 CALL AX Add a new axis to the configuration 22 1 9 CALL SP Add a spindle to the configuration 22 1 10 CAM ON Activate the electronic cam real coordinates 22 1 21 CAM OFF Cancel the electronic cam 22 1 21 CAX Axis C Activating the spindle as C axis 16 1 CD OFF Cancel collision detection 22 1 13 CD ON Activ...

Страница 45: ...he path 12 5 PCALL Call to a global or local subroutine initializing parameters 14 3 4 POLY Polynomial interpolation 22 1 15 RENAME AX Rename the axes 22 1 9 RENAME SP Rename the spindles 22 1 10 REPOS Repositioning axes and spindles from an OEM subroutine 14 8 1 RET End of a global or local subroutine 14 2 RETDSBLK Execute subroutine as a single block 14 3 7 ROUNDPAR Type of corner rounding 11 3 ...

Страница 46: ... 19 WAIT FOR Wait for an event 22 1 22 WARNING Display a warning on the screen 22 1 2 WARNINGSTOP Display a warning on the screen and interrupt the program 22 1 2 Instruction Meaning SELECT PROBE Probe selection PROBE 1 Tool calibration dimensions and wear PROBE 2 Probe calibration PROBE 3 Surfacing measuring PROBE 4 Outside corner measuring PROBE 5 Inside corner measuring PROBE 6 Angle measuremen...

Страница 47: ...be more than one comment in the same block Programming comments with the character The information to be considered as comment must go after the character The comment may be programmed alone in the block or may be added at the end of a block Programming comments with the COMMENT instruction The instructions COMMENT BEGIN and COMMENT END indicate the beginning and end of a comment The blocks progra...

Страница 48: ...eplace the suffix name with the name of the variable V P name Local user variable V S name Global user variable Local user variables may only be accessed from the program or subroutine where they have been programmed Global user variables will be shared by the program and the subroutines of the channel Global user variables maintain their value after a reset Initialize the user variables Variables...

Страница 49: ...outine may also be referred to by the letters A Z except Ñ and Ç so A is the same as P0 and Z the same as P25 Global arithmetic parameters Global parameters can be accessed from any program and subroutine called from a program The value of these parameters is shared by the program and the subroutines There is a group of global parameters in each channel The maximum range of global parameters is P1...

Страница 50: ...rithmetic expression is a decimal number the decimal portion will be ignored Logic operators Used for doing logic comparisons between conditions Each condition should go between brackets otherwise an undesired comparison may be done due to the priority between operators Add P1 3 4 P1 7 Subtract Change sign P2 5 2 P2 3 4 P2 3 P2 7 Multiply P3 2 3 P3 6 Division P4 9 2 P4 4 5 MOD Module or remainder ...

Страница 51: ... VAR FALSE SIN Sine P1 SIN 30 P1 0 5 COS Cosine P2 COS 30 P2 0 866 TAN Tangent P3 TAN 30 P3 0 5773 ASIN Arc sine P4 ASIN 1 P4 90 ACOS Arc cosine P5 ACOS 1 P5 0 ATAN Arc tangent P6 ATAN 1 P6 45 ARG Arctangent y x P7 ARG 1 1 P7 315 ATAN It returns the result between 90º ARG It returns the result between 0º and 360º ABS Absolute value P1 ABS 10 P1 10 SQR Square function P2 SQR 4 P2 16 SQRT Square roo...

Страница 52: ... combination of arithmetic and binary operators with constants parameters and variables This type of expressions may also be used to assign values to parameters and variables P100 P9 P101 P P7 P102 P P8 SIN P8 20 P103 V G TOOL V G FIXT 1 X 20 V G FIXT 1 Y 40 V G FIXT 1 Z 35 Relational expressions Their result is a TRUE or a FALSE They combine relational and logic operators with arithmetic expressi...

Страница 53: ... DIN 66217 standard denomination for the axes is However the machine manufacturer may call the axes differently As an option the name of the axes may be followed by a number between 1 and 9 X1 X3 Y5 A8 X Y Z Main axes of the machine The X Y axes form the main work plane whereas the Z axis is parallel to the main axis of the machine and perpendicular to the XY plane U V W Auxiliary axes parallel to...

Страница 54: ...n 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 by your fingers when holding the rotary axis with your hand while your thumb points in the positive direction of the linear axis ...

Страница 55: ... various target destination points in the plane 2D or in space 3D The main coordinate system is formed by the X Y Z axes These axes are perpendicular to each other and they meet at the origin point used as reference for the various points Other types of axes such as auxiliary and rotary axes may also be part of the coordinate system The position of a point P in the plane or in space is defined by ...

Страница 56: ...sed It is activated by program and may be set by the operator in any position of the machine When the machine has several fixtures each one may have its own reference system associated with it Part reference system datum point Itestablishesa coordinatesystem associated withthe partbeingmachined It isactivated by program and may be set by the operator anywhere on the part Example of the various coo...

Страница 57: ...erating Manual OW Part zero It is the origin point of the reference system of the part workpiece Its position is set by the operator using the zero offset and is referred To the fixture offset if the fixture reference system is active When changing the fixture reference system the CNC updates the part zero position by referring to the new fixture zero point To the machine zero point home if the fi...

Страница 58: ...achine When searching home the axes move to the machine reference point and the CNC assumes the coordinate values assigned to that point by the machine manufacturer referred to machine zero When using I0 distance coded reference marks or absolute feedback the axes will only move the distance necessary to verify their position OM OW H XMH YMH ZMH XWH YWH ZWH Machine zero Part zero Machine reference...

Страница 59: ...arch is always carried out together with the first axis regardless of the order in which it has been defined Home search and loop status Axes usually work in closed loop although rotary axes can also work in open loop so they can be controlled as if they were spindles The home search is carried out with the axes and spindles controlled in position i e in closed position loop The CNC will close the...

Страница 60: ...Programming manual CNC 8070 2 MACHINE OVERVIEW Home search 60 REF 1709 ...

Страница 61: ...hese functions the CNC assumes that unit system for the following blocks If none of these functions is programmed the CNC uses the unit system set by machine manufacturer G M P INCHES When changing the unit system the CNC converts the currently active feedrate into the new unit system Properties of the functions The G70 and G71 functions are modal and are incompatible On power up after an M02 or M...

Страница 62: ...e work mode selected by machine manufacturer G M P ISYSTEM Depending on the active work mode G90 G91 the coordinates of the points are defined as follows When programming in absolute coordinates G90 the coordinates of the point are referred to the current origin of the coordinate system usually the part zero When programming in incremental coordinates G91 the coordinates of the point are referred ...

Страница 63: ...splays the position values between the limits of the module Unidirectional rotary axis This type of rotary axis only moves in one direction the one that has been preset for it The CNC displays the position values between the limits of the module G90 movements G91 movements The sign of the position value indicates the moving direction the absolute position value indicates the target position Normal...

Страница 64: ...lues between the limits of the module G90 movements G91 movements The axis moves via the shortest path up to the programmed position Normal incremental movement The sign of the position value indicates the moving direction the absolute position value indicates the position increment Even if the programmed distance is greater than the module the axis never turns more than one revolution If the prog...

Страница 65: ...ey represent coordinates position values blocks like G00 G01 G02 etc and G198 G199 software limits The incremental format is not allowed when the axes have a different meaning G112 G74 G14 etc Axis programming using wild cards The CNC allows incremental programming in the wild cards for the axes for 1 2 3 and for all the n Parametric programming The CNC allowsincremental programming the parameters...

Страница 66: ... functions the CNC assumes that programming mode for the following blocks When switching programming modes the CNC changes the way it displays the coordinates of the corresponding axes Function properties Functions G151 and G152 are modal and incompatible with each other On power up after executing an M02 or M30 and after an EMERGENCY or RESET the CNC assumes function G151 if machine parameter DIA...

Страница 67: ...three or more in space Definition of position values The position of a point in this system is given by its coordinates in the different axes The coordinates are programmed in absolute or incremental coordinates and in millimeters or inches Standard axes X C The coordinates are programmed with the axis name followed by the coordinate value Numbered axes X1 C9 If the axis name is like X1 Y2 the sig...

Страница 68: ...mental G91 coordinates When working in G90 the R and Q values will be absolute The value assigned to the radius must always be positive or zero When working in G91 the R and Q values will be incremental Although negative R values may be programmed when programming in incremental coordinates the resulting value assigned to the radius must always be positive or zero When programming a Q value greate...

Страница 69: ...0o 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 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 100 100 115 115 Y X P0 P1 P2 P3 P4 P5 P6 63 4o 45o 33 7o R Q P0 430 P1 430 0 33 7 P2 P3 P4 340 290 230 45 33 7 45 P5 360 63 4 P6 360 90 X Z ...

Страница 70: ...se compatibility is maintained with Polar Cartesian programming This type of programming is valid for linear and circular interpolations The coordinates may be absolute G90 or increment G91 and may be given in mm or inches The angle will always be an absolute value regardless of the active G90 G91 function and it must be given in degrees Like in Polar programming coordinate angle programming is no...

Страница 71: ... 8070 COORDINATE SYSTEM 3 Coordinate programming 71 REF 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 ...

Страница 72: ...Programming manual CNC 8070 3 COORDINATE SYSTEM Coordinate programming 72 REF 1709 ...

Страница 73: ...r lathe model with trihedron type axis configuration Lathe model with plane type axis configuration Function Meaning G17 Main plane formed by the first axis abscissa second ordinate and third axis perpendicular of the channel G18 Main plane formed by the third axis abscissa first axis ordinate and second axis perpendicular of the channel G19 Main plane formed by the second axis abscissa third axis...

Страница 74: ...by the manufacturer parameter IPLANE the usual plane being G17 at a mill model and G18 at a lathe model The CNC displays the G functions associated with the work planes Configuration of plane type axes lathe model This configuration has two axes forming the usual work plane on a lathe There may be more axes but they cannot be part of the trihedron there must be auxiliary rotary etc With this confi...

Страница 75: ...axes of the channel Function G20 and the instruction TOOL AX can change the longitudinal axis of the tool Programming These functions may be programmed anywhere in the program and they don t have to go alone in the block Programming format The programming format is G17 G18 G19 Properties of the function and Influence of the reset turning the CNC off and of the M30 function Functions G17 G18 G19 an...

Страница 76: ...Z second axis of the channel axes have been defined the work plane will be the ZX and Z will be the longitudinal axis Function G20 and the instruction TOOL AX can change the longitudinal axis of the tool Programming These functions may be programmed anywhere in the program and they don t have to go alone in the block Programming format The programming format is G18 Properties of the function and I...

Страница 77: ...owing the list of arguments appears between curly brackets and the optional ones between angle brackets G20 X C axistype X C axistype X C axistype X C axistype Values for setting the location of the axis in the plane The work plane is defined by selecting the abscissa and ordinate axes the perpendicular axis and the longitudinal axis of the tool It is selected by assigning one of the following val...

Страница 78: ... positioned in the positive direction of the axis If the parameter to select the longitudinal axis is negative the tool is positioned in the negative direction of the axis Properties of the function and Influence of the reset turning the CNC off and of the M30 function Function G20 is modal and incompatible with G17 G18 and G19 On power up after an M02 or M30 and after an emergency or a reset the ...

Страница 79: ...xis Programming When programming this instruction you must define the new axis and the orientation of the tool Programming format The programming format is the following the list of arguments appears inside the curly brackets TOOL AX X C Define the orientation of the tool Tool orientation is set as follows Tool orientation TOOL AX Z TOOL AX V2 sign Positive tool orientation sign Negative tool orie...

Страница 80: ...Programming manual CNC 8070 4 WORK PLANES Select the longitudinal axis of the tool 80 REF 1709 ...

Страница 81: ...l be defined by the sum of the active offsets Type of offset Description Fixture offset Distance between the machine reference zero and the fixture s zero point On machines using several fixtures this offsets allows selecting the particular fixture to be used Zero offset Distance between the fixture s zero point and the part zero If the fixture zero is not active no fixture offset the zero offset ...

Страница 82: ...t the PLC offset the kinematics and cartesian transformations therefore the movement is carried out in the machine reference system Once the movement has ended the CNC restores the offsets kinematics and cartesian transformations that were active The programmed movements do not admit polar coordinates nor other kinds of transformations such as mirror image coordinate pattern rotation or scaling fa...

Страница 83: ...meters 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 units predefined at the CNC INCHES parameter assumed by the CNC on power up These units are assumed for defining the coordinates for the feedrate and for the speed ...

Страница 84: ...amming format The programming format is G174 X C G174 S Considerations and limitations Function G174 by itself does not cause any axis or spindle movement After executing functionG174 theCNCconsidersthattheaxisorspindleishomed andverifiesthatitiswithin the software travel limits On gantry axes the CNC applies the coordinate defined in G174 to both axes master and slave The CNC does not allow setti...

Страница 85: ... the table they may be activated via program by assigning to the V G FIX variable the offset number to be applied Only one fixture offset may be active at a time therefore when applying a fixture offset it will cancel the previous one Assigning a value of V G FIX 0 will cancel the active fixture offset Considerations A fixture offset by itself does not cause any axis movement Properties On power u...

Страница 86: ...ause any axis movement When homing an axis in JOG mode the preset for that axis is canceled Function properties G92 is modal the preset values remain active until the preset is canceled with another preset a zero offset or with G53 On power up the CNC assumes the coordinate preset that was active when the CNC was turned off On the other hand the coordinate preset is neither affected by functions M...

Страница 87: ... or incremental value When executing function G159 the CNC assumes as new zero offset the sum of both parts Activating a zero offset Once the zero offsets have been defined in the table they may be activated via program by programming function G59 followed by the offset number to be activated The first six zero offsets of the table can also be applied using functions G54 through G59 G54 for the fi...

Страница 88: ...nctions G54 G55 G56 G57 G58 G59 and G159 are modal and incompatible with each other and with G53 and G92 On power up the CNC assumes the zero offset that was active when the CNC was turned off On the other hand the zero offset is neither affected by functions M02 and M30 nor by RESETTING the CNC N100 V A ORGT 1 X 0 V A ORGT 1 Z 420 N110 V A ORGT 2 X 0 V A ORGT 2 Z 330 N100 V A ORGT 3 X 0 V A ORGT ...

Страница 89: ...set nb Variable R W Meaning V ch A ORG xn R Value of the active zero offset coarse absolute G159 fine absolute G159 incremental G158 V ch A ADDORG xn R Value of the active incremental zero offset G158 V ch A COARSEORG xn R Value of the active absolute zero offset G159 coarse part V ch A FINEORG xn R Value of the active absolute zero offset G159 fine part V ch A ORGT nb xn R W Offset set in the zer...

Страница 90: ...set only on particular axes program a 0 zero incremental offset for each one of them N100 G54 It applies the first zero offset Machining of profile 1 N200 G158 X20 Y45 Apply incremental zero offset Machining of profile 2 N300 G55 It applies the second zero offset G158 stays active Machining of profile 3 N400 G158 Cancel incremental zero offset G55 stays active Machining of profile 4 N100 G54 It ap...

Страница 91: ...power up the CNC assumes the incremental zero offset that was active when the CNC was turned off On the other hand the incremental zero offset is neither affected by functions M02 and M30 nor by RESETTING the CNC Machining of profile A2 N300 G55 It applies the second absolute zero offset The incremental zero offset stays active Machining of profile A3 N200 G158 Z 180 It applies the second incremen...

Страница 92: ...set Excluding axes does not affect the active zero offsets If an axis is excluded when applying a new zero offset the CNC maintains the one that was active for that axis Considerations Excluding axes does not affect the coordinate preset or the incremental zero offsets which are always applied on to all the axes Likewise neither fixture offsets nor PLC offsets are affected Function properties Func...

Страница 93: ...allows to execute movements referred to the fixture zero if it is active Function G53 may be programmed in any block of the program When added to a block with path information the offset or preset is canceled before executing the programmed movement Considerations Function G53 by itself does not cause any axis movement Function properties Function G53 is modal and incompatible with function G92 ze...

Страница 94: ... programmed as follows I J They define the abscissa and ordinate of the new polar origin They must be defined in absolute coordinates referred to part zero When programmed both parameters must be programmed If not programmed it will assume the current tool position as the polar origin G30 I J It assumes as the new polar origin the point whose abscissa is I and ordinate J referred to part zero G30 ...

Страница 95: ...gin On power up after an M02 or M30 and after an EMERGENCY or a RESET the CNC assumes the currently selected part zero as the new polar origin G18 G151 Main plane Z X and programming in diameters G90 X180 Z50 Point P0 programming in diameters G01 X160 Point P1 in a straight line G01 G30 I90 J160 Presets P5 as polar origin G03 Q270 Point P2 in arc G03 G01 Z130 Point P3 in a straight line G01 G30 I1...

Страница 96: ...Programming manual CNC 8070 5 ORIGIN SELECTION Polar origin preset G30 96 REF 1709 ...

Страница 97: ...y have limited the maximum feedrate with machine parameter MAXFEED When trying to exceed the maximum feedrate via part program via PLC or from the operator panel the CNC limits the feedrate to the maximum value set without showing any error message or warning If this parameter is set to zero the machining feedrate is not limited and the CNC assumes the one set for G00 as the maximum feedrate Varia...

Страница 98: ...s of the feedrate on each axis and the programmed F is the same as between the displacement of each axis and the resulting programmed displacement When rotary axes are involved in the interpolations the feedrate of these axes is calculated so the beginning and the end of their movement coincides with the beginning and the end of the main axes If the feedrate calculated for the rotary axis is great...

Страница 99: ...med feedrate is in degrees minute G95 Feedrate in millimeters revolution inches revolution After executing G95 the CNC interprets that the feedrates programmed with the F code are in mm rev inches rev of the master spindle of the channel If the moving axis is rotary the CNC interprets that the programmed feedrate is in degrees revolution If the spindle does not have an encoder the CNC will use the...

Страница 100: ... block When G108 is active the adaptation to the new feedrate by accelerating or decelerating takes place at the beginning of the next block and the current block ends at the programmed feedrate F G109 Feedrate blending at the end of the block When programming G109 the adaptation to the new feedrate by accelerating or decelerating takes place at the end of the current block so the next block start...

Страница 101: ... feedrate defined for each block In other words the CNC applies G108 to raise the feedrate and G109 to lower it Properties of the functions Functions G108 G109 andG193 are not modal On power up after executing an M02 or M30 and after an EMERGENCY or RESET the CNC applies function G108 to accelerate and G109 to decelerate Raise the feedrate G108 Lower the feedrate G109 N10 G01 X100 F100 N20 X250 F3...

Страница 102: ...tting point increases on inside arcs and decreases on outside arcs G196 Constant cutting point feedrate After executing G196 the CNC interprets that the programmed F corresponds to the contact point between the tool and the part This results in a uniform part surface even on arcs Minimum radius for applying constant feedrate Using the instruction TANGFEED RMIN radius a minimum radius may be set so...

Страница 103: ...stant tangential feedrate N40 G03 X30 Y20 R10 Constant tangential feedrate N50 TANGFEED RMIN 5 Minimum radius 5 N60 G01 X40 Y20 N70 G03 X50 Y30 R10 Constant tangential feedrate N80 G02 X58 Y30 R4 No constant tangential feedrate RPROGRAMMED RMINIMUM N90 G01 X58 Y20 N100 TANGFEED RMIN 15 Minimum radius 15 N110 G03 X68 Y10 R10 No constant tangential feedrate RPROGRAMMED RMINIMUM N120 G01 X80 Y10 N130...

Страница 104: ...drate 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 operator panel nor via PLC Function G266only affects the block whereit has beenprogrammed therefore itonlymakes sense to add it to a block that defines a movement motion block ...

Страница 105: ...ed global The percentage of acceleration to be applied to all the axes and spindles is set by G131 followed by the new acceleration value to be applied The acceleration values to be applied must be integers not decimals When added to a motion block the new values will be assumed before executing the move Considerations The SLOPE instruction determines the influence of the values defined with these...

Страница 106: ...S Feedrate related functions 106 REF 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 all the axes and spindles ...

Страница 107: ...f jerk to be applied to all the axes and spindles is set by G133 followed by the new jerk value to be applied The jerk values to be applied must be integers not decimals When added to a motion block the new jerk values will be assumed before executing the move Considerations The SLOPE instruction determines whether the new percentages are to be applied or not on to rapid traverse movements G00 The...

Страница 108: ... is 120 The programmed percentages are absolute in other words programming a 50 twice means that 50 will be applied not 25 The value defined with G134 prevails over those defined in the machine parameters but not over the one defined by PLC Properties of the functions Function G134 is modal On power up after an M02 or M30 EMERGENCY or a RESET the CNC restores the Feed Forward set by the machine ma...

Страница 109: ...he maximum AC Forward value to be applied is 120 The programmed percentages are absolute in other words programming a 50 twice means that 50 will be applied not 25 The value defined with G135 prevails over those defined in the machine parameters but not over the one defined by PLC Properties of the functions The G135 function is modal On power up after an M02 or M30 EMERGENCY or a RESET the CNC re...

Страница 110: ...erclockwise M05 Stops the spindle Maximum speed The maximum turning speed in each range gear is limited by the machine manufacturer When programming a higher turning speed the CNC limits its value to the maximum allowed by the active range gear The same thing occurs when trying to exceed the maximum limits using the and keys of the operator panel or doing it via PLC or by program Speed override Th...

Страница 111: ...h tool The table data may be defined Manually from the CNC s front panel as described in the Operating Manual Via program using the associated variables as described in the relevant chapter of this manual Select a tool The tool required for machining may be selected by program using the T n code where n is the tool number On a lathe the T code selects the tool in the tool holder On a milling machi...

Страница 112: ...ine position The command POSn defines the magazine position for the tool It must always be programmed in the same block as Tn The magazine position can only selected when the magazine is in load mode Otherwise it issues the relevant error message Loading a tool in a system with several magazines When using more than one tool magazine one must indicate in which one of them the tool is to be loaded ...

Страница 113: ...olutely defining the position to reached The programming format is the following the list of arguments appears between curly brackets and the optional ones between angle brackets ROTATEMZ mz P pos ROTATEMZ mz n mz Magazine number pos Absolute turret position n Number of positions to rotate the sign indicates the rotating direction positive or negative If only the sign is programmed the turret rota...

Страница 114: ... front panel as described in the Operating Manual Via program using the associated variables as described in the relevant chapter of this manual The offsets are only associated with the tool for which they have been defined This means that when activating a tool offset the offset of the corresponding active tool will be activated Activation Once the tool offsets have been defined in the table they...

Страница 115: ...med after the change if another one has not been programmed Canceling the tool offset with D0 also cancels tool length and radius compensation N10 N20 T1 M06 Select and load tool T1 Offset D1 is activated by default N30 F500 S1000 M03 N40 Operation 1 N50 T2 Prepare tool T2 N60 D2 Select tool offset D2 for tool T1 N70 F300 S800 N80 Operation 2 N90 M6 loading tool T2 with its offset D1 N100 F800 S12...

Страница 116: ...ait or not for the confirmation that the M function has been executed before resuming program execution If it has to wait for confirmation it will have to be received before or after executing the movement of the block where it has been programmed The M functions that have not been set in the table will be executed before the movement of the block where they have been programmed and the CNC will w...

Страница 117: ...ammed M01 Conditional program stop When the external conditional stop switch is active PLC signal M01 STOP it interrupts program execution It does not stop the spindle or initialize the cutting conditions The CYCLE START key of the operator panel must be pressed again in order to resume program execution This function should be set in the M function table so it is executed at the end of the block ...

Страница 118: ...as been executed in order to go on executing the program Programming Up to 7 H functions may be programmed in the same block The programming format is H 0 65535 and it can be programmed using parameters and arithmetic expressions In these cases by default the value calculated is rounded up to an integer If the result is negative the CNC will issue the pertinent error message Execution The auxiliar...

Страница 119: ...or more spindles Via part program or MDI it is possible to indicate which spindle the commands are directed to when not indicated the commands are directed to the master spindle of the channel All the spindles of the channel may be running at the same time Also each of them may be in a different mode turn in different directions be in positioning mode etc Master spindle of the channel The master s...

Страница 120: ...rary or permanent If the current master spindle of the channel is a spindle loaned by another channel and its permission to change channels is temporary AXISEXCH Temporary the spindle returns to its original channel Which one is the master spindle after executing M30 When executing an M30 it follows the same criteria but considering that after executing this function the temporary spindle swaps ar...

Страница 121: ...master spindle If it is parked it selects the next spindle from the original configuration those defined by the machine parameters and so on If no spindles from the original configuration are available in the channel it assumes as master spindle the first one of its current configuration If it is parked it selects the next spindle and so on Which one is the master spindle after parking or unparkin...

Страница 122: ...the criteria described earlier However a different master spindle may be selected via MDI or via part program using the MASTER instruction Programming format MASTER sp Canceling the master spindle The master spindle may be selected at any time If the master spindle changes channels the channel will select a new master spindle according to the criterion described earlier On power up after executing...

Страница 123: ...196 is active The default units are rpm Spindle start and stop Defining a speed does not imply starting the spindle The startup is defined using the following auxiliary functions See 7 3 Spindle start and stop on page 126 M03 Starts the spindle clockwise M04 Starts the spindle counterclockwise M05 Stops the spindle Speed ranges gears Each spindle may have up to 4 different ranges gears Each gear m...

Страница 124: ...hen the maximum speed for each spindle This function may be programmed while the spindle is running in this case the CNC will limit the speed to the new programmed value Programming format The spindle may have any name in the S S1 S9 range There is no need to program the sign for the S spindle G192 Sn vel G192 S vel The maximum turning speed is always set in RPM It is possible to program using ari...

Страница 125: ...here in the program and it doesn t have to go alone in the block It is recommended to program the speed in the same block as the G96 function The spindle gear range must be selected in the same block or in a previous one G97 Constant turning speed The G97 function affects all the spindles of the channel After executing G97 the CNC interprets that the spindle speeds programmed are in rpm and starts...

Страница 126: ...pindle it is associated with as follows M3 S M4 S M3 or M4 associated with the spindle S M05 Stop the spindle Function M05 stops the spindle To stop a spindle define next to the M5 the spindle it is associated with as follows If it does not mention any spindle it applies to the master spindle M5 S Function M5 associated with the spindle S Turning direction preset in the tool table It is possible t...

Страница 127: ...e V G SPDLTURDIR This variable returns the preset turning speed of the active tool 0 value if there is no preset turning direction 1 if it is M03 and 2 if it is M04 Canceling the preset turning direction temporarily The preset turning speed of the active tool may be temporarily canceled from the part program This is done by setting the variable V G SPDLTURDIR 0 When changing a tool this variable w...

Страница 128: ...ndles or in a separate block If the block where they are programmed does not mention any spindle they will be applied to the master spindle of the channel If several spindles are programmed in a single block the functions apply to all of them To applydifferentgearstothespindles definenexttoeachMfunctionthespindleitisassociated with as follows M41 S Function M41 associated with the spindle S Influe...

Страница 129: ...ing the following variables How to know whether the spindle has an automatic tool changer or not V SP AUTOGEAR Sn Variable that can only be read from the PRG and PLC This variable indicates whether the spindle Sn has an automatic gear change or not This variable returns a 1 if the gear changer is automatic and a 0 if it is manual Number of gears available V SP NPARSETS Sn Variable that can only be...

Страница 130: ...ion M19 applies to all of them M19 S pos This angular position is programmed in degrees and it is always assumed in absolute coordinates thus not being affected by functions G90 G91 To do the positioning the CNC calculates the module between 0 and 360º of the programmed value Programming format 2 Positioning of the spindle at 0º To orient the spindle to the 0 position it may also be programmed by ...

Страница 131: ... has been programmed To do that it will calculate the module between 0 and 360º of the programmed value and the spindle will reach that position It executes the M19 for the first time When executing the M19 function for the first time it homes the spindle The M19 functions programmedafterwardsonlyorientthespindle Tohomethespindleagain usefunctionG74 N10 G97 S2500 M03 The spindle turns at 2500 RPM ...

Страница 132: ...rection set earlier if none has been defined it will assume the turning direction by default The programmed turning direction is maintained until another one is programmed Programming format 1 Turning direction for all the spindles programmed M19 POS S pos M19 NEG S pos If no spindle is defined the CNC orients the master spindle at 0º in the indicated direction When programming the orienting direc...

Страница 133: ...ng variables V SP SHORTESTWAY Sn Variable that can only be read from the PRG and PLC This variable indicates whether the spindle Sn orients via the shortest way This variable returns a 1 if so Properties of the function and Influence of the reset turning the CNC off and of the M30 function On power up after executing an M02 or M30 and after an emergency or reset the CNC cancels the turning directi...

Страница 134: ...mmed in the block When programming function M19 and a positioning M19 S the CNC executes the subroutine associated with the function and ignores the positioning movement The CNC executes the positioning when executing the M19 function from the subroutine If inside the subroutine the M19 function is not accompanied by a positioning move S the CNC executes the positioning programmed in the calling b...

Страница 135: ...rent positioning speed Programming format The positioning speed is set as follows S POS vel The positioning speed is given in rpm Knowing the active positioning speed The active positioning speed for the CNC may be consulted using the following variable V SP SPOS Sn Variable that can only be read from the PRG and PLC This variable indicates the active positioning speed for the spindle Sn S Spindle...

Страница 136: ... the subroutine calling block The CNC relates the functions with the spindles according to the following criterion whether it is in the calling block or inside the subroutine If the M function is assigned to a spindle for example M3 S the CNC only applies the function to the indicated spindle If functions M3 and M4 are not assigned to any spindle the CNC applies them to all the spindles whose spee...

Страница 137: ...rammed it remains active until an incompatible function is programmed G01 G02 G03 G33 or G63 The function G00 may be programmed alone in the block or it may be added to a movement block If the G00 function is non modal it must be programmed for each rapid traverse block if it is not programmed the CNC uses G01 Programming format The programming format is the following the arguments appear between ...

Страница 138: ...t time a G01 G02 or G03 type function is programmed Feedrate override The override percentage is set at 100 or it may be varied between 0 and 100 using the switch on the operator panel depending on how it was set by the OEM parameter RAPIDOVR Canned cycles Within the range of influence of a canned cycle or modal subroute MCALL the last programmed G will be maintain active G0 or G1 meaning G0 remai...

Страница 139: ...The programming format is the following the arguments appear between curly brackets and the optional ones between angle brackets G01 X C postion F feedrate End point of the movement For cartesian coordinates defining the coordinates of the end point X C on the various axes All the axes need not be programmed only the ones to move X C position Optional End point of the movement Units Millimeters in...

Страница 140: ...30 function Function G01 may also be programmed as G1 Function G01 is modal and incompatible with G00 G02 G03 G33 and G63 On power up after an M02 or M30 and after an emergency or a reset the CNC assumes function G00 or G01 as set by the OEM parameter IMOVE If the CNC assumes the function G00 and this function is defined as non modal parameter G0MODAL after programming G1 G2 or G3 the CNC assumes ...

Страница 141: ...ental 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 Incremental coordinates N10 G00 G90 X20 Y15 N20 G01 G91 X50 Y0 F450 N30 Y15 N40 X 25 Y15 N50 X 25 N60 Y 30 N70 G00 G90 X0 Y0 N80 M30 X Y P1 20 15 P2 70 15 P3 70 30 P4 45 45 P5 20 45 ...

Страница 142: ... Y15 N100 X 40 End of profile 1 N110 Z10 N120 G00 X20 Y45 F300 S1200 Approaching profile 2 N130 G92 X0 Y0 Preselect part zero N140 G01 Z 5 N150 G91 X30 Machining of profile 2 N160 X20 Y20 N170 X 20 Y20 N180 X 30 N190 Y 40 End of profile 2 N200 G90 Z10 N210 G92 X20 Y45 Recuperate part zero N220 G30 I 10 J 60 Preselect polar origin N230 G00 R30 Q60 F350 S1200 Approaching profile 3 N240 G01 Z 5 N250 ...

Страница 143: ...es 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 section Z0 D E section G0 X50 Z100 M30 Incremental coordinates G90 G95 G96 F0 15 S180 T2 D1 M4 M41 G0 X50 Z100 G1 X0 Z80 Point A G1 G91 X15 Z 15 A B section Z 10 B C section X25 Z 25 C D section Z 30 D E section G0 G90 X50 Z100 M30 ...

Страница 144: ...s 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 section Z0 D E section G0 X100 Z100 M30 Incremental coordinates G90 G95 G96 F0 15 S180 T2 D1 M4 M41 G0 X100 Z100 G1 X0 Z80 Point A G1 G91 X30 Z 15 A B section Z 10 B C section X50 Z 25 C D section Z 30 D E section G0 G90 X100 Z100 M30 ...

Страница 145: ...ystem is referred to the movement of the tool on the part G02 G03 X Y I J 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 the starting point of the arc according to the axes of the active work plane G02 G03 R Q I J Cartesian coordinates arc radius programming Th...

Страница 146: ...ited by the OEM parameter MAXOVR Properties of the function and Influence of the reset turning the CNC off and of the M30 function Functions G02 and G03 may also be programmed as G2 and G3 Functions G02 and G03 are modal and incompatible with each other and with G00 G01 G33 and G63 Function G74 Home search also cancels functions G02 and G03 On power up after an M02 or M30 and after an emergency or...

Страница 147: ...tes of the center are measured according to the starting point The arc center must be defined in cartesian coordinates by the letters I J or K depending on the active plane When one ofthe center coordinatesiszero itdoesnothaveto be programmed These coordinates are not affected by functions G90 and G91 X C end_point Optional End point of the arc Units Millimeters inches or degrees I K center Option...

Страница 148: ...G03 148 REF 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 N30 G01 Y55 Z25 F400 N40 G03 Z55 J20 K15 N50 Z25 J 20 K 15 N60 M30 XY XY YZ ...

Страница 149: ...s smaller than 180º the radius will be programmed with a positive sign and with a negative sign if it is greater than 180º This way and depending on the selected circular interpolation G02 or G03 the desired arc will be defined The radius value stays active until a new value is assigned or an arc is programmed using the center coordinates or a movement is programmed in polar coordinates When progr...

Страница 150: ...ming manual CNC 8070 8 PATH CONTROL Circular interpolation G02 G03 150 REF 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 ...

Страница 151: ...on Both ways of defining the radius G263 or R1 are equivalent The CNC keeps the radius value until a circular interpolation is programmed by defining the center coordinates or a movement is programmed in polar coordinates Programming examples X C end_point End point of the arc Units Millimeters inches or degrees radius Optional Radius of the arc Units mm or inches G263 25 G02 X50 Y0 R1 33 G03 X88 ...

Страница 152: ...e angle may be defined both in absolute G90 and incremental coordinates G91 When programming the angle in G91 it is incremented with respect to the polar origin of the previous point if programmed in G90 It indicates the angle formed with the horizontal going through the polar origin Programming a 360º angle in G91 means programming a whole circle Programming a 360º angle in G90 means programming ...

Страница 153: ...02 G03 R Q J K G20 Letters I J and K are associated with the abscissa ordinate and perpendicular axes of the defined plane FACE X C Z CYL Z C X R The active trihedron is formed by the axes defined in the activation instruction of the C axis The I J and K centers areassociated with the axesin the same order that they were defined when activating the C axis N10 G0 G90 X20 Y30 F350 N20 G30 N30 G02 R6...

Страница 154: ...1 R100 Q0 G91 G01 R100 Q0 Point P1 Straight line G03 Q30 G03 Q30 Point P2 Counterclockwise arc G01 R50 Q30 G01 R 50 Point P3 Straight line G03 Q60 G03 Q30 Point P2 Counterclockwise arc G01 R100 Q60 G01 R50 Point P5 Straight line G03 Q90 G03 Q30 Point P6 Counterclockwise arc G01 R0 Q90 G01 R 100 Point P0 in a straight line M30 M30 P1 P2 P3 P4 P5 P6 50 30o 60o P0 Y X R Q P0 0 P1 100 0 0 P2 P3 P4 100...

Страница 155: ...kwise arc G01 R10 Point P5 Straight line G02 Q115 Point P6 Clockwise arc G01 R16 Q100 Point P7 Straight line G01 R31 Point P8 Straight line G03 Q115 Point P9 Counterclockwise arc G01 R46 Point P10 Straight line G02 Q65 Point P1 Clockwise arc M30 Incremental coordinates G90 R46 Q65 F350 Point P1 G91 G01 R 15 Q15 Point P2 Straight line G01 R 15 Point P3 Straight line G02 Q 15 Point P4 Clockwise arc ...

Страница 156: ...R430 Q0 F350 Point P0 G03 Q33 7 G91 G03 Q33 7 Point P1 Counterclockwise arc G01 R340 Q45 G01 R 90 Q11 3 Point P2 Straight line G01 R290 Q33 7 G01 R 50 Q 11 3 Point P3 Straight line G01 R230 Q45 G01 R 60 Q11 3 Point P4 Straight line G01 R360 Q63 4 G01 R130 Q18 4 Point P5 Straight line G03 Q90 G03 Q26 6 Point P6 Counterclockwise arc M30 M30 P0 P1 P2 P3 P4 P5 P6 63 4o 45o 33 7o R Q P0 430 P1 430 0 33...

Страница 157: ...on G2 G3 Function G31 does not allow for the programming of the polar radius it may only program the angle and one or both center coordinates Programming format The programming format is the following the arguments appear between curly brackets and the optional ones between angle brackets G02 G03 G31 Q end_angle I K center Q final_angle Optional Angle of the end point of the arc Units Millimeters ...

Страница 158: ...med Programming format The programming format is the following the arguments appear between curly brackets and the optional ones between angle brackets G02 G03 G06 X C end_point I K center Properties of the function and Influence of the reset turning the CNC off and of the M30 function Function G06 may also be programmed as G6 Function G06 is not modal X C end_point Optional End point of the arc U...

Страница 159: ...tween curly brackets and the optional ones between angle brackets G02 G03 G261 X C end_point I K center Programming Arc center referred to starting point G262 The function G262 may be programmed alone in the block or it may be added to a movement block The function G262 is modal after it has been programmed it remains active until an incompatible function is programmed G261 Programming format The ...

Страница 160: ...and of the M30 function Functions G261 and G262 are modal and incompatible with each other On power up after executing an M02 or M30 and after an emergency or reset the CNC assumes function G262 Programming example The example shows 2 different ways to define an arc using absolute center coordinates G261 G90 G02 X50 Y10 I20 J30 G261 G91 G06 G02 X0 Y 40 I20 J30 ...

Страница 161: ...le to execute and arc between the programmed points as close as possible to the defined arc To calculate whether the margin of error is within the tolerance the CNC takes into account the absolute error difference between radii and the relative error of radius If any of these values is within the tolerance set by the OEM the CNC corrects the center position If the CNC cannot the center within thos...

Страница 162: ... REF 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 executing an M02 or M30 and after an emergency or reset the CNC assumes function G265 ...

Страница 163: ...rdinates of the end point of the arc The end point may defined in cartesian or polar coordinates both absolute and incremental Properties of the function and Influence of the reset turning the CNC off and of the M30 function Function G08 may also be programmed as G8 Function G08 is not modal so it should always be programmed if you wish to execute an arc tangential to the previous path After execu...

Страница 164: ...sh 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 G08 X110 X Z 40 100 130 180 270 250 50 60 G18 ZX plane G152 Programming in radius G90 G01 X0 Z270 X50 Z250 G08 X60 Z180 G08 X50 Z130 G08 X60 Z100 G01 X60 Z40 M30 ...

Страница 165: ...iate_point Coordinates of the end point of the arc The end point may defined in cartesian or polar coordinates both absolute and incremental Coordinates of the intermediate point of the arc The intermediate point must be defined in cartesian coordinates using the letters I J or K depending on the active plane These coordinates are affected by functions G90 and G91 Function G09 may not be used to p...

Страница 166: ... 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 programmed if you wish to execute an arc defined by three points After executing the function the CNC restores the G00 G01 G02 or G03 function that was active before Programming example G09 X35 Y20 I 15 J25 ...

Страница 167: ...corresponding chapters G02 G03 circular interpolation X C linear_movement I K pitch G08 circular interpolation X C linear_movement I K pitch G09 circular interpolation X C linear_movement I K pitch End point on the work plane For helical interpolation in various turns it is not necessary to define the coordinates for the end point in the work plane This point will be calculated by the CNC dependin...

Страница 168: ...ple Multi turn helical interpolation Plane Programming the center G17 G18 G19 The pitch is defined with the letter K G17 J G18 or I G19 G20 The pitch is defined with the letter K Various ways of defining a helical interpolation where the starting point is X20 Y0 Z0 Various ways of defining a helical interpolation with serval turns where the starting point is X0 Y0 Z0 G03 X40 Y20 I20 J0 Z50 G03 X40...

Страница 169: ...entions is that the exclusive one G200 interrupts the execution of the program to activate the jog mode whereas the additive one G201 lets you jog an axis while executing the programmed movements Feedrate behavior The feedrate of the jogging movements during manual intervention is independent from the active F and may be defined by the operator using instructions in high level language a different...

Страница 170: ...st be programmed in the same block followed by the AXIS statement with the axes to be cancelled Programming G202 alone cancels manual intervention on all the axes Programming format The programming format is the following the arguments appear between curly brackets and the optional ones between angle brackets G202 G202 AXIS axis axis Considerations Axis parameters MANFEEDP IPOFEEDP MANACCP IPOACCP...

Страница 171: ...ntion on all the axes Programming format The programming format is the following the arguments appear between curly brackets and the optional ones between angle brackets G200 G200 AXIS axis axis Considerations If a manual intervention is executed before a circular interpolation and one of the axes involved in the circular interpolation is jogged it could issue an error message indicating that a ci...

Страница 172: ... and stay active until the end of the program or a reset Programming Program the CONTJOG statement followed by the feedrate and the axis Programming format The programming format is the following the arguments appear between curly brackets and the optional ones between angle brackets CONTJOG feed axis feed Axis feedrate Units Millimeters minute inches minute or degrees minute axis Axis name Units ...

Страница 173: ...guments appear between curly brackets and the optional ones between angle brackets INCJOG increment_1 feed_1 increment_10 feed_10 axis feed_1 feed_10000 Feedrate position 1 to 10000 for the incremental jog switch Units Millimeters minute inches minute or degrees minute increment_1 increment_10000 Increment position 1 to 10000 for the incremental jog switch Units Millimeters inches or degrees axis ...

Страница 174: ...solution_100 axis resolution_1 resolution_100 Resolution position 1 to 100 for the handwheel switch Units Millimeters pulse inches pulse or degrees pulse axis Axis name Units MPG 0 1 1 10 X The resolution at each handwheel switch position is as follows Position 1 on the switch 0 1 mm turn Position 10 on the switch 1 0 mm turn Position 100 on the switch 10 mm turn This instruction sets the distance...

Страница 175: ... OFFSET statement followed by the lower and upper movement limits for the axis Programming format The programming format is the following the arguments appear between curly brackets and the optional ones between angle brackets SET OFFSET lower_limit upper_limit axis Upper and lower movement limit The limits are referred to the axis position The lower limit must be less than or equal to zero and th...

Страница 176: ...et SYNC POS This instruction synchronizes the preparation coordinate with the execution one and assumes the additive manual offset Programming Program the instruction SYNC POS alone in the block Programming format The programming format is the following the arguments appear between curly brackets and the optional ones between angle brackets SYNC POS SYNC POS ...

Страница 177: ...ables ch Channel number xn Name logic number or index of the axis Variable PRG Meaning V ch A MANOF xn R Distance moved in manual mode or tool inspection mode Units Millimeters inches or degrees V ch A ADDMANOF xn R Distance moved with G200 or G201 The value of this variable is maintained during the execution of the program even when canceling manual intervention Units Millimeters inches or degree...

Страница 178: ...Programming manual CNC 8070 9 TOOL PATH CONTROL MANUAL INTERVENTION Variables 178 REF 1709 ...

Страница 179: ...he thread pitch Optionally the entry angle may be defined which allows multi entry starts thread Programming format The programming format is the following the list of arguments appears between curly brackets and the optional ones between angle brackets G33 X Z pos I J K pitch Q1 angle Coordinates of the end point Although this type of threads are carried out along an axis the CNC permits interpol...

Страница 180: ...tion STOP key or PLC mark _FEEDHOL The behavior of the CNC when interrupting a threading STOP key or PLC mark _FEEDHOL depends on function G233 See 10 4 Withdraw the axes after interrupting an electronic threading G233 on page 191 If G233 is active when interrupting the thread the axes withdraw the distance programmed in that function If when interrupting the threading the pass is near the end the...

Страница 181: ... The CNC permits changing the spindle override during the thread cutting pass Considerations about thread blending When working in round corner G05 the CNC lets blend different threads seamlessly in a singlepart Whenthreadblending theCNConlytakesintoconsiderationtheangularposition ofthespindle Q1 inthefirstthread afteractivatingG33orG34 TheCNCignoresparameter Q1until this function is canceled and ...

Страница 182: ...ake a thread similar to the previous one but with three entries starts the first one being at 20º To make the following electronic thread in a single pass Position X30 Y30 Z0 Depth 30mm Pitch 1 5mm S100 M03 G01 G90 X30 Y30 Z0 G33 Z 30 K1 5 M19 S0 Spindle orientation G91 G00 X3 Tool withdrawal G90 Z10 Withdrawal and exit the hole S100 M03 G01 G90 X30 Y30 Z0 G33 Z 30 K1 5 Q1 20 First thread M19 S0 G...

Страница 183: ...e pass 2 mm deep and with a 5 mm pitch Since a spindle speed of 100 rpm an a pitch of 5mm have been programmed the resulting feedrate will be 500 mm min pitch feedrate Multi entry longitudinal electronic threading To make a thread similar to the previous one but with two entries shifted 180º from each other S100 M03 G00 G90 X200 Z190 X116 Z180 G33 Z40 K5 G00 X200 Z190 S100 M03 G00 G90 X200 Z190 X1...

Страница 184: ...ading 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 a longitudinal thread with a taper thread with a depth of 2mm and a pitch of 5 mm S100 M03 G00 G90 X200 Z190 X84 G33 X140 Z50 K5 G00 X200 Z190 S100 M03 G00 G90 G05 X220 Z230 X96 G33 Z120 X96 K5 G33 Z60 X160 K5 G00 X220 Z230 ...

Страница 185: ...the entry angle may be defined which allows multi entry starts thread Programming format The programming format is the following the list of arguments appears between curly brackets and the optional ones between angle brackets G34 X Z pos I J K pitch K1 pitchvar Q1 angle Coordinates of the end point Although this type of threads are carried out along an axis the CNC permits interpolating several a...

Страница 186: ...ead pitch per spindle turn The function executes a thread with an I J K pitch in the first turn I J K K1 in the second one I J K 2 K1 in the third one and so on Parameter K1 may be positive pitch increment or negative pitch decrement with the following limitations If K1 is positive it cannot be greater than or equal to twice the starting pitch If K1 is positive when incrementing the pitch while ma...

Страница 187: ...rride If the OEM allows it parameter THREADOVR the user can modify the speed override from the operator panel and in that case the CNC will adapt the feedrate automatically respecting the thread pitch In order to be able to modify the override the feed forward active on the axes involved in threading must be higher than 90 If more than one G34 have been programmed for the same thread all the threa...

Страница 188: ... pitch of the second thread must be the same as the final pitch of the first one In this case the pitch is not programmed in the second thread and the CNC will use the last pitch of the previous thread The pitch increment of the variable thread will be half the increment K1 2 in the first turn and a full increment K1 in the following turns Properties of the function and Influence of the reset turn...

Страница 189: ...rted tap must be programmed in order to withdraw the tool by inverting the turning direction of the spindle by changing the sign of the S speed If the thread is made with a cutter tip the tool may be also be withdrawn by orienting the spindle M19 and separating the tool tip away from the thread Multiple entry threads With this type of threading it is possible to make threads with several entry poi...

Страница 190: ...ving the axis the interpolated spindle will also move the spindle used to make the thread If several axes are involved in the rigid tapping when moving one of the axes all the axes involved in the thread will also move with it This way the axis may be moved into or out of the thread as often as desired until the repositioning softkey is pressed The axes move at the programmed F except when an axis...

Страница 191: ...n G233 disappears from the history Programming format Defining a safety distance The programming format is the following the list of arguments appears between curly brackets G233 X Z distance Programming format Canceling the safety distance on an axis The programming format is G233 X0 Z0 Programming format Deactivate the function The programming format is G233 G233 X0 Z0 Function G233 alone in the...

Страница 192: ...4 functions in a row Function G233 sets the thread exit distance for all G33 G34 threads programmed after it If there are several G33 G34 functions in a row and a different thread exit is desired for each one of them the corresponding G233 function must be programmed betore each one of them Thread blending If there are several threads in a row thread blending function G233 considers all of them co...

Страница 193: ...xit has been programmed the withdrawal distance for the axis perpendicular to the threading is calculated automatically and corresponds to the value of that thread exit of each pass Incycleswhere thethreadexithasnotbeenprogrammed theaxeswithdrawto thesafety coordinate perpendicularly to the threading axis just the same as when having a thread exit Once the tool has withdrawn the programmed distanc...

Страница 194: ...d repeat the threading operation If a STOP occurs in block N70 the CNC interrupts the threading and withdraws the axes according to block N60 After withdrawing the axes the CNC considers blocks N70 and N80 completed and goes on to execute block N90 Variable PRG Meaning V ch G RETREJ R The user has interrupted a thread and the CNC has withdrawn the axes from the thread 0 The CNC has resumed executi...

Страница 195: ...ot modal Function G07 remains active throughout the program whereas function G60 only affects the block that contains it therefore it can only be added to a block containing a movement The theoretical and real profiles are the same thus resulting in square corners as shown in the figure Properties of the functions Function G07 is modal and incompatible with G05 G50 G60 G61 and the HSC mode Functio...

Страница 196: ...om the programmed position to the position where the next move begins depends on the feedrate of the axis Programming Thesemi roundedcornermachiningmodemaybeactivatedbyprogramusingfunctionG50 This function provides rounded corners as shown in the figure Function properties Function G50 is modal and incompatible with G05 G07 G60 G61 and the HSC mode On power up after executing M02 or M30 and after ...

Страница 197: ... G61 Control corner rounding radius blend not modal Function G05 remains active throughout the program whereas function G61 only affects the block that contains it therefore it can only be added to a block containing a movement Considerations This operation may be applied to any corner regardless of whether it is defined between straight and or circular paths The corner is machined along a curved ...

Страница 198: ...s feedrate and acceleration It executes the machining operation that is closer to the programmed point without exceeding the programmed deviation and that does not require decreasing the programmed feedrate F 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 path programmed in the bl...

Страница 199: ...of the first three parameters of the ROUNDPAR instructions are used therefore all parameters need not be included Type 4 ROUNDPAR 4 e Set the maximum deviation allowed between the programmed point and the profile resulting from rounding the corner The corner is rounded by giving priority to the machining geometrical conditions The programmed machining operation is executed by decreasing the progra...

Страница 200: ...corner rounding This type of corner rounding only uses the values of the first six parameters of the ROUNDPAR instruction In this type of corner rounding the shape of the curve depends on the position of the intermediate point and on the distance from the programmed point to the starting and ending points of the corner rounding ROUNDPAR 4 e e Distance between programmed point and real profile ROUN...

Страница 201: ...an the distance from the programmed point to the intermediate point on each axis about 4 times G92 X0 Y0 G71 G90 ROUNDPAR 5 5 5 65 15 0 G01 G61 X50 F850 G01 Y40 a and b distances negative and smaller in absolute value than the distance fromthe programmed point to the intermediate point on each axis G92 X0 Y0 G71 G90 ROUNDPAR 5 5 5 65 15 0 G01 G61 X50 F850 G01 Y40 Positive a and b distances Px Py P...

Страница 202: ... remains active until another value is programmed therefore it won t be necessary to program it in successive rounding operations with the same radius The I value of the rounding radius is also used by functions G37 Tangential entry as entry radius G38 Tangential exit as exit radius G39 corner chamfering as size of the chamfer This means that the rounding radius set in G36 will be the new value of...

Страница 203: ...e carried out at the active feedrate When defining a plane change between the two paths that define a rounding it is carried out in the plane where the second path is defined Function properties Function G36 is not modal therefore it must be programmed every time a corner is to be rounded N10 G01 G94 X10 Y10 F600 N20 G01 X10 Y50 N30 G36 I5 Rounding G00 N40 G00 X50 Y50 N50 G36 Rounding F 600mm min ...

Страница 204: ...lueisprogrammed therefore it won t be necessary to program it in successive chamfering operations of the same size The I value of the chamfer size is also used by functions G36 Corner rounding as rounding radius G37 Tangential entry as entry radius G38 Tangential exit as exit radius This means that the chamfer size set in G39 will be the new value of the entry radius exit radius or rounding radius...

Страница 205: ...e carried out at the active feedrate When defining a plane change between the two paths that define a chamfer it is carried out in the plane where the second path is defined Function properties Function G39 is not modal therefore it must be programmed every time a corner is to be chamfered N10 G01 G94 X10 Y10 F600 N20 G01 X10 Y50 N30 G39 I5 Chamfering in G00 N40 G00 X50 Y50 N50 G39 Chamfer F 600mm...

Страница 206: ...t be positive and when working with tool radius compensation it must be greater than the tool radius Considerations The I value of the tangential entry radius remains active until another value is programmed therefore it won t be necessary to program it in successive tangential entries with the same radius The I value of the entry radius is also used by functions G36 Corner rounding as rounding ra...

Страница 207: ...the radius must be positive and when working with tool radius compensation it must be greater than the tool radius Considerations The I value of the tangential exit radius remains active until another value is programmed therefore it won t be necessary to program it in successive tangential exits with the same radius The I value of the exit radius is also used by functions G36 Corner rounding as r...

Страница 208: ...celed before the movement G11 to G13 Mirror image on X on Y or on Z FunctionsG11 G12andG13activatemirrorimageontheX YandZaxisrespectively These functions do not cancel each other thus being possible to keep mirror image active on several axes at the same time If they are added to a path defining block the mirror image will be activated before the movement G14 Mirror image in the programmed directi...

Страница 209: ...xis it stays active until canceled with G10 or G14 Functions G10 and G14 are incompatible with each other as well as with G11 G12 and G13 On power up and after an emergency the CNC cancels mirror image it assumes function G10 The behavior of the mirror image function after executing an M02 or M30 and after a reset depends on the setting of machine parameter MIRRORCANCEL PROGRAM Main program G00 G9...

Страница 210: ...40 N80 Y20 N90 X10 Y10 N100 Z10 F400 M29 End of subroutine PROGRAM Main program N10 G0 X0 Y0 Z10 N20 LL PROFILE Call to a subroutine Profile 1 N30 G11 Mirror image on X N40 LL PROFILE Call to a subroutine Profile 2 N50 G12 Mirror image on X and Y N60 LL PROFILE Call to a subroutine Profile 3 N70 G14 X1 Mirror image cancellation on the X axis N80 LL PROFILE Call to a subroutine Profile 4 N90 G10 Mi...

Страница 211: ...1 Main plane ZX and programming in diameters V A ORGT 1 Z 160 Definition of the first zero offset G54 G54 Application of the zero offset LL PROFILE Call to a subroutine Machining of the A zone G0 Z 150 Movement to avoid colliding with the part G13 Mirror image on Z LL PROFILE Call to a subroutine Machining of the B zone G0 Z 200 Return to the starting point G10 Cancel mirror image on all the axes ...

Страница 212: ...lues are affected by the active mirror images If any mirror image function is active the CNC applies first the mirror image and then the coordinate system rotation Function properties Function G73 is modal The coordinate rotation stays active until it is canceled by function G73 or until the work plane is changed Q Indicates the rotation angle in degrees I J They define the abscissa and ordinate o...

Страница 213: ...ordinate system pattern rotation Programming example Assuming that the starting point is X0 Y0 you get L PROFILE Subroutine with the profile G01 X21 Y0 F300 G02 G31 Q0 I5 J0 G03 G31 Q0 I5 J0 G03 G31 Q180 I 10 J0 M29 End of subroutine PROGRAM Program FOR P0 1 8 1 Repeats the profile and the pattern rotation 8 times LL PROFILE Machining of the profile G73 Q45 Coordinate rotation ENDFOR M30 ...

Страница 214: ...ng function G72 alone or a scaling factor of 0 or 1 cancels the active scaling factor Parameter S that sets the scaling factor must be programmed after function G72 If programmed before it will be interpreted as spindle speed Programming with SCALE Program the instruction SCALEand then the scaling factor as follows The brackets must be programmed SCALE scale Programming a scaling factor of 0 or 1 ...

Страница 215: ...mple 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 Coordinate preset SCALE 2 Applies a scaling factor of 2 CALL PROFILE Machining of profile b SCALE 1 Cancels the scaling factor M30 ...

Страница 216: ...20 R10 M29 PROGRAM Main program G18 G151 Main plane ZX and programming in diameters G00 X206 Z0 Approach LL PROFILE Call to a subroutine Machining of the A1 zone G92 Z0 Coordinate preset G72 S0 5 Application of the scaling factor LL PROFILE Call to a subroutine Machining of the A2 zone G72 S1 Cancellation of the scaling factor G01 X0 G0 X250 Z200 Return to the starting point G53 Cancellation of co...

Страница 217: ...NC stops the movement of the axes and issues the corresponding error message During the movement the CNC can either monitor the tool tip or the tool base or both This vigilance monitoring works with and without tool radius and length compensation When the CNC monitors the tool tip it takes into account its dimensions The limits of the work zones are defined in machine coordinates Basically a work ...

Страница 218: ...hannels the CNC clears the limits of the axis in those zones A channel axis cannot be changed while a zone that that axis belongs to is active Movements in automatic mode Before starting the execution of a block the CNC checks whether the end coordinates are inside a forbidden zone or the path crosses a forbidden zone If so the CNC stops the movement of the axes and issues the corresponding error ...

Страница 219: ...at The programming format is the following the arguments appear between curly brackets G120 K zone X C limit G121 K zone X C limit Name of the axis and zone limit The limits of the work zone may be defined in all the axes of the channel in machine coordinates Bothlimitsofazone lowerandupper maybepositiveornegative butthelower limits must be smaller than the upper ones The work zone limits on the c...

Страница 220: ...lar zone It is possible to combine in a zone circular limits on 2 axes with linear limits on other two axes The changes programmed in the limits or in the status of the zones interrupt block preparations For no entry zones when repositioning the axes after a tool inspection the user must decide the right repositioning order sequence of the axes so as not to invade the zone In any case during repos...

Страница 221: ...rguments appear between curly brackets and the optional ones between angle brackets G122 K zone E enable disable I tip base Monitor the tool tip or the tool base The CNC can monitor the tool tip and or the tool base When the CNC monitors the tool tip it takes into account its dimensions The vigilance monitoring works with and without tool radius and length compensation K zone Zone number between 1...

Страница 222: ...ne if it has invaded a forbidden zone Activate several zones simultaneously When activating several zones at the same time that either overlap or they don t on one or several axes the CNC follows these criteria If there are several no exit zones active it considers it an error to try to move the tool to a point located outside all of them If there are several no entry zones active it considers it ...

Страница 223: ...he CNC will only take into account the outside one The entire shaded area is the permitted zone Properties of the function and Influence of the reset turning the CNC off and of the M30 function Function G122 is modal On power up after executing an M02 or M30 and after a reset the CNC keeps active the zones that were active G122 K1 E2 G122 K2 E2 K1 K2 ...

Страница 224: ...1 Monitor the tool base 2 Monitor the tool tip and the tool base V ch G ZONEWARN k R Some axis has reached the limit of work zone k V ch A ZONELIMITTOL xn R W Safety distance of the limits of the work zones V ch A ZONELOWLIM k xn R Lower limit of zone k V ch A ZONEUPLIM k xn R Upper limit of zone k V ch G ZONECIR1 k R Center coordinate of zone k along the first axis that defines the circular zone ...

Страница 225: ...n angle brackets The K command may be left out when the dwell is programmed with a constant G04 K time G04 time Programming 2 TIME The dwell must be programmed with programming this instruction Programming format The programming format is the following the arguments appear between curly brackets and the optional ones between angle brackets If the time is programmed with a constant or a parameter t...

Страница 226: ... 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 desired Function G04 may also be programmed as G4 TIME 5 TIME 5 5 second dwel P1 2 TIME P1 TIME P1 2 second dwel P1 2 TIME P1 3 5 second dwel ...

Страница 227: ...the software limits the CNC interrupts the execution and shows the pertinent error message To take the axis to the work zone access the JOG mode and move the axis that overran the travel limit The axis can only move in the direction that places it within the limits Software limits applied by the CNC first and second limits Each axis can have two active software limits called first and second limit...

Страница 228: ...ositive or negative but the lower limits must be smaller than the upper ones Otherwise the might not move in any direction When setting both upper and lower limits of an axis to 0 the CNC cancels the first software limit of that axis and applies the second one if it has been defined To restore the first limit it must be programmed again Considerations Absolute G90 or incremental G91 programming De...

Страница 229: ...e limits set in the machine parameters The software limits set in the machine parameters may be restored by program using their variables Properties of the function and Influence of the reset turning the CNC off and of the M30 function On power up or after validating the axis machine parameters the CNC assumes the software limits set by the machine parameters After an M02 or M30 and after an emerg...

Страница 230: ... one if it has been defined Considerations Absolute G90 or incremental G91 programming Unlike functions G198 G199 the limits defined with variables do not depend on functions G90 G91 they are always in absolute coordinates and in the machine reference system 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 zon...

Страница 231: ...of that axis Considerations Absolute G90 or incremental G91 programming The limits defined with variables do not depend on functions G90 G91 they are always in absolute coordinates and in the machine reference system 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 la...

Страница 232: ...r software limit first limit set in the machine parameters V ch MPA POSLIMIT xn R Upper software limit first limit set in the machine parameters V ch A NEGLIMIT xn R W Lower software limit first limit Equivalent to G198 V ch A POSLIMIT xn R W Upper software limit first limit Equivalent to G199 V ch A RTNEGLIMIT xn R W Lower software limit second limit V ch A RTPOSLIMIT xn R W Upper software limit ...

Страница 233: ...ay be programmed with this function Programming format The programming format is the following the arguments appear between curly brackets G170 X C n_order Considerations If when activating a Hirth axis it is located in the wrong position the CNC will issue a warning so the operator can turn it to a correct position A Hirth axis must always be positioned at positions multiple of its pitch For thes...

Страница 234: ... curly brackets and the optional ones between angle brackets G112 X C set Change of the drive s parameter set The CNC only allows the set of the spindle parameters to be modified when working as a C axis In this case a change to the set is programmed using the name of the axis not the name of the spindle Properties of the function and Influence of the reset turning the CNC off and of the M30 funct...

Страница 235: ...e 4 most significant bits indicate the set of parameters If the value of any 4 bit set is 0 the CNC does not change the active gear or set at the drive Example of some values of the variable Considerations Only one change can be taking place at a time If other gear or set changes are programmed during this process even if they are at different drives the CNC only keeps the one programmed last and ...

Страница 236: ...ngs to the channel requesting the variable it returns the preparation value if the axis or spindle belongs to a different channel the variable returns the execution value and interrupts block preparation V ch A SETGE xn V ch A SETGE sn V ch SP SETGE sn R W Select the set and the gear at the Sercos drive The 4 least significant bits indicate the work range and the 4 most significant bits indicate t...

Страница 237: ...5 1 Smooth the path PATHND This instruction being active PATHND ON the CNC calculates the space between all the axes and obtains a smoother movement If this instruction is not active PATHND OFF the CNC calculates the space on the three main axes In either case the CNC applies the programmed feedrate to the three main axes the rest ofthe axesmove attheir corresponding feedrate to end the movementof...

Страница 238: ...th and feedrate smoothing Program the instruction alone in the block Programming format The programming format is FEEDND ON Programming Cancel path and feedrate smoothing Program the instruction alone in the block Programming format The programming format is FEEDND OFF Considerations The CNC only limits the programmed feedrate if an axis exceeds its maximum feedrate parameter MAXFEED If none of th...

Страница 239: ...radius Thus obtaining the right dimensions of the programmed part Tool radius compensation lathe The CNC assumes as theoretical tool tip P the result of the sides used when calibrating thetool Withouttoolradiuscompensation the theoreticaltooltip P travelsthe programmed path leaving machining ridges in incline and curved sections With tool radius compensation it takes into account the tool tip radi...

Страница 240: ...n the applied value is the sum of the radius and radius wear of the selected tool In tool length compensation the applied value is the sum of the length and length wear of the selected tool The tool T and the tool offset D containing the tool dimensions may be selected anywhere in the program even while tool compensation is active If no tool offset is selected the CNC assumes tool offset D1 ...

Страница 241: ...g direction and will apply the compensation value If no tool compensation is selected G40 on a milling machine the CNC will place the tool center right on the programmed tool path on a lathe the CNC will place the theoretical tool tip on the programmed path When the radius compensation is active the CNC analyzes the blocks to be executed beforehand in order to detect any compensation errors relate...

Страница 242: ...o calibrate it The location code depends on the position of the tools and on the orientation of the machine axes The next example shows the location code F3 on different machines Observe how the CNC keeps the relative position of the tool with respect to the axes Location code F3 on a horizontal lathe Location code F3 on a vertical lathe Here are the location codes available on most common horizon...

Страница 243: ...Programming manual CNC 8070 TOOL COMPENSATION 13 Tool radius compensation 243 REF 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 ...

Страница 244: ...Programming manual CNC 8070 13 TOOL COMPENSATION Tool radius compensation 244 REF 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 ...

Страница 245: ...transition between blocks G136 Circular transition between blocks Being function G136 active the CNC joins the compensated paths using circular paths G137 Linear transition between blocks Being function G137 active the CNC joins the compensated paths using linear paths Remarks Later sections of this chapter offer graphic descriptions of how different paths are joined depending on the type of trans...

Страница 246: ...he corner When compensation is turned off the tool moves directly to the programmed end point without counting the corner G139 Indirect activation cancellation of tool compensation When compensation is turned on the tool moves to the perpendicular of the next path contouring the corner When compensation is turned off the tool moves to the end point contouring the corner The way the tool goes aroun...

Страница 247: ...Programming manual CNC 8070 TOOL COMPENSATION 13 Tool radius compensation 247 REF 1709 On power up after executing an M02 or M30 and after an EMERGENCY or RESET the CNC assumes function G139 ...

Страница 248: ... next path Regardless of the type of transition G136 G137 programmed The following tables show the different ways tool compensation may begin depending on the selected functions The programmed path is shown with solid line and the compensated path with dashed line Beginning of the compensation without programmed movement After activating the compensation it may occur that the axes of the plane wil...

Страница 249: ...tion is activated is independent from the functions G136 G137 or G138 G139 selected When the angle between paths is greater than 180º the way radius compensation is activated depends on the functions selected for type of beginning G138 G139 and type of transition G136 G137 0º 90º 90º 90º 180º 180º G139 G136 G139 G137 G138 180º 270º 180º 270º 180º 270º 270º 270º 270º 270º 360º 270º 360º 270º 360º ...

Страница 250: ...nsation is activated is independent from the functions G136 G137 and G138 G139 selected When the angle between the straight path and the tangent of the arc is greater than 180º the way radius compensation is activated depends on the type of beginning G138 G139 and type of transition G136 G137 selected 0º 90º 90º 90º 180º 180º G139 G136 G139 G137 G138 180º 270º 180º 270º 180º 270º 270º 270º 270º 27...

Страница 251: ...ng on the selected function G136 or G137 The programmed path is shown with solid line and the compensated path with dashed line STRAIGHT TO STRAIGHT PATH When the angle between paths is smaller than or equal to 180º the transition between paths is independent from the G136 G137 function selected When the angle between paths is greater than 180º the way the compensated paths are joined depends on t...

Страница 252: ...aller than or equal to 180º the transition between the paths is independent from the selected G136 G137 function When the angle between the straight path and the tangent of the arc is greater than 180º the way the compensated paths are joined depends on the type of transition selected G136 G137 0º 90º 90º 90º 180º 180º G136 G137 180º 270º 180º 270º 270º 270º 270º 360º 270º 360º ...

Страница 253: ...maller than or equal to 180º the transition between the paths is independent from the selected G136 G137 function When the angle between the tangent of the arc and the straight line is greater than 180º the way the compensated paths are joined depends on the type of transition selected G136 G137 0º 90º 90º 90º 180º 180º G136 G137 180º 270º 180º 270º 270º 270º 270º 360º 270º 360º ...

Страница 254: ...ller than or equal to 180º the transition between the paths is independent from the selected G136 G137 function When the angle between the tangents of the arcs is greater than 180º the way the compensated paths are joined depends on the type of transition selected G136 G137 0º 90º 90º 90º 180º 180º G136 G137 180º 270º 180º 270º 270º 270º 270º 360º 270º 360º ...

Страница 255: ...ype of compensation the different cases are solved according to the following criteria A The compensated paths cut each other The programmed paths are compensated each on its corresponding side The side change takes place in the intersection point between both paths B The compensated paths do not cut each other An additional section is inserted between the two paths From the point perpendicular to...

Страница 256: ...Programming manual CNC 8070 13 TOOL COMPENSATION Tool radius compensation 256 REF 1709 Back and forth path along the same way Intermediate path as long as the tool radius B A ...

Страница 257: ... of the type of transition G136 G137 programmed The following tables show the different possibilities of canceling tool radius compensation depending on the selected functions The programmed path is shown with solid line and the compensated path with dashed line End of the compensation without programmed movement After canceling the compensation it may occur that the axes of the plane will not be ...

Страница 258: ...sation is canceled is independent from the G136 G137 and G138 G139 functions selected When the angle between paths is greater than 180º the way radius compensation is canceled depends on the functions selected for type of ending G138 G139 and type of transition G136 G137 0º 90º 90º 90º 180º 180º G139 G136 G139 G137 G138 180º 270º 180º 270º 180º 270º 270º 270º 270º 270º 360º 270º 360º 270º 360º ...

Страница 259: ...mpensation is canceled is independent from the G136 G137 and G138 G139 functions selected When the angle between the tangent of the arc and the straight line is greater than 180º the way radius compensation is canceled depends on the type of ending G138 G139 and type of transition selected G136 G137 0º 90º 90º 90º 180º 180º G139 G136 G139 G137 G138 180º 270º 180º 270º 180º 270º 270º 270º 270º 270º...

Страница 260: ...tions G17 G18 or G19 is executed the CNC assumes the axis perpendicular to the selected plane as the new longitudinal axis If then TOOL AX is executed the new selected longitudinal axis replaces the previous one Tool length compensation on a lathe In a turning operation the CNC takes into account the dimensions of the new tool defined in the corresponding tool offset and moves the tool holding tur...

Страница 261: ...sation program D n where n is the tool offset number that contains the tool dimensions that will be used as compensation values To cancel this compensation program D0 Once one of these codes has been executed tool length compensation will be activated or cancel during the next movement of the longitudinal axis ...

Страница 262: ... selected last Type of compensation Paraxial 3D compensation The CAM calculates the paths and gives the CNC a program with the necessary information to generate the paths at the corners The CAM takes into account the tool shape and consequently the program may be executed with any type of tool The CAM adds to the motion blocks a vector unnormalized like N P Q R The vector generated by the CAM is a...

Страница 263: ... block Programming format The programming format is COMP3D OFF Considerations 3D compensation are incompatible with tool radius compensation G41 G42 3D compensation affects linear movements G00 G01 circular movements G02 G03 G08 G09 and threading G33 G63 3D compensation does not affect probing movements G100 G103 home search G74 or polynomials POLY During tool inspection the CNC temporarily cancel...

Страница 264: ...at is N p q r Programming the vector The vector paraxial or normal is programmed like N P Q R where the three components of the vector MUST BE programmed Vector components may be numerical values parametric or the result of math expressions Considerations about the vector paraxial or normal Vector programming is not affected by the following coordinate transformations but it is affected by mirror ...

Страница 265: ...program can have several local subroutines but they all must be defined before the body of the program A local subroutine can call a second local subroutine with the condition that the calling subroutine be defined after the one being called Subroutine nesting levels and parameters Since a subroutine may be called upon from the main program or a subroutine and another subroutine from this one and ...

Страница 266: ...ROUTINES 266 REF 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 ...

Страница 267: ...or it it loads it At the end of the program M30 if no other channel is executing subroutines the CNC deletes them from its RAM memory This way if a user subroutine having a fst extension is edited or modified the CNC assumes the changes the next time it executes it OEM subroutines Being the CNC in USER mode the OEM routines having a fst extension are loaded into RAM memory when starting up the CNC...

Страница 268: ...e as that of a program in other words it is a block consisting of the character followed by the name of the subroutine The name may be up to 14 characters long and may consist of uppercase and lowercase characters as well as numbers no blank spaces are allowed It is optional to program the header The header name must not be used when calling a global subroutine use the name of the file as it is st...

Страница 269: ...h has not been indicated the CNC looks for the subroutine in the following directories and in this order 1 Directory selected with the PATH instruction 2 Directory of the program being executed 3 Directory defined by machine parameter SUBPATH Command Call type L Call to a global subroutine Parameters cannot be initialized with this command LL Call to a local subroutine Parameters cannot be initial...

Страница 270: ...ramming format is LL sub 14 3 2 L Call to a global subroutine The command L calls a global subroutine This type of call allows initializing local parameters of the subroutine When it is a global subroutine its whole path may be defined Programming format The programming format is L path sub sub Name of the subroutine LL sub2 nc path Optional Subroutine location sub Name of the subroutine L C Cnc80...

Страница 271: ...e name the following criteria is applied If the path has been defined in the call the CNC will execute the global subroutine otherwise it will execute the local one Programming format The programming format is CALL path sub Path definition Defining the path is optional If defined the CNC only looks for the subroutine in that folder if not defined the CNC looks for the subroutine in the default fol...

Страница 272: ...and may be combined in the same block The parameters P0 to P25 can also be defined using the letters from A to Z so that A is equal to P0 B to P1 and so forth and where Z is equal to P25 The parameters P26 to P52 can also be defined using the letters from D0 a D31 sothat D0 isequal to P26 D1 to P27 and so forthand where D31 isequalto P57 Path definition Defining the path is optional If defined the...

Страница 273: ...d may be combined in the same block The parameters P0 to P25 can also be defined using the letters from A to Z so that A is equal to P0 B to P1 and so forth and where Z is equal to P25 The parameters P26 to P52 can also be defined using the letters from D0 a D31 so that D0 isequal toP26 D1 to P27 andso forth and where D31 is equal to P57 Path definition Defining the path is optional If defined the...

Страница 274: ...l subroutine will not be executed in the motion blocks programmed inside the subroutine itself or in the subroutines associated with T or M6 It will not be executed either when programming a number of block repetitions using a NR value of 0 If a motion block contains a number of repetitions NR other than 0 while a modal subroutine is active both the movement and the subroutine will be repeated NR ...

Страница 275: ...C 8070 SUBROUTINES 14 Subroutine execution 275 REF 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 ...

Страница 276: ...be executed as a single block it usually has the following structure Sub nc ESBLK Beginning of the single block treatment DSBLK End of the single block treatment RET End of subroutine When executing this subroutine in single block mode the START key must be pressed twice because the execution stops in the RET block To prevent this so the subroutine is executed with a single START the subroutine mu...

Страница 277: ...tines If no path is defined in the global subroutine call the CNC will look for the subroutine in the path defined using the instruction PATH If the path is defined when calling a global subroutine the CNC looks for the subroutine in that location it ignores the location defined in the PATH statement Programming format The programming format is PATH path path Pre determined subroutine location PAT...

Страница 278: ...80 G180 P0 Pn G380 P0 Pn Programming format Executing the subroutine in a modal way The programming format is the following the list of arguments appears inside the curly brackets To execute the subroutine in a modal way call it using the MG code MG180 MG181 etc MG180 MG380 MG180 P0 Pn MG380 P0 Pn How to set local parameters Calling a subroutine allows for the 57 local parameters P0 to P57 to be i...

Страница 279: ...r the local parameters Remember that up to 7 parameter nesting levels are possible within 20 subroutine nesting levels Considerations about the modal character of the subroutine The modal subroutine will not be executed in the motion blocks programmed inside the subroutine itself or in the subroutines associated with T or M6 It will not be executed either when programming a number of block repetit...

Страница 280: ...ing the local parameters of the subroutine Programming format Executing the subroutine in a non modal way The programming format is the following the list of arguments appears inside the curly brackets To executethe subroutineinanon modalway callitusingthe Gcode G500 G501 etc G500 G500 P0 Pn Programming format Executing the subroutine in a modal way The programming format is the following the list...

Страница 281: ...utines The subroutines associated with these functions will be global and will have the same name as the function without extension The subroutines must be defined in the folder Users Sub If the CNC executes a function and there is no subroutine the CNC will issue an error message G500 will have subroutine G500 associated with it G501 will have subroutine G501 associated with it G599 will have sub...

Страница 282: ...ze local parameters this instruction generates a new nesting level for the local parameters Remember that up to 7 parameter nesting levels are possible within 20 subroutine nesting levels Properties of the function and Influence of the reset turning the CNC off and of the M30 function Functions G500 G599 are not modal Functions MG500 MG599 are modal ...

Страница 283: ... There s no need to define both files either one may be defined alone When the help window is only informative it cannot be accessed with the cursor nor browse through it with the page up down keys This is why it is recommended to use short help files for example that only contain the description of the parameters of the subroutine Also since the text of the help file can be inserted into the prog...

Страница 284: ...it finds this is the reason why it is recommended that the user does not define subroutines and or help files with the same name as those of the OEM If there are no help files the CNC will not show any help and it will not display an error Users Sub Help idioma Users Sub Help Mtb Sub Help idioma Mtb Sub Help For versions V1 60 8060 y V5 60 8065 the CNC no longer searches for help files in the foll...

Страница 285: ... subroutines The list of subroutines must be in a text txt file The file must be edited so each line is the name of a possible subroutine to be called Name and location of files The name of the file should be pcall txt Where to save the list of subroutines The machine manufacturer must save the pcall txt file in the folder Mtb Sub Help Since the modifications to the MTB directory in the User work ...

Страница 286: ...e subroutine depends on parameter SUBINTSTOP Also in order to execute the subroutine when no program is in execution the channel must be in automatic mode the subroutine cannot be executed from jog mode The CNC executes the subroutine with the current history of the interrupted program G functions feedrate etc Once the subroutine is executed the CNC resumes the execution of the program from the in...

Страница 287: ...s the following the list of arguments appears between curly brackets and the optional ones between angle brackets REPOS point X C X C Sequence of axes and spindles to be repositioned The CNC repositions the axes in the program sequence except the axes of the active plane that reposition simultaneously when the first of them repositions Since there may be several REPOS instructions in the same subr...

Страница 288: ...subroutine is missing the CNC executes the program directly Execution of subroutine During execution the CNC displays the name of the subroutine on the general status bar The CNC does not display the blocks under execution however it executes the subroutine as a single block this means that the block by block execution is not affected Name and location of the subroutine The name of the subroutine ...

Страница 289: ...ecution of subroutine During execution the CNC displays the name of the subroutine on the general status bar The CNC does not display the blocks under execution however it executes the subroutine as a single block this means that the block by block execution is not affected Name and location of the subroutine The name of the subroutine must be PROGRAM_RESET without an extension and it will be save...

Страница 290: ...es both subroutines as incomplete and it is the manufacturer s responsibility to define both subroutines Software updates do not modify any existing subroutines Name and location of the subroutine The names of the subroutines are KinCal_Begin nc and KinCal_End nc Both subroutines must be saved in the folder Mtb Sub All channels use the same subroutines Name Meaning KinCal_Begin nc Subroutine assoc...

Страница 291: ...e defined by either writing the full path or without it When indicating the whole path the CNC only looks for the program in the indicated folder If the path has not been indicated the CNC looks for the program in the following folders and in this order 1 Directory selected with the PATH instruction 2 Directory of the program that executes the EXEC instruction 3 Directory defined by machine parame...

Страница 292: ...ed as a subroutine In this case functions M02 and M30 will carry out all the associated actions initialization sending to the PLC etc except the one for finishing the program After executing function M02 or M30 itgoeson executing the blocks programmedafter the EXEC instruction Considerations A program containing the EXEC instruction may be executed simulated syntax checked or searched for a partic...

Страница 293: ...rk mode Programming format The programming format is Optional parameters are indicated between angle brackets EXBLK block channel Channel where the block is to be executed Programming the channel is optional If the channel is not indicated and the instruction is executed from the program the block is executed in its own channel If the instruction is executed in MDI and the channel is not indicated...

Страница 294: ...terruption mode is not applied when pressing the CYCLE STOP key When interrupting the program from the PLC the CNC channel aborts the execution of the program but without affecting the spindle initializes the program history and resumes the execution in the point indicated by the active ABORT instruction Threading and other machining operations that cannot be interrupted If the CNC aborts the prog...

Страница 295: ...Label programming The labels that identify the blocks may be of a number type or a name type In the program the character must be added to the number type labels after the block number Name and location path of the program to be executed The program to be executed may be defined by either writing the full path or without it When indicating the whole path the CNC only looks for the program in the i...

Страница 296: ...labels are defined at the end of it the ABORT instruction may take longer to find them 15 3 2 Canceling the execution resuming point The point where the execution is resumed is canceled with the ABORT instruction If no resume point has been defined or it has been canceled the execution continues in the ABORT OFF instruction if the instruction has not been defined the program will jump to the end o...

Страница 297: ... parameter CAXIS in the machine parameter table or to its variable V MPA CAXIS Xn Variable indicating whether the axis or spindle can be enabled as the C axis a value of 1 is yes and a value 0 is no In the machine parameter table parameter CAXNAME indicates the default name of the C axisofthe channel Thisisthename thataspindleenabledas C axiswilltake ifnotindicated otherwise via part program The z...

Страница 298: ... speed may be programmed for it When activating the spindle as C axis the CNC carries out a home search of the C axis Accessing the variables of a spindle activated as C axis After activating a spindle as C axis the new name of the spindle must be used to access its variables from the part program or MDI The access to the variables from the PLCA or from an interface does not change the original na...

Страница 299: ...s C axis 299 REF 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 name of C1 G01 Z50 C1 100 F100 G01 X20 C1 20 A50 S1000 CAX OFF ...

Страница 300: ...tween angle brackets FACE abs ord long kin Programming the kinematics is optional if not programmed the CNC applies the first kinematics that has been defined in the machine parameters and is valid for this type of machining Cancel the machining of the face of the part Machining is canceled with the FACE instruction as follows FACE OFF C axis programming The C axis will be programmed as if it were...

Страница 301: ... AXIS 16 Machining of the face of the part 301 REF 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 ...

Страница 302: ...the surface on cylinders with variable radius without having to indicate the radius Programming the kinematics is optional if not programmed the CNC applies the first kinematics that has been defined in the machine parameters and is valid for this type of machining Cancel the machining of the side of the part Machining is canceled with the CYL instruction as follows CYL OFF C axis programming The ...

Страница 303: ...the turning side of the part 303 REF 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 664 G91 Z4 CYL OFF M30 ...

Страница 304: ...Programming manual CNC 8070 16 C AXIS Machining of the turning side of the part 304 REF 1709 ...

Страница 305: ...onverts the movements of the real non perpendicular axes Z X This way a movement programmed on the X axis is transformed into movements on the Z X axes i e it then moves along the Z axis and the angular X axis Turning angular transformation on and off The CNC assumes no transformation on power up the angular transformations are activated via part program Several angular transformations may be acti...

Страница 306: ... meet the following requirements Both axes must belong to the same channel Both axes must be linear Both axes may be masters in a pair of slaved coupled axes or gantry axes Home search is not possible when the angular transformation is active If the angular transformation is active the coordinates displayed will be those of the Cartesian system Otherwise it will display the coordinates of the real...

Страница 307: ...ter table Angular transformations may be activated either all of them at the same time or one by one Activating one transformation does not cancel the previous ones This instruction turns a frozen suspended transformation on again See 17 2 Freezing suspending the angular transformation on page 308 Turn angular transformation off If the transformation is off the movements are programmed and execute...

Страница 308: ...e number of the angular transformation is determined by the order in which they have been defined in the machine parameter table Programming movements after freezing the angular transformation If an angular transformation is frozen suspended only the coordinate of the angular axis must be programmed in the motion block If the coordinate of the orthogonal axis is programmed the movement is carried ...

Страница 309: ...lar transformation These variables refer to the angular transformation n Programming using the curly brackets is mandatory V MPK ANGANTR n Variable that can only be read from the PRG PLC and INT Angle between the Cartesian angle and the angular axis it is associated with Positive angle when the angular axis has been rotated clockwise and negative if counterclockwise V MPK OFFANGAX n Variable that ...

Страница 310: ...Programming manual CNC 8070 17 ANGULAR TRANSFORMATION OF AN INCLINE AXIS Obtaining information on angular transformation 310 REF 1709 ...

Страница 311: ... off and of the M30 Tangential control is modal Tangential control is canceled on power up after executing an M02 or M30 and after an emergency or reset Considerations about tangential control Tangential control is compatible with tool radius and length compensation Mirror image may also be applied while tangential control is active Axes allowed in tangential control Tangential control can only be...

Страница 312: ... 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 tangential control and move the axes using blocks programmed in MDI The tangential axis cannot be moved while tangential control is active ...

Страница 313: ...ate tangential control on one or several axes and to set the positioning feedrate of the tangential axis There is no need to activate any axis in order to set the feedrate The programming format is Optional parameters are indicated between angle brackets TANGCTRL ON X C F Although both parameters are optional at least one of them must be programmed Combining both programming formats The two progra...

Страница 314: ...se the maximum feedrate for each tangential axis will be limited by its machine parameter MAXFEED If the tangential axis must move alone it moves at the feedrate set by machine parameter MAXFEED If the tangential axis moves with the axes of the plane its feedrate is the same as the one for those axes Operation of the tangential control Every time tangential control is activated the CNC acts as fol...

Страница 315: ...al control in all the axes of the channel The programming format is Optional parameters are indicated between angle brackets TANGCTRL OFF X C Cancellation of tangential control during tool radius compensation Tangential control may be canceled even if tool radius compensation is active However it is recommended to freeze tangential control instead of canceling it This is because the instruction TA...

Страница 316: ...nsthatapreviouslyfrozen tangentialaxisistoberesumed Iftheparameter Kisnotprogrammed theCNCassumesK0 Programming format 2 This statement freezes tangential control in one or several axes If no axis is programmed it freezes tangential control in all the axes of the channel The programming format is Optional parameters are indicated between angle brackets TANGCTRL SUSP X C Canceling tangential contro...

Страница 317: ...angential control in one or several axes If no axis is programmed it resumes tangential control in all the axes of the channel The programming format is Optional parameters are indicated between angle brackets TANGCTRL RESUME X C X C Optional Axis where tangential control is resumed TANGCTRL RESUME TANGCTRL RESUME A TANGCTRL RESUME B W C ...

Страница 318: ...l control is active in channel n nor not A 1 if the tangential control is active and a 0 if otherwise V PLC TANGACTx This variable indicates whether tangential control is active in the x axis or not A 1 if the tangential control is active and a 0 if otherwise V n G TGCTRLST It returns the status of tangential control in the channel A value of 0 if tangential control is off a 1 if it is on and a 2 ...

Страница 319: ...compensation of the program CSROT ON Activate tool orientation in the part coordinate system CSROT OFF Cancel tool orientation in the part coordinate system and therefore activate tool orientation in the machine coordinate system DEFROT How to manage the discontinuities in the orientation of rotary axes SELECT ORI Select onto which rotary axes of the kinematics the tool orientation is calculated f...

Страница 320: ... has been made and the spindle is in the starting position the three coordinate systems coincide When turning the spindle the tool coordinate system X Y Z changes If besides this a new machining coordinate system is selected CS instruction or fixture coordinate system ACS instruction the part coordinate system will also change X Y Z X Y Z Machine coordinate system X Y Z Part coordinate system X Y ...

Страница 321: ...rresponding to the machining operations use the CS and ACS instructions that are described later on in this chapter To orient the tool perpendicular to the inclined plane use the TOOL ORI instruction or the kynetics related variables that indicate the position that each rotary axis of the spindle head must occupy The new coordinates right figure are referred to the new part zero assuming that the ...

Страница 322: ...part program using the instruction KIN ID If there is only one and it has been set as the default kinematics there is no need to program this instruction Programming When defining this instruction define the number of the kinematics to activate out of the possible 6 Programming format The programming format is the following the list of arguments appears between curly brackets KIN ID kin Considerat...

Страница 323: ...3 align FIRST SECOND ACS DEF ON NEW OFF ALL ACT nb MODE mode V1 V2 V3 1 2 3 align FIRST SECOND SOL2 CS With the CS instruction up to 5 machining coordinate systems may be defined stored activated and deactivated ACS With the ACS instruction up to 5 fixture coordinate systems may be defined stored activated and deactivated This system is used to compensate for workpiece inclination due to the fixtu...

Страница 324: ...al ones between angle brackets Format to define and save without activating a coordinate system If the coordinate system has already been defined earlier these instructions will redefine it CS DEF nb MODE mode V1 V2 V3 1 2 3 align FIRST SECOND ACS DEF nb MODE mode V1 V2 V3 1 2 3 align FIRST SECOND Format to define save and activate a coordinate system CS ON nb MODE mode V1 V2 V3 1 2 3 align FIRST ...

Страница 325: ... Optional Command to define the orientation of the axes Only in mode 6 CS ON MODE 1 0 15 5 30 15 4 5 Defines and activates a new coordinate system nb Number of the coordinate system from 1 to 5 MODE mode Definition mode from 1 to 6 V1 V3 Components of the translation vector 1 3 Rotation angles align Optional Plane alignment value 0 1 Only in modes 3 4 and 5 KEEP Optional Command to define whether ...

Страница 326: ...Sometimes it could happen that when activating a CS or a ACS coordinate system saved earlier the coordinate origin of the plane may not be desired one This happens if the part zero is modified between the definition and the application of the coordinate system Considerations for the two functions Both coordinate systems CS and ACS are kept active after a Reset or after executing an M02 or M30 On p...

Страница 327: ...lly around the third axis respectively V1 V2 V3 Components of the translation vector Coordinate origin of the inclined plane with respect to the current part zero 1 2 3 Rotation angles to build the inclined plane First rotate around the X axis the amount indicated by 1 In the figure the new coordinate system resulting from this transformation is called X Y Z because the Y Z axes have been rotated ...

Страница 328: ... axis and then again around the third axis respectively V1 V2 V3 Components of the translation vector Coordinate origin of the inclined plane with respect to the current part zero 1 2 3 Rotation angles to build the inclined plane First rotate around the third axis Z the amount indicated by 1 In the figure the new coordinate system resulting from this transformation is called X Y Z because the X Y ...

Страница 329: ...m V1 V2 V3 Components of the translation vector Coordinate origin of the inclined plane with respect to the current part zero 1 2 Angles of the plane Angles that the inclined plane forms with the 1st and 2nd axes X Y of the machine coordinate system align Plane alignment value 0 1 This argument defines which of the axes of the new plane X Y is aligned with the edge If not programmed it assumes 0 3...

Страница 330: ...m V1 V2 V3 Components of the translation vector Coordinate origin of the inclined plane with respect to the current part zero 1 2 Angles of the plane Angles that the inclined plane forms with the 1st and 3rd axes X Z of the machine coordinate system align Plane alignment value 0 1 This argument defines which of the axes of the new plane X Y is aligned with the edge If not programmed it assumes 0 3...

Страница 331: ...m V1 V2 V3 Components of the translation vector Coordinate origin of the inclined plane with respect to the current part zero 1 2 Angles of the plane Angles that the inclined plane forms with the 2nd and 3rd axes Y Z of the machine coordinate system align Plane alignment value 0 1 This argument defines which of the axes of the new plane X Y is aligned with the edge If not programmed it assumes 0 3...

Страница 332: ...er to use this definition while setting up the machine the tool position when it is parallel to the Z axis of the machine must be set as the spindle s rest position i On this machine only the main rotary axis has rotated See the rest position of the spindle at the top right side On the contrary on this machine to achieve the same tool orientation both the main and secondary rotary axes have rotate...

Страница 333: ...s fully defined with the tool orientation On the other hand the location of the first and second axes of the new plane depends on the type of spindle being 45º spindles it is hard to predict Depending on the programmed option it behaves as follow When programming the FIRST command the projection of the new first axis of the inclined plane is oriented with the first axis of the machine When program...

Страница 334: ...ts appears between curly brackets and the optional ones between angle brackets CS DEF n MODE mode V1 V2 V3 1 2 3 align SOL2 CS ON n MODE mode V1 V2 V3 1 2 3 align SOL2 CS ON MODE mode V1 V2 V3 1 2 3 align SOL2 CS NEW n MODE mode V1 V2 V3 1 2 3 align SOL2 CS NEW MODE mode V1 V2 V3 1 2 3 align SOL2 ACS DEF n MODE mode V1 V2 V3 1 2 3 align SOL2 ACS ON n MODE mode V1 V2 V3 1 2 3 align SOL2 ACS ON MODE...

Страница 335: ...using machine coordinates MCS since the CNC provides the solution in machine coordinates or by using the instruction TOOL ORI and the movement of an axis Option 1 Movement in machine dimensions with the given solution MCS ON G01B V G TOOLORIF1 C V G TOOLORIS1 F1720 MCS OFF Option 2 Orientate the work plane so that it is perpendicular to the tool for the next movement after TOOL ORI TOOL ORI G01 X0...

Страница 336: ...When combining several coordinate systems the CNC acts as follows 1 First the CNC checks the ACS and applies them sequentially in the programmed order resulting in an ACS transformation 2 Then the CNC checks the CS and applies them sequentially in the programmed order resulting in a CS transformation 3 And last the CNC applies the resulting CS onto the ACS to obtain the new coordinate system The r...

Страница 337: ...CS coordinate system may be activated several time The figure below shows an example of the instruction CS DEF ACT n to assume and store the current coordinate system as a CS N100 CS ON 1 CS 1 N110 ACS ON 2 ACS 2 CS 1 N120 ACS ON 1 ACS 2 ACS 1 CS 1 N130 CS ON 2 ACS 2 ACS 1 CS 1 CS 2 N140 ACS OFF ACS 2 CS 1 CS 2 N140 CS OFF ACS 2 CS 1 N150 CS ON 3 ACS 2 CS 1 CS 3 N160 ACS OFF ALL CS 1 CS 3 N170 CS ...

Страница 338: ...active inclined plane After executing this instruction the tool is positioned perpendicular to the inclined plane parallel to the third axis of the active coordinate system at the first motion programmed next Programming Program the instruction alone in the block Programming format The programming format is TOOL ORI TOOL ORI Tool perpendicular to the inclined plane request G1 X_ Y_ Z_ Position at ...

Страница 339: ...to the inclined plane request G90 G90 G0 X60 Y20 Z3 Position at point P1 The spindle orients perpendicular to the plane during this positioning move G1 G91 Z 13 F1000 M3 Drilling G0 Z13 Withdrawal G0 G90 X120 Y20 Position at point P2 G1 G91 Z 13 F1000 Drilling G0 Z13 Withdrawal G0 G90 X120 Y120 Position at point P3 G1 G91 Z 13 F1000 Drilling G0 Z13 Withdrawal G0 G90 X60 Y120 Position at point P4 G...

Страница 340: ...e orients perpendicular to the plane during this positioning move G1 G91 Z 13 F1000 M3 Drilling G1 Z13 Withdrawal G1 X P2 Y P2 Movement to point P2 G90 B0 Orient to the tool in the machine coordinate system MCS ON Programming in machine coordinates G1 G91 Z 13 F1000 Drilling G1 Z13 Withdrawal MCS OFF End of programming in machine coordinates Restore the coordinate system of the plane G1 X P3 Y P3 ...

Страница 341: ...oning may be combined with linear and circular interpolations Programming Turn RTCP on This instruction must be programmed alone in the block Programming format The programming format is RTCP ON Programming Turn RTCP transformation off This instruction must be programmed alone in the block Programming format The programming format is RTCP OFF Function properties The RTCP transformation is kept act...

Страница 342: ...nly allows home search G74 on the axes not involved in RTCP The RTCP transformation cannot be selected while the TLC compensation is active RTCP transformation being active the CNC does not allow modifying the active kinematics KIN ID RTCP transformation being active the CNC does not allow modifying the software limits G198 G199 Recommended programming order When working with inclined planes and R...

Страница 343: ...º to 0º The CNC interpolates the X Z and B axes in such a way that the tool is being oriented along the movement Block N25 turns RTCP off Example 2 Circular interpolation with tool perpendicular to its path Block N30 selects the ZX plane G18 and positions the tool at the starting point 30 90 Block N31 turns RTCP on Block N32 contains a movement to point 100 20 and a tool orientation from 0º to 90º...

Страница 344: ...TCP on G01 X40 Z0 B0 F1000 Position the tool at X40 Z0 oriented at 0º X100 Movement to X100 with tool oriented at 0º B 35 Orient the tool at 35º X200 Z70 Movement to X200 Z70 with tool oriented at 35º B90 Orient the tool to 90º G02 X270 Z0 R70 B0 Circular interpolation to X270 Z0 maintaining the tool perpendicular to the path G01 X340 Movement to X340 with tool oriented at 0º RTCP OFF Turn RTCP of...

Страница 345: ...C on When defining this instruction one must define the length difference between the real tool and the theoretical one used to write the program Programming format The programming format is the following the list of arguments appears between curly brackets TLC ON long Programming Cancel tool length compensation TLC off This instruction must be programmed alone in the block Programming format The ...

Страница 346: ...t was selected gets lost If the tool is inside the part proceed as follows to withdraw it 1 Use the KIN ID n instruction to select the kinematics that was being used 2 Use the coordinate system definition MODE6 so the CNC selects a plane perpendicular to the direction of the tool as the work plane CS ON n MODE 6 0 0 0 0 3 Move the tool along the longitudinal axis until it is away from the part Thi...

Страница 347: ...resulting in the shortest distance withrespecttothe currentposition Ifa littlechange inthe programmedangle results in a huge change of angle due to the inclined plane it is possible to define different actions depending on the angle instruction DEFROT Programming When defining this instruction there is an option to set when the CNC orients the tool Programming format The programming format is the ...

Страница 348: ...els the programming of the rotary axes in the active ACS CS coordinate system and therefore activates the programming of those axes in the machine coordinate system After executing an M30 and after a reset it also cancels the programming of the rotary axes of the kinematics in the part coordinate system Programming Program the instruction alone in the block Programming format The programming forma...

Страница 349: ... programing any combination of the three parameters a minimum of one and a maximum of three maintaining the order CNC action when it detects a discontinuity These values define what the CNC must do when it detects a discontinuity If not programmed the CNC assumes the last value programmed After executing an M30 and after a reset the CNC assumes the WARNING value show a warning and interrupt the ex...

Страница 350: ...and criteria are applied to choose the solution If not programmed the CNC assumes the last value programmed After executing an M30 and after a reset the assumes the value of 5º Command Meaning LOWF The shortest way for the main rotary axis then the secondary axis LOWS The shortest way for the secondary rotary axis then the main axis DPOSF Positive direction of the main rotary axis DPOSS Positive d...

Страница 351: ...es on the screen itself The position of the axes is given in machine coordinates By default the CNC suggests one solution If the user chooses the solution suggested by the CNC it resumes execution If the user chooses a solution other than the one suggested by the CNC it goes into tool inspection to reposition the axes Once in tool inspection the process will be as follows 1 Move the tool away from...

Страница 352: ...EFROT Depending on the criterion chosen one may select solution 1 or 2 and from there on keep positioning in the rest of the blocks With DEFROT DPOSF positive direction of the main axis solution 1 is chosen and the resulting positioning of the rotary axes will be the following N2 C90 B10 N3 C90 B20 N4 C90 B30 With DEFROT DNEF negative direction of the main axis solution 2 is chosen and the resulti...

Страница 353: ...sing the following commands HEAD1 first axis of the spindle HEAD2 second axis of the spindle TABLE1 first axis of the table TABLE2 second axis of the table Any programming sequence order is permitted Considerations This instruction is modal On power up after an M02 or M30 and after an EMERGENCY or a RESET the instruction assumes its default value SELECT ORI HEAD1 HEAD2 CS Define and select the mac...

Страница 354: ...heposition ofthe table After executingthisinstruction the following variables offer the values of the transformed part zero considering the position of the table Save the value of these variables in the zero offset table for later in order to have that part zero available and be able to activate it at any time Programming Program the instruction alone in the block Programming format The programmin...

Страница 355: ...ate the variables referred to the part zero that consider the current position of the spindle and of the table KINORG 5 At any time after executing KINORG save the calculated new part zero in the zero offset table V A ORGT n X V G KINORG1 V A ORGT n Y V G KINORG2 V A ORGT n Z V G KINORG3 The necessary steps to activate and work with that part zero with the spindle table or table kinematics without...

Страница 356: ...s of the spindle and table in the desired position for measuring the part zero on X Y Z 4 Activate the part zero at the desired point on X Y Z 5 Transform the current part zero without moving the rotary axes of the table into a new set of values that consider the table position 6 Save the calculated values in to the zero offset table for example in G55 G159 2 7 Move the axes to any position and ke...

Страница 357: ...OTF R W Current position of the first rotary axis of the kinematics V G POSROTS R W Current position of the second rotary axis of the kinematics V G POSROTT R W Current position of the third rotary axis of the kinematics V G POSROTO R W Current position of the fourth rotary axis of the kinematics Variables R W Meaning V G TOOLORIF1 R Position machine coordinates to be occupied by the first rotary ...

Страница 358: ...rotary axis of the kinematics at the beginning of the block for solution 1 of the CSROT mode V G CSROTT1 2 R Position machine coordinates calculated for the third rotary axis of the kinematics at the end of the block for solution 1 of the CSROT mode V G CSROTO1 1 R Position machine coordinates calculated for the fourth rotary axis of the kinematics at the beginning of the block for solution 1 of t...

Страница 359: ...ccupied by the second rotary axis at the end of the block for the CSROT mode V G CSROTT 1 R W Position machine coordinates to be occupied by the third rotary axis at the beginning of the block for the CSROT mode V G CSROTT 2 R W Position machine coordinates to be occupied by the third rotary axis at the end of the block for the CSROT mode V G CSROTO 1 R W Position machine coordinates to be occupie...

Страница 360: ...Programming manual CNC 8070 19 KINEMATICS AND COORDINATE TRANSFORMATION Summary of kinematics related variables 360 REF 1709 ...

Страница 361: ... etc of each axis and of the path Default HSC mode The command to execute programs made up of lots of small blocks typical of high speed machining is carried out with a single instruction HSC This function offers several ways to work optimizing part surface finish SURFACE mode optimizing the contour error CONTERROR mode or the machining feedrate FAST mode The default machining mode is defined by p...

Страница 362: ...igh speed cutting HSC between 10 and 20 For example for a maximum error of 50 microns we should post process with an error of 5 or 10 microns and program the 50 microns in the HSC command HSC ON CONTERROR E0 050 This way of programming lets CNC modify the profile while respecting the dynamics of each axis without causing undesired effects like ridges If CAM post processing is done with the desired...

Страница 363: ...ociated with it G501 will have subroutine G501 associated with it These functions may be programmed anywhere in the program and allow resetting the local parameters of the subroutine Programming the subroutines The programming format is the following the list of arguments is shown between curly brackets they will be the parameters to be initialized by the local parameters of the subroutine The ang...

Страница 364: ...AMETERS E CONTOUR TOLERANCE A ACCELERATION J JERK M HSCMODE 1 SURFACE 2 FAST 3 CONTERROR ESBLK HSC OFF PATHND ON HSC MODE IF V C PCALLP_M IF P12 1 HSC ON SURFACE ELSEIF P12 2 HSC ON FAST ELSEIF P12 3 HSC ON CONTERROR ENDIF ELSE HSC ON ENDIF CONTOUR TOLERANCE IF V C PCALLP_E HSC ON EP4 ENDIF ACCELERATION IF V C PCALLP_A G131 P0 ELSE G131 100 ENDIF JERK IF V C PCALLP_J G133 P9 ELSE G133 100 ENDIF RE...

Страница 365: ... these subroutines all the arguments are optional G501 A acceleration E error G502 A acceleration E error Example of a G500 subroutine Turn HSC off Subroutine Meaning G500 Turn HSC off G501 Turn HSC on in FAST mode G502 Turn HSC on in SURFACE mode A Optional Percentage of acceleration E Optional Maximum chordal error allowed millimeters or inches G501 Acceleration 100 Chordal error twice the value...

Страница 366: ...e HSC ROUGHING ACTIVATION E Contour Tolerance A Acceleration ESBLK HSC OFF PATHND ON IF V C PCALLP_A G131 P0 ELSE G131 100 ENDIF IF V C PCALLP_E 0 P4 2 V MPG HSCROUND ENDIF HSC ON FAST EP4 V G DYNOVR 120 RETDSBLK HSC FINISHING ACTIVATION E Contour Tolerance A Acceleration ESBLK HSC OFF V G DYNOVR 100 PATHND ON IF V C PCALLP_E 0 P4 V MPG HSCROUND ENDIF IF V C PCALLP_A G131 P0 ELSE G131 100 ENDIF HS...

Страница 367: ...ncy OS frequency HSC mode The work mode must only be selected when it is not the default mode parameter HSCDEFAULTMODE SURFACE Optional HSC mode E error Optional Maximum chordal error allowed Units mm or inches CORNER angle Optional Maximum angle for square corner Units from 0 to 180º RE error Optional Maximum error on rotary axes Units Degrees SF frequency Optional Path filter frequency for linea...

Страница 368: ... frequency of the filter the one defined in machine parameter SOFTFREQ Axis filter frequency in HSC mode The AXF command allows applying different filters to those set in the machine parameters Lower the value of this command to obtain a smoother path and faster but with lower accuracy Programming the AXF command is optional if not programmed the CNC assumes as frequency of the filter the one defi...

Страница 369: ...e CNC assumes the default values set in the machine parameters Execute an HSC mode starting with initial conditions To execute in HSC mode starting with initial conditions first cancel the previous mode See 20 6 Canceling the HSC mode on page 374 Example 2 HSC ON CONTERROR E0 050 HSC OFF HSC ON SURFACE Chordal error machine parameter HSCROUND ...

Страница 370: ...mum contouring error allowed between the programmed path and the resulting path mm or inches This command is applied to the first three linear axes of the channel Programming it is optional if not programmed the CNC assumes as maximum contouring error the value set in machine parameter HSCROUND Maximum angle for square corner TheCORNERcommandsetsthemaximumanglebetweentwopaths between0ºand180º unde...

Страница 371: ...nt one is programmed the HSC mode is canceled a reset is done or the program ends When switching HSC modes the CNC keeps the values programmed in the previous mode for the commands that are not programmed for example the contouring error If no HSC mode has been programmed earlier the CNC takes the default values for the commands that are not programmed Commands RE SF and AXF The CNC maintains the ...

Страница 372: ...EFAULTMODE 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 command is applied to the first three linear axes of the channel Programming it is optional if not programmed the CNC assumes as maximum contouring error the value set in machine parameter HSCROUND Programming the chordal error improv...

Страница 373: ...FILTFREQ Considerations Percentage of acceleration in the transition between blocks The percentage of acceleration in the transition between blocks may be modified using functions G130 G131 The CNC assumes by default the value of machine parameter ACCEL Commands E and CORNER The CNC maintains the value of the commands programmed until a different one is programmed the HSC mode is canceled a reset ...

Страница 374: ...f the functions G05 G07 or G50 Functions G60 and G61 do not cancel the HSC mode Activating a second HSC mode does not cancel the previous HSC mode Programming Program the instruction alone in the block Programming format The programming format is HSC OFF Influence of the reset turning the CNC off and of the M30 The HSC mode is canceled on power up after executing an M02 or M30 and after an emergen...

Страница 375: ...its axis This function facilitates drilling operations withdrawing the tool in its direction as well as increasing or decreasing the depth of the pass while machining a part Considerations about the virtual tool axis There can be one virtual tool axis per channel The virtual axis of the tool must be linear and it must belong to the channel The virtual tool axis cannot be part of the main trihedron...

Страница 376: ...rtual tool axis is positioned in the 0 position If the axis position is not programmed the CNC activates the virtual axis taking its current position into account pos Optional Axis position VIRTAX Activate the transformation of the virtual tool axis in its current position VIRTAX ON Activate the transformation of the virtual tool axis in its current position VIRTAX ON 15 Activate the transformatio...

Страница 377: ...Programming Program the instruction alone in the block Programming format The programming format is VIRTAX OFF Example 2 Increase or decrease the machining pass depth while machining Functions VIRTAX and G201 are not active in the program being executed The steps to change the machining pass are the following 1 Interrupt program execution with the STOP key 2 Go into tool inspection mode 3 From MDI...

Страница 378: ... R or written W Syntax of the variables ch Channel number xn Name logic number or index of the axis Variable R W Meaning V ch G VIRTAXIS R Logic number of the virtual tool axis V ch G VIRTAXST R Status of the virtual tool axis 0 inactive 1 active V ch A VIRTAXOF xn R Distance traveled by the axis due to the movement of the virtual axis of the tool V 2 G VIRTAXS Channel 2 V A VIRTAXOF Z Z axis V A ...

Страница 379: ...rameters They are used for various operations such as Displaying errors messages etc Programming movements referred to machine reference zero home Executing blocks and programs Synchronizing channels Coupling parking and swapping axes Swapping spindles Activating collision detection Activating manual intervention Flow controlling instructions They are defined with the sign followed by the name of ...

Страница 380: ...must be programmed as P0 P25 OEM errors in various languages Errorsbetween 10000and20000arereserved forthe OEMsohe cancreate hisownwarning or error texts in different languages Each mtb data lang language folder contains the file cncError txt that contains the OEM messages and errors in different languages If an error text is not in the folder of the language active at the CNC it looks for it in t...

Страница 381: ... 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 be defined after the text Up to 5 identifiers D or d may be defined but there must be as many data values as identifiers ERROR Wrong d value 120 ERROR Tool D expired V G TOOL ERROR Wrong D D values 18 P21 ...

Страница 382: ...play any text The programming format is WARNING number WARNINGSTOP number The warning number that must be an integer may be defined with a numerical constant a parameter or an arithmetic expression When using local parameters they must be programmed as P0 P25 WARNING Display a warning by selecting its text WARNINGSTOP Display a warning by selecting its text and interrupt the execution It displays ...

Страница 383: ...l values parameters or variables into the text The data whose value is to be displayed must be defined after the text Up to 5 identifiers D or d may be defined but there must be as many data values as identifiers WARNING Message WARNING Parameter P100 is wrong WARNING Difference between P12 and P14 40 WARNING Wrong d value 120 WARNING Tool D expired V G TOOL WARNING Wrong D D values 18 P21 ...

Страница 384: ...be defined between quote marks Certain special characters are defined as follows If no text is defined the message is erased from the screen Including external values in the error text The identifier D or d may be used to insert external values parameters or variables into the message The data whose value is to be displayed must be defined after the text Up to 5 identifiers D or d may be defined b...

Страница 385: ...Defining a prismatic part The programming format is the following the list of arguments appears between curly brackets and the optional ones between angle brackets The RECT command may be left out at the mill model DGWZ RECT Xmin Xmax Ymin Ymax Zmin Zmax P 1 4 C 1 4 C 1 4 Instruction M model T model Dual purpose machine DGWZ Prismatic part Cylindrical part DGWZ RECT Prismatic part Prismatic part P...

Страница 386: ...ter depending on machine parameter DIAMPROG and the active function G151 G152 P 1 4 Optional Part number between 1 and 4 C 1 4 Optional Number of channel associated with the part between 1 and 4 The instruction lets associate several channels to the same part in any order DGWZ 100 0 0 40 It can only be programmed at the T model DGWZ CYL Z 100 0 0 40 DGWZ CYL Z 100 0 0 40 P1 C1 C2 DGWZ CYL Z 100 0 ...

Страница 387: ...TRUCTIONS 22 Programming statements 387 REF 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 CYL Z P1 C1 C2 P1 C1 P1 P2 C1 C2 C2 P1 C1 ...

Страница 388: ...l go on until reaching the DSBLK instruction ESTOP Enable the CYCLE STOP signal DSTOP Disable the CYCLE STOP signal The ESTOP and DSTOP instructions enable and disable the CYCLE STOP signal whether it comes from the operator panel or from the PLC When executing the DSTOP statement the CNC disables the CYCLE STOP key of the operator panel and the CYCLE STOP signal coming from the PLC It is kept dis...

Страница 389: ...al ones between angle brackets Programming the ON command is optional ISO ON NAME path name Path and name of the generated file The path and name are optional If not programmed the CNC assumes the last value used in the program The CNC keeps the programmed values until the end of the program Ifthepathisnotindicatedandnovaluehasbeenprogrammedearlier thegeneratedprogram will be in the same folder as...

Страница 390: ...n them from the second ISO instruction will have no effect it will be ignored If in a program there are two or more ISO instructions with different names the ISO blocks generated since each instruction will go in the program indicated in each instruction It doesn t matter whether an ISO OFF instruction has been programed or not between both instructions Examples ISO OFF Disable ISO generation Exam...

Страница 391: ... manual CNC 8070 STATEMENTS AND INSTRUCTIONS 22 Programming statements 391 REF 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 ...

Страница 392: ...vating the pairs previously slaved LINK Activate the electronic coupling slaving of axes This instruction defines and activates the electronic coupling of axes Several couplings may be activated at the same time When executing this instruction all the axes defined as slaves depend on their relevant masters On these slave axes no movement may be programmed while they stay coupled This instruction m...

Страница 393: ...e spindle is working as a C axis If G96 or G63 is active and it is the master spindle of the channel If G33 or G95 is active and it is the master spindle of the channel or the spindle is used to synchronize the feedrate If the spindle belongs to a tandem pair or is a synchronized spindle be it the master or the slave If after parking the spindles there is only one spindle left in the channel it wi...

Страница 394: ...selected axis or spindle When unparking one of them the CNC interprets that it belongs to the machine configuration and starts controlling it The programming format is as follows UNPARK axis spindle The axes must be unparked one by one When trying to unpark an axis or spindle that is already unparked the programming is ignored PARK A It parks the A axis PARK S2 It parks spindle S2 UNPARK A It unpa...

Страница 395: ... are used to modify the configuration of the axes It is possible to add or remove axes change their names and even redefine the main axes of the channel by swapping their names Changing the configuration of the axes cancels the active polar origin the pattern rotation the mirror image and the scaling factor In the configuration of the axes if G17 is active the axis that occupies the first position...

Страница 396: ...rogrammed the axis stays in its original position Optionally one or several offsets may be applied to the defined axes The programming format is as follows CALL AX Xn pos offset Parameter Meaning Xn Axes that make up the new configuration If instead of defining an axis a zero is written an empty space without an axis appears in this position offset Optional It sets which offset is applied to the a...

Страница 397: ...tional Position of the axis in the new configuration If not programmed the axis is placed after the last one If the position is occupied the relevant error message will be issued offset Optional It sets which offset is applied to the axes Several offsets may be applied CALL AX X A It adds the X and A axes to the configuration after the last existing axis CALL AX V 4 C It adds the V axis to positio...

Страница 398: ...chine parameters that involve restoring the original configuration of channels axes or spindles In either case the axes and the spindles will recover their original names When a channel releases frees an axis instruction SET or FREE the axis always recovers its original name Even if the RENAME is kept parameter RENAMECANCEL the CNC cancels it if the channel recovers an axis with the same name afte...

Страница 399: ...e PLCA or from an interface does not change the original name of the axis remains unchanged RENAME AX OFF Cancel rename This instruction cancels the renaming of the indicated axes regardless of what parameter RENAMECANCEL indicates if no axis is defined it cancels the renaming of all the axes of the channel The programming format is as follows RENAME AX OFF Xn Xn Parameter Meaning Xn Renamed axis ...

Страница 400: ...EXCH Sn Replace Sn with the spindle name Knowing in which channel the spindle is It is possible to know in which channel the spindle is by using the following variable V n A ACTCH Sn Replace Sn with the spindle name Replace the n letter with the channel number Commands for modifying the spindle configuration via program The following instructions are used to modify the configuration of the spindle...

Страница 401: ...me the spindles Itchangesthenameofthespindles Foreachprogrammedspindlepair thefirstspindletakes the name of the second one If the second spindle is present in the configuration it takes the name of the first one Any axis may be renamed with any name whether it is in any channel or not The programming format is as follows RENAME SP Sn Sn Parameter RENAMECANCEL indicates whether the CNC keeps or can...

Страница 402: ...el at the time 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 variables from the PLCA or from an interface does not change the original name of the axis remains unchanged RENAME SP OFF Cancel rename Thisinstructioncancelstherenamingoftheindicatedspindles regard...

Страница 403: ...onal This pair of numbers define the gear ratio nratio dratio between the synchronized spindles Both values can be positive or negative posync Optional This parameter determines that they are synchronized in position and it also sets the offset shift between the two spindles The values may be positive or negative and greater than 360º looptype Optional This parameter indicates the type of loop for...

Страница 404: ...mmed for the master spindle Change the spindle speed via PLC or CNC Execute the speed functions G94 G95 G96 and G97 Execute the auxiliary functions M3 M4 M5 and M19 Change the spindle speed override via PLC CNC or keyboard Change the spindle speed limit via PLC or CNC If the C axis is activated define the XC or ZC plane When defining the synchronization or when it is active the master spindle can ...

Страница 405: ...logic number or index in the channel of the axis Adjust the speed synchronism ratio V n A GEARADJ Xn Read only from the PRG PLC and INT The PLC reading comes in hundredths x100 Fine adjustment of the gear ratio during the synchronization itself It is programmed as a percentage of the original adjustment value Speed synchronization V n A SYNCVELW Xn Read only from the PRG PLC e INT When the spindle...

Страница 406: ... are synchronized in position the slave spindle follows the master keeping the programmed offset taking the ratio into account If the value defined in this variable is exceeded the SYNCPOSI signal goes low the movement is not stopped and no error message is issued Its default value is that of machine parameter DSYNCPOSW V n A SYNCPOSOFF Xn Read only from the PRG PLC e INT Position offset ...

Страница 407: ... to closed loop mode otherwise the loop will be closed and a warning message will be issued The programming format is as follows SERVO ON axis spindle The loop of each axis or spindle must be closed separately SERVO OFF Activates the open loop mode Programming this instruction switches the axis or spindle to open loop mode For a spindle it cancels the closed loop mode programmed SERVO ON and resto...

Страница 408: ...d tapping for example does not lose its open loop or closed loop condition that it had When done with these instructions the previous situation is restored On power up the spindle is set in open loop After executing an M30 or reset the CNC opens the loop and cancels the instruction SERVO ON except when the reset is for the master spindle of a synchronization which could be in a different channel f...

Страница 409: ...e work plane will interrupt the collision detecting process The CNC checks for collisions in the blocks stored so far and resumes the process with the new plane starting with the new motion blocks The collision detecting process will be interrupted when programming a instruction explicit or implicit that involves synchronizing block preparation and execution e g FLUSH The process will resume after...

Страница 410: ...sion detecting process The process will also be canceled automatically after executing an M02 or M30 and after an error or a reset Example of a profile with a loop CD ON 50 G01 X0 Y0 Z0 F750 X100 Y0 Y 50 X90 Y20 X40 Y 50 X0 Y0 CD OFF Example of profile collision CD ON G01 G41 X0 Y0 Z0 F750 X50 Y 50 X100 Y 10 X60 Y0 X150 Y 100 X0 G40 X0 Y0 CD OFF M30 ...

Страница 411: ... G41 G42 with linear transition between blocks G137 or viceversa SPLINE OFF Cancel spline adaptation When executing this instruction the CNC ends the spline and goes on machining as the path were programmed The programming format is as follows SPLINE OFF The spline can only be canceled if at least 3 points have been programmed When defining the initial and final tangents of the spline 2 points wil...

Страница 412: ...ined it applies the values used last ASPLINE STARTTANG Initial tangent ASPLINE ENDTANG Final tangent Theseinstructionsdefinetheinitialandfinaltangentsofthespline Thetangentisdetermined by giving its vectorial direction along the different axes The programming format is as follows ASPLINE STARTTANG axes ASPLINE ENDTANG axes Value Meaning 1 The tangent is calculated automatically 2 Tangent to the pr...

Страница 413: ...of the spline N50 X40 Y60 N60 X60 N70 X50 Y40 N80 X80 N90 Y20 N100 X110 N110 Y50 Last point of the spline N120 SPLINE OFF Cancellation of the spline N130 X140 N140 M30 N10 G00 X0 Y20 N20 G01 X20 Y20 F750 Starting point of the spline N30 ASPLINE MODE 3 3 Type of initial and final tangent N31 ASPLINE STARTTANG X1 Y1 N32 ASPLINE ENDTANG X0 Y1 N40 SPLINE ON Activation of the spline N120 SPLINE OFF Can...

Страница 414: ...ach axis POLY X ax bx cx dx ex Y ay by cy dy ey Z az bz cz dz ez SP sp EP ep X p ax bx p cx p dx p ex p4 Y p ay by p cy p dy p ey p4 Z p az bz p cz p dz p ez p4 Where p is the same parameter in all the axes Parameters sp and ep define the initial and final values of p as the ends between which the path for each axis will be generated Parameter Meaning axis Axis to interpolate a b c d e Coefficient...

Страница 415: ...cated by function G130 or G131 2 The acceleration is now constant 3 Before reaching the programmed feedrate there is a steady deceleration with a slope limited by the percentage of acceleration jerk 4 It goes on at the programmed feedrate and with no acceleration 5 To slow down or stop the axis a deceleration is applied with a slope limited by the percentage of deceleration jerk 6 The deceleration...

Страница 416: ...cel parameter sets the influence of the acceleration set with functions G130 and G131 By default it assumes a value of 0 The optional move parameter determines whether functions G130 G131 G132 and G133 affect the G00 movements or not By default it assumes a value of 0 Parameter Meaning type Acceleration type jerk Optional It sets the influence of the jerk accel Optional It sets the influence of th...

Страница 417: ...B The definition of the macro must be programmed alone in the block The programming format is as follows DEF MacroName BloqueCNC Several macros may be defined in a block as follows DEF Macro1 Block1 Macro2 Block2 Definition of arithmetic operations in the macros When including arithmetic operations in the definition of a macro the whole arithmetic operation must be included Concatenating of macros...

Страница 418: ... 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 resets the table of macros erasing the ones stored in it Example1 DEF MACRO1 X20 Y35 DEF MACRO2 S1000 M03 DEF MACRO3 G01 MA1 F100 MA2 Example 2 DEF POS G1 X0 Y0 Z0 DEF START S750 F450 M03 DEF MACRO POS START ...

Страница 419: ...ng format is RPT blk1 blk2 n Since the labels to identify the blocks may be of two types number and name the RPT instruction may be programmed as follows The label is the block number In the blocks containing the first and last labels program the character after the block number This is required in every label that is the target of a jump The label is the block name Once the repetition is done the...

Страница 420: ...ontrol loop if the opening of the control loop is not within the instructions being repeated N10 RPT N10 N20 4 N10 G01 G91 F800 first block N20 last block N10 RPT N10 N20 N10 FOR P1 1 10 1 G0 XP1 ENDFOR G01 G91 F800 N20 PROGRAM G00 X 25 Y 5 N10 G91 G01 F800 Definition of profile a X10 Y10 X 10 Y 10 G90 N20 G00 X15 RPT N10 N20 Block repetition Profile b RPT INIT END 2 Block repetition Profiles c an...

Страница 421: ...arks managed by the MEET instruction neither affect nor are affected by the rest of the instructions Other ways to synchronize channels The common arithmetic parameters can also be used to communicate and synchronize channels By writing a certain value from a channel and later reading it from another channel it is possible to set the condition to follow up on the execution of a program Accessing t...

Страница 422: ...nd the execution resumes from there on It works as follows 1 It activates the mark selected in its own channel 2 It waits for the mark to be activated in all the indicated channels 3 After synchronizing the channels it deletes the mark from its own channel and goes on executing the program Each channel stops on its MEET When the last one of them reaches the command and checks that all the marks ar...

Страница 423: ...EAR instruction The programming format is SIGNAL mark CLEAR It clears the synchronism marks of the channel This instruction activates the indicated marks in its own channel If no marks are programmed it deletes all of them The programming format is CLEAR CLEAR mark In the following example channels 1 and 2 wait for mark 5 to be active in channel 3 to synchronize Whenmark 5 isactivated inchannel 3 ...

Страница 424: ...e value of the module of the rotary axis that moves the belt Restrictions for the independent axes Any axis of the channel may be moved independently using the associated instructions However this function presents the following restrictions A spindle can only move independently when set in axis mode with the instruction CAX However it can always be the master of a synchronization A rotary axis ma...

Страница 425: ...e an endless infinite movement until the axis limit is reached or until the movement is interrupted Fn Positioning feedrate Positioning feedrate Feedrate given in mm min inches min or degrees min Optional parameter If not defined it assumes the feedrate set by machine parameter POSFEED blend Dynamic blend with the next block Optional parameter The feedrate used to reach the position dynamic blend ...

Страница 426: ...e to brake and the instruction will stay in execution during that time master Master axis Name of the master axis To treat a rotary axis as an infinite axis making it possible to increase the feedback count of the axis indefinitely wihout limits regardless of the value of the module program the master axis with the prefix ACCU This way the CNC does a follow up of the axis through the variable V A ...

Страница 427: ...ATEMENTS AND INSTRUCTIONS 22 Programming statements 427 REF 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 ...

Страница 428: ...rom the machine parameters This editor offers a friendly assistance to analyze the behavior of the cam projected through graphically assisted data entry for speed acceleration and jerk It is up to the user to select the parameters and the functions to design an electronic cam and must make sure that his design is coherent with the required specifications Activating and canceling the file cam from ...

Страница 429: ... a rotary axis as an infinite axis making it possible to increase the feedback count of the axis indefinitely wihout limits regardless of the value of the module program the master axis with the prefix ACCU This way the CNC does a follow up of the axis through the variable V A ACCUDIST xn slave Slave axis Name of the slave axis master_off Offset of the master axis or time offset In a position cam ...

Страница 430: ...AM OFF instruction is executed When reaching that instruction the execution of the cam will end the next time the end of the cam profile is reached type Meaning ONCE Non periodic cam This mode maintains the synchronization for the range defined for the master axis If the master axis moves backwards or if it is a module the slave axis will keep on executing the cam profile until the cancellation is...

Страница 431: ...hat is analyzed when it is read to analyze it when it is executed then use the FLUSH instruction This instruction is useful to evaluate a block skip condition at the time of the execution It must be borne in mind that interrupting block preparation may result in compensated paths different from the one programmed undesired joints when working with very short moves jerky axis movements etc WAIT FOR...

Страница 432: ... folder Users Grafdata and it recovers it after the new configuration Programming This instruction must be programmed alone in the block When programming this instruction the name of the file must be defined and optionally its location Programming format The programming format is the following the list of arguments appears between curly brackets and the optional ones between angle brackets DEFGRAP...

Страница 433: ...broutine There cannot be a jump to a subroutine or between subroutines There cannot be jumps to blocks contained in another instruction IF FOR WHILE etc Although the flow controlling instructions must be programmed alone in the block the GOTO instruction may added to an IF instruction in the same block This way it is possible to exit the blocks contained in an instruction IF FOR WHILE etc without ...

Страница 434: ... This instruction analyzes the programmed condition If the condition is true it executes the blocks contained between IF and ELSE and the execution continues at the block after ENDIF If the condition is false it executes the blocks contained between ELSE and ENDIF condition It may be a comparison between two numbers parameters or arithmetic expressions whose result is a number N20 IF P1 1 N30 N40 ...

Страница 435: ...nditions are false the execution continues at the block after ENDIF As many ELSEIF instructions as necessary may be programmed An ELSE instruction may also be included In this case if all the conditions are false it will execute the blocks contained between ELSE and ENDIF N20 IF P1 1 N30 N40 N50 ELSEIF P2 5 N60 N70 ELSE N80 N90 ENDIF N100 If P1 is equal to 1 it will execute blocks N30 through N40 ...

Страница 436: ...ASE instructions as necessary may be programmed As an option a DEFAULT instruction may be inserted in such a way that if the result of expression1 does not coincide with the value of any expression2 it executes the blocks contained between DEFAULT and ENDSWITCH expression It may be a number parameter or arithmetic expressing whose result is a number N20 SWITCH P1 P2 P4 N30 CASE 10 N40 N50 N60 BREA...

Страница 437: ... at the block after ENDFOR The CONTINUE instruction starts the next repetition even when the current one has not finished The blocks programmed after CONTINUE up to ENDFOR will be ignored in this repetition n It may be an arithmetic parameter of a write variable expr It may be a number parameter or arithmetic expressing whose result is a number N20 FOR P1 0 10 2 N30 N40 N50 N60 ENDFOR N70 It execu...

Страница 438: ...ck after ENDWHILE The CONTINUE instruction starts the next repetition even when the current one has not finished The blocks programmed after CONTINUE up to ENDWHILE will be ignored in this repetition condition It may be a comparison between two numbers parameters or arithmetic expressions whose result is a number N20 WHILE P1 10 N30 P1 P1 1 N40 N50 N60 ENDWHILE While P1 is smaller than or equal to...

Страница 439: ...the program continues at the block after ENDDO The CONTINUE instruction starts the next repetition even when the current one has not finished The blocks programmed after CONTINUE up to ENDDO will be ignored in this repetition condition It may be a comparison between two numbers parameters or arithmetic expressions whose result is a number N20 DO N30 P1 P1 1 N40 N50 N60 ENDDO P1 10 N70 Blocks N30 t...

Страница 440: ...Programming manual CNC 8070 22 STATEMENTS AND INSTRUCTIONS Flow controlling instructions 440 REF 1709 ...

Страница 441: ...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 ...

Страница 442: ...Programming manual CNC 8070 23 CNC VARIABLES 442 REF 1709 ...

Страница 443: ...Programming manual CNC 8070 443 User notes REF 1709 ...

Страница 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 ...

Отзывы: