SINUMERIK 840D sl NC programming. Programming Manual (2020) - page 17

 

  Index      Manuals     SINUMERIK 840D sl NC programming. Programming Manual (2020)

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     15      16      17      18     ..

 

 

 

SINUMERIK 840D sl NC programming. Programming Manual (2020) - page 17

 

 

Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
40
<S_AMODE3
INT
Alternative mode 3
>
UNITS:
Drilling depth ZA abs/inc
0 =
Incremental
1 =
Absolute
TENS:
Depth of the pilot hole ZP
0 =
Incremental
1 =
Absolute
2 =
Factor of the hole diameter
HUNDREDS:
Remaining drilling depth ZD abs/inc
0 =
Incremental
1 =
Absolute
41
ZPV
<S_ZPV>
REAL
Incremental limit distance from pilot hole depth
3.26.1.39
CYCLE832 - High-Speed Settings
Syntax
CYCLE832(<S_TOL>, <S_TOLM>, <S_OTOL>)
Note
CYCLE832 does not relieve the machine manufacturer from optimization tasks that are
necessary when commissioning the machine. This involves the optimization of the axes involved
in the machining process and NCU settings (precontrol, jerk limiting, etc.).
NC programming
1112
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Parameters
No.
Parame-
Parameter
Data type
Meaning
ter mask
internal
1
Tolerance
<S_TOL>
REAL
Contour tolerance
The contour tolerance corresponds to the axis tolerance of the geometry axes.
2
<S_TOLM>
INT
Machining type (technology)
UNITS:
0 =
Deselection
1 =
Finishing
2 =
Rough finishing (semi-finishing)
3 =
Roughing
4 =
Smooth finishing (precision)
TENS:
0 =
Compatibility1) or no orientation
tolerance
1 =
Orientation tolerance in parame-
ter <S_OTOL>
HUNDREDS
Assigned
for reasons of
HUNDRED THOU-
compatibility
SANDS
ONE MILLION:
0 =
Compatibility. The best available
mold making function is automati-
cally used:
• Option Top Surface not active:
 Advanced Surface
• Option Top Surface active:
⇒ Top Surface with smoothing
1 =
Top Surface without smoothing
2 =
Top Surface with smoothing
3
ORI toler-
<S_OTOL>
REAL
Orientation tolerance or version identifier CYCLE832
ance
Tolerance parameter for the orientation of the workpiece.
Is required when executing a high-speed machining program on machines with
dynamic orientation transformation (e.g. 5-axis machining).
Parameter <S_OTOL> must be programmed. This also applies for applications
on 3-axis machines for programs without orientation of the tool
(<S_OTOL> = 1).
1)
Orientation tolerance derived from the cycle setting data SD55451 ... SD55454 (orientation tolerance for dynamic response
mode...) or SD55445 ... SD55449 (contour tolerance for dynamic response mode...) multiplied by the factor from
SD55441 ... SD55444.
Further information: SINUMERIK Operate Commissioning Manual
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1113
Work preparation
3.26 Programming cycles externally
Plain text entry
To improve the readability of the cycle call, parameter <S_TOLM> (machining type) can also be
entered in the plain text. Plain texts are independent of any language. The following entries are
permitted:
_OFF
for
0
Deselection
_FINISH
for
1
Finishing
_SEMIFIN
for
2
Rough finishing
_ROUGH
for
3
Roughing
_PRECISION
for
4
Smooth finishing
_ORI_FINISH
for
11
Finishing with input of an orienta-
tion tolerance
_ORI_SEMIFIN
for
12
Semi-finishing with input of an ori-
entation tolerance
_ORI_ROUGH
for
13
Roughing with input of an orienta-
tion tolerance
_ORI_PRECISION
for
14
Smooth finishing with input of an
orientation tolerance
_TOP_SURFACE_SMOOTH_OFF
for
1000000
Top Surface without smoothing
_TOP_SURFACE_SMOOTH_ON
for
2000000
Top Surface with smoothing
For plain text input for Top Surface, plain texts are combined as shown in the following example:
CYCLE832(0.1, _TOP_SURFACE_SMOOTH_OFF+_ORI_FINISH, 1)
Note
The plain texts are based on the function names of the G group 59 (dynamic mode for path
interpolation). With these plain texts, 3-axis machines and machines with multi-axis orientation
transformation (TRAORI) are clearly separated in the application.
Deselecting CYCLE832
When CYCLE832 is deselected, parameter <S_TOL> must be transferred with zero.
Example: CYCLE832(0,0,1)
The syntax CYCLE832() is also permitted for deselecting CYCLE832.
Examples
Example 1: CYCLE832 on 3-axis machine without orientation transformation
a) Cycle call with plain text input
Program code
Comment
G710
; Dimension system is metric.
NC programming
1114
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Program code
Comment
CYCLE832(0.004,_FINISH,1)
; CYCLE832 call with:
Contour tolerance = 0.004 mm, machining type:
Finishing
; Execution of a high-speed machining program
b) Cycle call without plain text input
Program code
Comment
G710
; See above
CYCLE832(0.004,1,1)
; See above
; See above
Example 2: CYCLE832 on 5-axis machine with orientation transformation
a) Cycle call and deselection with plain text input
Program code
Comment
G710
; Dimension system is metric.
TRAORI
; Activate orientation transformation.
CYCLE832(0.3,_ORI_ROUGH,0.8)
; CYCLE832 call with:
Contour tolerance = 0.3 mm, machining type:
Roughing with input of an orientation toler-
ance; orientation tolerance = 0.8 degrees
; Execution of a high-speed machining program
CYCLE832(0,_OFF,1)
; Contour tolerance = 0,
machining type: Deselection of CYCLE832,
orientation tolerance = 0 degrees
b) Cycle call and deselection without plain text input
Program code
Comment
G710
; See above
TRAORI
; See above
CYCLE832(0.3,13,0.8)
; See above
; See above
CYCLE832(0,0,1)
; See above
3.26.1.40
CYCLE840 - tapping with compensating chuck
Syntax
CYCLE840(<RTP>, <RFP>, <SDIS>, <DP>, <DPR>, <DTB>, <SDR>, <SDAC>,
<ENC>, <MPIT>, <PIT>, <_AXN>, <_PITA>, <_TECHNO>, <_PITM>, <_PTAB>,
<_PTABA>, <_GMODE>, <_DMODE>, <_AMODE>)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1115
Work preparation
3.26 Programming cycles externally
Parameters
No.
Parameter
Parameter
Data type
Meaning
mask
internal
1
RP
<RTP>
REAL
Retraction plane (abs)
2
Z0
<RFP>
REAL
Reference point (abs)
3
SC
<SDIS>
REAL
Safety clearance (to be added to reference point, enter without sign)
4
Z1
<DP>
REAL
Drilling depth (abs), see <_AMODE>
5
Z1
<DPR>
REAL
Drilling depth (inc), see <_AMODE>
6
DT
<DTB>
REAL
Dwell time in seconds at drilling depth / safety clearance after retraction,
see <ENC>
7
<SDR>
INT
Direction of rotation for retraction
8
SDE
<SDAC>
INT
Direction of rotation after end of cycle
9
<ENC>
INT
Tapping with spindle mounted encoder (G33)/tapping without spindle
mounted encoder (G63)
0 =
With spindle moun-
- Pitch
ted encoder
from <MPIT>/
<PIT>
- without
DT
20 =
With spindle moun-
- Pitch from
ted encoder
<MPIT>/<PIT>
-
with DT after retrac-
tion to safety clear-
ance
11 =
Without spindle
- Pitch
mounted encoder
from <MPIT>/
<PIT> - with DT at
drilling depth
1 =
Without spindle
- Pitch from pro-
mounted encoder
grammed feedrate
- with DT at drilling
depth (feedrate =
speed · pitch)
10
<MPIT>
REAL
Thread size for "ISO metric" only (pitch is calculated internally during run
time)
Range of values: 3 to 48 (for M3 to M48), alternative to <PIT>
11
<PIT>
REAL
Pitch as a value, for unit see <_PITA>
Range of values: > 0, alternative to MPIT
12
<_AXN>
INT
Drilling axis
0 =
3rd geometry axis
1 =
1st geometry axis
2 =
2nd geometry axis
≥ 3 =
3rd geometry axis
NC programming
1116
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
13
<_PITA>
INT
Pitch unit (evaluation of <PIT> and <MPIT>)
0 =
Pitch in mm
- evalua-
tion<MPIT>/
<PIT>
1 =
Pitch in mm
- evaluation<PIT>
2 =
Pitch in TPI
- evaluation of
<PIT>
(threads per inch)
3 =
Pitch in inches
- evaluation<PIT>
4 =
MODULUS
- evaluation<PIT>
14
<_TECHNO>
INT
Technology1)
UNITS:
Exact stop response
0 =
Exact stop response active as before cycle
call
1 =
Exact stop G601
2 =
Exact stop G602
3 =
Exact stop G603
TENS:
Feedforward control
0 =
With/without feedforward control active
as before cycle call
1 =
With feedforward control FFWON
2 =
Without feedforward control FFWOF
15
<_PITM>
STRING[15]
String as marker for pitch input2)
16
<_PTAB>
STRING[5]
String for thread table ("", "ISO", "BSW", "BSP", "UNC")2)
17
<_PTABA>
STRING[20]
String for selection from thread table (e.g. "M 10", "M 12", ...)2)
18
<_GMODE>
INT
Reserved
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1117
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
19
<_DMODE>
INT
Display mode
UNITS:
Machining plane G17/G18/G19
0 =
Compatibility, the plane effective before
the 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)
TENS:
Reserved
HUNDREDS:
Reserved
THOUSANDS:
Compatibility mode (for recompilation screen
form only), if MD 52216 bit0 = 11)
0 =
Technology parameters are displayed
(compatibility): TECHNO parameters ef-
fective
1 =
Technology parameters are not dis-
played: Technology active "as before cycle
call"
TEN THOUSANDS:
Technology scaling in cycle screen forms
(Page 1158)
0 =
Input: Complete
1 =
Input: Simple
20
<_AMODE>
INT
Alternative mode
UNITS:
Drilling depth Z1 (abs/inc)
0 =
Compatibility, from programming
<DP>/<DPR>
1 =
Incremental
2 =
Absolute
1) Technology fields may be hidden, depending on the setting date SD52216 MCS_FUNCTION_MASK_DRILL
2) Parameters 15, 16 and 17 are only used for thread selection in the screen form thread tables. The thread tables cannot be
accessed via cycle definition in cycle run time.
3.26.1.41
CYCLE899 - open slot
Syntax
CYCLE899(<_RTP>, <_RFP>, <_SDIS>, <_DP>, <_LENG>, <_WID>, <_PA>,
<_PO>, <_STA>, <_MID>, <_MIDA>, <_FAL>, <_FALD>, <_FFP1>, <_CDIR>,
<_VARI>, <_GMODE>, <_DMODE>, <_AMODE>, <_UMODE>, <_FS>, <_ZFS>)
NC programming
1118
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Parameters
No.
Parameter
Parameter
Data type
Meaning
mask
internal
1
RP
<_RTP>
REAL
Retraction plane (abs)
2
Z0
<_RFP>
REAL
Reference point of tool axis (abs)
3
SC
<_SDIS>
REAL
Safety clearance (to be added to reference point, enter without sign)
4
Z1
<_DP>
REAL
Slot depth (abs/inc), see <_AMODE>
5
L
<_LENG>
REAL
Length of slot (inc)
6
W
<_WID>
REAL
Width of slot (inc)
7
X0
<_PA>
REAL
Reference point/starting position 1st axis (abs)
8
Y0
<_PO>
REAL
Reference point/starting position 2nd axis (abs)
9
α0
<_STA>
REAL
Angle of rotation with respect to 1st axis
10
DZ
<_MID>
REAL
Maximum infeed depth (inc), for vortex milling only
11
DXY
<_MIDA>
REAL
Maximum plane infeed, see <_AMODE>
12
UXY
<_FAL>
REAL
Finishing allowance, plane
13
UZ
<_FALD>
REAL
Finishing allowance, depth
14
F
<_FFP1>
REAL
Feedrate
15
<_CDIR>
INT
Milling direction
UNITS:
0 =
Down-cut
1 =
Up-cut
4 =
Alternating
16
<_VARI>
INT
Machining
UNITS:
1 =
Roughing
2 =
Finishing
3 =
Base finishing
4 =
Edge finishing
5 =
Rough-finishing
6 =
Chamfering
TENS:
Reserved
HUNDREDS:
Reserved
THOUSANDS:
1 =
Vortex milling
2 =
Plunge cutting
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1119
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
17
<_GMODE>
INT
Geometrical mode (evaluation of programmed geometrical data)
UNITS:
Reserved
TENS:
Reserved
HUNDREDS:
Select machining/only calculation of start
point
1 =
Normal machining
THOUSANDS:
Dimensioning via center/edge
0 =
Dimensioning via center
1 =
"Left-hand" dimensioning using
edge ("-" direction of 1st axis)
2 =
"Right-hand" dimensioning using
edge ("+" direction of 1st axis)
18
<_DMODE>
INT
Display mode
UNITS:
Machining plane G17/G18/G19
0 =
Compatibility, the plane effective
before the cycle call remains ac-
tive
1 =
G17 (only active in the cycle)
2 =
G18 (only active in the cycle)
3 =
G19 (only active in the cycle)
TENS:
---
Reserved
HUNDREDS:
---
Reserved
THOUSANDS:
---
Reserved
TEN THOUSANDS:
Technology scaling in cycle screen forms
(Page 1158)
0 =
Input: Complete
1 =
Input: Simple
19
<_AMODE>
INT
Alternative mode
UNITS:
Slot depth Z1
0 =
Absolute
1 =
Incremental
TENS:
Unit for plane infeed (<_MIDA>) DXY
0 =
mm
1 =
% of tool diameter
HUNDREDS:
Insertion depth for chamfering ZFS
0 =
Absolute
1 =
Incremental
20
<_UMODE>
INT
Reserved
21
FS
<_FS>
REAL
Chamfer width (inc)
22
ZFS
<_ZFS>
REAL
Insertion depth (tool tip) on chamfering (abs/inc), see <_AMODE>
NC programming
1120
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
3.26.1.42
CYCLE930 - groove
Syntax
CYCLE930(<_SPD>, <_SPL>, <_WIDG>, <_WIDG2>, <_DIAG>, <_DIAG2>,
<_STA>, <_ANG1>, <_ANG2>, <_RCO1>, <_RCI1>, <_RCI2>, <_RCO2>,
<_FAL>, <_IDEP1>, <_SDIS>, <_VARI>, <_DN>, <_NUM>, <_DBH>, <_FF1>,
<_NR>, <_FALX>, <_FALZ>, <_DMODE>, <_AMODE>)
Parameters
No.
Parameter
Parameter
Data type
Meaning
mask
internal
1
X0
<_SPD>
REAL
Reference point in the plane axis (always diameter)
2
Z0
<_SPL>
REAL
Reference point along the longitudinal axis
3
B1
<_WIDG>
REAL
Width at bottom of groove
4
B2
<_WIDG2>
REAL
Width at top of groove (for interface only)
5
T1
<_DIAG>
REAL
Depth of groove at the reference point
for abs and longitudinal machining = diameter, otherwise inc
6
T2
<_DIAG2>
REAL
Groove depth opposite the reference point (for interface only),
for abs and longitudinal machining = diameter, otherwise inc
7
α0
<_STA>
REAL
Angle of inclination (-180 ≤ <_STA> ≤ 180)
8
α1
<_ANG1>
REAL
Side angle 1 (0 ≤ <_ANG1> < 90) at the side of the groove determined by
the reference point
9
α2
<_ANG2>
REAL
Side angle 2 (0 ≤ <_ANG2> < 90) opposite the reference point
10
R1/FS1
<_RCO1>
REAL
Rounding radius or chamfer width 1, external at the reference point
11
R2/FS2
<_RCI1>
REAL
Rounding radius or chamfer width 2, internal at the reference point
12
R3/FS3
<_RCI2>
REAL
Rounding radius or chamfer width 3, internal opposite the reference
point
13
R4/FS4
<_RCO2>
REAL
Rounding radius or chamfer width 4, external opposite the reference
point
14
U
<_FAL>
REAL
Finishing allowance in X and Z, see <_VARI> (TEN THOUSANDS) (to be
entered without sign)
15
D
<_IDEP1>
REAL
Maximum depth infeed on insertion (enter without sign)
0 =
1. Cut directly to full depth
> 0 =
1. Cut <_IDEP1>, 2nd cut 2
· <_IDEP1>, etc.
16
SC
<_SDIS>
REAL
Safety clearance (enter without sign)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1121
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
17
<_VARI>
INT
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
1 =
Longitudinal/external +Z
2 =
Transverse/internal -X
3 =
Longitudinal/internal +Z
4 =
Transverse/internal +X
5 =
Longitudinal/external -Z
6 =
Transverse/external -X
7 =
Longitudinal/internal -Z
8 =
Transverse/external +X
THOUSANDS:
Position of reference point
0 =
Upper reference point
1 =
Lower reference point
TEN THOUSANDS:
Define effect of finishing allowances
0 =
Finishing allowance U parallel to
the contour
1 =
Separate UX and UZ finishing al-
lowances
18
<_DN>
INT
D number for 2nd edge of tool
> 0 =
D number for tool offset of 2nd
edge of grooving tool
0 =
No 2nd edge programmed
19
N
<_NUM>
INT
Number of grooves (0 = 1 groove)
20
DP
<_DBH>
REAL
Distance between grooves (only needed when <_NUM> > 1)
21
F
<_FF1>
REAL
Feedrate
22
<_NR>
INT
Identification for form of groove corresponds to vertical softkey for form
selection
0 =
90° sides without chamfers/
rounding
1 =
Inclined sides with chamfers/
rounding (without α0)
2 =
As 1, but on taper (with α0)
23
UX
<_FALX>
REAL
Finishing allowance in X axis, see <_VARI> (TEN THOUSANDS) (to be
entered without sign)
24
UZ
<_FALZ>
REAL
Finishing allowance in Z axis, see <_VARI> (TEN THOUSANDS) (to be
entered without sign)
NC programming
1122
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
25
<_DMODE>
INT
Display mode
UNITS:
Machining plane G17/G18/G19
0 =
Compatibility, the plane effective
before the cycle call remains ac-
tive
1 =
G17 (only active in the cycle)
2 =
G18 (only active in the cycle)
3 =
G19 (only active in the cycle)
26
<_AMODE>
INT
Alternative mode
UNITS:
Dimensioning for top of groove (for inter-
face only)
0 =
At the reference point
1 =
Opposite the reference point
TENS:
Depth
0 =
Absolute
1 =
Incremental
HUNDREDS:
Dimensioning for width (for interface on-
ly)
0 =
At outer diameter (top)
1 =
At inner diameter (bottom)
THOUSANDS:
Radius/chamfer 1 (<_RCO1>)
0 =
Radius
1 =
Chamfer
TEN THOUSANDS:
Radius/chamfer 2 (<_RCI1>)
0 =
Radius
1 =
Chamfer
HUNDRED THOUSANDS:
Radius/chamfer 3 (<_RCI2>)
0 =
Radius
1 =
Chamfer
ONE MILLION:
Radius/chamfer 4 (<_RCO2>)
0 =
Radius
1 =
Chamfer
3.26.1.43
CYCLE940 - undercut form E and F / undercut thread
Various undercuts can be programmed using the CYCLE940 cycle. In some cases, these differ
significantly regarding the parameterization.
The additional columns in the table indicate which parameters are required for which undercut
type. They correspond to the vertical selection softkeys in the cycle screen form:
• E: Undercut form E
• F: Undercut form F
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1123
Work preparation
3.26 Programming cycles externally
• A-D: DIN thread undercut (forms A-D)
• T: Thread undercut (free definition of form)
Syntax
CYCLE940(<_SPD>, <_SPL>, <_FORM>, <_LAGE>, <_SDIS>, <_FFP>, <_VARI>,
<_EPD>, <_EPL>, <_R1>, <_R2>, <_STA>, <_VRT>, <_MID>, <_FAL>,
<_FALX>, <_FALZ>, <_PITI>, <_PTAB>, <_PTABA>, <_DMODE>, <_AMODE>)
Parameters
No
Param-
Parameter
Data type
Prog. for form
Meaning
eter
internal
mask
E
F
A-D
T
1
X0
<_SPD>
REAL
x
x
x
x
Reference point in the plane axis (always diameter)
2
Z0
<_SPL>
REAL
x
x
x
x
Reference point on longitudinal axis (abs)
3
FORM
<_FORM>
CHAR
x
x
x
x
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
POSI-
<_LAGE>
INT
x
x
x
x
Position of under-
0 =
External +Z: \____
|
TION
cut (parallel Z)
1 =
External -Z: |____
/
2 =
Internal +Z: /-----|
3 =
Internal -Z: |-----\
5
SC
<_SDIS>
x
x
x
x
Safety clearance (inc)
6
F
<_FFP>
x
x
x
x
Machining feedrate (mm/rev)
7
<_VARI>
INT
-
-
x
x
Machining type
UNITS:
Machining
1 =
Roughing
2 =
Finishing
3 =
Roughing + finishing
TENS:
Machining strategy
0 =
Parallel to the contour
1 =
Longitudinal
Undercut forms E and F are always machined in a single pass like finishing.
NC programming
1124
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Param-
Parameter
Data type
Prog. for form
Meaning
eter
internal
mask
8
X1
<_EPD>
x
x
-
-
Allowance X (abs/inc), see <_AMODE>
-
-
-
x
Undercut depth (abs/inc), see <_AMODE>
9
Z1
<_EPL>
-
x
-
-
Allowance Z
-
-
-
x
Undercut width (abs/inc), see <_AMODE>
10
R1
<_R1>
-
-
-
x
Rounding radius on slopes
11
R2
<_R2>
-
-
-
x
Rounding radius in the corner
12
α
<_STA>
-
-
x
x
Insertion angle
13
VX
<_VRT>
x
x
-
-
Cross-feed X (abs/inc), see <_AMODE>
-
-
x
x
Cross-feed X when finishing, (abs/inc), see <_AMODE>
14
D
<_MID>
-
-
x
x
Depth infeed
15
U
<_FAL>
-
-
x
x
Finishing allowance parallel to contour, see <_AMODE>
16
UX
<_FALX>
-
-
x
x
Finishing allowance X
17
UZ
<_FALZ>
-
-
x
x
Finishing allowance Z
18
P
<_PITI>
INT
-
-
x
-
Select pitch, form A-D, corresponds to M1 ... M68
0 = 0.20
6 = 0.50
12 = 1.25
18 = 3.50
1 = 0.25
7 = 0.60
13 = 1.50
19 = 4.00
2 = 0.30
8 = 0.70
14 = 1.75
20 = 4.50
3 = 0.35
9 = 0.75
15 = 2.00
21 = 5.00
4 = 0.40
10 = 0.80
16 = 2.50
22 = 5.50
5 = 0.45
11 = 1.00
17 = 3.00
23 = 6.00
x
x
-
-
Select radius/depth, form E, F
0 = 0.6 x 0.3
4 = 2.5 x 0.4
8 = 0.1 x 0.1
1 = 1.0 x 0.4
5 = 4.0 x 0.5
9 = 0.2 x 0.1
2 = 1.0 x 0.2
6 = 0.4 x 0.2
3 = 1.6 x 0.3
7 = 0.6 x 0.2
19
<_PTAB>
STRING
String for thread table ("", "ISO", "BSW", "BSP", "UNC")
[5]
(for the surface only)
20
<_PTABA>
STRING
String for selection from thread table
[20]
(e.g. "M 10", "M 12", ...)
(for the surface only)
21
<_DMODE>
INT
Display mode
x
x
x
x
UNITS:
Machining plane G17/G18/G19
0 =
Compatibility, the plane effec-
tive before the cycle call re-
mains active
1 =
G17 (only active in the cycle)
2 =
G18 (only active in the cycle)
3 =
G19 (only active in the cycle)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1125
Work preparation
3.26 Programming cycles externally
No
Param-
Parameter
Data type
Prog. for form
Meaning
eter
internal
mask
22
<_AMODE>
INT
Alternative mode
x
x
-
x
UNITS:
Parameter <_EPD> allowance X or under-
cut depth
0 =
Absolute (always diameter)
1 =
Incremental
x
x
-
x
TENS:
Parameter <_EPL> allowance Z or under-
cut width
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
the contour (<_FAL>)
1 =
Separate machining allowance
(<_FALX>/<_FALZ>)
3.26.1.44
CYCLE951 - stock removal
Syntax
CYCLE951(<_SPD>, <_SPL>, <_EPD>, <_EPL>, <_ZPD>, <_ZPL>, <_LAGE>,
<_MID>, <_FALX>, <_FALZ>, <_VARI>, <_RF1>, <_RF2>, <_RF3>, <_SDIS>,
<_FF1>, <_NR>, <_DMODE>, <_AMODE>)
Parameters
No.
Parameter
Parameter
Data type
Meaning
mask
internal
1
X0
<_SPD>
REAL
Reference point (abs, always diameter)
2
Z0
<_SPL>
REAL
Reference point (abs)
3
X1
<_EPD>
REAL
End point
4
Z1
<_EPL>
REAL
End point
5
XM
<_ZPD>
REAL
Intermediate point, see <_DMODE> (TENS)
α1
α2
6
ZM
<_ZPL>
REAL
Intermediate point, see <_DMODE> (TENS)
α1
α2
NC programming
1126
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
7
Position
<_LAGE>
INT
Position of stock removal
0 =
External/rear
corner
1 =
External/front
2 =
Internal/rear
3 =
Internal/front
8
D
<_MID>
REAL
Maximum depth infeed on insertion
9
UX
<_FALX>
REAL
Finishing allowance in X
10
UZ
<_FALZ>
REAL
Finishing allowance in Z
11
<_VARI>
INT
Machining type
UNITS:
Stock removal direction (longitudinal or
transverse) in the coordinate system
1 =
Longitudinal
2 =
Face
TENS:
1 =
Roughing to final machining al-
lowance
2 =
Finishing
HUNDREDS:
Reserved
THOUSANDS:
Reserved
TEN THOUSANDS:
Reserved
12
R1/FS1
<_RF1>
REAL
Rounding radius or chamfer width 1, see <_AMODE> (TEN THOUSANDS)
13
R2/FS2
<_RF2>
REAL
Rounding radius or chamfer width 2, see <_AMODE> (HUNDRED THOU-
SANDS)
14
R3/FS3
<_RF3>
REAL
Rounding radius or chamfer width 3, see <_AMODE> (ONE MILLION)
15
SC
<_SDIS>
REAL
Safety clearance
16
F
<_FF1>
REAL
Feedrate for roughing/finishing
17
<_NR>
INT
Identification of stock removal type (corresponds to vertical softkey for
selecting form):
0 =
Stock removal 1, 90 degree cor-
ner without chamfers/rounding
1 =
Stock removal 2, 90 degree cor-
ner with chamfers/rounding
2 =
Stock removal 3, any corner with
chamfers/rounding
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1127
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
18
<_DMODE>
INT
Display mode
UNITS:
Machining plane G17/G18/G19
0 =
Compatibility, the plane effective
before the cycle call remains ac-
tive
1 =
G17 (only active in the cycle)
2 =
G18 (only active in the cycle)
3 =
G19 (only active in the cycle)
TENS:
Form of input <_ZPD>/<_ZPL>
0 =
Xm/Zm
1 =
Xm/α1
2 =
Xm/α2
3 =
α1/Zm
4 =
α2/Zm
5 =
α1/α2
21
<_AMODE>
INT
Alternative mode
UNITS:
Intermediate point in X
0 =
Absolute, value of transverse axis
in the diameter
1 =
Incremental, value of transverse
axis in the radius
TENS:
Intermediate point in Z
0 =
Absolute
1 =
Incremental
HUNDREDS:
End point in X
0 =
Absolute, value of transverse axis
in the diameter
1 =
Incremental, value of transverse
axis in the radius
THOUSANDS:
End point in Z.
0 =
Absolute
1 =
Incremental
TEN THOUSANDS:
Radius/chamfer 1
0 =
Radius
1 =
Chamfer
HUNDRED THOUSANDS:
Radius/chamfer 2
0 =
Radius
1 =
Chamfer
ONE MILLION:
Radius/chamfer 3
0 =
Radius
1 =
Chamfer
NC programming
1128
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
3.26.1.45
CYCLE952 - stock removal / residual stock removal / plunge cutting / residual plunge
cutting / plunge turning / residual plunge turning
Syntax
CYCLE952(<_PRG>, <_CON>, <_CONR>, <_VARI>, <_F>, <_FR>, <_RP>, <_D>,
<_DX>, <_DZ>, <_UX>, <_UZ>, <_U>, <_U1>, <_BL>, <_XD>, <_ZD>, <_XA>,
<_ZA>, <_XB>, <_ZB>, <_XDA>, <_XDB>, <_N>, <_DP>, <_DI>, <_SC>,
<_DN>, <_GMODE>, <_DMODE>, <_AMODE>, <_PK>, <_DCH>, <_FS>)
Parameters
No.
Parameter
Parameter
Data type
Meaning
mask
internal
1
PRG
<_PRG>
STRING[100]
Name of the stock removal program
2
CON
<_CON>
STRING[100]
Name of the program from which the updated contour of the blank is
read (for residual machining)
3
CONR
<_CONR>
STRING[100]
Name of the program into which the updated contour for the blank
(see <_AMODE> TEN THOUSANDS) will be written
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1129
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
4
<_VARI>
INT
Machining type
UNITS:
Type of stock removal
1 =
Longitudinal
2 =
Face
3 =
Parallel to the contour
TENS:
Machining process (see <_GMODE> HUN-
DREDS)
1 =
Roughing
2 =
Finishing
3 =
Reserved
4 =
Roughing, two-channel
5 =
Finishing, two-channel
HUNDREDS:
Machining direction
1 =
Machining direction X -
2 =
Machining direction X +
3 =
Machining direction Z -
4 =
Machining direction Z +
THOUSANDS:
Infeed direction
1 =
External X -
2 =
Internal X +
3 =
Front face Z -
4 =
Rear face Z +
TEN THOUSANDS:
Define effect of finishing allowances
0 =
Separate UX and UZ finishing al-
lowances
1 =
Finishing allowance U parallel to
the contour
HUNDRED THOUSANDS:
Rounding
0 =
Compatibility, automatic round-
ing
1 =
With rounding at the contour
2 =
Without rounding
3 =
Automatic rounding
ONE MILLION:
Relief cuts
0 =
Position is not evaluated during
grooving, - residual and groove
turning, - remainder
1 =
Machine relief cuts
2 =
No machining of relief cuts
TEN MILLIONS:
Behind/in front of turning center
0 =
Machining in front of the turning
center
1 =
Reserved
NC programming
1130
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
5
F
<_F>
REAL
Feedrate for roughing/finishing
FZ
Infeed abscissa groove turning
6
FR
<_FR>
REAL
Feedrate for insertion into relief cuts, roughing
FX
Infeed ordinate groove turning
7
RP
<_RP>
REAL
Retraction plane for internal machining (abs., always diameter)
8
D
<_D>
REAL
Roughing infeed (see <_AMODE> UNITS)
9
DX
<_DX>
REAL
X infeed (see <_AMODE> UNITS)
10
DZ
<_DZ>
REAL
Z infeed (see <_AMODE> UNITS)
11
UX
<_UX>
REAL
Finishing allowance X, (see <_VARI> TEN THOUSANDS)
12
UZ
<_UZ>
REAL
Finishing allowance Z, (see <_VARI> TEN THOUSANDS)
13
U
<_U>
REAL
Finishing allowance parallel to contour, (see <_VARI> TEN THOU-
SANDS)
14
U1
<_U1>
REAL
Additional finishing allowance while finishing (see <_AMODE> THOU-
SANDS)
15
BL
<_BL>
INT
Definition of blank
1 =
Cylinder with allowance
2 =
Allowance at contour of finished
part
3 =
Contour of blank is specified
16
XD
<_XD>
REAL
Definition of blank X (see <_AMODE> HUNDRED THOUSANDS)
17
ZD
<_ZD>
REAL
Definition of blank Z (see <_AMODE> ONE MILLION)
18
XA
<_XA>
REAL
Limit 1 X (abs., always diameter)
19
ZA
<_ZA>
REAL
Limit 1 Z (abs.)
20
XB
<_XB>
REAL
Limit 2 X (see <_AMODE> TEN MILLIONS)
21
ZB
<_ZB>
REAL
Limit 2 Z (see <_AMODE> HUNDRED MILLIONS)
22
XDA
<_XDA>
REAL
Grooving limit 1 for the 1st groove position on the end face (abs., always
diameter)
23
XDB
<_XDB>
REAL
Grooving limit 2 for the 1st groove position on the end face (abs., always
diameter)
24
N
<_N>
INT
Number of grooves
25
DP
<_DP>
REAL
Distance between grooves
Longitudinal groove: Parallel to Z axis
Transverse groove: Parallel to X axis
26
DI
<_DI>
REAL
Distance for interruption of
0 =
No interruption
infeed
> 0 =
With interruption
27
SC
<_SC>
REAL
Safety clearance for avoiding obstacles, incremental
28
D2
<_DN>
INT
D number for 2nd cutting edge if not programmed ⇒ D+1
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1131
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
29
<_GMODE>
INT
Geometrical mode (evaluation of programmed geometrical data)
UNITS:
Re-
serve
d
TENS:
Re-
serve
d
HUNDREDS:
Select machining/only calculation of start
point
0 =
Normal machining (no compati-
bility mode needed)
1 =
Normal machining
2 =
Calculate start point - no machin-
ing (only for call from ShopMill/
ShopTurn)
THOUSANDS:
Limit
0 =
No
1 =
Yes
TEN THOUSANDS:
Enter limit 1 X
0 =
No
1 =
Yes
HUNDRED THOUSANDS:
Enter limit 2 X
0 =
No
1 =
Yes
ONE MILLION:
Enter limit 1 Z
0 =
No
1 =
Yes
TEN MILLIONS:
Enter limit 2 Z
0 =
No
1 =
Yes
NC programming
1132
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
30
<_DMODE>
INT
Display mode
UNITS:
Machining plane G17/G18/G19
0 =
Compatibility, the plane effective
before the cycle call remains ac-
tive
1 =
G17 (only active in the cycle)
2 =
G18 (only active in the cycle)
3 =
G19 (only active in the cycle)
TENS:
Technology mode
1 =
Stock removal along the contour
2 =
Contour grooving
3 =
Groove turning
HUNDREDS:
Machine residual material
0 =
No
1 =
Yes
THOUSANDS:
---
Reserved
TEN THOUSANDS:
Technology scaling in cycle screen forms
(Page 1158)
0 =
Input: Complete
1 =
Input: Simple
HUNDRED THOUSANDS:
Automatic program name
0 =
No
1 =
Yes
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1133
Work preparation
3.26 Programming cycles externally
No.
Parameter
Parameter
Data type
Meaning
mask
internal
31
<_AMODE>
INT
Alternative mode
UNITS:
Select infeed
0 =
DX and DZ infeed for stock remov-
al parallel to contour
1 =
D infeed
TENS:
Infeed strategy
0 =
Variable cutting depth (90 ...
100%)
1 =
Constant cutting depth
HUNDREDS:
Cut segmentation
0 =
Uniform
1 =
Align to edges
THOUSANDS:
Select contour allowance U1, double fin-
ishing
0 =
No
1 =
Yes
TEN THOUSANDS:
Update selection of blank
0 =
No
1 =
Yes
HUNDRED THOUSANDS:
Select allowance on blank XD
0 =
Absolute, value of transverse axis
in the diameter
1 =
Incremental, value of transverse
axis in the radius
ONE MILLION:
Select allowance on blank ZD
0 =
Absolute
1 =
Incremental
TEN MILLIONS:
Select limit 2 XB
0 =
Absolute, value of transverse axis
in the diameter
1 =
Incremental, value of transverse
axis in the radius
HUNDRED MILLION:
Select limit 2 ZB
0 =
Absolute
1 =
Incremental
ONE BILLION:
0 =
Leading channel
1 =
Following channel
32
<_PK>
INT
Number of the partner channel if there are more than two channels
available at the machine.
33
DCH
<_DCH>
REAL
Channel offset
34
FS
<_FS>
REAL
Finishing feedrate during complete machining
NC programming
1134
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
3.26.1.46
CYCLE4071 - longitudinal grinding with infeed at the reversal point
Syntax
CYCLE4071(<S_A>, <S_B>, <S_W>, <S_U>, <S_I>, <S_K>, <S_H>, <S_A1>,
<S_A2>)
Parameters
No.
Parameter
Data type
Meaning
1
<S_A>
REAL
Infeed depth at the start
2
<S_B>
REAL
Infeed depth at the end
3
<S_W>
REAL
Grinding width
4
<S_U>
REAL
Sparking-out time
5
<S_I>
REAL
Feedrate for infeed
6
<S_K>
REAL
Feedrate for transverse infeed
7
<S_H>
INT
Number of repetitions
8
<S_A1>
AXIS
Infeed axis (optional) or 1st geometry axis
9
<S_A2>
AXIS
Oscillating axis (optional) or 2nd geometry axis
Function
The cycle is used for the execution of repeating infeeds. The infeed depth at the start and at the
end can be different. There is a tangential motion between the infeeds.
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1135
Work preparation
3.26 Programming cycles externally
Sequence
6B:!
) 6B.!
6B$!
6B8!
6B%!
6B8!
① Start of the cycle at the current position of the oscillating axis.
② Traversing of the infeed axis to the infeed depth at the start <S_A> with the feedrate for in-
feed <S_I>.
③ Sparking out with the sparking-out time <S_U>.
④ Traversing of the oscillating axis with the grinding width <S_W> as travel path and the feedrate for
transverse infeed <S_K>.
⑤ Traversing of the infeed axis to the infeed depth at the end <S_B> with the feedrate for
infeed <S_I>.
⑥ Sparking out with the sparking-out time <S_U>.
⑦ Traversing of the oscillating axis with the grinding width <S_W> as travel path to the starting point
and the feedrate for transverse infeed <S_K>.
Indicates reiterating sequential steps.
The sequence is repeated until the programmed number of repetitions <S_H> has been reached.
Note
The sequence cannot be interrupted with a single block.
Example
Executing two oscillating motions with the following cycle parameters:
• Infeed depth at the start: 0.02 mm
• Infeed depth at the end: 0.01 mm
• Stroke: 100 mm
• Sparking-out time: 1 s
• Infeed feedrate: 1 mm/min
• Transverse feedrate: 1000 mm/min
• Repetitions: 2
• Oscillating and infeed axes: Standard geometry axes
Program code
N10 T1 D1
NC programming
1136
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Program code
N20 CYCLE4071(0.02,0.01,100,1,1,1000,2)
N30 M30
3.26.1.47
CYCLE4072 - longitudinal grinding with infeed at the reversal point and cancel signal
Syntax
CYCLE4072(<S_GAUGE>, <S_A>, <S_B>, <S_W>, <S_U>, <S_I>, <S_K>,
<S_H>, <S_A1>, <S_A2>)
Parameters
No.
Parameter
Data type
Meaning
1
<S_GAUGE>
STRING
Cancel conditions for infeed:
1. Number of a rapid input
2. Logical expression
2
<S_A>
REAL
Infeed depth at the start
3
<S_B>
REAL
Infeed depth at the end
4
<S_W>
REAL
Grinding width
5
<S_U>
REAL
Sparking-out time
6
<S_I>
REAL
Feedrate for infeed
7
<S_K>
REAL
Feedrate for transverse infeed
8
<S_H>
INT
Number of repetitions
9
<S_A1>
AXIS
Infeed axis (optional) or 1st geometry axis
10
<S_A2>
AXIS
Oscillating axis (optional) or 2nd geometry axis
Function
The cycle is used for the execution of repeating infeeds taking into account an external cancel
signal. The infeed depth can be different at the start and at the end. There is a tangential motion
between the infeeds. The depth infeed is cancelled when the cancel condition is satisfied. A
complete stroke is always performed after the cancellation of the depth infeed.
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1137
Work preparation
3.26 Programming cycles externally
Sequence
Cancellation of the infeed at the end
6B:!
) 6B.!
6B$!
6B8!
6B%!
6B8!
6B8!
6B*$8*(!
6B8!
NC programming
1138
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Cancellation of the infeed at the start
6B:!
) 6B.!
6B$!
6B8!
6B%!
6B8!
6B*$8*(!
6B8!
① Start of the cycle at the current position of the oscillating axis.
② Traversing of the infeed axis to the infeed depth at the start <S_A> with the feedrate for in-
feed <S_I>.
③ Sparking out with the sparking-out time <S_U>.
④ Traversing of the oscillating axis with the grinding width <S_W> as travel path and the feedrate for
transverse infeed <S_K>.
⑤ Traversing of the infeed axis to the infeed depth at the end <S_B> with the feedrate for
infeed <S_I>.
⑥ Sparking out with the sparking-out time <S_U>.
⑦ Traversing of the oscillating axis with the grinding width <S_W> as travel path to the starting point
and the feedrate for transverse infeed <S_K>.
⑧ Cancel signal: The machining stops when the next start point is reached.
⑨ Without Cancel signal: The sequence is repeated until the programmed number of
repetitions <S_H> has been reached.
Indicates reiterating sequential steps.
Note
The sequence cannot be interrupted with a single block.
Resources
As resources, the cycle uses a block-wide synchronized action and a synchronized action
variable. The synchronized action is determined dynamically from the free area of the
synchronized action range (CUS.DIR - 1 ..., CMA.DIR - 1000 ..., CST.DIR - 1199 ...). SYG_IS[1] is
used as the synchronized action variable.
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1139
Work preparation
3.26 Programming cycles externally
Examples
Example 1: Oscillation with two strokes:
Cycle parameters
• Infeed depth at the start: 0.02 mm
• Infeed depth at the end: 0.01 mm
• Stroke: 100 mm
• Sparking-out time: 1 s
• Infeed feedrate: 1 mm/min
• Transverse feedrate: 1000 mm/min
• Repetitions: 2
• Oscillating and infeed axes: Standard geometry axes
Cancel signal: Rapid input 1 ($A_IN[1] )
Program code
N10 T1 D1
N20 CYCLE4072("1",0.02,0.01,100,1,1,1000,2)
N30 M30
Example 2: Oscillation with two strokes:
Cycle parameters
• Infeed depth at the start: 0.02 mm
• Infeed depth at the end: 0.01 mm
• Stroke: 100 mm
• Sparking-out time: 1 s
• Infeed feedrate: 1 mm/min
• Transverse feedrate: 1000 mm/min
• Repetitions: 2
• Oscillating and infeed axes: Standard geometry axes
Cancel signal: Variable $A_DBR[20] < 0.01
Program code
N10 T1 D1
N20 CYCLE4072("($A_DBR[20]<0.01)",0.02,0.01,100,1,1,1000,2)
N30 M30
NC programming
1140
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
3.26.1.48
CYCLE4073 - longitudinal grinding with continuous infeed
Syntax
CYCLE4073(<S_A>, <S_B>, <S_W>, <S_U>, <S_K>, <S_H>, <S_A1>, <S_A2>)
Parameters
No.
Parameter
Data type
Meaning
1
<S_A>
REAL
Infeed depth at the start
2
<S_B>
REAL
Infeed depth at the end
3
<S_W>
REAL
Grinding width
4
<S_U>
REAL
Sparking-out time
5
<S_K>
REAL
Feedrate for transverse infeed
6
<S_H>
INT
Number of repetitions
7
<S_A1>
AXIS
Infeed axis (optional) or 1st geometry axis
8
<S_A2>
AXIS
Oscillating axis (optional) or 2nd geometry axis
Function
The cycle is used for the execution of repeating infeeds. The infeed from the start to the end and
from the end to the start can be different.
Sequence
6B:!
) 6B.!
6B$!
6B8!
6B%!
6B8!
① Start of the cycle at the current position of the oscillating axis with infeed depth 0.
② Traversing of the oscillating axis with the grinding width <S_W> as travel path and feedrate for
transverse infeed <S_K> with continuous increase in the infeed depth up to the infeed depth at
the start <S_A>.
③ Sparking out with the sparking-out time <S_U>.
④ Traversing of the oscillating axis with the grinding width <S_W> as travel path to the starting point
and feedrate for transverse infeed <S_K> with continuous increase in the infeed depth up to the
infeed depth at the end <S_B>.
⑤ Sparking out with the sparking-out time <S_U>.
Indicates reiterating sequential steps.
The sequence is repeated until the programmed number of repetitions <S_H> has been reached.
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1141
Work preparation
3.26 Programming cycles externally
Note
The sequence cannot be interrupted with a single block.
Example
Oscillation with two strokes:
Cycle parameters
• Infeed depth at the start: 0.02 mm
• Infeed depth at the end: 0.01 mm
• Stroke: 100 mm
• Sparking-out time: 1 s
• Transverse feedrate: 1000 mm/min
• Repetitions: 2
• Oscillating and infeed axes: Standard geometry axes
Program code
N10 T1 D1
N20 CYCLE4073(0.02,0.01,100,1,1000,2)
N30 M30
3.26.1.49
CYCLE4074 - longitudinal grinding with continuous infeed and cancel signal
Syntax
CYCLE4074(<S_GAUGE>, <S_A>, <S_B>, <S_W>, <S_U>, <S_K>, <S_H>,
<S_A1>, <S_A2>)
Parameters
No.
Parameter
Data type
Meaning
1
<S_GAUGE>
STRING
Cancel conditions for infeed:
1. Number of a rapid input
2. Logical expression
2
<S_A>
REAL
Infeed depth at the start
3
<S_B>
REAL
Infeed depth at the end
4
<S_W>
REAL
Grinding width
5
<S_U>
REAL
Sparking-out time
6
<S_K>
REAL
Feedrate for transverse infeed
7
<S_H>
INT
Number of repetitions
NC programming
1142
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Parameter
Data type
Meaning
8
<S_A1>
AXIS
Infeed axis (optional) or 1st geometry axis
9
<S_A2>
AXIS
Oscillating axis (optional) or 2nd geometry axis
Function
The cycle is used for the execution of repeating infeeds taking into account e.g. an external
cancel signal. The infeed depth can be different at the start and at the end. The depth infeed is
cancelled when the cancel condition is satisfied. A complete stroke is always performed after the
cancellation of the depth infeed.
Sequence
Cancellation of the infeed from the end to the start
6B:!
) 6B.!
6B$!
6B8!
6B%!
6B8!
6B8!
6B*$8*(!
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1143
Work preparation
3.26 Programming cycles externally
Cancellation of the infeed from the start to the end
6B:!
) 6B.!
6B$!
6B8!
6B%!
6B8!
6B*$8*(!
① Start of the cycle at the current position of the oscillating axis with infeed depth 0.
② Traversing of the oscillating axis with the grinding width <S_W> as travel path and feedrate for
transverse infeed <S_K> with continuous increase in the infeed depth up to the infeed depth at
the start <S_A>.
③ Sparking out with the sparking-out time <S_U>.
④ Traversing of the oscillating axis with the grinding width <S_W> as travel path to the starting point
and feedrate for transverse infeed <S_K> with continuous increase in the infeed depth up to the
infeed depth at the end <S_B>.
⑤ Sparking out with the sparking-out time <S_U>.
⑥ Cancel signal: The depth infeed is canceled. The machining stops when the next start point is
reached.
⑦ Without Cancel signal: The sequence is repeated until the programmed number of
repetitions <S_H> has been reached.
Indicates reiterating sequential steps.
Note
The sequence cannot be interrupted with a single block.
Resources
As resources, the cycle uses a block-wide synchronized action and a synchronized action
variable. The synchronized action is determined dynamically from the free area of the
synchronized action range (CUS.DIR - 1 ..., CMA.DIR - 1000 ..., CST.DIR - 1199 ...). SYG_IS[1] is
used as the synchronized action variable.
NC programming
1144
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Examples
Example 1: Oscillation with two strokes:
Cycle parameters
• Infeed depth at the start: 0.02 mm
• Infeed depth at the end: 0.01 mm
• Stroke: 100 mm
• Sparking-out time: 1 s
• Transverse feedrate: 1000 mm/min
• Repetitions: 2
• Oscillating and infeed axes: Standard geometry axes
Cancel signal: Rapid input 1 ($A_IN[1] )
Program code
N10 T1 D1
N20 CYCLE4074("1",0.02,0.01,100,1,1000,2)
N30 M30
Example 2: Oscillation with two strokes:
Cycle parameters
• Infeed depth at the start: 0.02 mm
• Infeed depth at the end: 0.01 mm
• Stroke: 100 mm
• Sparking-out time: 1 s
• Transverse feedrate: 1000 mm/min
• Repetitions: 2
• Oscillating and infeed axes: Standard geometry axes
Cancel signal: Variable $A_DBR[20] < 0.01
Program code
N10 T1 D1
N20 CYCLE4074("($A_DBR[20]<0.01)",0.02,0.01,100,1,1000,2)
N30 M30
3.26.1.50
CYCLE4075 - surface grinding with infeed at the reversal point
Syntax
CYCLE4075(<S_I>, <S_J>, <S_K>, <S_A>, <S_R>, <S_F>, <S_P>, <S_A1>,
<S_A2>)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1145
Work preparation
3.26 Programming cycles externally
Parameters
No.
Parameter
Data type
Meaning
1
<S_I>
REAL
Infeed depth at the start
2
<S_J>
REAL
Infeed depth at the end
3
<S_K>
REAL
Total infeed depth
4
<S_A>
REAL
Grinding width
5
<S_R>
REAL
Feedrate for infeed
6
<S_F>
REAL
Feedrate for transverse infeed
7
<S_P>
REAL
Sparking-out time
8
<S_A1>
AXIS
Infeed axis (optional)
9
<S_A2>
AXIS
Oscillating axis (optional)
Function
The cycle is used for machining with a total infeed depth in infeed steps. The infeed depths at the
start and at the end can be different. There is a tangential motion between the infeeds.
The positional data P1 to P4 can be negative or positive.
The specification of the infeed axis and/or oscillating axis is optional. If one or both parameters
are not specified, the cycle uses the first two geometry axes of the channel.
If the sum of the infeed depth at the start and end is 0 or the total infeed depth is 0, only one
sparking-out stroke is performed.
Sequence
Total infeed depth reached with infeed at the second reversal point
6B$!
) 6B)!
6B,!
6B3!
6B-!
6B.!
6B3!
6B3!
6B3!
NC programming
1146
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Total infeed depth reached with infeed at the first reversal point
6B$!
) 6B)!
6B,!
6B3!
6B-!
6B.!
6B3!
6B3!
6B3!
① Start of the cycle at the current position of the oscillating axis.
② Traversing of the infeed axis to the infeed depth at the start <S_I> with the feedrate for in-
feed <S_R>.
③ Sparking out with the sparking-out time <S_P>.
④ Traversing of the oscillating axis with the grinding width <S_A> as travel path and the feedrate for
transverse infeed <S_F>.
⑤ Traversing of the infeed axis to the infeed depth at the end <S_J> with the feedrate for
infeed <S_R>.
⑥ Sparking out with the sparking-out time <S_P>.
⑦ Traversing of the oscillating axis with the grinding width <S_A> as travel path to the starting point
and the feedrate for transverse infeed <S_F>.
Indicates reiterating sequential steps.
The sequence is repeated until the total infeed depth <S_K> has been reached. The last stroke is
then distributed unevenly.
Note
The sequence cannot be interrupted with a single block.
Example
Oscillation with:
•
0.02 mm infeed depth at the start
•
0.01 mm infeed depth at the end
• Total infeed depth 1 mm
•
100 mm stroke
• Infeed feedrate 1 mm/min
• Transverse feedrate 1000 mm/min
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1147
Work preparation
3.26 Programming cycles externally
•
1 second sparking-out time
• Standard geometry axes
Program code
N10 T1 D1
N20 CYCLE4075(0.02,0.01,1,100,1,1000,1)
N30 M30
3.26.1.51
CYCLE4077 - surface grinding with infeed at the reversal point and cancel signal
Syntax
CYCLE4077(<S_GAUGE>, <S_I>, <S_J>, <S_K>, <S_A>, <S_R>, <S_F>,
<S_P>, <S_A1>, <S_A2>)
Parameters
No.
Parameter
Data type
Meaning
1
<S_GAUGE>
STRING
Cancel condition for infeed:
• Number of a rapid input
• Logical expression
2
<S_I>
REAL
Infeed depth at the start
3
<S_J>
REAL
Infeed depth at the end
4
<S_K>
REAL
Total infeed depth
5
<S_A>
REAL
Grinding width
6
<S_R>
REAL
Feedrate for infeed
7
<S_F>
REAL
Feedrate for transverse infeed
8
<S_P>
REAL
Sparking-out time
9
<S_A1>
AXIS
Infeed axis (optional)
10
<S_A2>
AXIS
Oscillating axis (optional)
Function
The cycle is used for machining with a total infeed depth in infeed steps. The infeed depths at the
start and at the end can be different. There is a tangential motion between the infeeds. The
depth infeed is cancelled when the cancel signal of the rapid input is 1 or the cancel condition is
satisfied. A complete stroke is performed after the cancellation.
The positional data P2 to P5 can be negative or positive.
The specification of the infeed axis and/or oscillating axis is optional. If one or both parameters
are not specified, the cycle uses the first two geometry axes of the channel.
If the sum of the infeed depth at the start and end is 0 or the total infeed depth is 0, only one
sparking-out stroke is performed.
NC programming
1148
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Sequence
Cancellation of the infeed at the end
6B$!
) 6B)!
6B,!
6B3!
6B-!
6B.!
6B3!
6B3!
6B*$8*(!
6B3!
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1149
Work preparation
3.26 Programming cycles externally
Cancellation of the infeed at the start
6B$!
) 6B)!
6B,!
6B3!
6B-!
6B.!
6B3!
6B*$8*(!
6B3!
① Start of the cycle at the current position of the oscillating axis.
② Traversing of the infeed axis to the infeed depth at the start <S_I> with the feedrate for in-
feed <S_R>.
③ Sparking out with the sparking-out time <S_P>.
④ Traversing of the oscillating axis with the grinding width <S_A> as travel path and the feedrate for
transverse infeed <S_F>.
⑤ Traversing of the infeed axis to the infeed depth at the end <S_J> with the feedrate for
infeed <S_R>.
⑥ Sparking out with the sparking-out time <S_P>.
⑦ Traversing of the oscillating axis with the grinding width <S_A> as travel path to the starting point
and the feedrate for transverse infeed <S_F>.
⑧ Cancel signal: The machining stops when the next start point is reached.
⑨ Without Cancel signal: The sequence is repeated until the total infeed depth <S_K> has been
reached. The last stroke is then distributed unevenly.
Indicates reiterating sequential steps.
Note
The sequence cannot be interrupted with a single block.
Resources
As resources, the cycle uses a block-wide synchronized action and a synchronized action
variable. The synchronized action is determined dynamically from the free area of the
synchronized action range (CUS.DIR - 1 ..., CMA.DIR - 1000 ..., CST.DIR - 1199 ...). SYG_IS[1] is
used as the synchronized action variable.
NC programming
1150
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Examples
Example 1
Oscillation with:
•
0.02 mm infeed depth at the start
•
0.01 mm infeed depth at the end
• Total infeed depth 1 mm
•
100 mm stroke
• Infeed feedrate 1 mm/min
• Transverse feedrate 1000 mm/min
•
1 second sparking-out time
• Standard geometry axes
Cancel signal: Rapid input 1 ($A_IN[1] )
Program code
N10 T1 D1
N20 CYCLE4077("1",0.02,0.01,1,100,1,1000,1)
N30 M30
Example 2
Oscillation with:
•
0.02 mm infeed depth at the start
•
0.01 mm infeed depth at the end
• Total infeed depth 1 mm
•
100 mm stroke
• Infeed feedrate 1 mm/min
• Transverse feedrate 1000 mm/min
•
1 second sparking-out time
• Standard geometry axes
Cancel signal: Dual-port RAM variable 20 less than 0.01 ($A_DBR[20] < 0.01)
Program code
N10 T1 D1
N20 CYCLE4077("($A_DBR[20]<0.01)",0.02,0.01,1,100,1,1000,1)
N30 M30
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1151
Work preparation
3.26 Programming cycles externally
3.26.1.52
CYCLE4078 - surface grinding with continuous infeed
Syntax
CYCLE4078(<S_I>, <S_J>, <S_K>, <S_A>, <S_F>, <S_P>, <S_A1>, <S_A2>)
Parameters
No.
Parameter
Data type
Meaning
1
<S_I>
REAL
Infeed depth from the start to the end
2
<S_J>
REAL
Infeed depth from the end to the start
3
<S_K>
REAL
Total infeed depth
4
<S_A>
REAL
Grinding width
5
<S_F>
REAL
Feedrate
6
<S_P>
REAL
Sparking-out time
7
<S_A1>
AXIS
Infeed axis (optional)
8
<S_A2>
AXIS
Oscillating axis (optional)
Function
The cycle is used for machining with a total infeed depth by means of continuous infeed. The
infeed depths from the start to the end and from the end to the start can be different.
The positional data P1 to P4 can be negative or positive.
The specification of the infeed axis and/or oscillating axis is optional. If one or both parameters
are not specified, the cycle uses the first two geometry axes of the channel.
If the sum of the infeed depths P1 and P2 is 0 or the total infeed depth is 0, only one sparking-
out stroke is performed.
NC programming
1152
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Sequence
6B$!
) 6B)!
6B,!
6B3!
6B-!
6B.!
6B3!
6B3!
① Start of the cycle at the current position of the oscillating axis with infeed depth 0.
② Traversing of the oscillating axis with the grinding width <S_A> as travel path and feedrate <S_F>
with continuous increase in the infeed depth up to the infeed depth at the start <S_I>.
③ Sparking out with the sparking-out time <S_P>.
④ Traversing of the oscillating axis with the grinding width <S_A> as travel path to the starting point
and feedrate <S_F> with continuous increase in the infeed depth up to the infeed depth at the
end <S_J>.
⑤ Sparking out with the sparking-out time <S_P>.
⑥ Traversing of the oscillating axis with the grinding width <S_A> as travel path to the starting point
and feedrate <S_F>.
Indicates reiterating sequential steps.
The sequence is repeated until the total infeed depth <S_K> has been reached. The last stroke is
then distributed unevenly.
Note
The sequence cannot be interrupted with a single block.
Example
Oscillation with:
•
20 mm infeed depth at the start
•
10 mm infeed depth at the end
• Total infeed depth 100 mm
•
100 mm stroke
• Feedrate 1000 mm/min
•
1 second sparking-out time
• Standard geometry axes
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1153
Work preparation
3.26 Programming cycles externally
Program code
N10 T1 D1
N20 CYCLE4078(20,10,100,100,1000,1)
N30 M30
3.26.1.53
CYCLE4079 - surface grinding with intermittent infeed
Syntax
CYCLE4079(<S_I>, <S_J>, <S_K>, <S_A>, <S_R>, <S_F>, <S_P>, <S_A1>,
<S_A2>)
Parameters
No.
Parameter
Data type
Meaning
1
<S_I>
REAL
Infeed depth at the start
2
<S_J>
REAL
Infeed depth at the end
3
<S_K>
REAL
Total infeed depth
4
<S_A>
REAL
Grinding width
5
<S_R>
REAL
Feedrate for infeed
6
<S_F>
REAL
Feedrate for transverse infeed
7
<S_P>
REAL
Sparking-out time
8
<S_A1>
AXIS
Infeed axis (optional)
9
<S_A2>
AXIS
Oscillating axis (optional)
Function
The cycle is used for machining with a total infeed depth in infeed steps. The infeed depths at the
start and at the end can be different. There is a tangential motion between the infeeds.
The positional data P1 to P4 can be negative or positive.
The specification of the infeed axis and/or oscillating axis is optional. If one or both parameters
are not specified, the cycle uses the first two geometry axes of the channel.
If the sum of the infeed depth at the start and end is 0 or the total infeed depth is 0, only one
sparking-out stroke is performed.
NC programming
1154
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Sequence
Total infeed depth reached with infeed at the second reversal point
6B$!
) 6B)!
6B,!
6B3!
6B-!
6B.!
6B3!
6B3!
6B3!
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1155
Work preparation
3.26 Programming cycles externally
Total infeed depth reached with infeed at the first reversal point
6B$!
) 6B)!
6B,!
6B3!
6B-!
6B.!
6B3!
6B3!
6B3!
① Start of the cycle at the current position of the oscillating axis.
② Traversing of the infeed axis to the infeed depth at the start <S_I> with the feedrate for in-
feed <S_R>.
③ Sparking out with the sparking-out time <S_P>.
④ Traversing of the oscillating axis with the grinding width <S_A> as travel path and the feedrate for
transverse infeed <S_F>.
⑤ Traversing of the infeed axis to the infeed depth at the end <S_J> with the feedrate for
infeed <S_R>.
⑥ Sparking out with the sparking-out time <S_P>.
⑦ Traversing of the oscillating axis with the grinding width <S_A> as travel path to the starting point
and the feedrate for transverse infeed <S_F>.
Indicates reiterating sequential steps.
The sequence is repeated until the total infeed depth <S_K> has been reached. The last stroke is
then distributed unevenly.
Note
The sequence cannot be interrupted with a single block.
Example
Oscillation with:
•
0.02 mm infeed depth at the start
•
0.01 mm infeed depth at the end
• Total infeed depth 1 mm
•
100 mm stroke
• Infeed feedrate 1 mm/min
• Transverse feedrate 1000 mm/min
NC programming
1156
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
•
1 second sparking-out time
• Standard geometry axes
Program code
N10 T1 D1
N20 CYCLE4079(0.02,0.01,1,100,1,1000,1)
N30 M30
3.26.1.54
GROUP_BEGIN - beginning of program block
Syntax
GROUP_BEGIN(<_LEVEL>, <_NAME>, <_SP>, <_MODE>, <S_ICON>)
Parameter
No.
Parameter
Parameter
Data type
Meaning
mask
internal
1
<_LEVEL>
INT
Level
0 =
Main level
1 =
1st sublevel
2
<_NAME>
STRING[128]
Block name
3
<_SP>
INT
Spindle
0 =
No spindle
1 =
Main spindle
2 =
Counterspindle
4
<_MODE>
INT
Mode
Bit 0
= 1
GROUP_ADDEND exists
Bit 1
= 1
ShopTurn: Automatic retraction (traverse to tool
change point)
Bit 12
Reserved
Bit 13
Reserved
5
<S_ICON>
STRING[32]
Name of the icon (only for operator interface)
3.26.1.55
GROUP_END - end of program block
Syntax
GROUP_END(<_LEVEL>, <_SP>)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1157
Work preparation
3.26 Programming cycles externally
Parameter
No.
Parameter
Parameter
Data type
Meaning
mask
internal
1
<_LEVEL>
INT
Level
0 =
Main level
1 =
1st sublevel
2
<_SP>
INT
Spindle
0 =
No spindle
1 =
Main spindle
2 =
Counterspindle
3.26.1.56
GROUP_ADDEND - End of trial cut addition
Syntax
GROUP_ADDEND(<_LEVEL>, <_SP>)
Parameter
No.
Parameter
Parameter
Data type
Meaning
mask
internal
1
<_LEVEL>
INT
Level
0 =
Main level
1 =
1st sublevel
2
<_SP>
INT
Spindle
0 =
No spindle
1 =
Main spindle
2 =
Counterspindle
3.26.1.57
Supplementary conditions
Technology scaling in cycle screen forms
When the technology scaling is active, the simplified input can be selected for various cycle
screen forms, in which only the most important cycle parameters are displayed
For example, the simplified input can be selected for the following cycle screen forms:
Technology
Cycle screen form
Drilling
Deep-hole drilling
Tapping
Milling
Rectangular pocket
Contour milling: Pocket
NC programming
1158
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Technology
Cycle screen form
Turning
Thread turning: Longitudinal
Contour turning: Stock removal
Contour turning: Grooving
Contour turning: Groove turning
In the user interface of the relevant cycle screen forms, the options "Input: Simple" and "Input:
Complete" are available.
Cycle parameters that are not displayed
The cycle parameters that are not displayed in the simplified input are pre-assigned fixed,
technologically useful, but not variable values. Or the cycle parameters are assigned
parameterizable values via the channel-specific cycle setting data. See the paragraph below
"Commissioning" > "Channel-specific cycle setting data"
Switchover from "Input: Complete" > "Input: Simple"
If a cycle screen form is filled in with the setting "Input complete" and then switched to "Input
simple", the default or setting data values are used for the parameters no longer displayed when
generating the cycle call.
Commissioning
Channel-specific configuration machine data
The technology scaling in cycle screen forms can be activated with the machine data:
MD52210 $MCS_FUNCTION_MASK_DISP, bit 9 = 1 (select display "Input simple")
Channel-specific cycle setting data
If the simplified input in cycle screen forms is active, the values for certain cycle parameters can
be specified via the following setting data:
Number
Identifier
Meaning
SD55300
$SCS_EASY_SAFETY_CLEARANCE
Safety clearance
SD55301
$SCS_EASY_DWELL_TIME
Dwell time
SD55305
$SCS_EASY_DRILL_DEEP_FD1
Deep-hole drilling: Percentage: 1st feedrate
SD55306
$SCS_EASY_DRILL_DEEP_DF
Deep-hole drilling: Percentage: Infeed
SD55307
$SCS_EASY_DRILL_DEEP_V1
Deep-hole drilling: Minimum depth infeed
SD55308
$SCS_EASY_DRILL_DEEP_V2
Deep-hole drilling: Retraction distance
SD55309
$SCS_EASY_THREAD_RETURN_DIST
Thread turning: Return distance
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1159
Work preparation
3.26 Programming cycles externally
3.26.2
Overview of measuring cycle parameters
3.26.2.1
CYCLE973 measuring cycle parameters
PROC CYCLE973(INT S_MVAR,INT S_PRNUM,INT S_CALNUM,REAL S_SETV,INT S_MA,INT S_MD,REAL
S_FA,REAL S_TSA,REAL S_VMS,INT S_NMSP,INT S_MCBIT,INT _DMODE,INT _AMODE)
Table 3-8
CYCLE973 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant (default=0012103)
Values:
UNITS: Calibration on a surface, edge or in a groove
0 = Length on surface/edge (in the WCS) with known setpoint
1 = Radius on surface (in the WCS) with known setpoint
2 = Length in groove (in the WCS), see S_CALNUM
3 = Radius in groove (in the WCS), see S_CALNUM
TENS: Reserved
0 = 0
HUNDREDS: Reserved
0 = 0
THOUSANDS: Selection of measuring axis and measuring direction for calibration 2)
0 = No specification (for surface calibration on the groove base, no selection of the
measuring axis and measuring direction) 4)
1 = Specify selection of measuring axis and measuring direction, see S_MA, S_MD
(one measuring direction in a measuring axis)
2 = Specify selection of measuring axis, see S_MA (two measuring directions in a
measuring axis)
TEN THOUSANDS: Determination of the positional deviation (probe skew) 2), 3)
0 = Determine positional deviation
1 = Do not determine positional deviation
HUNDRED THOUSANDS: Reserved
0 = 0
ONE MILLION:adapt tool length 7)
0 = Do not adapt tool length (only trigger points)
1 = Adapt tool length
2
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
3
S_CALNUM
Number of the calibration groove for calibration on a groove (default=1) 5)
4
S_SETV
Setpoint for calibration on a surface
5
X0
S_MA
Measuring axis (number of the axis) 6) (default=1)
Values:
1 = 1st axis of the plane (for G18 Z)
2 = 2nd axis of the plane (for G18 X)
3 = 3rd axis of the plane (for G18 Y) 6)
NC programming
1160
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
6
+-
S_MD
Measuring direction (default=1)
Values:
0 = Positive measuring direction
1 = Negative measuring direction
7
DFA
S_FA
Measurement path
8
TSA
S_TSA
Safe area
9
VMS
S_VMS
Variable measuring velocity for calibration 2)
10
Measure-
S_NMSP
Number of measurements at the same location 2) (default=1)
ments
11
S_MCBIT
Reserved
12
_DMODE
Display mode
Values:
UNITS: Machining plane G17/G18/G19
0 = Compatibility, the plane active before the 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)
13
_AMODE
Alternative mode
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
3)
Only relevant for calibration in two axis directions
4)
Only measuring axis and measuring direction are determined automatically from the cutting edge position (SL) of the probe.
SL=8 → -X , SL=7 → -Z
5)
The number of the calibration groove (n) refers to the following general setting data (all positions in MCS):
For cutting edge position SL=7:
SD54615 $SNS_MEA_CAL_EDGE_BASE_AX1[n] Position of the bottom of the groove in the 1st axis of the plane (for G18 Z)
SD54621 $SNS_MEA_CAL_EDGE_PLUS_DIR_AX2[n] Position of the groove side in the plus direction of the 2nd axis of the
plane (for G18 X)
SD54622 $SNS_MEA_CAL_EDGE_MINUS_DIR_AX2[n] Position of the groove side in the minus direction of the 2nd axis of the
plane
For cutting edge position SL=8:
SD54619 $SNS_MEA_CAL_EDGE_BASE_AX2[n] Position of the bottom of the groove in the 2nd axis of the plane
SD54620 $SNS_MEA_CAL_EDGE_UPPER_AX2[n] Position of the upper edge of the groove in the 2nd axis of the plane (only
for prepositioning of the probe)
SD54617 $SNS_MEA_CAL_EDGE_PLUS_DIR_AX1[n] Position of the groove side in the plus direction of the 1st axis of the plane
SD54618 $SNS_MEA_CAL_EDGE_MINUS_DIR_AX1[n] Position of the groove side in the minus direction of the 1st axis of the
plane
Note:
The position values for the groove wall +- can be determined roughly.
The groove width from the difference of the position values of the groove wall must be determined precisely (precision dial
gauge).
For calibration in the groove, it is assumed that the tool length of the probe of the calibrated axis = 0.
The positions values for the groove base must also be determined precisely on the machine (no drawing dimensions).
6)
Measuring axis S_MA=3 for calibration on a surface and on a turning machine with real 3rd axis of the plane (for G18 Y).
7)
Adapt tool length when calibrating length in the groove, or for lengths at the surface.
Workpiece probe in lathes can be defined using 2 lengths (X Z).
Turning probe, type 580
cutting-edge position 7: For length calibration, optionally, the Z length is corrected.
Turning probe, type 580
cutting edge position 8: For length calibration, optionally, the X length is corrected
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1161
Work preparation
3.26 Programming cycles externally
The tool length is not adapted for the measurement version, radius at groove or radius at the surface.
Only the corresponding trigger points are saved.
3.26.2.2
CYCLE974 measuring cycle parameters
PROC CYCLE974(INT S_MVAR,INT S_KNUM,INT S_KNUM1,INT S_PRNUM,REAL S_SETV,INT S_MA,REAL
S_FA,REAL S_TSA,REAL S_STA1,INT S_NMSP,STRING[32] S_TNAME,INT S_DLNUM,REAL S_TZL,REAL
S_TDIF,REAL S_TUL,REAL S_TLL,REAL S_TMV,INT S_K,INT S_EVNUM,INT S_MCBIT,INT _DMODE,INT
_AMODE,INT _DP)
Table 3-9
CYCLE974 call parameters 1)
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS:
0 = Measure front face
1 = Inside measurement
2 = Outside measurement
TENS: Reserved
HUNDREDS: Correction target
0 = Only measurement (no correction of the WO or no tool offset)
1 = Measurement, determination and correction of the WO (see S_KNUM) 3)
2 = Measurement and tool offset (see S_KNUM1)
THOUSANDS: Reserved
TEN THOUSANDS: Measurement with or without reversal of the main spindle (turn-
ing spindle)
0 = Measurement without reversal
1 = Measurement with reversal
NC programming
1162
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
2
Selection
S_KNUM
Correction in work offset (WO) or basic WO or basic reference 2)
Values:
UNITS:
TENS:
0 = No correction
1 to max. 99 numbers of the work offset or
1 to max. 16 numbers of the basic offset
HUNDREDS: Reserved
THOUSANDS: Correction in WO or basic WO or basic reference
0 = Correction of the adjustable WO
1 = Correction of the channel-specific basic WO
2 = Correction of the basic reference
3 = Correction of the global basic WO
9 = Correction of the active WO or for G500, last active channel-specific basic WO
TEN THOUSANDS: Coarse or fine correction in the WO, basic WO or basic reference
0 = Fine correction 6)
1 = Coarse correction
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1163
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
3
Selection
S_KNUM1
Correction in tool offset 2), 4)
Values:
UNITS:
TENS:
HUNDREDS:
0 = No correction
1 to max. 999 D numbers (cutting edge numbers) for tool offset;
for additive and setup offset, see also S_DLNUM
THOUSANDS: 0 or unique D number
TEN THOUSANDS: 0 or unique D number
1 to max. 32000 if unique D numbers in MD have been set up
HUNDRED THOUSANDS: Tool offset 2)
0 = No specification (offset in tool geometry)
1 = Offset of length L1
2 = Offset of length L2
3 = Offset of length L3
4 = Radius offset
ONE MILLION: Tool offset 2)
0 = No specification (offset of the tool length wear)
1 = Tool offset, additive offset (AO) 5)
Tool offset value is added to the existing AO
2 = Tool offset, setup offset (SO) 5)
SO (new) = SO (old) + AO (old) offset value, AO (new) = 0
3 = Tool offset, setup offset (SO) 5)
Tool offset value is added to the existing SO
4 = Tool offset, geometry
TEN MILLION: Tool offset 2)
0 = No specification (offset in tool geometry normal (not inverted))
1 = Offset inverted
HUNDRED MILLIONS: Tool offset
0 = Tool offset without replacement tools
1 = Tool offset in replacement tool (_DP)
4
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
5
X0
S_SETV
Setpoint
6
X
S_MA
Measuring axis (number of the axis) (default=1)
Values:
1 = 1st axis of the plane (for G18 Z)
2 = 2nd axis of the plane (for G18 X)
3 = 3rd axis of the plane (for G18 Y) 5)
7
DFA
S_FA
Measurement path
8
TSA
S_TSA
Safe area
9
α
S_STA1
Starting angle for measurement with reversal
10
Measure-
S_NMSP
Number of measurements at the same location 2) (default=1)
ments
11
T
S_TNAME
Tool name 2)
12
DL
S_DLNUM
Setup additive offset DL number 5)
NC programming
1164
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
13
ST
_DP
Number of the replacement tool (duplo number) to be corrected
14
TZL
S_TZL
Work offset 2), 4)
15
DIF
S_TDIF
Dimensional difference check 2), 4)
16
TUL
S_TUL
Upper tolerance limit (incremental to the setpoint) 4)
17
TLL
S_TLL
Lower tolerance limit (incremental to the setpoint) 4)
18
TMV
S_TMV
Offset range for averaging 2)
19
FW
S_K
Weighting factor for averaging 2)
20
EVN
S_EVNUM
Number of the empirical mean value memory 2), 7)
21
S_MCBIT
Reserved
22
_DMODE
Display mode
Values:
UNITS: Machining plane G17/G18/G19
0 = Compatibility, the plane active before the 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)
23
_AMODE
Alternative mode
Values:
UNITS: Dimensional tolerance yes/no
0 = No
1 = Yes
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
3)
Correction in WO only possible for measurement without reversal
4)
For tool offset in the channel-specific MD 20360 TOOL_PARAMETER_DEF_MASK , observe bit0 and bit1
5)
Only if the "Setup additive offset" function has been set-up in the general MD 18108 $MN_MM_NUM_SUMCORR . In addition,
in the general MD 18080 $MN_MM_TOOL_MANAGEMENT_MASK , bit8 must be set to 1.
6)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse"
7)
Empirical averaging only possible for tool offset
Value range for empirical mean value memory:
1 to 20 numbers (n) of the empirical value memory, see channel-specific SD55623 $SCS_MEA_EMPIRIC_VALUE[n-1]
10000 to 200000 numbers (n) of the mean value memory, see channel-specific SD55625 $SCS_MEA_AVERAGE_VALUE[n-1]
3.26.2.3
CYCLE994 measuring cycle parameters
PROC CYCLE994(INT S_MVAR,INT S_KNUM,INT S_KNUM1,INT S_PRNUM,REAL S_SETV,INT S_MA,REAL
S_SZA,REAL S_SZO,REAL S_FA,REAL S_TSA,INT S_NMSP,STRING[32] S_TNAME,INT S_DLNUM,REAL
S_TZL,REAL S_TDIF,REAL S_TUL,REAL S_TLL,REAL S_TMV,INT S_K,INT S_EVNUM,INT S_MCBIT,INT
_DMODE,INT _AMODE,INT _DP)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1165
Work preparation
3.26 Programming cycles externally
Table 3-10
CYCLE994 call parameters 1)
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS: Inside or outside measurement (default = 1)
1 = Inside measurement
2 = Outside measurement
TENS: Reserved
HUNDREDS: Correction target
0 = Only measurement (no correction of the WO or no tool offset)
1 = Measurement and determination and correction of the WO (see S_KNUM) 3)
2 = Measurement and tool offset (see S_KNUM1)
THOUSANDS: Bypass area
0 = No bypass area
1 = Bypass axis 1st axis of the plane (for G18 Z). Measuring axis, see S_MA.
2 = Bypass axis 2nd axis of the plane (for G18 X). Measuring axis, see S_MA.
3 = Bypass axis 3rd axis of the plane (for G18 Y). Measuring axis, see S_MA. 8)
2
Selection
S_KNUM
Correction of work offset (WO) or basic WO or basic reference 2)
Values:
UNITS:
TENS:
0 = No correction
1 to max. 99 numbers of the work offset or
1 to max. 16 numbers of the basic offset
HUNDREDS: Reserved
THOUSANDS: Correction of WO or basic or basic reference
0 = Correction of the adjustable WO
1 = Correction of the channel-specific basic WO
2 = Correction of the basic reference
3 = Correction of the global basic WO
9 = Correction of the active WO or for G500 in last active channel-specific basic WO
TEN THOUSANDS: Coarse or fine correction in the WO, basic WO or basic reference
0 = Fine correction 6)
1 = Coarse correction
NC programming
1166
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
3
Selection
S_KNUM1
Correction in tool offset 2), 4)
Values:
UNITS:
TENS:
HUNDREDS:
0 = No correction
1 to max. 999 D numbers (cutting edge numbers) for tool offset;
for additive and setup offset, see also S_DLNUM
THOUSANDS: 0 or unique D numbers
TEN THOUSANDS: 0 or unique D numbers
1 to max. 32000, if unique D numbers in MD have been set up
HUNDRED THOUSANDS: Tool offset 2)
0 = No specification (offset tool geometry)
1 = Offset of length L1
2 = Offset of length L2
3 = Offset of length L3
4 = Radius offset
ONE MILLION: Tool offset 2)
0 = No specification (offset of the tool length wear)
1 = Tool offset, additive offset (AO) 5)
Tool offset value is added to the existing AO
2 = Tool offset, setup offset (SO) 5)
SO (new) = SO (old) + AO (old) offset value, AO (new) = 0
3 = Tool offset, setup offset (SO) 5)
Tool offset value is added to the existing SO
4 = Tool offset, geometry
TEN MILLION: Tool offset 2)
0 = No specification (offset in tool geometry normal, not inverted)
1 = Offset inverted
HUNDRED MILLIONS: Tool offset
0 = Tool offset without replacement tools
1 = Tool offset in replacement tool (_DP)
4
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
5
X0
S_SETV
Setpoint
6
X
S_MA
Number of the measuring axis (default=1)
Values:
1 = 1st axis of the plane (for G18 Z)
2 = 2nd axis of the plane (for G18 X)
3 = 3rd axis of the plane (for G18 Y) 8)
7
X1
S_SZA
Bypass distance in the measured axis
8
Y1
S_SZO
Bypass distance in the bypass axis
9
DFA
S_FA
Measurement path
10
TSA
S_TSA
Safe area
11
Measure-
S_NMSP
Number of measurements at the same location 2) (default=1)
ments
12
T
S_TNAME
Tool name 2)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1167
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
13
DL
S_DLNUM
Setup additive offset DL number 5)
14
ST
_DP
Number of the replacement tool (duplo number) to be corrected
15
TZL
S_TZL
Work offset 2), 4)
16
DIF
S_TDIF
Dimensional difference check 2), 4)
17
TUL
S_TUL
Upper tolerance limit (incremental to the setpoint) 4)
18
TLL
S_TLL
Lower tolerance limit (incremental to the setpoint) 4)
19
TMV
S_TMV
Offset range for averaging 2)
20
FW
S_K
Weighting factor for averaging 2)
21
EVN
S_EVNUM
Number of the empirical value memory 2), 7)
22
S_MCBIT
Reserved
23
_DMODE
Display mode
Values:
UNITS: Machining plane G17/G18/G19
0 = Compatibility, the plane active before the 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)
24
_AMODE
Alternative mode
Values:
UNITS: Dimensional tolerance yes/no
0 = No
1 = Yes
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
3)
Correction in WO only possible for measurement without reversal
4)
For tool offset, observe the channel MD 20360 TOOL_PARAMETER_DEF_MASK
5)
Only if the "Setup additive offset" function has been set-up in the general MD 18108 $MN_MM_NUM_SUMCORR . In addition,
the general MD 18080 $MN_MM_TOOL_MANAGEMENT_MASK , bit8 must be set to 1.
6)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse"
7)
Empirical averaging only possible for tool offset
Value range for empirical mean value memory:
1 to 20 numbers (n) of the empirical value memory, see channel-specific SD55623 $SCS_MEA_EMPIRIC_VALUE[n-1]
10000 to 200000 numbers (n) of the mean value memory, see channel-specific SD55625 $SCS_MEA_AVERAGE_VALUE[n-1]
8)
If Y axis is available on the machine
3.26.2.4
CYCLE976 measuring cycle parameters
PROC CYCLE976(INT S_MVAR,INT S_PRNUM,REAL S_SETV,REAL S_SETV0,INT S_MA,INT S_MD,REAL
S_FA,REAL S_TSA,REAL S_VMS,REAL S_STA1,INT S_NMSP,INT S_SETV1,INT _DMODE,INT _AMODE)
NC programming
1168
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Table 3-11
CYCLE976 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring version (default=1000)
Values:
UNITS: Calibration on surface, calibration ball or in calibration ring 2)
0 = Length on surface with known setpoint
1 = Radius in calibration ring with known diameter (setpoint) and known center
point.
2 = Radius in calibration ring with known diameter (setpoint) and an unknown center
point
3 = Radius and length at the calibration ball
4 = Radius at the edge with known setpoint. Note selection of measuring axis and
measuring direction. 3)
5 = Radius between two edges with known setpoint and edge clearance. Measuring
axis should be selected.
TENS: Reserved
0 = 0
HUNDREDS: Reserved
0 = 0
THOUSANDS: Selection of measuring axis and measuring direction during calibration
0 = No specification (no selection of the measuring axis and measuring direction
required) 8)
1 = Specify selection of measuring axis and measuring direction, see S_MA, S_MD
(one measuring direction in a measuring axis)
2 = Specify selection of measuring axis, see S_MA (two measuring directions in a
measuring axis)
TEN THOUSANDS: Determination of the positional deviation (probe skew) 2)
0 = Determine positional deviation of the probe 6)
1 = Do not determine positional deviation
HUNDRED THOUSANDS: Paraxial calibration or at an angle
0 = Paraxial calibration in the active WCS
1 = Calibration at an angle 7)
ONE MILLION: Determination of tool length during calibration on surface or on ball
0 = Tool length is not determined
1 = Tool length is determined 4)
2 = Infeed axis is calibrated at the ball, the tool length is determined, the tool length
measured difference is entered in the calibration data
2
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
3
S_SETV
Setpoint
4
Z0
S_SETV0
Setpoint of the longitudinal reference for ball calibration
5
X / Y / Z
S_MA
Measuring axis (number of the axis) 2), 6) (default=1)
Val-
1 = 1st axis of the plane (for G17 X)
ues:
2 = 2nd axis of the plane (for G17 Y)
3 = 3rd axis of the plane (for G17 Z)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1169
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
6
+-
S_MD
Measuring direction 2), 6)
Val-
0 = Positive
ues:
1 = Negative
7
DFA
S_FA
Measurement path
8
TSA
S_TSA
Safe area
9
VMS
S_VMS
Variable measuring velocity for calibration 2)
10
α
S_STA1
Starting angle 2), 5)
11
Measure-
S_NMSP
Number of measurements at the same location 2) (default=1)
ments
12
X0
S_SETV1
Edge reference point when calibrating between 2 edges 3)
13
_DMODE
Display mode
Val-
UNITS: Machining plane G17/G18/G19
ues:
0 = Compatibility, the plane active before the 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)
14
_AMODE
Alternative mode
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
3)
For "Radius in the calibration ring" calibration, the diameter and the center point of the ring must be known (four measuring
directions).
For "Radius on two edges" calibration, the distance to the edges in the direction of the measuring axis must be known
(two measuring directions).
For "Radius on one edge" calibration, the setpoint of the surface must be known.
4)
Measuring variant only calibration on a surface (length on surface), corrected tool length results from S_MD and S_MA.
5)
Only for measuring variant "Calibration ring, ... and known center point" (S_MVAR=1xxx02).
6)
Measuring axis only for measuring variant S_MVAR=0 or =xx1x01 or =xx2x01 or =20000
Measuring variant: "Calibration on a surface" → selection of measuring axis and measuring direction
or on the "Calibration ring, ... and known center point" → selection of an axis direction and selection of measuring axis and
measuring direction
or on the "Calibration ring, ... and known center point" → selection of two axis directions and selection of measuring axis
or "Determination of the probe length" → S_MA=3 → 3rd axis of the plane (for G17 Z)
7)
Measuring version, only calibration in calibration ring or on calibration ball
For "Calibration on calibration ball", for measuring at an angle, the axis circles around the ball at the equator.
8)
For "Radius in calibration ring" calibration with unknown center point, four measuring directions in the plane (for G17 +-X +-Y).
For "Length on surface" calibration in minus direction of the tool axis (for G17 -Z).
3.26.2.5
CYCLE978 measuring cycle parameters
PROC CYCLE978(INT S_MVAR,INT S_KNUM,INT S_KNUM1,INT S_PRNUM,REAL S_SETV,REAL S_FA,REAL
S_TSA,INT S_MA,INT S_MD,INT S_NMSP,STRING[32] S_TNAME,INT S_DLNUM,REAL S_TZL,REAL
S_TDIF,REAL S_TUL,REAL S_TLL,REAL S_TMV,INT S_K,INT S_EVNUM,INT S_MCBIT,INT _DMODE,INT
_AMODE,INT _DP)
NC programming
1170
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Table 3-12
CYCLE978 call parameters 1)
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS: Contour element
0 = Measure surface
TENS: Reserved
HUNDREDS: Correction target
0 = Only measurement (no correction of the WO or no tool offset)
1 = Measurement, determination and correction of the WO (see S_KNUM)
2 = Measurement and tool offset (see S_KNUM1)
THOUSANDS: Reserved
TEN THOUSANDS: Measurement with/without spindle reversal or align probe in
the switching direction 9)
0 = Measurement without spindle reversal, without probe alignment
1 = Measurement with spindle reversal
2 = Align probe in switching direction
2
Selection
S_KNUM
Correction of work offset (WO) or basic WO or basic reference 2)
Values:
UNITS:
TENS:
0 = No correction
1 to max. 99 numbers of the work offset or
1 to max. 16 numbers of the basic offset
HUNDREDS: Reserved
THOUSANDS: Correction of WO or basic or basic reference
0 = Correction of the adjustable WO
1 = Correction of the channel-specific basic WO
2 = Correction of the basic reference
3 = Correction of the global basic WO
9 = Correction of the active WO or for G500 in last active channel-specific basic WO
TEN THOUSANDS: Coarse or fine correction in the WO, basic WO or basic reference
0 = Fine correction 6)
1 = Coarse correction
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1171
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
3
Selection
S_KNUM1
Correction in tool offset 2)
Values:
UNITS:
TENS:
HUNDREDS:
0 = No correction
1 to max. 999 D numbers (cutting edge numbers) for tool offset,
for additive and setup offset, see also S_DLNUM
THOUSANDS: 0 or unique D numbers
TEN THOUSANDS: 0 or unique D numbers
1 to max. 32000 if unique D numbers in MDs have been set up
HUNDRED THOUSANDS: Tool offset 2)
0 = No specification (offset in tool geometry)
1 = Offset of length L1
2 = Offset of length L2
3 = Offset of length L3
4 = Radius offset
ONE MILLION: Tool offset 2)
0 = No specification (offset of the tool radius wear)
1 = Tool offset, additive offset (AO) 5)
Tool offset value is added to the existing AO
2 = Tool offset, setup offset (SO) 5)
SO (new) = SO (old) + AO (old) offset value, AO (new) = 0
3 = Tool offset, setup offset (SO) 5)
Tool offset value is added to the existing SO
4 = Tool offset, geometry
TEN MILLION: Tool offset 2)
0 = No specification (offset in tool geometry normal, not inverted)
1 = Offset inverted
HUNDRED MILLIONS: Tool offset
0 = Tool offset without replacement tools
1 = Tool offset in replacement tool (_DP)
4
Icon+num-
S_PRNUM
Number of the field of the probe parameters (not probe number)
ber
(value range 1 to 40)
5
X0
S_SETV
Setpoint
6
DFA
S_FA
Measurement path
7
TSA
S_TSA
Safe area
8
X
S_MA
Number of the measuring axis 7) (value range 1 to 3)
Values:
1 = 1st axis of the plane (for G17 X)
2 = 2nd axis of the plane (for G17 Y)
3 = 3rd axis of the plane (for G17 Z) measurement in tool direction
9
S_MD
Measuring direction of the measuring axis
Values:
1 = Positive measuring direction
2 = Negative measuring direction
10
Measure-
S_NMSP
Number of measurements at the same location 2) (value range 1 to 9)
ments
11
TR
S_TNAME
Tool name 3)
NC programming
1172
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
12
DL
S_DLNUM
Setup additive offset DL number 5)
13
ST
_DP
Number of the replacement tool (duplo number) to be corrected
14
TZL
S_TZL
Work offset 2), 3)
15
DIF
S_TDIF
Dimensional difference check 2), 3)
16
TUL
S_TUL
Upper tolerance limit (incremental to the setpoint) 3)
17
TLL
S_TLL
Lower tolerance limit (incremental to the setpoint) 3)
18
TMV
S_TMV
Offset range for averaging 2)
19
FW
S_K
Weighting factor for averaging 2)
20
EVN
S_EVNUM
Date set, empirical value memory 2), 8)
21
S_MCBIT
Reserved
22
_DMODE
Display mode
Values:
UNITS: Machining plane G17/G18/G19
0 = Compatibility, the plane active before the 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)
23
_AMODE
Alternative mode
Values:
UNITS: Dimensional tolerance yes/no
0 = No
1 = Yes
1)
All default values = 0 or marked as the range of values a to b
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
3)
Only for offset in tool, otherwise parameter = ""
4)
Only for offset in tool and dimensional tolerance "Yes", otherwise parameter = 0
5)
Only if the "Setup additive offset" function has been set-up in the general MD 18108 $MN_MM_NUM_SUMCORR . In addition,
in the general MD 18080 $MN_MM_TOOL_MANAGEMENT_MASK , bit8 must be set to 1.
6)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse"
7)
Offset in tool geometry:
For measurement in the plane (S_MA=1 or S_MA=2) Offset in tool radius
For measurement in tool direction (S_MA=3) Offset in tool length L1
8)
Empirical averaging for tool offset and correction in WO possible
Value range for empirical mean value memory:
1 to 20 numbers (n) of the empirical value memory, see channel-specific SD55623 $SCS_MEA_EMPIRIC_VALUE[n-1]
10000 to 200000 numbers (n) of the mean value memory, see channel-specific SD55625 $SCS_MEA_AVERAGE_VALUE[n-1]
9)
When measuring with spindle reversal, the radius/diameter of the probe must be precisely determined. This should be
realized with a calibration variant of the CYCLE976 radius at the ring or at the edge or at the ball. Otherwise, the measurement
result will be falsified.
3.26.2.6
CYCLE998 measuring cycle parameters
PROC CYCLE998(INT S_MVAR,INT S_KNUM,INT S_RA,INT S_PRNUM,REAL S_SETV,REAL S_STA1,REAL
S_INCA,REAL S_FA,REAL S_TSA,INT S_MA,INT S_MD,REAL S_ID,REAL S_SETV0,REAL S_SETV1,REAL
S_SETV2,REAL S_SETV3,INT S_NMSP,INT S_EVNUM,INT _DMODE,INT _AMODE)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1173
Work preparation
3.26 Programming cycles externally
Table 3-13
CYCLE998 call parameters 1)
No
Screen form
Cycle pa-
Meaning
parameter
rameter
1
S_MVAR
Measuring variant (default=5)
Values:
UNITS: Contour element
5 = Measure edge (one angle)
6 = Measure plane (two angles)
TENS: Reserved
HUNDREDS: Correction target
0 = Only measurement and no correction of WO
1 = Measurement and determination and correction of the WO (see S_KNUM)
THOUSANDS: Protection zone
0 = No consideration of a protection zone
1 = Consideration of a protection zone
TEN THOUSANDS: Measurement with spindle reversal (difference measurement)
0 = Measurement without spindle reversal
1 = Measurement with spindle reversal
HUNDRED THOUSANDS: Measurement at an angle or paraxial
0 = Measurement at an angle
1 = Measurement paraxial
2
Selection
S_KNUM
Correction of work offset (WO) or basic WO or basic reference 2)
Values:
UNITS:
TENS:
0 = No correction
1 to max. 99 numbers of the work offset or
1 to max. 16 numbers of the basic offset
HUNDREDS: Reserved
THOUSANDS: Correction of WO or basic or basic reference
0 = Correction of the adjustable WO
1 = Correction of the channel-specific basic WO
2 = Correction of the basic reference
9 = Correction of the active WO or for G500 in last active channel-specific basic WO
TEN THOUSANDS: Coarse or fine correction in the WO or basic WO or basic refer-
ence 3)
0 = Fine correction
1 = Coarse correction
3
S_RA
Offset target coordinate rotation or rotary axis 14)
Values:
0 = Correction target coordinate rotation around the axis that results from param-
4)
eter S_MA
A, B, C
>0 = Correction target rotary axis. Number of the channel axis number of the rotary
axis (preferably rotary table). The angular offset is made in the translatory part of
the WO of the rotary axis.
4
Icon+
S_PRNUM
Number of the field of the probe parameter
number
(default=1)
5
DX / DY / DZ
S_SETV
Distance (incremental) from the starting position to measuring point P1 of the measuring axis
(S_MA) 5)
NC programming
1174
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen form
Cycle pa-
Meaning
parameter
rameter
6
α
S_STA1
Angle setpoint for "Align edge" or for "Align plane" around the 1st axis of the plane (for G17
X) 9)
7
β
S_INCA
Angle setpoint for "Align plane" around the 2nd axis of the plane (for G17 Y) 9)
8
DFA
S_FA
Measurement path
9
TSA
S_TSA
Safe area
Monitoring of the angle difference to the angle setpoint [degrees] 6)
10
X / Y / Z
S_MA
Measuring axis, offset axis 7) (default=201)
Values:
UNITS: Number of the measuring axis
1 = 1st axis of the plane (for G17 X)
2 = 2nd axis of the plane (for G17 Y)
3 = 3rd axis of the plane (for G17 Z)
TENS: Reserved
HUNDREDS: Number of the offset axis
1 = 1st axis of the plane (for G17 X)
2 = 2nd axis of the plane (for G17 Y)
3 = 3rd axis of the plane (for G17 Z)
11
+-
S_MD
Measuring direction of the measuring axis 8)
Values:
0 = Measuring direction is determined from the setpoint and the actual position of
the measuring axis (compatibility)
1 = Positive measuring direction
2 = Negative measuring direction
12
L2
S_ID
For measuring variant "Align edge":
Distance (incremental) between the measuring points P1 and P2 in the offset axis (value >0)
For measuring variant "Align plane", the parameters listed below apply.
13
L2
S_SETV0
Distance between the measuring points P1 and P2 in the 1st axis of the plane 10)
14
S_SETV1
Distance between the measuring points P1 and P2 in the 2nd axis of the plane 11), 12)
15
L3x
S_SETV2
Distance between the measuring points P1 and P3 in the 1st axis of the plane 11)
16
L3y
S_SETV3
Distance between the measuring points P1 and P3 in the 2nd axis of the plane 10)
17
Measure-
S_NMSP
Number of measurements at the same location 2) (default=1)
ments
18
S_EVNUM
Date set, empirical value memory 2), 13)
19
_DMODE
Display mode
Values:
UNITS: Machining plane G17/G18/G19
0 = Compatibility, the plane active before the 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)
20
_AMODE
Reserved (alternative mode)
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
3)
WO "fine" only if correction target is rotary axis and MD 52207 $MCS_AXIS_USAGE_ATTRIB[n] Bit6=1.
If WO has not been set up in MDs, correction is according to WO "coarse".
4)
Example for offset in coordinate rotation: S_MA=102 Measuring axis Y, offset axis X results in coordinate rotation around Z
(for G17)
5)
Value only relevant for protection zone "Yes" (S_MVAR THOUSANDS position = 1)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1175
Work preparation
3.26 Programming cycles externally
6)
When positioning from measuring point P1 to measuring point P2 in the offset axis, the angles in parameters S_STA1
and S_TSA are added.
7)
Number of the measuring axis must not be the same as the number of the offset axis (e.g. 101 not permitted)
8)
Measuring direction only for "Align edge" and "Measurement paraxial" (S_MVAR=10x105)
9)
Angular range S_STA1 ±45 degrees for "Align edge"
Angular range S_STA1 0 to +60 degrees and S_INCA ±30 degrees for "Align plane"
10) For measuring variants "Align plane" and "Align edge"
11) For measuring variants "Measure plane" and "Measurement paraxial"
12) Not for measuring cycle version SW04.04.
13) Empirical value generation for correction in WO; value range of the empirical mean value memory:
1 to 20 numbers (n) of the empirical value memory, see channel-specific SD55623 $SCS_MEA_EMPIRIC_VALUE[n-1]
14) The parameter S_RA is only relevant for the measuring variant "Align edge" (S_MVAR xxxxx5).
3.26.2.7
CYCLE977 measuring cycle parameters
PROC CYCLE977(INT S_MVAR,INT S_KNUM,INT S_KNUM1,INT S_PRNUM,REAL S_SETV,REAL S_SETV0,REAL
S_SETV1,REAL S_FA,REAL S_TSA,REAL S_STA1,REAL S_ID,REAL S_SZA,REAL S_SZO,INT S_MA,INT
S_NMSP,STRING[32] S_TNAME,INT S_DLNUM,REAL S_TZL,REAL S_TDIF,REAL S_TUL,REAL S_TLL,REAL
S_TMV,INT S_K,INT S_EVNUM,INT S_MCBIT,INT _DMODE,INT _AMODE,REAL S_XM,REAL_S_YM,INT _DP)
Table 3-14
CYCLE977 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS: Contour element (value range 1 to 6)
1 = Measure hole
2 = Measure spigot (shaft)
3 = Measure groove
4 = Measure rib
5 = Measure rectangle, inside
6 = Measure rectangle, outside
TENS: Reserved
HUNDREDS: Correction target
0 = Only measurement (no correction of the WO or no tool offset)
1 = Measurement and determination and correction of the WO (see S_KNUM)
2 = Measurement and tool offset (see S_KNUM1)
THOUSANDS: Protection zone
0 = No consideration of a protection zone
1 = Consideration of a protection zone
TEN THOUSANDS: Measurement with/without spindle reversal (differential meas-
urement) or align probe in the switching direction
0 = Measurement without spindle reversal, do not align probe
1 = Measurement with spindle reversal
2 = Align probe in switching direction
NC programming
1176
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
2
Selection
S_KNUM
Correction of work offset (WO) or basic WO or basic reference 2)
Values:
UNITS:
TENS:
0 = No correction
1 to max. 99 numbers of the work offset or
1 to max. 16 numbers of the basic offset
HUNDREDS: Reserved
THOUSANDS: Correction of WO or basic or basic reference
0 = Correction of the adjustable WO
1 = Correction of the channel-specific basic WO
2 = Correction of the basic reference
3 = Correction of the global basic WO
9 = Correction of the active WO or for G500 in last active channel-specific basic WO
TEN THOUSANDS: Coarse or fine correction in the WO, basic WO or basic reference
0 = Fine correction 6)
1 = Coarse correction
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1177
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
3
Selection
S_KNUM1
Correction in tool offset 2)
Values:
UNITS:
TENS:
HUNDREDS:
0 = No correction
1 to max. 999 D numbers (cutting edge numbers) for tool offset; for additive and
setup offset, see also S_DLNUM
THOUSANDS: 0 or unique D numbers
TEN THOUSANDS: 0 or unique D numbers
1 to max. 32000 if unique D numbers in MDs have been set up
HUNDRED THOUSANDS: Tool offset 2)
0 = No specification (offset tool radius)
1 = Offset of length L1
2 = Offset of length L2
3 = Offset of length L3
4 = Radius offset
ONE MILLION: Tool offset 2)
0 = No specification (offset of the tool radius wear)
1 = Tool offset, additive offset (AO) 5)
Tool offset value is added to the existing AO
2 = Tool offset, setup offset (SO) 5)
SO (new) = SO (old) + AO (old) offset value, AO (new) = 0
3 = Tool offset, setup offset (SO) 5)
Tool offset value is added to the existing SO
4 = Tool offset, geometry
TEN MILLION: Tool offset 2)
0 = No specification (offset in tool geometry normal, not inverted)
1 = Offset inverted
HUNDRED MILLIONS: Tool offset
0 = Tool offset without replacement tools
1 = Tool offset in replacement tool (_DP)
4
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(value range 1 to 40)
5
X0
S_SETV
Setpoint
6
X0
S_SETV0
Setpoint for rectangle in 1st axis of the plane (X for G17)
7
Y0
S_SETV1
Setpoint for rectangle in 2nd axis of the plane (Y for G17)
8
XM
S_XM
Setpoint center point input geometry axis X
9
YM
S_YM
Setpoint center point input geometry axis Y
10
DFA
S_FA
Measurement path
11
TSA
S_TSA
Safe area
12
α 0
S_STA1
Starting angle
NC programming
1178
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
13
DZ
S_ID
Absolute incremental value
1. Incremental infeed of the 3rd axis of the plane (Z for G17)
Infeed direction via sign of S_ID. For measurement of spigot, rib and rectangle out-
side, S_ID is used to define the lowering to measuring height.
2. Consideration of a protection zone
For measurement of hole, groove and rectangle inside and a protection zone, S_ID is
used to define the overtravel height.
14
X1
S_SZA
Diameter or length (width) of the protection zone 7)
15
Y1
S_SZO
For "Measure rectangle": Width of the protection zone of the 2nd axis of the plane
16
X
S_MA
Number of the measuring axis 7) (only for measurement of groove or rib)
Values:
1 = 1st axis of the plane (for G17 X)
2 = 2nd axis of the plane (for G17 Y)
17
ST
_DP
Number of the replacement tool (duplo number) to be corrected
18
Measure-
S_NMSP
Number of measurements at the same location 2) (value range 1 to 9)
ments
19
TR
S_TNAME
Tool name 2)
20
DL
S_DLNUM
Setup additive offset DL number 5)
21
TZL
S_TZL
Work offset 2), 4)
22
DIF
S_TDIF
Dimensional difference check 2), 4)
23
TUL
S_TUL
Upper tolerance limit (incremental to the setpoint) 4)
24
TLL
S_TLL
Lower tolerance limit (incremental to the setpoint) 4)
25
TMV
S_TMV
Offset range for averaging 2)
26
FW
S_K
Weighting factor for averaging 2)
27
S_EVNUM
Data set, empirical mean value memory 2), 8)
28
S_MCBIT
Reserved
29
_DMODE
Display mode
Values:
UNITS: Machining plane G17/G18/G19
0 = Compatibility, the plane active before the 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)
30
_AMODE
Alternative mode
Values:
UNITS: Dimensional tolerance yes/no
0 = No
1 = Yes
1)
All default values = 0 or marked as the range of values a to b
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
3)
Only for offset in tool, otherwise parameter = ""
4)
Only for offset in tool and dimensional tolerance "Yes", otherwise parameter = 0
5)
Only if the "Setup additive offset" function has been set-up in the general MD 18108 $MN_MM_NUM_SUMCORR . In addition,
in the general MD 18080 $MN_MM_TOOL_MANAGEMENT_MASK , bit8 must be set to 1.
6)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse"
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1179
Work preparation
3.26 Programming cycles externally
7)
Diameter or width of the protection zone within a hole or groove
Diameter or width of the protection zone outside of a spigot or rib
8)
Empirical averaging possible for tool offset
Value range for empirical mean value memory:
1 to 20 numbers (n) of the empirical value memory, see channel-specific SD55623 $SCS_MEA_EMPIRIC_VALUE[n-1]
10000 to 200000 numbers (n) of the mean value memory, see channel-specific SD55625 $SCS_MEA_AVERAGE_VALUE[n-1]
3.26.2.8
CYCLE961 measuring cycle parameters
PROC CYCLE961(INT S_MVAR,INT S_KNUM,INT S_PRNUM,REAL S_SETV0,REAL S_SETV1,REAL
S_SETV2,REAL S_SETV3,REAL S_SETV4,REAL S_SETV5,REAL S_SETV6,REAL S_SETV7,REAL S_SETV8,REAL
S_SETV9,REAL S_STA1,REAL S_INCA,REAL S_ID,REAL S_FA,REAL S_TSA,INT S_NMSP,INT S_MCBIT,INT
_DMODE,INT _AMODE)
Table 3-15
CYCLE961 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant (default ≥ 6)
Values:
UNITS: Contour element
5 = Setup of right-angled inside corner, setpoint specification of angle and distances
A1 to A3
6 = Setup of right-angled outside corner, setpoint specification of angle and distan-
ces A1 to A3
7 = Setup of inside corner, specification of angle and distances A1 to A4
8 = Setup of outside corner, specification of angle and distances A1 to A4
TENS: Setpoint specification as distance or via four points
0 = Setpoint specification as distance (polar)
1 = Setpoint specification using four points (measuring points P1 to P4)
HUNDREDS: Correction target
0 = Only measurement (no correction of the WO or no tool offset)
1 = Measurement and determination and correction of the WO, see S_KNUM
THOUSANDS: Protection zone
0 = No consideration of a protection zone (obstacle)
1 = Consideration of a protection zone (obstacle), see S_ID
TEN THOUSANDS: Position of the corner in the WCS
0 = Position of the corner is determined via parameter S_STA1 (compatibility)
1 = Position 1 of the corner in the positioned starting point of the measurement 6)
2 = Position 2 of the corner, distances in the 1st axis of the plane (for G17 X) are
negative (see S_SETV0, S_SETV1)
3 = Position 3 of the corner, distances in the 1st and 2nd axis of the plane (for
G17 XY) are negative (see S_SETV0 to S_SETV3)
4 = Position 4 of the corner, distances in the 2nd axis of the plane (for G17 Y) are
negative (see S_SETV2, S_SETV3)
NC programming
1180
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1

 

 

 

 

 

 

 

Content      ..     15      16      17      18     ..