Siemens SINUMERIK 880 Programming Manual
Siemens SINUMERIK 880 Programming Manual

Siemens SINUMERIK 880 Programming Manual

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

Quick Links

SINUMERIK 880, SW 6
SINUMERIK 880 GA2, SW 1
Programming Guide
User Documentation
01.93 Edition

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SINUMERIK 880

  • Page 1 SINUMERIK 880, SW 6 SINUMERIK 880 GA2, SW 1 Programming Guide 01.93 Edition User Documentation...
  • Page 2 SINUMERIK 880, SW6 SINUMERIK 880 GA2, SW1 Programming Guide User Documentation Applies to: Numerical control Software Version SINUMERIK 880 T/M SINUMERIK 880 GA2 T/M January 1993 Edition...
  • Page 3 This does not, however, represent an obligation to supply such functions with a new control or when servicing. This publication was produced on the Siemens 5800 Office System. Subject to change without prior notice. The reproduction, transmission or use of this document or its contents is not permitted without express written authority.
  • Page 4 • to program motion blocks, switching, auxiliary and miscellaneous functions. For further information on other SINUMERIK 880 publications and on publications which apply for all SINUMERIK controls (e.g. CL 800 Cycle Language, Universal Interface etc.), please get in touch with your Siemens local branch office or national Siemens organization.
  • Page 5 Technical Comments Other functions not described in this documentation might be executable in the control. This does not, however, represent an obligation to supply such functions with a new control or when servicing. For simplicity, preparatory functions have been programmed in the examples even if they are basic settings.
  • Page 6 Directions of Movement, Dimensioning Programming of Motion Blocks Switching, Auxiliary and Miscellaneous Functions Subroutines Parameters Contour Definition Tool Offsets Cutter Radius Compensation (CRC), Tool Nose Radius Compensation (TNRC) Programming of Cycles Input/Output Formats SINUMERIK 880/880 GA2 Program Key SINUMERIK 880/880 GA2...
  • Page 7: Table Of Contents

    Contents Page General Notes ........... 1–1 Fundamentals of Programming .
  • Page 8 ... . . 5–5 Fill FIFO buffer (from SINUMERIK 880 GA2) ....5–6...
  • Page 9 Subroutines ......... . 6–1 Application .
  • Page 10 Internal breakdown of G groups with @36b ......13–1 13.2 Overview of G commands for SINUMERIK 880/880 GA2 ....
  • Page 11: General Notes

    The program sorts this information into the necessary sequence and translates it into a language which can be readily understood by the SINUMERIK. This Programming Guide describes the programming possibilities for the SINUMERIK 880 and the standard range of functions of the system. The maximum values specified are limit values.
  • Page 12: Fundamentals Of Programming

    Program structure: Part program in input/output format Subroutines and cycles can be components of the program. Cycles are subroutines which have been created either by the machine manufacturer or by SIEMENS. They can be specially protected against misuse. The input sequence is arbitrary.
  • Page 13: Block Format

    . When the program is printed out, this character does not appear. If an address character is programmed more than once, the address character programmed last is valid. 2–2 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 14: Block Elements

    A program section comprises one main block and several subblocks, e.g.: :10 G01 X10 Y-15 F200 (Main block) N20 Y35 (1st subblock) N30 X20 Y40 (2nd subblock) N40 Y–10 (3rd subblock etc.) 2–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 15: Skippable Blocks

    L999 (disable pre-reading; @ 714) after the block containing M00. Differential block skip allows blocks to be skipped in nine levels. The skip levels are distinguished by identifying the skippable blocks with ”/”, ”/1”...”/8”. 2–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 16: Remarks

    A sign is written between the address letters and the string of digits. A positive sign can be omitted. Address Numerical value Word Word structure: Format of a word 2–5 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 17 Second and third digits Decades Digit string positions before and after decimal point (coordinate values X, Y, Z, I, J, K in mm) Character End of block 2–6 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 18 Abbreviated input of values X, Y, Z, I, J, K, ... Example: Input means 1100 µm 1.1 mm Input means 10000 µm 10.0 mm Input means 1000 µm 1.0 mm All values with input resolution 0.001 mm. 2–7 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 19: Character Set

    Other control characters are shown in the code table. Data output The following characters are generated: SP (after every word) CR generated twice after L or once before L (setting data) 2–8 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 20: Tapes

    The leader is used to identify the programs. The tape leader can include all characters except the start-of-program character (%). The leader is not stored, and is ignored by the control during program processing. Shaft 1579 2–9 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 21: Read-In Stop

    (M02, M17, M30) will not stop the reader during reading in of the tape. The read-in process is not halted until the end-of-transmission character is reached. Leader Setting data %... either Individual stop L... Central stop [End character] e.g. $ 2-10 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 22: Input/Output Formats

    G 254X=...Z=... 1st to 4th settable offset fine G 257X=...Z=... (axis-specific) (M30 Zero offset End of data block %ZOA 1...16 Angle of rotation, channel-specific G 154A= G157A= (M30 2–11 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 23 Tool offsets (TOOL OFFSET ACTIVE) per TO area (MD) D1 P0=...P1=...P9=... Tool offsets (number of parameters corresp. to MD) D2 P0=...P1=... (M30 Tool offsets End of data block 2–12 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 24 User memory submodule :Hexcode Configured data :Hexcode Configured data (M30 User memory submodule End of data block %PCF 1...16 PLC error message texts N6xxx (Text) N7xxx (Text) (M30 2–13 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 25 Simulation tool data T2 P0=...P11=...LF Simulation tool data - End of data block Memory areas The memory areas of the SINUMERIK 880 control are addressed by means of the following identifiers: Identifier Part program (Main Program File) Subroutine (Sub Program File)
  • Page 26: Code Table

    • • • • • • • • • • • × • • • • • • • • • • • • • – • × 2–15 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 27 • • • • • • • × • • • • • • • • • • • • • • • • % not allowed tape leader 2–16 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 28 • • • • • • • • • • • • • • • • • • • • • • • • • • • 2–17 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 29: Channel-Specific Programming

    SINUMERIK 880, SW 6 can be divided into a maximum of 16 channels. SINUMERIK 880 GA2, SW 1 can be divided into a maximum of 8 channels chosen from 1 to 16. The following channels can be activated, for example: •...
  • Page 30 Slide 1, main spindle, auxiliary spindle • Turret 1, • Slide 2, • Turret 2 and • Loader can be allocated to the channels of the SINUMERIK 880 according to the following scheme: Central part program memory Channel Max. 16 chan- nels with (S1) SINU-...
  • Page 31: Directions Of Movement, Dimensioning

    Default allocations for turning machines: Main axes X and Z Default allocations for milling machines: Main axes X, Y and Z Axis addresses are freely selectable via the machine data. 3–1 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 32: Plane Selection

    Plane X – Y (1st axis – 2nd axis) Plane X – Z (1st axis – 3rd axis) Plane Y – Z (2nd axis – 3rd axis) 3–2 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 33: Position Data, Preparatory Functions

    The tool is at position (P1) X = 20, Y = 10 and is to move to position (P2) X = 60, Y = 30. The input is: G90 X60 Y30 The tool moves to the programmed target position irrespective of its current position. Y=30 X=60 3–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 34 G 90 if compensating values have previously been allowed for (zero offset, tool offset ...): • G 74 • G 200 • @ 720 • Selection and deselection of a transformation (also coordinate rotation) 3–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 35 G90 and/or G91 (machining by turning). Axes, angles and interpolation parameters (not contour definition) can be programmed together in one block provided that the machine data are appropriately set. 3–5 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 36: Reference Points

    The reference dimension is defined in the machine data. P is the reference point for setting the tool. Example: Turning machine (machining in front of the centre of rotation) 3–6 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 37 Machine zero Workpiece zero Machine reference point Slide reference point Workpiece reference point XMR, ZMR Reference point coordinates XMW, ZMW Zero offsets XFP, ZFP Tool geometry L1, L2 3–7 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 38: Zero Offset G54

    1st programmable ZO (G58) 2nd programmable ZO (G59) Suppression with G53 External ZO (from PLC) DRF offset (with handwheel) Suppression PRESET offset with @706 Sum of zero offsets 3–8 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 39 Y = 0.5 For reasons of compatibility, the format G54 X = 250 can be read in, the values then being entered into the settable ZO (coarse). 3–9 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 40 A block containing G58 or G59 must not include any functions other than the zero offsets. Up to 5 axes can be written in a block with G58/G59. 3–10 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 41 The programmable zero offset values set in this program are automatically deleted each time the program is terminated with M02 or M30 or program abort. All programmable ZOs are deleted with RESET. 3–11 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 42 Fine setting 1st programmable ZO (G58) Suppression with G53 2nd programmable ZO (G59) External ZO (from PLC) DRF offset (with handwheel) PRESET offset Cancellation of zero offsets 3–12 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 43 N30 D0 (Cancellation of tool offset) N35 G53 X . . . Y . . . (Cancellation of all zero offsets and travel to position in machine system) 3–13 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 44: Path Calculation

    Path = absolute position data P2 - absolute position data P1 + ZOP2 - ZOP1 +TOP2 - TOP1 With incremental position data input Path = incremental position data + ZOP2 - ZOP1 +TOP2 - TOP1. 3–14 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 45: Workpiece Dimensioning, Input System

    Position data X, Y, Z • Interpolation parameters I, J, K • Chamfers/radii U-/U (B-/B) • Parameters related to position data, interpolation parameters and chamfers/radii. • Programmable zero offset (G58, G59) 3–15 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 46 3.7 Workpiece dimensioning, input system G70/G71 Example: G71 - Initial setting (metric) B=1.”(Inch)” 110.8 75.4 mm Input in inches initial setting G71 (shaft) Z50. (P2) X–1 (P3) X–30. (P4) 3–16 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 47: Mirroring

    In the case of turning machines the following will be mirrored with a transverse axis as a function of machine data: • Tool length offset • Position of tool cutting point When mirroring the Z axis this does not apply. 3–17 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 48 In order to mirror the workpiece at the correct position, the zero must be offset by the value ”a”. This results in the distance of both workpieces from zero being the same. After mirroring, the zero can be reset to its original position. 3–18 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 49 Program sections which must be mirrored take the form of self-contained subroutines in the program. The relevant mirroring function for the contour must then be selected before calling the subroutine. 3–19 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 50 Special function @714 (clear buffer) makes it possible to stop any additional block increment calculation until the buffer is empty (please refer to Section 11). @714 or L999 must be used for all externally induced offsets, e.g. mirroring. 3–20 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 51: Programmable Working Area Limitation

    -99999.999 and +99999.999 respectively are input for the minimum and maximum values per axis in the setting data. Programmable working area limitation –50 Example of working area limitation for turning machine 3–21 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 52 ( Machining the outside edge of the workpiece ) N010 F500 N015 N020 ( Programmable coordinate rotation ) N025 ( Subroutine e.g. for elongated hole machining ) N030 N035 N040 N045 N050 N055 3–22 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 53 Programmed angles of rotation can be programmed in absolute or incremental dimensions. They are deleted by program end (M02, M30), program abort or switching the control OFF and then ON again. 3–23 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 54 • If a coordinate rotation and a zero offset are active, neither a transition to another coordinate rotation or zero offset nor a plane change are permitted. 3–24 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 55 If only one coordinate is programmed and a block search is executed or the program is aborted with "Reset" and restarted, it is no longer certain that the programmed positions will be approached. 3–25 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 56 P1 (X50, Z0 rotated through 30°). To prevent this, must be programmed in block X50, Z0 X68.301 Z18.301 X52.452, Z–9.151 X50, Z50 X50, Z18.301 30° P0=P4 3–26 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 57: Scale Modification

    The scale modification is linked to an “empty buffer” (@714). This function is triggered internally by block preparation. Example: possible representations in the program N... N... P1.5 N... N... N... P1.5 N... N... 3–27 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 58: Reference Point Approach With Synchronization By Program G74

    Note: After programming of G 74 the axis must once be programmed with G90 if compensating values have previously been allowed for (zero offset, tool offset ...). 3–28 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 59: Programming Of Motion Blocks

    If a modulo rotary axis (± 360°) is in follow-up mode, G68 is activated automatically for the next traversing block on NC Start. In the case of incremental programming (G91) the traversing range is ±99999.999 degrees. Example: N10 ... N40 G91 C99999.999 4–1 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 60: Axis Motion Without Machining G00

    The term “auxiliary axis” designates an axis used for workpiece or tool handling (loader, turret, magazine etc.) as opposed to actual workpiece machining. With the SINUMERIK 880 control, the auxiliary axes are programmed in the same way as the NC main axes, i.e. there is no difference between these two axis types 4.1.1...
  • Page 61: Axis Motions With Machining

    Linear motion • paraxial • in two axes • in three axes • in four axes • in five axes Circular interpolation: Circular motion in 2 axes (plane) 4–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 62: Linear Interpolation G01

    Spindle on, tool rapid traverse to P01, clockwise rotation at 800 rev/min Infeed in Z Tool traverse P01 to P02, feedrate 150 mm/min N20/N25 Rapid traverse retraction End of program 4–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 63 Infeed to depth Z-5, feedrate 100 mm/min Tool traverse along a straight line from P01 to P02 , feedrate 200 mm/min N20/N25 Rapid traverse retraction End of program 4–5 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 64 Tool rapid traverse to P01 Infeed to Z-12, feedrate 100 mm/min Tool traverse along a straight line in space to P02 N20/N25 Rapid traverse retraction End of program 4–6 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 65: Circular Interpolation

    The tool will move in a clockwise direction with G02 or in a counter-clockwise direction with G03. G02 G03 Circular interpolation 4–7 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 66: Interpolation Parameters I, J, K

    Similarly any end point coordinates which are the same as for the starting point of the circular path need not be programmed. At least one axis must be programmed for a full circle (X0, Y0 or Z0). Circular interpolation with interpolation parameters 4–8 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 67 Tool rapid traverse to point P01 Infeed to Z-5 X-Y plane selected automatically (reset). Tool traverse clockwise around a full circle (G02) N20/N25 Rapid traverse retraction End of program 4–9 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 68 = Programmed centre point K1, K2 > MD 7 Error = Compensated centre point Principle of circle compensation The tolerance range is determined by one machine data. 4–10 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 69: Radius Programming

    N10 G02 G90 X30 Z45 B15 Tool traverse from P2 to P1 The radius designation is determined by machine data as follows: generally B for turning machines and U for milling machines. 4–11 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 70 (Interpolation parameters) N05 G03 G90 X40. Z80. B+15. F500 Tool traverses from P1 to P2 N10 G02 X70. Z65. B+15. Tool traverses from P2 to P1 (Radius programming) 4–12 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 71: Helical Interpolation

    The maximum permissible speed of the axes used for interpolation is monitored, and the feedrate is restricted when the speed limit is exceeded (i.e. V > V prog 4–13 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 72 – type of interpolation (G02/G03) – the circular axes, – the interpolation parameter or circle radius. Linear information including 1 to 3 axes to be traversed in linear direction. 4–14 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 73: Cylindrical Interpolation

    G92 P.. The input resolution for P is 10 . The value range for P is 0.00001 to 99.99999. 4–15 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 74 N35 G03 B76 Y44 U20 (Radius) N40 G01 B103 Y124 (Straight line) N85 G92 P1 B (Deselection of cylindrical interpolation) The radius ”R20” is traversed in the Y and B axes. 4–16 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 75: Polar Coordinates G10/G11/G12/G13/G110/G111

    (reference axis). The positive direction of this axis corresponds to an angle of 0 degrees. Angles are specified as absolute or incremental and positive or negative data. 4–17 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 76 N30 G11 B56.56 F . . . (P3) N35 B58.2 A+149 (P4) N25 Approach starting position P0 in rapid traverse N30 Machine outer contour of workpiece with feedrate F... 4–18 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 77 N15 G11 X30 Y25 U20 A0 F100 (P1) N20 A60 (P2) N25 A120 (P3) N30 A180 (P4) N35 A240 (P5) N40 A300 (P6) N45 A0 (P1) N50 G0 Z100 4–19 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 78 Approach tool change point Change tool Approach first drilling position and call drilling cycle Approach second drilling position and automatic call of drilling cycle Cancel drilling cycle and clear 4–20 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 79 (G10) last programmed is valid as feedrate. No axis movement can be performed in the block with G111. Example with G110: B40 F100 G110 A30 B30 G110 G110 A45 B50 4–21 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 80: Feedrate F, G94, G95, G96, G97, G195

    The programmed feedrate F can be modified between 1% and 120% by means of a feedrate override switch at the machine control panel. The 100% setting corresponds to the programmed value. 4–22 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 81 One gear speed only is used for a constant cutting speed. It is not permissible to change the gear speed. The relevant gear speed must be selected in advance. 4–23 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 82 Leading axis = S (hob) • Following axis = C (workpiece) • Transmission ratio C/S = 1/Z; Z = number of teeth of gear to be cut 4–24 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 83 N70 X100 N80 G195 C G91 Z–200 F0. 1 Hob is moved parallel to the workpiece axis at feedrate 0.1 m/revolution of workpiece N90 G00 X–100 Workpiece 4–25 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 84: Exact Positioning G09/G60, G00, Continuous Path Operation

    G00 will be the same as that of G09/G60. The rapid traverse motion generally has a larger exact positioning window. This saves time during rapid traversing (earlier block change). 4–26 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 85: Continuous Path Operation

    When applying a dry run feedrate with G64, the dry run feedrate is used both during the block and at the end of the block. The programmed feedrate value is not used. Block limits Continuous path operation G64 4–27 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 86 No reduction occurs at the first block limit if F1 FG62 + F DECEL Reduction only to F3 at the second block limit if F2 FG62 + F DECEL 4–28 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 87: Change From Continuous Path Operation To Rapid Traverse

    168* ”Servo enable trav. axis” is displayed. The exact stop function G09 also acts on a thread and must therefore be programmed in the last thread block. The command G60 has no effect with the thread function. 4–29 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 88: Dwell G04

    Approach in quarter circle G347 Approach in semi circle G148 Retraction linear G248 Retraction in quarter circle G348 Retraction in semi circle Retraction from the contour as it was approached 4–30 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 89 Approaching a linear contour in a quarter circle N05 G01 G41 Y10 X20 D . . . F . . . LF (PA) N10 G247 Y40 X70 B25 N15 G01 Y70 N20 M30 4–31 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 90 N10 G01 G41 Y15 X70 D... F... L N15 G347 Y53 X15 B50 L N20 G03 Y15 X53 I38 J0 L N25 G0 Y15 X70 L N30 M30 L 4–32 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 91 In simulation, the ”Soft approach to and exit from the contour” function is executed in the same way as on the machine. The approach and exit movements are displayed on the screen. 4–33 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 92: Transformation Of Coordinates Transmit

    Machine data also defines a different transformation action on change of mode. While TRANSMIT or 2D/3D coordinate transformation is active, no zero offsets in real axes are taken into account! 4–34 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 93 In rapid traverse the speed is also reduced if the rotary axis is not involved in the movement (applies to SINUMERIK 880, SW6 only). • In JOG the feedrate reduction can only partially take effect, because the final position of the movement is not known.
  • Page 94 Example for angle head cutter type 30 G16 Z X1= Z X1= Plane definition for angle head G1 F5000 X1=50 Z0 Traverse tool length compensation L2 in X1 4–36 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 95: Coordinate Transformation

    = fictitious coordinate system +x cos – y sin = offset +x sin +y cos = angle of rotation 2D G133, G233 or G333 transformation 4–37 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 96 In the following three figures the coordinates of the real coordinate system (x, y, z) are only shown with indices (e.g. x ) for purposes of demonstration. These indices have no bearing on the transformation equations given. 4–38 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 97 = offset = angle of rotation Rotation – second step: rotation of the real coordinate system (x ) about y axis of the real coordinate system (x 4–39 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 98 Any deviations from the basic planes can be programmed via G16. Plane selection for the fictitious coordinate system 4–40 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 99 (zero offset, tool offset ...). • Only one transformation can ever be active in a channel. Only three data records are possible per channel and per transformation. 4–41 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 100: Spline Interpolation G06

    “SPLINE Interpolation” Programming Guide. Action of G06 is modal. G06 is deselected by another preparatory function of the 1st G group. SPLINE programs are only executed with input resolution 10 4–42 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 101: Coupled Motion Of Axes G150

    M02/M30 or with M17 if the subroutine concerned was started as a main program. After G150 the coupled axis must be programmed with G90 (absolute dimensions). 4–43 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 102 4 Programming of Motion Blocks 05.91 4.2.13 Coupled motion of axes G150...G159 Example: Axis Y Axis V Axis W Axis Z Axis X Coupled axis combination Leading axis combination 4–44 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 103: Freezing Of Length Compensation, Zero Offset And Angle Of Rotation Of Coordinate Rotation

    The writing of tool offsets, angle of rotation, zero offset, DRF, PRESET and suppression of zero offset by means of the functions @706, @42x and @43x is not allowed. 4–45 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 104: Program Coordination

    Numerical values between 1 and 16 and/or R parameters are allowed as global channel numbers. A maximum of 8 channel numbers/parameters can be specified. R parameters are permissible from 0 to 599. 4–46 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 105 Programming: [INIT SPF, subroutine number, K. ] Example: [INIT SPF, 123, 01] Program number, subroutine number and channel number can also be entered as R parameters. 4–47 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 106 Example: Channel 3 Gantry loader Channel 4 Channel 2 Channel 1: Program coordination 4–48 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 107 MPF 13 MPF 14 [INIT MPF,12,2] [INIT MPF,13,3] [INIT MPF,14,4] [START 2,3] [WAIT M,8,3] [WAIT M,8,2] [WAIT M,9,3] [WAIT M,9,2] [WAIT M,10,2,3] [WAIT M,10,1,3] [WAIT M,10,1,2] [START 4] 4–49 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 108: Axis Synchronization With Change Of Channel G200

    EXACT STOP FINE of all axes of one mode group. • G200 takes no effect in the AUTOMATIC submodes TEACH IN, BLOCK SEARCH, SINGLE BLOCK, OVERSTORE and DRY RUN FEEDRATE. 4–50 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 109 In block number 10 only the X, Y and Z axes are synchronized. • N10 G200 X2= Y Z3= (with extended addresses) In block number 10 only the X2, Y and Z3 axes are synchronized. 4–51 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 110: Synchronous Spindle

    If no new setpoint speed is programmed, the current actual values for speed and direction of rotation are adopted as new setpoints. 4–52 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 111 123.45 degrees N55 G202 S3=100 L Eliminate coupling; new speed of following spindle: 100 rev/min For further information, please refer to the Function Manual ”Extended Spindle Functions”. 4–53 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 112: Thread Machining

    This ensures that the tool always enters the workpiece at the same point on the circumference of the workpiece. The cuts should be performed at the same spindle speed to avoid different following errors. 4–54 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 113: Thread With Constant Lead

    It is an integral part of spindle package E40 to E45. The feedrate F is not programmed here since the feedrate is linked directly to the spindle speed via a pulse encoder. 4–55 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 114 N30 X–3.65 (P2) N35 G33 Z–56 K2 (P3) N40 G00 X3.65 (P4) N45 Z56 (P1) N50 X–4.3 (P5) N55 G33 Z–56 K2 (P6) N60 G00 X4.3 (P4) 4–56 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 115 (P6) N70 G00 X110 (P4) Calculation of points P2 and P3 X (P2) = C+2 mm = 65.86 mm X (P3) = D+2 mm = 103.366 mm 4–57 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 116 N50 Z79.35 (P2) N55 G33 X36 I2 (P3) N60 G00 Z82 (P4) N65 X4 (P1) N70 Z78.7 (P5) N75 G33 X36 I2 (P6) N80 G00 Z82 (P4) 4–58 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 117: Thread With Variable Lead

    Value F is calculated from the initial and final lead and thread length: Initial lead – Final lead 2 ·Thread length The value F should be given without sign. 4–59 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 118: Infeed Options

    4.3.3.1 Infeed options The tool can be advanced perpendicular to the cutting direction or along the flank. Infeed “perpendicular to cutting direction” “Flank infeed” Z=X tan e/2 4–60 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 119 N40 X38.7 Z78.347 (P2) N45 G33 Z22 K2 (P3) N50 G00 X46 (P4) N55 Z80.483 (P1) N60 X37.4 Z78 (P5) N65 G33 Z22 K2 (P6) N70 G00 X46 (P4) 4–61 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 120: Taping Without Encoder G63

    G63 can only be used in blocks with linear interpolation G01. 4.3.5 Tapping without compensating chuck (SINUMERIK 880 GA2) The function, "Tapping without compensating chuck" requires the spindle package E40-E45.
  • Page 121 01.93 4 Programming of Motion Blocks 4.3.5 Tapping without compensating chuck (SINUMERIK 880 GA2) The spindle speed that you program in the selection block only applies to the tapping operation, i.e. when you switch back to spindle operation, a new S word and the direction of rotation must be programmed.
  • Page 122: Extended Thread Package (Sinumerik 880 Ga2)

    4 Programming of Motion Blocks 01.93 4.4 Extended thread package (SINUMERIK 880 GA2) Extended thread package (SINUMERIK 880 GA2) The function "Extended thread package" requires the spindle package E40-E45. The order code is E37. The "Extended thread package" is only active when G33 is programmed and contains the following functions: •...
  • Page 123: Following Error Compensation

    This function is used to recut a precut thread at constant pitch. The function is activated with G37. The tip of the tool must be positioned with JOG/INC directly above the root of the thread. 4–65 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 124: Programming The Smoothing Exponent With G92 T

    NC MD 155. This machine data should only be changed by a properly trained specialist. Standard setting on SINUMERIK 880 GA1, SW6 is 20 ms Standard setting on SINUMERIK 880 GA2, SW1 is 8 ms The value T .
  • Page 125: Switching, Auxiliary And Miscellaneous Functions

    Function M01 is the same as M00 but is active only if the “Programmed stop (M01) active” function has been activated by means of the softkey or externally via the PLC. 5–1 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 126 “Spindle setting data”. A machine data can specify whether M19 has to be acknowledged be- fore the axis motion programmed in the next block is started or whether the next block is en- 5–2 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 127 No functions other than M functions are allowed to be incorporated in one part program block. Further details can be found in the Function Manual ”Extended Spindle Functions”. 5–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 128: Spindle Function S

    G26 S ... limits the setpoint speed and monitors the actual speed value. ______ The speed and cutting speed must be programmed in the same input format. 5–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 129: Auxiliary Function H

    The extended address notation can be used for the T word: T..=... Rapid auxiliary functions (from SINUMERIK 880 GA2) You can define the auxiliary functions D, F, H, M, S and T individually as rapid or slow. You can place several auxiliary functions in one block but you can only activate the function if all auxiliary functions are defined as rapid.
  • Page 130: Fill Fifo Buffer (From Sinumerik 880 Ga2)

    5 Switching, Auxiliary and Miscellaneous Functions 01.93 5.7 G171 Fill FIFO buffer (fom SINUMERIK 880 GA2) G171 Fill FIFO buffer (from SINUMERIK 880 GA2) The function "Fill FIFO buffer" is an option. The order code is Bxx Block change times can be reduced if a FIFO buffer is used. It only makes sense to use the function "Fill FIFO buffer"...
  • Page 131: Subroutines

    It is not possible to call subroutine L0 in a program as it is assigned to a special system function. Subroutine numbers L800 to L999 are reserved for SIEMENS purposes as far as they are not required by the machine manufacturers.
  • Page 132: Subroutine Call

    The action of G81 to G89 is modal. • If the part program uses subroutines with the”EXECUTION FROM EXTERNAL SOURCE” function, they must be contained in the part program memory. 6–2 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 133: Subroutine Nesting

    L 240 L 250 % 9534 L F L 250 P3 L 240 P1 pas- L 230 P1 M30/ M02 Subroutine call and subroutine nesting, one-deep, two-deep, three-deep 6–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 134 N05 G91 G01 X-11 N10 G09 X11 N15 L240 P2 (Subroutine call No. 240) N20 M17 L240 N05 G91 G00 Z5 N10 G01 G09 X-16 N15 G00 X16 N20 M17 6–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 135: Parameters

    Typical application/channel: Memory for data which must be accessible for part Global programs and subroutines. R100 to R109 are reserved Parameters if Siemens tool management is used. R110 to R199 are reserved if Siemens measuring cycles are used. R199 R199 R200...
  • Page 136: Parameter Definition

    While executing programs in several channels, the same central R parameters must not be accessed simultaneously. This is avoided by a using a correct part program structure 7–2 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 137: Parameter Calculations

    It is possible to add a parameter to the value of an address or to subtract it from it. The following sequence must be used: Address, numerical value, parameter. Calculation signs must be written. No sign signifies a positive number. Y = R100+10 Y = 10+R100 7–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 138 R10 = 15+ R11 • Several separate equations can be programmed in one block. R1 = R2 + 23 R50 = R37 · 3 R99 = R27 / R13 7–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 139: Parameter String

    120 characters must not however be exceeded. The individual operations are performed in the programmed sequence. 7–5 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 140: Programming Examples With Parameters

    N10 L47 P1 R0=125 R1=50 R2=170 R3=30 R4=135 R5=–95 R6=120 R7=–105 R8=140 Subroutine N30 G90 Z=0 N35 X=R1 N40 A=R2 Y=R4 X=R6 Z=R5 B=R3 N45 Z=R7 N50 X=R8 N55 Z=R0 M17 7–6 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 141 R3=8 mm Rectangle depth R2=5 mm 30 mm (N 29 ) R2 = Infeed depth of Z axis B1 = Starting and end positions of subroutine Rectangle 7–7 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 142 (Approach the contour) N50 X=R51 U=R1 (Machining) N55 X=–R9 Y=R9 U=R9 (Departure from contour) N60 G00 G40 X=–R50 Y=–R9 (Positioning) N65 M17 (Subroutine end) Machining of internal semicircle 7–8 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 143 N10 G03 X=R1 Y=R1 J=R1 N15 G01 Y=R2 N20 G02 X=R1 Y=R1 I=R1 N25 G01 X=R0 N30 G02 X=R1 Y=–R1 J=–R1 N35 G01 Y=–R2 N40 G03 X=R1 Y=–R1 I=R1 N45 M17 7–9 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 144: Contour Definition

    Turning machine A=135° A=305° Clockwise system and operating area behind turning centre A=135° A=305° Clockwise system and operating area before turning centre 8–1 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 145 The first axis programmed is the reference axis. The angle in the clockwise coordinate system Is always referred to the reference axis. Plane selection Contour definition programming is only permissible in the selected plane. 3D machining is not possible. 8–2 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 146: Contour Definition Programming

    N.. A 1 .. A 2 .. X 3 .. Z 3 .. 3-point definition The control calculates the coordinates of the vertex and generates 2 blocks. Angle A2 is referred to the second straight line. 8–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 147 Both interpolation parameters must be programmed, even if one of the values is zero. _______ 1) Second block can also be a contour definition 8–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 148 + chamfer Addition of a second chamfer at end position X 3 , Z 3 . + chamfer _______ 1) Second block can also be a contour definition 8–5 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 149 (first angle before second angle, first radius before second radius in machining direction). _______ Second block can also be a contour definition 8–6 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 150: Operation Of Functions G09, F, S, T, H, M In Contour Definition

    N10 A . . . X . . . B7. N15 A . . . A . . . X . . . Z . . . B9. B11. N20 Z . . . 8–7 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 151: Chaining Of Blocks

    N05 G90 G03 I–10. J0. I0. J15. X105. Y25. (P2) N10 G03 A135. U18. X40. Y50. (P3) N15 G01 A270. A0. X140. Y10. U–20. U10. (P4) N20 Y40. (P1) N25 M17 8–8 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 152 =10° N05 G00 G90 X30. Z105. N10 G01 A170. A135. X100. Z20. F . . . 8–9 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 153 The perpendicular through the starting point and the extension of the inner taper of intersection The program is then as follows: N13 G00 Xstart Zstart N14 G01 A90. A184. X . . . Z . . . 8–10 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 154 N10 G01 G09 A90. X66. B–8. F0.2 Chaining with B– N15 A180. A90. X116. Z–70. B8. N20 G03 B40. A175. X140. Z–180. N25 G01 A135. A180. X220. Z–332. N30 M17 8–11 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 155: Miscellaneous Functions In Chained Blocks For Turning And Milling Machines

    Miscellaneous functions are active at point P11 (see above). Relief-cutting is thus effected at point P11. The F value programmed in block N10 is active at the start of block N10 8–12 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 156: Tool Offsets

    It can be defined via machine data that tool type 0 act like tool type 20. Radius and length compensation are then assigned as for type 20. The display type 0 remains unchanged. 9–1 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 157: Turning Machine: Tool Offset Without Using Tool Nose Radius

    05.91 9.1 Tool data The basic version of the tool offset memory provides 8 Kbytes. For the SINUMERIK 880 it can be expanded to 32 KB. The number of tool compensation memories is calculated from the number of tool parameters P0...P9 (NC MD 13) and the memory configuration (8, 16, 32 KB)
  • Page 158 1) G16 is strictly a setting function: travel is not possible in these blocks. D is not coupled to plane selection 2) T No.: 1...99 999 999 9–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 159 1) G16 is strictly a setting function: travel is not possible in these blocks. D is not coupled to plane selection. 2) T No.: 1...99 999 999 9–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 160 1) G16 is strictly a setting function: travel is not possible in these blocks. D is not coupled to plane selection. 2) T No.: 1...99 999 999 9–5 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 161: Tool Offset Using Tool Nose Radius Compensation (Tnrc)

    The diagram shows the possible positions of the turning tool with associated identifiers P1 = 1 to P1 = 9. The values in brackets apply to machining before the turning centre. 9–6 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 162: Milling Machine: Selection And Cancellation Of Length

    N10 Z . . . compensation with length compensation N50 G40 X . . . Cancellation of cutter radius compensation N55 D0 Z . . . Cancellation of length compensation 9–7 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 163: G40/G41/G42 Intersection Cutter Radius Path Compensation (Crc)

    At the end of this block the compensated path has been reached in the selected plane. Only the radius compensation value is incorporated. The tool length compensation is incorporated. 9–8 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 164 N25 X . . . Y . . . Change in length compensation Change in cutter radius compensation If CRC is selected, it is not permissible to program G58, G59 or G33. 9–9 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 165 N25 G02 X30. Y30. I30. J0. N30 G01 X–15. Y–30. N35 X15. Y–30. N40 X–30. N45 X–30. Y–30. N50 X–45. Y30. N55 X–15. Y30. N60 G40 G90 X0. Y90. N65 ... 9–10 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 166 N05 G90 G00 G17 G41 D1 X80. Y30. N10 G03 X130. Y80. I0. J50. N15 G91 G02 X0. Y0. I50. J0. N20 G90 G03 X80. Y130. I–50. J0. N25 G00 G40 X70. Y80. 9–11 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 167: Tool Length Compensation (Positive Or Negative)

    P1 : Tool type (enter:20) Length 1 P2 : Geometry, length 1 P4 : Geometry, cutter radius P5 : Wear, length 1 P7 : Wear, cutter radius Radius 9–12 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 168: Tool Offsets For Angle Cutter

    Geometry length 2 (additional length compensation) Geometry length 1 (standard length compensation as in the case of end mill) Plane, in which the cutter radius compensation is to be active 9–13 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 169 In the case of a drill, length compensation acts in the axis perpendicular to the selected axis. Length 1 Radius P1 : Tool type (enter:10) P2 : Geometry, length 1 P5 : Wear, length 1 9–14 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 170: Selection Of Crc/Tnrc

    The diagrams below show the compensation selected for various approach angles. >180° Straight line/straight line Straight line/circular arc (N05) (N05) Selection of compensation mode for > 180° 10–1 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 171: Crc/Tnrc In Program

    > 180° Straight line/straight line Straight line/circular arc (N10) (N10) Circular arc/straight line Circular arc/circular arc (N10) (N10) Compensation mode for various transitions for > 180° 10–2 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 172 Straight line/straight line Straight line/circular arc (N10) (N10) (N10) Circular arc/straight line Circular arc/circular arc (N10) (N10) (N10) (N10) (N10) Compensation mode for various transitions for 90° 180° 10–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 173 Straight line/circular arc (N10) (N10) (N10) (N10) (N10) Circular arc/straight line Circular arc/circular arc (N10) (N10) (N10) (N10) (N10) (N10) (N10) Compensation mode for various transitions for < 90° 10–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 174: Cancellation Of Crc/Tnrc

    Cancellation of compensation mode (special case) (N25) (N30) Contour error Cancellation of TNRC in a block ”distance = 0” N25 G91 Z100 N30 G40 Z0 N35 Z100 X100 Contour error! 10–5 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 175: Changing Direction Of Compensation

    R1 is created at the end position of the block with the old offset number; the block end intersection is calculated with the new compensation. (N45) (40) Changing offset number 10–6 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 176: Changing Compensation Values

    N35 G41 X . . . Z . . . N40 Z . . . Error! G41 repeated in N35. (N30) without G41 (N25) (N35) with G41 Contour error Repeated selection 10–7 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 177: M00, M01, M02 And M30 With Crc/Tnrc Selected

    N60 X50 Y50 The compensation is withdrawn one block before the block N70 G40 X50 Y0 M30 in which it has been cancelled with G40 (here: N60). 10–8 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 178 G40 in the penultimate block or programming of two axes in the final block: (N30) (N30) N30 X50 Y50 N35 G40 Y0 N40 M30 The compensation is withdrawn in N35. 10–9 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 179: Crc/Tnrc With Combination Of Various Block Types And In Conjunction

    One “auxiliary function block” between distances in the compensation plane. (N25) CRC/TNRC: One “auxiliary function block” between two movement blocks N25 G91 X200 N30 M08 N35 Y–100 Block N30 is executed at point S. 10–10 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 180 One “distance = 0” block between distances in the compensation plane (N25) (N30) Contour error CRC/TNRC: One “distance = 0” block N25 G91 X200 N30 X0 N35 Y–100 Contour violation! 10–11 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 181 CRC/TNRC: One “distance = 0” block and one “auxiliary function block” N25 G91 X200 N30 X0 N35 M08 N40 Y–100 Contour violation! Block N35 is executed at point S (N30) 10–12 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 182 N05 G91 G41 G01 G17 X100 F100 D01 N10 X500 L F 1) N15 Z500 N20 Y–150 N25 X500 Y–150 _______ 1) Block not in compensation plane 10–13 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 183 N05 G91 G41 G01 G17 X100 F100 D01 N10 X500 N15 Z500 L F 1) N20 Z–500 N25 Y–150 N30 X500 Y–150 Contour violation! _______ Block not in compensation plane 10–14 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 184: Special Cases For Crc/Tnrc

    The direction of compensation for CRC/TNRC is retained and the traversing direction is revers- ed. The return path in N10 must exceed twice the cutter radius/tool nose radius, or the tool will move in the wrong direction. 10–15 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 185 AB and BC can be omitted by the NC. The course of the path in this case depends on tolerance d defined on start-up (max. 2000 units). 10–16 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 186 ..., N20, N25 (S1), N30 (retraction), N25 (S2), N25 (S3), N25 (S4), N35... This sequence is also valid if N25 is a linear block. 10–17 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 187: Effect With Negative Compensation Values

    If the program is written as shown in (b) with a positive compensation value, a negative com- pensation value will effect machining as shown in (a). The two operations are distinguished by entering a positive or negative compensation value. 10–18 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 188: Programming Of Cycles

    The measuring cycles are described in the ”User's Guide SINUMERIK 840/850/880, Measuring Cycles”. The following sections are intended to introduce the user to programming with the @ code. 11–1 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 189: Target Code

    The pointer refers to a parameter containing the address of the parameter to whose contents the function is to be applied (indirect specification of value). 11–2 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 190: Notation

    Direct specification of value (constant K) <R-Par> Indirect specification of value (R parameter) <Var> Indirect specification of value (R parameter or pointer) <Wert> Mixed specification of value (Constant, R parameter or pointer) 11–3 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 191: General Instructions For Program Structure

    0 to the R parameters specified. The original condition is re-established with a Pop command (@042 or @043) at the end of the subroutine. 11–4 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 192: Program Branches

    With the ”EXECUTION FROM EXTERNAL SOURCE” function only forward jumps are possible in the part program. 11–5 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 193 K495 N490 . . . N495 . . . Jump to block N900 (end of program) Application of a CASE branch in a cycle with switchable axes 11–6 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 194 IF the numerical value defined with the notation <Var> is greater than or equal to that defined with <Value>, THEN the program is resumed with the next block. Otherwise (ELSE) a jump is made to the block defined by the constant. 11–7 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 195 @100 K250 N230 Part II N250 R2 R7? Execution Part III N475 @124 K480 R50 = R2 - R7 Part III N480 Program execution with IF-THEN-ELSE branch 11–8 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 196 N375 . . . N300 @133 R13 R27 K375 Continuation of the loop provided loop condition R13 > R27 has been satisfied. @100 K–300 N375 . . . 11–9 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 197 Value assignments for R5, R51, R52 @201 R50 P51 Data transfer from R51 to R50 N500 @151 R50 R52 K505 Beginning of FOR-TO loop ..@620 R50 @100 K-500 N505 11–10 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 198: Data Transfer, General

    1: Load a parameter 2: Exchange of parameter contents 0: Data transfer R parameter/R parameter 1: Data transfer R parameter/input buffer for numerical variables 2: Main group 2 11–11 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 199 The input buffer cell <value 1> is loaded with the numeric quantity <value>. Example: @212 K102 K5 The value 5 is written in the input buffer cell 102. 11–12 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 200: Data Transfer: System Memory Into R Parameter

    @303 <Var> <Value 1> <Value 2> The cycle machine data values are read into parameter<Var>. Where: <Value 1> Channel No. 0: own channel <Value 2> Word address 11–13 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 201 The byte address of a setting data bit is defined in <Value 1>. Address area: 5000 to 9999. The bit address (0 to 7) is in <Value 2>. 11–14 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 202 Number of tool offset memory (P number). Area: 0 to 9/15 Example: @320 Offset value P2 (geometry, length 1) of tool offset number D14 for TO area 1 is read into parameter R67. 11–15 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 203 Number of channel (0 = own channel) <Value 2> Group of settable coordinate rotations (G54 = 1 to G57 = 4) <Value 3> Number of angle (at present = 1) 11–16 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 204 With rotary axes, the result is stored in altogether two R parameters from the R parameter <Var> (Rn) onwards, depending on an NC machine data bit. The following R parameters are loaded. = Position within one revolution Rn+1 = Number of revolutions 11–17 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 205 A separate block with @714 must be programmed before @360 to @36b. To be able to read values from another channel NC Start must be issued in that one as well. 11–18 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 206 Number of rotary axis for which G203/G204 is valid • Angle • Number of infeed axis • Direction of rotation, +1 for G203, -1 for G204 • Spindle speed 11–19 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 207 PLC number is defined by <Value 1> and the byte address by <Value 2>. Example: @390 The state of the defined PLC input byte is read in R52. 11–20 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 208 The state of a PLC data word right is read in the parameter defined with <Var>. The PLC number is defined by <Value 1>, the number of the DB or DX by <Value 2> and the data word number by <Value 3>. 11–21 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 209 Definition of the dimension identifier <Value 3>: see @3a0 If the "Read PLC peripheral word" command (@3a2) addresses a word which is not present in the PLC, alarm 3004 ”CL800 error” is output. 11–22 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 210 6 places after the decimal point 7 places after the decimal point 7 places after the decimal point 8 places after the decimal point 8 places after the decimal point 11–23 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 211 The floating-point value of the defined data words in the PLC is read in the parameter defined with <Var>. Two data words are always read in serially in the PLC. The PLC 11–24 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 212 R parameter. 11–25 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 213: Data Transfer: R Parameter Into System Memory

    R parameter or a pointer. Note: @714 must be programmed prior to using the subgroups 0, 1, 2 and 3. 11–26 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 214 The byte address of a PLC machine data bit is defined in <Value 1>. Address area: 6000 to 8999. The bit address (0 to 7) is given in <Value 2>. 11–27 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 215 Channel no.; when simulating a program, only a cycle machine data from the channel in which the program is running (no. 0) can be described. <Value 2> Byte address <Value 3> Bit address 11–28 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 216 Range: 1 to 16 <Value 2> Tool offset number (D number) Range: 1 to 204/409 <Value 3> Number of the tool offset value (P number). Range: 0 to 9/15 11–29 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 217 Number of channel (0 = own channel) <Value 2> Group of settable coordinate rotations (G54 = 1 to G57 = 4) <Value 3> Number of angle (at present = 0) 11–30 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 218 The numerical value is stated under <Value>. @448 <Value 3> <Value> This command allows the interpolation parameters for circle and thread to be programmed. 11–31 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 219 The PLC number is defined by <Value 1>, the number of the DB or DX by <Value 2> and the data word number by <Value 3>. Example: R53 = 10010110; @494 The state of the defined PLC data word left is loaded via R53. 11–32 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 220 8 places after the decimal point 8 places after the decimal point Example: @4a3 K100 K2219 The state of the defined PLC flag word is loaded in BCD format via a constant. 11–33 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 221 The PLC number is defined by <Value 1>, the number of the DB or DX by <Value 2>, the data word number by <Value 3>, the number of data words by <Value 4> and the dimension identifier by <Value 5>. 11–34 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 222 <Value 1>, the number of the DB or DX by <Value 2> and the data value number by <Value 3>. The NC value (8 valid digits) is represented in the PLC with only 6 valid digits. 11–35 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 223: File Handling, General

    0: Value assignments with arithmetic operations 1: Arithmetic functions 2: Arithmetic procedures 3: Trigonometric functions 4: Logarithmic functions 5: Logic functions 6: Logic procedures 7: Boolean comparisons 6: Main group 6 11–36 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 224 The square root is formed from the sum of the squares of the R parameters R25 (=225) and R26 (=400). The result (=25) is entered/stored in R77. 11–37 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 225 The cosine of the angle defined in <Value> is stored in <Var>. @632 <Var> <Value> The tangent of the angle defined in <Value> is stored in <Var>. 11–38 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 226 R35 and R36 and the result (=146.30993) is entered/stored in R17. < > R35 = Value 1 R17 = 146.30993 < > R36 = Value 2 Example for @637 11–39 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 227 The bit patterns in <Var 1> and <Value> are logically ANDed. The result is stored in <Var>. @653 <Var> <Var 1> <Value> The bit patterns in <Var 1> and <Value> are logically ANDed. The result is negated and stored in <Var>. 11–40 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 228 R52. The contents of R52 are 1. @659 <Var> <Value> The logic value (0 or 1) in <Value> is negated. The result is stored in <Var>. 11–41 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 229 @676 <Var 1> <Var 2> <Value> If the numerical value defined in <Var 2> is less than or equal to that in <Value>, the Boolean variable <Var 1> is set to “1“. 11–42 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 230: Nc-Specific Functions

    If the machine data has not been set, the PRESET and DRF offsets are also suppressed with G53. Example: @706 X1000 Z500 The programmed traversing paths in X and Z are approached referred to the machine zero. 11–43 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 231 G function Rn +7 Control parameter Rn +7 = 0: Block without M17 Rn +7 = 1: Block with M17 Rn +7 = 2: M17 alone in block 11–44 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 232 Rn +7 Control parameter (internal) @711 Direction of search, loads in: Result Rm +1 Intersection X 67.320 Rm +2 Intersection Z 90.000 1) 1= found, 0= not found 11–45 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 233 (R +1) and (R +2), it is necessary first of all to enquire in a loop whether an intersection has been found or not. 11–46 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 234 R50=20 R51=0 R52=250 R53=1 R70=0 N300 @131 R70 K0 K305 @710 R54 R50 @711 R70 R54 R62 G01 G90 X0 Z120 @100 K–300 N305 G00 X=R71 Z=R72 11–47 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 235 R parameters • “Mirror” signal • Axis/spindle converter The STOP-DEC command must be programmed in its own channel each time before reading actual values and after each measurement. 11–48 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 236 (numerator) and <Value 4> (denominator). Example: @71b K5 K1 K2 K31 The transmission ratio between the following axis (axis 5) and the leading axis (axis 1) is 2/31. 11–49 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 237 With rotary axes, the result is stored in altogether two R parameters from R parameter <Var> (Rn) onwards, depending on an NC machine data bit. The following parameters are loaded: Position within one revolution Rn+1 Number of revolutions 11–50 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 238: Part Program Handling

    The number of input R parameters depends on the relevant @ code. A maximum of six input R parameters are available. The second parameter describes the first output R parameter. Here also, a maximum of six output R parameters are available. 11–51 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 239 Sector number of first block Offset of first block CL 800 reserved word: PP CREATE The part program is automatically disabled for execution. It must be enabled by means of @f05. 11–52 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 240 Input parameters: Program type (%=1, L=2) Program number Output parameters: Error feedback 0: No error 1: No program 5: Input error CL 800 reserved word: Not yet defined. 11–53 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 241 4: Error in comparison 5: No LF Sector number of next block Offset of next block Number of characters in the block CL 800 reserved word: READ BLA 11–54 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 242 6: Error in comparison 7: No LF Sector number of next block Offset of next block Number of characters in block CL 800 reserved word: READ BLN 11–55 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 243 2: Target program in EPROM or write- protected 3: Parity error 4: Memory full 5: Target program not available 6: Source program not available CL 800 reserved word: COPY BLOCK 11–56 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 244 ” in the block buffer. = OFFH Automatic cursor control The new cursor offset is generated automatically. CL 800 reserved word: WRT COM –––––––––– 1) Word number behind L 11–57 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 245 ”X100” is to be changed into ”X1=100” by means of @f20. The assignment of the input R parameters is as follows: Word number in block 88 (”x”) Address letter Extended address Yes ASCII character of address letter 61 (”=”) Operator Value 11–58 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 246 R parameters: Word number in block 90 (”z”) Address letter Extended address No No extended address 0 (”=”) Operator not available Value 11–59 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 247 2: Extended address without value 3: @ function 4: Arithmetic expression Value with extended address Operator (=, +, – ...) Value CL 800 reserved word: READ WORD 11–60 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 248 Word five is to be read by means of @f22. No error : 35 (”#”) Address letter Extended address No No extended address Operator not available : 10 Value 11–61 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 249 Consequently, word seven is ”Y50”. Output R parameters: No error : 89 (”Y”) Address letter Extended address No No extended address Operator not available : 50 Value 11–62 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 250 – @f21: Insert ”R100” (second word) The following values are assigned to the R parameters: R parameter @f20 @f21 88 (”X”) 82 (”R”) 61 (”=”) word”R100” word”X1=” 11–63 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 251: Code Table

    ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–64 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 252 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–65 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 253 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–66 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 254 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–67 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 255 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–68 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 256 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–69 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 257 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–70 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 258 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–71 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 259 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–72 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 260 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–73 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 261 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–74 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 262 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–75 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 263 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–76 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 264 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–77 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 265 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–78 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 266 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–79 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 267 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–80 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 268 ..less than or equal to ..true 4) No pointers possible, ..not on CL 800 level only Const can be specified 11–81 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 SINUMERIK 880, (PG)
  • Page 269: Input/Output Formats Sinumerik 880/880 Ga2

    01.93 12 Input/Output Formats SINUMERIK 880/880 GA2 Input/Output Formats SINUMERIK 880/880 GA2 Input resolution: The geometry resolution for linear and rotary axes is defined using the input resolution. The input resolution is defined in the machine data. Display resolution: The display resolution defines the number of positions after the decimal point when the actual position and the distance to go are displayed on the NC screen.
  • Page 270 12 Input/Output Formats SINUMERIK 880/880 GA2 01.93 Function Metric Inch Degrees Addresses Range Unit Range Unit Range Unit Spindle speed S 1...99999 1 rev/min 1...99999 1 rev/min (significance defined via startup setting) 32-bit servo CPU without actual 0.1...9999.9 0.1 rev/min 0.1...9999.9...
  • Page 271: Program Key Sinumerik 880/880 Ga2

    = Reset position with 880/880 GA2, M version M/T = Reset position with 880/880 GA2, M and T version MD = Reset position can be set by machine data = applies to SINUMERIK 880 GA2 only 13–1 © Siemens AG 1991 All Rights Reserved...
  • Page 272: Overview Of G Commands For Sinumerik 880/880 Ga2

    (203) (204) (205) = applies to SINUMERIK 880 GA2 only 13.2 Overview of G commands for SINUMERIK 880/880 GA2 Rapid traverse, exact stop coarse Linear interpolation Circular interpolation clockwise Circular interpolation counterclockwise Dwell, under address X or F in seconds, under address S in spindle revolutions...
  • Page 273 01.93 13 Program Key SINUMERIK 880/880 GA2 13.2 Overview of G commands for SINUMERIK 880/880 GA2 programmable zero offset Feedrate reduction, exact stop fine Contouring, block transition with speed decrease Tapping without encoder, feedrate override 100 % Contouring, block transition without speed decrease...
  • Page 274 Select C axis operation, clockwise (SINUMERIK 880 GA2 only) G204 Select C axis operation, counter-clockwise (SINUMERIK 880 GA2 only) G205 Change from C axis operation to spindle operation (SINUMERIK 880 GA2 only) G230 Deselect transformationTRANSMIT or deselect transformation coordinate rotation 2D/3D...
  • Page 275: Program Key For Version T

    01.93 13 Program Key, SINUMERIK 880/880 GA2 13.3 Program key for version T 13.3 Program key for version T Code Function and meaning Sect. .. EOR % Beginning of program mpf ... MPF .. 1 to 9999 Main program spf ...
  • Page 276 13 Program Key, SINUMERIK 880/880 GA2 01.93 13.3 Program key for version T Code Function and meaning Sect. 04 # Dwell time, specified under address X or F in seconds and address S in spindle revolutions 4.2.8 Minimum working area limitation...
  • Page 277 01.93 13 Program Key, SINUMERIK 880/880 GA2 13.3 Program key for version T Code Function and meaning Sect. 147 # Approach contour with straight line 4.2.9 247 # Approach contour with quadrant 4.2.9 347 # Approach contour with semi-circle 4.2.9...
  • Page 278 13 Program Key, SINUMERIK 880/880 GA2 01.93 13.3 Program key for version T Code Function and meaning Sect. 175 * ZO, length compensation, angle of rotation update in each block 4.2.14 Freeze length compensation, zero offsets, angle of rotation 4.2.14...
  • Page 279 01.93 13 Program Key, SINUMERIK 880/880 GA2 13.3 Program key for version T Code Function and meaning Sect. ±0.001 to ± 99999.999 Interpolation parameter for Z axis in mm 4.2.2.1 ±0.0001 to ±3937.000 Interpolation parameter for Z axis in inch 4.2.2.1...
  • Page 280 13 Program Key, SINUMERIK 880/880 GA2 01.93 13.3 Program key for version T Code Function and meaning Sect. 0 to 49 Transfer parameters 50 to 99 Calculation parameters 100 to 199 Channel-dependent declared parameters 900 to 999 Central parameters (channel-independent)
  • Page 281: Program Key For Version M

    01.93 13 Program Key SINUMERIK 880/880 GA2 13.4 Program key for version M 13.4 Program key for version M Code Function and meaning Sect. .. EOR % Beginning of program mpf ... MPF .. 1 to 9999 Main program spf ...
  • Page 282 13 Program Key SINUMERIK 880/880 GA2 01.93 13.4 Program key for version M Code Function and meaning Sect. 04 # Dwell, time specified under address X of F in seconds and address in spindle revolutions 4.2.8 Minimum working area limitation...
  • Page 283 01.93 13 Program Key SINUMERIK 880/880 GA2 13.4 Program key for version M Code Function and meaning Sect. 147 # Approach contour with straight line 4.2.9 247 # Approach contour with quadrant 4.2.9 347 # Approach contour with semi-circle 4.2.9...
  • Page 284 13 Program Key SINUMERIK 880/880 GA2 01.93 13.4 Program key for version M Code Function and meaning Sect. (203) Select C axis operation, clockwise 4.3.5 (204) Select C axis operation, counter-clockwise 4.3.5 (204) Change from C axis operation to spindle operation 4.3.5...
  • Page 285 01.93 13 Program Key SINUMERIK 880/880 GA2 13.4 Program key for version M Code Function and meaning Sect. 0.001 to 45 Feedrate in m/min (machine data) 4.2.6 0.01 to 45000 Feedrate in mm/min 4.2.6 0.1 to 1770.0000 Feedrate in inch/min 4.2.6...
  • Page 286 13 Program Key SINUMERIK 880/880 GA2 01.93 13.4 Program key for version M Code Function and meaning Sect. 00 # Programmed stop, unconditional Programmed stop, conditional End of program, contained in the last block of the program End of subroutine, contained in the last block of the...
  • Page 287 Suggestions Siemens AG Corrections AUT V250 For Publication/Manual: P.O. Box 48 48 SINUMERIK 880, SW6 W-8500 Nuremberg 1 SINUMERIK 880 GA2, SW1 Federal Republic of Germany User Documentation Programming Guide Order No.: 6ZB5 410-0HD02-0BA1 Edition: January 1993 From: Should you come across any printing errors...
  • Page 288 Automation Group Automation Systems for Machine Tools, Robots and Special-Purpose Machines P.O. Box 48 48, W-8500 Nuremberg 1 © Siemens AG 1992 All Rights Reserved Progress Federal Republic of Germany Subject to change without prior notice in Automation. Siemens Aktiengesellschaft Order No.

This manual is also suitable for:

Sw 6Sinumerik 880 ga2Sw 1

Table of Contents