Download  Print this page

Advertisement

SINUMERIK 808D
SINUMERIK 808D, SINUMERIK 808D ADVANCED
Programming and Operating Manual (ISO Turning/Milling)
User Manual
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The
notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage
have no safety alert symbol. These notices shown below are graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of
injury to persons with a safety alert symbol may also include a warning relating to property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with
the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their
training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products
and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage,
installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any
problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed.
© Siemens AG 2017. All rights reserved
01/2017
1

Advertisement

   Summary of Contents for Siemens SINUMERIK 808D

  • Page 1 WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 2: Preface

    Readme file Third-party software - Licensing terms and copyright information My Documentation Manager (MDM) Under the following link you will find information to individually compile your documentation based on the Siemens content: www.siemens.com/mdm Standard scope This manual only describes the functionality of the standard version. Extensions or changes made by the machine tool manufacturer are documented by the machine tool manufacturer.
  • Page 3: Table Of Contents

    Introductory remarks..........................6 2.1.1 Siemens mode ............................6 2.1.2 ISO dialect mode ............................. 7 2.1.3 Switching between Siemens and ISO modes ..................7 2.1.4 Display of the G code ..........................8 2.1.5 Maximum number of axes/axis identifiers ....................8 2.1.6 Selecting G code system A, B or C ......................
  • Page 4 3.3.4.3 Tool nose radius compensation (G40, G41/G42) .................. 42 3.3.5 S-, T-, M- and B functions ........................46 3.3.5.1 Spindle function (S function) ......................... 46 3.3.5.2 Constant cutting rate (G96, G97) ......................47 3.3.5.3 Tool change with T functions (T function) ..................... 48 3.3.5.4 Additional function (M function) ......................
  • Page 5: Fundamental Safety Instructions

    4.3.5.1 Spindle function (S function) ........................ 119 4.3.5.2 Tool function ............................119 4.3.5.3 Additional function (M function) ......................119 4.3.5.4 M functions of spindle control (M19, M29) ................... 120 4.3.5.5 M functions for subroutine calls (M98, M99) ..................120 4.3.5.6 Macro call via M function ........................
  • Page 6: Industrial Security

    Note Industrial security Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks. In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain –...
  • Page 7: Iso Dialect Mode

    ● ISO dialect mode can be set with machine data as the default setting of the control system. The control system reboots by default in ISO dialect mode subsequently. ● Only G functions from the ISO dialect can be programmed; programming of Siemens G functions is impossible in ISO Mode.
  • Page 8: Display Of The G Code

    Display of the G code The G code is displayed in the same language type (Siemens or ISO dialect) as the relevant current block display. If the display of the blocks is suppressed with DISPLOF, the G codes continue to be displayed in the language type of the active block.
  • Page 9 Complete the setting via MD10884 EXTERN_FLOATINGPOINT_PROG. Note Switching from Siemens mode to ISO dialect mode does not change the current setting of MD10884 EXTERN_FLOATINGPOINT_PROG. There are two different conversion factors, IS-B and IS-C. This evaluation refers to the addresses X, Y, Z, U, V, W, A, B, C, I, J, K, Q, R, and F.
  • Page 10: Comments

    2.1.8 Comments In ISO dialect mode, brackets are interpreted as comment signs. In Siemens mode, ";" is interpreted as comment. To simplify matters, an ";" is also understood as comment in ISO dialect mode. If the comment start sign "(" is used inside a comment again, the comment is ended only if all the open brackets are closed again.
  • Page 11: Block Skip

    The block skip levels /1 to /9 can be active. Block skip values <1 and >9 lead to alarm 14060 "Impermissible skip level for differential block skip". The function is mapped to the existing Siemens skip levels. Unlike the ISO Dialect original, "/" and "/1" are separate skip levels that must also be activated separately.
  • Page 12 Possibly, the feed is restricted upward by the servo-system and by the mechanics. The maximum feed is set through the machine data and is restricted before exceeding the value defined there. The path feed is generally composed of the individual speed components of all geometry axes participating in the movement and refers to the center point (see following images).
  • Page 13 Milling Linear interpolation with two axes: Circular interpolation with two axes: In 3D interpolation, the feed of the resulting straight lines programmed with F are maintained in the space. Programming and Operating Manual (ISO Turning/Milling) 01/2017...
  • Page 14: Linear Feed (g98/g94)

    Note If "F0" is programmed and the function "Fixed feedrates" is not activated in the block, then the alarm 14800 "Channel %1 Set %2 programmed path velocity is less than or equal to zero" is given off. 2.2.3 Linear feed (G98/G94) On specifying G98 for turning/G94 for milling, the feed given after the address character F is executed in the mm/min, inch/min or degree/min unit.
  • Page 15 Name Index Description Format Dual slide/turret off 05. G-Group (modal) Linear feed Revolutional feedrate 06. G-Group (modal) Input system inch Input system metric 07. G-Group (modal) Deselection of cutter radius compensation Compensation left of contour Offset to right of contour 08.
  • Page 16: Sinumerik Iso Dialect Turning Mode B

    Delete actual value, reset the WCS directed positioning 21. G-Group (modal) G13.1 TRANSMIT OFF G12.1 TRANSMIT ON 31. G-Group (modal) G290 Select Siemens mode G291 Select ISO dialect mode 3.1.2 SINUMERIK ISO dialect turning mode B Name Index Description Format 01.
  • Page 17 Name Index Description Format Dual slide/turret off 05. G-Group (modal) Linear feedrate in [mm/min, inch/min] Revolutional feedrate in [mm/rev, inch/rev] 06. G-Group (modal) Input system inch Input system metric 07. G-Group (modal) Deselection of cutter radius compensation Compensation left of contour Offset to right of contour 08.
  • Page 18: Sinumerik Iso Dialect Turning Mode C

    Delete actual value, reset the WCS directed positioning 21. G-Group (modal) G13.1 TRANSMIT OFF G12.1 TRANSMIT ON 31. G-Group (modal) G290 Select Siemens mode G291 Select ISO dialect mode 3.1.3 SINUMERIK ISO dialect turning mode C Name Index Description Format 01.
  • Page 19 Name Index Description Format Incremental programming 04. G-Group (modal) Dual slide/turret on Dual slide/turret off 05. G-Group (modal) Linear feedrate in [mm/min, inch/min] Revolutional feedrate in [mm/rev, inch/rev] 06. G-Group (modal) Input system inch G70 P... Q... ; Input system metric G71 U...
  • Page 20: Travel Commands

    G13.1 TRANSMIT OFF G12.1 TRANSMIT ON 31. G-Group (modal) G290 Select Siemens mode G291 Select ISO dialect mode Travel commands 3.2.1 Interpolation commands The positioning and interpolation commands, with which the tool path along the programmed contour, such as a straight line or a circular arc, is monitored, are described in the next Section.
  • Page 21 G function Function G group Circle/helix in counterclockwise direction Positioning with (G00) Format G00 X... Z... ; G00 with linear interpolation The tool movement programmed with G00 is executed at the highest possible travel speed (rapid traverse). The rapid traverse rate is defined separately for each axis in the machine data. If the rapid traverse movement is executed simultaneously on several axes, the rapid traverse rate in case of linear interpolation is determined by the axis, which requires the most time for its section of the path.
  • Page 22: Linear Interpolation (g01)

    Programming example: Linear interpolation (G00) Linear interpolation with G00 is set by setting the machine data 20732 $MC_EXTERN_GO_LINEAR_MODE. Hence all programmed axes traverse in rapid traverse with linear interpolation and reach their target position simultaneously. 3.2.1.2 Linear interpolation (G01) With G01 the tool travels on axially parallel, inclined or straight lines arbitrarily positioned in the space. Linear interpolation permits machining of 3D surfaces, grooves, etc.
  • Page 23: Circular Interpolation (g02, G03)

    Linear interpolation: Programming example: 3.2.1.3 Circular interpolation (G02, G03) Format With the command given below the rotary tool traverses in the ZX plane on the programmed circular arc. The programmed path velocity is thereby maintained along the arc. G02(G03) X(U)... Z(W)... I... K... (R...) F... ; Programming and Operating Manual (ISO Turning/Milling) 01/2017...
  • Page 24 Circular interpolation: In order to start the circular interpolation, the commands given in the following table are to be executed: Element Command Description Direction of rotation clockwise Counterclockwise End-point position X (U) X coordinate of the arc end point (diametric value) Z (W) Z coordinate of the arc end point...
  • Page 25 Direction of rotation of the arc: Programming of circular movements ISO mode offers two possibilities for programming the circular movements. The circular motion is described by the: ● Center point and end point in the absolute or incremental dimension ● Radius and end point in Cartesian coordinates For a circular interpolation with a central angle <= 180 degree, "R >...
  • Page 26: Contour Definition Programming And Insertion Of Chamfers And Radii

    Programming example Circular interpolation over several quadrants: Center of arc (100.00, 27.00) Value of "I" Value of "K" 3.2.1.4 Contour definition programming and insertion of chamfers and radii Chamfers or radii can be inserted after each traversing block between linear and circular contours, for instance for deburring the sharp workpiece edges.
  • Page 27: Cylindrical Interpolation (g07.1)

    3 straight lines: ISO dialect mode In the original ISO Dialect, the address C can be used as axis name as well as for naming a chamfer on the contour. The address R can either be a cycle parameter or an identifier for the radius in a contour. For differentiating between these two possibilities, a comma ","...
  • Page 28: Polar Coordinates Interpolation (g12.1, G13.1) (transmit)

    Note Cylindrical interpolation (G07.1) G07.1 is based on the Siemens option TRACYL. For this, the corresponding machine data are to be set. • The corresponding specifications for this are given in the SINUMERIK 808D/SINUMERIK 808D ADVANCED Function • Manual, Chapter "Kinematic Transformation".
  • Page 29 G500 in Siemens mode). ● An active working area limitation is deselected by the control system for the axes affected by the transformation (corresponds to programmed WALIMOF in Siemens mode). ● Continuous path mode and rounding are interrupted. ● Possibly active DRF offsets in transformed axes must have been deleted by the operator.
  • Page 30: Reference Point Approach With G Functions

    Programming example Coordinates system for the polar coordinates interpolation: References: SINUMERIK 808D/SINUMERIK 808D ADVANCED Function Manual, Chapter "Kinematic Transformation". 3.2.2 Reference point approach with G functions 3.2.2.1 Reference point approach with intermediate point (G28) Format G28 X... Z... ; With the command "G28 X(U)...Z(W)...C(H)...Y(V);" the programmed axes can be traversed on their reference point. Thus, the programmed axes are first traversed with rapid traverse to the specified position and from there automatically to the reference point.
  • Page 31: Checking The Reference Position (g27)

    Automatic reference point approach: Note The function G28 is implemented with the shell cycle cycle328.spf. Before the reference point approach, a transformation must not be programmed for an axis which is to approach the reference point with G28. The transformation is deactivated in cycle328.spf. 3.2.2.2 Checking the reference position (G27) Format...
  • Page 32: Use Of The Thread Cutting Function

    Reference point positions The positions of all the reference points are always determined in relation to the first reference point. The distance of the first reference point from all subsequent reference points is set in the following machine data: Element 2.
  • Page 33 Example Examples of programming: Example of cutting a cylindrical thread (G code system A) Programming example for cutting a cylindrical thread: Example of cutting a taper thread (G code system A) Programming example for cutting a taper thread: Precondition: The technical prerequisite is a speed-controlled spindle with position measuring system Programming and Operating Manual (ISO Turning/Milling) 01/2017...
  • Page 34: Interlinking Of Threads (g32)

    Procedure: From the programmed spindle speed and the thread lead, the control system calculates the required feed with which the turning tool is traversed over the thread length in the longitudinal and/or transverse direction. The feed F is not taken into account for G32, the limitation to maximum axis velocity is monitored by the control system.
  • Page 35 Double-start thread: Format With the commands "G32 X (U)... Z (W)... F... Q... ;", the spindle rotates by the angle specified with the address character Q after the output of the start-point pulse. Thereafter, the thread cutting starts in the direction of the end points specified with X (U) and Z (W) with the lead specified with F.
  • Page 36: Thread Cutting With Variable Lead (g34)

    Programming example for a multiple-start thread (G code system A) Specification of the spindle revolution angles: Note If no starting point offset is specified (with Q), the "start angle for thread" defined in the setting data is used. 3.2.3.4 Thread cutting with variable lead (G34) With the commands "G34 X (U)...
  • Page 37: Measuring Commands

    Calculation of the thread lead change If you already know the starting and final lead of a thread, you can calculate the thread lead change to be programmed according to the following equation: The identifiers have the following meanings: K2e: Thread lead of axis target point coordinate in [mm/U] K2a: Initial thread pitch (progr.
  • Page 38: Workpiece Coordinate System (g50)

    Selection of the machine coordinate system (G53) G53 suppresses non-modal the programmable and the adjustable work offset. Traversing movements in the machine coordinate system on the basis of G53 are then programmed always when the tool is to be traversed to a machine-specific position.
  • Page 39: Writing Work Offset/tool Offsets (g10)

    Workpiece coordinate systems are setup after the reference point approach after Power On. The closed position of the coordinate system is set in MD20154[13]. 3.3.1.5 Writing work offset/tool offsets (G10) The workpiece coordinate systems defined through G54 to G59 or G54 P{1 ... 93} can be changed with the following two processes.
  • Page 40: Defining The Input Modes For The Coordinate Values

    If the X-axis is defined as transverse axis with the machine data 20110 $MC_DIAMETER_AX_DEF = "X" and diameter programming (= Siemens G-code DIAMON) is activated with MD20150 $MC_GCODE_RESET_VALUES[28] = 2, then the programmed axis positions are interpreted as diameter values.
  • Page 41: Time-controlled Commands (g04)

    For tool offset amounts while working with G20 or G21, see the table below: Stored tool offset amount when working with G20 (unit of meas- when working with G21 (unit of meas- urement "inch") urement "mm") 150000 1.5000 inch 15.000 mm 3.3.3 Time-controlled commands (G04) With G04 one can stop the workpiece machining between two NC blocks for a programmed time or number of spindle...
  • Page 42: Tool Length Compensation

    Contents Geometrical dimensions: Length, radius They consist of several components (geometry, wear). The control system computes the components to a certain dimension (e.g., overall length 1, total radius). The respective overall dimension becomes effective when the compensation memory is activated. How these values are calculated in the axes is determined by the tool type and the commands G17, G18, G19 for the plane selection.
  • Page 43 Machining without tool nose radius compensation: Amount of the tool nose radius compensation The term "Amount of the tool nose radius compensation" defines the distance from the tool tip to the cutting edge center point R. Defining the amount of the tool nose radius compensation The amount of the tool nose radius compensation is specified via the circle radius of the tool tip without the sign.
  • Page 44 Checkpoints and programs When using the checkpoints 1 to 8 the imaginary length of the tool tip is to be used as reference while writing the program. The program should be written only after defining the coordinate systems. Program and tool movements for the checkpoints 1 to 8: When using the checkpoints 0 to 9 the cutting edge center point R is to be used as reference while writing the program.
  • Page 45 G function Function G group Tool radius compensation (tool operates in machining direction to the left of the contour) Tool radius compensation (tool operates in machining direction to the right of the contour) The commands G40 and G41/G42 are modal G functions of the G group 07. These remain active for as long as till another function of this G group is programmed.
  • Page 46: S-, T-, M- And B Functions

    Programming example: 3.3.5 S-, T-, M- and B functions 3.3.5.1 Spindle function (S function) The spindle speed is specified in rpm in Address S. The direction of spindle rotation is selected with M3 and M4. M3 = right direction of spindle rotation, M4 = left direction of spindle rotation. The spindle stops with M5. Details are available in the documentation of your machine manufacturer.
  • Page 47: Constant Cutting Rate (g96, G97)

    3.3.5.2 Constant cutting rate (G96, G97) A constant cutting rate is selected and deselected with the following G functions. The commands G96 and G97 act globally and belong to the G group 02. G function Function G group Constant cutting rate ON Deselection of constant cutting rate Constant cutting rate ON (G96) With "G96 S..."...
  • Page 48: Tool Change With T Functions (t Function)

    3.3.5.3 Tool change with T functions (T function) There is a direct tool change when the T word is programmed. The effect of the T function is defined via the machine data. See machine manufacturer's configuration. 3.3.5.4 Additional function (M function) The M functions initiate switching operations, such as "Coolant ON/OFF"...
  • Page 49: M Functions Of Spindle Control (m19, M29)

    3.3.5.5 M functions of spindle control (M19, M29) M function Function Positioning the spindle Changeover of spindle to the axis/open-loop control mode The spindle is traversed to the spindle position defined in the setting data 43240 $SA_M19_SPOS[spindle number] with M19. The positioning mode is stored in $SA_M19_SPOS.
  • Page 50: M Functions (m08, M09)

    In the ISO Dialect a shell cycle is called, which uses the functionality of the standard Siemens cycle. Thus the addresses programmed in the NC block are transferred to the shell cycle via the system variable. The shell cycle customizes these data and calls a standard Siemens cycle.
  • Page 51 Longitudinal turning cycle: Since G90 (G77, G20) is a modal G function, the machining is executed within the cycle by specifying only the infeed motion in the direction of X axis in the subsequent blocks. Longitudinal turning cycle (G code system A): Straight cutting cycle Format G...
  • Page 52 Straight cutting cycle: The sign before the address character R depends on point A' of the viewing direction from point B. Straight cutting cycle (G code system A): ● When the cycle with G90 (G77, G20) is executed with activated single-block mode, the cycle is not terminated in the middle, but stops after the end of the cycle, which comprises of the sequence 1-4.
  • Page 53 Format G... X... Z... F... Q... ; G code system A G code system B G code system C Cycle for cutting cylindrical threads With the commands given above, the cycle for cutting cylindrical threads, sequence 1 - 4, are executed as shown in the figure below.
  • Page 54 Cycle for cutting a cylindrical thread (G code system B): ● When the cycle with G92 (G78, G21) is executed with activated single-block mode, the cycle does not wait on the halfway, but stops after the end of the cycle, which comprises of the sequence 1-4. ●...
  • Page 55 With the commands "G... X(U)... Z(W)... R... F... ;", a cycle for cutting taper threads is executed as per the sequence 1-4 given in the figure below. The sign before the address character R depends on point A' of the viewing direction from point B. Since G92 (G78, G21) is a modal G function, the thread cutting cycle is executed within the cycle by specifying only the cutting depth in the direction of the X axis in the subsequent blocks.
  • Page 56 Feedrate halt during the execution of the thread-cutting cycle: An alarm is output if the size of the chamfer is "0" during the use of G92 (G78, G21) in the cycle. Radial cutting cycle Format G... X... Z... F... ; G code system A G code system B G code system C...
  • Page 57 Straight facing cycle (G code system B): Transverse-taper turning cycle Format G... X... Z... R... F... ; G code system A G code system B G code system C With the commands "G... X(U)... Z(W)... R... F... ;", a transverse-taper turning cycle is executed as per the sequence 1-4 given in the figure below.
  • Page 58: Multiple Repetitive Cycles (g70 To G76)

    In the ISO Dialect a shell cycle is called, which uses the functionality of the standard Siemens cycle. Thus the addresses programmed in the NC block are transferred to the shell cycle via the system variable. The shell cycle customizes these data and calls a standard Siemens cycle.
  • Page 59 G code Description Multiple repetitive grooving cycles in the transverse axis Multiple thread cutting cycle Note In the cycle descriptions given above, the G code system A and B are assumed. Note Consider the following USER DATA setting requirements when calling a cycle with G71/G72: _ZSFI[36] = 0: G71/G72 works with additional contour cut.
  • Page 60 R: (e), Retraction amount This value is modal and remains effective till another value is programmed. The value can also be entered via USER DATA, _ZSFI[31], but this value is overwritten by the value of the program command. G71 P... Q... U... W... F... S... T... P: Starting block for determining the contour Q: Last block for determining the contour U: Finishing allowance in X direction (Δu) (diameter -/radius programming)
  • Page 61 Pockets in case of a stock removal cycle (Type II): Here, the profile of the Z axis must rise or fall uniformly. For example, the following profile cannot be machined: Differentiation between Type I and Type II Type I: Only an axis is specified in the first block in the contour description. Type II: Two axes are specified in the first block of the contour description.
  • Page 62 Cutting path of a stock removal cycle, transverse axis: Format G72 W... R... ; The significance of the addresses W (Δd) and R (e) is the same as that of U and R. G72 P... Q... U... W... F... S... T... ; The addresses P, Q, U (Δu), W (Δw), F, S and T have the same significance as in the cycle G71.
  • Page 63 Note Stock removal cycle transverse axis The contour between the points A and A' is defined through the block specified with the address character P (G00 or • G01). No traversing command can be specified in this block in the X axis. The contour defined between the points A' and B must either be a constantly rising or a constantly falling pattern on the X axis as well as on the Z axis.
  • Page 64 T: Select the tool The F-, S- and T-functions printed within an NC program block and specified through the address characters P and Q are ignored. Only the F-, S- and the T-functions specified in the block with G73 are effective. Finishing cycle (G70) While the roughing is executed with G71, G72 or G73, the finishing is done with the following command.
  • Page 65 N021 G70 P014 Q020 N022 G00 X200 Z220 Stock removal cycle transverse axis: (Diameter programming, input metric) N010 G00 X220.0 Z190.0 N011 G00 X162.0 Z132.0 N012 G72 W7.0 R1.0 N013 G72 P014 Q019 U4.0 W2.0 F0.3 N014 G00 Z59.5 F0.15 S200 N015 G01 X120.0 Z70.0 N016 Z80.0 N017 X80.0 Z90.0...
  • Page 66 Contour repetition: (Diameter programming, input metric) N010 G00 X260.0 Z220.0 N011 G00 X220.0 Z160.0 N012 G73 U14.0 W14.0 R3 N013 G73 P014 Q020 U4.0 W2.0 F0.3 S0180 N014 G00 X80.0 Z120.0 N015 G01 Z100.0 F0.15 N017 X120 Z90.0 N018 Z70 N019 G02 X160.0 Z50.0 R20.0 N020 G01 X180.0 Z40.0 F0.25 N021 G70 P014 Q020...
  • Page 67 Cutting path in case of a deep hole drilling cycle: Format G74 R... ; R: (d), Retraction amount This value is modal and remains effective till another value is programmed. The value can also be entered via USER DATA, _ZSFI[29], but this value is overwritten by the value of the program command. G74 X(U)...
  • Page 68 Cutting path in multiple repetitive grooving cycles in the transverse axis (G75): Format G75 R... ; G75 X(U)... Z(W)... P... Q... R... F... ; The addresses have the same significance here as in the cycle G74. Note If the cycle is used for drilling, the addresses Z(W) and Q cannot be used. Multiple-thread cutting cycle (G76) G76 calls an automatic thread-cutting cycle for cutting a cylindrical or a taper thread, in which the infeed takes place in a specific threaded bracket.
  • Page 69 Cutting path in case of a cycle for cutting multiple-start threads: Infeed during thread cutting: Format G76 P... (m, r, a) Q... R... ; m: Number of finishing cuts This value is modal and remains effective till another value is programmed. The value can also be entered via USER DATA, _ZSFI[24], but this value is overwritten by the value of the program command.
  • Page 70 Example for an address with P: G76 P012055 Q4 R0.5 Q: Minimum infeed depth (Δdmin), radius value Always when the cutting depth during a cycle operation (Δd - Δd-1) becomes less than this limiting value, then the cutting depth remains bound to the value specified with the address Q. This value is modal and remains effective till another value is programmed.
  • Page 71: Drilling Cycle (g80 To G89)

    Note Supplementary conditions In "MDA" mode the commands G70, G71, G72 or G73 are not permitted; else an alarm 14011 is output. However, G74, • G75 and G76 can be used in "MDA" mode. In the blocks with G70, G71, G72 or G73 as well as the sequence numbers specified through the addresses P and Q the •...
  • Page 72 5. Working cycle 5 Retraction till plane R 6. Working cycle 6 Rapid retraction to positioning plane Sequence of the working cycles in the drilling cycle: Explanations: Positioning and drilling axis As shown below, the positioning axis as well as the drilling axis are determined for the drilling through a G function. Thus the C axis and the X or the Z axis correspond to the positioning axis.
  • Page 73 Symbols and figures Given below is an explanation of the individual fixed cycles. These symbols are used in the following figures: Note In all fixed cycles the address character R (distance "initial plane - point R") is treated as radius. However, Z or X (Distance "point R - bottom of a hole) is always treated as diameter or radius, depending upon the type of programming.
  • Page 74 Cycle "high-speed deep hole drilling": Mα: M function for locking the C axis M(α+1): M function for releasing the C axis P1: Dwell time (Program) P2: Specification of the dwell time in USER DATA, _ZSFR[22] d: Specification of the retraction amount in USER DATA, _ZSFR[21] Deep hole drilling cycle (G83, G87) (USER DATA, _ZSFI[20]=1) In case of the deep hole drilling cycle, the drill repeats the infeed with the cutting feedrate.
  • Page 75 Deep hole drilling cycle: Mα: M function for locking the C axis M(α+1): M function for releasing the C axis P1: Dwell time (Program) P2: Specification of the dwell time in USER DATA, _ZSFR[22] d: Specification of the retraction amount in USER DATA, _ZSFR[21] Example M3 S2500 ;Rotate the drilling tool...
  • Page 76 Mα: M function for locking the C axis M(α+1): M function for releasing the C axis P1: Dwell time (Program) P2: Specification of the dwell time in USER DATA, _ZSFR[22] Example M3 S2500 ;Rotate the drilling tool G00 X100.0 C0.0 ;Positioning X and C axis G83 Z-35.0 R-5.0 P500 F5.0 ;Machining of hole 1...
  • Page 77 P_: Dwell time at the bottom of a hole F_: Cutting feedrate K_: Number of repetitions (if required) M_: M function for locking the C axis (if needed) P2: Specification of the dwell time in USER DATA, _ZSFR[22] Explanations During tapping the spindle rotates in clockwise direction in the direction of the bottom of a hole; thereafter, the direction of rotation is reversed for the return.
  • Page 78: Programmable Data Input

    P2: Specification of the dwell time in USER DATA, _ZSFR[22] Explanations After the positioning at the bottom of a hole a traversing movement takes place to point R with rapid traverse. Thereafter, drilling is done from point R to point Z, and a return is done to point R. Example M3 S2500 ;Rotate the drilling tool...
  • Page 79: M Function For Calling Subroutines (m98, M99)

    Address Description Tool offset for the X axis (incremental) Tool offset for the X axis (incremental) Tool offset for the Z axis (incremental) Tool nose radius compensation (absolute) Tool nose radius compensation (incremental) Length of cutting edge Address character P With the address character P, the tool compensation number is specified and at the same time also, whether the offset value is to be modified for the tool geometry or for the wear.
  • Page 80: Eight-digit Program Number (m98, G65/g66)

    Before using program M98 Pnnnnmmmm to call a program, name the program correctly, that is, add the program number always to 4 digits with 0. ● If for example, M98 P21 is programmed, the part program memory is browsed by program name 21.mpf and the subroutine is executed once.
  • Page 81: Measuring Functions (g31)

    PLC signal "measuring input = 1" With the increasing edge of the measuring input 1, the current axis positions are stored in the axial system parameters or $AA_MM[<Axis>] $AA_MW[<Axis>]. These parameters can be read in Siemens mode. $AA_MW[X] Saving the coordinate values for the X axis in the workpiece coordinate system...
  • Page 82: Differences With Subroutines

    To enable internal variable definitions, one must switch automatically to Siemens mode during macro call. One can do this by inserting the instruction PROC<Program name> in the first line of the macro program. If another macro call is programmed in the subroutine, then the ISO-dialect-mode must be reselected in advance.
  • Page 83 $C_I_ORDER[1]=3 $C_J[0]=10 $C_J[1]=22 $C_J_ORDER[0]=1 $C_J_ORDER[1]=2 $C_K[0]=30 $C_K[1]=55 $C_K[2]=33 $C_K_ORDER[0]=1 $C_K_ORDER[1]=2 $C_K_ORDER[2]=3 Note $C_I[0] is a DIN code. To use this code in ISO mode, machine data 20734 $MC_EXTERN_FUNCTION_MASK, Bit 3=1 must be set, with the default value being 800H. Cycle parameter $C_x_PROG In the ISO-dialect-0 mode, the programmed values can be evaluated in different ways, depending on the programming method (integer or actual value).
  • Page 84 For modal call conditions, see the table below: Call conditions Function for mode selection Function for mode deselection after executing a traversing command Specification of a parameter The transfer parameters are defined by programming an Address A - Z. Interrelation between addresses and system variables Interrelation between addresses and variables Address System variable...
  • Page 85 Interrelation between addresses and variables $C_K[0] $C_I[1] $C_J[1] $C_K[1] $C_I[2] $C_J[2] $C_K[2] $C_I[3] $C_J[3] $C_K[3] $C_I[4] $C_J[4] $C_K[4] $C_I[5] $C_J[5] $C_K[5] $C_I[6] $C_J[6] $C_K[6] $C_I[7] $C_J[7] $C_K[7] $C_I[8] $C_J[8] $C_K[8] $C_I[9] $C_J[9] $C_K[9] Note If more than one block of I, J or K addresses are specified, then the sequence of the addresses for each block of I/J/K is determined in such a way that the numbers of the variables are defined according to their sequence.
  • Page 86 Execution of macro programs in the Siemens and ISO modes A called macro program can be called either in Siemens mode or in ISO mode. The language mode in which the program is executed is defined in the first block of the macro program.
  • Page 87: Special Functions

    With this block the program 10123.mpf is called and executed thrice. Restrictions ● Upon the call of a subroutine with G05 no switchover to Siemens mode is made. The command G05 has the same effect as a subroutine call with "M98 P_".
  • Page 88: Milling

    No drop in velocity is required while changing the DryRun mode with the setting machine data 10704 $MN_DRYRUN_MASK==2. Here too, only the premachining that leads to the above-mentioned restrictions, is switched. The following analogy is apparent from this: This will also be active "sometime" after the changeover of the DryRun mode. Milling G code table SINUMERIK ISO dialect milling...
  • Page 89 G code Description Boring cycle, spindle stops and then retraction with G00 after reaching the end in axis Z Reverse countersinking Boring cycle, stay for a while and then retraction with G01, without spindle rotation direc- tion change Group 10 Return to starting point in fixed cycles Return to point R in fixed cycles Group 11...
  • Page 90: Drive Commands

    The cylindrical interpolation is deactivated in closed position or after NC RESET. Note G07.1 is based on the Siemens option TRACYL. For this, the appropriate machine data is to be set. The corresponding data on this is available in the SINUMERIK 808D/SINUMERIK 808D ADVANCED Function Manual, Chapter "Kinematic Transformation".
  • Page 91 Programming example At the cylindrical plane (it arises because the circumference of a cylindrical workpiece is rolled off), in which the Z-axis is accepted as the linear axis and the A-axis as the rotary axis, the following program is written: Program G00 Z30.
  • Page 92: Rapid Traverse (g00)

    – Rotation of the coordinate system (G68) – Setting the basic coordinate system ● The relevant overrides (rapid traverse, JOG, spindle speed) are effective. ● On deselecting this operation with cylindrical interpolation, the interpolation plane that was selected before the operation with the cylindrical interpolation was called becomes active again.
  • Page 93: Linear Interpolation (g01)

    Note As in positioning with G00, the axes traverse independently of each other (not interpolated), each axis reaches its end point at a different time. Hence, one must be very careful in positioning with several axes, so that a tool does not collide with a workpiece of the tool during the positioning.
  • Page 94: Circular Interpolation (g02, G03)

    4.2.1.4 Circular interpolation (G02, G03) Format To start the circular interpolation, please execute the commands specified in the following table. Element Command Description Designation of the plane Circular arc in Plane X-Y Circular arc in Plane Z-X Circular arc in Plane Y-Z Direction of rotation clockwise counterclockwise...
  • Page 95 Direction of rotation The direction of rotation of the circular arc is to be specified as given in the following figure. clockwise counterclockwise Direction of rotation of the circular arc: End point The end point can be specified corresponding to the definition with G90 or G91 as absolute or incremental. If the specified end point does not lie on the circular arc, the system outputs Alarm 14040 "Error in end point of circle".
  • Page 96: Contour Definition Programming And Addition Of Chamfers Or Radiuses

    "A", "R" or "C". Siemens mode The identifiers of chamfer and radius are defined in Siemens mode using the machine data. Name conflicts can be avoided this way. There should be no comma before the identifier of the radius or chamfer.
  • Page 97: Helical Interpolation (g02, G03)

    Selection of plane Chamfer or fillet is possible only in the plane specified through the plane selection (G17, G18 or G19). These functions cannot be used on parallel axes. Note No chamfer/rounding is inserted, if No straight- or circular contour is available in the plane, •...
  • Page 98: Reference Point Approach With G Functions

    4.2.2 Reference point approach with G functions 4.2.2.1 Reference point approach with intermediate point (G28) Format G28 X... Y... Z... ; The commands "G28 X... Y... Z... ;" can be used to traverse the programmed axes to their reference point. Here, the axes are first traversed to the specified position with rapid traverse, and from there to the reference point automatically.
  • Page 99: Checking The Reference Position (g27)

    Return to reference point - rotary axes: Additions to the commands for automatic reference point approach: Tool radius compensation and defined cycles G28 should not be used in operation with tool radius compensation (G41, G42) or in a defined cycle! Note G28 is used to interrupt the tool radius compensation (G40) with eventual axis traverse movement to the reference point.
  • Page 100: Motion Commands

    Element 4. Reference point $_MA_REFP_SET_POS[3] Note Further details of the points that were considered in the programming of G30 are available in the Chapter "Reference point approach with intermediate point (G28)". Function G30 is implemented with the cycle 328.spf as with G28. Motion commands 4.3.1 The coordinate system...
  • Page 101: Workpiece Coordinate System (g92)

    Selection of machine coordinate system (G53) G53 suppresses the programmable and adjustable work offset. Traversing in the machine coordinate system on the basis of G53 are always programmed if the tool is to traverse to a machine-specific position. Compensation deselection If MD10760 $MN_G53_TOOLCORR = 0, then the active tool length and tool radius compensation remains active in a block with G53 If MD10760 $MN_G53_TOOLCORR = 1, then the active tool length and tool radius compensations in a block are...
  • Page 102: Writing Work Offset/tool Offsets (g10)

    4.3.1.5 Writing work offset/tool offsets (G10) The workpiece coordinate systems defined through G54 to G59 or G54 P{1 ... 93} can be changed with the following two processes. ● Data inputting at HMI operator panel ● with the program commands G10 or G92 (setting actual value) Format Modified by G10: G10 L2 Pp X...
  • Page 103: Local Coordinate System (g52)

    4.3.1.6 Local coordinate system (G52) For programming simplification, a type of workpiece coordinate system can be setup to create a program in the workpiece coordinate system. This part coordination system is also called local coordinate system. Format G52 X... Y... Z... ; Setting the local coordinate system G52 X0 Y0 Z0 ;...
  • Page 104: Parallel Axes (g17, G18, G19)

    Selection of plane: ● The Plane X-Y (G17) is selected automatically after activating the control system. ● The command for moving an individual axis can be specified independently of the plane selection by G17, G18 or G19. Thus for instance, the Z axis can be shifted by specifying "G17 Z ..;". ●...
  • Page 105: Rotation (g68/g69)

    Format G68 X_ Y_ R_ ; X_, Y_ : Absolute coordinate values of the rotation center. The actual position is accepted as the rotation center if these are omitted. R_ : Angle of rotation as a function of G90/G91 absolute or incremental. If R is not specified, the value of the channel-specific setting from the setting data 42150 $SC_DEFAULT_ROT_FACTOR_R is used as angle of rotation.
  • Page 106: Defining The Input Modes Of The Coordinate Values

    and 3D rotation, if no angle is programmed, the angle from the setting data 42150 $SC_DEFAULT_ROT_FACTOR_R is active. If a vector is programmed with the length 0 (I0, Y0, K0), the Alarm 12560 "Programmed value outside the permissible limits" is triggered. Two rotations can be switched one after the other with G68.
  • Page 107: Inch/metric Input (g20, G21)

    4.3.2.2 Inch/metric input (G20, G21) Workpiece-related axes can be programmed in metric or inch dimensions alternately, depending on the dimensioning in the production drawing. The input unit is selected with the following G functions. G command Function G group Input in "inch" Input in "mm"...
  • Page 108 Format There are two different types of scaling. Scaling along all axes with the same scaling factor G51 X... Y... Z... P... ; Start scaling G50; Deselection of scaling X, Y, Z: Center coordinate value for the scaling (absolute command) P: Scaling factor Scaling along each individual axis with different scaling factors G51 X...
  • Page 109: Programmable Mirroring (g50.1, G51.1)

    Scaling for each axis and programmable mirroring: Tool offset This scaling is not valid for cutter radius compensations, tool length compensations and tool offset values. Commands for reference point approach and for changing the coordinate system The G27, G28 and G30 functions as well as commands related to the coordinate system (G52 to G59, G92), should not be used when scaling is active.
  • Page 110 Programmable Mirroring: Format X, Y, Z: Positions and mirroring axis G51.1: Command for activating the mirroring Mirroring takes place on a mirroring axis which is parallel to X, Y or Z and whose position is programmed with X, Y or Z. G51.1 X0 is used to mirror on the X axis, G51.1 X10 is used to mirror on a mirroring axis that runs 10 mm parallel to the X axis.
  • Page 111: Time-controlled Commands (g04)

    Tool offset data memory The Siemens tool data memory must be used, as programs in Siemens Mode and in ISO Direct Mode must run alternately on the control system. Hence, length, geometry and wear exist in each tool offset data memory. In Siemens mode, the offset data memory is addressed with "T"...
  • Page 112: Tool Length Compensation (g43, G44, G49)

    4.3.4.2 Tool length compensation (G43, G44, G49) In tool length compensation, the amount of the specified values in the program stored in the tool offset data memory is added to the Z axis or subtracted from it to undertake a offset of the programmed paths according to the length of the cutting tool.
  • Page 113: Cutter Radius Compensation (g40, G41, G42)

    Tool position offset: Settings ● The machine data $MC_TOOL_CORR_MOVE_MODE determines whether the tool length compensation is to be undertaken with the selection of the tool offset or only during the programming of an axis motion. $MC_CUTTING_EDGE_DEFAULT = 0 defines that initially no tool length compensation is active during a tool change. $MC_AUXFU_T_SYNC_TYPE defines whether the output of the T function to the PLC takes place during or after the traversing movement.
  • Page 114 Commands The cutter radius compensation is called with the following G functions. G function Function G group Deselection of the tool radius compensation Tool radius compensation (tool works in machining direction to the left of the contour) Tool radius compensation (tool works in machining direction to the right of the contour) The tool radius compensation is called by executing G41 or G42 and deselected through G40.
  • Page 115 Note A block with path zero is also taken as interruption! Changeover between G41 and G42 in operation with cutter radius compensation The offset direction (left or right) can be changed over directly without having to leave the compensation mode. The new offset direction is approached with the next block, through an axis motion.
  • Page 116: Collision Detection

    4.3.4.4 Collision detection Activation via the NC program Although the "Collision detection" function is available only in Siemens mode, it can also be used in ISO dialect mode. Activation and deactivation must be undertaken only in Siemens mode. G290 ;Activation of Siemens mode CDON ;Activation of the detection of bottlenecks...
  • Page 117 Activation by setting machine data MD20150 $MC_GCODE_RESET_VALUES[22] = 2: CDON (effective modal) MD20150 $MC_GCODE_RESET_VALUES[22] = 1: CDOF (not effective modal) Function With active CDON (Collision Detection ON) and active tool radius compensation, the control system monitors tool paths through look-ahead contour calculation. This Look Ahead function allows possible collisions to be detected in advance and permits the control to actively avoid them.
  • Page 118 Detection of bottlenecks As the selected tool radius for machining this inside contour is too big, the bottlenecks are bypassed. An alarm is output. Detection of bottlenecks: Contour definition shorter than tool radius The tool traverses the tool angle on a transition circle and then follows exactly the programmed contour. Contour definition shorter than tool radius: Programming and Operating Manual (ISO Turning/Milling) 01/2017...
  • Page 119: S-, T-, M- And B Functions

    Tool radius too large for internal machining In such cases, a machining of the contour takes place only to the extent possible without damaging the contour. Tool radius too large for internal machining: 4.3.5 S-, T-, M- and B functions 4.3.5.1 Spindle function (S function) The spindle speed is specified in rpm in Address S.
  • Page 120: M Functions Of Spindle Control (m19, M29)

    The NC-specific M functions are described below. M functions to stop operations (M00, M01, M02, M30) A program stop is triggered with this M function and the machining is interrupted or ended. Whether the spindle is also stopped depends on the specification of the machine manufacturer. Details are available in the documentation of your machine manufacturer.
  • Page 121: Macro Call Via M Function

    4.3.5.6 Macro call via M function Via M numbers, one can call a subroutine (macro) similar to G65. The configuration of a maximum of 10 M functions replacements is undertaken via machine data 10814 $MN_EXTERN_M_NO_MAC_CYCLE and machine data 10815 $MN_EXTERN_M_NO_MAC_CYCLE_NAME. Programming takes place identical to G65.
  • Page 122: Controlling The Feedrate

    The commands COMPON, COMPCURV, COMPCAD are commands of the Siemens language and they activate a compressor function that combines several linear blocks into one machining section. If this function is activated in Siemens mode, even linear blocks in ISO mode can be compressed with this function.
  • Page 123: Additional Functions

    In ISO dialect mode, a shell cycle is called which uses the functionality of the Siemens standard cycles. This way, the addresses programmed in the NC block are transferred to the shell cycle via system variables. The shell cycle adjusts this data and calls a Siemens standard cycle.
  • Page 124 Explanations On using fixed cycles, the sequence of operation in general is always as described below: ● 1. Working cycle Positioning in X-Y plane with cutting feedrate or rapid traverse rate ● 2. Working cycle Rapid traverse movement to plane R ●...
  • Page 125 Zp: Z axis or an axis parallel to the Z axis Note Whether the Z axis should always be used as the drilling axis can be defined with USER DATA, _ZSFI[0]. The Z axis is then always the drilling axis, if _ZSFI[0] is equal to "1". Execution of a fixed cycle The following is necessary to execute a fixed cycle: 1.
  • Page 126: High-speed Deep Hole Drilling Cycle With Chip Breakage (g73)

    Plane for the return point (G98/G99): Repeat If several holes are drilled at uniform spacing, the number of repetitions is specified with "K". "K" is effective only in the block in which it is programmed. If the drilled hole position is programmed as absolute (G90), drilling is done at the same position again;...
  • Page 127 R: Distance from the initial plane to plane R Q: Single drilling depth F: Feedrate K: Number of repetitions High-speed deep hole drilling cycle with chip breakage (G73): Explanations On using the G73 cycle, the retraction motion takes place after the drilling with rapid traverse. The safety clearance can be specified with GUD _ZSFR[0].
  • Page 128: Fine Drilling Cycle (g76)

    Changeover of the axes Before changing over the drilling axis, one must first deselect the fixed cycle. Deep-hole drilling The drilling cycle is executed only if an axis motion, e.g., is programmed with X, Y, Z or R. Always program Q and R in one block with an axis motion, otherwise the programmed values will not be stored modally. Deselection The G functions of Group 01 (G00 to G03) and G73 should not be used together in one block, as otherwise G73 is deselected...
  • Page 129 Fine drilling cycle (G76): Note Address Q is a modal value that is stored in the fixed cycles. Please ensure that this address is also used as interface for the cycles G73 and G83! Explanations The spindles stops at a fixed spindle position after the bottom of a hole is reached. The tool is returned opposite the tool tip. The safety clearance can be specified with GUD _ZSFR[0].
  • Page 130: Drilling Cycle, Counterboring (g81)

    Restrictions None. Changeover of the axes Before changing over the drilling axis, one must first deselect the fixed cycle. Drilling The drilling cycle is executed only if an axis motion, e.g. is programmed with X, Y, Z or R. Always program Q and R only in one block with a retracting movement, otherwise the programmed values are not stored modally.
  • Page 131 Drilling cycle counterboring (G81): Restrictions None. Changeover of the axes Before changing over the drilling axis, one must first deselect the fixed cycle. Drilling The drilling cycle is executed only if an axis motion, e.g. is programmed with X, Y, Z or R. Always program R only in one block with an axis motion, otherwise the programmed values are not stored modally.
  • Page 132: Countersink Drilling Cycle (g82)

    4.4.1.5 Countersink drilling cycle (G82) This cycle can be used for normal drilling. A programmed dwell time can be active on reaching the drilling depth Z; the retraction motion is then executed in rapid traverse. Format G82 X... Y... R... P... F... K... ; X,Y: Drilled hole position Z: Distance from point R to the bottom of the hole R: Distance from the initial plane to plane R...
  • Page 133: Deep Hole Drilling Cycle With Chip Removal (g83)

    G90 G99 G82 X200. Y-150. Z-100. R50. ;Positioning, drilled hole 1, P1000 F150. ;stop on the bottom of a hole for 1 s ;then return to point R Y-500. ;Positioning, drilled hole 2, ;then return to point R Y-700. ;Positioning, drilled hole 3, ;then return to point R X950.
  • Page 134: Boring Cycle (g85)

    set in USER DATA, _ZSFR[10]. The path and the cutting depth for each cutting feedrate Q are traversed with cutting feedrate. Q is incremental without having to specify signs. Changeover of the axes Before changing over the drilling axis, one must first deselect the fixed cycle. Drilling The drilling cycle is executed only if an axis motion, e.g.
  • Page 135 Boring cycle (G85): Explanations A traversing movement takes place to point R in rapid traverse after the positioning along the X and Y axis. Drilling takes place from point R to point Z. On reaching point Z, a retraction motion to point R takes place with cutting feedrate. Restrictions None.
  • Page 136: Boring Cycle (g86)

    4.4.1.8 Boring cycle (G86) Format G86 X... Y... R... F... K... ; X,Y: Drilled hole position Z: Distance from point R to the bottom of the hole R: Distance from the initial plane to point R F: Feedrate K: Number of repetitions Boring cycle (G86): Explanations Point R is approached in rapid traverse after positioning the X and Y axes.
  • Page 137: Boring Cycle - Reverse Countersinking (g87)

    F150. ;then return to point R Y-500. ;Positioning, drilled hole 2, ;then return to point R Y-700. ;Positioning, drilled hole 3, ;then return to point R X950. ;Positioning, drilled hole 4, ;then return to point R Y-500. ;Positioning, drilled hole 5, ;then return to point R G98 Y-700.
  • Page 138 Note Address Q (gear change at the base of a drilled hole) is a modal value that is stored in fixed cycles. Please ensure that this address is also used as interface for the cycles G73 and G83! Explanations The spindle stops at a fixed rotary position after positioning along the X and Y axis. The tool travels in the direction opposite to that of the tool tip.
  • Page 139: Boring Cycle (g89)

    Deselection The G functions of Group 01 (G00 to G03) and G87 should not be used together in one block, as otherwise G87 is deselected. Example M3 S400 ;Rotary motion of stem G90 G0 Z100. G90 G87 X200. Y-150. Z-100. R50. Q3. ;Positioning, drilled hole 1, P1000 F150.
  • Page 140: Drilling A Right-hand Thread Without Any Compensating Chuck" Cycle (g84)

    Restrictions None. Changeover of the axes Before changing over the drilling axis, one must first deselect the fixed cycle. Drilling The drilling cycle is executed only if an axis motion, e.g. is programmed with X, Y, Z or R. Always program R only in one block with an axis motion, otherwise the programmed values are not stored modally. Deselection The G functions of Group 01 (G00 to G03) and G89 should not be used together in one block, as otherwise G89 is deselected.
  • Page 141 "Drilling a right-hand thread without any compensating chuck" cycle (G84): Explanations The cycle creates the following sequence of motions: ● Approach of reference plane shifted by the amount of the safety clearance with G0. ● Oriented spindle stop and transfer of spindle in the Axis mode. ●...
  • Page 142: Drilling A Left-hand Thread Without Any Compensating Chuck" Cycle (g74)

    S command An error message is displayed if the specified gear stage is one step higher than the maximum permissible value. F function An error message is displayed if the value specified for the cutting feedrate exceeds the maximum permissible value. Unit of the F command G function Metric input...
  • Page 143 "Drilling a left-hand thread without any compensating chuck" cycle (G74): Explanations The cycle creates the following sequence of motions: ● Approach of reference plane shifted by the amount of the safety clearance with G0. ● Oriented spindle stop and transfer of spindle in the Axis mode. ●...
  • Page 144: Left Or Right Tapping Cycle (g84/g74)

    S command An error message is displayed if the specified gear stage is one step higher than the maximum permissible value. F function An error message is displayed if the value specified for the cutting feedrate exceeds the maximum permissible value. Unit of the F command G function Metric input...
  • Page 145 Deep hole tapping with chip breakage (USER DATA, _ZSFI[1] = 2): 1. The tool is traversed with the programmed feedrate. 2. The retraction velocity can be affected with USER DATA, _ZSFI[2]. Deep hole tapping with chip breakage (USER DATA, _ZSFI[1] = 3): Programming and Operating Manual (ISO Turning/Milling) 01/2017...
  • Page 146: Deselection Of A Fixed Cycle (g80)

    Deep hole tapping with chip breakage/removal After positioning along the X and Y axes, there is a traversing movement at rapid traverse to point R. The machining is done from point R onwards with a cutting depth Q (cutting depth per cutting feedrate). Finally, the tool is retracted by the distance d.
  • Page 147 Sample program N001 G49 ; Deselect the tool length compensation N002 G10 L10 P11 R200. ; Setting the tool offset 11 to +200. N003 G10 L10 P15 R190. ; Setting the tool offset 15 to +190. N004 G10 L10 P30 R150. ;...
  • Page 148: Programmable Data Input (g10)

    4.4.2 Programmable data input (G10) 4.4.2.1 Changing the tool offset value Existing tool offsets can be overwritten via G10. It is not possible to create new tool offsets. Format G10 L10 P... R... ; Tool length compensation, geometry G10 L11 P... R... ; Tool length compensation, wear and tear G10 L12 P...
  • Page 149: Eight-digit Program Number (m98, G65/g66)

    4.4.3 Eight-digit program number (M98, G65/G66) An eight-digit program number selection is activated with the machine data 20734 $MC_EXTERN_FUNCTION_MASK, Bit 6=1. This function affects M98 and G65/66. y: Number of program runs x: Program number Subprogram call $MC_EXTERN_FUNCTION_MASK, Bit 6 = 0 M98 Pyyyyxxxx or M98 Pxxxx Lyyyy Max.
  • Page 150: Measuring Functions

    PLC signal "Measurement input = 1" With the rising edge of the measurement input 1, the current axis positions are stored in the axial system parameters or $AA_MM[<Axis>], $AA_MW[<Axis>]. These parameters can be read in Siemens mode. $AA_MW[X] Saving the coordinate value of the X axis in the workpiece coordinate system...
  • Page 151 Note Alarm 21700 is output if G31 is activated when the measuring signal is still active. Program continuation after the measuring signal If incremental axis positions are programmed in the next block, these axis positions are related to the measuring point, i.e. the reference point of the incremental position is the axis position at which the delete distance-to-go was executed by the measuring signal.
  • Page 152: Tool Life Control" Function

    G31 is an absolute command for 2 axes: 4.4.5.2 "Tool life control" function Tool life monitoring and workpiece count can be undertaken with Siemens Tool Management. 4.4.6 Macro programs Macros may consist of several part program blocks that are completed with M99. In principle, macros are subroutines that are called with G65 Pxx or G66 Pxx in the part program.
  • Page 153 To enable internal variable definitions, one must switch automatically to Siemens mode during macro call. One can do this by inserting the instruction PROC<Program name> in the first line of the macro program. If another macro call is programmed in the subroutine, then ISO dialect mode must be reselected in advance.
  • Page 154 (real/integer) in the cycles any more, and therefore there is no evaluation of the programmed values with the correct conversion factor. There are two system variables $C_TYP_PROG. $C_TYP_PROG for information as to whether REAL or INTEGER programming was undertaken. The structure is the same as that of $C_ALL_PROG and $C_INC_PROG. If the value is programmed as INTEGER, then Bit is set to 0, for REAL it is set to 1.
  • Page 155 Interrelation between addresses and variables $C_V $C_W $C_X $C_Y $C_Z Interrelation between addresses and system variables To be able to use I, J and K, these must be specified in the I, J, K sequence. As the I, J and K addresses in a block containing a macro call can be programmed up to 10 times, access to the system variables within the macro program for these addresses must take place with an index.
  • Page 156 Execution of macro programs in the Siemens and ISO modes A called macro program can be called either in Siemens mode or in ISO mode. The language mode in which the program is executed is defined in the first block of the macro program.
  • Page 157: Macro Call Via G Function (g21)

    N20 G01 F=FEED G95 S=S_SPEED N80 M17 Macro program in ISO mode: _N_0010_SPF: G290; Changeover to Siemens mode, ; to read the transfer parameters N15 X_AXIS = $C_X Y_AXIS = $C_Y S_SPEED = $C_S FEED = $C_F N20 G01 F=$C_F G95 S=$C_S N10 G1 X=$C_X Y=$C_Y G291;...
  • Page 158 Programming example PROC MAIN . . . N0090 G291 ; ISO mode N0100 G1 G21 X10 Y20 F1000 G90 Call of G21_MAKRO.spf, G1 and G90 are activated before the call of G21_MAKRO.spf . . . N0500 G90 X20 Y30 G123 G1 G54 Call of G123_MAKRO.spf, G1, G54 and G90 are activated before the call of...
  • Page 159: Special Functions

    N3010 G123 Alarm 12470, because G123 is not a G function and a macro call is not possible for active macro Exception: The macro was called as subroutine with CALL G123_MAKRO. N4000 label_end: G290 N4010 M17 4.4.7 Special functions 4.4.7.1 Contour repetition (G72.1, G72.2) A contour programmed once can be repeated easily with G72.1 and G72.2.
  • Page 160 Examples Contour repetition with G72.1: Main program N10 G92 X40.0 Y50.0 N20 G01 G90 G17 G41 20 Y20 G43H99 F1000 N30 G72.1 P123 L4 X0 Y0 R90.0 N40 G40 G01 X100 Y50 Z0 N50 G00 X40.0 Y50.0 ; N60 M30 ; Subroutine 1234.spf N100 G01 X10.
  • Page 161: Switchover Modes For Dryrun And Skip Levels

    Contour repetition with G72.2: Main program N10 G00 G90 X0 Y0 N20 G01 G17 G41 X30. Y0 G43H99 F1000 N30 Y10. N40 X30. N50 G72.2 P2000 L3 I80. J0 Subroutine 2000.mpf G90 G01 X40. N100 Y30. N200 G01 X80. N300 G01 Y10. N400 X110.
  • Page 162 Trademarks All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner. Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described.

This manual also for:

Sinumerik 808d advanced

Comments to this Manuals

Symbols: 0
Latest comments: