background image

8025/8030 CNC  PROGRAMMING MANUAL

5

3.

 PROGRAM FORMAT

The CNC can be programmed in millimeters or in inches.

Metric format (in mm):

P(%)5  N4  G2  X+/-4.3   Z+/-4.3  F5.5 S4 T2.2 M2

Format in inches:

P(%)5  N4  G2  X+/-3.4  Z+/-3.4  F5.5 S4 T2.2 M2

+/- 4.3  Means that a positive or negative figure with up to four digits to the left

of the decimal point and three to the right may be programmed.

+/- 3.4  Means that a positive or negative figure with up to four digits to the left

of the decimal point and three to the right may be programmed.

4

Means that only a positive integer (no decimals) of up to four digits may

be programmed.

2.2

A positive value of up to two digits to the left and two to the right of the

decimal point may be programmed.

Throughout this manual the format corresponding to each function will be enumerated, as
well as the meaning of the different parameters used.

3.1.  PARAMETRIC PROGRAMMING

It is also possible to program in a block any function by parameters, except the program
number, the block number, G functions, in the same block of another piece of data, such
as: G4K..;G22N..;G25N.. etc in such a way that , when executing the block, the function
takes the current value of the parameter. Combinations of fixed values and parameters can
be programmed in the same block, e.g.:

N4 GP36 X37.5 ZP13 FP10 S1500 TP4.P4 MP2

The CNC has 255 arithmetic parameters (P00/P254). (See chapter 13 of this manual
regarding Parametric Programming).

Summary of Contents for 8025 T CNC

Page 1: ...CNC 8025 T TS New Features Ref 0107 in...

Page 2: ...ets the spindle counting direction If correct leave it as it is or change it if otherwise Possible values 0 and 1 MODIFICATIONS TO THE INSTALLATION MANUAL REF 9707 Section 2 3 4 chapter 2 page 9 Logic...

Page 3: ...f the 3rd axis 0 Positive 1 negative I44 Indicates the moving direction of the Z axis 0 Positive 1 negative I45 Indicates the moving direction of the 4th axis 0 Positive 1 negative 1 2 OUTPUTS 1 2 1 E...

Page 4: ...one set by the PLCI Use PLCI output O27 to tell the CNC which one of them to output O27 0 Spindle analog output set by the CNC itself O27 1 Spindle analog output set by the PLCI combination M1956 R15...

Page 5: ...he rest of the blocks until it runs into a G48 and it then interrupts program execution WhilefunctionG47isactive theManualFeedrateOverrideswitchandthespindlespeedoverridekeyswillbedisabled thus the pr...

Page 6: ...axis handwheel feedback pulses 0 x4 1 x2 P621 2 0 Handwheel disabled for Manual Feedrate Override MFO switch positions other than the handwheel positions P621 2 1 When the MFO is at a position other...

Page 7: ...not P619 5 0 This feature is not being used P619 5 1 This feature is being used 2 JOGGING FEEDRATE From this version on machine parameter P812 sets the axis jogging feedrate selected by the CNC when a...

Page 8: ...w P819 Feedback factor for the X axis P820 Feedback factor for the 3rd axis P821 Feedback factor for the Z axis P822 Feedback factor for the 4th axis Values between 0 and 65534 The 0 value indicates t...

Page 9: ...FAGOR 8025 8030 CNC Models T TG TS OPERATING MANUAL Ref 9701 in...

Page 10: ...New Features and Modifications which will indicate to you the chapters and sections describing them Consult the Comparison Table in order to find the specific features offered by your particular CNC...

Page 11: ...executed 10 3 1 1 3 Selection of the first block to be executed 11 3 1 1 4 Display of the contents of the blocks 11 3 1 1 5 Cycle Start 12 3 1 1 6 Cycle Stop 12 3 1 1 7 Changing the operating mode 13...

Page 12: ...the contents of the blocks 28 3 4 1 5 Cycle Start 28 3 4 1 6 Cycle Stop 28 3 4 1 7 Change of operating mode 28 3 4 1 8 Tool inspection 29 3 4 2 Display modes 29 3 4 3 CNC reset 29 3 5 Mode 5 JOG 30 3...

Page 13: ...7 6 FAGOR cassette s directory 4 52 3 7 7 Deletion of a FAGOR cassette program 5 52 3 7 8 Interruption of the transmission process 53 3 7 9 DNC Communication with a computer 53 3 8 Mode 8 TOOL OFFSET...

Page 14: ...COMPARISON TABLE FOR LATHE MODEL FAGOR 8025 8030 CNCs...

Page 15: ...rientation x x x PROGRAMMING Part Zero preset by user x x x Absolute incremental programming x x x Programming in cartesian coordinates x x x Programming in polar coordinates x x x Programming by angl...

Page 16: ...TIONS Program stop M00 x x x Conditional program stop M01 x x x End of program M02 x x x End of program with return to first block M30 x x x Clockwise spindle start M03 x x x Counter clockwise spindle...

Page 17: ...x Probe calibration canned cycle G75N1 x Part measuring canned cycle along X G75N2 x Part measuring canned cycle along Z G75N3 x Part measuring canned cycle with tool compensation along X G75N4 x Part...

Page 18: ...9 1 2 3 4 Access to PLCI registers from the CNC ProgrammingManual G52 Date June 1991 Software Version 3 1 and newer FEATURE MODIFIED MANUAL AND SECTION New function F36 It takes the value of the Progr...

Page 19: ...ual Section 4 8 Spindle acc dec control P811 InstallationManual Section 5 The subroutine associated with the tool InstallationManual Section 3 3 5 is executed before the T function P617 2 G68 and G69...

Page 20: ...Introduction 1 INTRODUCTION...

Page 21: ...Precautions against product damage Working environment ThisunitisreadytobeusedinIndustrialEnvironmentscomplyingwiththedirectives and regulations effective in the European Community Fagor Automation sh...

Page 22: ...not manipulate the connectors with the unit connected to AC power Before manipulating the connectors inputs outputs feedback etc make sure that the unit is not connected to AC power Safety symbols Sy...

Page 23: ...must have a resistance of 170 Kg 375 lb 2 When sending it to a Fagor Automation office for repair attach a label indicating the owner of the unit person to contact type of unit serial number symptom a...

Page 24: ...m the CNC Applications Manual describing other applications for this CNC non specific of Milling machines Sometimes it may contain an additional manual describing New Software Features recently implem...

Page 25: ...tures and modifications Introduction Safety conditions Material returning conditions FAGOR documentation for the 8025 M CNC Manual contents Overview Front panel of the 8025 M CNC Operating modes 0 Aut...

Page 26: ...This manual contains the information required for the proper operation of the CNC It describes the controls fitted on both the keyboard and the front panel Also the CNC operating modes and the inform...

Page 27: ...ry etc 4 RECALL To access a program a block within a program etc 5 OP MODE Allows a list of operating modes to be displayed on the screen It is a previous step to accessing any of them 6 DELETE It all...

Page 28: ...allows characters to be inserted during the edition of a program block 10 Arrow keys for moving cursor 11 Page up and page down keys 12 SP Reserves a space between characters of a comment CAPS Allows...

Page 29: ...O which allows a variation of the programmed feedrate and to choose the different ways of working in the JOG MODE continuous incremental electronic handwheel 5 Spindle operating keys Allow the spindl...

Page 30: ...NTER Allows information to be entered in the CNC memory etc 4 RECALL To access a program a block within a program etc 5 OP MODE Allows a list of operating modes to be displayed on the screen It is a p...

Page 31: ...a comment CAPS Allows characters to be edited in capitals SHIFT Allows characters to be edited which are found on keys with double meaning 13 JOG keys for manual displacement of the axes 14 RAPID FEED...

Page 32: ...l it is necessary to press the key and then the key To restore the display just press any key In this case the STOP key inadditiontorecoveringthelastdisplay stopsthepossible running of the CNC The dis...

Page 33: ...cution of a block without entering it into memory Creation executionandenteringofablockintomemory thusaprogramiscreatedwhile being executed block by block 4 DRY RUN To check programs before actual exe...

Page 34: ...sting of the CNC Verification of inputs and outputs Setting of decoded M functions Setting of machine parameters Input of values for leadscrew error compensation Operate with the PLC By means of these...

Page 35: ...GLE BLOCK 1 Press OP MODE The list of 10 operating modes appears on the screen Press 0 1 key The standard display corresponding to this operating mode appears i e in the upper left hand section of the...

Page 36: ...the number of the block Press RECALL The new number is displayed on the screen together with the contents of this block and those of the subsequent blocks 3 1 1 4 Display of the contents of the block...

Page 37: ...programmed feedrate whenever the machine parameter P600 3 has a value equal to zero In the SINGLE BLOCK mode all those blocks which are programmed with parameters will be executed by the FAGOR CNC as...

Page 38: ...CNC returns to the previous position 3 1 2 Display Modes The display modes in AUTOMATIC or in SINGLE BLOCK are STANDARD CURRENT POSITION FOLLOWING ERROR ARITHMETICAL PARAMETERS SUBROUTINE STATUS GRAPH...

Page 39: ...sition and those still to travel respectively Underneath and at the same level as COMMAND the Programmed S value multiplied by the on the same level as ACTUAL the real S value and at the same level as...

Page 40: ...omments and the meaning of the function keys are also displayed 3 1 2 5 ARITHMETIC PARAMETERS display mode If the PARAMETERS function key is pressed on the upper part of the screen a list of parameter...

Page 41: ...arametric subroutines P2 2 Subroutine number Number of times still to be run Repetition of subprograms G25 G25 2 Indicates that it is a Number of times still to be run repetition of a subprogram by me...

Page 42: ...This counter increments one unit every time the CNC runs the M30 function or the M02 function To reset the parts no counter the DELETE key must be pressed and then the function key PART COUNT this cou...

Page 43: ...t correct etc with the program which is being run It is recommended to give programs numbers which have not been previously stored in the memory as if the programme which is being run contains calls t...

Page 44: ...fset which has been called will appear on the screen Underneath and to the right the letter I will appear If it is wished to modify the value of the I on the table the amount which it is wished to add...

Page 45: ...desired point The TOOL INSPECTION sequence allows the spindle to start and stop during the removal of the tool by means of the spindle operating keys situated on the Control panel d Once the tool has...

Page 46: ...that moment The CNC always displays the message with most priority if there is more than one active message the sign will be highlighted displayed in reverse video To display the table it is necessar...

Page 47: ...wing steps 3 2 1 Selection of the operating mode PLAY BACK Press OP MODE Press key 2 The meaning of the function keys to operate in this mode will appear on the screen 3 2 2 Locking Unlocking of memor...

Page 48: ...therinformation suchasG S M Tfunctionsetc eachtimethekeyofthecorrespondingaxisispressedtheCNC will take as the value of the axis the coordinate at which the machine is at that moment This methodofedit...

Page 49: ...ing steps 3 3 1 Selection of the operating mode Press OP MODE Press key 3 The meaning of the function keys to operate in this mode will appear on the screen 3 3 2 Locking Unlocking of memory Same as s...

Page 50: ...press DELETE Rewrite the block Atention On pressing the CNC executes the block and the display mode changes to AUTOMATIC mode By pressing ENTER or DELETE the display returns to the TEACH IN display m...

Page 51: ...will only execute the programmed G functions 1 G S T M FUNCTIONS The CNC will only execute the programmed G S T M functions 2 RAPID TRAVERSE The CNC will execute the program completely The movements...

Page 52: ...d including the execution of this block If this block includes the definition in a canned cycle it will only be executed until it is positioned at the starting point in the cycle Press ENTER The lette...

Page 53: ...section 3 1 1 4 3 4 1 5 Cycle start Same as section 3 1 1 5 3 4 1 6 Cycle stop Same as section 3 1 1 6 3 4 1 7 Change of operation mode AtanytimeduringtheexecutionofacycleintheDRYRUNoperatingmode itc...

Page 54: ...mine the program as it executes it and will indicate possible programming errors If during the execution of a program in DRY RUN mode we change to AUTOMATIC or SINGLE BLOCK mode one more block is exec...

Page 55: ...g as a readout Displaying changing the RANDOM table RESETting the CNC return to initial conditions Handwheel operation Measure and load the length of tools in the tool offset table using a touch probe...

Page 56: ...ounter to the value set as machine parameter P119 P219 P319 P419 If the reference microswitch was pressed when pressing Cycle Start the axis will withdraw until the microswitch is released Then the se...

Page 57: ...ins selected If another feed is not entered later the axes move at the of F indicated by the switch on the front Rapid feed of an axis in JOG mode can be obtained while pressing the RAPID FEED key 3 5...

Page 58: ...nd on the value of the P603 parameter bits 5 6 7 3 5 5 1 Entering an F value Press the F key Key in the required value Press 3 5 5 2 Entering an S value Press the S key Key in the required value Press...

Page 59: ...ove the X axis with the manual controls until the part is touched Press X Press LOAD At that moment the new X dimension of the tool calculated by the control becomes active due to which the dimension...

Page 60: ...he S and M functions may be entered in this form of operation If when operating in this mode the software travel limits set via machine parameters are overrun the CNC will send the relevant error code...

Page 61: ...to the setting of the relevant machine parameter multiplied by the factor selected with the switch X1 X10 X100 It should be borne in mind that if we wish to move an axis at a speed of over G00 corresp...

Page 62: ...o this a tool measuring probe must be installed with its sides parallel to the axes and in an established position on the machine The values on the sides of the probe on each axis and with respect to...

Page 63: ...eat from step 3 to measure and load the length of the tool in the other axis 8 Once the tool has been removed repeat from point 2 for the measurement and loading of the tools The FEEDRATE override kno...

Page 64: ...ress OP MODE Press key 6 The meaning of the function keys to operate in the MODE will appear on the screen 3 6 2 Locking Unlocking of memory Press LOCK UNLOCK MEMORY CODE appears on the screen Key in...

Page 65: ...in the correct number Press ENTER Atention If the CONTINUE key is pressed during this sequence access is obtained to the original display of this MODE DELETION OF ALL PROGRAMS If all the programs in...

Page 66: ...Key in the new number allocated to this program It will be displayed to the right of P Press ENTER The change of number has been completed If there is no program recorded under the old number the scr...

Page 67: ...program If the number of the required program is the one which appears on the screen when the EDIT operating mode is selected to obtain it just press CONTINUE If a different program is wanted Press t...

Page 68: ...k is desired after keying in the block number press decimal point and if a special conditional block is required press again Write the G functions and coordinate values respecting the programming form...

Page 69: ...inserted within that block Use the keys to place the cursor at the point where the new character is to be inserted Press INS The portion of the block that follows the cursor starts blinking Key in th...

Page 70: ...and the information required will stay on the screen Supposing for example that when editing a program it is desired to program in a block the canned cycle for rectangular pocket milling the sequence...

Page 71: ...at a time and the DELETE key deletes the whole value given to the current parameter At any time during this type of programming if the HELP function key is pressed the control changes over to the nor...

Page 72: ...ASSETTE 1 SEND TO CASSETTE 2 RECEIVE FROM GENERAL DEVICE 3 SEND TO GENERAL DEVICE 4 CASSETTE DIRECTORY 5 DELETE CASSETTE PROGRAM 6 DNC ON OFF Atention To enable any of the operations 0 1 2 3 4 and 5 w...

Page 73: ...ram exists in the control s memory with the same number The screen will display ALREADY EXISTS IN MEMORY DELETE N Y If deletion is not wanted Press any key other than Y Return to the state in section...

Page 74: ...EIVED That means that the CNC carries out a syntactic test of the program If there is any programming error the relevant error code and the affected block are displayed and the program is loaded compl...

Page 75: ...NUE We return to the status of section 3 7 1 or Press OPERATE MODE The operating mode menu will appear b There is a program with the same number on the tape When pressing ENTER the screen will display...

Page 76: ...rst thing that must be read after a series of NULL is a followed by the program number 99999 indicates machine parameters Followed by LF The blocks are identified by an N located at the beginning of t...

Page 77: ...pe Pressing CONTINUE returns to the status of section 3 7 1 3 7 7 Deletion of a FAGOR cassette program 5 Press the 5 key The screen will display PROGRAM NUMBER P Key in the number of the selected prog...

Page 78: ...ommunication with a host computer to perform the following functions Directory and program deletion commands Transfer of programs and tables Execution of infinite programs Machine s remote control Adv...

Page 79: ...8 1 Selection of the operating mode TOOL OFFSET 8 Press OP MODE Press the 8 key The screen will display TOOL OFFSET G53 G59 T01 X Z F R I K T02 X Z F R I K T03 X Z F R I K 3 8 2 Read out of tool table...

Page 80: ...length of the tool Max value 8388 607 mm or 330 2599 inch Press F Key in the shape code 0 9 of the tool used Press R Key in the tool radius value Maximum value 1000 00 mm or 39 3700 inches Press I Key...

Page 81: ...s to place the cursor at the point where the new character is to be inserted Press INS The portion of the block that follows the cursor starts blinking Key in the new characters required Press INS The...

Page 82: ...8025 8030 CNC OPERATING MANUAL 57 SHAPE CODES P Tool tip C Tool centre and Code Code Code Code Code Code Code...

Page 83: ...58 8025 8030 CNC OPERATING MANUAL Code 4 Code 4 Code 5 Code 3 Code 6 Code 2 Code 7 Code 1 Code 8 Code 8...

Page 84: ...play TOOL OFFSETS G53 G59 G53 X Z G54 X Z G55 X Z G56 X Z G57 X Z G58 X Z G59 X Z 3 8 6 1 Read out of zero offset table Key in the number of the zero offsets G53 G59 Write the desired X Z values Press...

Page 85: ...tool offset table When the zero offset table is being displayed the tool table can be recovered by pressing T 3 8 8 Complete deletion of tool offsets or zero table Key in K A I Press ENTER The display...

Page 86: ...8025 8030 CNC OPERATING MANUAL 61 3 9 MODE 9 SPECIAL MODES The information on this section is in the INSTALLATION AND START UP MANUAL...

Page 87: ...he program and displays the theoretical tool center s path in solid lines ignoring its dimensions Nevertheless if mode 0 or 1 is selected in the same operating mode DRY RUN the tool center s path will...

Page 88: ...th we want it to represent After keying in each value the ENTER key must be pressed The definition of the display area must be made every time the CNC is switched on if it is required to use the graph...

Page 89: ...d area will fill the CRT Using the FEEDRATE override knob the graphic drawing speed can be altered To repeat the whole ZOOM sequence start by pressing ZOOM as before To exit the ZOOM mode and continue...

Page 90: ...erase the graphic displayed once the program has been executed or interrupted 3 10 5 Graphic representation in colour CNC 8030 TS Whenever only one of the 4 views possible have been selected every tim...

Page 91: ...ERROR CODES...

Page 92: ...than 7 M functions in a block 012 This error occurs in the following cases Function G50 is programmed wrong Tool dimension values too large Zero offset values G53 G59 too large 013 Canned cycle profi...

Page 93: ...attempt has been made to select a tool offset at the tool table or a non existent external tool the number of tools is set by machine parameter 029 Too large a value assigned to a function This error...

Page 94: ...form the tangential entry A clearance of twice the rounding radius or greater is required If the tangential entry is to be applied to an arc G02 G03 The tangential entry must be defined in a linear bl...

Page 95: ...vement or sluggish tape movement 059 Communication error between the CNC and the FAGOR Floppy Disk Unit or cassette reader 060 Internal CNC hardware error Consult with the Technical Service Department...

Page 96: ...vice Department 092 Internal CNC hardware error Consult with the Technical Service Department 093 Internal CNC hardware error Consult with the Technical Service Department 094 Parity error in tool tab...

Page 97: ...een sent out to a node 115 Watch dog error in the periodic module This error occurs when the periodic module takes longer than 5 milliseconds 116 Watch dog error in the main module This error occurs w...

Page 98: ...FAGOR 8025 8030 CNC Models T TG TS PROGRAMMING MANUAL Ref 9701 in...

Page 99: ...New Features and Modifications which will indicate to you the chapters and sections describing them Consult the Comparison Table in order to find the specific features offered by your particular CNC...

Page 100: ...lar interpolation 13 6 2 3 1 Circular interpolation in cartesian coordinates by programming the radius 15 6 2 3 2 G06 Circular interpolation with absolute center coordinates 16 6 3 G04 Dwell 18 6 4 Tr...

Page 101: ...n of a digitizing operation and later execution at the machine 93 6 27 5 Examples of using G76 97 6 28 G90 G91 Absolute and incremental programming 102 6 29 G92 Coordinate preset and setting of maximu...

Page 102: ...ine 133 13 Parametric programming Operations with parameters 134 14 Canned cycles 158 14 1 G66 Pattern repeating 159 14 2 G68 Stock removal along the X axis turning 163 14 3 G69 Stock removal along th...

Page 103: ...COMPARISON TABLE FOR LATHE MODEL FAGOR 8025 8030 CNCs...

Page 104: ...rientation x x x PROGRAMMING Part Zero preset by user x x x Absolute incremental programming x x x Programming in cartesian coordinates x x x Programming in polar coordinates x x x Programming by angl...

Page 105: ...TIONS Program stop M00 x x x Conditional program stop M01 x x x End of program M02 x x x End of program with return to first block M30 x x x Clockwise spindle start M03 x x x Counter clockwise spindle...

Page 106: ...x Probe calibration canned cycle G75N1 x Part measuring canned cycle along X G75N2 x Part measuring canned cycle along Z G75N3 x Part measuring canned cycle with tool compensation along X G75N4 x Part...

Page 107: ...9 1 2 3 4 Access to PLCI registers from the CNC ProgrammingManual G52 Date June 1991 Software Version 3 1 and newer FEATURE MODIFIED MANUAL AND SECTION New function F36 It takes the value of the Progr...

Page 108: ...ual Section 4 8 Spindle acc dec control P811 InstallationManual Section 5 The subroutine associated with the tool InstallationManual Section 3 3 5 is executed before the T function P617 2 G68 and G69...

Page 109: ...Introduction 1 INTRODUCTION...

Page 110: ...Precautions against product damage Working environment ThisunitisreadytobeusedinIndustrialEnvironmentscomplyingwiththedirectives and regulations effective in the European Community Fagor Automation sh...

Page 111: ...not manipulate the connectors with the unit connected to AC power Before manipulating the connectors inputs outputs feedback etc make sure that the unit is not connected to AC power Safety symbols Sy...

Page 112: ...must have a resistance of 170 Kg 375 lb 2 When sending it to a Fagor Automation office for repair attach a label indicating the owner of the unit person to contact type of unit serial number symptom a...

Page 113: ...e CNC Programming Manual describing how to program the CNC Sometimes it may contain an additional manual describing New Software Features recently implemented DNC 25 30 Software Manual Is directed to...

Page 114: ...tion Summary of safety conditions Material returning conditions FAGOR documentation for the 8025 T CNC Manual contents Overview Writing a program Program format Program blocks Preparatory functions Co...

Page 115: ...oth at the machine and at a remote location e g in a programming office In the PLAY BACK mode the axes are shifted manually Jog and the coordinates reached are then entered as the program coordinates...

Page 116: ...an asterisk Comment the comment will blink on the screen An empty comment cancels the display of the previous one 1 3 DNC CONNECTION Every CNC offers as a standard feature the possibility of working...

Page 117: ...CNC can be connected to the DNC through the RS 232 lines of these computers The operation mode is interactive with MENUS which guide the user and simplify the use of this program The computer is used...

Page 118: ...ly contain all of these items If the machine has a 3rd and or 4th axis the denomination of which is defined by the machine parameter it is possible to program them both in rapid positioning G00 and in...

Page 119: ...ositive value of up to two digits to the left and two to the right of the decimal point may be programmed Throughout this manual the format corresponding to each function will be enumerated as well as...

Page 120: ...5 1 BLOCK NUMBERING The block number is used to identify each of the blocks that make up a program The block number consists of the letter N followed by a figure between 0 and 9999 This number must be...

Page 121: ...activated at least during the execution of the fifth block previous to the conditional block for its execution to be carried out b N4 SPECIAL CONDITIONAL BLOCK If next to the block number N4 0 999 two...

Page 122: ...n with absolute center coordinates Modal G07 Square corner G08 Arc tangent to previous path G09 Arc programmed by three points Modal G14 Activation of C axis in degrees Modal G15 Machining the cylindr...

Page 123: ...e G68 Roughing canned cycle X G69 Roughing canned cycle Z Modal G70 Programming in inches Modal G71 Programming in millimeters Modal G72 Scaling factor G74 Automatic search for machine reference G75 P...

Page 124: ...ed are those which the CNC assumes on being turned on or after executing M02 or M30 or after an EMERGENCY or RESET Whether G05 or G07 is assumed will depend on the value assigned to P613 5 All the G s...

Page 125: ...e simultaneously the resulting path is a straight line between the initial and the final point Feed will be set by the slowest axis a P607 3 0 b P607 3 1 When programming G00 function the last F progr...

Page 126: ...he resulting path is the programmed F Example Programming the X axis in diameters Initial point X40 Z50 N100 G90 G01 X60 Z10 F300 The knob on the front panel of the CNC can be used to vary the program...

Page 127: ...F The definitions of clockwise G02 and counter clockwise G03 have been fixed accor ding to the system of coordinates depicted below right hand or dextrogyratory system a Parameter P600 1 0 Machine ax...

Page 128: ...e programmed even when their value is 0 The block format to program a circular interpolation with polar coordinates is N4 G02 G03 A 3 3 I 4 3 K 4 3 N4 Block number G02 G03 It defines the interpolation...

Page 129: ...instead of the center I K coordinates If the arc is smaller than 180 the radius will be programmed with positive sign and if it is bigger than 180 the sign will be negative If P0 is the starting point...

Page 130: ...e center of the arc I K can be given in absolute values That is referred to the part s datum point instead of being referred to the arc s starting point G06 is not MODAL therefore it must be programme...

Page 131: ...g point P0 X40 Z40 Cartesian coordinates N4 G02 X100 Z10 I40 K10 Polar coordinates N4 G02 A194 036 I40 K10 Radius programming N4 G02 X100 Z10 R41 231 Programming with G06 N4 G02 G06 X100 Z10 I120 K50...

Page 132: ...35 The dwell is executed at the start of the block in which it is programmed Function G04 can be programmed as G4 6 4 TRANSITION BETWEEN BLOCKS 6 4 1 G05 Round corner Does not wait for in position Whe...

Page 133: ...an be programmed as G5 6 4 2 G07 Square corner When operating on G07 the CNC does not execute the next block of the program until the exact position programmed in the previous block has been reached E...

Page 134: ...N4 Block number G08 Code defining circular interpolation tangent to previous path X 4 3 Coordinate values of the arc s final point X 3 4 Z 4 3 Coordinate values of the arc s final point Z 3 4 Format...

Page 135: ...d of programming the center coordinates I K When G08 is not used the programming will be N110 G90 G01 Z50 N120 G02 X80 Z30 I20 K0 N130 G03 X110 Z15 I0 K 15 The function G08 is not modal It can be used...

Page 136: ...ENTER In this way the block will be stored in the memory Cartesian coordinates XZ plane N4 G09 X 4 3 Z 4 3 I 4 3 K 4 3 N4 Block number G09 Code identifying 3 point arc definition X 4 3 X value of the...

Page 137: ...arc will be N4 G09 X120 Z20 I60 K50 G09 is not modal It is not necessary to program the direction of the arc G02 G03 when G09 is programmed Function G09 replaces G02 and G03 only in the block in whic...

Page 138: ...ical turning operations are completed other operations like the milling of the cylindrical surface and or the face of the part are necessary To avoid down time which mean changing and clamping the par...

Page 139: ...P613 5 1 G14 must be programmed alone in a block When the C axis is activated by means of G14 the CNC executes automatically a machine reference point search for that axis When G14 is active G00 and G...

Page 140: ...3 X 4 3 Z 4 3 In inches N4 C 4 3 X 3 4 Z 3 4 When being G14 activated the following block is executed N4 G91 G01 C720 F500 The C axis will rotate two full revolutions resetting the count at every rev...

Page 141: ...so if the same value is programmed with two different signs the final point reached will be the same but the rotation will be in opposite directions But when working with G91 the values will be incre...

Page 142: ...ion G41 G42 are cancelled G15 and G16 cancel functions G95 and G96 G14 must be active when programming either G15 or G16 otherwise the CNC will display error 51 When either G15 or G16 are activated no...

Page 143: ...C axis movements are programmed in millimeters or inches and the feed velocity F4 in millimeters minute or 0 1 inches minute in accordance with the measurement system used Programming is made as if it...

Page 144: ...e tip of the tool to the rotation center line X0 The origin point of the defined plane is the one corresponding to the C axis machine reference point C Z and X can be programmed simultaneously Example...

Page 145: ...n the G16 function is active the coordinates of the axes must be programmed like a milling machine i e the machine parameter P11 will not be borne in mind where it is indicated if the X axis is progra...

Page 146: ...Z 9 5 N40 G16 N50 G1 G91 C10 X20 F500 N60 X30 N70 C 20 N80 X 30 N90 G90 C10 X 20 F0 N100G91 X 30 F500 N110C 20 N120X30 N130G90 G0 X0 F0 N140G14 N150G90 G0 Z100 N160M30 C X Z PROGRAMMING THE PREVIOUS...

Page 147: ...en the program continues until it is finished Format b N4 G25 N4 4 2 N4 Block number G25 Code unconditional jump N4 4 2 Number of repetitions Number of the last block to be executed Number of the bloc...

Page 148: ...RAM SDATUMPOINT G31 Store current program s datum point G32 Retrieve datum point stored by G31 By means of the G31 function it is possible at any time to store the zero point which we are working with...

Page 149: ...point X120 Z120 N110 X60 Z100 Approach to the part N120 G31 Keep the origin coordinates N130 G92 X0 Z0 Zero offset N140 G01 X0 Z 10 Machining N150 G02 X0 Z 20 R5 Machining N160 G25 N130 150 3 Machini...

Page 150: ...Threadcutting code Z 4 3 Z 3 4 Final coordinate of the thread along Z axis K3 4 K2 4 Thread pitch along Z axis The Z value will be absolute or incremental depending on whether G90 or G91 has been prog...

Page 151: ...on whether G90 or G91 has been programmed Only one pitch value I K need be programmed The CNC will calculate the other one Thus N4 G33 X 4 3 Z 4 3 I3 4 mm X 3 4 Z 3 4 I2 4 inches or N4 G33 X 4 3 Z 4...

Page 152: ...ead Cutting of a longitudinal thread of 5 mm pitch and 2 mm depth The tool is positioned at X60 Z60 X in radius Absolute coordinates N0 G00 G90 X18 Z53 N5 G33 Z7 K5 N10 G00 X60 N15 Z60 Incremental coo...

Page 153: ...d of 5 mm pitch along Z axis and 2 mm depth Let us assume that the tool is positioned at X60 Z60 X in radius Absolute coordinates N0 G00 G90 X12 75 Z52 N5 G33 X18 25 Z8 K5 N10 G00 X60 N15 Z60 Incremen...

Page 154: ...ent threads can be coupled in a continuous way on the same part A longitudinal and a tapered thread of 5 mm pitch and 2 mm depth must be coupled Let us assume the tool is positioned at X60 Z60 X in ra...

Page 155: ...nter and the initial and final points of the arc G36 is not modal i e it must be programmed every time a corner rounding is needed It must be programmed in the same block as the movement whose end mus...

Page 156: ...CNC PROGRAMMING MANUAL 2 Straight arc rounding Starting point X20 Z60 N100 G90 G01 G36 R10 X80 N110 G02 X60 Z10 I20 K 30 3 Arc arc rounding Starting point X60 Z90 N100 G90 G02 G36 R10 X60 Z50 R28 N110...

Page 157: ...to be linked tangentially There paths may be straight straight or straight arc The radius R4 3 in mm or R3 4 in inches of the entry arc must be programmed following G37 The value of the radius must be...

Page 158: ...us Let us assume that the starting point is X20 Z60 program N100 G90 G01 X20 Z30 N110 G03 X40 Z10 R20 In the same example if we want to program a tangential entry describing an arc of 5 mm radius prog...

Page 159: ...odal i e it has to be programmed every time two paths are to be linked tangentially These paths may be straight straight or straight arc The radius R4 3 in mm or R3 4 in inches of the exit arc must be...

Page 160: ...axis in radius Let us assume the starting point is X10 Z50 Program N100 G90 G02 X30 Z30 R20 N110 G01 X30 Z10 In the same example if we want to program a tangential exit by describing the arc of 5 mm r...

Page 161: ...9 is not modal i e it must be programmed every time a chamfering is need It must be programmed in the same block as the movement whose end must be chamfered Use the code R4 3 R3 4 always positive to p...

Page 162: ...ions stored in the tool table Every time a tool T2 2 is selected the CNC automatically applies the tool length compensation X Z I K stored in the table without having to program any G code If P604 5 i...

Page 163: ...s 32 766 mm 1 2900 inches R Radius 1000 000 mm 39 3700 inches The location code of the tool F is also necessary to perform radius compensation Possible codes are F0 F9 see figure The compensation is m...

Page 164: ...0 CNC PROGRAMMING MANUAL LOCATION CODES P Tool tip C Tool nose radius center Code 0 and 9 Code 1 Code 3 Code 5 Code 2 Code 7 Code 6 EachaxisorientationisselectedbyP600 1 as described on page 48 P600 1...

Page 165: ...MANUAL 51 Note Graphics always displays the theoretical tool tip or the part surface when in dry run theoretical path also mode 0 1 2 Code 4 Code 5 Code 6 Code 7 Code 8 x Code 8 Code 1 Code 2 Code 3...

Page 166: ...on Txx xx Txx 00 Txx 32 to select from the tool table the correction value to be applied If no tool is selected the CNC assumes the value T00 00 Atention Tool radius compensation selection G41 G42 can...

Page 167: ...8025 8030 CNC PROGRAMMING MANUAL 53 Compensated path Programmed path C P P P C P P P C P P P...

Page 168: ...54 8025 8030 CNC PROGRAMMING MANUAL C P P P C P P P C P P P C P P P...

Page 169: ...MANUAL 55 6 15 2 Operating with tool radius compensation The graphs below illustrate the various paths followed by a tool controlled by a CNC programmed with radius compensation C P P P C P P P Progra...

Page 170: ...56 8025 8030 CNC PROGRAMMING MANUAL Compensated path C P P P Programmed path C P P P...

Page 171: ...8025 8030 CNC PROGRAMMING MANUAL 57 Compensated path Programmed path C P P P C P P P...

Page 172: ...58 8025 8030 CNC PROGRAMMING MANUAL Programmed path Compensated path C P P P C P P P...

Page 173: ...s are carried out without tool radius compensation When a change from G00 to G01 G02 G03 is detected the CNC applies the same process as when the tool radius compensation is initiated 6 15 4 Cancellat...

Page 174: ...60 8025 8030 CNC PROGRAMMING MANUAL Compensated path Programmed path C P P P C P P P C P P P...

Page 175: ...8025 8030 CNC PROGRAMMING MANUAL 61 C P P P P P C P P P C P P P C P...

Page 176: ...feed when the FEED HOLD input is activated as long as machine parameter P610 1 1 With the G47 function active the M F O switch and the spindle speed variation keys will be disenabled the program being...

Page 177: ...axis F1 F0 F9 Location code of the tool R4 3 R2 4 Tool nose radius I 2 3 I 1 4 Tool wear offset along X axis diameters K 2 3 K 1 4 Tool wear offset along Z axis The values of X Z F R I K replace the v...

Page 178: ...er G51 Tool dimensions alteration code I 2 3 I 1 4 Value to be added to or subtracted from the value of I being actually used by the CNC to offset the engaged tool K 2 3 K 1 4 Value to be added to or...

Page 179: ...4 R3 Number of the single register 0 255 D3 Number of the double register 0 254 K5 Integer value in decimal 32767 H8 Integer value in Hexadecimal 0 FFFFFFFF Atention To access a PLCI register indicate...

Page 180: ...ose syntax is admitted by the DESTINATION node Example Let us suppose that the NODE 7 of the LAN is a FAGOR CNC 82 connected as slave and its X and Y axes are to be positioned at the X100 Y50 point Th...

Page 181: ...set table Absolute loading of the values Using a block like N4 G5 V 4 3 W 4 3 X 4 3 Y 4 3 Z 4 3 metric or N4 G5 V 3 4 W 3 4 X 3 4 Y 3 4 Z 3 4 inches the values identified by 4th 3rd X Z are loaded in...

Page 182: ...red in the table K 4 3 Amount added or subtracted to the K 3 4 Z value previously stored in the table Format b To apply a zero offset to the current program According to the value assigned to the mach...

Page 183: ...n the G53 G59 table we will enter G53 X0 Z340 G54 X0 Z170 G55 X0 Z0 The programming of the theoretical path will be N10 G90 G01 F250 N20 G53 N30 X140 Z170 N40 Z150 N50 X160 Z130 N60 G03 X160 Z90 I0 K...

Page 184: ...executing block N0 the Y axis starts moving at a feedrate of F1 Then block N10 starts executing the XZ interpolation at F1000 while the Y axis keeps moving at F1 If P621 4 0 the CNC executes block N20...

Page 185: ...mmed alone in a block Format N4 G72 K2 4 N4 Block number G72 Scaling code K2 4 Value of scaling factor Min value K0 0001 X0 0001 Max value K99 9999 X99 9999 All coordinate values programmed after G72...

Page 186: ...he X axis and then the Z axis b One or two axes referencing Z X If machine reference search is required in an order other than the above G74 is programmed followed by the axes in the required order No...

Page 187: ...oning signals to be treated in the CNC of the machine and according to specific tolerances 6 26 2 Characteristics Probes are of modular construction for better adaptation to the needs of the user This...

Page 188: ...nt applications as shown below Fine adjustment of the tool These check the cutting point of each tool and compensate if necessary the distance to the work place or stop production should a tool break...

Page 189: ...ovement of the axes will be displayed until the probe signal is received If the axes arrive in position before the probe pins the part the CNC will give error code 65 if so decided by machine paramete...

Page 190: ...P K must be programmed P1 Theoretical X value P2 Theoretical Z value P3 Safety distance P4 Probing feedrate P5 Tolerance P6 Table number of the tool to be calibrated GENERAL CONSIDERATIONS If any par...

Page 191: ...l not display the movement of the axis until it receives the probe signal and the FEEDRATE knob will have no effect on the feedrate which will be fixed at 100 Withdrawal Once the probing corresponding...

Page 192: ...on of the cycle and the X Z F R values entered in the appropriate tool table position While executing a probing canned cycle if the CNC receives the probe signal without the probingmovementitselfbeing...

Page 193: ...e according to the X axis in radii P904 Minimum Z1 value according to the Z axis P905 Maximum Z2 value according to the Z axis The tool must be previously calibrated with its approximate values alread...

Page 194: ...80 8025 8030 CNC PROGRAMMING MANUAL...

Page 195: ...8025 8030 CNC PROGRAMMING MANUAL 81 The tool movements depending on its location code are described below...

Page 196: ...tool dimensions in the tool table P6 The correction values I and K are set to zero Also Parameters P93 and P95 will indicate P93 Real length minus theoretical length of the tool on the X axis in radiu...

Page 197: ...e selected prior to the execution of this cycle cycle programming format G75 N1 P3 K P4 K G75 N1 Probe calibration cycle code P3 Safety distance in radius P4 Probing feedrate The different movements o...

Page 198: ...chine parameter P905 P92 To run the probing cycles N2 N3 N4 and N5 described next a probe will be used placed on the tool turret The probe must be previously calibrated by means of N0 probing cycle fo...

Page 199: ...8025 8030 CNC PROGRAMMING MANUAL 85...

Page 200: ...alue of the point to be probed P3 Safety distance in radius P4 Probing feedrate P1 will be in radius or diameters depending on the setting of machine parameter P11 Once the cycle is ended The CNC s pa...

Page 201: ...K P2 K P3 K P4 K G75 N3 Z axis measurement cycle code P1 Theoretical X value of the point to be probed P2 Theoretical Z value of the point to be probed P3 Safety distance P4 Probing feedrate Once the...

Page 202: ...This correction will only take place when the measurement error P93 2 is equal to or greater than the tolerance specified by P5 N5 PARTMEASUREMENTANDTOOLCALIBRATIONCYCLEFORTHEZAXIS Cycle programming...

Page 203: ...ne tool is being used should not be thought of as being unproductive as in the long run less time is consumed than in direct copying Furthermore no manual operations are required so this can be done a...

Page 204: ...us path and G9 circumference defined by three points Also zero offsets can be applied using G53 G59 type functions The application of scale factors G72 allows a complete family of parts to be made fro...

Page 205: ...s of the block to be created The contents of the block to be created are similar to the normal programming except that the preparatory functions G22 and G23 cannot be programmed After G76 the coordina...

Page 206: ...f the program map but if G76 P12345 is executed the old program is erased and the new one can be generated When the program number exists in memory but is not the last one in the memory map the CNC wi...

Page 207: ...ch we determine the offset values for the probe which will be entered by the CNC in the corresponding corrector which we have chosen previously T00 by default The offset values are the error which may...

Page 208: ...d in the CNC itself if the contents are less than 32 Kb or in a computer The program obtained in this way allows the reproduction of the points and the generation of the surface which has been digitiz...

Page 209: ...s G F S T functions This entire process will be repeated for one of the points until the chosen sampling program is complete 3 Final considerations Digitizing is always carried out within a defined vo...

Page 210: ...will indicate the PROGRAM RECEIVED message The programs stored in the computer can be modified with any text editor which generates ASCII characters as if they were texts In this way we can modify the...

Page 211: ...rt with a measuring probe G75 Calling parameters P0 Minimum Z value to sweep P1 Maximum Z value to sweep P4 Minimum X value to sweep P5 Maximum X value to sweep P6 Maximum step value on Z Parameters u...

Page 212: ...G26 N80 N60 P9 P10F1K1 P6 P8F4P9 P6 step Z P9 No of steps on Z N80 P11 Z P13 X P8 P4F2K1 P8 X limit for G75 N90 G0 G5 G90 XP5 ZP0 N100 P14 K0 P14 Step counter on Z N110 G90 G75 XP8 Probing on X N120...

Page 213: ...have to be executed applying successive zero offsets or changes in tool length compensation All preparatory functions square corner scaling factor that will affect the whole program can be defined in...

Page 214: ...te the different points of an ellipse and load them into a new program by means of G76 for later machining The calling parameters are the following P0 Half the long axis A P1 Half the short axis B P3...

Page 215: ...s starting point N60 P3 P3F1P20 P4 F7P3 P5 F8P3 P8 POF3P4 P9 P1F3P5 N70 P3 P3F1P20 P4 F7P3 P5 F8P3 P10 P0F3P4 P11 P1F3P5 N80 G76 G1 G9 XP11 ZP10 IP9 KP8 F250 N90 P3 P3F1P20 P4 F7P3 P5 F8P3 P10 P0F3P4...

Page 216: ...te origin When operating on G91 the coordinates of the point programmed are referred to the path s previous point i e the programmed values identify the distance to go along the relevant axis When tur...

Page 217: ...MING MANUAL 103 Starting point P0 X40 Z40 Absolute programming G90 N100 G90 G02 X100 Z10 I40 K10 or N100 G90 G02 X100 Z10 R41 231 Incremental programming G91 N100 G91 G02 X60 Z 30 I40 K10 or N100 G91...

Page 218: ...ion G92 the program will be N90 G92 X20 Z0 The point X20 Z0 replaces the point P0 N100 G90 X40 Z 30 N110 Z 70 No other function can be programmed in the block in which G92 is programmed Coordinate val...

Page 219: ...re two ways of preselecting an origin of polar coordinates a G93 I 4 3 K 4 3 always absolute coordinate values or G93 I 3 4 K 3 4 I 4 3 Indicates the value of the abscissa I 3 4 of the polar coordinat...

Page 220: ...the CNC assumes that the values entered by F3 4 are in mm rev In inches the format is F2 4 and the maximum programmable value is 19 685 inches rev G95 is modal i e it remains active until G94 is prog...

Page 221: ...10 If the first movement after G96 is made in rapid G00 to calculate spindle revolutions the CNC assumes as part diameter the one at the end of this movement If the first movement after G96 is made in...

Page 222: ...In inches 4th 3rd 3 4 X 3 4 Z 3 4 In other words the axis coordinate values are programmed by the letters which correspond to the 4th and 3rd axes i e W Y C defined in the machine parameter as well a...

Page 223: ...0 N110 X100 Z10 Incremental coordinate values N100 G91 X10 Z 40 N110 X30 Z 20 7 1 2 Rotary axis By means of machine parameters it is possible to determine whether the 4th axis or the 3rd axis or both...

Page 224: ...by the machine parameters Programming is identical to linear axes If P615 2 1 rotary axis ROLLOVER the counting will be reset to zero every time it rotates over 360 degrees When operating in G90 the s...

Page 225: ...l be absolute or incremental depending on whether G90 or G91 are active When programming rapid G00 or linear interpolations G01 the values of R and A must be entered When a circular interpolation G02...

Page 226: ...rdinate values G90 N100 G93 I80 K50 Presetting of polar origin N110 G01 G90 R30 A270 P0 N120 R28 284 A225 P1 N130 R40 A180 P2 In incremental coordinate values G91 N100 G93 I80 K50 Presetting of polar...

Page 227: ...uppose that the starting point is X40 Z50 7 In absolute coordinate values G90 N100 G90 G02 A198 435 I30 K 10 or N100 G93 I100 K40 N110 G90 G02 A198 435 In incremental coordinate values G91 N100 G91 G0...

Page 228: ...114 8025 8030 CNC PROGRAMMING MANUAL Example 3 X in radius In absolute coordinate values G90 N10 G00 X0 Z5 N20 G93 G01 F1000 R11 11803 A63 4349 N30 G93 R14 1421 A45 N40 G93 R30 4138 A9 4623 N50 M30...

Page 229: ...s the departure angle from the starting point of the path P0 A2 is the departure angle of the intermediate point P1 X Z are the coordinates of the final point P2 The CNC calculates automatically the c...

Page 230: ...ordinate of the point which is to be defined Let us suppose that the starting point is P0 X20 Z80 and the X axis in diameter In absolute coordinate values In incremental coordinate values N100 G90 N10...

Page 231: ...te value it is possible to insert roundings chamfers tangential entries and exits Starting point P0 X20 Z80 N100 G01 G36 R10 A116 A180 N110 G39 R5 X60 Z40 N120 G36 R10 A90 X100 N130 A180 Z10 Note On a...

Page 232: ...ll move in rapid regardless of the F programmed The rapid speed is set for each axis during the final adjustment of the machine the maximum possible value being 65 535 m min See instruction book of th...

Page 233: ...achine must be consulted in each particular case The controls on the front panel of the CNC may be used to achieve between 50 and 120 variation in programmed spindle speed as long as threadcutting wit...

Page 234: ...K values stored in the table except when P604 5 is 1 in which case these values will be applied after an M06 When G41 or G42 is programmed the CNC applies the value stored at the programmed T address...

Page 235: ...UAL 121 LOCATION CODES and Code Code Code Code Code Code Code P Tool tip C Tool center Refer to section 6 15 on page 48 to review the axis orientation parameter P600 1 will advise you which set of tab...

Page 236: ...122 8025 8030 CNC PROGRAMMING MANUAL Code 4 Code 4 Code 5 Code 3 Code 6 Code 2 Code 7 Code 1 Code 8 Code 8 P600 1 0 P600 1 1...

Page 237: ...d output are always performed at the beginning of the block in which they are programmed In assigning a decoded output to an miscellaneous functions a decision is also made as to whether it is to be p...

Page 238: ...it is programmed 11 4 M30 END OF PROGRAM WITH RETURN TO BEGINNING Same as M02 except that the CNC goes back to the first block at the beginning of the program It also acts as an M05 11 5 M03 CLOCKWIS...

Page 239: ...limits respectively of the spindle travel with M19 11 9 M41 M42 M43 M44 SPINDLE RANGE SELECTION When P601 1 has been set to 1 these codes are automatically generated by the CNC when an S function is...

Page 240: ...E 4 SIDES WITH A RATIO OF 2 3 THE RESULT IS A HEXAGON 6 SIDES The formula for calculating the number of the resulting polygon is as follows number of sides number of blades x K factor Another way to s...

Page 241: ...ociated with the synchronized or live tool Parameters to be borne in mind as as follows P802 indicates the maximum number of rpm of the synchronized tool when exceeded the CNC produces error 17 Its ma...

Page 242: ...can be used to repeat the execution of a subroutine up to 255 times A subroutine may be stored in the memory of the CNC as an independent program or as part of a program Standard and parametric subrou...

Page 243: ...o standard subroutines having the same identification number but belonging to different programs cannot be present at the same time in the memory of the CNC although a standard subroutine and a parame...

Page 244: ...umber of times the subroutine is to be repeated 00 99 Unless it is programmed by a parameter in which case the limits are 0 and 255 However when no number is indicated the subroutine will be executed...

Page 245: ...e it may be any number between 00 and 99 Atention Two parametric subroutines with the same number cannot co exist in the CNC s memory even if they are included in different programs Two subroutines on...

Page 246: ...for parametric subroutine N2 2 The two figures to the left of the decimal point identify the number of the parametric subroutine called in 00 99 The two figures to the right of the decimal point indi...

Page 247: ...rom the second a third and so on up to a maximum of 15 levels of nesting Each level may be repeated 255 times Subroutine linking diagram 12 5 EMERGENCY SUBROUTINE If machine parameter P716 has a value...

Page 248: ...e as follows F1 Addition F2 Subtraction F3 Multiplication F4 Division F5 Square root F6 Square root of the addition of the squares A2 B2 F7 Sine F8 Cosine F9 Tangent F10 Arc tangent F11 Comparison F12...

Page 249: ...REDEFINED ARITHMETIC PARAMETERS There are parameters whose value depends on the status of the CNC P100 PARAMETER INDICATING THE FIRST TIME This parameter takes the value of 0 every time a program is r...

Page 250: ...P1 takes the theoretical value of the actual position of the X axis e N4 P1 Z P1 takes the theoretical value of the actual position of the Z axis f N4 P1 W P1 takes the theoretical value of the actua...

Page 251: ...e last assignments the measuring units taken by arithmetic parameter depend upon the value assigned to the machine parameter P611 6 If we assign the value 1 to this machine parameter when the assignme...

Page 252: ...000 means value 1000 The same parameter can be as an addend and as the result i e N4 P1 P1 F1 K2 This means that P1 P1 2 F2 Subtraction N4 P10 P2 F2 P3 P10 P2 P3 N4 P10 P2 F2 K3 P10 P2 3 N4 P10 P10 F2...

Page 253: ...osine N4 P1 F8 P2 P1 Cos P2 N4 P1 F8 K75 P1 Cos 75 degrees F9 Tangent N4 P1 F9 P2 P1 tg P2 N5 P1 F9 K30 P1 tg 30 degrees F10 Arc tangent N4 P1 F10 P2 P1 arc tg P2 result in degrees N4 P1 F10 K0 5 P1 a...

Page 254: ...N4 P1 F11 K6 can also be program med F12 Entire part N4 P1 F12 P2 P1 takes the integer value of P2 as its value N4 P1 F12 K5 4 P1 5 F13 Entire part plus one N4 P1 F13 P2 P1 takes the integer value of...

Page 255: ...value in the block located at P2 F18 does not accept a constant as operand Example P1 F18 K2 is not valid F19 N4 P1 F19 P2 P1 takes the value of the Z coordinate value in the block located at P2 F19...

Page 256: ...ock previous to the one defined by P2 F22 does not accept a constant as operand Example P1 F22 K3 is not valid F23 N4 P1 F23 P1 takes the value of the tool table number being used at this moment F24 T...

Page 257: ...on can be programmed in two different ways Example a N4 P6 F26 K32 Parameter P6 takes the F value of the tool table in the position 32 Example b N4 P14 F26 P15 Parameter P14 takes the F value of the t...

Page 258: ...f the tool table position indicated by parameter 63 F29 This function can be programmed in two different ways Example a N4 P15 F29 K27 P15 takes the K value of the position 27 in the tool table Exampl...

Page 259: ...2F32K5 The value of constant H must be given in hexadecimal code integer positive and with 8 characters maximum i e from 0 to FFFFFFFF and cannot form part of the first operand F30 AND Example N4 P1 P...

Page 260: ...axis which appears in the block with the address P2 F34 does not accept operating constant Example P1 F34K2 Is not valid F35 N4P1 F35P2 P1 takes the value of the 4th axis which appears in the block wi...

Page 261: ...27 G28 or G29 are programmed There are two formats Format a JUMP N4 G25 G26 G27 G28 G29 N4 N4 Block number G25 G26 G27 G28 G29 Codes for different jumps N4 Number of the block the jump is aimed at Whe...

Page 262: ...nd the one identified between the two decimal points as many times as set by the last number This last number can take a value within 0 and 99 unless it is programmed using a parameter in which case t...

Page 263: ...n the flag Flag 1 zero equal If the result of an operation is zero flag 1 is activated If the result of an operation is not zero flag 1 is not activated If the result of a comparison is equal flag 1 i...

Page 264: ...if flag 2 is not activated G26 Conditional jump call if 0 When the CNC reads a block with the code G26 if the condition 0 is met it jumps to the block indicated by N4 or N4 4 2 if the condition 0 is n...

Page 265: ...ith G27 if the condition is not 0 is met it jumps to the block identified by N4 or N4 4 2 if the condition is not 0 is not met the CNC will disregard this block Programming N4 G27 N4 or N4 G27 N4 4 2...

Page 266: ...or codes and messages Programming N4 G30 K2 N4 Block number G30 Code identifying programming of an error K2 0 99 Programmed error code Any code between 0 and 99 can be programmed unless the error code...

Page 267: ...rameters are P0 K P1 Initial X dimension P2 Final X dimension P3 Increase in X Calculated parameters P4 X dimension P5 Z dimension N80 G21 N56 1 P0 K0 01 P1 K00 P2 K100 P3 K1 N90 M30 N110 G23 N56 N120...

Page 268: ...RS Call parameters P0 X value of the final point P1 Z value of the final point P2 Distance from the starting point to the center along X axis P3 Distance from the starting point to the center along Z...

Page 269: ...8025 8030 CNC PROGRAMMING MANUAL 155 Subroutines flow chart...

Page 270: ...d an4th N14 P93 P93 F1 K360 quadrant N15 G25 N21 N16 P94 F11 K N17 G29 N21 N18 P93 F11 K0 N19 G28 N21 N20 P94 P94 F1 K360 N21 P95 P93 F1 P5 angle P5 N22 P98 F8 P95 P98 P98 F3 P92 X value of point P98...

Page 271: ...adius N10 P0 3774 964 P1 K1000 P2 K 7000 P3 K 8000 P4 K100 P5 K0 5 N20 G1 G41 X2000 Z3000 T1 1 N30 G21 N98 01 Programming of X axis in diameters N10 P0 7549 928 P1 K1000 P2 K 7000 P3 K 8000 P4 K100 P5...

Page 272: ...83 Deep hole drilling G84 Turning cycle with arc sections G85 Facing cycle with arc sections G86 Threadcutting Z axis G87 Threadcutting X axis G88 Grooving X axis G89 Grooving Z axis Atenci n The cann...

Page 273: ...played According to P12 it will be identified as residual in X or Z P5 Max step It must be greater than zero or error code 3 will be displayed According to P12 it will be identified as step along X or...

Page 274: ...splayed If it is equal or smaller than 45 degree P4 will be taken as residual stock on the X axis and P5 as max step along X axis If it is greater than 45 degree P4 will be taken as residual stock on...

Page 275: ...cles roundings tangentialapproaches tangential exits and chamfers 6 Absolute or incremental programming can be used 7 In the definition of the pattern no T function can exist 8 The approaching and wit...

Page 276: ...0 Z115 N120 G66 P0 K0 P1 K85 P4 K20 P5 K5 P7 K1 P8 K1 P9 K100 P12 K40 P13 K200 P14 K290 N130 G40 X160 Z135 N140 M30 N200 G36 R5 X50 Z85 N210 X50 Z70 N220 X40 Z60 N230 G36 R2 X40 Z50 N240 G39 R2 X60 Z5...

Page 277: ...displayed The real step calculated by the CNC will be equal or smaller than the max step P7 Finishing stock allowance along X axis radius It must be greater or equal to zero or error code 3 will be d...

Page 278: ...mind 1 The distance between the starting point 0 and final point B along X generating error 31 when operating with tool compensation the value of this distance from 0 to B should be equal to P7 NP5 N...

Page 279: ...rred to the arc s starting point and with the relevant sign If functions F S T or M are programmed in the definition they will be ignored except for the finishing pass No polar definitions can be used...

Page 280: ...G68 N100 N110 G42 G00 X120 Z0 N120 G68 P0 K0 P1 K 10 P5 K2 P7 K0 8 P8 K0 8 P9 K100 P13 K200 P14 K250 N130 G40 X130 Z10 N140 M30 N200 G03 X40 Z 30 I 6 K 26 N210 G01 X40 Z 40 N220 G02 X80 Z 60 I25 K5 N...

Page 281: ...al step calculated by the CNC will be smaller or equal to the max step P7 Finishing stock allowance along X axis It must be greater or equal to zero or error code 3 will be displayed P8 Finishing stoc...

Page 282: ...ng with tool compensation the value of this distance from 0 to B should be equal to P8 NP5 N being an entire number any multiple of P5 2 The distance from 0 to A along The axis should be higher than P...

Page 283: ...d to the arc s starting point and with the relevant sign If functions F S T or M are programmed in the definition they will be ignored except for the finishing pass No polar definitions can be program...

Page 284: ...xample G69 N190 N200 G41 G0 X90 Z 5 N210 G69 P0 K80 P1 K 80 P5 K2 P7 K0 8 P8 K0 8 P9 K100 P13 K300 P14 K340 N220 G40 X100 Z0 N230 M30 N300 G01 X80 Z 60 N310 G03 X60 Z 50 I5 K15 N320 G01 X40 Z 40 N330...

Page 285: ...P3 K 45 P5 K5 P7 K3 P8 K4 P9 K100 Meaning of the parameters P0 X coordinate value of the point A radius or diameters P1 Z coordinate value of the point A P2 X coordinate value of the point B radius o...

Page 286: ...be higher than P8 3 The machining conditions feedrate spindle rotation etc must be programmed before calling the cycle The parameters can be programmed in the calling block or in previous blocks The e...

Page 287: ...P2 K0 P3 K0 P5 K5 P7 K3 P8 K4 P9 K100 Meaning of the parameters P0 X coordinate value of point A radius or diameters P1 Z coordinate value of point A P2 X coordinate value of point B radius or diamet...

Page 288: ...ditions feedrate spindle rotation etc must be programmed before calling the cycle The parameters can be programmed in the calling block or in previous blocks The exit conditions of the cycle are G00 a...

Page 289: ...Total depth of the hole It will have positive value when drilled towards the negative direction of the Z axis and viceversa If it is zero error code 3 will be displayed P5 Max pass The CNC will execu...

Page 290: ...een the bottom of the previous penetration and the point where the tool ends the rapid approach for a subsequent penetration If it is negative error code 3 will be displayed The machining conditions f...

Page 291: ...ition of the tool is the point 0 N100 G84 P0 K0 P1 K71 P2 K120 P3 K11 P5 K5 P7 K4 P8 K4 P9 K100 P18 K80 P19 K20 Meaning of the parameters P0 X coordinate value of point A radius or diameters P1 Z coor...

Page 292: ...h tool compensation the value of this distance from 0 to B should be equal to P8 N P5 N being an entire number 2 The distance between the starting point 0 and the point A along the X axis should be hi...

Page 293: ...n of the tool is the point 0 N100 G85 P0 K118 P1 K11 P2 K0 P3 K70 P5 K5 P7 K4 P8 K4 P9 K100 P18 K21 P19 K80 Meaning of the parameters P0 X coordinate value of point A radius or diameters P1 Z coordina...

Page 294: ...ith tool compensation the value of this distance from 0 to B should be equal to P8 N P5 N being an entire number 2 The distance between the starting point 0 and the point A along the X axis should be...

Page 295: ...ng point of the thread A in radius or diameters P1 Absolute Z value of the starting point of the thread A P2 Absolute X value of the final point of the thread B in radius or diameters P3 Absolute Z va...

Page 296: ...inishing pass will be done with radial entry P10 Thread pitch along Z axis in inches or mm per thread Note For threads per inch or mm use 1 threads per inch or mm Ex 6 threads per inch P10 K1 F4 K6 P1...

Page 297: ...d A in radius or diameters P1 Absolute Z coordinate value of the initial point of the thread A P2 Absolute X coordinate value of the final point of the thread B in radius or diameters P3 Absolute Z co...

Page 298: ...xis in radius Note For threads per inch or mm use 1 threads per inch or mm Ex 6 threads per inch P10 K1 F4 K6 P11 Thread exit in radius It defines the distance from the end of the thread to the point...

Page 299: ...ue of point B radius or diameters P3 Z coordinate value of point B P5 Tool nose s width It must be greater than zero or error code 3 will be displayed The real step calculated by the CNC will be small...

Page 300: ...G07 G40 and G90 If the groove s depth is zero code 3 will be displayed If the width of the groove is smaller than the tool nose s width error code 3 will be displayed If the position of the tool is n...

Page 301: ...e of point B radius or diameters P3 Z coordinate value of point B P5 Tool nose s width It must be greater than zero or error code 3 will be displayed The real step calculated by the CNC will be smalle...

Page 302: ...0 and G90 If the depth of the groove is zero error code 3 will be displayed If the width of the groove is smaller than the tool nose s width error code 3 will be displayed If the position of the tool...

Page 303: ...ERROR CODES...

Page 304: ...than 7 M functions in a block 012 This error occurs in the following cases Function G50 is programmed wrong Tool dimension values too large Zero offset values G53 G59 too large 013 Canned cycle profi...

Page 305: ...attempt has been made to select a tool offset at the tool table or a non existent external tool the number of tools is set by machine parameter 029 Too large a value assigned to a function This error...

Page 306: ...form the tangential entry A clearance of twice the rounding radius or greater is required If the tangential entry is to be applied to an arc G02 G03 The tangential entry must be defined in a linear bl...

Page 307: ...vement or sluggish tape movement 059 Communication error between the CNC and the FAGOR Floppy Disk Unit or cassette reader 060 Internal CNC hardware error Consult with the Technical Service Department...

Page 308: ...vice Department 092 Internal CNC hardware error Consult with the Technical Service Department 093 Internal CNC hardware error Consult with the Technical Service Department 094 Parity error in tool tab...

Page 309: ...een sent out to a node 115 Watch dog error in the periodic module This error occurs when the periodic module takes longer than 5 milliseconds 116 Watch dog error in the main module This error occurs w...

Reviews: