background image

Page

Chapter:  6

Section:

PROGRAMMING

21

ADDITIONAL PREPARATORY

FUNCTIONS

6.6   ADDITIONAL PREPARATORY FUNCTIONS

6.6.1   DWELL (G04)

A dwell (delay) may be programmed by using function G04.

To do this, after the G04 code, press the decimal point and indicate the desired dwell
in seconds. The maximum dwell programmable in a block is 99.99 seconds.

Examples:

G04.99.99

99.99 second dwell

G04.2

2 second dwell.

G04.0.01

0.01 second dwell.

Attention:

G04 may also be programmed as G4.

The dwell is always executed at the beginning of the block containing it.

The block containing function G04 cannot have any more G codes; but it
may have other functions (X, Y, F, S, T, etc)

6.6.2   INCREMENT PART COUNTER (G45)

The CNC has an internal part counter which increments its count in one unit in the
following cases:

* Every time G45 is executed.

* Every time M30 is executed if machine parameter "P21(4)=1".

Its maximum count value is 9999 and it rolls over starting at 0, 1, 2, and so forth.

To see the value of this counter or reset it to "0", proceed as described in the section
on "Display Modes" of the chapter on "Program Execution" in this manual.

Содержание 101

Страница 1: ...101 101S CNC 102 102S CNC OPERATING MANUAL 9703 ing...

Страница 2: ...information described in this manual may be subject to variations due to technicalmodifications FAGOR AUTOMATION S Coop Ltda reserves the right to modify the contents of this manual without prior not...

Страница 3: ...on 1 1 2 Peripheral mode 2 1 2 1 1 Output option CNC peripheral 3 1 2 2 2 Input option Peripheral CNC 4 Chapter2 AUXMODE 2 1 System Input Output test 2 2 2 Machine parameters 5 2 2 1 Editing machine p...

Страница 4: ...functions 2 6 2 Basic concepts 3 6 2 1 Block number and conditional block block skip 3 6 2 2 Metric or inch programming G70 G71 3 6 2 3 Absolute incremental programming G90 G91 3 6 3 Reference systems...

Страница 5: ...3 The feedrate F is not affected by P18 G61 G62 25 6 7 4 Acceleration ramp modification G93 25 6 8 Other functions 26 6 8 1 Batch programming G81 26 6 8 2 Probing G75 28 6 8 3 Rigid tapping G84 G80 2...

Страница 6: ...COMPARISON TABLE FOR FAGOR CNC MODELS 101 101S 102 102S...

Страница 7: ...is electronic handwheel x x x Axes X Y auxiliary handwheel x x x Double feedback for X axis x Axis control Closed Loop x x x x Open Loop x x Rigid Tapping x Interface with external devices External op...

Страница 8: ...handling the auxiliary handwheel x x x OUTPUTS 8 outputs for M S or T in BCD or decoded x x x x M Strobe x x x x S Strobe x x x T Strobe x x x JOG mode selected at the CNC x x x x Automatic mode selec...

Страница 9: ...ero x x x G27 Jump if not zero x x x G28 Jump if less than zero x x x G29 Jump if equal or greater than zero x x x G33 Synchronization x G45 Increment part counter s count x x x x G47 Pulse inhibit x...

Страница 10: ...8 the punch radius OperatingManual Section 6 8 4 SelectionoftheArithmeticalParameters InstallationManual Section 3 7 which are required for display OperatingManual Section 6 9 3 Play Back as reading...

Страница 11: ...Introduction 1 INTRODUCTION...

Страница 12: ...ions are properly made Before powering the unit up make sure that it is connected to ground Inordertoavoidelectricaldischarges makesurethatallthegroundingconnectionsare properlymade Do not work in hum...

Страница 13: ...and outputs connection It is recommended to connect them using shielded cables and connecting their shields mesh to the corresponding pin See chapter 2 Ambientconditions The working temperature must...

Страница 14: ...wer Safety symbols Symbols which may appear on the manual WARNING symbol Ithasanassociatedtextindicatingthoseactionsoroperationsmayhurtpeople or damage products Symbols that may be carried on the prod...

Страница 15: ...avearesistance 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 and a bri...

Страница 16: ...starting up the CNC It has the Installation manual inside Sometimes it may contain an additional manual describing New Software Features recently implemented 101 101S 102 102S CNC USER Manual Is dire...

Страница 17: ...Table for Fagor 101 101S 102 102S CNC models Introduction Safety Conditions Shipping conditions Fagor documents for the 101 101S 102 102S CNC Manual Contents Chapter 1 Peripherials Chapter 2 Aux mode...

Страница 18: ...ponding operating mode is currently selected Peripheralmode Aux Mode JOG mode Play Back mode Editingmode Single blockmode Automaticmode 3 Keystomanipulateinternaldata setuptables parameters editprogra...

Страница 19: ...232C serial line must be set accordingly P70 Communications speed baudrate in baud P59 7 Number of data bits P59 5 Parity P59 6 Even or Odd parity P59 8 Number of stop bits Bear in mind that the CNC m...

Страница 20: ...particular block number Press the number of the first block to be transmitted and then press A For example The keystroke sequence 1 0 0 A will send blocks N100 and all the following ones out to the pe...

Страница 21: ...the transmission will keep their original data c To read a program not having its blocks numbered IndicatethestartingblocknumberfromwhichitmustbeloadedintotheCNCmemory and press A For example the key...

Страница 22: ...ollowing keystroke sequence 1 CL CL 9 9 9 A 1 ENTER If the machine parameters are locked the CNC will display their values but it will not allow to change them Unlock machine parameters Press the foll...

Страница 23: ...dicates that its corresponding input is receiving 24 Vdc and a 0 means that it is not receiving 24 Vdc The inputs appearing at the lower window are To display the next set of inputs press A The data s...

Страница 24: ...d set of inputs SYSTEM I O TEST Digit Corresponding Input Pin 8 E5 17 I O2 7 E4 25 O2 6 E3 22 I O 2 5 E2 23 I O 2 4 E1 21 I O 2 3 Mult factor handwheel or JOG type posit 24 I O 2 2 Mult factor handwhe...

Страница 25: ...d 0 and the element occupying it in this case PLC The CNC models 82 101S 102 and 102S are considered as a single family by the LAN That is why they appear as Nod CN82 By pressing A again and if the CN...

Страница 26: ...NC will show that parameter Bear in mind that once the machine parameters have been set either the RESET key must be pressed or the CNC powered down and back up in order for the new values to be assum...

Страница 27: ...this value to be entered in the machine parameter memory If the CNC does not assume this new value and it displays the previous one instead it means that the machine parameter table is locked To ente...

Страница 28: ...d a new Part Zero This part zero will be referred to Machine Reference Zero home at the distance indicated in the Y and Y fields To access this table press AUX MODE 2 The displayed information looks l...

Страница 29: ...and the external operator panel JOG 100 CNC with 1 axis 1 electronic handwheel and the external operator panel JOG 100 CNC with 2 axes and auxiliary handwheel CNC with 2 axes auxiliary handwheel and t...

Страница 30: ...I O2 the movements will be either continuous or incremental and the axis will move the set distance every time its jog key is pressed The table below shows the available options Activated pin 1 Deacti...

Страница 31: ...chine parameter Withtheexternaloperatorpanel JOG100 itispossibletoselectthetypeofmovement as well as the axis feedrate While in the FEED positions the axis movement will be continuous In other words t...

Страница 32: ...ntinuous In other words they will move while their jog key is kept pressed Each of the positions in this zone displays the percentage feedrate applied by the CNC in the movement indicated While in the...

Страница 33: ...on the axis at the indicated position 3 3 ZERO SETTING OR COORDINATE PRESET The coordinate preset is performed one axis at a time by following these steps Select at the lower display with the A key th...

Страница 34: ...P65 until the home switch is pressed if any machine parameters P22 8 P62 8 Oncethehomeswitchispressed thesearchwillcontinueat100mm min 3 9inches min until the reference mark marker pulse Io of the fee...

Страница 35: ...for homing it Iftheselectedaxisdoesnothaveahomeswitchinstalled machineparameters P22 8 and P62 8 onlythemarkerpulsesearchingmoveat100mm minwillbecarriedout untilthemarkerpulse Io ofthefeedbackdevicei...

Страница 36: ...rogram Each block may have up to 5 ISO coded functions These functions may be G Preparatory functions Up to a maximum of 4 per block X X axis coordinates Y Y axis coordinates I Arc center s X coordina...

Страница 37: ...place a particular program block Insert a new program block shifting the rest of the blocks back In the Aux Mode it is also possible to Lock the part program memory Unlock the part program memory Eras...

Страница 38: ...y one and when it is done with one block it will go on to display the next one The CNC will only show the blocks containing some type of information and it will skip the empty ones To see the contents...

Страница 39: ...ck has been edited press ENTER The CNC will show the next block Example N000 G1 7 90 F5000 T1 SelecttheblocknumberN000attheupperdisplay Makesuretheblockisempty blank if not empty press CL Press A Theb...

Страница 40: ...is or because all the permitted ones have already been defined a maximum 5 functions The block numbers need not be sequential nor contain all the possible information The following example shows 2 dif...

Страница 41: ...is the desired one The upper display may be blinking insert mode or not In either case Press DELETE In both instances the block will stay selected but empty the lower display being blank When scrollin...

Страница 42: ...ter X Key in the desired value which in this case is 250 Press ENTER so the CNC assumes the new block b We would like to eliminate one of the functions defining the block Example eliminate the X coord...

Страница 43: ...more than 2 functions on the same block proceed as follows Modify the first function Press to find the next function Modify the other function Press ENTER for the CNC to assume these changes The CNC d...

Страница 44: ...one position If the block insertion affects blocks containing jump or call functions G25 to G29 the CNC will take them into consideration and will update them accordingly 4 1 7 ELIMINATING EMPTY BLOC...

Страница 45: ...it The CNC will execute the block again With Teach in programming it is possible to run a part one block at a time as it is being programmed edited since the CNC keeps the history of all the executed...

Страница 46: ...ition of axis X Move the axis to the required position by means of the electronic handwheel keys or push buttons X X associated with the JOG100 external operatorpanel Press key Enter for the CNC to as...

Страница 47: ...ove the axis to the point required Press key A or the external Y Y push buttons for the CNC to assume this value and go on to the following field The screen displays field Y Move the axis to the requi...

Страница 48: ...to be activated pin 17 of connector I O1 before resuming the execution of the program All three operating modes Single Block Fully Automatic and Semi Automatic are describednext 5 1 PROGRAM EXECUTION...

Страница 49: ...block being displayed the CNC remembers the block where the program was interrupted and it resumes execution from that block on Select another block to resume the execution of the program from that b...

Страница 50: ...parameter P23 1 this value may correspond to the theoretical axis coordinate P23 1 1 or to the real one P23 1 0 Display of the M functions currently active M3 41 It displays the auxiliary M functions...

Страница 51: ...G70 G71 is not displayed G91 G90 is not displayed Functions G04 G25 G26 G27 G28 G29 G45 G74 G75 G92 are not displayed Display of the axis lag following error E 0 012 e 0 025 This display mode is mainl...

Страница 52: ...3 digitfigure 050 inthisexample indicatesthenumberofthefirstblock being executed repeatedly The second 3 digit number 120 in this example indicates the number of the last block being executed repeated...

Страница 53: ...0 107 If the exponent of the arithmetic parameter to be displayed is greater than 9 the first digit on the right will show the sign Use the keys to view the previous and following parameters To quit t...

Страница 54: ...r block X X axis coordinates Y Y axis coordinates I Arc center s X coordinate of a circular interpolation J Arc center s Y coordinate of a circular interpolation F Feedrate of the axes S Spindle speed...

Страница 55: ...power up after executing an M30 or after an Emergency or a Reset Function Description M D 101 101S 102 102S G00 Rapid positioning G01 Linear interpolation G02 Clockwise circular interpolation G03 Cou...

Страница 56: ...vertheless it is possible to modify the programming units by using these functions G70 Inch programming G71 Metric programming in millimeters The CNC assumes the selected units as new programming unit...

Страница 57: ...0 0 0 as starting point Program in absolute coordinates G90 N250G90 X0 Y0 Point P0 N251 X150 Y200 Point P1 N252 X300 Point P2 N253 X0 Y0 Point P0 Program in incremental coordinates G91 N250G90 X0 Y0 P...

Страница 58: ...r the part It is the origin point set to program the measurements of the part It can be chosen freely by the programmer and its reference to the machine reference zero is set by means of a zero offset...

Страница 59: ...y machine parameter P61 3 If P61 3 0 First X and then Y If P61 3 1 First Y and then X Attention A block containing function G74 may not contain any other G function When homing in JOG mode the current...

Страница 60: ...6 3 3 1 COORDINATE PRESET G92 When applying a zero offset by means of function G92 the CNC does not move the axes It assumes the coordinates programmed after G92 as the new axis position values If mac...

Страница 61: ...is to be set When executing one of these functions G51 G52 G53 G54 G55 G56 G57 G58 G59 G60 the CNC loads the new XY values at its corresponding table address 6 3 3 3 ZERO OFFSET SELECTION T1 T10 To se...

Страница 62: ...unction it is possible to program the feedrate of the axes for G01 G02 and G03 movements In rapid positioning G00 the feedrates for the axes are set by machine parameters P27 and P67 If F is not progr...

Страница 63: ...t currently active and it applies the new one The new part zero will be located at a distance from home set by the XY values of the corresponding table address This type of programmable zero offsets a...

Страница 64: ...ops the spindle M05 Plus the CNC returns to the first block of the program in such way that if is pressed again the CNC will execute the program again from the beginning The M30 must always be program...

Страница 65: ...1 1 both axes are interpolated following a straight line from the current position to the end point In this case the feedrate for the resulting path is the slower one of the values of machine paramete...

Страница 66: ...on and the target point The axes move along this path at the programmed Feedrate F The CNC calculates the feedrates for each axis so the resulting path is the programmed feedrate F Example G1 90 X650...

Страница 67: ...ce from the arc s starting point to the center of the arc along X J Distance from the arc s starting point to the center of the arc along Y The X and Y coordinates may be either absolute or incrementa...

Страница 68: ...40 I50 J0 Incremental programming G91 N220 G91 3 X50 Y50 I0 J50 N230 G3 X50 Y 50 I50 J0 Programming example for a complete circle in a single block starting at X170 Y80 Different ways to program in ab...

Страница 69: ...G33 is modal and incompatible with G00 G01 G02 G03 G34 and G75 On power up after executing an M30 or after an Emergency or Reset the CNC assumes G00 Example of threading The machine must have a spindl...

Страница 70: ...the figure the following should be programmed N0 S1000 M3 Turning direction and speed of the roller covered with the stamp N1 G0 91 X15 Fast feed across the space to be left between 2 images N2 G33 X...

Страница 71: ...chronization or positioning pass of axis X per turn of the external device Attention While functionG34isactivated programmedfeedrateFcannotbealtered If the Feed Hold signal is activated the CNC stops...

Страница 72: ...and speed of the roller with wedge Axis X will move as infinite slave making cuts every 125 mm N3 M0 Programstop FunctionG34isstillactiveandcutsarestillmadeevery125 mm The CNC does not continue with t...

Страница 73: ...do this set input E1 high pin 21 of connector I O1 at 24V 3 TheopticalreadertellstheCNCthelocationofthemarksandthisdisplaysthedistance between 2 consecutive marks in the window for the X axis 4 The CN...

Страница 74: ...ogrammed as G4 The dwell is always executed at the beginning of the block containing it The block containing function G04 cannot have any more G codes but it may have other functions X Y F S T etc 6 6...

Страница 75: ...s the axis programmed in the current block starts decelerating to get into position G07 When in this mode the CNC does not start executing the next block until the axis programmed in the current block...

Страница 76: ...eedback pulses G47 It ignores the feedback pulses from both axes To cancel this feature and return to normal feedback monitoring program function G48 Attention G47 is modal When G47 is active the CNC...

Страница 77: ...oing the pull and the axis starts to operate in DRO mode Form the tube The CNC displays at all times the position coordinate of both axes that is it accurately reflects the tugs undergone by the tube...

Страница 78: ...ected by P18 N6 X30 Movement at 0 01 mm min N7 M30 Attention G61 and G62 are modal and incompatible with each other On power up after executing an M30 after an Emergency or a Reset the CNC assumes G62...

Страница 79: ...ameter L in G01 and the programmed feedrate F It assumes the G05 or G07 previously active 4 Once the axis is in position the CNC outputs an M07 for the machine to cut the material The part counter is...

Страница 80: ...d by using the definition parameters L C and A and or the arithmetic parameters P0 P1 and P2 as illustrated by the following example N000 G81 L255 C200 A10 N000 P0 255 N001 P1 200 N002 P2 10 N003 G81...

Страница 81: ...suming as theoretical position of the axes their real position at the time If the axes reach their target position before the CNC receives the probe signal the CNC stops the axes and issues error 21 A...

Страница 82: ...et to 0 to enable this function P63 3 1 The machine uses rigid tapping P60 8 0 Enable the Y function P77 Number of spindle encoder pulses Its programming format is G84 X Y F S X Defines the depth of t...

Страница 83: ...means of M3 M4 If when executing G84 no turning direction has been selected the CNC assumes the M03 clockwise All the various movements involved in rigid tapping are treated as a single block In othe...

Страница 84: ...apping program looks like this N000 M3 Start the spindle clockwise N010 P19 K20 Additional spindle movement at the bottom of the tap N020 G84 X20 Y0 5 F300 S600 Definition of the canned cycle N030 M30...

Страница 85: ...1 must be set The CNC takes into account the dimensions of the punch during program execution preventing its extremes from exceeding the travel limits fixed by machine parameter The programming forma...

Страница 86: ...ts cannot be combined For example block MP17 5 0 is the same as MP17 MP5 MP0 and not the same as MP17 M5 M0 When defining function G in parametric it only assumes the first indicated value Therefore p...

Страница 87: ...or between arithmetic parameters and numeric constants K are F1 Addition F2 Subtraction F3 Multiplication F4 Division F5 Square root F6 Square root of the sum of squares F7 Sine F8 Cosine F9 Tangent...

Страница 88: ...1 P10 F5 P12 Means P10 P12 N102 P10 F5 K9 Means P10 9 3 N104 P10 F5 P10 Means P10 P10 F6 Square root of sum of squares N101 P10 P11 F6 P12 Means P10 P112 P122 N102 P10 P11 F6 K2 Means P10 P112 4 N103...

Страница 89: ...l different greater than or smaller than 100 F12 Integer N101 P10 F12 P12 P10 takes the integer part of P12 N102 P10 F12 K12 34 P10 12 integer of 12 34 F13 Integer plus one N101 P10 F13 P12 P10 takes...

Страница 90: ...t 0 98700 1 Is the same as 0 98700 10 1 1298700 7 Is the same as 1298700 107 Displayingparameters To see the previous and following parameters use keys Whenfewarithmeticparametersareused theCNCallows...

Страница 91: ...Assign a value to a parameter To assign a value to a specific parameter do the following Select the parameter required Press key CL The CNC will clear the lower window Introduce the value required Pr...

Страница 92: ...he destination block number The destination block number may be indicated by either a number N010 G25 N50 or an arithmetic parameter N010 G25 NP10 Programming example N000 G00 X100 N005 Y50 N010 G25 N...

Страница 93: ...f the section will be the one indicated by P20 not necessarily block N020 and it will be executed the number of times indicated by parameter P30 not necessarily 30 times Up to 15 nesting levels may be...

Страница 94: ...than negative flag condition is met in the following cases When the result of an operation is less than zero negative Example N001 P1 P3 F2 K5 If P3 5 When the first operand of a comparison is smaller...

Страница 95: ...he new point P5 Y coordinate of the new point Program N000 P0 K20 Setting of definition parameters Example N001 P1 K10 N002 P2 K0 N003 P3 K2 N004 G25 N20 Jump to subroutine to calculate the ellipse N0...

Страница 96: ...ERROR CODES...

Страница 97: ...admit decimal values 13 A jump call has been programmed with more than 15 nesting levels 14 An inappropriate G function has been programmed 15 Function M30 has not been programmed at the end of the pr...

Страница 98: ...o long a block transmitted via RS 232 C 35 Wrong block in the RS 232 C transmission 36 A block has been program which forces the Y axis to overrun its travel limits 37 Internal temperature limit excee...

Страница 99: ...Negative coordinate for a rollover axis 110 DNC error Wrong arithmetic parameter number 111 DNC error Arithmetic parameter exponent too large 112 DNC error Wrong arithmetic parameter value 113 DNC err...

Страница 100: ...CNC 101 102 S New Features Version 9905 in...

Страница 101: ...chapter 1 page 11 RESET The last paragraph should read When setting machine parameter P30 with a value other than 0 the CNC behaves as follows A leading edge up flank interrupts the execution and it i...

Страница 102: ...issues error 21 Like until now P102 5 1 It does not issue error 21 It goes on executing the next block 5 DISPLAY OF THE AXIS IN EXECUTION In previous versions while in Automatic mode the CNC could ch...

Страница 103: ...icrons From 1 to 25801 tenth thousandths of an inch SUBSIDIARIES Spain Fagor Automation Catalunya France Fagor Automation Syst mes Germany Fagor Industriecommerz GmbH Italy Fagor Italia S R L United K...

Отзывы: