O0100 (PLACA PLANEADA POR LAS DOS CARAS) | ( Program header. ) |
G21 G17 G40 G49 G80 | ( Millimeters, XY plane and a clean state. ) |
G91 G28 Z0. | ( Z to the reference point in incremental before the change. ) |
T1 M06 (PLATO DE PLANEAR D63) | ( Face mill. ) |
G90 G54 G00 X-45. Y0. S1800 M03 | ( Absolute, work offset, positioning clear of the plate and spindle on. ) |
G43 H01 Z50. | ( T1 length offset. ) |
G00 Z2. M08 | ( Approach and coolant on. ) |
G01 Z-0.5 F500 | ( Depth of cut for side A. ) |
G01 X145. F1800 | ( Facing pass on side A. ) |
G00 Z50. M09 | ( Retract in Z and coolant off before the stop: the operator has to be able to get his hands in. ) |
G91 G28 Z0. M05 | ( Z to the reference point and spindle stop. The stop is prepared, not improvised. ) |
G90 G53 X0. Y-500. | ( In machine coordinates, brings the table out toward the door so the part is within reach. ) |
M00 (GIRAR LA PIEZA Y APRETAR) | ( Mandatory stop: the program does not carry on until somebody presses cycle start. The comment is what the operator reads on the screen. ) |
G90 G54 G00 X-45. Y0. S1800 M03 | ( On restarting you have to start the spindle again. Not every control brings it back after a stop, and the ones that do it by parameter. ) |
G43 H01 Z50. | ( The complete state is rebuilt, as in a start from the middle of a program. ) |
G00 Z2. M08 | ( Approach and coolant running again. ) |
G01 Z-0.5 F500 | ( Depth of cut for side B. ) |
G01 X145. F1800 | ( Facing pass on side B. ) |
G00 Z50. M09 | ( Retract and coolant off. ) |
G91 G28 Z0. M05 | ( Z to the reference point and spindle stop. ) |
M01 (MEDIR ESPESOR 20 +-0.05) | ( Optional stop. With the switch on, the machine waits for the operator to measure the first part; with the switch off, the control does not even notice and the run carries on at its own pace. ) |
G90 M30 | ( Back to absolute and end. ) |