802d_exemples Interessants de G-codes Pour Le Tournage

Embed Size (px)

Citation preview

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    1/327

    Operation and Programming 10/2002 Edition

    TurningSINUMERIK 802D

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    2/327

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    3/327

    Valid for

    Control System Software Version 

    SINUMERIK 802D 2

    10.02 Edition

    SINUMERIK 802D

    Operation and ProgrammingTurning

    Introduction 1

    Turning On anReference-Point

    Approach 2

    Setting Up 3

    Manually Controlled Mode 4

    Automatic Mode 5

    Part Programming 6

    System 7

    Programming 8

    Cycles 9

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    4/327

    SINUMERIK®Documentation

    Printing history

    Brief details of this edition and previous editions are listed below.

    IThe status of each edition is shown by the code in the ”Remarks” column.

    Status code in the “Remarks” column: 

    A New documentation.. . . . .B Unrevised reprint with new Order No.. . . . .C Revised edition with new status.. . . . .

    If actual changes have been made on the page since the last edition,this is indicated by a new edition coding in the header on the page.

    Edition Order–No. Remark

    11.00 6FC5698–2AA00–0BP0 A

    07.01 6FC5698–2AA00–0BP1 C

    10.02 6FC5698–2AA00–0BP2 C

    This Manual is included on the documentation on CD–ROM (DOCONCD)

    Edition Order–No. Remark

    11.02 6FC5298–6CA00–0BG3 C

    TrademarksSIMATIC, SIMATIC HMI, SIMATIC NET, SIMOTION, SINUMERIK and SIMODRIVE are registeredtrademarks of Siemens. Third parties using for their own purposes any other names in this document which

    refer to trademarks might infringe upon the rights of trademark owners.

    Further information is available on the Internet under:http://www.ad.siemens.de/sinumerik

    This publication was produced with Interleaf V 7

    The reproduction, transmission or use of this document or itscontents is not permitted without express written authority. Offenderswill be liable for demages. All rights, including rights created by patentgrant or registration of utility model or design, are reserved.

    © Siemens AG 2002. All rights reserved.

    Other functions not described in this documentation might beexecutable in the control. This does not, however, represent anobligation to supply such functions with a new control or whenservicing.

    We have checked that the contents of this document correspond tothe hardware and software described. Nonetheless, differences mightexist and therefore we cannot guarantee that they are completelyidentical. The information contained in this document is, however,reviewed regularly and any necessary changes will be included in thenext edition. We welcome suggestions for improvement.

    Subject to change without prior notice.

    Siemens–AktiengesellschaftBestell–Nr. 6FC5 698–2AA00–0BP2Printed in the Federal Republic of Germany

    3ls

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    5/327

    vSINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Safety notices

    This Manual contains notices intended to ensure your personal safety and to avoid material damage. The notices

    are highlighted by a warning triangle and, depending on the degree of hazard, represented as shown below:

    !Danger

    indicates that loss of life, severe personal injury or substantial material damage will result if the appropriate pre-cautions are not taken.

    !Warning

    indicates that loss of life, severe personal injury or substantial material damage may result if the appropriate pre-cautions are not taken.

    !

    Caution

    indicates that minor personal injury or material damage may result if the appropriate precautions are not taken.

    Caution

    eithout a warning triangle means that material damage can occur if the appropriate precautions are not taken.

    Attention

    means that an undesired event or status can occur if the appropriate note is not observed.

    Note

    is used to draw your special attention to an important information on the product, the handling of the product or thecorresponding part of the documentation.

    Qualified personnel

    Start-up and operation of a device may only be carried out by qualified personnel. Qualified personnel as refer-

    red to in the safety notices provided in this Manual are persons who are authorized to start up, ground and tag

    devices, systems and circuits according to the relevant safety standards.

    Usage as per intended purpose

    Please observe the following:

    !Warning

    The device may only be used for the cases of application, as intended by the Catalog, and only in conjunction withthird-party devices and components recommended or approved by Siemens.

    The proper and safe operation of the product requires transport, storage and installation according to the relevantinstructions and qualified operation and maintenance at the prescribed intervals.

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    6/327

    Contents 

    viSINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Contents

    1 Introduction 1-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.1 Screen Layout 1-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2 Operating Areas 1-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.3 Accessibility Options 1-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3.1 Calculator 1-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3.2 Editing Chinese Characters 1-22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3.3 Hotkeys 1-22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.4 The Help System 1-23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.5 Coordinate Systems 1-24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2 Turning on and Reference Point Approach 2-27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3 Setting Up 3-29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.1 Entering Tools and Tool Offsets 3-29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.1.1 Creating a New Tool 3-31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.1.2 Determining Tool Offsets (manually) 3-32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.1.3 Determining the Tool Compensations Using a Probe 3-35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.1.4 Determining the tool compensations values using an optical measuring system 3-36. . . . . . . .3.1.5 Probe Settings 3-36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.2 Tool monitoring 3-39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.3 Entering/Modifying Zero Offset 3-40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.3.1 Determining Zero Offset 3-41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.4 Programming Setting Data - Operating Area “Parameters” 3-42. . . . . . . . . . . . . . . . . . . . . . . . . .

    3.5 R Parameters - Operating Area “Offset/Parameters” 3-45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4 Manually Controlled Operation 4-47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.1 Jog Mode - Operating Area “Position” 4-48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.1.1 Assigning Handwheels 4-51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.2 Operating Mode MDA (Manual Input) 4-52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.2.1 Face Turning 4-55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    5 Automatic Mode 5-59. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    5.1 Selecting and Starting a Part Program 5-63. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    5.2 Block Search - Operating Area “Machine” 5-64. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    5.3 Stopping/Aborting a Part Program 5-65. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    5.4 Re-approach after abortion 5-66. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    5.5 Re-approach after Interruption - Operating Area “Machine” 5-66. . . . . . . . . . . . . . . . . . . . . . . . . .

    5.6 Program Execution from External (RS232 Interface) 5-67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    6 Part Programming 6-69. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    6.1 Entering a New Program - Operating Area ”Program” 6-72. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    6.2 Editing a Part Program - Operating Mode “Program” 6-73. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    6.3 Blueprint programming 6-75. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    6.4 Simulation 6-93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    6.5 Data Transfer via the RS232 Interface 6-94. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    7/327

    Contents 

    viiSINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    7 System 7-97. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    7.1 PLC diagnosis using the ladder diagram representation 7-118. . . . . . . . . . . . . . . . . . . . . . . . . . . . .7.1.1 Screen layout 7-118. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7.1.2 Operating options 7-119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8 Programming 8-129. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.1 Fundamentals of NC Programming 8-129. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.1.1 Program Names 8-129. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.1.2 Program Structure 8-129. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.1.3 Word Structure and Address 8-130. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.1.4 Block Structure 8-131. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.1.5 Character Set 8-132. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.1.6 List of Statements 8-134. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.2 Positional Data 8-149. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.2.1 Absolute / Incremental Data Input: G90, G91, AC, IC 8-149. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.2.2 Metric and Inch Dimensions: G71, G70, G710, G700 8-150. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.2.3 Radius / Diameter Programming: DIAMOF, DIAMON 8-151. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.2.4 Programmable Zero Offset: TRANS, ATRANS 8-152. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.2.5 Programmable Scaling Factor: SCALE, ASCALE 8-153. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.2.6 Workpiece Clamping - Settable Zero Offset:

    G54 to G59, G500, G53, G153 8-154. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.2.7 Programmable Working Area Limitation:

    G25, G26, WALIMON, WALIMOF 8-155. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.3 Axis Movements 8-157. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.1 Linear Interpolation at Rapid Traverse: G0 8-157. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.2 Linear Interpolation with Feed: G1 8-158. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.3 Circular Interpolation: G2, G3 8-159. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.4 Circular Interpolation via Intermediate Point: CIP 8-162. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.5 Circle with Tangential Transition: CT 8-162. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.6 Thread Cutting with Constant Lead: G33 8-163. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.7 Thread cutting with variable lead: G34, G35 8-166. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.3.8 Thread interpolation: G331, G332 8-167. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.9 Fixed-Point Approach: G75 8-168. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.10 Reference Point Approach: G74 8-168. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.11 Measuring with Switching Tracer: MEAS, MEAW 8-169. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.12 Feed F 8-170. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.13 Exact Stop / Continuous-Path Control Mode: G9, G60, G64 8-171. . . . . . . . . . . . . . . . . . . . . . . . .8.3.14 Acceleration Behavior: BRISK, SOFT 8-173. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.15 Percentage Acceleration Compensation: ACC 8-174. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.16 Traversing with Feedforward Control: FFWON, FFWOF 8-175. . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.17 3rd and 4th Axes 8-175. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.18 Dwell Time: G4 8-176. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3.19 Travel to fixed stop 8-177. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.4 Spindle Motions 8-180. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.4.1 Spindle Speed S; Directions of Rotation 8-180. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.4.2 Spindle Speed Limiting: G25, G26 8-180. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.4.3 Positioning the Spindle: SPOS 8-181. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.4.4 Gear stages 8-182. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.4.5 2nd spindle 8-182. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.5 Special Turning Functions 8-184. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.5.1 Constant Cutting Speed: G96, G97 8-184. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.5.2 Rounding, Chamfer 8-186. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.5.3 Contour Definition Programming 8-187. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.6 Tool and Tool Compensation 8-190. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.6.1 General Notes 8-190. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.6.2 Tool T 8-190. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.6.3 Tool Offset Number D 8-191. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    8/327

    Contents 

    viiiSINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    8.6.4 Selection of Tool Radius Compensation: G41, G42 8-194. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.6.5 Corner Behavior: G450, G451 8-196. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.6.6 Tool Radius Compensation OFF: G40 8-197. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.6.7 Special Cases of Tool Radius Compensation 8-198. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.6.8 Example of Tool Radius Compensation 8-199. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.6.9 Using milling tools 8-200. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.6.10 Tool compensation special cases 8-202. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.7 Miscellaneous Function M 8-203. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.8 H function 8-204. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.9 Arithmetic parameters R, LUD and PLC variables 8-205. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.9.1 Arithmetic parameters R 8-205. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.9.2 Local user data (LUD) 8-207. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.9.3 Reading and writing PLC variables 8-208. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.10 Program Jumps 8-209. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.10.1 Jump Destination for Program Jumps 8-209. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.10.2 Unconditional Program Jumps 8-209. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.10.3 Conditional Program Jumps 8-210. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.10.4 Programming Example of Jumps 8-212. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.11 Subroutine Technique 8-213. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.11.1 General 8-213. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.11.2 Calling Machining Cycles 8-215. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.12 Timer and Workpiece Counter 8-216. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.12.1 Runtime Timer 8-216. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.12.2 Workpiece Counter 8-217. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.13 Language commands for tool monitoring 8-219. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.13.1 Overview: Tool monitoring 8-219. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.13.2 Tool life monitoring 8-220. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.13.3 Count monitoring 8-221. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.14 Milling on turning machines 8-224. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.14.1 Milling face ends - TRANSMIT 8-224. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.14.2 Milling of peripheral surfaces - TRACYL 8-226. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    8.15 Equivalent G Functions with SINUMERIK 802S - Turning 8-231. . . . . . . . . . . . . . . . . . . . . . . . . . .

    9 Cycles 9-233. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    9.1 Overview of cycles 9-233. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    9.2 Programming cycles 9-234. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    9.3 Graphical cycle support in the program editor 9-236. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    9.4 Drilling cycles 9-238. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.1 General 9-238. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.2 Preconditions 9-239. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    9.4.3 Drilling, centering – CYCLE81 9-240. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.4 Center drilling – CYCLE82 9-243. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.5 Deep hole drilling – CYCLE83 9-245. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.6 Rigid tapping – CYCLE84 9-249. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.7 Tapping with compensation chuck – CYCLE840 9-252. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.8 Reaming 1 (boring 1) – CYCLE85 9-256. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.9 Boring (boring 2) – CYCLE86 9-259. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.10 Reaming 2 (boring 3) – CYCLE87 9-262. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.11 Drilling with stop 1 (boring 4) – CYCLE88 9-265. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.12 Drilling with stop 2 (boring 5) – CYCLE89 9-267. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.13 Row of holes – HOLES1 9-269. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.4.14 Circle of holes – HOLES2 9-273. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    9.5 Turning cycles 9-276. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    9/327

    Contents 

    ixSINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    9.5.1 Preconditions 9-276. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.5.2 Grooving – CYCLE93 9-278. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.5.3 Undercut form E .. F – CYCLE94 9-286. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.5.4 Stock removal – CYCLE95 9-290. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.5.5 Thread undercut – CYCLE96 9-303. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.5.6 Thread cutting – CYCLE97 9-307. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.5.7 Chaining of threads – CYCLE98 9-313. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    9.6 Error Messages and Error Handling 9-320. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.6.1 General notes 9-320. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.6.2 Error handling in the cycles 9-320. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.6.3 Overview of cycle alarms 9-320. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9.6.4 Messages in the cycles 9-322. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    10/327

    xSINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    SINUMERIK 802D Key Definition

    &

    Recall key

    ETC key

    Acknowledge Alarm key

    Not assigned

    Info key

    Shift key

    Control key

    Alt key

    SPACE (INSERT)

    Deletion key (Backspace)

    Deletion key

    Insertion key

    Tabulator

    ENTER / Input key

    Position operating area key

    Program operating area key

    Parameters operating area key

    Program Manager operating area key

    Alarm/System operating area key

    Not assigned

    Paging keys

    Cursor keys

    Selection key/toggle key

    Alphanumeric keysDouble assignment on the Shift level

    Numerical keysDouble assignment on the Shift level

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    11/327

    xiSINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    External machine control panel

    0

    2

    610

    2040

    60 7080

    120

    110

    100

    90

    100

    60110

    70

    80 90

    120

    Reset

    NC STOP

    NC START

    emergency stop

    % Spindle override

    User-defined key with LED

    User-defined key with LED

    INCREMENT

    JOG

    REFERENCE POINT

    AUTOMATIC

    SINGLE BLOCK

    MANUAL DATA

    SPINDLE STARTCCW rotation

    SPINDLE STARTCW rotation

    SPINDLE STOP

    RAPID TRAVERSE OVERRIDERapid traverse override

      X axis

      Z axis

    %

    Feed override

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    12/327

    xiiSINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    notice 

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    13/327

    1-13SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Introduction

    1.1 Screen Layout

    Status area

    Application area

    Tip

    and softkey area

    Gfunction

    Fig. 1-1 Screenlayout

    The screen is divided into the following main areas:

    Status area

    Application area

    Tip and softkey area

    1

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    14/327

    Introduction 

    1.1 Screen Layout  

    1-14SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Status area

    Fig. 1-2 Status area

    Table 1-1 Explanation of the display elements in the status area

    DisplayElement

    Display Meaning

    Active operating area, active mode

    PositionJOG; 1 INC, 10 INC, 100 INC, 1000 INC, VAR INC (incremental evaluation inJOG mode)MDA

    1AUTOMATIC

    Offset

    Program

    Program Manager

    S stem

    Alarm

    Marked as an ”external language” using G291

    Alarm and message line

    2The following is displayed (either/or):

    1. Alarm number with alarm text.

    2. Message text

    Program status

    RESET Program aborted / basic status

    3 RUN Program running

    STOP Program stopped

    4 Program controls in Automatic mode

    5 Reserved

    6 NC messages

    7 Selected part program (main program)

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    15/327

    Introduction 

    1.1 Screen Layout  

    1-15SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Tip and softkey area

    Fig. 1-3 Tip and softkey area

    Table 1-2 Explanation of the display elements in the tip and softkey area

    DisplayElement

    Display Meaning

    1Recall symbol

    Pressing the Recall key lets you return to the next higher level.

    2Tip line

    Displays tips for the operator

    3

    MMC status information

    ETC is possible (If you press this key, the horizontal softkey bar willdisplay further functions.)

    Mixed notation active

    Data transfer running

    Link with the PLC programming tool active

    4 Softkey bar vertical and horizontal

    Standard softkeys

    Use this softkey to quit the screen form.

    Use this softkey to cancel input; the window will be quitted.

    Pressing this softkey will complete your input and start the calculation.

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    16/327

    Introduction 

    1.2 Operating Areas  

    1-16SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Pressing this softkey will complete your input and accept the entered values.

    This function is used to switch over the screen form from diameter programming to radius program-ming.

    1.2 Operating Areas

    The functions of the control system can be carried out in the following operating areas:

    Position Machine operation

    Offset/Parameters Input of compensation values and setting data

    Program Creation of part programs

    Program Manager Part program directory

    System Diagnosis, start-up

    Alarm Alarm and message lists

    To switch to a different operating area, press the appropriate key (hardkey).

    Protection levelsThe input or modification of data in the control system is password-protected in sensible pla-

    ces.

    In the menus listed below the input or modification of data depends on the protection level set.

    Tool offsets

    Zero offsets

    Setting data

    RS232 settings

    Program creation / program correction

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    17/327

    Introduction 

    1.3 Accessibility Options 

    1-17SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    1.3 Accessibility Options

    1.3.1 Calculator

    The calculator function can be activated from any operating area using SHIFT and “=”.

    To calculate terms, the four basic arithmetic operations can be used, as well as the functions

    “sine”, “cosine”, “squaring” and “square root”. A bracket function is provided to calculate ne-

    sted terms. The bracketing depth is unlimited.

    If the input field is already occupied by a value, the function will accept this value into the input

    line of the calculator.

    When you press the Input key, the result is calculated and displayed in the calculator.

    Pressing the Accept softkey enters the result in the input field at the current cursor position of

    the part program editor and closes the calculator automatically.

    Fig. 1-4 Calculator

    Characters permitted for input

    +, - Basic arithmetic operations*, / 

    S Sine functionThe X value (in degrees) before the input cursor is replaced by the value sin(X).

    C Cosine functionThe X value (in degrees) before the input cursor is replaced by the value cos(X).

    Q Square functionThe X value before the input cursor is replaced by the value X2.

    R Square root functionThe X value before the input cursor is replaced by the value √X.

    ( ) Bracket function (X+Y)*Z

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    18/327

    Introduction 

    1.3 Accessibility Options 

    1-18SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Calculation examples

    Task Input -> Result

    100 + (67*3) 100+67*3 -> 301

    sin(45) 45 S -> 0.707107

    cos(45) 45 C -> 0.707107

    42 4 Q -> 16

    √4 4 R -> 2

    (34+3*2)*10 (34+3*2)*10 -> 400

    To calculate auxiliary points on a contour, the calculator provides the following functions:

    Calculating the tangential transition between a circle sector and a straight line

    Moving a point in the plane

    Converting polar coordinates to Cartesian coordinates

    Adding the second end point of a straight line/straight line contour section given from anangular relation

    Softkeys

    This function is used to calculate a point on a circle. The point results from the angle of the tangentcreated, the radius and the direction of rotation of the circle.

    Fig. 1-5

    Enter the circle center, the angle of the tangent and the circle radius.

    Use the softkey G2 / G3 to define the direction of rotation of the circle.

    When you press this softkey, the abscissa and ordinate values are calculated. The abscissa is thefirst axis, and the ordinate is the second axis of the plane. The value of the abscissa is copied intothe input box from which the calculator function has been called, and the value of the ordinate iscopied into the next following input box. If the function has been called from the part program editor,the coordinates are saved with the axis names of the selected basic plane.

    G2/G3

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    19/327

    Introduction 

    1.3 Accessibility Options 

    1-19SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Example:  Calculate the intersection point between circle sector and straight line

    in plane G18.

    Given: Radius: 10  

    Circle center: Z 147 X103 

    Connection angle of the straight line: -45    

    XZ

    X

    Z

     

    Result: Z = 154.071X = 110.071

    This function calculates the Cartesian coordinates of a point in the plane, which is to be linked with apoint (PP) on a straight line. For calculation, the distance between the points and the slope angle(A2) of the new straight line to be created with reference to the slope (A1) of the given straight linemust be known.

    Fig. 1-6

    Enter the following coordinates or angles:

    the coordinates of the given point (PP)

    the rise angle of the straight line (A1)

    the distance of the new point with reference to PP

    the rise angle of the connecting straight line (A2) with reference to A1

    When you press this softkey, the Cartesian coordinates are calculated, which are then copied intotwo input fields following another to one. The value of the abscissa is copied into the input box fromwhich the calculator function has been called, and the value of the ordinate is copied into the nextfollowing input box. If the function has been called from the part program editor, the coordinates aresaved with the axis names of the selected basic plane.

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    20/327

    Introduction 

    1.3 Accessibility Options 

    1-20SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    This function converts the given polar coordinates into Cartesian coordinates.

    Fig. 1-7

    Enter reference point, vector length and slope angle.

    When you press this softkey, the Cartesian coordinates are calculated, which are then copied intotwo input fields following another to one. The value of the abscissa is copied into the input box fromwhich the calculator function has been called, and the value of the ordinate is copied into the nextfollowing input box.If the function has been called from the part program editor, the coordinates are saved with the axisnames of the selected basic plane.

    This function is used to calculate the missing end point of the straight line/straight line contour sec-tion whereby the second straight line stands vertically on the first straight line.

    The following values of the straight line are known:

    Straight line 1: Start point and slope angle

    Straight line 2: Length and one end point in the Cartesian coordinate system

    Fig. 1-8

    This function is used to select the given coordinate of the end point.The ordinate value or the abscissa value is given.

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    21/327

    Introduction 

    1.3 Accessibility Options 

    1-21SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    The second straight line is rotated in CW direction or in counter-clockwise direction by 90 degreesrelative to the first straight line.

    The missing end point is calculated. The value of the abscissa is copied into the input box from

    which the calculator function has been called, and the value of the ordinate is copied into the nextfollowing input box.If the function has been called from the part program editor, the coordinates are saved with the axisnames of the selected basic plane.

    Example 

    Fig. 1-9

    Add the drawing above by the value of the center circle in order to be able to calculate then 

    the intersection point between the circle sector of the straight line. The missing coordinate of 

    the center point is calculated using the calculator function , since the radius in the 

    tangential transition stands vertically on the straight line.

    Fig. 1-10

    Calculating M1 in section 1: 

    Der Radius steht 90 ° im Uhrzeigersinn gedreht auf der durch den Winkel festgelegten Ge- rade.

    Use the softkey to select the appropriate direction of rotation. Use the softkey 

     to define the given end point.

    Enter the coordinates of the pole, the slope angle of the straight line, the ordinate angle of the end point and the circle radius as the length.

    Accept

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    22/327

    Introduction 

    1.3 Accessibility Options 

    1-22SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Fig. 1-11

    Result: X = 60  Z = -44.601

    1.3.2 Editing Chinese Characters

    This function is only available in the Chinese language version.

    The control system provides a function for editing Chinese characters in the program editor

    and in the PLC alarm text editor. After activation, type the phonetic alphabet of the searched

    character in the input box. The editor will then offer various characters for this sound, from

    which you can choose the desired one by entering either of the digits 1 to 9.

    Fig. 1-12 Chinese editor

    Alt S is used to turn on/turn off the editor

    1.3.3 Hotkeys

    This operator control can be used to select, copy, cut and delete texts using special key com-mands. This functions are available both for the part program editor and for input fields.

    CTRL C Copy

    CTRL B Select

    CTRL X Cut

    CTRL V Paste

    Alt L is used to switch to mixed notation

    Alt H Help system

    or Info key

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    23/327

    Introduction 

    1.4 The Help System  

    1-23SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    1.4 The Help System

    To activate the help system, use the Info key. It offers a brief description for all essential ope-

    rating functions.

    Further, the help feature contains the following topics:

    Overview of the NC commands with a brief description

    Cycle programming

    Explanation of the drive alarms

    Fig. 1-13 Table of contents of the help system

    This function opens the topic selected.

    Fig. 1-14 Description with regard to a help topic

    Use this function to select cross references. A cross reference is marked by the characters“>>....

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    24/327

    Introduction 

    1.5 Coordinate Systems 

    1-24SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Use this function to search for a term in the table of contents. Type the term you are looking for andstart the search process.

    Help in the Program Editor area

    The system offers an explanation for each NC instruction. To display the help text directly, po-sition the cursor behind the instruction and press the Info key.

    1.5 Coordinate Systems

    For machine tools, right-handed, right-angled coordinate systems are used.

    The movements on the machine are described as a relative movement between tool and

    workpiece.

    +Z

    +Y

    +X+ Z

    + X

    Fig. 1-15 Determination of the axis directions another to one; coordinate system forprogramming on turning

    Find

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    25/327

    Introduction 

    1.5 Coordinate Systems 

    1-25SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Machine coordinate system (MCS)

    How the coordinate system is located with reference to the machine, depends on the machine

    type concerned. It can be rotated in different positions.

    +Z

    +X

    Fig. 1-16 Machine coordinates/machine axes using the example of a turning machine

    The origin of this coordinate system is the machine zero.

    In this point, all axes have the position ’zero’. This point represents only a reference point defi-ned by the machine manufacturer. It need not be approachable.

    The traversing range of the machine axes can be in the negative range.

    Workpiece coordinate system (WCS)

    The coordinate system described above (see Fig. 1-15) is also used to describe the geometry

    of a workpiece in the workpiece program.

    The workpiece zero can be freely selected by the programmer in the Z axis. In the X axis, it

    is in the turning center.

    XWorkpiece

    ZWorkpiece

    W

    Workpiece

    W - workpiece zero

    Fig. 1-17 Workpiece coordinate system

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    26/327

    Introduction 

    1.5 Coordinate Systems 

    1-26SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Relative coordinate system

    Apart from the machine and workpiece coordinate systems, the control system provides a re-

    lative coordinate system. This coordinate system is used for setting reference points that can

    be freely selected and have no influence on the active workpiece coordinate system. All axis

    movements are displayed relative to these reference points.

    Clamping the workpiece

    For machining, the workpiece is clamped in the machine. The workpiece must be aligned

    such that the axes of the workpiece coordinate system run in parallel with those of the ma-

    chine. Any resulting offset of the machine zero with reference to the workpiece zero is deter-

    mined along the Z axis and entered in a data area intended for the settable zero offset. In

    the NC program this offset is activated, e.g. using a programmed G54.

    XMachine XWorkpiece

    ZWorkpiece

    M W

    e.g.

    Z

    G54

    Workpiece

    Machine

    Fig. 1-18 Workpiece on the machine

    Current workpiece coordinate system

    The programmed zero offset TRANS can be used to generate an offset with reference to the

    workpiece coordinate system resulting in the current workpiece coordinate system (see Sec-

    tion ”Programmable Zero Offset: TRANS”).

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    27/327

    2-27SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Turning on and Reference Point Approach

    Note

    When you turn on the SINUMERIK 802D and the machine, please also observe the MachineDocumentation, since turning on and reference point approach are machine-dependent func-tions.

    This documentation assumes an 802D standard machine control panel (MCP). Should you use a

    different MCP, the operation may be other than described herein.

    Operating sequence

    First turn on the power supply of CNC and machine. After the control system has booted, you

    are in the Position operating area, Jog mode.

    The window “ Reference-point approach ”  is active.

    Fig. 2-1 The Jog-Ref start screen

    Use the Ref key on the machine control panel to activate “ reference-point approach ” .

    The Reference-Point Approach window (Fig. 2-1) will display whether the axes have a refe-

    rence point or not.

    Axis has to be referenced

    Axis has reached its reference point

    2

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    28/327

    Turning on and Reference Point Approach 

    2-28SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Select a direction key.

    If you select the wrong approach direction, no movement will be carried out.

    Approach the reference point one after the other for each axis.

    Quit the function by selecting a different mode (MDA, Automatic or Jog).

    Note

    ”Reference-point approach“ is only possible in Jog mode.

    ...+X

    -Z

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    29/327

    3-29SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Setting Up

    Preliminary remarks

    Before you can work with the CNC, set up the machine, the tools, etc. on the CNC as follows:

    Enter the tools and the tool offsets.

    Enter/modify zero offset.

    Enter setting data.

    3.1 Entering Tools and Tool Offsets

    Functionality

    The tool offsets consist of several data describing the geometry, the wear and the tool type.

    Depending on the tool type, each tool is assigned a defined number of parameters. Tools are

    identified by a number (T number).

    See also Section 8.6 “Tool and Tool Offset“

    Operating sequence

    Use this softkey to open the Tool Offset Data window that contains a list of the tools created. Usethe cursor keys and the Page Up/PageDown keys to navigate in this list.

    Fig. 3-1 Tool list

    3

    Offset

    Param

    Tool

    List

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    30/327

    Setting Up 

    3.1 Entering Tools and Tool Offsets 

    3-30SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Use the following operating sequence to enter the compensation values:

    Position the cursor bar on the input box you want to modify,

    enter the desired value(s)

    and confirm your input by pressing Input or by a cursor movement.

    For special tools, the softkey functionExtend

     is provided, which offers a complete parameter

    list, which can be filled in.

    Softkeys

    Use this softkey to determine the tool offset data.

    Use this softkey to determine the tool offset data manually (see section 3.1.2).

    Use this softkey to determine the tool offset data semi-automatically (see Section 3.1.3).

    Use this softkey to calibrate the probe.

    Use this softkey to delete the tool offset data of all cutting edges of the tool.

    Use this softkey to display all parameters of a tool.

    Fig. 3-2 Screen form for entering special tools

    For the meaning of the parameters, please refer to the Chapter “Programming”.

    Pressing this softkey will enable the compensation values of the cutting edge immediately.

    Use this softkey to open a lower-level menu bar offering all functions required to create and displayfurther cutting edges.

    Use this softkey to select the next higher cutting edge number.

    Tool

    measure

    Measure

    manual

    Measure

    auto

    Calibrate

    probe

    Delete

    tool

    Extend

    Activate

    change

    Edges

    D >>

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    31/327

    Setting Up 

    3.1 Entering Tools and Tool Offsets 

    3-31SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Use this softkey to select the next lower cutting edge number.

    Use this softkey to create a new edge.

    Use this softkey to reset all offset values of the cutting edge to zero.

    Use this function to change the tool type. Use the relevant softkey to select the appropriate tool ty-pe.

    Type the number of the tool you are looking for and start the search using the OK softkey. If the toolyou are looking for exists, the cursor is positioned on the corresponding line.

    Use this softkey to create tool offset data for a new tool.Note: Max. 32 tools can be created.

    3.1.1 Creating a New Tool

    Operating sequence

    This function provides another two softkey functions required to select the tool type. After selection,type the desired tool number in the input box.

    Fig. 3-3 The New Tool  window Input of tool number

    For milling and drilling tools, the operator must select the machining direction.

    Fig. 3-4 Selection of the machining direction for a milling tool

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    32/327

    Setting Up 

    3.1 Entering Tools and Tool Offsets 

    3-32SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Use OK to confirm your input. A data record loaded with zero by default will be accepted into thetool list.

    3.1.2 Determining Tool Offsets (manually)

    Functionality

    This function can be used to determine the unknown geometry of a tool T.

    Prerequisite

    The respective tool is changed. In JOG mode, use the cutting edge of the tool to approach apoint on the machine with known machine coordinate values. This can be a workpiece with

    a known position.

    Procedure

    Enter the reference point in the appropriate field Ø or Z0.

    Please observe: The assignment of length 1 or 2 to the axis depends on the tool type (turning

    tool, drill).

    With a turning tool, the reference point for the X axis is a diameter dimension!

    Using the actual position of the point F (machine coordinate) and the reference point, the con-

    trol system can calculate the compensation value assigned to length 1 or length 2 for the axis

    preselected.

    Note: You can also use a zero offset already determined (e.g. value of G54) as the knownmachine coordinate. In this case, use the edge of the tool to approach the workpiece zero

    point. If the edge is positioned directly at workpiece zero, the reference point is zero.

    XMachine

    Z

    Workpiece

    Machine

    F

    Length 2=?

    Actual position Z

    F - tool carrier reference point

       L  e  n  g   t   h    1

      =   ?

    Actual position X

       O   f   f  s  e   tM

    M - machine zero

    The offset value in the X axis is a diameter value.

    W

    W - workpiece zero

    Gxx

    Fig. 3-5 Determination of length compensation values using the example of a cutting tool

    OK

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    33/327

    Setting Up 

    3.1 Entering Tools and Tool Offsets 

    3-33SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    XMachine

    M

    Z

    Workpiece

    Machine

    Length 1=?

    Actual position Z

    F - tool carrier reference point

    M - machine zero

    FW

    Gxx

    W - workpiece zero

    Fig. 3-6 Determining the length compensation using the example of a drill: Length 1 / Z axis

    Note

    The diagram 3-6 is only applicable if the variables 42950 TOOL_LENGTH_TYPE andTOOL_LENGHT_CONST!=0; otherwise, length tool will apply for the milling and drillingtools.

    Operating sequence

    Use this softkey to open the selection window for manual or semi-automatic measurement.

    Fig. 3-7 Selection of manual or semi-automatic measurement

    Use this softkey to open the Measure tool  window.

    Measure

    tool

    Measure

    manual

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    34/327

    Setting Up 

    3.1 Entering Tools and Tool Offsets 

    3-34SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

     

    Fig. 3-8 The “Measure tool” window

    In the field Z0, type the workpiece diameter or in the Z0 field, type a value you wish to ha-ve for the tool at the current position. This can be either the current machine coordinate ora value from the zero offsets. If any other values are used, the compensation value will

    refer to the specified position. After the softkeys Set length 1 or Set length 2 have been pressed, the control system will

    determine the searched geometry length 1 or length 2 according to the preselected axis.The compensation value determined will be stored.

    Pressing this softkey wiull save the position of the X axis. The X axis can be moved from the work-piece away.It is thus possible, e.g. to determine the workpiece diameter. The saved value of the axisposition will then be used for calculating the length compensation.

    The behavior of the softkey is determined by the display machine data 373

    MEAS_SAVE_POS_LENGTH2 (see also Manufacturer Documentation “SINUMERIK 802D

    Start-Up”)

    Save

    position

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    35/327

    Setting Up 

    3.1 Entering Tools and Tool Offsets 

    3-35SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    3.1.3 Determining the Tool Compensations Using a Probe

    Operating sequence

    Select this softkey and then:

    the Measure Tool window appears.

     

    Fig. 3-9 The “Measure Tool” window

    This intercative screen form can be used to enter tool and edge number. In addition, the tool

    point direction is displayed after the symbol.

    After the screen form has been opened, the boxes of the interactive screen form are filled with

    the tool currently being in mesh.

    The tool can be either

    the active tool of the NC (loaded via a part program) or

    a tool loaded via the PLC.

    If the tool has been loaded by the PLC, the tool number in the interactive screen form can dif-

    fer from the tool number in the window T,F,S.

    If you change the tool number, no automatic tool change is carried out. The measurement re-

    sults, however, are assigned to the entered tool.

    Measuring process

    Approach the probe using either the traversing keys or the handwheel.

    After the symbol “Probe triggered”  has appeared, release the traversing key and wait

    until the end of the measuring process. During the automatic measurement, a gauge  is

    displayed, symbolizing that the measuring process is in progress.

    Measure

    tool

    Measure

    auto

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    36/327

    Setting Up 

    3.1 Entering Tools and Tool Offsets 

    3-36SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Note

    To create the measuring program, the parameters ’safety clearance’ from the “Settings”screen form and ’feedrate’ from the “Probe Data” screen form are needed.

    If several axes are moved simultaneously, no calculation of the compensation data is carriedout.

    3.1.4 Determining the tool compensations values using an optical measu-

    ring system

    Fig. 3-10 Measuring using an optical measuring system (input fields T and D, see measuring

    using a sensing probe)

    Measuring process

    For measuring, position the tool tip of a chisel or of a drilling tool into the crosshair. With a mil-

    ling tool, use the highest point of the cutting edge to determine the tool length.

    Then, press the Set length softkey to calculate the compensation values.

    3.1.5 Probe Settings

    This screen form is used to store the probe coordinates and to set the axis feedrate for the

    automatic measuring process.

    All position values refer to the machine coordinate system.

    SettingsData

    probe

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    37/327

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    38/327

    Setting Up 

    3.1 Entering Tools and Tool Offsets 

    3-38SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Fig. 3-12 Calibrating the probe

    After the screen form has opened, an animation signaling the current step to be carried outappears next to the current positions of the probe. This position must be approached with the

    appropriate axis.

    After the symbol “Probe triggered”  has appeared, release the traversing key and wait

    until the end of the measuring process. During the automatic measuring process, a gauge

    is displayed, symbolizing the progress of the measuring process.

    The position provided by the measuring program serves to calculate the real probe position.

    It is possible to quit the measuring function without all positions having approached. The

    points already captured remain stored.

    Note

    To create the measuring program, the parameters ’safety clearance’ from the “Settings”screen form and ’feedrate’ from the “Probe Data” screen form are needed.

    If several axes are moved simultaneously, no calculation of the compensation data is carriedout.

    To skip a point not needed for measuring, use the Next Step function.

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    39/327

    Setting Up 

    3.2 Tool monitoring  

    3-39SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    3.2 Tool monitoring

    Each monitoring type is displayed in 4 columns.

    Setpoint Prewarning limit

    Residual value

    active

    Use the checkbox in the 4th column to activate/deactivate the monitoring type.

    lifeWork

    Fig. 3-13 Tool monitoring

    Use this softkey to reset the monitoring values of the selected tool.

    Fig. 3-14

    Use this softkey to change the enable status of the selected tool.

    Tool-

    life

    Reset

    monitor

    After

    enable

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    40/327

    Setting Up 

    3.3 Entering/Modifying Zero Offset 

    3-40SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    3.3 Entering/Modifying Zero Offset

    Functionality

    After reference-point approach, the actual-value memory and thus also the actual-value dis-

    play are referred to the machine zero. A machining program, however, is always referred to

    the workpiece zero. This offset must be entered as the zero offset.

    Operating sequence

    Select “Zero Offset” via Parameters and Zero Offset.

    A list of settable zero offsets will appear on the screen. The screen form also displays the va-

    lues of the programmed zero offset, the active scaling factors, the status display “Mirroring

    active”, and the total of all active zero offsets.

    Fig. 3-15 The Zero Offset window

    Position the cursor bar on the input box you wish to modify,

    enter value(s). The values are accepted into the zero offsets either by a cursor movement or usingthe Input key.

    The offset values of the cutting edge come into effect immediately.

    Zero

    Offset

    Change

    activated

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    41/327

    Setting Up 

    3.3 Entering/Modifying Zero Offset 

    3-41SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    3.3.1 Determining Zero Offset

    Prerequisite

    You have selected the window with the corresponding zero offset (e.g. G54) and the axis for

    which you wish to determine the offset.

    XMachine

    M

    Z

    Workpiece

    Machine

    Zero offset Z=?

    F

    Length 2

    Actualposition Z

    F-tool carrier reference point

    M-machine zero

    W

    W-workpiece zero

    Fig. 3-16 Determining the zero offset - Z axis

    Procedure

    Press the softkey Zero Offs Measur. The control system will switch to the operating area “Position”

    and open the dialog box for measuring the zero offsets. The axis selected will appear as a softkeywith a black shadow.

    Then scratch the workpiece using the tool tip. In the box Set position to:, type the position

    you wish to have for the workpiece edge in the workpiece coordinate system.

    Fig. 3-17 Screen form Determine zero offset in X Screen form Determine zero offset in Z

    The softkey will calculate the offset and will display the result in the “Offset” box.

    Press Abort to quit the window.

    Measure

    workpiece

    Set zero

    offset

    Abort

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    42/327

    Setting Up 

    3.4 Programming Setting Data - Operating Area “ Parameters ” 

    3-42SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    3.4 Programming Setting Data - Operating Area “Parameters”

    Functionality

    The setting data are used to make the settings for the operating states. These can be modi-

    fied if necessary.

    Operating sequence

    Use the Offset Parameters and Setting Data softkeys to open the Setting Data window.

    The Setting Data softkey will branch into another menu level where various control options

    can be set.

    Fig. 3-18 Main screen Setting data 

    Jog feed

    Feed value in Jog modeIf the feed value is zero, the control system will use the value stored in the machine data.

    Spindle

    Spindle speed

    Min. / max.

    A limitation of the spindle speed in the max. (G26)/min. (G25) fields can therefore only be

    carried out within the limit values specified in the machine data.Programmed (LIMS)

    Programmable upper speed limiting (LIMS) at constant cutting speed (G96).

    Dry run feed (DRY)

    The feed that can be entered here will be used instead of the programmed feed in automa-tic mode if the function “Dry run feed” is selected.

    Start angle for thread cutting (SF)

    For thread cutting, a start position for the spindle is displayed as the start angle. If thethread cutting operation is repeated, a multiple thread can be cut by modifying the angle.

    Setting

    data

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    43/327

    Setting Up 

    3.4 Programming Setting Data - Operating Area “ Parameters ” 

    3-43SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Position the cursor bar on the input box you wish to modify, enter value(s).

    Use the Input key or carry out a cursor movement to confirm your input.

    Softkeys

    The work area limiting is active for the geometry and for additional axes. Enter the values for thework area limiting. The softkey Set Active enables/disables the values for the axis selected usingthe cursor.

    Set

    active

    Userdata

    Fig. 3-19

    Fig. 3-20

    Work area

    limit.

    Time

    counter

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    44/327

    Setting Up 

    3.4 Programming Setting Data - Operating Area “ Parameters ” 

    3-44SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Meaning:

    Parts required: Number of workpieces required ( required workpieces )

    Parts total: Number of workpieces manufactured in total ( actual total )

    Part count: This counter logs the number of all workpieces produced beginning from thestarting time.

    Run time: Total runtime of NC programs in the AUTOMATIC mode ( in seconds )

    The AUTOMATIC mode counts the runtimes of all programs executed between NC STARTand end of program / RESET. The timer is reset to zero with every power-up of the controlsystem; runtime of the selected NC program ( in seconds )

    Cycle time: Tool action time ( in seconds )

    In the NC program selected, the runtime between NC START and end of program / RE-SET is measured. Starting a new NC program will clear the timer.

    Cutting time

    The runtime of the path axes is measured in all NC programs between NC START and endof program, without rapid traverse active and the tool active. With the dwell time active, themeasurement is additionally interrupted.

    If the control system is booted with the default values, the timer is reset to zero automatically.

    Use this softkey to display a complete list of all setting data of the control system. The data are di-vided into

    general,

    axis-specific and

    channel setting data.

    Channelspecific

    spec.

    Fig. 3-21

    Misc

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    45/327

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    46/327

    Setting Up 

    3.5 R Parameters - Operating Area “ Offset/Parameters ” 

    3-46SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    For your notes 

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    47/327

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    48/327

    Manually Controlled Operation 

    4.1 Jog Mode - Operating Area “ Position ” 

    4-48SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    4.1 Jog Mode - Operating Area “Position”

    Operating sequence

    Use the Jog key on the machine control panel to select Jog mode.

    +X -Z...

    To traverse the axes, press the appropriate key of the X or Z axis.

    As long as this key is hold down, the axes will traverse continuously at the rate defined in the

    setting data. If the value in the setting data is zero, the value stored in the machine data will

    be used.

    Set the speed using the override switch.

    If you also press the Rapid Traverse Override key, the selected axis will be traversed at rapid tra-verse velocity as long as the keys are hold down.

    In Incremental Dimension mode, you can use the same operating sequence to traverse settableincrements. The set increment is displayed in the display area. To cancel, simply press Jog oncemore.

    The Jog  main screen displays position, feed and spindle values, as well as the current tool.

    Fig. 4-3 The Jog main screen

    %

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    49/327

    Manually Controlled Operation 

    4.1 Jog Mode - Operating Area “ Position ” 

    4-49SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Parameters

    Table 4-1 Description of the parameters displayed in the Jog  main screen

    Parameters Explanation

    MCS

    XZ

    Display of addresses of existing axes in the machine coordinate system (MCS).

    +X

    - Z

    If you traverse an axis in the positive (+) or negative (-) direction, a plus or minus sign is dis-played in the corresponding field.

    If the axis is already in the desired position, no sign will be displayed.

    Positionmm

    These fields display the current position of the axes in the MCS or WCS.

    Repos offset If the axes are traversed in the state ”Program interrupted” in Jog mode, this column displaysthe distance traversed by each axis with reference to the break point.

    G function Display of important G functions

    Spindle Srpm

    Display of actual and set values of spindle speed

    Feed Fmm/min

    Display of feedrate actual and set values

    Tool Display of the currently engaged tool and of the current edge number

    Note

    If a second spindle is integrated into the system, the workspindle is displayed using a lower font

    size. The window will always display only the data of one spindle.

    The control system displays the spindle data, taking into account the following aspects:

    The master spindle is displayed:- in the idle condition,

    - at spindle start,

    - if both spindles are active.

    The workspindle is displayed:

    - at spindle start of the workspindle.

    In all cases, the power bar applies to the spindle currently active.

    Softkeys

    This softkey is used to set the basic zero offset or a temporary reference point in the relative coordi-nate system. After opening, this function can be used to set the basic zero offset.

    Setbase

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    50/327

    Manually Controlled Operation 

    4.1 Jog Mode - Operating Area “ Position ” 

    4-50SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    The following subfunctions are offered:

    Direct input of the axis position desiredIn the position window, position the input cursor on the desired axis and enter the new po-sition. Complete your input either by pressing the Input key or by a cursor movement.

    Setting all axes to zeroThe softkey function X=Y=Z=0 will overwrite the current position of the corresponding axiswith zero.

    Setting individual axes to zeroIf you select either of the softkeys X=0, Y=0 or Z=0, the current position will be overwrittenwith zero.

    Pressing the Set Rel softkey switches the display to the relative coordinate system. The follo-

    wing inputs will modify the reference point in this coordinate system.

    Note

    A modified basic zero offset will act regardless of any other zero offsets.

    Determining the zero offset (see Chapter 3)

    Use this softkey to determine the tool compensation values (see Chapter 3)

    In MDA mode, this screen form is used to set the retraction level, the safety distance and the direc-tion of rotation for part programs generated automatically.

    In addition, this screen form can be used to set the values for JOG feed and for the variable

    incremental dimension.

    Fig. 4-4

    Retraction plane: The “Face” function will retract the tool to the specified position (Z position)

    after execution.

    Safety distance: Clearance to the workpiece surface.

    defines the minimum distance between workpiece surface and workpiece. It is used by the

    functions “Face” and “Automatic tool gauging”.

    Measureworkpiece

    Measuretool

    Settings

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    51/327

    Manually Controlled Operation 

    4.1 Jog Mode - Operating Area “ Position ” 

    4-51SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    JOG feedrate: feedrate value in the JOG mode

    Dir. of rot.: Direction of rotation of the spindle for programs generated automatically in the

    JOG and MDA modes.

    Use this softekey to store the coordinates of the probe and to set the axis feedrate for the automaticmeasuring process (see Section 3.1.5).

    Use this softkey to switch between the metric and the inch system.

    4.1.1 Assigning Handwheels

    Operating sequence

    Hand

    wheel

    In Jog mode, display the Handwheel window.

    After the window has been opened, the column “Axis” will display all axis identifiers, which

    simultaneously appear in the softkey bar. Depending on the number of handwheels connec-

    ted, it is possible to switch from handwheel 1 to handwheel 2 or 3.

    Select the desired handwheel using the cursor. Then press the axis softkey of the desired axis to

    assign or the desired axis.

    The symbol will appear in the window. .

    Measureworkpiece

    Measuretool

    Fig. 4-5 The Handwheel  menu window

    Use the softkey MCS to select the axes from the machine or workpiece coordinate system, whichyou wish to assign a handwheel. The current setting is displayed in the window.

    Dataprobe

    Switch to

    mm > inch

    MCS

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    52/327

    Manually Controlled Operation 

    4.2 Operating Mode MDA (Manual Input) 

    4-52SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    4.2 Operating Mode MDA (Manual Input)

    Functionality

    In MDA mode, you can create and run a part program.

    !Caution

    In manual mode, the same safety locks are applicable as in fully automatic mode.

    Furthermore, the same prerequisites are required as in fully automatic mode.

    Operating sequence

    Use the MDA key on the machine control panel to select MDA mode.

    Fig. 4-6 The MDA main screen

    Enter one or several blocks using the keyboard.

    Press NC START to start machining. During the machining, the blocks cannot be edited.

    After execution, the contents of the input field remain stored so that NC Start can be activatedagain to continue.

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    53/327

    Manually Controlled Operation 

    4.2 Operating Mode MDA (Manual Input) 

    4-53SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Parameters

    Table 4-2 Description of the parameters displayed in the MDA working window

    Parameters Explanation

    MCS

    XZ

    Display of existing axes in MCS or WCS

    +X-Z

    If you traverse an axis in the positive (+) or negative (-) direction, a plus or minus sign is dis-played in the corresponding field.

    If the axis is in the desired position, no sign is displayed.

    Positionmm

    These fields display the current position of the axes in the MCS or WCS.

    Distance togo

    This field displays the distance to go for the axes in MCS or WCS.

    G function Display of important G functions

    Spindle Srpm

    Display of the actual and set values of the spindle speed

    Feed F Display of the feedrate actual and set values in mm/min or mm/rev.

    Tool Display of the currently active tool and of the current edge number (T..., D...).

    Editing win-dow

    In the program state ”Stop” or ”Reset”, an editing window is used to enter part program blocks.

    Note

    If a second spindle is integrated into the system, the workspindle is displayed using a lower font

    size. The window will always display only the data of one spindle.

    The control system displays the spindle data, taking into account the following aspects:The master spindle is displayed:

    - in the idle condition,

    - at spindle start,

    - if both spindles are active.

    The workspindle is displayed:

    - at spindle start of the workspindle.

    In all cases, the power bar applies to the spindle currently active.

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    54/327

    Manually Controlled Operation 

    4.2 Operating Mode MDA (Manual Input) 

    4-54SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Softkeys

    Use this softkey to set a basic zero offset (see Section 4.1).

    Face milling (see Section 4.2.1)

    see Section 4.1

    The G function window provides G functions whereby each G function is assigned a group and hasa fixed position in the window.Use the PageUp and PageDown keys to display further G functions. If you press this softkey seve-ral times, the window is closed.

    This window displays the active auxiliary and M (miscellaneaous) functions. If you press this softkeyseveral times, the window is closed.

    This softkey will unhide the Axis Feed window.If you press this softkey several times, the window is closed.

    This function will delete all blocks displayed in the program window.

    Type a name with which you want to save the MDA program in the program directory in the inputfield. Alternatively, you can select an existing program from the list.To switch between the input field and the program list, use the TAB key.

    Fig. 4-7

    The display of the actual values for MDA mode is carried out depending on the selected coordinatesystem.

    Setbase

    Face

    Settings

    G

    function

    Auxiliary

    functions

    Axisfeedrate

    Delete

    MDA prog.

    Save

    MDI prog.

    MCS / WCS

    REL

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    55/327

    Manually Controlled Operation 

    4.2 Operating Mode MDA (Manual Input) 

    4-55SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    4.2.1 Face Turning

    Functionality

    This function can be used to prepare the blank for the subsequent machining without creating

    a special part program.

    Operating sequence

    Face

    In MDA mode, open the input screen form using the Face softkey.

    Position the axes on their start points.

    Enter the values in the screen form.

    If you have filled in the screen form completely, the function will create a part program, which can bestarted using NC Start. The screen form will be closed, and the machine main screen appearswhere the progress of the program can be viewed.

    Important

    First the retraction level and the safety distance must be defined in the Settings menu.

    Fig. 4-8 Face turning

    Table 4-3 Description of the parameters in the Face Turning window

    Parameters Explanation

    Tool Input of the tool to be used

    The tool is changed prior to the machining. To this aim, the function will call a user cyclethat will carry out all steps required. This cycle is provided by the machine manufacturer.

    Feed F Input of feedrate in mm/min or mm/rev.

    Spindle Srpm

    Input of spindle speed

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    56/327

    Manually Controlled Operation 

    4.2 Operating Mode MDA (Manual Input) 

    4-56SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Table 4-3 Description of the parameters in the Face Turning window, continued

    Parameters Explanation

    Machining Determination of surface qualityIt is possible to choose between roughing and finishing.

    Diameter Input of the coarse diameter of the part

    Z0Blank dimen-sion

    Input of Z position

    Z1Cutting dimension

    Cutting dimension, incremental

    DZCutting dimension

    Input of cutting length in Z directionThis dimension is always specified in increments and is referred to the workpiece edge.

    UZMax. infeed percut

    Allowance in Z direction

    UX

    Max. infeed percut

    Allowance in X direction

    .Longitudinal turning

    Fig. 4-9 Longitudinal turning

    Table 4-4 Description of the parameters in the Face Turning window

    Parameters ExplanationTool Input of the tool to be used

    The tool is changed prior to the machining. To this aim, the function will call a user cyclethat will carry out all steps required. This cycle is provided by the machine manufacturer.

    Feed F Input of feedrate in mm/min or mm/rev.

    Spindle Srpm

    Input of spindle speed

    Machining Determination of surface qualityIt is possible to choose between roughing and finishing.

    X0Blank diame-ter

    Input of the diameter of the blank

    Peripher.

    surface

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    57/327

    Manually Controlled Operation 

    4.2 Operating Mode MDA (Manual Input) 

    4-57SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Table 4-4 Description of the parameters in the Face Turning window, continued

    Parameters Explanation

    X1Cutting length

    Cutting length, incremental, in Z direction

    Z0Position

    Input of the workpiece edge position in Z direction

    Z1Cutting length

    Cutting length, incremental, in Z direction

    DXMax. infeed percut

    Input of infeed dimension

    UZ Input field for allowance on roughingAllowance

    UX Allowance

    Use this function to accept the current position of the tool tip into the input field Z0 or X0.Get curr.

    position

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    58/327

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    59/327

    5-59SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Automatic Mode

    Functionality

    In Automatic mode, you can execute part programs fully automatically, i.e. this is the mode

    intended for normal operation of part machining.

    Operating sequence

    Use the Automatic key to select Automatic mode.

    The Automatic  mode start screen appears, which displays position, spindle, tool values and

    the current block.

    Fig. 5-1 The Automatic  start screen

    5

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    60/327

    Automatic Mode 

    5-60SINUMERIK 802D

    6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Programcontrol

    Programtest

    Tocontour

    Dry runfeedrate

    Condit.stop

    Skip

    SiBL fine

    ROV active

    Back

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    61/327

    Automatic Mode 

    5-61SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    Note

    If a second spindle is integrated into the system, the workspindle is displayed using a lower font

    size. The window will always display only the data of one spindle.

    The control system displays the spindle data, taking into account the following aspects:

    The master spindle is displayed:

    - in the idle condition,

    - at spindle start,

    - if both spindles are active.

    The workspindle is displayed:

    - at spindle start of the workspindle.

    In all cases, the power bar applies to the spindle currently active.

    Softkeys

    When you press this softkey, the softkeys for selecting the program control options (e. g. SkippedBlock, Program Test) are displayed.

    Pressing Program Test will disable the setpoint output to the axes and spindles. In this case, thesetpoint display will “simulate” the traversing movement.

    Traversing movements are carried out with the feed setpoint specified using the Dry Run Feed set-ting data. The dry run feed is active instead of the programmed motion commands.

    If this function is active, the program execution always stops at the blocks in which the miscella-neous function M01 is programmed.

    Program blocks that are marked with a slash ahead of the block no. will be ignored during the pro-gram execution (e.g. “ /N100”).

    If this function is active, the part program blocks will be executed separately as follows: Each blockwill be decoded separately, and the program will stop at each block; an exception are only threadblocks without dry run feed. With these blocks, the program stops only at the end of the currentthread block. “Single Block fine” can only be selected in the RESET state.

    If you press this softkey, the feed override switch will also be active for rapid traverse.

    Use this softkey to quit the screen form you are currently working in.

    Use the Block Search key to go to the desired position in the program.

    Block search forward with calculationDuring block search, the same calculations are carried out as in normal program mode, only theaxes do not move.

    Progr.

    control

    Program

    test

    Dry run

    feed rate

    Condit.

    stop

    Skip

    SBL fine

    ROV active

    Back

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    62/327

  • 8/18/2019 802d_exemples Interessants de G-codes Pour Le Tournage

    63/327

    Automatic Mode 

    5.1 Selecting and Starting a Part Program 

    5-63SINUMERIK 802D6FC5 698-2AA00-0BP2 (10.02) (OP-T)

    An external program is transferred to the control system via the RS232 interface and executed im-mediately by pressing NC START.

    5.1 Selecting and Sta