background image

Section:

Chapter:  4

Page

PROGRAM EDITING

10

4.2    TEACH-IN EDITING

Press

to access this operating mode.

In this programming mode, it is possible to execute the program blocks as they are being
edited before entering them into memory. It is also possible to execute functions or
movements outside the program.

To do this, once the block has been edited, press

The CNC will execute the block. When it is executed (blinking block number), the
following keys may be used:

[ENTER] To enter this block into memory. The CNC will now be ready for the next block

to be edited.

[CL].

The block will not be entered into memory being possible to modify it or edit
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 blocks.

For example, when executing block N100 G1.5.90 X100 F1000, the CNC assumes as
history functions G1, G5, G90 and F1000. In other words, it is the same to execute
afterwards N101 X120 or block N101 G1.5.90 X120 F1000.

Attention:

Teach-in programming allows executing blocks as they are being edited. For
this reason, care must be taken before pressing

and make sure that

the block number appearing on the upper display is blinking. If it is not
blinking, press [RECALL].

It is not possible to execute, in this mode, blocks containing jump functions
(G25 to G29). The CNC will issue error 1 when attempting to execute them.

TEACH-IN EDITING

Summary of Contents for 101

Page 1: ...101 101S CNC 102 102S CNC OPERATING MANUAL 9703 ing...

Page 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...

Page 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...

Page 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...

Page 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...

Page 6: ...COMPARISON TABLE FOR FAGOR CNC MODELS 101 101S 102 102S...

Page 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...

Page 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...

Page 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...

Page 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...

Page 11: ...Introduction 1 INTRODUCTION...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 18: ...ponding operating mode is currently selected Peripheralmode Aux Mode JOG mode Play Back mode Editingmode Single blockmode Automaticmode 3 Keystomanipulateinternaldata setuptables parameters editprogra...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 35: ...for homing it Iftheselectedaxisdoesnothaveahomeswitchinstalled machineparameters P22 8 and P62 8 onlythemarkerpulsesearchingmoveat100mm minwillbecarriedout untilthemarkerpulse Io ofthefeedbackdevicei...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 96: ...ERROR CODES...

Page 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...

Page 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...

Page 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...

Page 100: ...CNC 101 102 S New Features Version 9905 in...

Page 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...

Page 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...

Page 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...

Reviews: