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

 

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

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     16      17      18      19     ..

 

 

 

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

 

 

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
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 5)
1 = Coarse correction
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(value range 1 to 40)
4
L1/X1
S_SETV0
Distance L1 between the pole and measuring point P1 in the direction of the 1st axis of the
plane (for G17 X) 3)
(if the actual distance L1=0, then L1 = M_SETV1 / 2 is automatically calculated) or
starting point P1x of the 1st axis of the plane (for G17 X) 4)
5
L2/Y1
S_SETV1
Distance L2 between the pole and measuring point P2 in the direction of the 1st axis of the
plane 3)
or starting point P1y of the 2nd axis of the plane (for G17 Y) 4)
6
L3/X2
S_SETV2
Distance L3 between the pole and measuring point P3 in the direction of the 2nd axis of the
plane 3)
(if the distance L3=0, then for a corner that is not right angled, L3 = M_SETV3 / 2 is auto-
matically calculated)
or starting point P2x of the 1st axis of the plane 4)
7
L4/Y2
S_SETV3
Distance L4 between the pole and measuring point P3 in the direction of the 2nd axis of the
plane with a corner that is not right angled 3)
or starting point P2y of the 2nd axis of the plane 4)
8
XP/X3
S_SETV4
Position of the pole in the 1st axis of the plane 3)
or starting point P3x of the 1st axis of the plane 4)
9
XP/Y3
S_SETV5
Position of the pole in the 2nd axis of the plane 3)
or starting point P3y of the 2nd axis of the plane 4)
10
X4
S_SETV6
Starting point P4x of the 1st axis of the plane 4)
11
Y4
S_SETV7
Starting point P4y of the 2nd axis of the plane 4)
12
X0
S_SETV8
Setpoint of the measured corner in the 1st axis of the plane for correcting in WO
13
Y0
S_SETV9
Setpoint of the measured corner in the 2nd axis of the plane for correcting in WO
14
α0
S_STA1
Starting angle from the positive direction of the 1st axis of the plane to the reference edge of
the workpiece in the MCS (+-270 degrees)
15
α1
S_INCA
Angle between workpiece reference edges when measuring a non-right-angled corner 7)
16
DZ
S_ID
Infeed amount at the measuring height for each measuring point for active protection zone
(see S_MVAR).
17
DFA
S_FA
Measurement path
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1181
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
18
TSA
S_TSA
Safe area
Monitoring the angular difference to the angle setpoint [degrees]
19
Measure-
S_NMSP
Number of measurements at the same location 2) (value range 1 to 9) 2)
ments
20
S_MCBIT
Reserved
21
_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)
22
_AMODE
Alternative mode
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)
Input of the measuring points in polar coordinates, taking into account the starting angle S_STA1 for measuring point 3 or
4 of the incremental angle S_INCA.
4)
Input of the measuring points in the right-angled coordinate system (input using 4 points)
5)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse".
6)
Value range of angle S_INCA: -180 to +180 degrees
7)
Starting angle S_STA1, value range: right-angled corner: +- 90 degrees, any corner:
+- 45 degrees
3.26.2.9
CYCLE979 measuring cycle parameters
PROC CYCLE979(INT S_MVAR,INT S_KNUM,INT S_KNUM1,INT S_PRNUM,REAL S_SETV,REAL S_FA,REAL
S_TSA,REAL S_CPA,REAL S_CPO,REAL S_STA1,REAL S_INCA,INT S_NMSP,STRING[32] S_TNAME,REAL
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)
NC programming
1182
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Table 3-16
CYCLE979 call parameters 0)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS: Contour element
1 = Measure hole
2 = Measure spigot (shaft)
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: Number of measurement points
0 = 3 measuring points
1 = 4 measuring points
TEN THOUSANDS: Measurement with/without spindle reversal (differential meas-
urement) or align probe in the switching direction
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
1183
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 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
DFA
S_FA
Measurement path
7
TSA
S_TSA
Safe area
8
X0
S_CPA
Center point of the 1st axis of the plane (for G17 X)
9
Y0
S_CPO
Center point of the 2nd axis of the plane (for G17 Y)
10
XM
S_XM
Setpoint center point input geometry axis X
11
YM
S_YM
Setpoint center point input geometry axis Y
12
alpha 0
S_STA1
Starting angle 7)
13
alpha 1
S_INCA
Incremental angle 8)
14
Measure-
S_NMSP
Number of measurements at the same location 1) (value range 1 to 9)
ments
15
ST
_DP
Number of the replacement tool (duplo number) to be corrected
NC programming
1184
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
16
T
S_TNAME
Tool name 2)
17
DL
S_DLNUM
Setup additive offset DL number 1), 4)
18
TZL
S_TZL
Work offset 1), 2)
19
DIF
S_TDIF
Dimensional difference check 1), 2)
20
TUL
S_TUL
Upper tolerance limit (incremental to the setpoint) 2)
21
TLL
S_TLL
Lower tolerance limit (incremental to the setpoint) 2)
22
TMV
S_TMV
Offset range for averaging 1)
23
FW
S_K
Weighting factor for averaging 1)
24
S_EVNUM
Date set, empirical value memory 1), 6)
25
S_MCBIT
Reserved
26
_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)
27
_AMODE
Alternative mode
Values:
UNITS: Dimensional tolerance yes/no
0 = No
1 = Yes
0)
All default values = 0 or marked as the range of values a to b.
1)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
2)
Only for offset in tool, otherwise parameter = ""
3)
Only for offset in tool and dimensional tolerance "Yes", otherwise parameter = 0
4)
Only if the "Setup additive offset" function has been set-up in the general MD 18108 $MN_MM_NUM_SUMCORR .
5)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse"
6)
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]
7)
Value range of starting angle -360 to +360 degrees
8)
Value range of incremental angle >0 to ≤90 degrees for four measuring points or >0 to ≤120 degrees for three measuring
points.
3.26.2.10
CYCLE997 measuring cycle parameters
PROC CYCLE997 (INT S_MVAR,INT S_KNUM,INT S_PRNUM,REAL S_SETV,REAL S_FA,REAL S_TSA,REAL
S_STA1,REAL S_INCA,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_TNVL,INT S_NMSP,INT S_MCBIT,INT
_DMODE,INT _AMODE)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1185
Work preparation
3.26 Programming cycles externally
Table 3-17
CYCLE997 call parameters 1), 2)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant (default =9)
Values:
UNITS: Contour element
9 = Measure ball
TENS: Repeat measurement
0 = Without measurement repetition
1 = With measurement repetition
HUNDREDS: Correction target
0 = Only measurement (no correction of WO)
1 = Measurement and determination and correction of the WO (see S_KNUM)
THOUSANDS: Measuring strategy
0 = Paraxial measurement, without starting angle, probe alignment corresponding
to SD55740, bit 1
1 = Circling measurement, with starting angle, probe alignment corresponding to
SD55740, Bit 1
2 = Circling measurement, with starting angle, align probe in the switching direction
3 = Paraxial measurement, with starting angle, probe alignment corresponding to
SD55740, bit 1
4 = Paraxial measurement, with starting angle, align probe in the switching direc-
tion
TEN THOUSANDS: Number of balls to be measured
0 = Measure one ball
1 = Measure three balls
HUNDRED THOUSANDS: Number of measuring points, only for measurement at an
angle (note measuring strategy: THOUSANDS position > 0)
0 = Three measuring points for measurement at an angle (traversing around the
ball)
1 = Four measuring points for measurement at an angle (traversing around the ball)
ONE MILLION: Determination of the diameter setpoint of the ball
0 = No determination of the diameter setpoint of the ball
1 = Determination of the diameter setpoint of the ball
NC programming
1186
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 or basic reference 3)
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 in adjustable WO
1 = Correction in channel-specific basic WO
2 = Correction in basic reference
3 = Correction in global basic WO 7)
9 = Correction in active WO or for G500 in last active channel-specific basic WO
TEN THOUSANDS: Correction in WO or basic WO or basic reference coarse or fine
0 = Fine correction 6)
1 = Coarse correction
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(value range 1 to 40)
4
S_SETV
Diameter of the ball(s) 4)
5
DFA
S_FA
Measurement path
6
TSA
S_TSA
Safe area
7
alpha 0
S_STA1
Starting angle for measurement at an angle
8
alpha 1
S_INCA
Incremental angle for measurement at an angle
9
X1
S_SETV0
Set position of the 1st ball of the 1st axis of the plane (for G17 X) for measuring 3 balls
10
Y1
S_SETV1
Set position of the 1st ball of the 2nd axis of the plane (for G17 Y) for measuring 3 balls
11
Z1
S_SETV2
Set position of the 1st ball of the 3rd axis of the plane (for G17 Z) for measuring 3 balls
12
X2
S_SETV3
Set position of the 2nd ball of the 1st axis of the plane for measuring 3 balls
13
Y2
S_SETV4
Set position of the 2nd ball of the 2nd axis of the plane for measuring 3 balls
14
Z2
S_SETV5
Set position of the 2nd ball of the 3rd axis of the plane for measuring 3 balls
15
X3
S_SETV6
Set position of the 3rd ball of the 1st axis of the plane for measuring 3 balls
16
Y3
S_SETV7
Set position of the 3rd ball of the 2nd axis of the plane for measuring 3 balls
17
Z3
S_SETV8
Set position of the 3rd ball of the 3rd axis of the plane for measuring 3 balls
18
TVL
S_TNVL
Limit value for distortion of the triangle (sum of the deviations) for measuring 3 balls 5)
19
Measure-
S_NMSP
Number of measurements at the same location 2) (value range 1 to 9)
ments
20
S_MCBIT
Reserved
21
_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)
22
_AMODE
Alternative mode
1)
All default values = 0 or marked as the range of values a to b
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1187
Work preparation
3.26 Programming cycles externally
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
3)
Intermediate positioning, circling around the ball at the equator
4)
Measure 3 balls: The same diameter setpoint applies for all three balls (_SETV)
5)
Default value for S_TNVL=1.2
Correction in WO: Correction is only performed in the WO when the determined distortion is below the S_TNVL limit value.
6)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse"
7)
For measuring variant "Measure three balls", correction in a global basic frame is not possible (S_KNUM = 3001 to 3016), as
the frame does not have a rotation component.
3.26.2.11
CYCLE995 measuring cycle parameters
PROC CYCLE995 (INT S_MVAR,INT S_KNUM,INT S_PRNUM,REAL S_SETV,REAL S_FA,REAL S_TSA,REAL
S_STA1,REAL S_INCA,REAL S_DZ,REAL S_SETV0,REAL S_SETV1,REAL S_SETV2,REAL S_TUL,REAL
S_TZL,INT S_NMSP,INT S_MCBIT,INT _DMODE,INT _AMODE)
Table 3-18
CYCLE995 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameters
rameters
1
S_MVAR
Measuring variant (default=5)
Values:
UNITS: Contour element
5 = Spindle geometry (parallel to the tool axis)
TENS: Repeat measurement
1 = with repeat measurement
HUNDREDS: No offset target
0 = measurement only
THOUSANDS: Measuring strategy
2 = measurement at an angle, align probe in direction of switching
TEN THOUSANDS: Number of spheres to be measured
0 = measure a sphere
HUNDRED THOUSANDS: Number of measurement points
1 = 4 measurement points when measuring at an angle (circle the sphere)
ONE MILLION: Determination of the diameter setpoint of the sphere
0 = No determination of the diameter setpoint of the sphere
1 = Determination of the diameter setpoint of the sphere
2
Selection
S_KNUM
Correction target
0 = 0
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(value range 1 to 40)
4
DM
S_SETV
Diameter of the calibration sphere 4)
5
DFA
S_FA
Measurement path
6
TSA
S_TSA
Safe area 5)
NC programming
1188
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameters
rameters
7
alpha 0
S_STA1
Starting angle for measurement at an angle 3)
8
S_INCA
Incremental angle for measurement at an angle 2)
9
DZ
S_DZ
Clearance 1st measurement P1 to the 2nd measurement P2 at the shaft of the probe
10
S_SETV0
Setpoint position of the sphere of the 1st axis of the plane (for G17 X) 2)
11
S_SETV1
Setpoint position of the sphere of the 2nd axis of the plane (for G17 Y) 2)
12
S_SETV2
Setpoint position of the sphere of the 3rd axis of the plane (for G17 Z) 2)
13
TUL
S_TUL
Upper tolerance value of the angular deviation
14
TZL
S_TZL
Zero offset range 1), 4)
15
Number
S_NMSP
Number of measurements at the same location 2) (value range 1 to 9)
16
S_MCBIT
Reserved2)
17
_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)
18
_AMODE
Alternative mode
Values:
UNITS: Dimensional tolerance yes/no
0 = No
1 = Yes
All default values = 0 or marked as the range of values a to b
1)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
2)
Parameters are currently not used and also not displayed in the input screen.
The parameter incremental angle S_INCAis permanently set to 90 degrees.
3)
Value range of starting angle -360 to +360 degrees
4)
for dimensional tolerance yes:
If the measured angle is less than the value of the work offset range TZL, then the result parameters for the angle (_OVR[2],
_OVR[3]) and deviations (_OVR[7], _OVR[8]) are set to zero.
DisplayTZL is realized using the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE bit25=1.
(enable selected zero offset when measuring angularity, spindle)
5)
Parameter TSA refers to the 1st measurement of the calibration sphere.
3.26.2.12
CYCLE996 measuring cycle parameters
PROC CYCLE996(INT S_MVAR,INT S_TC,INT S_PRNUM,REAL S_SETV,REAL S_STA1,REAL S_SETV0,REAL
S_SETV1,REAL S_SETV2,REAL S_SETV3,REAL S_SETV4,REAL S_SETV5,REAL S_TNVL,REAL S_FA,REAL
S_TSA,INT S_NMSP,INT S_MCBIT,INT _DMODE,INT _AMODE)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1189
Work preparation
3.26 Programming cycles externally
Table 3-19
CYCLE996 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measurement version (default=1)
Values:
UNITS: Measuring sequence
0 = Calculate kinematics (selection with: Result display, protocol, change of the
swivel data sets, where relevant with operator acknowledgment), see _AMODE
1 = 1st measurement
2 = 2nd measurement
3 = 3rd measurement
TENS: Reserved
0 = 0
HUNDREDS: Measurement version for 1st to 3rd measurement
0 = Measurement of the calibration ball paraxial
1 = Measurement of the calibration ball at an angle and no spindle correction 3)
2 = Measurement of the calibration ball and correction of the spindle in the switch-
ing direction of the probe 3)
3 = Paraxial measurement, with starting angle 8)
4 = Paraxial measurement, with starting angle, tracking spindle in the switching
direction of the probe 8)
THOUSANDS: Calculate correction target for kinematics 4)
0 = Measuring only. Swivel data sets are calculated, but remain unchanged
1 = calculate swivel data set. Swivel data sets are, if necessary, changed after ac-
knowledgment by the operator 4)
TEN THOUSANDS: Measuring axis (rotary axis 1 or 2) or vector chain open or closed
for calculate kinematics
0 = Vector chain closed (only for calculate kinematics)
1 = Rotary axis 1 (only for 1st to 3rd measurement)
2 = Rotary axis 2 (only for the 1st to 3rd measurement) 5)
3 = Vector chain open (only for calculate kinematics)
HUNDRED THOUSANDS: Normalizing of rotary axis 1 for calculate kinematics
0 = No scaling rotary axis 1
1 = Scaling in the direction of the 1st axis of the plane (for G17 X)
2 = Scaling in the direction of the 2nd axis of the plane (for G17 Y)
3 = Scaling in the direction of the 3rd axis of the plane (for G17 Z)
ONE MILLION: Normalizing of rotary axis 2 for calculate kinematics 5)
0 = No scaling rotary axis 2
1 = Scaling in the direction of the 1st axis of the plane (for G17 X)
2 = Scaling in the direction of the 2nd axis of the plane (for G17 Y)
3 = Scaling in the direction of the 3rd axis of the plane (for G17 Z)
TEN MILLION: Log file
0 = No protocol file
1 = Protocol file with the calculated vectors (tool carrier) and the 1st dynamic 5-axis
transformation (TRAORI(1)), if set-up in MDs.
2
S_TC
Number of the swivel data record (tool carrier)
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
NC programming
1190
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
4
S_SETV
Diameter of the calibration ball
5
alpha 0
S_STA1
Starting angle for measurement at an angle
6
alpha 0
S_SETV0
Position value of rotary axis 1 (if rotary axis is manual or semi-automatic)
7
alpha 1
S_SETV1
Position value of rotary axis 2 (if rotary axis is manual or semi-automatic) 6)
8
XN
S_SETV2
Position value for normalizing rotary axis 1
9
XN
S_SETV3
Position value for normalizing of rotary axis 2 6)
10
Delta
S_SETV4
Tolerance value of the offset vectors I1 to I4
11
Delta
S_SETV5
Tolerance value of rotary axis vectors V1 and V2
12
TVL
S_TNVL
Limit value of angular segment of the rotary axis (value range 1 to 60 degrees)
(default=20) 7)
13
DFA
S_FA
Measurement path
14
TSA
S_TSA
Safe area
15
Measure-
S_NMSP
Number of measurements at the same location 2) (default=1)
ments
16
S_MCBIT
Reserved
17
_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)
18
_AMODE
Alternative mode
Values:
UNITS: Tolerance check yes/no
0 = No
1 = Yes: Evaluation of the tolerance values of the vectors S_SETV4, S_SETV5
TENS: Acknowledgment by the operator when entering the calculated vectors in the
swivel data set 4)
0 = yes: Operator must acknowledge the change
1 = no: calculated vectors are entered immediately (only effective if HUNDREDS and
THOUSANDS position = 0)
HUNDREDS: Measurement result display 5)
0 = No
1 = Yes
THOUSANDS: Measurement result display can be edited
0 = No
1 = Yes, and can be edited (only effective, if the HUNDREDS position = 1)
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE.
3)
Using this version, for example, for 90 degree positions, the kinematics can be measured at the calibration ball, without
colliding with the retaining shaft of the calibration ball. A starting angle S_STA1 (0 to 360 degrees) can be entered. The
incremental angle when circling the ball is equal to 90 degrees.
As feedrate along the circular path, the channel-specific SD55634 $SCS_MEA_FEED_PLANE_VALUE is used
4)
There is an operator prompt with M0 before entering. The vectors are only entered with NC start.
If the measuring program is aborted with RESET no calculated vectors are entered.
Vectors are only entered when the tolerance of the offset vectors has not been exceeded during the calculation.
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1191
Work preparation
3.26 Programming cycles externally
5)
Measurement result display only for the calculated kinematics measuring version.
If the measurement result should also be displayed after the 1st to the 3rd measurement, then this is realized by setting the
channel-specific SD55613 $SCS_MEA_RESULT_DISPLAY.
6)
Rotary axis 2 only for kinematics with two rotary axes
7)
Limit value angular segment of the rotary axis. Value range of S_TNVL between 20 and 60 degrees. For values of S_TNVL
< 20 degrees, inaccuracies can be expected as a result of the measuring inaccuracies in the micrometer range of the probe.
If the limit value is violated, then error message 61430 is output - with a display of the minimum limit value.
8)
Spindle is tracked in the probe switching direction if SD54760 bit 17 = 1
3.26.2.13
CYCLE9960 measuring cycle parameters
PROC CYCLE9960(INT S_MVAR,STRING[40] S_TNAME,INT S_PRNUM,REAL S_SETV,REAL S_SETV1,REAL
S_START_RA1,REAL S_END_RA1,INT S_CMEA_RA1,REAL S_POS_RA2,REAL S_SETV2,REAL
S_START_RA2,REAL S_END_RA2,INT S_CMEA_RA2,REAL S_POS_RA1,REAL S_SETV4,REAL S_FA,REAL
S_TSA,INT S_NMSP,INT S_DMODE,INT S_AMODE,INT S_KNUM)
Table 3-20
CYCLE9960 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameters
rameters
1
Selection
S_MVAR
Measurement version (default=1)
Values:
UNITS: Measuring variant
0 = measure and calculate kinematics (select with: Result display, protocol,
change of swivel data set (see thousands S_MVAR)
1 = measure reference head
2 = adapt head to reference head
3 = measure and calculate interpolation points (E996)
TENS: Reserved
HUNDREDS: Ball measuring variant
2 = measurement of the calibration ball and tracking of the spindle in the switch-
ing direction of the probe
4 = paraxial measurement, with starting angle, tracking spindle in the switching
direction of the probe 2)
THOUSANDS: Calculate correction target for kinematics 3)
0 = measure and calculate. Data sets are calculated and remain unchanged
1 = calculated data sets may be changed after operator acknowledgment
2 = previously measured kinematics are calculated and, if applicable, changed
after operator acknowledgment
TENTHOUSANDS: Measuring axis (rotary axis 1 or 2)
1 = measure and calculate all existing rotary axes
4 = measure and calculate only rotary axis 1
5 = measure and calculate only rotary axis 2
2
S_TNAME
Name of the transformation (swivel data set or transformation based on kinematic chains)
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
4
S_SETV
Diameter of the calibration ball
NC programming
1192
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameters
rameters
5
Alpha 1
S_SETV1
Starting angle for measuring at an angle for the 1st rotary axis
6
S_START_RA1: Starting angle of the 1st rotary axis
7
S_END_RA1: Final angle of 1st rotary axis
8
S_CMEA_RA1: Number of measurements of the 1st rotary axis, 3 for measuring and calcu-
lating kinematics. Up to 12 measurements are possible for interpolation points.
9
S_POS_RA2: Position of the 2nd rotary axis while measuring the 1st rotary axis 4)
10
Alpha 2
S_SETV2
Starting angle for measuring at an angle for the 2nd rotary axis 4)
11
S_START_RA2: Starting angle of the 2nd rotary axis 4)
12
S_END_RA2: Final angle of 2nd rotary axis 4)
13
S_CMEA_RA2: Number of measurements of the 2nd rotary axis, 3 for measuring and calcu-
lating kinematics. Up to 12 measurements are possible for interpolation points.4)
14
S_POS_RA1: Position of the 1st rotary axis while measuring the 2nd rotary axis
15
Delta
S_SETV4
Tolerance value of offset vectors
16
DFA
S_FA
Measurement path
17
TSA
S_TSA
Safe area
18
Number
S_NMSP
Number of measurements at the same location 5)
(default=1)
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
Alternative mode
Values:
ONES: Tolerance check yes/no
0 = no
1 = yes: Evaluation of the tolerance values of the vectors -> S_SETV4, S_SETV5
TENS: Automatic calibration
0 = without automatic calibration
1 = automatic calibration
HUNDREDS: Automatic starting angle
0 = set starting angle is used
1 = automatic calculation of the starting angle, for each measuring point
21
S_KNUM
Number of the WO to be corrected for reference head measurement
Values
UNITS: The correction is always applied to the coarse offset, the fine offset is
deleted
TENS: 1 ... 99 number of the adjustable WO (1=G54)
THOUSANDS: 9 correction active, adjustable WO
1)
All default values = 0 or marked as default = xx
2)
Spindle is tracked in the switching direction of the probe if SD54760 bit 17 = 1
3)
There is an operator prompt with M0 before entering. The vectors cannot be entered until the NC has been started. If the
measuring program is interrupted with RESET, no calculated vectors are entered. Vectors are entered only if the tolerance of
the offset vectors is not exceeded in the calculation.
4)
Rotary axis 2 only for kinematics with 2 rotary axes
5)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE.
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1193
Work preparation
3.26 Programming cycles externally
3.26.2.14
CYCLE982 measuring cycle parameters
PROC CYCLE982(INT S_MVAR,INT S_KNUM,INT S_PRNUM,INT S_MA,INT S_MD,REAL S_ID,REAL S_FA,REAL
S_TSA,REAL S_VMS,REAL S_STA1,REAL S_CORA,REAL S_TZL,REAL S_TDIF,INT S_NMSP,INT S_EVNUM,INT
S_MCBIT,INT _DMODE,INT _AMODE)
Table 3-21
CYCLE982 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS: Calibration/measurement
0 = Calibrate tool probe
1 = Single tool measurement 3)
2 = Multiple tool measurement, determine lengths and tool radius (for milling tools)
TENS: Calibration or measurement in the MCS or WCS
0 = Machine-related 4)
1 = Workpiece-related
HUNDREDS: Measurement with or without reversal for milling tools
0 = Measurement without reversal
1 = Measurement with reversal
THOUSANDS: Correction target for milling tools
0 = Determine length or length and radius (see S_MVAR 1st position)
1 = Determine radius if S_MVAR 1st position = 1
2 = Determine length and radius (face side) if S_MVAR 1st position = 1 or 2
3 = Determine side milling cutter upper cutting edge (rear side) and length and
radius 5)
TEN THOUSANDS: Position of the milling tool or the drill
0 = Axial position of the milling tool or drill, radius in 2nd axis of the plane (for G18
X) 7)
1 = Radial position of the milling tool or the drill, radius in 1st axis of the plane (for
G18 Z) 7)
HUNDRED THOUSANDS: Incremental calibration or measurement
0 = No specification
1 = Incremental calibration or measurement
ONE MILLION: Position spindle at starting angle S_STA1 (only for measurement of
milling tools)
0 = Spindle is not positioned
1 = Spindle is positioned at the starting angle S_STA1
2
Selection
S_KNUM
Offset variant 2)
Values:
UNITS: Tool offset
0 = No specification (tool offset in geometry)
1 = Tool offset in wear
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
NC programming
1194
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
4
X0
S_MA
Measuring axis
Values:
1 = 1st axis of the plane (for G18 Z)
2 = 2nd axis of the plane (for G18 X)
5
+-
S_MD
Measuring direction
Values:
0 = No selection (measuring direction is determined from actual value)
1 = Positive
2 = Negative
6
Z2
S_ID
Offset
7
DFA
S_FA
Measurement path
8
TSA
S_TSA
Safe area
9
VMS
S_VMS
Variable measuring velocity for calibration 2)
10
alpha1
S_STA1
Starting angle when measuring milling tools
11
alpha2
S_CORA
Offset angle when measuring milling tools with reversal 8)
12
TZL
S_TZL
Work offset when measuring milling tools. When calibrating S_TZL = 0
13
DIF
S_TDIF
Dimensional difference check
14
Measure-
S_NMSP
Number of measurements at the same location 2) (default=1)
ments
15
EVN
S_EVNUM
Number of the empirical mean value memory 2), 9)
16
S_MCBIT
Reserved
17
_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)
TENS: Cutting edge position for turning and milling tools
(only for display in the input screens 1 to 9)
HUNDREDS: Tool type
0 = Turning tool
1 = Milling tool
2 = Drill
THOUSANDS: The approach strategy with reference to the tool probe
0 = PLUS [X/Z]; X if tool position axial, Z if tool position radial
1 = MINUS [X/Z]; X if tool position axial, Z if tool position radial
18
_AMODE
Alternative mode
Values:
UNITS: Reserved
TENS: Reserved
HUNDREDS: Reserved
THOUSANDS: approach starting position after measurement for calibration and
single measurement (see S_MVAR - UNITS)
0 = Tool is located, offset by DFA with respect to the probe edge
1 = Approach starting position
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54762 _MEA_FUNCTION_MASK_TOOL
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1195
Work preparation
3.26 Programming cycles externally
3)
Measure turning or milling tool or drill. Measuring axis in parameter S_MA
Specification for turning tools via cutting edge position 1...8, for milling tools via HUNDREDS to THOUSANDS position in
parameter S_MVAR.
4)
Measurement and calibration are performed in the basic coordinate system (MCS for kinematic transformation switched off).
5)
Not for incremental measuring
6)
Only for multiple measurements S_MVAR=x2x02 or x3x02 (example, disk-type or groove milling tools)
7)
If the channel-specific SD42950 $SC_TOOL_LENGTH_TYPE = 2, then the tool length components are assigned just the same
as for turning tools
8)
Only for measurement with reversal S_MVAR=xx1x1
9)
Empirical value generation
Value range of the empirical value memory: 1 to 20 numbers (n) of the empirical value memory, see channel-specific
SD55623 $SCS_MEA_EMPIRIC_VALUE[n-1].
3.26.2.15
CYCLE971 measuring cycle parameters
PROC CYCLE971(INT S_MVAR,INT S_KNUM,INT S_PRNUM,INT S_MA,INT S_MD,REAL S_ID,REAL S_FA,REAL
S_TSA,REAL S_VMS,REAL S_TZL,REAL S_TDIF,INT S_NMSP,REAL S_F1,REAL S_S1,REAL S_F2,REAL
S_S2,REAL S_F3,REAL S_S3,INT S_EVNUM,INT S_MCBIT,INT _DMODE,INT _AMODE)
NC programming
1196
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Table 3-22
CYCLE971 call parameters 1)
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS:
0 = Calibrate tool probe
1 = Measure tool with stationary spindle (length or radius)
2 = Measure tool with rotating spindle (length or radius), see parameters S_F1
to S_S4
TENS: Measurement in the machine coordinate system or workpiece coordinate
system
0 = Measurement in MCS (machine-related), measure tool or calibrate tool probe
1 = Measurement in WCS (workpiece-related), measure tool or calibrate tool probe
HUNDREDS: Individually check teeth
0 = No
1 = Yes
THOUSANDS:
0 = 0
TEN THOUSANDS: Incremental calibration or measurement
0 = No specification
1 = Incremental calibration or measurement
HUNDRED THOUSANDS: Calibrate tool probe automatically
0 = Do not calibrate tool probe automatically
1 = Calibrate tool probe automatically
ONE MILLION: Calibrating in the plane with spindle reversal
0 = Calibrating in the plane without spindle reversal
1 = Calibrating in the plane with spindle reversal
2
Selection
S_KNUM
Offset variant 2)
Values:
UNITS: Tool offset
0 = No specification (tool offset in geometry)
1 = Tool offset in wear
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
4
X0
S_MA
Measuring axis, offset axis 4)
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:
0 = 0
HUNDREDS: Number of the offset axis
0 = Not an offset axis
1 = 1. axis of the plane (for G17 X)
2 = 2nd axis of the plane (for G17 Y)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1197
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
5
+-
S_MD
Measuring direction
Values:
0 = No selection (measuring direction is determined from actual value)
1 = Positive
2 = Negative
6
V
S_ID
Offset
Values:
0 = For tools without offset
>0 =
• Calibration: The offset is applied to the 3rd axis of the plane (for G17 Z) if the
diameter of the calibration tool is greater than the upper diameter of the probe.
The tool is offset by the tool radius from the center of the probe, minus the value
of S_ID. The offset axis is also specified in S_MA .
• Measure: With multiple cutting edges, the offset of tool length and the highest
point of the cutting edge must be specified for radius measurement or the off-
set of tool radius to the highest point of the cutting edge must be specified when
measuring the length.
7
DFA
S_FA
Measurement path
8
TSA
S_TSA
Safe area
9
VMS
S_VMS
Variable measuring velocity for calibration 2)
10
TZL
S_TZL
Work offset (only for tool measurement)
11
DIF
S_TDIF
Dimensional difference check for tool measurement (S_MVAR=xx1 or S_MVAR=xx2)
12
Measure-
S_NMSP
Number of measurements at the same location 2)
ments
13
F1
S_F1
1st feedrate for contact with rotating spindle 2)
14
S1
S_S1
1st speed for contact with rotating spindle 2)
15
F2
S_F2
2nd feedrate for contact with rotating spindle 2)
16
S2
S_S2
2nd speed for contact with rotating spindle 2)
17
F3
S_F3
2nd feedrate for contact with rotating spindle 3)
18
S3
S_S3
2nd speed for contact with rotating spindle 3)
19
EVN
S_EVNUM
Number of the empirical value memory 2)
20
S_MCBIT
Screen form of the _CBITs or _CHBITs
21
_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)
NC programming
1198
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
22
_AMODE
Alternative mode
Values:
UNITS: Measuring the tool offset for radius
1 = No
2 = Yes
TENS: Direction of the tool offset when measuring the radius in the 3rd axis of the
plane (for G17 Z)
1 = Positive
2 = Negative
HUNDREDS: Tool offset when measuring the length or when calibrating the probe
in the 3rd axis
0 = Compatibility, auto
1 = No
2 = Yes
THOUSANDS: Direction of the tool offset when measuring the length in the offset
axis (see S_MA HUNDREDS)
1 = Positive
2 = Negative
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54762 MEA_FUNCTION_MASK_TOOL
3)
Only for offset in tool and dimensional tolerance "Yes", otherwise parameter = 0
4)
For automatic measurement (S_MVAR=1x00xx), no display of measuring axis, offset axis ⇒ S_MA=0.
3.26.2.16
CYCLE150 measuring cycle parameters
PROC CYCLE150(INT S_PICT,INT S_PROT,STRING[160] S_PATH) SAVE
ACTBLOCNO DISPLOF
Table 3-23
CYCLE150 call parameters
No.
Screen pa-
Cycle pa-
Meaning
rameters
rameters
1
Measuring
S_PICT
Select result display (default = 0)
result
screen
Values:
UNITS:
0 = Measuring result screen OFF
1 = Measuring result screen ON
Tens: Select display mode (values as for SD55613)
1 = Display measuring result screen - automatically deselect after 8 s
3 = Display measuring result screen - acknowledge using NC Start
4 = Display measuring result screen - only for alarms (61303 ... 61306)
2
S_PROT
Select logging (default = 0)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1199
Work preparation
3.26 Programming cycles externally
No.
Screen pa-
Cycle pa-
Meaning
rameters
rameters
Log
Values:
UNITS: Select protocol off / on / last measurement
0 = Log OFF
1 = Log ON
2 = Log last measurement
Log type
TENS: Select log type
0 = Standard log
1 = User log (can be freely defined)
Log format
HUNDREDS: Select log format
0 = Text format
1 = Table format (for import to Excel)
Log data
THOUSANDS: Rewrite or attach selection
0 = New
1 = Attach
Log
TEN THOUSANDS: Select log archive
archive
0 = As part program
1 = Directory
3
S_PATH
Path for the log file corresponding to the log archive selection
(complete path name or only file name, e.g.:
"//NC:/WKS.DIR/NAME.WPD or "MESSPROTOKOLL.TXT"
3.26.3
Measuring cycles
Measuring cycles are special subprograms provided by Siemens to solve certain measuring
tasks. As with cycles in general, measuring cycles can also be adapted to specific problems via
parameter settings.
Measuring cycles are available in the following areas and technologies:
• Tool measurements, turning/milling
• Workpiece measurements, turning/milling
Further information
Measuring Cycles Programming Manual
3.26.3.1
Overview of measuring cycle parameters
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)
NC programming
1200
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Table 3-24
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)
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
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1201
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
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
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.
NC programming
1202
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
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-25
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
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
1203
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
1204
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]
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
1205
Work preparation
3.26 Programming cycles externally
Table 3-26
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
1206
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
1207
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
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
1208
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Table 3-27
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
1209
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).
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
1210
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Table 3-28
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
1211
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
1212
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.
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
1213
Work preparation
3.26 Programming cycles externally
Table 3-29
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
1214
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
1215
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).
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-30
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
1216
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
1217
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
1218
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
1219
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]
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-31
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
1220
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
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 5)
1 = Coarse correction
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(value range 1 to 40)
4
L1/X1
S_SETV0
Distance L1 between the pole and measuring point P1 in the direction of the 1st axis of the
plane (for G17 X) 3)
(if the actual distance L1=0, then L1 = M_SETV1 / 2 is automatically calculated) or
starting point P1x of the 1st axis of the plane (for G17 X) 4)
5
L2/Y1
S_SETV1
Distance L2 between the pole and measuring point P2 in the direction of the 1st axis of the
plane 3)
or starting point P1y of the 2nd axis of the plane (for G17 Y) 4)
6
L3/X2
S_SETV2
Distance L3 between the pole and measuring point P3 in the direction of the 2nd axis of the
plane 3)
(if the distance L3=0, then for a corner that is not right angled, L3 = M_SETV3 / 2 is auto-
matically calculated)
or starting point P2x of the 1st axis of the plane 4)
7
L4/Y2
S_SETV3
Distance L4 between the pole and measuring point P3 in the direction of the 2nd axis of the
plane with a corner that is not right angled 3)
or starting point P2y of the 2nd axis of the plane 4)
8
XP/X3
S_SETV4
Position of the pole in the 1st axis of the plane 3)
or starting point P3x of the 1st axis of the plane 4)
9
XP/Y3
S_SETV5
Position of the pole in the 2nd axis of the plane 3)
or starting point P3y of the 2nd axis of the plane 4)
10
X4
S_SETV6
Starting point P4x of the 1st axis of the plane 4)
11
Y4
S_SETV7
Starting point P4y of the 2nd axis of the plane 4)
12
X0
S_SETV8
Setpoint of the measured corner in the 1st axis of the plane for correcting in WO
13
Y0
S_SETV9
Setpoint of the measured corner in the 2nd axis of the plane for correcting in WO
14
α0
S_STA1
Starting angle from the positive direction of the 1st axis of the plane to the reference edge of
the workpiece in the MCS (+-270 degrees)
15
α1
S_INCA
Angle between workpiece reference edges when measuring a non-right-angled corner 7)
16
DZ
S_ID
Infeed amount at the measuring height for each measuring point for active protection zone
(see S_MVAR).
17
DFA
S_FA
Measurement path
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1221
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
18
TSA
S_TSA
Safe area
Monitoring the angular difference to the angle setpoint [degrees]
19
Measure-
S_NMSP
Number of measurements at the same location 2) (value range 1 to 9) 2)
ments
20
S_MCBIT
Reserved
21
_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)
22
_AMODE
Alternative mode
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)
Input of the measuring points in polar coordinates, taking into account the starting angle S_STA1 for measuring point 3 or
4 of the incremental angle S_INCA.
4)
Input of the measuring points in the right-angled coordinate system (input using 4 points)
5)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse".
6)
Value range of angle S_INCA: -180 to +180 degrees
7)
Starting angle S_STA1, value range: right-angled corner: +- 90 degrees, any corner:
+- 45 degrees
CYCLE979 measuring cycle parameters
PROC CYCLE979(INT S_MVAR,INT S_KNUM,INT S_KNUM1,INT S_PRNUM,REAL S_SETV,REAL S_FA,REAL
S_TSA,REAL S_CPA,REAL S_CPO,REAL S_STA1,REAL S_INCA,INT S_NMSP,STRING[32] S_TNAME,REAL
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)
NC programming
1222
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Table 3-32
CYCLE979 call parameters 0)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS: Contour element
1 = Measure hole
2 = Measure spigot (shaft)
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: Number of measurement points
0 = 3 measuring points
1 = 4 measuring points
TEN THOUSANDS: Measurement with/without spindle reversal (differential meas-
urement) or align probe in the switching direction
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
1223
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 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
DFA
S_FA
Measurement path
7
TSA
S_TSA
Safe area
8
X0
S_CPA
Center point of the 1st axis of the plane (for G17 X)
9
Y0
S_CPO
Center point of the 2nd axis of the plane (for G17 Y)
10
XM
S_XM
Setpoint center point input geometry axis X
11
YM
S_YM
Setpoint center point input geometry axis Y
12
alpha 0
S_STA1
Starting angle 7)
13
alpha 1
S_INCA
Incremental angle 8)
14
Measure-
S_NMSP
Number of measurements at the same location 1) (value range 1 to 9)
ments
15
ST
_DP
Number of the replacement tool (duplo number) to be corrected
NC programming
1224
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
16
T
S_TNAME
Tool name 2)
17
DL
S_DLNUM
Setup additive offset DL number 1), 4)
18
TZL
S_TZL
Work offset 1), 2)
19
DIF
S_TDIF
Dimensional difference check 1), 2)
20
TUL
S_TUL
Upper tolerance limit (incremental to the setpoint) 2)
21
TLL
S_TLL
Lower tolerance limit (incremental to the setpoint) 2)
22
TMV
S_TMV
Offset range for averaging 1)
23
FW
S_K
Weighting factor for averaging 1)
24
S_EVNUM
Date set, empirical value memory 1), 6)
25
S_MCBIT
Reserved
26
_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)
27
_AMODE
Alternative mode
Values:
UNITS: Dimensional tolerance yes/no
0 = No
1 = Yes
0)
All default values = 0 or marked as the range of values a to b.
1)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
2)
Only for offset in tool, otherwise parameter = ""
3)
Only for offset in tool and dimensional tolerance "Yes", otherwise parameter = 0
4)
Only if the "Setup additive offset" function has been set-up in the general MD 18108 $MN_MM_NUM_SUMCORR .
5)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse"
6)
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]
7)
Value range of starting angle -360 to +360 degrees
8)
Value range of incremental angle >0 to ≤90 degrees for four measuring points or >0 to ≤120 degrees for three measuring
points.
CYCLE997 measuring cycle parameters
PROC CYCLE997 (INT S_MVAR,INT S_KNUM,INT S_PRNUM,REAL S_SETV,REAL S_FA,REAL S_TSA,REAL
S_STA1,REAL S_INCA,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_TNVL,INT S_NMSP,INT S_MCBIT,INT
_DMODE,INT _AMODE)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1225
Work preparation
3.26 Programming cycles externally
Table 3-33
CYCLE997 call parameters 1), 2)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant (default =9)
Values:
UNITS: Contour element
9 = Measure ball
TENS: Repeat measurement
0 = Without measurement repetition
1 = With measurement repetition
HUNDREDS: Correction target
0 = Only measurement (no correction of WO)
1 = Measurement and determination and correction of the WO (see S_KNUM)
THOUSANDS: Measuring strategy
0 = Paraxial measurement, without starting angle, probe alignment corresponding
to SD55740, bit 1
1 = Circling measurement, with starting angle, probe alignment corresponding to
SD55740, Bit 1
2 = Circling measurement, with starting angle, align probe in the switching direction
3 = Paraxial measurement, with starting angle, probe alignment corresponding to
SD55740, bit 1
4 = Paraxial measurement, with starting angle, align probe in the switching direc-
tion
TEN THOUSANDS: Number of balls to be measured
0 = Measure one ball
1 = Measure three balls
HUNDRED THOUSANDS: Number of measuring points, only for measurement at an
angle (note measuring strategy: THOUSANDS position > 0)
0 = Three measuring points for measurement at an angle (traversing around the
ball)
1 = Four measuring points for measurement at an angle (traversing around the ball)
ONE MILLION: Determination of the diameter setpoint of the ball
0 = No determination of the diameter setpoint of the ball
1 = Determination of the diameter setpoint of the ball
NC programming
1226
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 or basic reference 3)
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 in adjustable WO
1 = Correction in channel-specific basic WO
2 = Correction in basic reference
3 = Correction in global basic WO 7)
9 = Correction in active WO or for G500 in last active channel-specific basic WO
TEN THOUSANDS: Correction in WO or basic WO or basic reference coarse or fine
0 = Fine correction 6)
1 = Coarse correction
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(value range 1 to 40)
4
S_SETV
Diameter of the ball(s) 4)
5
DFA
S_FA
Measurement path
6
TSA
S_TSA
Safe area
7
alpha 0
S_STA1
Starting angle for measurement at an angle
8
alpha 1
S_INCA
Incremental angle for measurement at an angle
9
X1
S_SETV0
Set position of the 1st ball of the 1st axis of the plane (for G17 X) for measuring 3 balls
10
Y1
S_SETV1
Set position of the 1st ball of the 2nd axis of the plane (for G17 Y) for measuring 3 balls
11
Z1
S_SETV2
Set position of the 1st ball of the 3rd axis of the plane (for G17 Z) for measuring 3 balls
12
X2
S_SETV3
Set position of the 2nd ball of the 1st axis of the plane for measuring 3 balls
13
Y2
S_SETV4
Set position of the 2nd ball of the 2nd axis of the plane for measuring 3 balls
14
Z2
S_SETV5
Set position of the 2nd ball of the 3rd axis of the plane for measuring 3 balls
15
X3
S_SETV6
Set position of the 3rd ball of the 1st axis of the plane for measuring 3 balls
16
Y3
S_SETV7
Set position of the 3rd ball of the 2nd axis of the plane for measuring 3 balls
17
Z3
S_SETV8
Set position of the 3rd ball of the 3rd axis of the plane for measuring 3 balls
18
TVL
S_TNVL
Limit value for distortion of the triangle (sum of the deviations) for measuring 3 balls 5)
19
Measure-
S_NMSP
Number of measurements at the same location 2) (value range 1 to 9)
ments
20
S_MCBIT
Reserved
21
_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)
22
_AMODE
Alternative mode
1)
All default values = 0 or marked as the range of values a to b
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1227
Work preparation
3.26 Programming cycles externally
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
3)
Intermediate positioning, circling around the ball at the equator
4)
Measure 3 balls: The same diameter setpoint applies for all three balls (_SETV)
5)
Default value for S_TNVL=1.2
Correction in WO: Correction is only performed in the WO when the determined distortion is below the S_TNVL limit value.
6)
If WO "fine" has not been set up in MDs, correction is according to WO "coarse"
7)
For measuring variant "Measure three balls", correction in a global basic frame is not possible (S_KNUM = 3001 to 3016), as
the frame does not have a rotation component.
CYCLE995 measuring cycle parameters
PROC CYCLE995 (INT S_MVAR,INT S_KNUM,INT S_PRNUM,REAL S_SETV,REAL S_FA,REAL S_TSA,REAL
S_STA1,REAL S_INCA,REAL S_DZ,REAL S_SETV0,REAL S_SETV1,REAL S_SETV2,REAL S_TUL,REAL
S_TZL,INT S_NMSP,INT S_MCBIT,INT _DMODE,INT _AMODE)
Table 3-34
CYCLE995 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameters
rameters
1
S_MVAR
Measuring variant (default=5)
Values:
UNITS: Contour element
5 = Spindle geometry (parallel to the tool axis)
TENS: Repeat measurement
1 = with repeat measurement
HUNDREDS: No offset target
0 = measurement only
THOUSANDS: Measuring strategy
2 = measurement at an angle, align probe in direction of switching
TEN THOUSANDS: Number of spheres to be measured
0 = measure a sphere
HUNDRED THOUSANDS: Number of measurement points
1 = 4 measurement points when measuring at an angle (circle the sphere)
ONE MILLION: Determination of the diameter setpoint of the sphere
0 = No determination of the diameter setpoint of the sphere
1 = Determination of the diameter setpoint of the sphere
2
Selection
S_KNUM
Correction target
0 = 0
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(value range 1 to 40)
4
DM
S_SETV
Diameter of the calibration sphere 4)
5
DFA
S_FA
Measurement path
6
TSA
S_TSA
Safe area 5)
7
alpha 0
S_STA1
Starting angle for measurement at an angle 3)
NC programming
1228
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameters
rameters
8
S_INCA
Incremental angle for measurement at an angle 2)
9
DZ
S_DZ
Clearance 1st measurement P1 to the 2nd measurement P2 at the shaft of the probe
10
S_SETV0
Setpoint position of the sphere of the 1st axis of the plane (for G17 X) 2)
11
S_SETV1
Setpoint position of the sphere of the 2nd axis of the plane (for G17 Y) 2)
12
S_SETV2
Setpoint position of the sphere of the 3rd axis of the plane (for G17 Z) 2)
13
TUL
S_TUL
Upper tolerance value of the angular deviation
14
TZL
S_TZL
Zero offset range 1), 4)
15
Number
S_NMSP
Number of measurements at the same location 2) (value range 1 to 9)
16
S_MCBIT
Reserved2)
17
_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)
18
_AMODE
Alternative mode
Values:
UNITS: Dimensional tolerance yes/no
0 = No
1 = Yes
All default values = 0 or marked as the range of values a to b
1)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE
2)
Parameters are currently not used and also not displayed in the input screen.
The parameter incremental angle S_INCAis permanently set to 90 degrees.
3)
Value range of starting angle -360 to +360 degrees
4)
for dimensional tolerance yes:
If the measured angle is less than the value of the work offset range TZL, then the result parameters for the angle (_OVR[2],
_OVR[3]) and deviations (_OVR[7], _OVR[8]) are set to zero.
DisplayTZL is realized using the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE bit25=1.
(enable selected zero offset when measuring angularity, spindle)
5)
Parameter TSA refers to the 1st measurement of the calibration sphere.
CYCLE996 measuring cycle parameters
PROC CYCLE996(INT S_MVAR,INT S_TC,INT S_PRNUM,REAL S_SETV,REAL S_STA1,REAL S_SETV0,REAL
S_SETV1,REAL S_SETV2,REAL S_SETV3,REAL S_SETV4,REAL S_SETV5,REAL S_TNVL,REAL S_FA,REAL
S_TSA,INT S_NMSP,INT S_MCBIT,INT _DMODE,INT _AMODE)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1229
Work preparation
3.26 Programming cycles externally
Table 3-35
CYCLE996 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measurement version (default=1)
Values:
UNITS: Measuring sequence
0 = Calculate kinematics (selection with: Result display, protocol, change of the
swivel data sets, where relevant with operator acknowledgment), see _AMODE
1 = 1st measurement
2 = 2nd measurement
3 = 3rd measurement
TENS: Reserved
0 = 0
HUNDREDS: Measurement version for 1st to 3rd measurement
0 = Measurement of the calibration ball paraxial
1 = Measurement of the calibration ball at an angle and no spindle correction 3)
2 = Measurement of the calibration ball and correction of the spindle in the switch-
ing direction of the probe 3)
3 = Paraxial measurement, with starting angle 8)
4 = Paraxial measurement, with starting angle, tracking spindle in the switching
direction of the probe 8)
THOUSANDS: Calculate correction target for kinematics 4)
0 = Measuring only. Swivel data sets are calculated, but remain unchanged
1 = calculate swivel data set. Swivel data sets are, if necessary, changed after ac-
knowledgment by the operator 4)
TEN THOUSANDS: Measuring axis (rotary axis 1 or 2) or vector chain open or closed
for calculate kinematics
0 = Vector chain closed (only for calculate kinematics)
1 = Rotary axis 1 (only for 1st to 3rd measurement)
2 = Rotary axis 2 (only for the 1st to 3rd measurement) 5)
3 = Vector chain open (only for calculate kinematics)
HUNDRED THOUSANDS: Normalizing of rotary axis 1 for calculate kinematics
0 = No scaling rotary axis 1
1 = Scaling in the direction of the 1st axis of the plane (for G17 X)
2 = Scaling in the direction of the 2nd axis of the plane (for G17 Y)
3 = Scaling in the direction of the 3rd axis of the plane (for G17 Z)
ONE MILLION: Normalizing of rotary axis 2 for calculate kinematics 5)
0 = No scaling rotary axis 2
1 = Scaling in the direction of the 1st axis of the plane (for G17 X)
2 = Scaling in the direction of the 2nd axis of the plane (for G17 Y)
3 = Scaling in the direction of the 3rd axis of the plane (for G17 Z)
TEN MILLION: Log file
0 = No protocol file
1 = Protocol file with the calculated vectors (tool carrier) and the 1st dynamic 5-axis
transformation (TRAORI(1)), if set-up in MDs.
2
S_TC
Number of the swivel data record (tool carrier)
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
NC programming
1230
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
4
S_SETV
Diameter of the calibration ball
5
alpha 0
S_STA1
Starting angle for measurement at an angle
6
alpha 0
S_SETV0
Position value of rotary axis 1 (if rotary axis is manual or semi-automatic)
7
alpha 1
S_SETV1
Position value of rotary axis 2 (if rotary axis is manual or semi-automatic) 6)
8
XN
S_SETV2
Position value for normalizing rotary axis 1
9
XN
S_SETV3
Position value for normalizing of rotary axis 2 6)
10
Delta
S_SETV4
Tolerance value of the offset vectors I1 to I4
11
Delta
S_SETV5
Tolerance value of rotary axis vectors V1 and V2
12
TVL
S_TNVL
Limit value of angular segment of the rotary axis (value range 1 to 60 degrees)
(default=20) 7)
13
DFA
S_FA
Measurement path
14
TSA
S_TSA
Safe area
15
Measure-
S_NMSP
Number of measurements at the same location 2) (default=1)
ments
16
S_MCBIT
Reserved
17
_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)
18
_AMODE
Alternative mode
Values:
UNITS: Tolerance check yes/no
0 = No
1 = Yes: Evaluation of the tolerance values of the vectors S_SETV4, S_SETV5
TENS: Acknowledgment by the operator when entering the calculated vectors in the
swivel data set 4)
0 = yes: Operator must acknowledge the change
1 = no: calculated vectors are entered immediately (only effective if HUNDREDS and
THOUSANDS position = 0)
HUNDREDS: Measurement result display 5)
0 = No
1 = Yes
THOUSANDS: Measurement result display can be edited
0 = No
1 = Yes, and can be edited (only effective, if the HUNDREDS position = 1)
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE.
3)
Using this version, for example, for 90 degree positions, the kinematics can be measured at the calibration ball, without
colliding with the retaining shaft of the calibration ball. A starting angle S_STA1 (0 to 360 degrees) can be entered. The
incremental angle when circling the ball is equal to 90 degrees.
As feedrate along the circular path, the channel-specific SD55634 $SCS_MEA_FEED_PLANE_VALUE is used
4)
There is an operator prompt with M0 before entering. The vectors are only entered with NC start.
If the measuring program is aborted with RESET no calculated vectors are entered.
Vectors are only entered when the tolerance of the offset vectors has not been exceeded during the calculation.
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1231
Work preparation
3.26 Programming cycles externally
5)
Measurement result display only for the calculated kinematics measuring version.
If the measurement result should also be displayed after the 1st to the 3rd measurement, then this is realized by setting the
channel-specific SD55613 $SCS_MEA_RESULT_DISPLAY.
6)
Rotary axis 2 only for kinematics with two rotary axes
7)
Limit value angular segment of the rotary axis. Value range of S_TNVL between 20 and 60 degrees. For values of S_TNVL
< 20 degrees, inaccuracies can be expected as a result of the measuring inaccuracies in the micrometer range of the probe.
If the limit value is violated, then error message 61430 is output - with a display of the minimum limit value.
8)
Spindle is tracked in the probe switching direction if SD54760 bit 17 = 1
CYCLE9960 measuring cycle parameters
PROC CYCLE9960(INT S_MVAR,STRING[40] S_TNAME,INT S_PRNUM,REAL S_SETV,REAL S_SETV1,REAL
S_START_RA1,REAL S_END_RA1,INT S_CMEA_RA1,REAL S_POS_RA2,REAL S_SETV2,REAL
S_START_RA2,REAL S_END_RA2,INT S_CMEA_RA2,REAL S_POS_RA1,REAL S_SETV4,REAL S_FA,REAL
S_TSA,INT S_NMSP,INT S_DMODE,INT S_AMODE,INT S_KNUM)
Table 3-36
CYCLE9960 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameters
rameters
1
Selection
S_MVAR
Measurement version (default=1)
Values:
UNITS: Measuring variant
0 = measure and calculate kinematics (select with: Result display, protocol,
change of swivel data set (see thousands S_MVAR)
1 = measure reference head
2 = adapt head to reference head
3 = measure and calculate interpolation points (E996)
TENS: Reserved
HUNDREDS: Ball measuring variant
2 = measurement of the calibration ball and tracking of the spindle in the switch-
ing direction of the probe
4 = paraxial measurement, with starting angle, tracking spindle in the switching
direction of the probe 2)
THOUSANDS: Calculate correction target for kinematics 3)
0 = measure and calculate. Data sets are calculated and remain unchanged
1 = calculated data sets may be changed after operator acknowledgment
2 = previously measured kinematics are calculated and, if applicable, changed
after operator acknowledgment
TENTHOUSANDS: Measuring axis (rotary axis 1 or 2)
1 = measure and calculate all existing rotary axes
4 = measure and calculate only rotary axis 1
5 = measure and calculate only rotary axis 2
2
S_TNAME
Name of the transformation (swivel data set or transformation based on kinematic chains)
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
4
S_SETV
Diameter of the calibration ball
NC programming
1232
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameters
rameters
5
Alpha 1
S_SETV1
Starting angle for measuring at an angle for the 1st rotary axis
6
S_START_RA1: Starting angle of the 1st rotary axis
7
S_END_RA1: Final angle of 1st rotary axis
8
S_CMEA_RA1: Number of measurements of the 1st rotary axis, 3 for measuring and calcu-
lating kinematics. Up to 12 measurements are possible for interpolation points.
9
S_POS_RA2: Position of the 2nd rotary axis while measuring the 1st rotary axis 4)
10
Alpha 2
S_SETV2
Starting angle for measuring at an angle for the 2nd rotary axis 4)
11
S_START_RA2: Starting angle of the 2nd rotary axis 4)
12
S_END_RA2: Final angle of 2nd rotary axis 4)
13
S_CMEA_RA2: Number of measurements of the 2nd rotary axis, 3 for measuring and calcu-
lating kinematics. Up to 12 measurements are possible for interpolation points.4)
14
S_POS_RA1: Position of the 1st rotary axis while measuring the 2nd rotary axis
15
Delta
S_SETV4
Tolerance value of offset vectors
16
DFA
S_FA
Measurement path
17
TSA
S_TSA
Safe area
18
Number
S_NMSP
Number of measurements at the same location 5)
(default=1)
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
Alternative mode
Values:
ONES: Tolerance check yes/no
0 = no
1 = yes: Evaluation of the tolerance values of the vectors -> S_SETV4, S_SETV5
TENS: Automatic calibration
0 = without automatic calibration
1 = automatic calibration
HUNDREDS: Automatic starting angle
0 = set starting angle is used
1 = automatic calculation of the starting angle, for each measuring point
21
S_KNUM
Number of the WO to be corrected for reference head measurement
Values
UNITS: The correction is always applied to the coarse offset, the fine offset is
deleted
TENS: 1 ... 99 number of the adjustable WO (1=G54)
THOUSANDS: 9 correction active, adjustable WO
1)
All default values = 0 or marked as default = xx
2)
Spindle is tracked in the switching direction of the probe if SD54760 bit 17 = 1
3)
There is an operator prompt with M0 before entering. The vectors cannot be entered until the NC has been started. If the
measuring program is interrupted with RESET, no calculated vectors are entered. Vectors are entered only if the tolerance of
the offset vectors is not exceeded in the calculation.
4)
Rotary axis 2 only for kinematics with 2 rotary axes
5)
Display depends on the general SD54760 $SNS_MEA_FUNCTION_MASK_PIECE.
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1233
Work preparation
3.26 Programming cycles externally
CYCLE982 measuring cycle parameters
PROC CYCLE982(INT S_MVAR,INT S_KNUM,INT S_PRNUM,INT S_MA,INT S_MD,REAL S_ID,REAL S_FA,REAL
S_TSA,REAL S_VMS,REAL S_STA1,REAL S_CORA,REAL S_TZL,REAL S_TDIF,INT S_NMSP,INT S_EVNUM,INT
S_MCBIT,INT _DMODE,INT _AMODE)
Table 3-37
CYCLE982 call parameters 1)
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS: Calibration/measurement
0 = Calibrate tool probe
1 = Single tool measurement 3)
2 = Multiple tool measurement, determine lengths and tool radius (for milling tools)
TENS: Calibration or measurement in the MCS or WCS
0 = Machine-related 4)
1 = Workpiece-related
HUNDREDS: Measurement with or without reversal for milling tools
0 = Measurement without reversal
1 = Measurement with reversal
THOUSANDS: Correction target for milling tools
0 = Determine length or length and radius (see S_MVAR 1st position)
1 = Determine radius if S_MVAR 1st position = 1
2 = Determine length and radius (face side) if S_MVAR 1st position = 1 or 2
3 = Determine side milling cutter upper cutting edge (rear side) and length and
radius 5)
TEN THOUSANDS: Position of the milling tool or the drill
0 = Axial position of the milling tool or drill, radius in 2nd axis of the plane (for G18
X) 7)
1 = Radial position of the milling tool or the drill, radius in 1st axis of the plane (for
G18 Z) 7)
HUNDRED THOUSANDS: Incremental calibration or measurement
0 = No specification
1 = Incremental calibration or measurement
ONE MILLION: Position spindle at starting angle S_STA1 (only for measurement of
milling tools)
0 = Spindle is not positioned
1 = Spindle is positioned at the starting angle S_STA1
2
Selection
S_KNUM
Offset variant 2)
Values:
UNITS: Tool offset
0 = No specification (tool offset in geometry)
1 = Tool offset in wear
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
(default=1)
NC programming
1234
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
4
X0
S_MA
Measuring axis
Values:
1 = 1st axis of the plane (for G18 Z)
2 = 2nd axis of the plane (for G18 X)
5
+-
S_MD
Measuring direction
Values:
0 = No selection (measuring direction is determined from actual value)
1 = Positive
2 = Negative
6
Z2
S_ID
Offset
7
DFA
S_FA
Measurement path
8
TSA
S_TSA
Safe area
9
VMS
S_VMS
Variable measuring velocity for calibration 2)
10
alpha1
S_STA1
Starting angle when measuring milling tools
11
alpha2
S_CORA
Offset angle when measuring milling tools with reversal 8)
12
TZL
S_TZL
Work offset when measuring milling tools. When calibrating S_TZL = 0
13
DIF
S_TDIF
Dimensional difference check
14
Measure-
S_NMSP
Number of measurements at the same location 2) (default=1)
ments
15
EVN
S_EVNUM
Number of the empirical mean value memory 2), 9)
16
S_MCBIT
Reserved
17
_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)
TENS: Cutting edge position for turning and milling tools
(only for display in the input screens 1 to 9)
HUNDREDS: Tool type
0 = Turning tool
1 = Milling tool
2 = Drill
THOUSANDS: The approach strategy with reference to the tool probe
0 = PLUS [X/Z]; X if tool position axial, Z if tool position radial
1 = MINUS [X/Z]; X if tool position axial, Z if tool position radial
18
_AMODE
Alternative mode
Values:
UNITS: Reserved
TENS: Reserved
HUNDREDS: Reserved
THOUSANDS: approach starting position after measurement for calibration and
single measurement (see S_MVAR - UNITS)
0 = Tool is located, offset by DFA with respect to the probe edge
1 = Approach starting position
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54762 _MEA_FUNCTION_MASK_TOOL
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1235
Work preparation
3.26 Programming cycles externally
3)
Measure turning or milling tool or drill. Measuring axis in parameter S_MA
Specification for turning tools via cutting edge position 1...8, for milling tools via HUNDREDS to THOUSANDS position in
parameter S_MVAR.
4)
Measurement and calibration are performed in the basic coordinate system (MCS for kinematic transformation switched off).
5)
Not for incremental measuring
6)
Only for multiple measurements S_MVAR=x2x02 or x3x02 (example, disk-type or groove milling tools)
7)
If the channel-specific SD42950 $SC_TOOL_LENGTH_TYPE = 2, then the tool length components are assigned just the same
as for turning tools
8)
Only for measurement with reversal S_MVAR=xx1x1
9)
Empirical value generation
Value range of the empirical value memory: 1 to 20 numbers (n) of the empirical value memory, see channel-specific
SD55623 $SCS_MEA_EMPIRIC_VALUE[n-1].
CYCLE971 measuring cycle parameters
PROC CYCLE971(INT S_MVAR,INT S_KNUM,INT S_PRNUM,INT S_MA,INT S_MD,REAL S_ID,REAL S_FA,REAL
S_TSA,REAL S_VMS,REAL S_TZL,REAL S_TDIF,INT S_NMSP,REAL S_F1,REAL S_S1,REAL S_F2,REAL
S_S2,REAL S_F3,REAL S_S3,INT S_EVNUM,INT S_MCBIT,INT _DMODE,INT _AMODE)
NC programming
1236
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
Table 3-38
CYCLE971 call parameters 1)
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
1
S_MVAR
Measuring variant
Values:
UNITS:
0 = Calibrate tool probe
1 = Measure tool with stationary spindle (length or radius)
2 = Measure tool with rotating spindle (length or radius), see parameters S_F1
to S_S4
TENS: Measurement in the machine coordinate system or workpiece coordinate
system
0 = Measurement in MCS (machine-related), measure tool or calibrate tool probe
1 = Measurement in WCS (workpiece-related), measure tool or calibrate tool probe
HUNDREDS: Individually check teeth
0 = No
1 = Yes
THOUSANDS:
0 = 0
TEN THOUSANDS: Incremental calibration or measurement
0 = No specification
1 = Incremental calibration or measurement
HUNDRED THOUSANDS: Calibrate tool probe automatically
0 = Do not calibrate tool probe automatically
1 = Calibrate tool probe automatically
ONE MILLION: Calibrating in the plane with spindle reversal
0 = Calibrating in the plane without spindle reversal
1 = Calibrating in the plane with spindle reversal
2
Selection
S_KNUM
Offset variant 2)
Values:
UNITS: Tool offset
0 = No specification (tool offset in geometry)
1 = Tool offset in wear
3
Icon+
S_PRNUM
Number of the field of the probe parameters (not probe number)
number
4
X0
S_MA
Measuring axis, offset axis 4)
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:
0 = 0
HUNDREDS: Number of the offset axis
0 = Not an offset axis
1 = 1. axis of the plane (for G17 X)
2 = 2nd axis of the plane (for G17 Y)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1237
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
5
+-
S_MD
Measuring direction
Values:
0 = No selection (measuring direction is determined from actual value)
1 = Positive
2 = Negative
6
V
S_ID
Offset
Values:
0 = For tools without offset
>0 =
• Calibration: The offset is applied to the 3rd axis of the plane (for G17 Z) if the
diameter of the calibration tool is greater than the upper diameter of the probe.
The tool is offset by the tool radius from the center of the probe, minus the value
of S_ID. The offset axis is also specified in S_MA .
• Measure: With multiple cutting edges, the offset of tool length and the highest
point of the cutting edge must be specified for radius measurement or the off-
set of tool radius to the highest point of the cutting edge must be specified when
measuring the length.
7
DFA
S_FA
Measurement path
8
TSA
S_TSA
Safe area
9
VMS
S_VMS
Variable measuring velocity for calibration 2)
10
TZL
S_TZL
Work offset (only for tool measurement)
11
DIF
S_TDIF
Dimensional difference check for tool measurement (S_MVAR=xx1 or S_MVAR=xx2)
12
Measure-
S_NMSP
Number of measurements at the same location 2)
ments
13
F1
S_F1
1st feedrate for contact with rotating spindle 2)
14
S1
S_S1
1st speed for contact with rotating spindle 2)
15
F2
S_F2
2nd feedrate for contact with rotating spindle 2)
16
S2
S_S2
2nd speed for contact with rotating spindle 2)
17
F3
S_F3
2nd feedrate for contact with rotating spindle 3)
18
S3
S_S3
2nd speed for contact with rotating spindle 3)
19
EVN
S_EVNUM
Number of the empirical value memory 2)
20
S_MCBIT
Screen form of the _CBITs or _CHBITs
21
_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)
NC programming
1238
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Work preparation
3.26 Programming cycles externally
No.
Screen
Cycle pa-
Meaning
form pa-
rameter
rameter
22
_AMODE
Alternative mode
Values:
UNITS: Measuring the tool offset for radius
1 = No
2 = Yes
TENS: Direction of the tool offset when measuring the radius in the 3rd axis of the
plane (for G17 Z)
1 = Positive
2 = Negative
HUNDREDS: Tool offset when measuring the length or when calibrating the probe
in the 3rd axis
0 = Compatibility, auto
1 = No
2 = Yes
THOUSANDS: Direction of the tool offset when measuring the length in the offset
axis (see S_MA HUNDREDS)
1 = Positive
2 = Negative
1)
All default values = 0 or marked as default=x
2)
Display depends on the general SD54762 MEA_FUNCTION_MASK_TOOL
3)
Only for offset in tool and dimensional tolerance "Yes", otherwise parameter = 0
4)
For automatic measurement (S_MVAR=1x00xx), no display of measuring axis, offset axis ⇒ S_MA=0.
CYCLE150 measuring cycle parameters
PROC CYCLE150(INT S_PICT,INT S_PROT,STRING[160] S_PATH) SAVE
ACTBLOCNO DISPLOF
Table 3-39
CYCLE150 call parameters
No.
Screen pa-
Cycle pa-
Meaning
rameters
rameters
1
Measuring
S_PICT
Select result display (default = 0)
result
screen
Values:
UNITS:
0 = Measuring result screen OFF
1 = Measuring result screen ON
Tens: Select display mode (values as for SD55613)
1 = Display measuring result screen - automatically deselect after 8 s
3 = Display measuring result screen - acknowledge using NC Start
4 = Display measuring result screen - only for alarms (61303 ... 61306)
2
S_PROT
Select logging (default = 0)
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1239
Work preparation
3.26 Programming cycles externally
No.
Screen pa-
Cycle pa-
Meaning
rameters
rameters
Log
Values:
UNITS: Select protocol off / on / last measurement
0 = Log OFF
1 = Log ON
2 = Log last measurement
Log type
TENS: Select log type
0 = Standard log
1 = User log (can be freely defined)
Log format
HUNDREDS: Select log format
0 = Text format
1 = Table format (for import to Excel)
Log data
THOUSANDS: Rewrite or attach selection
0 = New
1 = Attach
Log
TEN THOUSANDS: Select log archive
archive
0 = As part program
1 = Directory
3
S_PATH
Path for the log file corresponding to the log archive selection
(complete path name or only file name, e.g.:
"//NC:/WKS.DIR/NAME.WPD or "MESSPROTOKOLL.TXT"
NC programming
1240
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Tables
4
4.1
Operations
Note
Cycles
The list of operations contains all cycles, which occur in the NC program (G code), i.e. can be
programmed in the program editor using masks - or must be programmed for loops without
programming support. Cycles, which for reasons of compatibility, are still available in the
control, however can no longer be edited using the SINUMERIK Operate program editor
("compatibility cycles") are not taken into account.
Operations A ... C
Operation
Type
Meaning
W 2)
TP 3)
SA 4)
Description see 5)
1)
1) 2) 3) 4) 5) for explanations, see legend (Page 1241).
:
O
NC main block number, jump label termina-
+
PM-NC
tion, concatenation operator
*
O
Operator for multiplication
+
PM-NC
+
O
Operator for addition
+
PM-NC
-
O
Operator for subtraction
+
PM-NC
<
O
Comparison operator, less than
+
PM-NC
<<
O
Concatenation operator for strings
+
PM-NC
<=
O
Comparison operator, less than or equal to
+
PM-NC
=
O
Assignment operator
+
PM-NC
>=
O
Comparison operator, greater than or equal to
+
PM-NC
/
O
Operator for division
+
PM-NC
/0
block is skipped (1st skip level)
+
PM-NC
…
…
block is skipped (8th skip level)
/7
A
A
Axis name
m/s
+
PM-NC
A2
A
Tool orientation: RPY or Euler angle
s
+
PM-NC
A3
A
Tool orientation: 1st component of the direc-
s
+
PM-NC
tion vector
A4
A
Tool orientation: 1st component of the surface
s
+
PM-NC
normal vector at start of block
A5
A
Tool orientation: 1st component of the surface
s
+
PM-NC
normal vector at end of block
A6
A
Tool orientation: 1st component of the direc-
s
+
PM-NC
tion vector for taper's axis of rotation
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1241
Tables
4.1 Operations
Operation
Type
Meaning
W 2)
TP 3)
SA 4)
Description see 5)
1)
1) 2) 3) 4) 5) for explanations, see legend (Page 1241).
A7
A
Tool orientation: 1st vector component for in-
s
+
PM-NC
termediate orientation on peripheral surface
of taper
ABS
F
Absolute value (amount)
+
+
PM-NC
AC
K
Absolute dimensions of coordinates/positions
s
+
PM-NC
ACC
K
Effect of current axial acceleration
m
+
+
PM-NC
ACCLIMA
K
Effect of current maximum axial acceleration
m
+
+
PM-NC
ACN
K
Absolute dimensions for rotary axes, approach
s
+
PM-NC
position in negative direction
ACOS
F
Arc cosine
+
+
PM-NC
(trigon. function)
ACP
K
Absolute dimensions for rotary axes, approach
s
+
PM-NC
position in positive direction
ACTBLOCNO
P
Output of current block number of an alarm
+
PM-NC
block, even if "current block display sup-
pressed" (DISPLOF) is active!
ADDFRAME
F
Inclusion and possible activation of a meas-
+
-
PM-NC, FM-B
ured frame
ADIS
A
Rounding clearance for path functions G1, G2,
m
+
PM-NC
G3, ...
ADISPOS
A
Rounding clearance for rapid traverse G0
m
+
PM-NC
ADISPOSA
P
Size of the tolerance window for IPOBRKA
m
+
+
PM-NC
ALF
A
Rapid lift angle
m
+
PM-NC
AMIRROR
G
Programmable mirroring
s
+
PM-NC
AND
K
Logical AND
+
PM-NC
ANG
A
Contour angle
s
+
PM-NC
AP
A
Polar angle
m/s
+
PM-NC
APR
K
Read/show access protection
+
PM-NC
APRB
K
Read access right, OPI
+
PM-NC
APRP
K
Read access right, part program
+
PM-NC
APW
K
Write access protection
+
PM-NC
APWB
K
Write access right, OPI
+
PM-NC
APWP
K
Write access right, part program
+
PM-NC
APX
K
Definition of the access right for executing the
+
PM-NC
specified language element
AR
A
Opening angle
m/s
+
PM-NC
AROT
G
Programmable rotation
s
+
PM-NC
AROTS
G
Programmable frame rotations with solid an-
s
+
PM-NC
gles
AS
K
Macro definition
+
PM-NC
ASCALE
G
Programmable scaling
s
+
PM-NC
ASIN
F
Arithmetic function, arc sine
+
+
PM-NC
ASPLINE
G
Akima spline
m
+
PM-NC
NC programming
1242
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Tables
4.1 Operations
Operation
Type
Meaning
W 2)
TP 3)
SA 4)
Description see 5)
1)
1) 2) 3) 4) 5) for explanations, see legend (Page 1241).
ATAN2
F
Arc tangent 2
+
+
PM-NC
ATOL
A
Axis-specific tolerance for compressor func-
m
+
PM-NC
tions, orientation smoothing and smoothing
types
ATRANS
G
Additive programmable work offset
s
+
PM-NC
AUXFUDEL
P
Delete auxiliary function channel-specifically
+
-
FM-B
from the global list
AUXFUDELG
P
Delete all auxiliary functions of an auxiliary
+
-
FM-B
function group channel-specifically from the
global list
AUXFUMSEQ
P
Determine output sequence of M auxiliary
+
-
FM-B
functions
AUXFUSYNC
P
Generate a complete part program block for
+
-
FM-B
the channel-specific SERUPRO end ASUB as
string from the global list of auxiliary functions
AX
K
Variable axis identifier
m/s
+
PM-NC
AXCTSWE
P
Rotate axis container
+
-
PM-NC
AXCTSWEC
P
Cancel enable for axis container rotation
+
+
PM-NC
AXCTSWED
P
Rotating axis container (command variant for
+
-
PM-NC
commissioning!)
AXIS
K
Axis identifier, axis address
+
PM-NC
AXNAME
F
Converts input string into axis identifier
+
-
PM-NC
AXSTRING
F
Converts string spindle number
+
-
PM-NC
AXTOCHAN
P
Request axis for a specific channel. Possible
+
+
PM-NC
from NC program and synchronous action.
AXTOSPI
F
Converts axis identifier into a spindle index
+
-
PM-NC
B
A
Axis name
m/s
+
PM-NC
B2
A
Tool orientation: RPY or Euler angle
s
+
PM-NC
B3
A
Tool orientation: component of the direction
s
+
PM-NC
vector
B4
A
Tool orientation: 2nd component of the sur-
s
+
PM-NC
face normal vector at start of block
B5
A
Tool orientation: 2nd component of the sur-
s
+
PM-NC
face normal vector at end of block
B6
A
Tool orientation: 2nd component of the direc-
s
+
PM-NC
tion vector for taper's axis of rotation
B7
A
Tool orientation: 2nd vector component for in-
s
+
PM-NC
termediate orientation on peripheral surface
of taper
B_AND
O
Bit-by-bit AND
+
PM-NC
B_OR
O
Bit-by-bit OR
+
PM-NC
B_NOT
O
Bit-by-bit negation
+
PM-NC
B_XOR
O
Bit-by-bit exclusive OR
+
PM-NC
BAUTO
G
Definition of the first spline section by means
m
+
PM-NC
of the next 3 points
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1243
Tables
4.1 Operations
Operation
Type
Meaning
W 2)
TP 3)
SA 4)
Description see 5)
1)
1) 2) 3) 4) 5) for explanations, see legend (Page 1241).
BLOCK
K
Together with the keyword TO defines the pro-
+
PM-NC
gram part to be processed in an indirect sub-
program call
BLSYNC
K
Processing of interrupt routine is only to start
+
PM-NC
with the next block change
BNAT 6)
G
Natural transition to first spline block
m
+
PM-NC
BOOL
K
Data type: Boolean value TRUE/FALSE or 1/0
+
PM-NC
BOUND
F
Tests whether the value falls within the de-
+
+
PM-NC
fined value range. If the values are equal, the
test value is returned.
BRISK 6)
G
Fast non-smoothed path acceleration
m
+
PM-NC
BRISKA
P
Switch on brisk path acceleration for the pro-
+
-
PM-NC
grammed axes
BSPLINE
G
B spline
m
+
PM-NC
BTAN
G
Tangential transition to first spline block
m
+
PM-NC
C
A
Axis name
m/s
+
PM-NC
C2
A
Tool orientation: RPY or Euler angle
s
+
PM-NC
C3
A
Tool orientation: 3rd component of the direc-
s
+
PM-NC
tion vector
C4
A
Tool orientation: 3rd component of the surface
s
+
PM-NC
normal vector at start of block
C5
A
Tool orientation: 3rd component of the surface
s
+
PM-NC
normal vector at end of block
C6
A
Tool orientation: 3rd component of the direc-
s
+
PM-NC
tion vector for taper's axis of rotation
C7
A
Tool orientation: 3rd vector component for in-
s
+
PM-NC
termediate orientation on peripheral surface
of taper
CAC
K
Absolute position approach
+
PM-NC
CACN
K
Absolute approach of the value listed in the
+
PM-NC
table in negative direction
CACP
K
Absolute approach of the value listed in the
+
PM-NC
table in positive direction
CADAPTOF
P
Deactivate load adjustment
+
-
PM-NC
CADAPTON
P
Activate load adjustment
+
-
PM-NC
CALCDAT
F
Calculates radius and center point of circle
+
-
PM-NC
from 3 or 4 points
CALCFIR
P
Adapting the FIR jerk filter to the dynamic re-
+
-
PM-NC
sponse mode
CALCPOSI
F
Checking for protection area violation, work-
+
-
PM-NC
ing area limitation and software limits
CALL
K
Indirect subprogram call
+
PM-NC
CALLPATH
P
Programmable search path for subprogram
+
-
PM-NC
calls
CANCEL
P
Cancel modal synchronous action
+
-
FM-SA
NC programming
1244
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Tables
4.1 Operations
Operation
Type
Meaning
W 2)
TP 3)
SA 4)
Description see 5)
1)
1) 2) 3) 4) 5) for explanations, see legend (Page 1241).
CANCELSUB
P
Cancel current subprogram level
+
+
FM-SA
CASE
K
Conditional program branch
+
PM-NC
CDC
K
Direct approach of a position
+
PM-NC
CDOF 6)
G
Switch off collision monitoring
m
+
PM-NC
CDOF2
G
Switch off collision monitoring during 3D cir-
m
+
PM-NC
cumferential milling
CDON
G
Activate collision monitoring
m
+
PM-NC
CFC 6)
G
Constant feedrate on contour
m
+
PM-NC
CFIN
G
Constant feedrate for internal radius only, not
m
+
PM-NC
for external radius
CFINE
F
Assignment of fine offset to a FRAME variable
+
-
PM-NC
CFTCP
G
Constant feedrate in tool center point (center
m
+
PM-NC
point path)
CHAN
K
Specify validity range for data
+
PM-NC
CHANDATA
P
Set channel number for channel data access
+
-
PM-NC
CHAR
K
Data type: ASCII character
+
PM-NC
CHF
A
Chamfer;
s
+
PM-NC
value = length of chamfer
CHKDM
F
Uniqueness check within a magazine
+
-
FM-TM
CHKDNO
F
Check for unique D numbers
+
-
PM-NC
CHR
A
Chamfer;
+
PM-NC
value = length of chamfer in direction of move-
ment
CIC
K
Approach position by increments
+
PM-NC
CIP
G
Circular interpolation through intermediate
m
+
PM-NC
point
CLEARM
P
Reset one/several markers for channel coordi-
+
+
PM-NC
nation
CLRINT
P
Deselect interrupt
+
-
PM-NC
CMIRROR
F
Mirror on a coordinate axis
+
-
PM-NC
COARSEA
K
Motion end when "Exact stop coarse" reached
m
+
PM-NC
COLLPAIR
F
Check whether part of a collision pair
+
PM-NC
COMPCAD
G
Activate the compressor function COMPCAD
m
+
PM-NC
COMPCURV
G
Activate the compressor function COMPCURV
m
+
PM-NC
COMPLETE
Control instruction for reading and writing data
+
PM-NC
COMPOF 6)
G
Deactivate NC block compression
m
+
PM-NC
COMPON
G
Activate the compressor function COMPON
m
+
PM-NC
COMPSURF
G
Activate the compressor function COMPSURF
m
+
PM-NC
CONTDCON
P
Activate tabular contour decoding
+
-
PM-NC
CONTPRON
P
Activate reference preprocessing
+
-
PM-NC
CORROF
P
All active overlaid movements are deselected.
+
-
PM-NC
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1245
Tables
4.1 Operations
Operation
Type
Meaning
W 2)
TP 3)
SA 4)
Description see 5)
1)
1) 2) 3) 4) 5) for explanations, see legend (Page 1241).
CORRTC
F
Modify offset vectors or direction vectors of
+
-
PM-NC
orientable tool carriers according to machine
measurement.
CORRTRAFO
F
Modifying offset vectors or direction vectors
+
-
PM-NC
for the orientation axes in the kinematic model
of the machine
COS
F
Cosine
+
+
PM-NC
(trigon. function)
COUPDEF
P
Definition ELG group/synchronous spindle
+
-
PM-NC
group
COUPDEL
P
Delete ELG group
+
-
PM-NC
COUPOF
P
Deactivate ELG group / synchronous spindle
+
-
PM-NC
pair
COUPOFS
P
Deactivate ELG group/synchronous spindle
+
-
PM-NC
pair with stop of following spindle
COUPON
P
Activate ELG group / synchronous spindle pair
+
-
PM-NC
COUPONC
P
Transfer activation of ELG group/synchronous
+
-
PM-NC
spindle pair with previous programming
COUPRES
P
Reset ELG group
+
-
PM-NC
CP 6)
G
Path motion
m
+
PM-NC
CPBC
K
Generic coupling: Block change criterion
+
+
FM-A
CPDEF
K
Generic coupling: Creating a coupling module
+
+
FM-A
CPDEL
K
Generic coupling: Deletion of a coupling mod-
+
+
FM-A
ule
CPFMOF
K
Generic coupling: Behavior of the following
+
+
FM-A
axis at complete switch-off
CPFMON
K
Generic coupling: Behavior of the following
+
+
FM-A
axis when switching on
CPFMSON
K
Generic coupling: Synchronization mode
+
+
FM-A
CPFPOS
K
Generic coupling: Synchronized position of the
+
+
FM-A
following axis
CPFRS
K
Generic coupling: Coordinate reference system
+
+
FM-A
CPLA
K
Generic coupling: Definition of a leading axis
+
-
FM-A
CPLCTID
K
Generic coupling: Number of the curve table
+
+
FM-A
CPLDEF
K
Generic coupling: Definition of a leading axis
+
+
FM-A
and creation of a coupling module
CPLDEL
K
Generic coupling: Deleting a leading axis of a
+
+
FM-A
coupling module
CPLDEN
K
Generic coupling: Denominator of the cou-
+
+
FM-A
pling factor
CPLINSC
K
Generic coupling: Scaling factor of the input
+
+
FM-A
value of a leading axis
CPLINTR
K
Generic coupling: Offset value of the input val-
+
+
FM-A
ue of a leading axis
NC programming
1246
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Tables
4.1 Operations
Operation
Type
Meaning
W 2)
TP 3)
SA 4)
Description see 5)
1)
1) 2) 3) 4) 5) for explanations, see legend (Page 1241).
CPLNUM
K
Generic coupling: Numerator of the coupling
+
+
FM-A
factor
CPLOF
K
Generic coupling: Switching off a leading axis
+
+
FM-A
of a coupling module
CPLON
K
Generic coupling: Switching on a leading axis
+
+
FM-A
of a coupling module
CPLOUTSC
K
Generic coupling: Scaling factor for the output
+
+
FM-A
value of a coupling
CPLOUTTR
K
Generic coupling: Offset value for the output
+
+
FM-A
value of a coupling
CPLPOS
K
Generic coupling: Synchronized position of the
+
+
FM-A
leading axis
CPLSETVAL
K
Generic coupling: Coupling reference
+
+
FM-A
CPMALARM
K
Generic coupling: Suppression of special cou-
+
+
FM-A
pling-related alarm outputs
CPMBRAKE
K
Generic coupling: Response of the following
+
-
FM-A
axis to certain stop signals and stop commands
CPMPRT
K
Generic coupling: Coupling response at part
+
+
FM-A
program start under block search run via pro-
gram test
CPMRESET
K
Generic coupling: Coupling behavior for RESET
+
+
FM-A
CPMSTART
K
Generic coupling: Coupling behavior at part
+
+
FM-A
program start
CPMVDI
K
Generic coupling: Response of the following
+
+
FM-A
axis to certain NC/PLC interface signals
CPOF
K
Generic coupling: Switching off a coupling
+
+
FM-A
module
CPON
K
Generic coupling: Switching on a coupling
+
+
FM-A
module
CPRECOF 6)
G
Deactivate programmable contour accuracy
m
+
PM-NC
CPRECON
G
Activate programmable contour accuracy
m
+
PM-NC
CPRES
K
Generic coupling: Activates the configured da-
+
-
FM-A
ta of the synchronous spindle coupling
CPROT
P
Activate / deactivate channel-specific protec-
+
-
PM-NC
tion zone
CPROTDEF
P
Definition of a channel-specific protection area
+
-
PM-NC
CPSETTYPE
K
Generic coupling: Coupling type
+
+
FM-A
CPSYNCOP
K
Generic coupling: Threshold value of position
+
+
FM-A
synchronism "Coarse"
CPSYNCOP2
K
Generic coupling: Threshold value of position
+
+
FM-A
synchronism "Coarse" 2
CPSYNCOV
K
Generic coupling: Threshold value of velocity
+
+
FM-A
synchronism "Coarse"
CPSYNFIP
K
Generic coupling: Threshold value of position
+
+
FM-A
synchronism "Fine"
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1247
Tables
4.1 Operations
Operation
Type
Meaning
W 2)
TP 3)
SA 4)
Description see 5)
1)
1) 2) 3) 4) 5) for explanations, see legend (Page 1241).
CPSYNFIP2
K
Generic coupling: Threshold value of position
+
+
FM-A
synchronism "Fine" 2
CPSYNFIV
K
Generic coupling: Threshold value of velocity
+
+
FM-A
synchronism "Fine"
CR
A
Circle radius
s
+
PM-NC
CROT
F
Rotation of the current coordinate system
+
-
PM-NC
CROTS
F
Programmable frame rotations with solid an-
s
+
-
PM-NC
gles (rotation in the specified axes)
CRPL
F
Frame rotation in any plane
+
-
FM-B
CSCALE
F
Scale factor for multiple axes
+
-
PM-NC
CSPLINE
F
Cubic spline
m
+
PM-NC
CT
G
Circle with tangential transition
m
+
PM-NC
CTAB
F
Define following axis position according to
+
+
PM-NC
leading axis position from curve table
CTABDEF
P
Activate table definition
+
-
PM-NC
CTABDEL
P
Clear curve table
+
-
PM-NC
CTABEND
P
Deactivate table definition
+
-
PM-NC
CTABEXISTS
F
Checks the curve table with number n
+
+
PM-NC
CTABFNO
F
Number of curve tables still possible in the
+
+
PM-NC
memory
CTABFPOL
F
Number of polynomials still possible in the
+
+
PM-NC
memory
CTABFSEG
F
Number of curve segments still possible in the
+
+
PM-NC
memory
CTABID
F
Returns table number of the n-th curve table
+
+
PM-NC
CTABINV
F
Define leading axis position according to fol-
+
+
PM-NC
lowing axis position from curve table
CTABISLOCK
F
Returns the lock state of the curve table with
+
+
PM-NC
number n
CTABLOCK
P
Delete and overwrite, lock
+
+
PM-NC
CTABMEMTYP
F
Returns the memory in which curve table num-
+
+
PM-NC
ber n is created.
CTABMPOL
F
Max. number of polynomials still possible in
+
+
PM-NC
the memory
CTABMSEG
F
Max. number of curve segments still possible
+
+
PM-NC
in the memory
CTABNO
F
Number of defined curve tables in SRAM or
+
+
FM-A
DRAM
CTABNOMEM
F
Number of defined curve tables in SRAM or
+
+
PM-NC
DRAM
CTABPERIOD
F
Returns the table periodicity of curve table
+
+
PM-NC
number n
CTABPOL
F
Number of polynomials already used in the
+
+
PM-NC
memory
NC programming
1248
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
Tables
4.1 Operations
Operation
Type
Meaning
W 2)
TP 3)
SA 4)
Description see 5)
1)
1) 2) 3) 4) 5) for explanations, see legend (Page 1241).
CTABPOLID
F
Number of the curve polynomials used by the
+
+
PM-NC
curve table with number n
CTABSEG
F
Number of curve segments already used in the
+
+
PM-NC
memory
CTABSEGID
F
Number of the curve segments used by the
+
+
PM-NC
curve table with number n
CTABSEV
F
Returns the end value of the following axis of a
+
+
PM-NC
segment of the curve table
CTABSSV
F
Returns the starting value of the following axis
+
+
PM-NC
of a segment of the curve table
CTABTEP
F
Returns the value of the leading axis at the end
+
+
PM-NC
of the curve table
CTABTEV
F
Returns the value of the following axis at the
+
+
PM-NC
end of the curve table
CTABTMAX
F
Returns the maximum value of the following
+
+
PM-NC
axis of the curve table
CTABTMIN
F
Returns the minimum value of the following
+
+
PM-NC
axis of the curve table
CTABTSP
F
Returns the value of the leading axis at the
+
+
PM-NC
start of the curve table
CTABTSV
F
Returns the value of the following axis at the
+
+
PM-NC
start of the curve table
CTABUNLOCK
P
Revoke delete and overwrite lock
+
+
PM-NC
CTOL
A
Contour tolerance for compressor functions,
m
+
-
PM-NC
orientation smoothing and smoothing types
CTOLG0
A
Contour tolerance for rapid traverse move-
m
+
-
PM-NC
ments
CTRANS
F
Work offset for multiple axes
+
-
PM-NC
CUT2D 6)
G
2D TRC
m
+
PM-NC
CUT2DD
G
2½ D TRC in relation to the differential tool
m
+
PM-NC
CUT2DF
G
2D TRC relative to the current frame (inclined
m
+
PM-NC
plane)
CUT2DFD
G
2½D TRC in relation to a differential tool rela-
m
+
PM-NC
tive to the current frame (inclined plane)
CUT3DC
G
3D TRC for circumferential milling
m
+
PM-NC
CUT3DCC
G
3D TRC for circumferential milling taking into
m
+
PM-NC
account a limitation surface with 3D radius
compensation: Contour on the machining sur-
face
CUT3DCCD
G
3D TRC for circumferential milling taking into
m
+
PM-NC
account a limitation surface with differential
tool on the tool center-point path: Infeed to the
limitation surface
CUT3DCD
G
3D TRC in relation to a differential tool for cir-
m
+
PM-NC
cumferential milling
NC programming
Programming Manual, 10/2020, 6FC5398-2EP40-0BA1
1249

 

 

 

 

 

 

 

Content      ..     16      17      18      19     ..