04 Manual G Code Programming-1
04 Manual G Code Programming-1
______________
03/2009
Legal information
Legal information
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes in this documentation qualified persons are defined as persons who are authorized to commission, ground and label devices, systems and circuits in accordance with established safety practices and standards.
Trademarks
All names identified by are registered trademarks of the 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. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
06/2009
Table of contents
1 Programming cycles externally .................................................................................................................. 5 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 General information .......................................................................................................................5 Drilling, centering - CYCLE81 ........................................................................................................6 Drilling, counterboring - CYCLE82.................................................................................................7 Reaming - CYCLE85 .....................................................................................................................8 Deep-hole drilling - CYCLE83........................................................................................................9 Boring - CYCLE86 .......................................................................................................................11 Tapping without compensating chuck - CYCLE84 ......................................................................12 Tapping with compensating chuck - CYCLE840 .........................................................................15 Drilling and thread milling - CYCLE78 .........................................................................................17 Freely programmable positions - CYCLE802 ..............................................................................19 Row of holes - HOLES1...............................................................................................................20 Grid or frame - CYCLE801...........................................................................................................21 Circle of holes - HOLES2.............................................................................................................22 Face milling - CYCLE61...............................................................................................................23 Milling a rectangular pocket - POCKET3 .....................................................................................25 Milling a circular pocket - POCKET4 ...........................................................................................27 Rectangular spigot milling - CYCLE76 ........................................................................................29 Circular spigot milling - CYCLE77 ...............................................................................................31 Multiple-edge - CYCLE79 ............................................................................................................33 Longitudinal slot - SLOT1 ............................................................................................................34 Circumferential slot - SLOT2........................................................................................................37 Mill open slot - CYCLE899...........................................................................................................39 Elongated hole - LONGHOLE......................................................................................................41 Thread milling - CYCLE70 ...........................................................................................................43 Engraving cycle - CYCLE60 ........................................................................................................45 Contour call - CYCLE62...............................................................................................................47 Path milling - CYCLE72 ...............................................................................................................47 Predrilling a contour pocket - CYCLE64 ......................................................................................50 Milling a contour pocket - CYCLE63............................................................................................52 Stock removal - CYCLE951 .........................................................................................................54 Groove - CYCLE930 ....................................................................................................................56
Table of contents
Undercut forms - CYCLE940 ...................................................................................................... 58 Thread turning - CYCLE99.......................................................................................................... 61 Thread chain - CYCLE98 ............................................................................................................ 64 Cut-off - CYCLE92 ...................................................................................................................... 67 Contour grooving - CYCLE952 ................................................................................................... 69 Swiveling - CYCLE800................................................................................................................ 73 High Speed Settings - CYCLE832 .............................................................................................. 76
Index........................................................................................................................................................ 77
General information
This document describes the machining cycles from software version 2.6 onwards for creating external NC programs. It comprises: Programming Cycle name and call sequence of the transfer parameters Parameters Tables for explaining individual parameters The tables contain the names of the parameters used internally and an explanation of what they mean and the possible value range. The relationships between the parameters are also explained. The column for reference to the parameter in the mask is to be used to locate programmed values again when externally generated cycle calls to the controller are recompiled. Certain parameters are marked "for interface only" in the tables. These are not relevant to operation of the cycle. They are only needed in order to be able to recompile cycle calls completely. If they are not programmed the cycle can still be recompiled; the fields are then identified by color and must be completed in the mask. Parameters that are described as "reserved" must be programmed with the value 0 or a comma so that the assignment of the following call parameters matches up with the internal cycle parameters. Exception: string parameters with the value "" or a comma. The machining cycles from software version 2.6 onwards are a further development of the cycle packages for 840Dsl to software version 1.5 (cycles to software version 7.5). NC programs with cycle calls for these earlier software versions will still run. Most cycles have been extended by new transfer parameters or the range of existing parameters has been extended in order that new functions can be programmed (e.g. Parameter _VARI for the type of machining, which is used often). The term "Compatibility" in this documentation indicates input values that have not been programmed before. If values are assigned accordingly, the cycle runs with the same functions as up to software version 7.5. Drilling and milling cycles can be repeated on the position pattern (modal calls). In such cases MCCALL should be written in the same line, e.g. MCALL CYCLE83(etc.) Note If certain transfer parameters (e.g. _VARI, _GMODE, _DMODE, _AMODE) have been indirectly programmed as parameters, the input mask is opened on recompiling but it cannot be stored as there is no unambiguous assignment to defined selection fields.
1.2
Programming
CYCLE81(REAL RTP,REAL RFP,REAL SDIS,REAL DP,REAL DPR,REAL _DTB, INT _GMODE,INT _DMODE,INT _AMODE)
1.3
Programming
CYCLE82 (REAL RTP,REAL RFP,REAL SDIS,REAL DP,REAL DPR,REAL DTB, INT _GMODE,INT _DMODE,INT _AMODE)
1.4
Reaming - CYCLE85
Programming
CYCLE85 (REAL RTP,REAL RFP,REAL SDIS,REAL DP,REAL DPR,REAL DTB, REAL FFR,REAL RFF,INT _GMODE,INT _DMODE,INT _AMODE)
1.5
Programming
10
1.6
Boring - CYCLE86
CYCLE86 (REAL RTP,REAL RFP,REAL SDIS,REAL DP,REAL DPR,REAL DTB, INT SDIR,REAL RPA,REAL RPO,REAL RPAP,REAL POSS,INT _GMODE, INT _DMODE,INT _AMODE)
Programming
11
1.7
Programming
CYCLE84(REAL RTP,REAL RFP,REAL SDIS,REAL DP,REAL DPR,REAL DTB, INT SDAC,REAL MPIT,REAL PIT,REAL POSS,REAL SST,REAL SST1,INT _AXN, INT _PITA,INT _TECHNO,INT _VARI,REAL _DAM,REAL _VRT, STRING[15] _PITM,STRING[5] _PTAB,STRING[20] _PTABA,INT _GMODE, INT _DMODE,INT _AMODE)
12
13
14
1.8
Programming
CYCLE840(REAL RTP,REAL RFP,REAL SDIS,REAL DP,REAL DPR,REAL DTB, INT SDR,INT SDAC,INT ENC,REAL MPIT,REAL PIT,INT _AXN,INT _PITA, INT _TECHNO,STRING[15] _PITM,STRING[5] _PTAB,STRING[20] _PTABA, INT _GMODE,INT _DMODE,INT _AMODE)
15
16
1.9
Programming
17
Note 1) Parameters 21, 22 and 23 are only used for thread selection in the input mask thread tables. The thread tables cannot be accessed via cycle definition in cycle run time.
18
1.10
Programming
19
Note Positions that are not required for parameters X1/Y1 to X8/Y8 can be ignored. The alternative values for _XA and _YA, however, must be provided in full for all 9 positions.
1.11
Programming
HOLES1 (REAL SPCA,REAL SPCO,REAL STA1,REAL FDIS,REAL DBH,INT NUM, INT __VARI,INT _UMODE,STRING[200] _HIDE,INT _NSP,INT _DMODE)
20
1.12
Programming
CYCLE801(REAL _SPCA,REAL _SPCO,REAL _STA,REAL _DIS1,REAL _DIS2, INT _NUM1,INT _NUM2,INT _VARI,INT _UMODE,REAL _ANG1, REAL _ANG2,STRING[200] _HIDE,INT _NSP,INT _DMODE)
21
1.13
Programming
HOLES2 (REAL CPA,REAL CPO,REAL RAD,REAL STA1,REAL INDA,INT NUM, INT _VARI,INT _UMODE,STRING[200] _HIDE,INT _NSP,INT _DMODE)
22
1.14
Programming
CYCLE61(REAL _RTP,REAL _RFP,REAL _SDIS,REAL _DP,REAL _PA, REAL _PO,REAL _LENG,REAL _WID,REAL _MID,REAL _MIDA, REAL _FALD,REAL _FFP1,INT _VARI,INT _LIM,INT _DMODE,INT _AMODE)
23
24
1.15
Programming.
17
_VARI
25
26
1.16
Programming.
27
28
1.17
Programming.
CYCLE76(REAL _RTP,REAL _RFP,REAL _SDIS,REAL _DP,REAL _DPR, REAL _LENG,REAL _WID,REAL _CRAD,REAL _PA,REAL _PO,REAL _STA, REAL _MID,REAL _FAL,REAL _FALD,REAL _FFP1,REAL _FFD, INT _CDIR,INT _VARI,REAL _AP1,REAL _AP2,REAL _FS,REAL _ZFS, INT _GMODE,INT _DMODE,INT _AMODE)
Parameters
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 L W R X0 Y0 0 DZ UXY UZ FX FZ Param Mask RP Z0 SC Z1 Param intern _RTP _RFP _SDIS _DP _DPR _LENG _WID _CRAD _PA _PO _STA _MID _FAL _FALD _FFP1 _FFD _CDIR Explanation Retraction plane (abs) Reference point of tool axis (abs) Safety clearance (to be added to reference point, enter without sign) Spigot depth (abs) Spigot depth (inc) with respect to Z0 (enter without sign) Spigot length, see _GMODE (enter without sign) Spigot width, see _GMODE (enter without sign) Spigot corner radius (enter without sign) Reference point for spigot in 1st axis of plane (abs) Reference point for spigot in 2nd axis of plane (abs) Angle of rotation, angle between longitudinal axis (L) and 1st axis of plane Maximum depth infeed (inc; enter without sign) Finishing allowance, plane (inc), allowance at edge contour Finishing allowance depth (inc), allowance at base (enter without sign) Feedrate on contour Depth infeed rate Milling direction (enter without sign) UNITS: 0 = Synchronism 1 = Up-cut 18 _VARI Machining UNITS: 1 = Roughing 2 = Finishing 5 = Chamfer 19 20 21 22 L1 W1 FS ZFS _AP1 _AP2 _FS _ZFS Length of blank spigot Width of blank spigot Chamfer width (inc) Insertion depth (tool tip) on chamfering (abs, inc), see _AMODE
29
30
1.18
Programming.
CYCLE77(REAL _RTP,REAL _RFP,REAL _SDIS,REAL _DP,REAL _DPR, REAL _CDIAM,REAL _PA,REAL _PO,REAL _MID,REAL _FAL,REAL _FALD, REAL _FFP1,REAL _FFD,INT _CDIR,INT _VARI,REAL _AP1,REAL _FS, REAL _ZFS,INT _GMODE,INT _DMODE,INT _AMODE)
Parameters
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 X0 Y0 DZ UXY UZ FX FZ Param Mask RP Z0 SC Z1 Param intern _RTP _RFP _SDIS _DP _DPR _CDIAM _PA _PO _MID _FAL _FALD _FFP1 _FFD _CDIR Explanation Retraction plane (abs) Reference point of tool axis (abs) Safety clearance (to be added to reference point, enter without sign) Spigot depth (abs) Spigot depth (inc) with respect to Z0 (enter without sign) Spigot diameter (enter without sign) Reference point for spigot in 1st axis of plane (abs) Reference point for spigot in 2nd axis of plane (abs) Maximum depth infeed (inc; enter without sign) Finishing allowance, plane (inc), allowance at edge contour Finishing allowance depth (inc), allowance at base (enter without sign) Feedrate on contour Depth infeed rate Milling direction (enter without sign) UNITS: 0 = Synchronism 1 = Up-cut 15 _VARI Machining UNITS: 1 = Roughing to final machining allowance 2 = Finishing (allowance X/Y/Z=0) 5 = Chamfer 16 17 18 1 FS ZFS _AP1 _FS _ZFS Diameter of blank spigot Chamfer width (inc) Insertion depth (tool tip) on chamfering (abs/inc) see _AMODE)
31
32
1.19
Multiple-edge - CYCLE79
Programming
CYCLE79(REAL _RTP,REAL _RFP,REAL _SDIS,REAL _DP,INT _NUM, REAL _SWL,REAL _PA,REAL _PO,REAL _STA,REAL _RC,REAL _AP1, REAL _MIDA,REAL _MID,REAL _FAL,REAL _FALD,REAL _FFP1, INT _CDIR,INT _VARI,REAL _FS,REAL _ZFS,INT _GMODE,INT _DMODE, INT _AMODE)
Parameters
No. 1 2 3 4 5 6 Param Mask RP Z0 SC Z1 N SW/L Param intern _RTP _RFP _SDIS _DP _NUM _SWL Explanation Retraction plane (abs) Reference point of tool axis (abs) Safety clearance (to be added to reference point, enter without sign) Multiple-edge depth (abs/inc), see _AMODE Number of edges (1...n) Width across flats or edge length (depending on _VARI) ("SW" for width across flats, "L" for edge length) Width across flats only if even no.of edges, and single edge 7 8 9 10 X0 Y0 0 _PA _PO _STA Spigot reference point, 1st axis (abs) Spigot reference point, 2nd axis (abs) Angle of rotation, center of edge against 1st axis (X axis) Corner rounding with _NUM > 2 (radius/chamfer, see _AMODE) (inc, to be entered without sign) ("R1" for radius, "FS1" for chamfer) 11 12 13 14 15 16 17 DXY DZ UXY UZ F _AP1 _MIDA _MID _FAL _FALD _FFP1 _CDIR Unmachined diameter of spigot Maximum infeed width (for unit, see _AMODE) Maximum depth infeed Finishing allowance, plane Finishing allowance, depth Machining feedrate Milling direction 0 = Synchronism 1 = Up-cut 18 _VARI Machining type UNITS: Machining 1 = Roughing 2 = Finishing 3 = Finishing of edge 5 = Chamfer
R1/FS1 _RC
33
1.20
Programming.
SLOT1 (REAL RTP,REAL RFP,REAL SDIS,REAL _DP,REAL _DPR,INT NUM, REAL LENG,REAL WID,REAL _CPA,REAL _CPO,REAL RAD,REAL STA1, REAL INDA,REAL FFD,REAL FFP1,REAL _MID,INT CDIR,REAL _FAL, INT VARI,REAL _MIDF,REAL FFP2,REAL SSF,REAL _FALD,REAL _STA2, REAL _DP1,INT _UMODE,REAL _FS,REAL _ZFS,INT _GMODE,INT _DMODE, INT _AMODE)
34
Parameters
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 FZ F DZ L W X0 Y0 Param Mask RP Z0 SC Z1 Param intern RTP RFP SDIS _DP _DPR NUM LENG WID _CPA _CPO _RAD STA1 INDA FFD FFP1 _MID CDIR Explanation Retraction plane (abs) Reference point of tool axis (abs) Safety clearance (to be added to reference point, enter without sign) Slot depth (abs) Slot depth (inc) with respect to Z0 (enter without sign) Number of slots = 1 Slot length Slot width Reference point in the 1st axis of the plane Reference point in the 2nd axis of the plane Reserved Angle of rotation Reserved Depth infeed rate Feedrate Maximum depth infeed Milling direction 0 = Synchronism 1 = Up-cut 18 19 UXY _FAL VARI Finishing allowance on plane or slot edge Machining type UNITS: 0 = reserved 1 = Roughing 2 = Finishing 4 = Edge finishing (only machine the edge) 5 = Chamfer TENS: Approach 0 = Predrilled, infeed with G0 (slot is premachined) 1 = Vertically, infeed with G1 2 = Helically 3 = Oscillating HUNDREDS: Reserved 20 21 22 23 24 DZF FF SF UZ ER EW MIDF FFP2 SSF _FALD _STA2 Reserved Reserved Reserved Finishing allowance, depth Radius of helical path on helical insertion Maximum insertion angle for oscillation
35
Note The cycle is provided with new functions that are not on earlier software versions. Consequently certain parameters in the input mask (NUM, RAD, INDA) are no longer displayed. Multiple slots on one position pattern can be programmed using "MCALL" and calling the desired position pattern, e.g. HOLES2.
36
1.21
Programming
37
38
1.22
Programming.
Parameters
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Param Mask RP Z0 SC Z1 L W X0 Y0 0 DZ DXY UXY UZ F Param intern _RTP _RFP _SDIS _DP _LENG _WID _PA _PO _STA _MID _MIDA _FAL _FALD _FFP1 _CDIR Explanation Retraction plane (abs) Reference point of tool axis (abs) Safety clearance (to be added to reference point, enter without sign) Slot depth (abs/inc), see _AMODE Length of slot (inc) Width of slot (inc) Reference/start point 1st axis (abs) Reference/start point 2nd axis (abs) Angle of rotation with respect to 1st axis Maximum infeed depth (inc) for vortex milling only Maximum plane infeed, see _AMODE Finishing allowance, plane Finishing allowance, depth Feedrate Milling direction UNITS: 0 = Synchronism 1 = Up-cut 4 = Alternating 16 _VARI Machining UNITS: 1 = Roughing 2 = Finishing 3 = Finishing of base 4 = Finishing of edge 5 = Rough-finishing 6 = Chamfer TENS: Reserved HUNDREDS: Reserved THOUSANDS: 1 = Vortex milling 2 = Plunge cutting
39
40
1.23
Programming
LONGHOLE (REAL RTP,REAL RFP,REAL SDIS,REAL _DP,REAL _DPR, INT NUM,REAL LENG,REAL _CPA,REAL _CPO,REAL RAD,REAL STA1, REAL INDA,REAL FFD,REAL FFP1,REAL MID,INT _VARI,INT _UMODE, INT _GMODE,INT _DMODE,INT _AMODE)
41
Note The cycle is provided with new functions that are not on earlier software versions. Consequently certain parameters in the input mask (NUM, RAD, INDA) are no longer displayed. Multiple slots on one position pattern can be programmed using "MCALL" and calling the desired position pattern, e.g. HOLES2.
42
1.24
Programming
Parameters
No. 1 2 3 4 5 6 7 8 9 10 11 12 Param Mask RP Z0 SC Z1 H1 U P NT DXY F Param intern _RTP _RFP _SDIS _DP _DIATH _H1 _FAL _PIT _NT _MID _FFR _TYPTH Explanation Retraction plane (abs) Reference point of tool axis (abs) Safety clearance (to be added to reference point, enter without sign) Thread length (abs/inc), see _AMODE Take account of runout at base of hole (at least half pitch) Nominal diameter of the thread Thread depth Finishing allowance Pitch (_PITA selection: mm, inch, MODUL, threads/inch) Number of teeth on the tool tip Tool length is always with respect to bottom tooth. Maximum infeed per cut _MID > _H1: all in one cut Milling feed Thread type 0 = Internal thread 1 = External thread 13 14 15 16 X0 Y0 S _PA _PO _NSP _VARI Circle center 1st axis (abs) Circle center 2nd axis (abs) Start angle (multi-start thread) Machining type UNITS: 1 = Roughing 2 = Finishing TENS: 1 = from top to bottom 2 = from bottom to top HUNDREDS: 0 = right-hand thread 1 = Left-hand thread
43
44
1.25
Programming
CYCLE60 (STRING[200] _TEXT, REAL _RTP, REAL _RFP, REAL _SDIS, REAL _DP, REAL _DPR,REAL _PA, REAL _PO, REAL _STA, REAL _CP1, REAL _CP2, REAL _WID, REAL _DF, REAL _FFD, REAL _FFP1, INT _VARI, INT _CODEP, INT _UMODE,INT _GMODE,INT _DMODE,INT _AMODE)
Parameters
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 RP Z0 SC Z1 Z1 X0 R Y0 0 1 XM LM YM M W DX1 DX2 2 FZ F _CP2 _WID _DF _STA _CP1 _PO Param Mask Param intern _TEXT _RTP _RFP _SDIS _DP _DPR _PA Explanation Text to be engraved (up to 100 characters) Retraction plane (abs) Reference point of tool axis (abs) Safety clearance (to be added to the reference plane, enter without sign) Depth (abs), see _AMODE Depth (inc), see _AMODE Reference point in 1st axis of plane (abs) - right-angled, see _VARI Reference point, length (radius) - polar, see _VARI Reference point in 2nd axis of plane (abs) - right-angled, see _VARI Reference point, angle with respect to 1st axis - polar, see _VARI Text direction, angle of line of text with respect to 1st axis, see _VARI Center of circle of text, 1st axis of plane (abs) - right-angled, see _VARI Center of circle of text, length (radius) with respect to WNP - polar, see _VARI : Center of circle of text, 2nd axis of plane (abs) - right-angled, see _VARI Center of circle of text, angle with respect to 1st axis - polar, see _VARI Height of characters (enter without sign) Distance between characters / overall width, see _VARI Opening angle, see _VARI _FFD _FFP1 _VARI Depth infeed rate, see _DMODE Feedrate for surface machining Machining (Alignment and reference point for engraved text) UNITS: Reference point 0: Rectangular 1: Polar TENS: Text alignment 0: Text on one line 1: Text in an upward pointing arc 2: Text in a downward curving arc HUNDREDS: Reserved
14 15 16
45
46
1.26
Programming
CYCLE62(STRING[140] _KNAME,INT _TYPE,STRING[32] _LAB1, STRING[32] _LAB2)
Parameters
No. 1 2 Param Mask PRG/ CON Param intern _KNAME _TYPE Explanation Contour name or subroutine name does not have to be programmed in _TYPE = 2 Determination of contour input 0 = Subroutine 1 = Contour name 2 = Labels 3 = Labels in the subroutine 3 4 LAB1 LAB2 _LAB1 _LAB2 Label 1, start of contour Label 2, end of contour
1.27
Programming
Parameters
No. 1 2 3 4 5 6 7 8 9 10 RP Z0 SC Z1 DZ UXY UZ FX FZ Param Mask Param intern _KNAME _RTP _RFP _SDIS _DP _MID _FAL _FALD _FFP1 _FFD Explanation Name of the contour subroutine Retraction plane (abs) Reference point of tool axis (abs) Safety clearance (to be added to reference point, enter without sign) End point, final depth (abs/inc), see _AMODE Maximum depth infeed (inc; enter without sign) Finishing allowance, plane (inc), allowance at edge contour Finishing allowance depth (inc), allowance at base (enter without sign) Feedrate on contour Feedrate for depth infeed (or spatial infeed)
47
13
_AS1
48
Note If the following transfer parameters are programmed indirectly (as parameters), the input mask is not reset: _VARI, _RL, _AS1, _AS2, _UMODE, _GMODE, _DMODE. _AMODE
49
1.28
Programming.
CYCLE64(STRING[70] _PRG,INT _VARI,REAL _RP,REAL _Z0,REAL _SC, REAL _Z1,REAL _F,REAL _DXY,REAL _UXY,REAL _UZ,INT _CDIR, STRING[20] _TR,INT _DR,INT _UMODE,INT _GMODE,INT _DMODE, INT _AMODE)
50
51
1.29
Programming.
52
53
1.30
Programming
Parameters
No. 1 2 3 4 5 6 7 Param Mask X0 Z0 X1 Z1 Param intern _SPD _SPL _EPD _EPL Explanation Reference point (abs, always diameter) Reference point (abs) End point End point Intermediate point, see _DMODE (TENS) Intermediate point, see _DMODE (TENS) Position of stock removal corner 0 = External/rear 1 = External/front 2 = Internal/rear 3 = Internal/front Maximum depth infeed on insertion Finishing allowance in X Finishing allowance in Z Machining type UNITS: Stock removal direction (longitudinal or transverse) in the coordinate system 1 = Longitudinal 2 = Transverse TENS: 1 = Roughing to finishing allowance 2 = Finishing HUNDREDS: 0 = With rounding at the contour, without residual corners 1 = Without rounding at the contour THOUSANDS: 0 = With radius/chamfer at corner 2 1 = With undercut at corner 2 TEN THOUSANDS: 0 = Stand still after machining 1 = Return to starting position 12 R1/FS1 _RF1 Rounding radius or chamfer width 1, see _AMODE (TEN THOUSANDS)
8 9 10 11
D UX UZ
54
18
_DMODE
55
1.31
Groove - CYCLE930
Programming
CYCLE930 (REAL _SPD,REAL _SPL,REAL _WIDG,REAL _WIDG2,REAL _DIAG, REAL _DIAG2,REAL _STA,REAL _ANG1,REAL _ANG2,REAL _RCO1,REAL _RCI1, REAL _RCI2,REAL _RCO2,REAL _FAL,REAL _IDEP1,REAL _SDIS,INT _VARI, INT _DN,INT _NUM,REAL _DBH,REAL _FF1,INT _NR,REAL _FALX,REAL _FALZ, INT _DMODE,INT _AMODE)
Parameters
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Param Mask X0 Z0 B1 B2 T1 T2 0 1 2 Param intern _SPD _SPL _WIDG _WIDG2 _DIAG _DIAG2 _STA _ANG1 _ANG2 Explanation Reference point in the plane axis (always diameter) Reference point along the longitudinal axis Width at bottom of groove Width at top of groove (for interface only) Depth of groove at the reference point for abs and longitudinal machining = diameter, otherwise inc Groove depth opposite the reference point (for interface only), for abs and longitudinal machining = diameter, otherwise inc Angle of inclination (-180 _STA 180) Side angle 1 (0 _ANG1 < 90) at the side of the groove determined by the reference point Side angle 2 (0 _ANG2 < 90) opposite the reference point Rounding radius or chamfer width 1, external at the reference point Rounding radius or chamfer width 2, internal at the reference point Rounding radius or chamfer width 3, internal opposite the reference point Rounding radius or chamfer width 4, external opposite the reference point Finishing allowance in X and Z, see _VARI (TEN THOUSANDS) (to be entered without sign) Maximum depth infeed on insertion (enter without sign) 0 = 1st cut directly to full depth > 0 = 1st cut _IDEP1, 2nd cut 2 _IDEP1 etc. 16 17 SC _SDIS _VARI Safety clearance (enter without sign) Machining type UNITS: Reserved TENS: Machining process 1 = Roughing 2 = Finishing 3 = Roughing and finishing HUNDREDS: Position longitudinal/transverse external/internal +Z/+Z and +X/-X
R1/FS1 _RCO1 R2/FS2 _RCI1 R3/FS3 _RCI2 R4/FS4 _RCO2 U D _FAL _IDEP1
56
57
1.32
Programming
CYCLE940(REAL _SPD,REAL _SPL,CHAR _FORM,INT _LAGE,REAL _SDIS, REAL _FFP,INT _VARI,REAL _EPD,REAL _EPL,REAL _R1,REAL _R2, REAL _STA,REAL _VRT,REAL _MID,REAL _FAL,REAL _FALX,REAL _FALZ, INT _PITI,STRING[5] _PTAB,STRING[20] _PTABA,INT _DMODE,INT _AMODE)
58
Parameters
No. 1 2 3 Param Mask X0 Z0 FORM Param intern _SPD _SPL _FORM Prog. for form E x x x F x x x A-D x x x T x x x Reference point in the plane axis (always diameter) Reference point on longitudinal axis (abs) Form of undercut (capital letters, e.g. "T") Selection, table from which the undercut values should be taken A = External, reference DIN76, A = normal B = External, reference DIN76, B = short C = Internal, reference DIN76, C = normal D = Internal, reference DIN76, D = short E = Reference DIN509 F = Reference DIN509 T = Free form 4 LAGE _LAGE x x x x Position of undercut (parallel Z) 0 = External +Z: \____| 1 = External -Z: |____/ 2 = Internal +Z: /-----| 3 = Internal -Z: |-----\ 5 6 7 SC F _SDIS _FFP _VARI x x x x x x x x x x Safety clearance (inc) Machining feedrate (mm/rev) Machining type UNITS: Machining 1 = Roughing 2 = Finishing 3 = Roughing + finishing TENS: Machining strategy 0 = Parallel to contour 1 = Longitudinal Undercut forms E and F are always machined in a single pass like finishing. 8 9 10 11 12 13 14 15 16 X1 Z1 R1 R2 VX D U UX _EPD _EPL _R1 _R2 _STA _VRT _MID _FAL _FALX x x x x x x x x x x x x x x x x x x x Allowance X (abs/inc), see _AMODE) Depth of undercut (abs/inc), see _AMODE Allowance Z Undercut width (abs/inc), see _AMODE Rounding radius on slopes Rounding radius in the corner Insertion angle Cross-feed X (abs/inc), see _AMODE Cross-feed X when finishing, (abs/inc), see _AMODE Depth infeed Finishing allowance parallel to contour, see _AMODE Finishing allowance X Explanation
59
Select radius/depth, form E, F 4 = 2.5 0.4 5 = 4.0 0.5 6 = 0.4 0.2 7 = 0.6 0.2
String for thread table ("", "ISO", "BSW", "BSP", "UNC") (for the interface only) String for selection from thread table (e.g. "M 10", "M 12", ...) (for the interface only) Display mode UNITS: machining plane G17/18/19 0 = Compatibility, the level effective before cycle call remains active 1 = G17 (only active in the cycle) 2 = G18 (only active in the cycle) 3 = G19 (only active in the cycle)
22
_AMODE x x x
Alternate mode UNITS: Parameter _EPD allowance X or depth of undercut 0 = Absolute (always diameter) 1 = Incremental x x x TENS: Parameter _EPL allowance Z or width of undercut 0 = Absolute 1 = Incremental x x x x HUNDREDS: Parameter _VRT cross-feed X 0 = Absolute (always diameter) 1 = Incremental x x THOUSANDS: Finishing allowance 0 = Finishing allowance parallel to contour (_FAL) = Separate machining allowance (_FALX/_FALZ)
60
1.33
Programming
CYCLE99(REAL _SPL,REAL _SPD,REAL _FPL,REAL _FPD,REAL _APP, REAL _ROP,REAL _TDEP,REAL _FAL,REAL _IANG,REAL _NSP,INT _NRC, INT _NID,REAL _PIT,INT _VARI,INT _NUMTH,REAL _SDIS,REAL _MID, REAL _GDEP,REAL _PIT1,REAL _FDEP,INT _GST,INT _GUD,REAL _IFLANK, INT _PITA,STRING[15] _PITM,STRING[20] _PTAB,STRING[20] _PTABA, INT _DMODE,INT _AMODE)
Parameters
No. 1 2 3 4 5 6 7 8 9 Param Mask Z0 X0 Z1 X1 Param intern _SPL _SPD _FPL _FPD Explanation Reference point (abs) Reference point (abs, always diameter) End point, see _AMODE (UNITS) End point, see _AMODE (TENS) Thread approach, see _AMODE (HUNDREDS) or Thread run-in = thread run-out, see _AMODE (HUNDREDS) LR H1 U DP P _ROP _TDEP _FAL _IANG Thread run-out Thread depth Finishing allowance in X and Z Infeed slope as a distance or an angle, see _AMODE (THOUSANDS) > 0 = Infeed on the positive side < 0 = Infeed on the negative side 0 = Center infeed 10 11 12 13 14 0 ND NN P _NSP _NRC _NID _PIT _VARI Starting angle offset (only effective with "single start") Number of roughing cuts, in combination with _VARI (TEN THOUSANDS) Number of non-cuts Pitch as a value, see _PITA Machining type UNITS: Technology 1 = External thread with linear infeed 2 = Internal thread with linear infeed 3 = External thread with degressive infeed, cross-section of cut remains constant 4 = Internal thread with degressive infeed, cross-section of cut remains constant TENS: Reserved HUNDREDS: Infeed type 1 = Infeed on one side 2 = Infeed alternate sides THOUSANDS: Reserved
LW/LW2 _APP
61
62
Note 1) Parameters _PITM, _PTAB and _PTABA are only used for thread selection in the input mask thread tables. The thread tables cannot be accessed via cycle definition in cycle run time.
63
1.34
Programming
CYCLE98(REAL _PO1,REAL _DM1,REAL _PO2,REAL _DM2,REAL _PO3,REAL _DM3, REAL _PO4,REAL _DM4,REAL APP,REAL ROP,REAL TDEP,REAL FAL,REAL _IANG, REAL NSP,INT NRC,INT NID,REAL _PP1,REAL _PP2,REAL _PP3,INT _VARI, INT _NUMTH,REAL _VRT,REAL _MID,REAL _GDEP,REAL _IFLANK, INT _PITA,STRING[15] _PITM1,STRING[15] _PITM2,STRING[15] _PITM3, INT _DMODE,INT _AMODE)
Parameters
No. 1 2 3 4 Param Mask Z0 X1 Z1 X1 X1 5 6 Z2 X2 X2 7 8 Z3 X3 X3 9 10 11 12 13 LW LR H1 U DP P APP ROP TDEP FAL _IANG _PO4 _DM4 _PO3 _DM3 Param intern _PO1 _DM1 _PO2 _DM2 Explanation Reference point in Z (abs) Reference point in X (abs), in diameter Intermediate point 1 in Z (abs/inc), see _AMODE (UNITS) Intermediate point 1 in X (abs/inc), see _AMODE (TENS) or Thread inclination 1 (-90 to 90) abs is always diameter, inc is always radius Intermediate point 2 in Z, (abs/inc), see _AMODE (HUNDREDS) Intermediate point 2 in X (abs/inc), see _AMODE (THOUSANDS) or Thread inclination 2 (-90 to 90) abs is always diameter, inc is always radius End point in Z, (abs/inc), see _AMODE (TEN THOUSANDS) End point in X, (abs/inc), see _AMODE (HUNDRED THOUSANDS) or Thread inclination 3 (-90 to 90) abs is always diameter, inc is always radius Thread approach (inc, to be entered without sign) Thread run-out (inc, to be entered without sign) Thread depth (inc, to be entered without sign) Finishing allowance in X and Z Infeed slope as a distance or an angle, see _AMODE (MILLION) The infeed slope is applied according to the setting of parameter _VARI (HUNDREDS). Definition of _VARI_HUNDERTER = 0 - Compatibility mode: > 0 = Side infeed on one side 0 = Infeed vertical in the thread < 0 = Side infeed with alternating sides Definition for _VARI_HUNDERTER<>0: > 0 = Infeed on the positive side 0 = Center infeed < 0 = Infeed on the negative side 14 0 NSP Starting angle offset for the 1st thread
64
65
27 28 29 30
66
1.35
Cut-off - CYCLE92
Programming
CYCLE92(REAL _SPD,REAL _SPL,REAL _DIAG1,REAL _DIAG2,REAL _RC, REAL _SDIS,REAL _SV1,REAL _SV2,INT _SDAC,REAL _FF1,REAL _FF2, REAL _SS2,REAL _DIAGM,INT _VARI,INT _DN,INT _DMODE,INT _AMODE)
Parameters
No. 1 2 3 4 5 6 7 8 9 Param Mask X0 Y0 X1 X2 R/FS SC S V SV DIR _SV2 _SDAC Param intern _SPD _SPL _DIAG1 _DIAG2 _RC _SDIS _SV1 Explanation Reference point (abs, always diameter) Reference point (abs) Depth for speed reduction, see _AMODE (UNITS) Final depth, see _AMODE (TENS) Rounding status or chamfer width, see _AMODE (THOUSANDS) Safety clearance (to be added to reference point, enter without sign) Constant spindle speed, see _AMODE (TEN THOUSANDS) Constant cutting rate Maximum speed at constant cutting speed Direction of spindle rotation 3 = for M3 4 = for M4 10 11 12 13 14 F FR SR XM _FF1 _FF2 _SS2 _DIAGM _VARI Infeed as far as depth for speed reduction Reduced infeed as far as final depth Reduced speed as far as final depth Depth to withdraw parts gripper (abs, always diameter) Machining type UNITS: Retraction 0 = Retraction to _SPD+_SDIS 1 = No retraction at the end TENS: Parts gripper 0 = No, do not execute M command 1 = Yes, call from CUST_TECHCYC(101)- open drawer, CUST_TECHCYC(102)- close drawer 15 20 _DN _DMODE D number for 2nd edge of tool; if not programmed D+1 Display mode UNITS: Machining plane G17/G18/G19 0 = Compatibility, the level effective before cycle call remains active 1 = G17 (only active in the cycle) 2 = G18 (only active in the cycle) 3 = G19 (only active in the cycle)
67
68
1.36
Programming
Parameters
No. 1 2 3 4 Param Mask PRG CON CONR Param intern _PRG _CON _CONR _VARI Explanation Name of stock removal program Program name from which the updated contour of the blank is read (for residual machining) Name of program into which the updated contour for the blank (see _AMODE TEN THOUSANDS) will be written Machining type UNITS: Type of stock removal 1 = Longitudinal 2 = Face 3 = Parallel to contour TENS: Machining process, (see _GMODE HUNDREDS) 1 = Roughing 2 = Finishing 3 = Complete machining HUNDREDS: Machining direction 1 = Machining direction X 2 = Machining direction X + 3 = Machining direction Z 4 = Machining direction Z + THOUSANDS: Infeed direction 1 = Externally X2 = Internally X + 3 = Front face Z 4 = Rear face Z + TEN THOUSANDS: Define effect of finishing allowances 0 = Separate UX and UZ finishing allowances 1 = Finishing allowance U parallel to contour HUNDRED THOUSANDS: Rounding 0 = Compatibility, automatic rounding 1 = With rounding at the contour 2 = Without rounding 3 = Automatic rounding
69
70
71
72
1.37
Swiveling - CYCLE800
Programming
CYCLE800(INT _FR,STRING[32] _TC,INT _ST,INT _MODE,REAL _X0, REAL _Y0,REAL _Z0,REAL _A,REAL _B,REAL _C,REAL _X1,REAL _Y1, REAL _Z1,INT _DIR,REAL _FR_I ,INT _DMODE)
Parameters
No. 1 Param Mask Param intern _FR Explanation Retraction mode: 0 = no retraction 1 = Retraction machine axis Z 2 = Retraction machine axis Z and then XY 3 = reserved 4 = Maximum retraction in tool direction 5 = Incremental retraction in tool direction 2 _TC Name of swivel data record: "" (no name) if only one swivel data record exists "0" Deselect swivel data record (delete the swivel frames) 3 _ST Status transformations UNITS: 0 = New, swivel level is deleted and recalculated using the current parameters 1 = Additive, swivel level is added to active swivel level TENS: Replace tool tip yes/no (only active when IBN SWIVEL function is set up) 0 = Do not replace tool tip 1 = Replace tool tip (TRAORI) HUNDREDS: Approach/align tool (function is shown in tool swivel input mask) 0 = Do not approach tool 1 = Approach tool (preferably radial mill) 2 = Align turning tool (when B axis kinematic is set up for milling in IBN swiveling) 3 = Align milling tool (when B axis kinematic is set up for milling in IBN swiveling) 9 = reserved THOUSANDS: Internal "Swiveling in JOG" parameter TEN THOUSANDS: See direction parameter _DIR 0 = Swivel "yes" 1 = Swivel "no", "minus" direction3) 2 = Swivel "no", "plus" direction3) HUNDRED THOUSANDS: See direction parameter _DIR 0 = Compatibility 1 = Direction selection "Minus" optimized4) 2 = Direction selection "Plus" optimized4)
73
Explanation Swivel mode: Evaluation of swivel angle and swivel sequence (bit-coded) Bit: 7 6 0 0: Swivel angle by axis -> see parameters _A, _B, _C 0 1: Solid angle -> see parameters _A, _B1) 1 0: Projection angle -> see parameters _A, _B _C 1) 1 1: Direct rotary axis swivel mode -> see parameters _A, _B1) Bit: 5 4 3 2 1 0 (these do not apply to solid angles) xxxx01 xxxx10 xxxx11 xx01xx xx10xx xx11xx 01xxxx 10xxxx 11xxxx 1st rotation _A around X 1st rotation _A around Y 1st rotation _A around Z 2nd rotation _B around X 2nd rotation _B around Y 2nd rotation _B around Z 3rd rotation _C around X 3rd rotation _C around Y 3rd rotation _C around Z
5 6 7 8 9 10 11 12 13 14
Reference point X prior to rotation Reference point Y prior to rotation Reference point Z prior to rotation 1st rotation acc. to setting in _MODE parameter 2nd rotation acc. to setting in _MODE parameter 3rd rotation acc. to setting in _MODE parameter Reference point X after rotation Reference point Y after rotation Reference point Z after rotation Initiate travel of rotary axes (default = -1!): -1 = Position at smaller value of rotary axis 1 or 22) +1 = Position at larger value of rotary axis 1 or 22) 0 = Do not swivel (merely calculate swivel frame) 1) 3)
15 16
FR
_FR_I _DMODE
Value (inc) of retraction in tool direction incremental Display mode UNITS: Machining plane G17/G18/G19 0 = Compatibility, the level effective before cycle call remains active 1 = G17 (only active in the cycle) 2 = G18 (only active in the cycle) 3 = G19 (only active in the cycle)
74
Note If the following transfer parameters are programmed indirectly (as parameters), the input mask is not reset: _FR, _ST, _TC, _MODE, _DIR 1) Can be selected when function is set up in IBN SWIVEL 2) Can be selected if direction reference to rotary axis 1 or 2 is set in IBN SWIVEL If direction reference is "no" there is no selection field 3) Swivel selection "no" can be grayed out SD 55221 Bit 0 1 = Swivel "no", "minus" direction corresponds to _DIR = 0 and _ST TEN THOUSANDS = 1 Swivel "no", "plus" direction corresponds to _DIR = 0 and _ST TEN THOUSANDS = 2 4) The direction selection for rotary axis 1 or 2 also occurs if the rotary axis with the direction reference is in the pole position (position value equals zero). 5) Coding example: Axis-by-axis rotation, rotary sequence ZYX Binary: 00011011 Decimal: 27 The axis identifiers XYZ correspond to the geometrical axes of the NC channel. Individual rotations about the XYZ axes are permissible. Example: rotary sequence about ZXZ is not permitted in one call of CYCLE800.
75
1.38
Programming
CYCLE832(_TOL, _TOLM, _V832) Note CYCLE832 does not relieve the machine manufacturer of necessary optimization tasks when commissioning the machine. This applies to optimization of the axes that take part in machining and the NCU settings (forward control, jerk limiting etc.)
Parameters
No. 1 2 Param Mask TOL Param intern _TOL _TOLM Explanation Tolerance Technology UNITS: 0 = Deselection 1 = Finishing 2 = Semi-finishing 3 = Roughing 3 _V832 Version CYCLE832 UNITS: 0 = up to software version 7.5 1 = from HMI sl software version 2.6 onward
76
Index
B
Boring - CYCLE86 Programming syntax, 11 Programming syntax, 9 CYCLE84 - tapping without compensating chuck Programming syntax, 12 CYCLE840 - tapping with compensating chuck Programming syntax, 15 CYCLE85 - reaming Programming syntax, 8 CYCLE86 - boring Programming syntax, 11 CYCLE92 - cut-off Programming syntax, 67 CYCLE930 - groove Programming syntax, 56 CYCLE940 - undercut Programming syntax, 58 CYCLE95 - contour cutting Programming syntax, 69 CYCLE951 - stock removal Programming syntax, 54 CYCLE98 - thread turning Programming syntax, chained thread, 64 CYCLE99 - thread turning Programming syntax, face thread, 61 Programming syntax, longitudinal thread, 61 Programming syntax, tapered thread, 61
C
Centering - CYCLE81 Programming syntax, 6 Circular pocket - POCKET4 Programming syntax, 27 Circular position pattern - HOLES2 Programming syntax, 22 Circular spigot - CYCLE77 Programming syntax, 31, 39 Circumferential slot - SLOT2 Programming syntax, 37 Contour call - CYCLE62 Programming syntax, 47 Contour cutting - CYCLE95 Programming syntax, 69 Cut-off - CYCLE92 Programming syntax, 67 CYCLE61- face milling Programming syntax, 17, 23 CYCLE62- contour call Programming syntax, 47 CYCLE70 - thread milling Programming syntax, 43 CYCLE72 - Path milling Programming syntax, 47 CYCLE76 - rectangular spigot Programming syntax, 29 CYCLE77 - circular spigot Programming syntax, 31, 39 CYCLE79 - multiple-edge Programming syntax, 33 CYCLE801 - grid/frame position pattern Programming syntax, 21 CYCLE802 - freely programmable positions Programming syntax, 19 CYCLE81 - centering Programming syntax, 6 CYCLE82 - drilling Programming syntax, 7 CYCLE83 - deep-hole drilling
D
Deep-hole drilling - CYCLE83 Programming syntax, 9 Drilling - CYCLE82 Programming syntax, 7
E
Elongated hole - LONGHOLE Programming syntax, 41
F
Face milling - CYCLE61 Programming syntax, 17, 23 Freely programmable positions - CYCLE802 Programming syntax, 19
77
Index
G
Grid/frame position pattern - CYCLE801 Programming syntax, 21 Groove - CYCLE930 Programming syntax, 56
SLOT2 - circumferential slot Programming syntax, 37 Stock removal - CYCLE951 Programming syntax, 54
T H
HOLES1 - line position pattern Programming syntax, 20 HOLES2 - circular position pattern Programming syntax, 22 Tapping with compensating chuck - CYCLE840 Programming syntax, 15 Tapping without compensating chuck - CYCLE84 Programming syntax, 12 Thread milling - CYCLE70 Programming syntax, 43 Thread turning - CYCLE98 Programming syntax, chained thread, 64 Thread turning - CYCLE99 Programming syntax, face thread, 61 Programming syntax, longitudinal thread, 61 Programming syntax, tapered thread, 61
L
Line position pattern - HOLES1 Programming syntax, 20 LONGHOLE - elongated hole Programming syntax, 41 Longitudinal slot - SLOT1 Programming syntax, 34
U
Undercut - CYCLE940 Programming syntax, 58
M
Multiple-edge - CYCLE79 Programming syntax, 33
P
Path milling - CYCLE72 Programming syntax, 47 POCKET3 - rectangular pocket Programming syntax, 25, 50, 52 POCKET4 - circular pocket Programming syntax, 27
R
Reaming - CYCLE85 Programming syntax, 8 Rectangular pocket - POCKET3 Programming syntax, 25, 50, 52 Rectangular spigot - CYCLE76 Programming syntax, 29
S
SLOT1- longitudinal slot Programming syntax, 34
G code programming Programming Manual, 03/2009
78
79