Millplus It: Programming Manual V600-02
Millplus It: Programming Manual V600-02
Millplus It: Programming Manual V600-02
V600-02
MillPlus IT
NC Software
538 952-xx
538 953-xx
538 954-xx
538 955-xx
538 956-xx
English (en)
11/2008
Controls on the visual display unit Manual operation
Select window Axis-direction keys for three main axes
1 50 150
Rapid traverse override/feed rate override
100
Manual operating mode 0 0
Emergency stop
Automatic operating mode
NC on
Programming operating mode
Start / stop keys
Control (Setup) operating mode START
Spindle on, CW
MillPlus V600, Software and
Features
The MillPlus IT is designed for use with milling, drilling, boring and
machining centers, as well as for use with mold machines. The
MillPlus IT can also be traversed manually for simple machining
operations.
Different types of aid are available to the programmer: dialog entry,
Function Explorer, context-sensitive online help, graphic simulation,
etc.
This Manual describes the programming language of the MillPlus and
all G function that are available in MillPlus V600 as of NC software
number 538 952-xx.
This Manual may include references to functions that are not yet
available in this software version. These references are reserved for
later software updates.
Machine configuration
The machine manufacturer adapts the features offered by the MillPlus
to the capabilities of the specific machine via configuration data. Some
of the functions described in this manual may therefore not be among
the features provided by the MillPlus on your machine tool.
Please contact your machine manufacturer for detailed information on
the features that are supported by your machine tool.
The machine manufacturer and HEIDENHAIN offer programming
courses for the MillPlus. We recommend these courses as an
effective way of improving your programming skill and sharing
information and ideas with other MillPlus users.
New functions
G242 Contour advance calculation: ON
G251-G269 Contour programming
G270-G277 Limit level and zoning level
G280-G286 Contour milling cycles
High-level language (If..then, While... )
Modified G functions
Some of the G functions were modified in respect of programming or
sequence. For a list of the modifications, refer to Chapter “Changed
G-functions” on page 491.
4
Contents Introduction
1
Technology
2
Programming
3
Function Explorer
4
G0-G99 G Functions
5
G100-G199 G Functions
6
G200-G299 G Functions
7
G300-G399 G Functions for Macros
8
G600-G699 Measuring Cycles
9
G700-G799 Milling Cycles
10
G800-G899 Turning Cycles
11
G1000-G1999 Macro Functions
12
Modified G Functions
13
2 Technology ..... 21
2.1 F Functions ..... 22
Description of the feed rate addresses 22
F, F3=, F4= Feed rate and direction of movement 22
F1=, Constant cutting feed rate for radius compensation of circles 23
F3=, F4= Plunging feed rate/feed rate in a plane 24
F5= Feed unit for rotary axes 24
F6= Blockwise feed rate 24
2.2 S Functions ..... 25
Format 25
Application 25
2.3 M Functions ..... 26
M0/M1 Program stop, optional program stop 26
M3/M4/M5 spindle ON clockwise/counterclockwise/spindle stop 27
M6 Automatic tool change 27
M66 Automatic tool change 29
M67 Changing the tool data 30
M7/M8/M9/M13/M14 Coolant supply on/off 31
M19 Oriented spindle stop 32
M30 End of part program 33
M41/M42/M43/M44 Selecting the spindle speed range 34
2.4 T Function Tool Table ..... 35
Tool life monitoring 37
HEIDENHAIN MilPlus IT 7
3 Programming ..... 39
3.1 General Programming Information ..... 40
Part programs 40
Program words 40
Program blocks 42
3.2 Creating a Part Program ..... 43
Structure of a part program 43
Program editor 43
3.3 Datums ..... 44
Machine datum (M0) 44
Pallet datum (M1) 45
Workpiece datum (W) 45
Program datum (W1) 45
3.4 Axis Configurations on Machine Tools ..... 46
Axis configurations 46
Coordinate system 46
Cartesian coordinates 47
Polar coordinates 48
Mixture of coordinates 49
G7 coordinates 50
3.5 E Parameters ..... 51
Format 51
Cancel 51
Quantity of parameters 51
Address 51
Parameter number (E) 51
Using a parameter in several programs 52
Parameter types 52
Input accuracy 52
Displaying the parameter table 52
3.6 String (ES) Parameters ..... 53
Format 53
Cancelation 53
Quantity of parameters 53
3.7 Operators ..... 54
Trigonometric functions 59
Relational operators 61
Logical operators 62
3.8 High-Level Language ..... 67
Operators 67
Like 73
Call 78
GoTo 79
If...Then...Else 80
8
4 Function Explorer ..... 85
4.1 Milling Functions ..... 86
HEIDENHAIN MilPlus IT 9
5.37 G61 Tangential Approach ..... 188
5.38 G62 Tangential Exit ..... 191
5.39 G63 Cancel Geometric Calculations ..... 193
5.40 G64 Activate Geometric Calculations ..... 194
Basic functions 194
Straight line 196
Chamfer 200
Circles 201
Rounding arcs 203
Points of intersection 203
Non-flowing transitions 205
5.41 G70 Inch Programming ..... 208
5.42 G71 Metric Programming ..... 209
5.43 G72 Cancel Mirror Image and Scaling ..... 210
5.44 G73 Mirror Image and Scaling ..... 211
5.45 G74 Absolute Position Approach ..... 213
5.46 G77 Bolt Hole Circle ..... 216
5.47 G78 Point Definition ..... 219
5.48 G79 Cycle Call ..... 221
5.49 G81 Drilling/Centering ..... 223
5.50 G83 Deep-Hole Drilling ..... 225
5.51 G84 Tapping ..... 228
5.52 G85 Reaming ..... 230
5.53 G86 Boring ..... 232
5.54 G87 Pocket Milling ..... 234
5.55 G88 Key-Way Milling ..... 236
5.56 G89 Circular Pocket Milling ..... 238
5.57 G90 Absolute Programming ..... 240
5.58 G91 Incremental Programming ..... 242
5.59 G92 Zero Point Shift Incr./Rotation ..... 244
5.60 G93 Zero Point Shift Abs./Rotation ..... 246
5.61 G94 Feed in mm/min (inch/min) ..... 248
5.62 G95 Feed in mm/rev (inch/rev) ..... 250
5.63 G97 Spindle Speed ..... 251
5.64 G98 Graphic Window Definition ..... 252
5.65 G99 Graphic Material Definition ..... 253
10
6 G100-G199 G-Codes ..... 255
6.1 G125 Lifting Tool on Intervention: OFF ..... 256
6.2 G126 Lifting Tool on Intervention: ON ..... 257
6.3 G141 3D Tool Correction ..... 261
6.4 G145 Linear Measuring Movement ..... 268
6.5 G148 Read Measure Probe Status ..... 272
6.6 G149 Read Tool- or Zero Offset Values ..... 274
Querying tool data 274
Querying Zero Offset Values 277
6.7 G150 Change Tool- or Zero Offset Values ..... 280
Changing of tool data 280
Changing Zero Offset Values 282
6.8 G151 Cancel G152 ..... 283
6.9 G152 Limiting the Traverse Ranges ..... 284
6.10 G153 Correct Workpiece Zero Point: OFF ..... 286
6.11 G154 Correct Workpiece Zero Point: ON ..... 287
6.12 G174 Tool Retract Movement ..... 289
6.13 G179 ContourCycle Call ..... 291
6.14 G180 Cancel Cylinder Interpolation ..... 292
6.15 G182 Activate Cylinder Interpolation ..... 294
6.16 G195 Graphic Window Definition ..... 297
6.17 G196 End Graphic Model Description ..... 298
HEIDENHAIN MilPlus IT 11
7 G200-G299 G-Codes ..... 299
7.1 G240 Contour Pre-Calculation: OFF ..... 300
7.2 G242 Contour Pre-Calculation: On ..... 301
7.3 G251-G269 Contour Programming ..... 302
7.4 G251 Free Linear Movement ..... 307
7.5 G252 Free Circular Movement, CW ..... 308
7.6 G253 Free Circular Movement, CCW ..... 310
7.7 G261 Free Linear Movement, Tangential ..... 311
7.8 G262 Free Circular Movement, CW, Tangential ..... 312
7.9 G263 Free Circular Movement, CCW, Tangential ..... 313
7.10 G265 Free Chamfer ..... 314
7.11 G266 Free Rounding ..... 315
7.12 G269 Free Contour Selection ..... 316
7.13 G270 Disables Limit Planes ..... 317
7.14 G271 Enables Defined Limit Planes ..... 318
7.15 G272 Definition of Lower Limit Plane ..... 319
7.16 G273 Definition of Upper Limit Plane ..... 321
7.17 G275 Zoning Planes: Disable ..... 323
7.18 G276 Zoning Planes: Enable ..... 324
7.19 G277 Zoning Planes: Define ..... 325
7.20 G280-G286 Contour Milling Cycles ..... 327
Entering a contour formula 328
Superimposed contours 329
Area of inclusion (joined with) 330
Area of intersection (intersected with) 331
Area of inclusion without intersection (joined with but without intersection) 331
7.21 G280 End Contour Milling ..... 334
7.22 G281 Begin Contour Milling ..... 335
7.23 G282 Contour Definition Program ..... 336
7.24 G283 Contour Data Definition ..... 337
7.25 G284 Contour Pilot Drilling ..... 338
7.26 G285 Contour Roughing ..... 340
7.27 G286 Contour Finishing ..... 342
12
8 G300-G399 G-Codes for Macros ..... 345
8.1 Specific G Codes for Macros ..... 346
Overview of G codes for macros 346
Overview of G codes for installation purposes 346
8.2 G300 Program Error Call ..... 347
8.3 G303 M19 with Programmable Direction ..... 348
8.4 G305 Synchronize CNC and PLC ..... 349
8.5 G319 Read Actual Technology Data ..... 350
8.6 G320 Read Actual G Data ..... 351
8.7 G321 Read Tool Data ..... 354
8.8 G322 Read Machine Constant Memory ..... 356
8.9 G323 Read Cycle Data ..... 357
8.10 G324 Read G Group ..... 358
8.11 G326 Read Actual Position ..... 360
8.12 G327 Read Operation Mode ..... 362
8.13 G328 Read IPLC Marker or I/O ..... 363
8.14 G329 Read Offset from Kinematic Model ..... 365
8.15 G331 Write Tool Data ..... 368
8.16 G338 Write IPLC Marker or I/O ..... 370
8.17 G339 Write Offset in Kinematic Model ..... 371
8.18 G380 Protection Zones ..... 373
HEIDENHAIN MilPlus IT 13
9 G600-G699 Measuring Cycles ..... 375
9.1 Tool Measuring Cycles for Laser Measurements ..... 376
General notes and usage 376
Availability 376
Programming 376
Machine parameters 376
9.2 Tool Measuring Cycles for Tool Touch Probe Measuring Systems ..... 377
General Notes on Tool Touch Probe Measuring Systems 377
9.3 Measuring Cycles ..... 378
Introduction to measuring cycles 378
9.4 G620 Angle Measurement ..... 381
9.5 G621 Position Measurement ..... 384
9.6 G622 Corner Outside Measurement ..... 386
9.7 G623 Corner Inside Measurement ..... 388
9.8 G626 Datum Outside Rectangle ..... 390
9.9 G627 Datum Inside Rectangle ..... 392
9.10 G628 Circle Measurement Outside ..... 394
9.11 G629 Circle Measurement Inside ..... 397
9.12 G631 Measure Inclined Plane ..... 400
9.13 G633 Angle Measurement 2 Holes ..... 402
9.14 G634 Measurement Center 4 Holes ..... 404
9.15 G636 Circle Measurement Inside (CP) ..... 407
9.16 G638 Touch Probe Calibration on Ball ..... 410
9.17 G639 Touch Probe Calibration ..... 413
14
10 G700-G799 Milling Cycles ..... 417
10.1 Machining and Positioning Cycles ..... 418
Overview of machining and positioning cycles 418
Introduction 419
10.2 G700 Face Turning ..... 421
10.3 G730 Multipass Milling ..... 424
10.4 G740 Thread Milling Inside ..... 426
10.5 G741 Thread Milling Outside ..... 429
10.6 G771 Operation on Line ..... 430
10.7 G772 Operation on Quadrangle ..... 432
10.8 G773 Operation on Grid ..... 434
10.9 G777 Operation on Circle ..... 436
10.10 G781 Drilling/Centring ..... 438
10.11 G782 Deep-Hole Drilling ..... 440
10.12 G783 Deep-Hole Drill. Add Chip Break ..... 443
10.13 G784 Tapping ..... 445
10.14 G785 Reaming ..... 447
10.15 G786 Boring ..... 449
10.16 G787 Pocket Milling ..... 451
10.17 G788 Key-Way Milling ..... 453
10.18 G789 Circular Pocket Milling ..... 456
10.19 G790 Back-Boring ..... 458
10.20 G794 Tapping, Interpolated ..... 461
10.21 G797 Pocket Finishing ..... 463
10.22 G798 Key-Way Finishing ..... 465
10.23 G799 Circular Pocket Finishing ..... 467
HEIDENHAIN MilPlus IT 15
11 G800-G899 Turning Cycles ..... 469
11.1 Turning Cycles ..... 470
Reserved for turning cycle extensions 470
These cycles will appear in a future version. 470
16
Introduction
1.1 Introduction
1.1 Introduction
Dear customer,
These instructions are intended to support you while programming the
MillPlus IT control.
The machine may only be operated—even if it is just temporarily—by
properly trained personnel. The training can be provided by the
company itself, institutes for advanced vocational training or by one of
the training centers.
Please read the notes regarding proper use.
The control is interfaced with the machine via the machine
configurations. Some of these configurations can be accessed by the
operator. Caution! Before changing any configuration settings, be sure
that you understand the meanings and functions thereof. Otherwise
please contact the Customer Service.
The user should always back up his programs and specific data (e.g.
technology data, machine configurations etc.) on a PC or other
memory space to prevent data from being lost irretrievably should the
system be defective.
We reserve the right to make changes to the design, features and
accessories as part of further development. Therefore, no claims may
be derived from the data, descriptions or images. Errors and
omissions excepted.
18 1 Introduction
1.2 About These Instructions
G functions
These functions are used to prepare the CNC machine tool for the
programming instructions. They are called "preparatory functions". The
individual sections dealing with the G functions are structured as
follows:
G number and brief description Brief description of the G function
and its application.
Address description The address words that define the effective
range of the function or the words that can be programmed when
the function is active.
Address name (e.g. G0)
Brief description of address
Explanation of the address with a list of the entry options
Format The applicable conventions:
Example: G... address..... {address.....}
Address..... = mandatory
{Address....} = optional
E, F, S, T and M are not entered in the format.
Mutual dependencies are not shown.
Default Basic values that are predefined in the CNC.
Application Comments and notes on the use of functions and the
circumstances.
Sequence Description of the sequence of the individual steps of a
function.
Example Practical examples illustrating the use of a function.
F functions
This function specifies the feed rate types.
M functions
These functions have a direct effect on machine operation, e.g.
coolant supply on/off.
S functions
This function specifies the spindle speed in rpm.
T functions
This function specifies the number for tool selection and storage of its
dimensions in the CNC tool memory.
20 1 Introduction
Technology
2.1 F Functions
2.1 F Functions
Type of function
Modal: F, F1=, F3=, F4=, F5=
Blockwise: F2=, F6=
Default setting
F3=0, F4=0 and F = 0
22 2 Technology
Delete
2.1 F Functions
After M30 or by pressing the Reset CNC or Cancel Program soft key,
F F3= and F4= are set to zero.
F1=0
No constant cutting feed rate (start-up condition, M30, Cancel
Program soft key or Reset CNC soft key). The programmed feed rate
should reflect the speed of the tool tip. (See Figure 2.)
* Cutting feed rate too high
** Cutting feed rate too low
F1=1
Constant cutting feed rate only on the inside of circular arcs. The
programmed feed rate is reduced to ensure that the tool tip moves
along the inside of a circular arc at the reduced speed. (See figure.)
F1=2
Constant cutting feed rate on the inside and outside of circular arcs.
The programmed feed rate is reduced (inside of circular arc) or
increased (outside of circular arc) to ensure that the tool tip moves at
the recalculated speed. If the increased speed is higher than the
maximum feed rate defined via the machine configuration, the
maximum feed rate will be used. (See figure.)
24 2 Technology
2.2 S Functions
2.2 S Functions
Setting the speed of the main spindle (S) or the second spindle (or
rotary table) (S1=) in revolutions per minute (rpm).
Format
{S...} {S1=...}
Application
Maximum speed
The maximum speeds of the first and second spindle are defined in
the machine configuration.
Application
The stop at M1 is only executed, however, if the Selective Wait soft key
is active.
Activate
M0/M1 is activated when the current tool movement programmed in
the same block has been executed.
26 2 Technology
2.3 M Functions
M3/M4/M5 spindle ON clockwise/
counterclockwise/spindle stop
M3 Spindle ON clockwise (CW)
M4 Spindle ON counterclockwise (CCW)
M5 Spindle OFF (spindle STOP).
Type of function
M3, M4 and M5 are modal.
Spindle ON (M3/M4)
The spindle is switched on before the tool movement programmed in
the same block is executed. The spindle is only switched on when a
spindle speed (S) has been programmed.
Format
{T...} {T1=...} {T2=...} M6
T Tool number
T1= Switches cutting force monitoring on and off
T2= Selects additional tool data
Replacement tools
The tool table contains, for example, tool T100.00 with the
replacement tools T100.01 and T100.02.
During an automatic tool change (M6), T100.00 is inserted (T100.00
M6). The replacement tool log is now active. If T100.00 is blocked, a
replacement tool is automatically inserted. (T100.01).
During an automatic tool change (M6), T100.01 inserted (T100.01 M6).
The replacement tool log is not active now. If T100.01 is blocked, no
replacement tool is inserted. An error message is generated.
Note:
If tool T100.01 is measured last during tool measurement, the
operator must return the tool to the tool magazine again. If this is not
done and T100.00 M6 is programmed in the new program, tool
T100.00 will not be changed.
T12 M6
28 2 Technology
2.3 M Functions
M66 Automatic tool change
Interrupt the program execution for a manual tool change.
Format
{T ...} {T1=...} {T2=...} M66
T Tool number
T1= Switches cutting force monitoring on and off
T2= Selects additional tool data
Using M66
The M66 function is used for tools that are not in the tool magazines.
T24 M66
Format
{T...} {T1=...} {T2=...} M67
T Tool number
T1= Switches cutting force monitoring on and off
T2= Selects additional tool data
Tools with more than one cutting edge
If a tool with more than one cutting edge, e.g. a boring bar, is inserted,
each cutting edge has its own length and radius, which are stored as
additional compensations for the same tool in the tool table.
T12 M6
M6 The boring bar is inserted and the tool data of T12 are
activated.
M67 Changing the tool data from XS1 to XS2. The boring bar is
not changed.
30 2 Technology
2.3 M Functions
M7/M8/M9/M13/M14 Coolant supply on/off
M7 Coolant no. 2 ON, internal coolant supply
M8 Coolant no. 1 ON, external coolant supply
M9 Coolant no. 1 and/or 2 OFF
M13 Coolant no. 1 together with spindle ON clockwise
M13=M3+M8
M14 Coolant no. 1 together with spindle ON counterclockwise
M14=M4+M8
Format
{M7/M8/M9/M13/M14}
Switch-on (M7/M8/M13/M14)
The coolant supply is switched on before the tool movement
programmed in the same block is executed.
Switch-off (M9)
The coolant supply is switched off before the tool movement
programmed in the same block is executed.
M7 Coolant no. 2 ON
M9 Coolant OFF
M13 Coolant no. 1 and spindle ON clockwise
Format
M19 {D...}
Angular position (D)
The angular position is measured from a fixed position that is defined
via a machine parameter (CfgReferencing/ref Position).
Activation
The M19 command is activated when all movements programmed in
the same block have been executed.
The spindle position remains unchanged until M3, M4, M13, M14,
M41, M42, M43, M44 or M19 is programmed.
32 2 Technology
2.3 M Functions
M30 End of part program
Completing the part program execution with return to the beginning of
the program.
Format
M30
Activate
The M30 command is activated when the current tool movement
programmed in the same block has been executed.
On-position
When executing M30, the on-position that is applicable for a specific
group of G functions becomes effective automatically, if intended.
Other functions with an on-position are reset, as well.
N9000
M30
34 2 Technology
2.4 T Function Tool Table
T3=nnnn.n [0-9999.9 min] Select tool with sufficient remaining tool life
G50 Tnn Write the measured tool dimensions into the table
[G149 | G150] Tnnnn.nn T2=n Read and write tool data (length, radius, tool life, status)
L1=nn R1=nn M1=nn En
Example:Tool compensations
T1234 T2=3 M6
Tool pre-selection
The next tool can already be pre-selected in the magazine during
program run so that it can be inserted immediately with the next tool
change. The block includes only the tool number T (without M
function).
Replacement tools
A replacement tool is inserted if the tool life of the current machining
tool expires or if the lowest performance limit of cutting force
monitoring is exceeded.
The replacement tool is identified by the two-digit number after the
decimal point.
The replacement tool with the lowest number is selected, unless it is
blocked. Otherwise the replacement tool with the next higher number
is used.
36 2 Technology
2.4 T Function Tool Table
Tool life monitoring
Each tool is assigned a certain tool life. Whenever a tool is in use, its
life is reduced by the cutting time. When the tool life has expired a
warning is generated.
T1234 T3=12 M6
Program words
The CNC control uses the standard CNC word address system. A
word defined according to this system consists of two parts:
1 The address, i.e. an individual address (a letter) or an indexed
address. An indexed address consists of a letter followed by an
index (number) and the equal sign (=).
2 A multi-digit number.
Leading zeroes can be omitted in all words. If, however, the value of
one word equals zero, then at least one zero must be written.
Example words:
X-21.43 "X" is the address, "-21.43" the value
X1=-21.43 "X1=" is the address, "-21.43" the value
40 3 Programming
3.1 General Programming Information
Format of words with path or angle information
Words that give path or angle information may have a an algebraic sign
(+ or -). If no algebraic sign has been programmed, a positive value is
assumed. Negative values must always have a minus sign.
Path or angle commands can be written with a decimal point. The
number of digits after the decimal point depends on the machine
configuration: 3 digits (accuracy 1 µm or 1 mdeg.) or 4 digits (accuracy
0.1 µm or 0.1 mdeg.). Any zeroes that follow may therefore be
omitted. If not decimal point has been programmed, the CNC
assumes that it comes after the last digit.
The total length is always 9 digits. This means that either 123456.789
or 12345.6789 is programmed.
Metric or inches
If G70 is programmed at the beginning of a program, mm is switched
to inch. A path command is then programmed 12345.6789 or
1234.56789 (accuracy 0.0001 or 0.00001 inches).
Block number N
Block number N is not mandatory in the MillPlus IT as of version V600.
A block number is only mandatory if a certain block is to be jumped to.
The block numbers range from N0 to N9999999.
It is common practice to use a specific block number only once in the
same program. The order of the block numbers is freely selectable.
The blocks are executed in the programmed order.
42 3 Programming
3.2 Creating a Part Program
Program editor
Several programs can be opened simultaneously in the editor. The
maximum number is specified in the settings menu. You can easily
switch between the opened part and subprograms and copy data.
The stored programs can be protected against unauthorized editing by
using the "Locking" function.
44 3 Programming
3.3 Datums
Pallet datum (M1)
If the machine has several fixtures (e.g. pallets), each fixture has its
own datum. This stationary fixture is called pallet datum (M1).
The distances in the axes from the machine datum (M0) to the pallet
datums (M1) are stored in the datum shift memory. The functions G52
or G52 I[0...99] permit storage of 99 pallet datums.
When a pallet datum (M1) has been defined, the datum of the
workpiece must be determined. The workpiece datum can be the
same as the active datum M1 or be entered in the table by direct
programming or be defined with the F54 function "Preset axes"
If there is an external program call with shift data, the control defines
the C datum automatically.
The distances in the axes from the pallet datum (M1) to the workpiece
datums (W) are stored in the datum shift memory. The functions
G53...G59 or G54 I[0...99] permit storage of up to 99 workpiece
datums.
The program datum W1 is the datum from where the axis coordinates
in part programs are measured. The programmer can select any
position for the W1 datum. It is advisable to select the position such
that any additional calculations required for workpiece programming
are limited to a minimum.
Coordinate system
The CNC can connect points by linear and circular paths of traverse
(interpolations). Workpiece machining is programmed by entering the
coordinates for a succession of points and connecting the points by
linear or circular paths of traverse.
Like the paths of traverse, you can also describe the complete contour
of a workpiece by defining single points through their coordinates and
connecting them by linear or circular paths of traverse.
The positions of the CNC machine tool’s axes are defined by the
following standards: ISO 841, DIN 66217 and EIA RS-267-A. The right-
hand rule defined in these standards is used to indicate the orientation
of all axes on CNC machine tools. (Center figure)
Defining coordinates
The coordinates of points in space (3-D) define traverse paths along
the axes. The axis coordinates are in one of three planes (XY plane, ZX
plane, YZ plane).
46 3 Programming
3.4 Axis Configurations on Machine Tools
Cartesian coordinates
Absolute coordinates
If the coordinates of a position are referenced to the workpiece datum,
they are referred to as absolute coordinates. Each position on a
workpiece is clearly defined by its absolute coordinates. See figure.
Polar coordinates
When programming with polar coordinates, a position on the
workpiece is clearly defined by the entries for polar length and angle.
48 3 Programming
3.4 Axis Configurations on Machine Tools
Movement with incremental polar coordinates
Mixture of coordinates
Mixing different coordinates is permitted. Absolute, incremental and
polar coordinates are possible.
50 3 Programming
3.5 E Parameters
3.5 E Parameters
E parameters permit a more flexible use of the programs. With a single
program you can manufacture different workpieces by changing the
parameter data contained in the CNC's parameter memory.
With the help of macros, high-level language and E parameters, a
problem can be solved in a general way, e. g. measuring a hole with
three or four points. The parameters receive their current values
during execution, and the subprogram is adjusted to the special
program requirements.
Format
Parameter definition:
E...=[value or arithmetic expression]
Parameter assignment
[Address]=(+/-) E...
Parameter assignment and calculation:
Address = [arithmetic expression]
Cancel
The parameter values are modal, unless they are changed by
conversion, entry via the control panel, entry from another data
medium or assignment of new values in the part program. By pressing
a soft key you can delete a parameter value or the entire table.
Pressing the Cancel Program soft key, or M30 do not delete parameter
values.
Quantity of parameters
You can save a maximum of 1,000 parameters. This quantity can be
changed with a machine parameter (numberOfReals). (Default setting:
600 parameters).
For system cycles (PLC and cycles) you can use parameters 1000 to
1400.
Address
Every existing address, except for the address N. Address N generates
an error message. Impermissible word: N=.
Parameter types
Parameters can be used in every MillPlus. The following parameter
types are possible:
A floating point number consists of a fixed point number (mantissa)
multiplied by an exponent. 1.965e5, for example, means 1.965(10^5),
which equals 196 500.
Input accuracy
The input accuracy of the parameter types is as follows:
1 Integer A 15-digit number.
2 Fixed point At least 6 decimal places, not more than
number 15 decimal places
3 Floating point The mantissa is programmed as a fixed
number point number, the exponent is an integer
between -99 and +99.
4 Character -
sequence
52 3 Programming
3.6 String (ES) Parameters
Format
Parameter definition:
ES...=[string expression]
String expression:
Character sequence
Parameter assignment
[Address]=(+/-) ES...
Cancelation
The parameter values are modal, unless they are changed by
conversion, entry via the control panel, entry from another data
medium or assignment of new values in the part program. By pressing
a soft key you can delete a parameter value or the entire table.
Pressing the Cancel Program soft key or M30 do not delete parameter
values.
Quantity of parameters
You can save a maximum of 200 parameters. This quantity can be
changed with a machine parameter (numberOfStrings). (Default
setting: 200 parameters).
For system cycles (PLC and cycles) you can use up to 400 parameters.
Arithmetic operators
Mathematical operators
Description Operators
Exponential calculation E1=E2 ^ E3
Multiplication E1=E2*E3
Addition E1=E2+E3
Subtraction E1=E2-E3
Assign E1=E2
Exponential calculation
E1=E2^2 or E1=E2^E3 (with E3=2)
The two operations have the effect that the E1 parameter is equal to
the square value of E2.
Exponential calculations follow a fixed order. First you do the
exponential calculation, then you consider the algebraic sign. For
example, in the equation E1=-3^2 you first do the exponential
calculation (3^2), then you consider the algebraic sign, which results
in a negative number (-9).
If you want to raise a negative number to a power, you have to place
it in parentheses, e. g. E1=(-3)^E3. Another method is to assign the
negative number to a parameter and then raise the parameter value to
a power, e. g. E2=-3 and then E1=E2^2.
The following exponential calculations are impermissible:
1 0^0.
2 E2^E3, if E2<0 and E3 have a real value.
54 3 Programming
3.7 Operators
Notes
If the relational expression is true, then E1=1. If the expression is not
true, then E1=0. This parameter can be used with the G29 function
(conditional jump) or with high-level language.
In the format description, the parameters E2 and E3 are arbitrary
parameters or expressions.
Functions and arithmetic expressions can also be used without
parameters, e.g. X=(10+12*sin (23)).
The E parameter with the result of the calculation or the mathematical
function does have the required accuracy but can be saved in two
different ways.
E1=99.9999999 and E1=100.0000001 are, for example, equally
accurate but differ in their numerical value.
There could be problems if the "Int" function or a relational expression
comparing all numbers is used.
Description Operators
Absolute value E1=Abs(E2)
Rounding E1=Round(E2,n)
(n = decimal places)
Sign E1=Abs(E2)
Maximum E1=Max(E2,E3)
Minimum E1=Min(E2,E3)
Reciprocal values
The reciprocal value of E2 is calculated with E1=1/E2 or E1=E2^-1
Absolute values
With an absolute function, a negative value is converted into a positive
value. Positive values remain unchanged. E1=Abs(E2).
Square
The square value of E2 is calculated with E1=E2*E2 or E1=E2^2
Square root
The square root of E2 is calculated with E1=Sqrt(E2) or E1=E2^0.5
E1=Sqrt(...): An arithmetical expression in parenthesis is permissible,
e.g. E1=Sqrt(E2^2+E3^4).
To extract the square root (Sqrt), the parameter must be positive or
zero.
56 3 Programming
3.7 Operators
Integer
When the integer function is used, the numerical value is truncated,
e.g. all decimal places are ignored. E1=Int(E2)
Example: E2=8.9 is shown as 8, E2=-8.9 is shown as -8
Pi constant
The value of the pi constant is saved in the control with an accuracy of
15 digits. Pi can be used at any place at which a value or E parameter
is permitted, e.g. for conversion of angles of radians in decimal
degrees or vice versa.
Rounding
When using the rounding function, the numerical value is rounded
based on the number of decimal places. E1=Round(E2,n) ( n is decimal
places)
Note: If the number of decimal places has not been entered, it is
automatically assumed to be zero.
Example: n=1 and E2=8.94 results in 8.9, n=1 and E2=-8.94 results in
-8.9 n=1 and E2=8.96 results in 9.0, n=1 and E2=-8.96 results in -9.0
Remainder of division
When using the remainder function, the remainder of the argument is
returned.
Note: E1=(E2ModE3):
If E3 is 0, E2 is returned
If E3 is not entered, 1 is assumed.
The sign is the same as that of E1.
Example: E2=5 and E3=3 results in 2, E2=-5 and E3=3 results in -2
Sign
When using the sign function the sign is returned. E1=Sign(E2)
Example: E2=8.9 results in 1, E2=0 results in 0, E2=-8.9 results in -1
Maximum
The Max() function returns the maximum value of the two arguments.
E1=Max(E2,E3)
Example: E1=Max(16,-10) results in E1=16
Minimum
The Min() function returns the minimum value of the two arguments.
E1=Min(E2,E3)
Example: E1=Min(16,-10) results in E1=-10
Angle in radians
For angle calculations it can sometimes be useful to express angles in
radians. 360" corresponds to 2*pi radians.
Consequently, an angle of 44.209303" equals 0.7715979 radians.
If in a trigonometric function the angle is expressed in radians, the
numerical value must be followed by the addition "rad". If in a
trigonometric function the angle is expressed in radians, the numerical
value must be followed by the addition "rad".
Example: E1=Sin(0.7715979rad)
58 3 Programming
3.7 Operators
Trigonometric functions
Description Operators
Sine E1=Sin(E2)
Cosine E1=Cos(E2)
Tangent E1=Tan(E2)
Trigonometric functions
The following trigonometric functions are available.
Sine (sin), cosine (cos), tangent (tan)
They are written as follows: E1=Sin(E2) E1=Cos(E2) E1=Tan(E2)
The sine of an angle of 44.209303' can, for example, be programmed
as follows: E1=Sin (44.209303) or E1=Sin (0.7715979rad)
Notes
The E2 parameter represents any mathematical expression.
Using an odd multiple of 90 " in connection with the tan-function is not
permissible. Otherwise, an error message is issued.
Using an odd multiple of 90" in connection with the tan-function is not
permissible. Otherwise, an error message is issued.
60 3 Programming
3.7 Operators
Relational operators
A relational expression is used to assign the value 1 to the E parameter
if certain conditions are fulfilled.
As long as these conditions are not fulfilled, the value of the parameter
is 0.
With G29 or high-level language, this parameter enables you to jump
within the program.
The following relations can be used:
Notes
Parameters E2 and E3 represent any mathematical expression.
To satisfy a relational expression, all numbers are compared to see if
they are equal. Problems may arise if the parameter values are
obtained from calculations. In this case, limit values must be set and
it must be tested whether the respective value is within the limits.
Smaller < E1=E2<E3, smaller or equal <= E1=E2<=E3.
Disjunction Or E2 Or E3
62 3 Programming
3.7 Operators
Sequence of operators in the evaluation
The CNC evaluates mathematical and relational operations in the
following order:
Order
of Description
priority
1 Calculation of the reciprocal values (^-1) and/or
exponential calculations (")
6 Linking (&)
8 Negation (Not)
Use of parentheses ()
With parentheses () you can group operations and thus change the
order of evaluation of an expression. The expression in parentheses is
evaluated in the usual order of priority. One pair of parentheses can be
placed between another pair of parentheses. This is referred to as
"nesting". The evaluation of the expressions between the individual
pairs of parentheses is from the inside towards the outside.
64 3 Programming
3.7 Operators
Output parameters
66 3 Programming
3.8 High-Level Language
ES1="V:\NC_PROG"
G22 N=ES1 & “\“ & "MACRO.MM" Subprogram call: v:\nc_prog\macro.mm
68 3 Programming
3.8 High-Level Language
And
The And operator performs logical conjunction on two expressions.
Syntax
<Result> = <expression 1> And <expression 2>
Parameter
The <expression> is a Boolean expression (True or False)
Result:
Example
E1=10
E2=3
IF E1<20 AND E2>0 THEN Result = True: execute instructions after Then
…..
END IF
Example
E1=10
E2=3
IF E1ISNOT NOTHING ANDALSO E2>E1 THEN If E1 does not have a value, E2>E1 is not evaluated.
Result = False: do not execute instructions after
Then
…..
END IF
70 3 Programming
3.8 High-Level Language
Is
The Is operator determines whether two object references refer to the
same object.
Syntax
<Result> = <expression 1> Is <expression 2>
Parameter
The <expression> is an object variable.
Result:
Example
E1=
ES2=””
IF E1 IS NOTHING THEN Result = True: execute instructions after Then
…..
END IF
Example
E1=10
ES2=”MENU”
IF E1 ISNOT NOTHING THEN Result = True: execute instructions after Then
…..
END IF
72 3 Programming
3.8 High-Level Language
Like
The Like operator compares two character strings
Syntax
<Result> = <text 1> Like <text 2>
Parameter
<Text> strings
Text and string parameters (ES) may be used as a <text> expression.
They must be programmed as a characters string enclosed in
quotation marks.
Result:
Example
ES1="WORD"
ES2="PROGRAM"
IF ES1 LIKE ES2 THEN Result=False: program jumps to End If
.....
.....
END IF
Example
E2=E3-E5
IF NOT E2=0 THEN Result = True: execute instructions after Then
.....
END IF
74 3 Programming
3.8 High-Level Language
Or
The Or operator performs a logical disjunction between two
expressions.
Syntax
<Result> = <expression 1> Or <expression 2>
Parameter
The <expression> is a Boolean expression (True or False).
Result
Example
E1=10
E2=3
IF E1=10 OR E2>10 THEN Result = True: execute instructions after Then
.....
END IF
.....
IF E1=9 OR E2>10 THEN Result=False: program jumps to End If
.....
END IF
Example
E1=10
E2=3
IF E1=10 ORELSE E3=0 THEN If the result of <expression 1> is true, <expression
2> is not evaluated because it cannot change the
final result. Result = True: execute instructions
after Then
.....
END IF
76 3 Programming
3.8 High-Level Language
Instructions
Below is an overview of the available instructions:
Instruction Description
Call Executes program run within a program on a
subprocedure (Sub).
78 3 Programming
3.8 High-Level Language
GoTo
Branches program run without restriction to a defined point ahead in
the program. This point must be identified with a label. Furthermore,
the label must be at the beginning of a line.
Syntax
GoTo <name>
…..
<Name>:
<instructions >
Parameters
E1=10
GOTO ENDSEARCH Jumps to the point with the EndSearch label
.....
ENDSEARCH:
.....
E1=10
IF E1>1 THEN Result = True: execute instructions after Then
E1=E1-1
.....
ELSE Result = False: Program run continues
E1=10
.....
END IF
80 3 Programming
3.8 High-Level Language
Select Case
Executes one or more instructions that depend on the result of a
specific test expression. The instruction consists of Select Case, Case
and End Select. The Case Else instruction is optional.
If the test expression after Select Case matches a value of the Case
instruction, only the instruction following this case is executed. If no
matching value is found, the Case Else instruction, if there is one, is
executed; otherwise, the instruction immediately after the End Select.
Syntax
Example
E1=10
SELECT CASE E1 Test expression is E1
CASE 1 If E1=1, execute instructions here
.....
CASE 10 If E1=10, execute instructions here
.....
CASE ELSE If E1 is neither 1 nor 10, execute instructions here
.....
END SELECT
E1=10
WHILE E1<10
E1=E1+1
.....
END WHILE
82 3 Programming
3.8 High-Level Language
Additional Functions
Operators Description
‘ An apostrophe (') marks the beginning of a
comment text.
‘
The ' operator marks the beginning of the user's comment.
Syntax
‘ Comment text
Example
‘ COMMENT TEXT
Nothing
The Nothing operator represents the standard value of any E
parameter or ES parameter.
Syntax
<E parameter> = Nothing
<ES parameter> = Nothing
Example
E1=NOTHING
ES2=NOTHING
86 4 Function Explorer
4.1 Milling Functions
Milling Functions
Path commands
G0 Rapid Traverse
G1 Linear Interpolation
G2 Circular CW
G3 Circular Counter-Clockwise
G11 Linear Chamfer Rounding Cycle
G37 Milling Operation
G61 Tangential Approach
G62 Tangential Exit
G74 Absolute Position Approach
G174 Tool Retract Movement
Working planes
G17 Main Plane XY, Tool Z
G18 Main Plane XZ, Tool Y
G19 Main Plane YZ, Tool X
Program linkage
G14 Repeat Function
G22 Subprogram Call
G23 Program Call
G29 Jump Function
Contouring behavior
G4 Dwell Time
G25 Enable Feed/Speed Override
G26 Disable Feed/Speed Override
G27 Reset Positioning Functions
G28 Positioning Functions
G94 Feed in mm/min (inch/min)
G95 Feed in mm/rev (inch/rev)
G97 Spindle Speed
G125 Lifting Tool on Intervention: OFF
G126 Lifting Tool on Intervention: ON
Path compensation
G39 Tool Offset Change
G40 Cancel Tool Radius Compensation
G41 Tool Radius Compensation, Left
G42 Tool Radius Compensation, Right
G43 Tool Radius Compensation to End Point
G44 Tool Radius Compensation Past End Point
Geometric functions
G9 Define Pole Position
G63 Cancel Geometric Calculations
G64 Activate Geometric Calculations
G70 Inch Programming
G71 Metric Programming
G72 Cancel Mirror Image and Scaling
G73 Mirror Image and Scaling
G78 Point Definition
G90 Absolute Programming
G91 Incremental Programming
G240 Contour Pre-Calculation: OFF
G242 Contour Pre-Calculation: On
Graphical simulations
G98 Graphic Window Definition
G99 Graphic Material Definition
G195 Graphic Window Definition
G196 End Graphic Model Description
88 4 Function Explorer
4.1 Milling Functions
Special functions
G300 Program Error Call
G303 M19 with Programmable Direction
G305 Synchronize CNC and PLC
G319 Read Actual Technology Data
G320 Read Actual G Data
G321 Read Tool Data
G322 Read Machine Constant Memory
G323 Read Cycle Data
G324 Read G Group
G326 Read Actual Position
G327 Read Operation Mode
G328 Read IPLC Marker or I/O
G331 Write Tool Data
G338 Write IPLC Marker or I/O
Contour programming
G9 Define Pole Position
G251 Free Linear Movement
G252 Free Circular Movement, CW
G253 Free Circular Movement, CCW
G261 Free Linear Movement, Tangential
G262 Free Circular Movement, CW, Tangential
G263 Free Circular Movement, CCW, Tangential
G265 Free Chamfer
G266 Free Rounding
G269 Free Contour Selection
Drilling cycles
G81 Drilling/Centering
G83 Deep-Hole Drilling
G85 Reaming
G86 Boring
G700 Face Turning
G781 Drilling/Centring
G782 Deep-Hole Drilling
G783 Deep-Hole Drill. Add Chip Break
G785 Reaming
G786 Boring
G790 Back-Boring
Threaded cycles
G84 Tapping
G740 Thread Milling Inside
G741 Thread Milling Outside
G784 Tapping
G794 Tapping, Interpolated
Cycle call
G77 Bolt Hole Circle
G79 Cycle Call
G179 ContourCycle Call
G771 Operation on Line
G772 Operation on Quadrangle
G773 Operation on Grid
G777 Operation on Circle
Measuring cycles
G49 Checking on Tolerances
G50 Processing Measuring Results
G148 Read Measure Probe Status
G149 Read Tool- or Zero Offset Values
G150 Change Tool- or Zero Offset Values
90 4 Function Explorer
4.1 Milling Functions
Workpiece measurement
G45 Measuring a Point
G46 Measuring a Circle
G145 Linear Measuring Movement
G620 Angle Measurement
G621 Position Measurement
G622 Corner Outside Measurement
G623 Corner Inside Measurement
G626 Datum Outside Rectangle
G627 Datum Inside Rectangle
G628 Circle Measurement Outside
G629 Circle Measurement Inside
G631 Measure Inclined Plane
G633 Angle Measurement 2 Holes
G634 Measurement Center 4 Holes
G636 Circle Measurement Inside (CP)
Operators
Arithmetic operators
Mathematical functions
Trigonometric functions
Relational operators
High-level language
&
And
Like
Not
Or
GoTo
Call
If...Then...Else
Select Case
While...End While
Support picture
Address description
X, Y, Z end point coordinates
B, C end point angles
B1= angle
B2= polar angle
L1= path length
L2= polar length
?90= end point abs. (X,Y,Z..)
?91= end point incr. (X,Y,Z..)
P1= point definition number
Format
G0 [axis coordinates]
Default setting
The modal function G0 is automatically effective when the program
starts, after CNC reset, after Cancel program, or after executing G37,
G77, or G79.
94 5 G0-G99 G Codes
5.1 G0 Rapid Traverse
Application
Point definition
A G0 block can contain up to four predefined points (Pn or P1=, P2=,
P3=, P4=).
The procedure is determined by:
The sequence: G0 P10 P1 P7 P11 or
The point definition: G0 P1=10 P2=1 P4=11 P3=7.
The combination of Pn and P1...4=n is not permitted.
Positioning logic
Every active axis must be programmed in a program block for traverse
movements at the start of a program and after a tool or swivel head is
replaced. This means that every axis is in the initial position. The
positioning logic determines the sequence of the traverse movements
in the rapid traverse.
Tool movement towards the workpiece:
3. Axis movement Z Y X
Changes to V5xx
See "G0..G3_G91" on page 492.
96 5 G0-G99 G Codes
5.2 G1 Linear Interpolation
Support picture
Address description
X, Y, Z end point coordinates
B, C end point angles
B1= angle
B2= polar angle
L1= path length
L2= polar length
?90= end point abs. (X,Y,Z..)
?91= end point incr. (X,Y,Z..)
P1= .. P4= point definition number
Format
Linear interpolation in the main plane: G1 {X...} {Y...} {Z...} {F...}
3D-interpolation: G1 X... Y... Z... {F...}
One rotary axis: G1 {A...} {B...} {C...} {F...}
Movements in more than one axis: G1 {X...} {Y...} {Z...} {A...} {B...}
{C...} {F...
Default setting
The modal function G1 is deleted by G0, G2, G3, G6, End of program
(M30), Cancel program, and CNC reset. G1 is automatically effective
after G36 is executed.
Changes to V5xx
See "G0..G3_G91" on page 492.
See "G1, G41 und G64" on page 493.
98 5 G0-G99 G Codes
5.2 G1 Linear Interpolation
Example
3D interpolation (see figure)
G0 X10 Y0 Z4 C0
G1 Z-10 F600
G94 F5=1
G1 C360 F1000
G0 Z20
G0 X20 Y0 Z4 C0
G1 Z-10 F600
G94 F5=1
G1 X5 C=360+270 F1000
G0 Z20
G0 X80 Y0 Z22 A0
G1 Z18 F600
G94 F5=1
G1 X20 A=360*10 F1000
G0 Z30
5.3 G2 Circular CW
Execution of a circular, clockwise movement with a programmed feed
rate.
Support picture
Address description
X, Y, Z end point coordinates
B, C end point angles
I center point in X/pitch in X
J center point in Y/pitch in Y
K center point in Z/pitch in Z
R circle radius
B1= angle
B2= polar angle
B3= polar angle for center
B5= angle of arc
L1= path length
L2= polar length
L3= polar length for center
?90= absolute center point (X,Y,Z..I,J,K)
?91= incremental center point(X,Y,Z..I,J,K)
P1= point definition number
Format
Full circle: G2/G3 [center point]
Arc less than or equal to 180: G2/G3 [end point] R...
More than one arc with the same radius using preprogrammed
points, where the arc is less than or equal to 180: G2/G3 P1=...
P2=.... P3=... P4=... R...
Arc less than or greater than 180: G2/G3 [center point] [end point]
G2/G3 [center point] B5=..
2.5D- interpolation G2/G3 [center point] [end point of arc] [end point
of linear- or rotary axis].
Spiral: G2/G3 center point] [end point of arc] [end point of linear- or
rotary axis] [pitch] G2/G3 [center point] [pitch] B5=...
Application
Arc greater than 180°
Center point coordinates
Tool axis Z Y X
Spiral pitch K J I
Spiral K J I
pitch
Changes to V5xx
See "G0..G3_G91" on page 492.
See "G2" on page 496.
G1 Linear movement
G2 Circular CW
G0
G1
G43 Tool radius compensation to workpiece (G43).
G42 Tool radius compensation right (G42).
G2 Circular CW (thread)
G40 Delete tool radius compensation (G40) .
G1
Support picture
Address description
X, Y, Z end point coordinates
B, C end point angles
I center point in X/pitch in X
J center point in Y/pitch in Y
K center point in Z/pitch in Z
R circle radius
B1= angle
B2= polar angle
B3= polar angle for center
B5= angle of arc
L1= path length
L2= polar length
L3= polar length for center
?90= absolute center point (X,Y,Z..I,J,K)
?91= incremental center point(X,Y,Z..I,J,K)
P1= point definition number
Format
See G2
Default setting
The modal function G3 is deleted by G0, G1, G2, G6, End of program
(M30), Cancel program, and CNC reset.
Application
See G2.
Changes to V5xx
See "G0..G3_G91" on page 492.
Support picture
Address description
X dwell time in sec.
D dwell time in revolutions of S
D1= dwell time in revolutions of S1
Format
G4 X... or D or D1=
Minimum dwell time: 0.1 seconds
Maximum dwell time: 983 seconds (approx. 16 minutes)
Application
Input values
Dwell time (X) 0.1-983 seconds
Revolutions (D or D1=) 0--9.9
Example
Dwell time
G4 X2.5
G4 Dwell time
X2.5 This block effects a dwell time between two
operations of 2.5 seconds.
Revolutions
G4 D2
G4 Dwell time
D2 This block effects a dwell time between two
operations that lasts for 2 spindle revolutions.
Support picture
Address description
A5=, B5=, C5= angle of rotation absolute This is used to define
the absolute rotations around the relevant positive axes. The
rotations are calculated as follows:
The active G7 rotation is canceled
C5= Rotation around the machine-based positive Z axis
B5= Rotation around the current positive Y axis
A5= Rotation around the current positive X axis
A51=, B51=, C51= incremental spatial angle The new working
plane is defined by adding the incremental angle to the active
angles. This means that the incremental angles are defined in the
machine-based coordinate system.
A7=, B7=, C7= E par. for position in A, B, C Reading of
calculated rotary axis position. Contains the number of an E
parameter. The calculated position of the corresponding rotary axis
is stored in this E parameter.
L tool length offsetIf the tilting movement takes place around the
tool tip (L1=2), L defines an allowance in the tool direction between
the programmed end point and the tool tip.
L1= 0=no move.,1=rot.axis, 2=tool tip The G7 tilting movement
is carried out on an interpolating basis with rapid traverse. It tilts the
tool axis onto the defined plane. Address L1= determines which
axes move.
L1=0 The axes do not move (default position). The tilting
movement can be carried out in a subsequent block using the E
parameters that are loaded with A7=, B7=, or C7=.
L1=1 Only the rotary axes interpolate, the linear axes do not
move.
L1=2 The rotary axes and the linear axes interpolate. This means
that the tool tip remains in the same position relative to the
workpiece.
Format
G7 {A5=..} {B5=..} {C5=..} {A51=..} {B51=..} {C51=..} {A7=..} {B7=..}
{C7=..} {L1=..} {L..} {L2=..} {I1=...} {B47=..}
Default setting
The modal function G7 is only canceled after programming of G7 only
(without angle parameters) or after Advance to reference point or CNC
reset. G7 is NOT canceled after Program end (M30) or Cancel
program.
Default setting L1=0.
Rotary axes
The rotary axes can be programmed as normal on the tilted plane. The
programmer is responsible for ensuring that the position of the rotary
axes conforms with the G7 rotation.
Display
A yellow symbol is shown in the display if G7 is active. A small "p" to
the right of the "axis letters" shows whether the position is shown in
the tilted machining plane or in machine coordinates.
Changes to V5xx
See "G7" on page 497.
Procedure
The new plane is activated with the current zero point.
1 The tool axis orients itself perpendicular to the new plane. The
machine configuration and the programming determine which
axes actually move
2 The display shows the coordinates on the new (tilted) plane. The
manual operation orients itself to the new plane
G7 Plane is set
T14 Tool preselection
...
G0 The tool axis is retracted
G7 Deselect G7
M6 Tool change
G0 Rapid traverse to the new starting position
G7 Head is turned back to the G7 plane
G7 L1=1 Reset G7
Support picture
Address description
L tool length offset
A5=, B5=, C5= angle of rotation absolute Defines the absolute
angle by which the working plane rotates around the corresponding
positive axis.
A6=, B6=, C6= angle of rotation incremental Defines the
incremental angle by which the working plane rotates around the
corresponding positive axis. The value lies between -359.999 and
359.999 [degrees].
B7=, C7= E par. for position in B, C
L1= 0=no move., 1=rot.axes, 2=tool tip
L2= -/+1,2,3 = Neg/Pos A,B,C angle
L3= radius compensation (0=on, 1=off)
F6= block feed
Format
G8 {A5=... | A6=...} {B5=... | B6=...} {C5=... | C6=...} {A7=...} {B7=...}
{C7=...} {L...} {L1=...} {F6=...}
Default setting
The modal function G8 is only canceled after programming of G8 only
(without angle parameters) or after Advance to reference point or CNC
reset. G8 is NOT canceled after Program end (M30) or Cancel
program.
Default setting L1=0, L3=0.
Tilting movement
The G8 tilting movement is performed on an interpolating basis with
feed rate (F6=). It tilts the tool axis onto the defined plane. Which axes
move depends on the movement type L1=:
L1=0 The axes do not move (default setting)
L1=1 Only the rotary axes tilt, the linear axes do not move
L1=2 The rotary axes tilt and the linear axes execute a
"compensating movement". This means that the contact
point position remains X, Y, Z
Tool compensation
The values L, R, and C are corrected for the tool during the "Tilt tool"
function (G8), depending on the tool radius compensation (L3=). This
G8 tool compensation is independent of G40, G41, G42, G43, G44 and
is always effective. If the corner radius (C) is less than the tool radius
(R), then a compensatory movement is carried out at the beginning
and end of the tool compensation, so that the contact point moves
from the tool tip to the corner radius. The current position of the linear
axes is recalculated if the tool dimensions (L, R, C) change during
active G8.
Graphic
G8 has no influence on the graphic.
Display
A yellow symbol is shown after the tool number in the display if G8 is
active. A small "p" to the right of the "axis letters" indicates whether the
position of the tool tip is shown or the position in machine coordinates.
Changes to V5xx
See "G8" on page 499.
G7 L1=1 Reset G7
G8 L1=1 Reset G8
Support picture
Address description
X, Y, Z pole coordinates
B1= angle
B2= polar angle
L1= path length
L2= polar length
?90= pole coordinate abs. (X,Y,Z..)
?91= pole coordinate incr. (X,Y,Z..)
Format
G17 active: G9 X... Y... {X90=...} {X91=...} {Y90=...} {Y91=...}
G18 active: G9 X... Z... {X90=...} {X91=...} {Z90=...} {Z91=...}
G19 active: G9 Y... Z... {Y90=...} {Y91=...} {Z90=...} {Z91=...}
Deactivate pole (equal to workpiece zero point) G9 X0 Y0
Pole in polar coordinates (G17, G18, G19 active):
Absolute: G9 B2=... L2=...
Incremental: G9 B1=... L1=...
Deactivating
This function is modal and is deactivated by programming a pole with
coordinates (0.0).
Mixture of coordinates
A mixture of different coordinates is also allowed. Absolute,
incremental, and polar are possible.
Changes to V5xx
See "G9_B2" on page 499.
G9 X48 Y39
G1 B2=135 L2=44
G1 B2=90 L2=42
G1 B2=45 L2=35
Support picture
Address description
X, Y, Z end point coordinates
B first angle
K first chamfer length
L first length
R first rounding radius
X1=, Y1= end point of second element
B1= second angle
K1= second chamfer length
L1= second length
P1= point definition number
R1= second rounding radius
Format
One-point-geometry(XY-plane)
G11 X... Y... {K...} {R...}
G11 B... L... {K...} {R...}
Two-point-geometry(XY-plane)
G11 X... Y... X1=... Y1=... {K...} {R...} {K1=...} {R1=...}
G11 B... L... X1=... Y1=... {K...} {R...} {K1=...} {R1=...}
G11 X... Y... B1=... L1=... {K...} {R...} {K1=...} {R1=...}
G11 B... L... B1=... L1=... {K...} {R...} {K1=...} {R1=...}
Two-line-geometry(XY-plane)
G11 B... X... Y... B1=... {K...} {R...} {K1=...} {R1=...}
The angles B and B1= must be programmed in the correct direction.
Two-point geometry
Programming in a block (see figure)
Of the end points (P1 and P2) of two separate linear movements.
Of a symmetrical chamfer (K) or rounding (R) between these
movements (if necessary).
Of a symmetrical chamfer (K1=) or rounding (R1=) between the last
and the next linear movement (if necessary).
Two-line geometry
Programming in a block of two separate linear movements: (see
figure)
The first linear movement with the angle with the principal axis.
The second linear movement with the end point and the angle with
the principal axis.
A symmetrical chamfer or rounding between these movements (if
necessary).
A symmetrical chamfer or rounding between the last and the next
linear movement (if necessary).
Single block
Every contour train is carried out separately in a single block.
Limitation
1 The G11- function must not be used for geometry calculations
(G64 active).
2 The G11- function must not be used to define a pocket or island
contour for the universal pocket cycle (G200 to G208).
3 A tool axis must not be programmed for G11.
Changes to V5xx
See "G11" on page 499.
N9010
G17 T1 M6 Activate main plane. Insert tool
G0 X100 Y10 Z-10 S1000 M3 Switch spindle on. Move the tool to point P and then to
the working depth
G1 F300 Define the feed rate as 300 mm/min
G43 X60 Move the tool to the corner of the hexagon
G41 Y0 Call the radius compensation LEFT
G11 B-90 L103.923 K60 Sides 1 and 2 are milled
The following have been programmed:
- The point of intersection for sides 1 and 3
- The chamfer (K expression) around this point
G11 B150 L103.923 K60 Sides 3 and 4 are milled
The following have been programmed:
- The point of intersection for sides 3 and 5
- The chamfer (K expression) around this point
G11 B60 L60 Side 5 is milled
G11 B0 L60 Side 6 is milled
G40 Delete radius compensation
G1 X100 Y10 Move the tool away from the workpiece
G0 Z100 M30 Tool retraction and end of program
N9011
G17 T1 M6 Activate main plane. Insert tool
G0 X100 Y10 Z-10 S1000 M3 Switch spindle on. Move the tool to point P and then to the working
depth.
G1 F300 Enter the linear movement and specify the feed rate.
G43 X60 Move the tool to the corner of the hexagon,
G41 Y0 Call the radius compensation LEFT.
G91 Switch to incremental measurement programming. The length
values in the next blocks are measured from the previous tool
position.
G11 B-120 L120 K60 B1=-120 L1=120 Sides 1, 2, and 3 are milled.
The following have been programmed:
- The point of intersection for sides 1 and 3 (B and L)
- The chamfer (K-expression) around this point
- The end point of side 3 (B1= and L1=).
G11 B60 L120 K60 B1=-60 L1=120 Sides 4, 5, and 6 are milled.
The following have been programmed:
- The point of intersection for sides 4 and 6 (B and L)
- The chamfer (K-expression) around this point
- The end point of side 6 (B1= and L1=).
G40 Delete radius compensation.
G90 Switch back to absolute measurement programming.
G1 X100 Y10 Move the tool away from the workpiece
G0 Z10 M30 End of program
N9012
G17 T1 M6 Activate main plane. Insert tool (milling tool diameter 10 mm).
G0 X80 Y25 Z0 S1000 M3 Switch spindle on. Move the tool to point B and then above the
workpiece.
G1 Z-10 F300 Move the tool to working depth.
G43 X105 Move the tool to the starting point for the entry circle.
G42 Call the radius compensation RIGHT.
G2 X80 Y0 R25 F300 Advance to the contour over the entry circle.
G11 X0 Y90 B180 B1=90 R15 R1=15 Mill- Along the X axis (B180)
- Along the radius (R15)
- Along the Y-axis (B1=90)
- Along the second radius (R1=15).
G11 X60 Y150 B0 B1=90 R1=15 Mill- Parallel to the X-axis (B0)
- Parallel to the Y-axis (B1=90)
- Along the second radius (R1=15).
G11 X200 Y0 B0 B1=120 R15 R1=20 Mill -parallel to the X-axis (B0)
- Follow the first radius (R15)
- Along the 60-ramp (B1=120)
- Follow the second radius (R20).
G1 X80 Y0 Mill along the X-axis up to the starting point of the circular movement
that leaves the contour.
G2 X55 Y25 R25 Leave the contour with a circular movement.
G40 Delete radius compensation.
G0 Z200 M30 Tool retraction. End of program.
Support picture
Address description
J number of repeats
K repeat decrement
N1= repeater begin block
N2= repeater end block
Format
G14 N1=... {N2=...} {J...} {K...}
Application
The block numbers N1= and N2= must both be in the same part
program or subprogram.
If N2= is not programmed, then only the block identified with N1=
is repeated in accordance with specifications.
If the parameter for the number of repetitions J is not programmed,
the program run is only repeated once. J does not have to be a
whole number. The number of repetitions is determined by the
value before the decimal point
A repeating program run can be incorporated into another repeating
program run. The nesting depth can be adjusted in the configuration
file "CfgNestingLevels( repeatlevels:=4)"
Only one repetition is carried out in a G14 block, if J>0. The CNC
uses the standard value K1 if the K parameter is not programmed.
Changes to V5xx
See "G14_E" on page 500.
Support picture
Address description
No specific addresses.
Application
Modality
G17 is modal with G18 and G19.
Default setting
The last active plane always takes effect after switch-on.
Milling head
When a milling head is used, the axis configuration of the tool machine
remains unchanged. The tool axis and the tool length compensation
are determined by the head position.
Deleting
The G17 function is deleted by switching to a different working plane
using G18 or G19.
Application
The machine can process workpieces in various working planes when
turning. The working plane during turning (G36) is defined with:
G17 Y1= 1 Z1=2, tool axis Z (vertical) (see figure).
The G17 function defines the axis in which the tool data for length (L)
and radius (R) is calculated:
G17: L in Z direction, R in Y direction
During turning, machining is carried out as individual DIN commands
in the YZ or XZ working area. In the various working planes, machining
with turning cycles is only carried out in the YZ working surface.
Note
Y1=1 (first main axis); Z1=2 (second main axis).
The angle (positive) and circle direction (CW) are defined from the Y
axis to the Z axis.
The G17 plane during turning overwrites the current G17/G18 plane
during milling.
G37 (milling) switches the G17 plane during turning back to the
current G17/G18 plane during milling.
Depending on the tool orientation (O), the tool radius (R) is
calculated as a shift in the Y axis.
Support picture
Address description
No specific addresses.
Application
Modality
G18 is modal with G17 and G19.
Default setting
The last active plane always takes effect after switch-on.
Milling head
When a milling head is used, the axis configuration of the tool machine
remains unchanged. The tool axis and the tool length compensation
are determined by the head position.
Deleting.
The G18 function is deleted by switching to a different working plane
using G17 or G19.
Application
The machine can process workpieces in various working planes when
turning. The working plane during turning (G36) is defined with:
G18 Y1=1 Z1=2, tool axis Y (horizontal) (see figure).
The G18 function defines the axis in which the tool data for length (L)
and radius (R) is calculated:
G18: L in Y direction, R in Z direction
During turning, machining is carried out as individual DIN commands
in the YZ or XZ working area. In the various working planes, machining
with turning cycles is only carried out in the YZ working surface.
Note:
Y1=1 (first main axis); Z1=2 (second main axis).
The angle (positive) and circle direction (CW) are defined from the Y
axis to the Z axis.
The G18 plane during turning overwrites the current G17/G18 plane
during milling.
G37 (milling) switches the G18 plane during turning back to the
current G17/G18 plane during milling.
The tool radius (R) is calculated as a shift in the Z axis, depending on
the tool orientation (O).
Support picture
Address description
No specific addresses.
Application
Modality
G19 is modal with G17 and G19.
Default setting
The last active plane always takes effect after switch-on.
Milling head
When a milling head is used, the axis configuration of the tool machine
remains unchanged. The tool axis and the tool length compensation
are determined by the head position.
Deleting
The G19 function is deleted by switching to a different working plane
using G17 or G18.
Support picture
Address description
E parameter definition
N= subprogram name
N5= folder
O1= call status
Format
Calling a macro:
G22 N=... {N5=...} {E...=} {O1=E...}
Activating a macro on the condition that E...>0:
G22 E... N=... {N5=...} {E...=} {O1=E...}
Application
Subprogram name (N=)
The name of the subprogram can be a number or (N=...).
The desired subprogram can be called with a file name or the file
number. For this purpose, the full subprogram name (including
<.mm>) must be enclosed in double quotation marks <"> in the N=
parameter. For example, G22 N="subprogram.mm". The only file
name extension that is allowed is .mm.
Nesting macros
If another macro is called from within a macro, then the called macro
is referred to as a nested macro. At the end of a nested macro, the
execution of the calling macro is continued
M30 in a macro
The full program execution is stopped after M30 in a macro.
Procedure
A macro is executed in full if it is called from within a main program or
another macro. After the macro has been executed, program
execution continues with the next block after G22.
Example
Calling a macro from another macro. (see figure)
The macro 9001 is called in block N4 of main program 9451.
This macro is executed up to N3. Macro N9002 is called in this block.
Macro 9002 is processed in full before jumping back to the first block
after the G22 block in macro 9001. Execution of this macro is then
continued from N4 to the end. The system then jumps back to block
N5 of the main program 9451.
Support picture
Format
G23 N=... {N5=...} {O1=E...}
Address description
N program name
N5= folder
O1= call status
Application
Main program name (N=)
The desired main program can be called with the file name or the file
number. For this purpose, the full main program name (including
<.pm>) must be enclosed in double quotation marks <"> in the N
parameter. For example G22 N="main program.pm". The only file
name extension that is allowed is .pm.
Support picture
Address description
No specific addresses.
Default setting
G25 is automatically effective at the start of a part program.
Application
Modality
G25 is modal with G26.
Example
Switching on the feed and speed override
G25
Support picture
Address description
I2= 1=F100%; 2=S100%; 3=F+S100%
Format
G26 I2=
Default setting
I2=1 is activated if the address I2= is not programmed for G26.
Application
Disabling the feed override (F=100%):
G26 I2=1
G26
Disabling the speed override (S=100%):
G26 I2=2.
Disabling the feed and speed override (F and S=100%):
G26 I2=3
Modality
G26 is modal with G25.
Cancelation
G26 is deleted with G25, M30, Cancel program, or CNC reset.
Changes to V5xx
See "G26" on page 500.
G26 I2=3 Disable the feed and speed override, i.e. fix F and S
at 100%
Support picture
Address description
No specific addresses.
Format
G27
Application
Modality
G27 is modal with G28.
Deleting parameters
All parameters used for G28 are reset to their fixed default values with
G27, CNC reset, Cancel program, or by M30.
G27 is automatically effective at the start of an NC program.
G27 results in G28 I5=0 I6=100 I7=0
Setting options for the positioning functions. The feed rate and rapid
traverse movements, positioning logic, acceleration, jerk and contour
tolerance can be defined.
Support picture
Address description
I5= position logic: 0=with, 1=without
I6= reduction acceleration/jerk [%]
I7= contour tolerance
Format
G28 {I5=...} {I6=...} {I7=...}
Default setting
Deleting individual options: G28 {I5=0} {I6=100} {I7=0}
Deleting all options: G27
G28
Positioning logic for G0
G28 I5=0 G0 with positioning logic (on-position)
G28 I5=1 G0 without positioning logic
Reducing acceleration and jerk
G28 I6=100 Factor I6= (between 5 and 100%, normal value 100%)
G28 I6=... overrules the following machine parameters:
Path: maxPathJerk and maxPathYank
Axis: maxAcceleration, maxDeceleration, and
maxJerk)
Address I6= is effective for G0, G1, G2, G3.
Movement with programmable contour tolerance
G28 I7=0 I7= between 0 and 10,000 [mm/inch]). Machine
G28 I7=... parameter pathTolerance applies as the normal value
for I7=0. Machine parameter pathToleranceHi is not
overruled by address I7=.
Address I7= is effective for G0, G1, G2, G3.
Changes to V5xx
See "G28" on page 501.
Support picture
Address description
I search direction
K jump decrement
E jump condition: E > 0
N= jump to block number
Format
G29 {E...} N=... {K...} {I...}
Application
The E parameter is used as the jump condition.
The jump is unconditional if E... has not been programmed.
If E... was programmed, the jump is only executed if the value of E...
is>0. The value of the E parameter is reduced by the value of the K
address if K >=0. If K <-0.5 , then an error message is issued.
The E parameter is reduced by 1 after each jump if the K address was
not programmed.
Further jump conditions such as =, <>, >, >=, <, <= can be
programmed if a relational expression is used together with the G29
function.
Jumps can be made both forwards and backwards in a program. This
can be controlled with the I address. With I=1 or I=0, only forward
searches are performed. If I=-1 or no data is specified, the system first
jumps to the start of the program before searching forwards for the
block number.
Conditional jump
N50 G1 ...
...
G29 E1 N=50 E1=E2>E3
Support picture
Address description
L depth Distance between the workpiece surface and the thread
end. The algebraic sign determines the working direction.
F2= pitch Pitch of the thread. No algebraic sign. The feed rate is
calculated from the rotational speed and the thread pitch.
D orientation angle spindle Angle at which the tool is positioned
before the thread is cut. This means you can recut the thread if
necessary. Only effective for interpolating tapping.
L1= setup clearance Distance between the tool tip (starting
position) and the tool surface.
C1= cutting depth until chip break Infeed which is followed by
a chip break. No algebraic sign.
C5= retract distance for chip break The tool is retracted by the
specified distance during chip breaking. Entering 0 means that it is
fully retracted from the hole (to the safety clearance) for chip
removal. No algebraic sign.
D3= dwell time at bottom Dwell time at the bottom of the thread.
I1= guided or interpolated 0= guided, 1 =interpolating.
I2= thread direction (0=right, 1=left) Specifies a right-hand
or left-hand thread:
I2=0 right-hand thread (clockwise)
I2=1 left-hand thread (counter-clockwise).
Procedure
Procedure for a guided tapping movement (I1=0)
Start with a running or stationary spindle. The tool axis is synchronized
with the spindle speed during the build-up of the movement. The tool
moves to thread depth at the calculated feed rate. The spindle speed
is reduced in line with the tool axis. The spindle comes to a stop at the
end of the movement.
Procedure for an interpolated tapping movement (I1=1)
Start with a stationary spindle. The spindle starting angle (D) is
approached if programmed. The spindle speed increases in line with
the tool axis. The tool moves to thread depth at the calculated feed
rate. The spindle speed is reduced in line with the tool axis.
1 Depending on the definition, the tool executes a spindle
orientation.
2 The tool travels the programmed safety clearance; the feed rate is
synchronized with the speed.
3 The tool moves to the programmed infeed depth, the direction of
spindle rotation is reversed, and the tool retracts by a specific
distance or fully for purposes of chip release, depending on the
definition.
4 The direction of spindle rotation is then reversed again and the tool
advances to the next plunging depth.
5 This process (3 to 4) is repeated until the programmed thread
depth is reached.
6 Waiting time; depends on the definition.
7 The tool is then retracted to the safety clearance and the spindle
comes to a stop.
Support picture
Address description
No specific addresses.
Application
The CNC reactivates the C-axis.
If the turning spindle is still rotating at the start of G37, it is stopped
first.
The position of the rotary axes is shown on the screen monitor with
a value between 0 and 359.999 degrees.
G94 is activated.
G37 remains active until it is canceled by G36. G37 is not canceled
by M30 or Cancel program. G37 is always active after control run-up
or CNC reset.
Support picture
Address description
L tool length offset
R tool radius offset
Format
G39 {R...} {L...}: activate offset
G39 L0 and/or R0: deactivate offset
Default setting
G39 L0 R0
The G39 function is deleted by End of program (M30), Cancel program,
and CNC reset.
Changes to V5xx
See "G39_G41_L" on page 501.
N39001
G98 X-10 Y-10 Z10 I120 J120 K-60 Specify the graphic window
G99 X0 Y0 Z0 I100 J100 K-40 Specify material
T1 M6 Insert the tool (milling radius 5 mm)
G39 L0 R9 Activate tool radius offset. The offset is 9 mm. (The milling radius for
radius compensation is (5+9 =) 14 mm).
F500 S1000 M3 Activate feed rate and spindle speed
G0 X0 Y-20 Z5 Advance to starting position
G1 Z-10 Go to depth
N8 G43 X18 Advance to contour with radius compensation
G41 Y82 Rough the rectangle for the first time.
X82
Y18
X0
N13 G40 Switch off radius compensation
G39 R0.5 Change the tool radius offset. The offset is 0.5 mm. (The milling
radius for radius compensation is (5+0.5 =) 5.5 mm).
G14 N1=8 N2=13 Repeat rectangle (2nd roughing movement).
G39 R0 Change the tool radius offset. The offset is 0 mm. (The milling radius
for radius compensation is 5 mm).
G14 N1=8 N2=13 Finish rectangle.
G0 Z10 Retract the tool
M30 End of program
Support picture
Address description
No specific addresses.
Application
Modality
G40 is modal with G41, G42, G43, G44, and G141.
Default setting
G40 automatically takes effect after:
Control activation
CNC reset
Program cancelation
M30.
Changes to V5xx
See "G40_G91" on page 502.
See "G41-G42_G40" on page 503.
Example
Delete radius compensation
G42
G1 X...
G1 X... Y...
G40
Support picture
Address description
No specific addresses.
Application
Modality
G41 is modal with G40, G42, G43, G44, and G141.
Tool radius
The tool radius stored in the tool table is used for the radius
compensation. It is assumed that this radius is positive when the
program is executed. The following applies if the radius value is
negative:
G41 and negative radius = G42 and positive radius
An error is reported if the tool radius is too great in relation to the
contour (e.g. circle radius, internal corner etc.).
Nominal radius
When the nominal radius is used in programming, G39 (negative
allowance equal to nominal radius) still allows the actual radius to be
used for G41.
Changes to V5xx
See "G41-G42" on page 503.
See "G39_G41_L" on page 501.
See "G1, G41 und G64" on page 493.
See "G54_G41" on page 504.
See "G61-G62_G41-G42" on page 504.
See "G79_G41" on page 510.
Support picture
Address description
No specific addresses.
Application
Modality
G42 is modal with G40, G41, G43, G44, and G141.
Tool radius
The tool radius stored in the tool table is used for the radius
compensation. It is assumed that this radius is positive when the
program is executed. The following applies if the radius value is
negative:
G42 and negative radius = G41 and positive radius
An error is reported if the tool radius is too great in relation to the
contour (e.g. circle radius, internal corner etc.).
Nominal radius
When the nominal radius is used in programming, G39 (negative
allowance equal to nominal radius) still allows the actual radius to be
used for G42.
Changes to V5xx
See "G39_G41_L" on page 501.
See "G41-G42" on page 503.
See "G61 und G62" on page 504.
Support picture
Address description
No specific addresses.
Application
Modality
G43 is modal with G40, G41, G42, G44, and G141.
Using G43
G43 can only be used in connection with a paraxial movement.
Applying the G43 function in connection with a circular movement
produces an error message. Circular movements should only be
programmed in connection with G41 or G42.
G0
G1
G43 Radius compensation to end point
G41 Activate left-hand radius compensation
Support picture
Address description
No specific addresses.
Application
Modality
G44 is modal with G40, G41, G42, G43, and G141.
Using G44
G44 can only be used in connection with a paraxial movement.
Applying the G44 function in connection with a circular movement
produces an error message. Circular movements should only be
programmed in connection with G41 or G42.
Example
Switching on radius compensation
Similar to G43.
Support picture
Address description
X, Y, Z measurement target coordinates
B, C measurement target angles
I measurement direction for X axis
J measurement direction for Y axis
K measurement direction for Z axis
L measurement direction rotary axis
E parameter no. measured coordinate
N= point no. for measured coordinate
X1= measurement path length
?90= abs. measurement target angle (X,Y,Z..)
?91= incr. measurement target angle (X,Y,Z..)
P1= point definition number
Format
G45 [measuring position] {I+/-1} {J+/-1} {K+/-1} {L+/-1} {X1=...} {N=...}
{P1=...)
The plane for the rotary table is determined by the definition of the 4th
axis. This must be configured as rotary axis B or C. L refers to the 4th
axis B or C. Rotary axis A is not allowed.
Measuring position
Position A which is to be measured (see figure) is entered using the
measuring point coordinates. The pre-measurement distance X1=
defines the measuring range before the measuring point. The
specified pre-measuring distance is used if X1 is not programmed.
The specified pre-measuring distance (SECU) and the total measuring
distance (DIST) are stored in the tool table group "touch probe",
Restrictions
A G45 block can only be used to measure an axis coordinate
In the tool axis, measurements can only be taken in a negative
direction.
Procedure
The touch probe moves to the pre-measurement position in rapid
traverse; this position is defined by the programmed position and the
pre-measurement distance in the axis to be measured. This
movement is executed with positioning logic. Once the touch probe
has reached the pre-measurement position, it travels along the
specified axis in the programmed direction and at the probe feed rate
until it reaches the programmed position. When the touch probe
makes contact with the workpiece, the measured coordinate is saved.
The touch probe then returns to the pre-measurement position in rapid
traverse.
Support picture
Address description
X, Y, Z center point coordinate
B, C measurement target angles
I measurement direction for X axis
J measurement direction for Y axis
R circle radius
E parameter no. measured radius
N= point no. measured center point
X1= measurement path length
?90= center point abs. (X,Y,Z..)
?91= center point incr. (X,Y,Z..)
P1= point definition number
Format
Measuring the inside circle:
G46 [circle center point coordinates] R... {I+1 J+1} {I+1 K+1} {J+1
K+1} {F...} {X1=...} {P1=...} N=... E...
Measuring the outside circle:
G46 [circle center point coordinates] R... {I-1 J-1} {I-1 K-1} {J-1 K-1}
{F...} {X1=...} {P1=...} N=... E...
Application
Tool table
The touch probe must be entered in the tool table as a touch probe
(T_P).
Measuring positions
Four positions are measured when a G46 block is executed. The
measurements are taken as if four G45 blocks were programmed. The
pre-measurement distance X1= defines the measuring range before
each programmed position. The specified pre-measuring distance is
used if X1 is not programmed.
The specified pre-measuring distance (SECU) and the total measuring
distance (DIST) are stored in the tool table group "touch probe",
Procedure
The touch probe moves to the pre-measurement position for the first
point to be measured in rapid traverse. This position is defined by the
programmed circle center point, the programmed radius, and the pre-
measurement distance. This movement is executed with positioning
logic. Once the touch probe has reached the pre-measurement
position, it travels at the probe feed rate to the first point on the
programmed circle. The probe can travel past this point but it must
respond within the range of the measuring distance. This
automatically saves the measuring position. The touch probe then
returns to the initial position with rapid traverse, before travelling
clockwise around the circle at the programmed feed rate until it
reaches the second pre-measurement position. This process is
repeated for the second, third, and fourth positions. Once the fourth
position has been measured, the four measured points are used to
calculate the circle center point and the radius. The coordinates for the
circle center point are stored in the points table, while the radius is
stored in the E parameter table.
Format
Measuring the inside ring gauge:
G46 {I+1 J+1} {I+1 K+1} {J+1 K+1} {F...} {X1=...} M26
Measuring the outside ring gage:
G46 {I-1 J-1} {I-1 K-1} {J-1 K-1} {F...} {X1=...} M26
Example
Measuring an inside- and outside circle in the XY-plane
G46 X30 Y25 Z20 I+1 J+1 R12.5 F3000 N=59 E24
G46 X30 Y25 Z20 I-1 J-1 R20 F3000 N=58 E23
Support picture
Address description
X, Y, Z positive tolerance value in X, Y, Z
B, C positive tolerance value in B, C
R positive tolerance circle radius
N= jump to block number
N1= repeater begin block
N2= repeater end block
X1= Y1= Z1= negative tolerance value in X, Y, Z
B1= C1= negative tolerance value in B, C
R1= negative tolerance circle radius
Format
If the difference falls within the tolerance limits, then program
execution continues with the block after G49.
If the difference falls outside the tolerance limits, the following options
apply:
Program section repeat:
G49 {X.., X1=...} {Y..., Y1=...} {Z..., Z1=...} {B..., B1=...} {C..., C1=...}
{R..., R1=...} N1=... N2=...
Program jump:
G49 {X..., X1=...} {Y..., Y1=...} {Z..., Z1=...} {B..., B1=...} {C..., C1=...}
{R..., R1=...} N=...
Error message
MillPlus issues an error message if the measuring difference has
exceeded a specific limit or is not available. MillPlus also issues an
error if no program repeat or a jump have been programmed.
Jump
The address N= is used to specify a jump if a specific limit is
exceeded. The jump is executed once. The address N= is used to
specify the block number in the same main program or macro that the
jump is made to.
Changes to V5xx
See "G49_E" on page 503
Example
Tolerance comparison
G49 R.02 R1=2 N=13
G49 R2 R1=.02 N1=1 N2=6
Support picture
Address description
X, Y, Z 1=zero point shift in X, Y, Z
B, C 1=zero point shift in B, C
I multiplication factor for X
J multiplication factor for Y
K multiplication factor for Z
L multipl. factor for rotary axis
T tool dimensions to be corrected
N= offset no. for correction (52-59)
X1= multiplication factor for tool radius
B1= prog. angle in B after calculation
C1= prog. angle in C after calculation
L1= 1=correction of tool length
R1= 1=correction of tool radius
Format
Compensating zero point shift G52, G54 to G59:
G50 {X1} {I...} {Y1} {J...} {Z1} {K...} {B1} {C1} {C2} {B1=} {C1=} {L...}
N=..(52, 54 to 59)
Compensating zero point shift G54:
G50 {X1} {I...} {Y1} {J...} {Z1} {K...} {B1} {C1} {C2} {B1=} {C1=} {L...}
N=54.(54.00 to 54.99)
Compensating tool length:
G50 T... L1=1 {I...} {J...} {K...} {T2=...}
Compensating tool radius:
G50 T... R1=1 {X1=...} {T2=...}
T31 M67
M27
G46 X50 Y40 Z-5 R15 I1 J1 F500 E5
G49 R0.02 R1=2 N=21 E5
G49 R2 R1=.02 N=17 E5
G29 E10 E10=1 N=23
N17 G50 T1 R1=1
M28
N21 M0
N22 (HOLE OUTSIDE TOLERANCE RANGE)
N23 M30
G21
N22 Error message
Support picture
Address description
No specific addresses.
Application
Modality
G51 is modal with G52.
Associated functions
G52, G52 I[no.], G53, G54... G59, G54 I[no.], G92, G93.
Support picture
Address description
I zero point index Index number of the zero point to be activated.
Format
Activating pallet zero point shift:
G52 (activate NP value in G52 I0) or (activate an individual pallet zero
point)
G52 I[no.] (activate pallet zero point Ixx and copy to I0).
Default setting
The modal function G52 (Ixx) is deleted by G51 or CNC reset.
G52 remains active after Cancel program, M30, or Switch CNC on/off.
Associated functions
G51, G53, G54... G59, G54 I[no.], G92, G93, G149, G150
Support picture
Application
A zero point shift (G54 Ixx or G54 - G59) is canceled by G53.
A pallet zero point (G52) is not canceled by G53.
A program zero point shift (G92 - G93) is canceled by G53.
Support picture
Address description
X, Y, Z zero point coordinates
A, B, C zero point angles
Addresses that are only available for G54:
I zero point index Index number of the zero point to be activated.
B4= angle of rotation absolute The coordinate system is rotated
by the angle B4=.
Application
Modality
The functions G53 and G54 Ixx or G53 to G59 form a modal group.
Associated functions
G51, G52, G53, G92, G93, G149, G150
Default setting
The functions G54 to G59 are deleted with CNC reset or by
programming G53.
The functions G54 Ixx and G54 to G59 remain active after Cancel
program and M30.
There are 2 options for entering the shift values in the zero point table:
1 The values of the zero point shifts G54 I[no] or G54 to G59 are
entered in the zero point table via the control panel or from a data
carrier before the program is executed.
Changes to V5xx
See "G54_G41" on page 504
G54
G55
G54 I1
G54 I2
G53
Support picture
Address description
X, Y, Z end point tangential approachThe programmed end point
for G61 is the starting point for the contour.
P1 point definition number
R radius The programmed approach circle radius is the radius for
the tool center point path, i.e. without tool radius compensation.
X1=, Y1=, Z1= auxiliary point in X, Y, ZThe auxiliary point can
be programmed in the tool axis. In G17 with the Z1= address, in G18
with Y1=, and in G19 with X1=.
B2= polar angle The end point can also be programmed on a polar
absolute basis. The tool axis cannot be programmed in this case.
L2= polar length The end point can also be programmed on a polar
absolute basis. The tool axis cannot be programmed in this case.
I2= tangential approach definition Approach movement to the
end point (contour starting point).
I2=0 with arc and tangentially (default setting).
I2=1 with quarter circle and tangentially.
I2=2 with semi-circle and tangentially.
I2=3 with full circle and tangentially.
I2=4 with a line parallel to the contour and tangentially.
I2=5 perpendicularto the contour point
?90= end point abs. (X,Y,Z..)
?91= end point incr. (X,Y,Z..)
Format
Cartesian:
G61 {I2=...} X... Y... Z... R... [{X1=...} {Y1=...} {Z1=...}
Point definition:
G61 {I2=...} P1=... R... [{X1=} {Y1=}] {Z1=}
Polar:
G61 {I2=...} B2=... L2=... R... [{X1=} {Y1=}] {Z1=}
Radius compensation
The approach side is determined by the active function G41/G42.
The radius compensation (G41/G42) must be activated immediately
before the G61-block.
Restrictions
G61 is not allowed during operation of G64, G182-, and MDI-.
Specific restrictions apply for the blocks immediately after the
approach movement (G61). Only following functions G64, G0, G1, G2,
G3 with movements in the working plane are allowed.
Rotary axis positions must not be programmed during G61.
G1 does not take effect automatically if no G-function has been
programmed after the G61-block. The last movement of the G61
function can be G1, G2, or G3.
Changes to V5xx
See "G61 und G62" on page 504.
G0 X0 Y0 Z30
G41
G61 I2=2 X20 Y20 Z-5 Z1=10 R5 F2=200
G64
G3 I20 J50 R1=0
G1 X60 Y60
G63
G62 I2=2 Z1=10
G40
Support picture
Address description
X, Y, Z, end point tangential exit The end point for G62 can
only be programmed in the case of a tangential exit with an arc
(I2=0).
P1 point definition number
R radius The programmed exit circle radius is the radius for the tool
center point path, i.e. without tool radius compensation.
X1=, Y1=, Z1= auxiliary point in X, Y, ZThe auxiliary point can
be programmed in the tool axis. In G17 with the Z1= address, in G18
with Y1=, and in G19 with X1=.
B2= polar angle The end point can also be programmed on a polar
absolute basis. (Only for I2=0).
L2= polar length The end point can also be programmed on a polar
absolute basis. (Only for I2=0).
I2= Tangential exit definition
Exit movement to the auxiliary point:
I2=0 with arc and tangentially.
I2=1 with quarter circle and tangentially.
I2=2 with semi-circle and tangentially.
I2=3 with full circle and tangentially.
I2=4 with a line parallel to the contour and tangentially.
I2=5 perpendicular.
?90= end point abs. (X,Y,Z..)
?91= end point incr. (X,Y,Z..)
Format
Intermediate point equal to end point:
G62 I2>0 Z1=... R... {F2=}
With arc, Cartesian:
G62 I2=0 X... Y... Z... Z1=... R...
With arc, polar:
G62 I2=0 B2=... L2=... Z... R...
Radius compensation
Radius compensation is switched off in the G62-block. The movement
to the calculated intermediate position is still carried out with radius
compensation.
Restrictions
G62 is not allowed during operation of G64, G182-, and MDI-.
G1 is automatically takes effect if no G-function has been programmed
after the G62-block.
Changes to V5xx
See "G61 und G62" on page 504.
Example
See example G61.
Support picture
Address description
No specific addresses.
Application
Modality
The functions G63 and G64 form a modal group.
Default setting
G63 automatically takes effect after:
Control activation
CNC reset
Program cancelation
M30.
Programming
An absolute position must be programmed in the final block, before
the geometry calculations are canceled with G63.
Complete blocks must be programmed after the G63 block.
Changes to V5xx
See "G63 und G64" on page 506
Support picture
Address description
See addresses in sections "Address description for straight line" on
page 196 and "Address description for circle" on page 201.
Basic functions
Fundamentals of geometry application
A minimum of two data blocks are always required where a calculation
is necessary. Each block is programmed with the standard G functions
for straight-line movements (G0 and G1) and circular movements (G2
and G3), as well as with specifications to define the straight lines or
circles. The blocks do not have to contain all the data previously
specified. Specific special words (indicator addresses) allow the
control to calculate the missing data. The first block determines the
position of the starting point. The second block provides the data for
calculating the end point coordinates in the first block, e.g. as a
tangential point or point of intersection of two elements. This end
point is also the starting point for the second block.
The following elements can be inserted between these movements:
A chamfer (between straight-line movements),
A rounding arc (at the point of intersection of intersecting elements),
A connecting circle (between elements that do not intersect or are
not tangential)
It can happen that the data in the second block is insufficient to
calculate the end point in the first block. In this case, the control
attempts to calculate the end point for the second and first blocks
from the subsequent blocks (maximum 32).
Application
Modality
G64 is modal with G63.
Plane selection
The plane in which the geometry calculations are carried out is
determined with G17 (XY-plane), G18 (XZ plane), or G19 (YZ plane).
The definition of the angle B1= refers to the + X axis in the XY or the
XZ plane or the – Z axis in the YZ plane.
Macros
Geometry calculations can be used in the macro. All geometry blocks
between G64 and G63 must be in the same macro.
Repeat function
Geometry calculations can be used in the repeat view of the part
program (G14 or G29). All geometry blocks between G64 and G63
must be in the same program section.
Changes to V5xx
See "G1, G41 und G64" on page 493.
See "G63 und G64" on page 506.
See "G2" on page 496.
Straight line
Address description for straight line
X, Y, Z end point coordinates
I chamfer length
X1= Y1= end point of second element
B1= angle
B2= polar angle
I1= parallel shift
J1= 1=intersection left, 2=right
L2= polar length
P1= point definition number
R1= R1=0 tangent to line
Possible parameters for straight lines between G64 and G63 blocks.
G1 X0 Y0
G1 B1=45 (G64 STRAIGHT LINE WITH ANGLE)
G1 B1=0 X100 Y50
G1 X0 Y0
G1 R1=0 (G64 STRAIGHT LINE TANGENTIAL TO THE
CIRCLE)
G2 I50 J50 X60 Y50
G1 X0 Y0
G1 B1=0
G1 B1=45 R1=0 (G64 STRAIGHT LINE WITH AN ANGLE
TANGENTIAL TO THE CIRCLE)
G2 I50 J50 X60 Y0
G1 X0 Y0
G1 B1=90
G1 X0 Y0 B1=45 I1=20 (G64 STRAIGHT LINE PARALLEL TO
STRAIGHT LINE THROUGH AUXILIARY POINT AND
ANGLE)
G1 X0 Y100 B1=-90
G1 X50 Y50
G2 I50 J40 R1=0
G1 X0 Y0 (G64 STRAIGHT LINE IS TANGENTIAL TO THE
PREVIOUS CIRCLE)
Chamfer
The chamfer is arranged symmetrically around the point of
intersection.
The chamfer width is programmed with the I expression.
G1....
I20 (G64 CHAMFER BETWEEN TWO STRAIGHT LINES)
G1....
G1 Straight line
I The chamfer (I20) is arranged symmetrically around
the point of intersection.
The chamfer width is programmed with the I
expression.
G1 Straight line
G2/G3 I... J... R... (G64 CIRCLE WITH CENTER POINT AND
RADIUS)
G2/G3 Circle with center point (M) and radius (R) (Figure 1).
Circle with center point and starting or end point
G1 X... Y...
G2/G3 I... J... R... (G64 CIRCLE WITH CENTER POINT AND
STARTING POINT)
OR
G2/G3 I... J... X... Y... (G64 CIRCLE WITH CENTER POINT
AND END POINT)
G1 X... Y...
G2/G3 R... R1=0 (G64 CIRCLE WITH RADIUS AND STARTING
POINT)
G1 B1=0 X... Y...
G1 X0 Y0
G1 R1=0 (G64 STRAIGHT LINE TANGENTIAL TO THE
CIRCLE)
G2 I50 J50 X60 Y50
G1.... OR G2/G3
G3/G2 R20 (G64 ROUNDING ARC BETWEEN TWO
ELEMENTS)
G1.... OR G2/G3
Points of intersection
There are two possible points of intersection when a straight line and
a circle or two circles intersect. A special address (I2=1 or 2) is used
to indicate the intersection coordinates to be calculated. There are two
methods for determining which point of intersection belongs to I2=1
and which to I2=2.
Loading and calling of part programs that are written in a different unit
of measure to that specified in the CNC. (Unit of measure defined in
the configuration data)
Support picture
Address description
No specific addresses.
Application
Modality
The functions G70 and G71 form a modal group.
Default setting
The configured measuring system automatically takes effect when
the CNC is initialized.
Programming
G70 allows part programs to be executed in the inch unit of measure
although the CNC is set metrically.
If G70 or G71 is not programmed at the start of a part program, then
the CNC assumes that the programmed units of measure match the
unit of measure set in the CNC.
Units of measure
With G70, the units of measure are as follows:
Linear measurement [inch]
Feed rate G94 [inch/min]
Feed rate G95 [inch/rev]
Cutting speed G96 [feet/min]
Example
N9001 G70
G1 X2 Y1.5 F8
Support picture
Address description
No specific addresses.
Application
Modality
The functions G71 and G70 form a modal group.
Default setting
The configured measuring system automatically takes effect when
the CNC is initialized.
Programming
G71 allows part programs to be executed in the metric unit of measure
although the CNC is set to inches.
If G70 or G71 is not programmed at the start of a part program, then
the CNC assumes that the programmed units of measure match the
unit of measure set in the CNC.
Units of measure
With G71, the units of measure are as follows:
Linear measurement [mm]
Feed rate G94 [mm/min]
Feed rate G95 [mm/rev]
Cutting speed G96 [m/min]
Example
N9001 G71
G1 X50.8 Z38.1 F203.2
Support picture
Address description
No specific addresses.
Application
Modality
The functions G72 and G73 form a modal group.
Default setting
G72 automatically takes effect after:
Control activation
CNC reset
Program cancelation
M30.
Support picture
Address description
X, Y, Z -1=set mirror image, 1=reset
B, C -1=set mirror image, 1=reset
A4= scaling factor
Format
Activating increase/decrease:
G73 A4= ... (factor or percentage, setting in machine parameter
dimension)
Deleting increase/decrease:
G73 A4=1 (factor)
G73 A4=100 (percentage)
Mirroring around an axis or changing the algebraic sign per axis:
G73 {X-1} {Y-1} {Z-1} {A-1} {B-1} {C-1}
Deleting mirroring/changing the algebraic sign per axis:
G73 {X1} {Y1} {Z1} {A1} {B1} {C1}
Application
Modality
The functions G72 and G73 form a modal group.
Changes to V5xx
See "G73_G92" on page 508.
Example
G1 X45 Y45
G73 X-1 Y-1
G1 X45 Y45
G72
G1
G73 Mirror coordinates around the X and Y axis
G1
G72 Delete mirroring
Support picture
Address description
X, Y, Z end point coordinates
A, B, C end angles
K block transition: 0=exact, 1=no stop 0: a precision stop is
taken into consideration between the movement of block G74 and
the movement in the next block, as is standard for rapid traverse
movements (on-position). 1: no stop is taken into consideration
between the movement of block G74 and the movement in the next
block (smoothing). The next movement begins once the nominal
position is almost reached in all axes.
L 0=with tool length, 1=without 0: tool length compensation is
applied (on-position). L1: no tool length compensation.
X1=, Y1=, Z1= absolute position number (1-18)
A1=, B1=, C1= absolute position number (1-18)
Format
G74 X... Y... Z... {A...} {B...} {C...} {X1=...} {Y1=...} {Z1=...} {K...} {L...}
Default setting
K0: precision stop between the block transitions, L0: tool length
compensation active.
Changes to V5xx
See "G74" on page 509.
G0 X95 Y20
G74 X-35 Y-50
G0 X95 Y20
G74 X1=1 Y1=7
Support picture
Address description
X, Y, Z center point coordinate
B, C end point angles
I angle to first point
J number of points
K angle to last point
R circular pattern radius
B1= angle
L1= path length
B2= polar angle
L2= polar length
A5= angle of rotation Pocket angle
?90= center point abs. (X,Y,Z..)
?91= center point incr. (X,Y,Z..)
P1= point definition no. for center
Format
Points on an arc:
G77 [center point] R... J... I... K... {A5=...}
Points on a full circle:
G77 [center point] R... J... I... {A5=...}
Points on multiple arcs:
G77 P1=... P2=.... P3=... P4=... R... J... I... K... {A5=...)
Changes to V5xx
See "G77_G91" on page 509.
T1 M6
G88 X20 Y10 Z-10 B1 F100 S1000 M3
G77 X78 Y56 Z0 R24 I0 J6 A5=30
Support picture
Address description
X, Y, Z point coordinates
B, C point angles
B2= polar angle
L2= polar length
P1 point definition number
Format
G78 P1=... [point coordinates]
Application
Point definitions
Only one point can be defined in any G78 block. All point coordinates
refer to the active workpiece zero point W.
Only Cartesian coordinates relative to the active zero point W or polar
coordinates (B2=, L2=) can be used in the main plane.
Program blocks with G1 or G79 can contain up to 4 points. Otherwise,
a program block can only contain one point.
Example: G1 P1=9 P2=1 P3=3 P4=8
P address with index: The index value (1-4) gives the priority for the
execution sequence (1= highest priority, 4=lowest priority). The entry
after the equals sign indicates the number of the point in the point
table. Another option is to enter the point definition as a parameter,
where the index defines the priority.
Example
Example program (see figure)
Support picture
Address description
X, Y, Z point coordinates
B, C point angles
B1= angle
L1= path length
B2= polar angle
L2= polar length
A5= angle of rotation Pocket angle
?90= point abs. (X,Y,Z..)
?91= point incr. (X,Y,Z..)
P1= .. P4= point definition numbers
Application
Associated functions
G77, G81, G83 - G89, G771 - G773, G777, G778, G781, G783 - G789.
Changes to V5xx
See "G79" on page 510.
Example
Three holes are to be drilled (see figure)
Support picture
Address description
Z drilling depth
X dwell time [s]
Y 1st setup clearance
B 2nd setup clearance
Format
G81 Z... {X...} {Y...} {B...}
Application
A G81 drilling cycle is performed with G77 or G79.
Associated functions
G77, G79, G83 - G89, G781.
Dwell time
It is possible to implement a dwell time at the bottom of the hole. The
unit is 0.1 s.
Support picture
Address description
Z drilling depth
X dwell time [s]
Y 1st setup clearance
B 2nd setup clearance
I cutting depth reduction
J retract distance for chip break
K cutting depth
K1= number of steps before retract
Format
G83 Z... {X...} {Y...} {B...} {I...} {J...} {K...} {K1=...}
Associated functions
G77, G79, G81, G84 - G89, G782, G783.
Deep-hole drilling
The Z value is the total depth in relation to the workpiece surface. The
algebraic sign determines the tool direction.
The K value is the plunging depth of the first drill step for deep-hole
drilling in several steps. The K value has no algebraic sign.
The plunging depth K is reduced by the I value for every subsequent
step. The I value is used if the calculated plunging depth becomes less
than the I value. Only the last plunging depth can be less than the I
value. The plunging depth remains the same until the last cut if I=0.
A retraction by the J value is performed after every infeed. The tool
normally remains in the hole during this process, while the chips are
broken. If the J value is equal to zero, the tool is retracted to the safety
clearance in each case.
The K1= value specifies the number of infeeds before chipping. When
the infeed number is reached, the tool is retracted to the safety
clearance and not by the J value.
Dwell time
It is possible to implement a dwell time at the bottom of the hole. The
unit is 0.1 s.
Support picture
Address description
Z tapping depth
X dwell time [s]
Y 1st setup clearance
B 2nd setup clearance
I positioning ramp [revolutions]
J pitch
I1= interpolation 0=without, 1=with
Format
G84 Z... {Y...} {B...} {J...} {X...} or
G84 I1=0 Z... {Y...} {B...} {J...} {X...}
The tapping can also be carried out as an interpolation in a closed
control loop between the tool axis and the spindle. This interpolation
also includes the acceleration power of the spindle. This guarantees
that the spindle runs in the desired position and at the required speed.
("Synchronized tapping").
G84 I1=1 Z... {Y...} {B...} {J...} {X...}
Application
A G84 tapping cycle is performed with G77 or G79.
Associated functions
G77, G79, G81, G83, G85 - G89, G784.
Feed rate
F(feed rate) = J(pitch) * S(speed).
When a G84-cycle is called using G79, the CNC must be set to
G94-operation (feed rate in mm/min) and not to G95-operation (feed
rate in mm/rev). G94 must always be programmed before G84.
Dwell time
It is possible to implement a dwell time at the bottom of the hole. The
unit is 0.1 s.
Changes to V5xx
See "G84" on page 511.
Example
Program example: (see figure)
Support picture
Address description
Z reaming depth
X dwell time [s]
Y 1st setup clearance
B 2nd setup clearance
F2= feed rate to start point
Format
G85 Z... {X...} {Y...} {B...} {F2=...}
Application
A G85 reaming cycle is performed with G77 or G79.
Associated functions
G77, G79, G81, G83, G84, G86 - G89, G785.
Dwell time
It is possible to implement a dwell time at the bottom of the hole. The
unit is 0.1 s.
Support picture
Address description
Z boring depth
X dwell time [s]
Y 1st setup clearance
B 2nd setup clearance
Format
G86 Z... {X...} {Y...} {B...}
Application
A G86 reverse boring cycle is performed with G77 or G79.
Associated functions
G77, G79, G81, G83 - G85, G87 - G89, G786.
Dwell time
It is possible to implement a dwell time at the bottom of the hole. The
unit is 0.1 s.
Support picture
Address description
X 1st side length
Y 2nd side length
Z pocket depth
B 1st setup clearance
K plunging depth
I proportional cutting width
R rounding radius
J milling 1=climb -1=conventional
Y3= 2nd setup clearance
F2= feed for plunging
Format
G87 X... Y... Z... {R...} {B...} {I...} {J...} {K...} {Y3=...} {F2=...}
Associated functions
G77, G79, G81, G83 - G87, G88, G89, G787.
Pocket geometry
The X, Y, Z, and R expressions determine the pocket geometry. The X
and Y expressions do not have an algebraic sign.
The other expressions are the machining parameters.
Example
Program example: (see figure)
G87 X200 Y100 Z-6 J+1 B1 R40 I75 K1.5 F200 S500 M3
G79 X120 Y70 Z0
Definition of the geometry for a slot and specific parameters for milling
the slot in a program block. See also cycle G788 and G798.
Support picture
Address description
X 1st side length
Y 2nd side length
Z key-way depth
B 1st setup clearance
Y3= 2nd setup clearance
K plunging depth
J milling 1=climb -1=conventional
F2= feed for plunging
Format
G88 X... Y... Z... {B...} {J...} {K...} {Y3=...} {F2=...}
Application
A G88 key-way milling cycle is performed with G77 or G79.
The algebraic signs of X and Y determine the direction of the slot from
the starting point S.
Associated functions
G77, G79, G81, G83 - G87, G89, G788, G798.
Slot geometry
The X, Y, and Z expressions determine the slot geometry.
The other expressions are the machining parameters.
Example
Program example: (see figure)
G88 Define the cycle for milling a slot parallel to the X axis
G79 Execute the key-way milling cycle at the programmed
position
G88 Define the cycle for milling a slot parallel to the Y axis
G79 Execute the key-way milling cycle at the programmed
position
Support picture
Address description
R radius of circular pocket
Z pocket depth
B 1st setup clearance
Y3= 2nd setup clearance
K plunging depth
I proportional cutting width
J milling 1=climb -1=conventional
F2= feed for plunging
Format
G89 Z... R... {B...} {I...} {J...} {K...} {Y3=...} {F2=...}
Application
A G89 circular pocket milling cycle is performed with G77 or G79.
Associated functions
G77, G79, G81, G83 - G88, G789, G799.
Support picture
Application
Modality
G90 and G91 are modal together.
Default setting
G90 automatically takes effect after control activation, CNC reset,
Cancel program, or M30.
G90 is only canceled by programming G91.
Polar coordinates
The polar coordinates (B1=, L1=), B2=, L2=), (B3=, L3=) are not
affected by G90.
Support picture
Application
An absolute position must be programmed before the incremental
dimensions of G91.
Modality
G90 and G91 are modal together.
Default setting
G90 automatically takes effect after control activation, CNC reset,
Cancel program, or M30.
G91 is also canceled by programming G90.
Polar coordinates
The polar coordinates (B1=, L1=), B2=, L2=), (B3=, L3=) are not
affected by G91.
Changes to V5xx
See "G0..G3_G91" on page 492.
See "G40_G91" on page 502.
See "G73_G92" on page 508.
Support picture
Address description
X, Y, Z zero point coordinates
B, C zero point angles
B1= angle
B4= angle of rotation incremental
L1= path length
Application
Rotating the coordinate system (see figure)
FSP: Approaching the tilting position by the shortest path
FSP now always displays an angle between =180 and +180
degrees. This is changed so that an angle between the limit
switches is displayed. This angle is then the shortest path. The
disadvantage is that the position of the rotary axis can increase to
very high values, which are to be turned back for a moment. The
disadvantage of these very high positions is resolved by means of a
separate function, with which the (internal) position is reset to a
value between 0 and 360 degrees
G93 {X}, {Y}, {Z}, {A}, {B}, {C}, {B2=}, {L2=}, {P}, {P1=}, {B4=}, {A3=1},
{B3=1}, {C3=1} where: A3=1, B3=1, C3=1
The relevant axis position is reset to a value between 0 and 360
degrees. (see figure)
Notes
G92/G93 is effective from the machine zero point if no G54-G59 or
G54 I... was previously activated.
A zero point shift programmed with G92/G93 is no longer allowed if
rotation of the coordinate system (G92/G93 B4=...) is active.
Zero point shift (see figure)
Changes to V5xx
See "G73_G92" on page 508.
Example
Program with G92: (see figure)
Support picture
Address description
X, Y, Z zero point coordinates
B, C zero point angles
B2= polar angle
L2= polar length
B3= 1=reset position 0-360 degrees
C3= 1=reset position 0-360 degrees
B4= angle of rotation absolute
P1= point definition number
Application
Rotating the coordinate system (see figure)
FSP: Approaching the tilting position by the shortest path
FSP now always displays an angle between =180 and +180
degrees. This is changed so that an angle between the limit
switches is displayed. This angle is then the shortest path. The
disadvantage is that the position of the rotary axis can increase to
very high values, which are to be turned back for a moment.
The disadvantage of these very high positions is resolved by means
of a separate function, with which the (internal) position is reset to
a value between 0 and 360 degrees.
G93 {X}, {Y}, {Z}, {A}, {B}, {C}, {B2=}, {L2=}, {P}, {P1=}, {B4=}, {A3=1},
{B3=1}, {C3=1} where: A3=1, B3=1, C3=1
The relevant axis position is reset to a value between 0 and 360
degrees. (see figure)
Reset function
A3=, B3=, C3= reset parameter. With G93 A3=1, the relevant rotary
axis position is reset to a value between 0 and 360 degrees.
Example: an a axis with the position 370 degrees is changed to 10
degrees after the programming of G93 A3=1.
Example
Program with G93: (see figure)
Support picture
Address description
F feed
F1= F adaptation:1=red.,2=r/h,3=high
F3= in depth feed
F4= in plane feed
F5= feed rotary axes
Format
G94: feed rate in mm/min or inch/min
G94 F5=: feed rate unit for the rotary axes
Maximum speed
The maximum speed is specified for each gear range (M41-M44).
Example
Program example
G94
G1 X... Y... F200
Support picture
Address description
F feed
F1= F adaptation:1=red.,2=r/h,3=high
F3= in depth feed
F4= in plane feed
Format
G95: feed rate in mm/revolution or inch/revolution
Example
G95
G1 X... Y... F0.5
Application
Milling operation (G37): N... G95 F.. {S..} {M..}
S and M refer to the main spindle.
For rotary axes, the path in the space is calculated from the kinematic
model. The feed rate is applied to this path.
The G95 function calculates the feed rate in [mm/min (inch/min)] based
on the programmed feed rate in [mm/rev], [inch/rev] and the active
spindle speed.
Maximum speed
The maximum speed is specified for each gear range (M41-M44).
Support picture
Address description
S speed (rev/min)
M machine function
S1= speed (rev/min)
M1= machine function
Format
F.. {S..} {M..}
S and M refer to the main spindle
Application
Maximum speed (s)
The maximum speed is specified for each gear range (M41-M44).
Support picture
Address description
X, Y, Z start point coordinates
I dimension parallel to X
J dimension parallel to Y
K dimension parallel to Z
Format
G98 X... Y... Z... I... J... K...
Application
Changes to V5xx
See "G98" on page 511.
Example
Program example
G98 X-20 Y-20 Z-75 I140 J90 K95
G99 X0 Y0 Z0 I100 J50 K-55
Support picture
Address description
X, Y, Z start point coordinates
I dimension parallel to X
J dimension parallel to Y
K dimension parallel to Z
Example
Program example
G98 X-20 Y-20 Z-75 I140 J90 K95
G99 X0 Y0 Z0 I100 J50 K-55
Support picture
Address description
No specific addresses.
Application
Modality
G125 is modal with G126
Execution
G125 resets the modal <Lifting permitted status> for the G126
function. No further lifting movement is possible after this.
G125 is identical to G126 I1=0 I2=0 I3=0
G125 causes <INPOD>.
Display
The G125/G126 functions are in the processing status display in the
modal G series.
Support picture
Format
G126 {I1=...} {I2=...} {I3=...} {L...}
Address description
I1= lifting by PLC: 0=off,1=on (e. g. coolant failure): 0= no lifting,
1=lifting.
I2= lifting on <INT>: 0=off,1=on 0= no lifting, 1= lifting.
I3= lifting on error: 0=off,1=on 0= no lifting, 1= lifting.
L lifting distance in tool direction Defines the lifting distance
in the direction of the tool or of the tool orientation (G36 turning).
Default setting via: machine parameters CfgLiftOff/on and "G126
Lifting distance". The value lies between 0.000000000 and
2.000000000 [mm] or 0.0001 and 9999.9999 [inch].
Default setting
I1=1, I2=0, I3=0, L=lifting distance
Execution
G126 causes <INPOD>. A modal <Lifting permitted status> is then
set.
The lifting movement is activated if:
One of the actions described in the parameters I1-I13 (coolant
failure, intervention, or error) takes place.
G126 modal <Lifting permitted status> is activated.
A feed rate is active. Lifting does not take place if the feed rate
override is set to zero.
For fixed cycles including when rapid traverse is active.
Specific G functions are active.
Note: Machining stops even if the lifting movement is not activated.
If, for example, WOX_RETRACT_TOOL is set during a rapid traverse,
processing stops without a lifting movement.
Motion sequence
Before the lifting movement starts, the MillPlus decelerates until it
reaches the correct (smooth) corner speed.
Status display
The G125/G126 status is displayed in the modal G group display.
Block access
The functions G125 and G126 are saved during block searches and the
last of these functions is carried out immediately after the block is
accessed.
Machine parameters
CfgLiftOff Tool lifting distance
Changes to V5xx
See "G126" on page 513.
Example
Activate lifting function
G126 I1=1 I2=1
Support picture
Address description
R nominal tool radius Defines the tool radius used to calculate the
end points of the G0/G1- blocks in the CAD- system.
R1= nominal tool corner radius Defines the tool corner radius
used to calculate the end points of the G0/G1- blocks in the CAD-
system.
L2= rotary axes (0=shortest, 1=abs.)
L2=0 rotary axes traverse the shortest route (default setting).
L2=1 rotary axes approach their absolute position (with rotary axis
programming).
F2= feed limitation Highly-curved surfaces can cause the rotary
axes to move abruptly at maximum feed. F2= limits this feed rate.
F2= is programmed in the G141 block and acts for all G0/G1
movements up to the block with G40.
With G0/G1
X, Y, Z linear end point coordinates
I, J, K axis components of the surface normal vector
I1=, J1=, K1= (TCPM) axis components of the tool vector
A, B, C (TCPM) rotary axis coordinates of the tool vector
F feed rate on the path
Default setting
G141 L1=0 R1=0 R=0
Application
5-axis machining of a curved workpiece surface involves guiding the
tool to the surface at an optimized angle. Dynamic TCPM is used for
this 5-axis machining and guides the rotary axes and linear axes,
allowing for current tool length and tool radius. In the G0/G1 block, the
rotary axes can be programmed directly with angle (A,B,C) or indirectly
with a tool vector (I1=, J1=, K1=). The radius compensation is
calculated by MillPlus if the normal vector (I, J, K) is programmed in the
G0/G1 block.
N = normal vector (I, J, K) (see figure)
O = tool vector (I1=, J1=, K1=)
G7 can be active. In this case, the normal- and tool vectors are defined
in the G7- plane.
Possible tools
The following dimensions must be loaded in the tool memory for use
of the various tool types (see figure):
Radius compensation
The radius compensation is calculated by MillPlus if the normal vector
(I, J, K) is programmed in the G0/G1 block. The radius compensation
is not activated if no normal vector is programmed.
The tool is positioned so that this vector always passes through the
center point of the corner rounding. If the end points are calculated in
the CAD/CAM system with the nominal radius and corner radius, this
can be defined in the G141 block using R and R1=. The true radius R
and corner radius R2 are then entered into the tool table. The control
corrects the difference between the nominal and actual radius.
R radius defines the tool radius used to calculate the end points of the
G0/G1- blocks in the CAD-system.
R1= radius defines the tool corner radius used to calculate the end
points of the G0/G1- blocks in the CAD-system.
Vector components
A vector is programmed with at least one component in the G0/G1
block. Unprogrammed components are equal to zero.
Vector accuracy
The vector components are programmed with up to 9 places. The
input format for the vectors (I, J, K) and (I1=, J1=, K1=) is limited to
seven decimal places. Six decimal places should be programmed to
achieve sufficient dimensional accuracy. However, the normal- and
tool vectors do not need to have length 1.
Activating G141
In the first block after G141, the milling tool traverses from the current
tool position to the corrected position in this block. G141 deletes a
radius compensation programmed using G41..G44.
Canceling G141
The function G141 is canceled using G40, M30, the Cancel program
soft key, or the CNC reset soft key. The milling tool stops at the last
corrected position. The rotary axes are not turned back automatically.
Basic motions 0, 1
Free working plane 7
Planes 17, 18
Program control 14, 22, 23, 29
Positioning feed rate 25, 26, 27, 28, 94, 95, 96, 97
Tool dimension 39
Radius compensation 40
Zero points 51, 52, 53, 54-59, 54 I.., 92, 93
Geometry 72, 73
Absolute/incremental 90, 91
Graphic 195, 196, 197, 198, 199
The following G-functions are permitted if G141 is active:
Basic motions 0, 1
Program control 14, 22, 23, 29
Positioning feed rate 4, 25, 26, 27, 28, 94, 95, 96, 97
Radius compensation 40
Zero points 51, 52, 53, 54-59, 54 I.., 92, 93
Geometry 72, 73
Absolute/incremental 90, 91
An error message is issued if a G-function that is not permitted is
programmed.
Programming limitations
G-functions not listed above must not be used. Point definitions (P)
must not be used. No tool change must be made after activating
G141.
G1
When a tool vector I1=,J1=,K1= is being programmed, G0 or G1 must
be in the same block.
Mirroring
If the mirroring function (G73 and axis coordinates) is effective before
G141 is activated, the mirrored coordinates will be used during the
3D-tool compensation. Mirroring is re-enabled once G141 is activated.
Mirroring is canceled using the function G73.
Undercuts
Undercuts or collisions between the tool and material at points not to
be machined are not detected by the CNC.
Changes to V5xx
See "G141" on page 514.
Support picture
Format
G145 [measuring point coordinates] [(axis address) 7=...] {S7=...}
{O1=...} {O2=...} {O3=...} {O4=...} E... {F2=...} {K...}
Address description
X,Y,Z end point coordinates
B,C end angles
K 0=tool correction on, 1=off The following assumptions apply
when the measuring positions are corrected with regard to the
measure probe dimensions: the measure probe is arranged parallel
to the tool axis, the measure probe is completely round, the
measure probe is moved perpendicular to the surface to be
measured.
K=0 tool correction on Measuring positions are corrected with
regard to tool length and tool radius. Measuring positions in
rotation axes are not corrected with regard to tool data.
K=1 tool correction off Measuring positions are not corrected.
K=2 tool correction on Measuring positions are only corrected
with regard to tool length. Measuring positions in rotation axes are
not corrected with regard to tool data.
B1= angle
B2= polar angle
X7....S7 E parameter for measured value in X,Y,Z,B,C,S
?90 absolute end point angle (X,Y,Z..)
?91 incremental end point angle (X,Y,Z..)
L1= path length
L2= polar length
P1= point definition number
F2= measuring feed
I4= blow air 0=no 1=yes. The air blowing period is determined by
the PLC.
Application
Associated functions
G148, G149, G150. The functions G148 to G150 must not be used
during operation with G182.
Interruption
The G145 movement is processed as a G1 movement during an
interruption. The measure probe status should not be changed
between the starting point of the measurement movement and the
point of interruption, otherwise an error message is issued. An error
message is also raised if the touch probe is triggered when returning
to the contour.
Changes to V5xx
See "G145" on page 515.
Support picture
Format
G148 {I1=...} E...
Address description
I1= status group (1-2)
Application
Associated functions
G145, G149, G150
Changes to V5xx
See "G148_I1=3" on page 516.
Support picture
Format
Address description
T tool number Number of the tool whose tool data is to be exported.
The complete tool number (including the spare tool index) must be
specified.
Note: T0 reads the number of the active tool. The tool data from T0
cannot be exported. The relevant E-parameters are not loaded when
T0 is used. No corresponding error message is issued.
T2= tool offset index The tool compensation index 0 to 9 can be
specified.
I1= E parameter for tool locked The tool lock TL is saved in the
specified E parameters. Result:
0 tool is not locked.
1 tool is locked.
Default setting
T2=0
Application
Associated functions: G145, G148, G150, G321, and G326
Exporting addresses with no value. If addresses that were not input
beforehand are exported in the tool file, a zero value is returned in
the specified E parameters.
G149 is not allowed after the following modal functions: G64, G141,
G280-G286
Changes to V5xx
See "G149" on page 516.
Format
Address description
N1= zero point shift
N1=0 zero offset shift group G52 If G52 is active, then the
E-parameter is given the value 52. If G52 is not active, then the
E-parameter is given the value 51.
N1=1 zero offset shift group G54 The E-parameter is given the
value of the effective offset from the range G54..G59 or G54.[no.].
The E-parameter is given the value 53 if no offset is effective.
N1=54-59 or 54.[no.] zero offset shift The number of the saved
zero offset G54 - G59, or G54 I[no.] whose data is to be exported.
N1=92-93 zero offset shift The number of the programmable zero
offset G92 or G93 whose data is to be exported.
X7=,Y7=,Z7=,A7=,B7=,C7=, B47= E par. for offset/position
values X7= E-parameter for offset/position in X. B47= E-par. for
rotation in B4= The zero offset values for the zero offset specified
in N1= are saved in the specified Eparameters.
Example
1: Querying the active zero offset number
G149 N1=0 E2
G149 N1=1 E3
Address description
X7=,Y7=,Z7= current position values the axis position values can
be exported to E parameters. X7=20 means: the current axis
position value is saved in E20.
Application
G149 is not allowed after the following modal functions: G64, G141,
G280-G286
Support picture
Format
Address description
T tool number Number of the tool whose data is to be changed. The
complete tool number (including the spare tool index) must be
specified.
Note: the tool data of T0 cannot be changed.
T2= tool offset index The tool offset index 0 to 9 can be specified.
I1= Tool locked The specified value is written in the tool lock TL.
Values:
0 tool is not locked.
1 tool is locked.
I2= tool status value in TThe specified value is written in the tool
status TS. Values:
0 tool is released but not measured.
1 tool is released and measured.
2 tool outside tolerance.
3 tool breakage.
4 tool life expired.
L1=, R1= tool length and radius values in T The specified values
are written in the tool length L and in the tool radius R. The
allowance (DL or DR) is set to zero.
M1= current tool life The specified value is written in the current
tool life CUR_TIME.
Application
Associated functions: G145, G148, G149
G150 is not allowed after the following modal functions: G64, G141,
G280-G286
Changes to V5xx
See "G150_T_M1" on page 517.
Example
Example 1: changing tool data
G150 T1 L1=E1 R1=4
Format
Address description
N1= zero point shift
N1=52 zero offset shift The zero offset G52 to be changed
N1=54-59 or 54.[no] zero offset shift The zero offset G54 -
G59 or G54.[no.] to be changed.
X7=,Y7=,Z7=,A7=,B7=,C7=, B47= E parameter for offset values
X7= offset in X. B47= angle of rotation in B4=. The specified values
are written in the zero offset specified with M1=.
Application
Associated functions: G145, G148, G149
G150 is not allowed after the following modal G functions G64,
G141, G280-G286
Example
Changing zero offset values
G150 N1=57 X7=E1 Z7=E6
G150 N1=54.01 X7=E1 Z7=E6
Support picture
Format
G151
Address description
No addresses.
Application
G152 is deactivated with this function.
Associated functions
G152.
Changes to V5xx
See "G151 und G152" on page 517.
Support picture
Format
G152 X1=... Y1=... Z1=... {B1=...} {B2=...} X2=... Y2=... Z2=... {C1=...}
{C2=...}
Address description
X1= range in positive direction
Y1= range in positive direction
Z1= range in positive direction
B1= range in positive direction
C1= range in positive direction
X2= range in negative direction
Y2= range in negative direction
Z2= range in negative direction
B2= range in negative direction
C2= range in negative direction
Application
This function enables the traverse range to be limited in the NC
program. With G141, for example, it is possible to prevent the C axis
(table) from rotating further around a vector solution than is permitted.
It is also possible to program a limit plane.
The programmed positions must fall within the range of the SW limit
switch Axes/CfgProgAxis/ParameterSets/Pn0/CfgPositionLimits/
swLimitSwitchPos, Axes/CfgProgAxis/ParameterSets/Pn0/
CfgPositionLimits/swLimitSwitchNeg; otherwise an error message is
issued.
Associated functions
G151
Changes to V5xx
See "G151 und G152" on page 517.
Example
Limiting the range of traverse of the C axis.
Support picture
Format
G153
Address description
No specific addresses.
Application
Modality
G153 is modal with G154.
Execution
G153 resets the modal status of the G154 function. The tool zero point
is then no longer implemented. G153 does not perform any actions
until the movement in the preceding block is finished (<INPOD>).
Display
The G153/G154 functions are in the processing status display in the
modal G series.
Support picture
Format
G154 {A1=} {B1=} {C1=}
Address description
A1 ZPS A-axis (0=not, 1=settle) Defines whether the position of
the A axis in the table is offset in the linear axes:
A1=0 not offset (default setting)
A1=1 is offset. This address is only allowed if there is an A axis in
the table.
B1 ZPS B-axis (0=not, 1=settle)
C1 ZPS C-axis (0=not, 1=settle)
Default setting
If no addresses are programmed, all axes in the table are activated.
Application
Modality
G154 is modal with G153.
Interruption
When a rotary axis movement is canceled, the linear axis display is not
updated. During an interruption, the linear axis display is only updated
to show the rotary axis status after <Emergency stop>, CANCEL
PROGRAM, or <Manual> has been pressed.
Manual operation
The G154 function remains active after M30 and is active during
manual operation. The linear axis display is updated when the rotary
axis movement has stopped.
Status display
The G153/G154 status is displayed in the modal G group display.
Example
Activating implementation of the workpiece zero point
G154 B1=1
Support picture
Format
G174 {L...} {X1=... or Y1=... or Z1=...}
Address description
L retract distancethe retraction distance (L > 0) defines the
distance that is travelled in the tool direction. An error message
(Z31) is issued if L is greater than the distance to the software limit
switch. If L is not specified, travel continues up to the software limit
switch.
X1=, Y1=, Z1= 1=retraction only in this axisX1= or Y1= or Z1=
are used in the program to determine which machine axis travels. In
the case of G7, the machine axis can be different to the
programmed axis. A combination of X1=, Y1=, and Z1= is not
possible (P414 ). Retraction is not performed perpendicularly.
X1=1 means that only the X axis travels.
No X1=, Y1=, Z1=: With this function, the retraction can always
be carried out in the direction of the milling head. The tool is
retracted until the first software limit switch is reached. The tool
axis orients itself perpendicular to the new plane. The retract
movement is performed in this perpendicular direction.
Application
Execution (G0)
G174 is executed in G0. The tool travels at this feed rate if F6= is
programmed.
After G174, G0 or G1 from the previous block is reactivated modally.
Support picture
Address description
No specific addresses.
Application
Associated functions
G284, G285, and G286.
Example
Drilling
G284 T10=1 C1=5 F2=100
G179
Support picture
Format
G180 basic coordinate system
G180 [principal axis 1] [principal axis 2] [tool axis].
Address description
X1= allocate axis to coord.system
Y1= allocate axis to coord.system
Z1= allocate axis to coord.system
A1= allocate axis to coord.system
B1= allocate axis to coord.system
C1= allocate axis to coord.system
Application
General basic principles
The normal setting is G180 X1 Y1 Z1
The following configurations are possible:
Principal axis 1 X
Principal axis 2 Y
Tool axis Z or W
Three different pieces of information determine the correct method:
1 The tool axis is determined using G17/G18/G19 (G17 Z).
2 G180 determines which axes have to be implemented. (G17 W
in Z).
3 The machine parameters for the tool axis definition must be
correct. (Axis/CfgProgAxis/W/progKind = ParallelLinCoord tool axis
W belongs to Z).
Example
Tool retraction movement
G180 X1 Y1 Z1
G81 Y2 B10 Z-22
G79 X0 Y0 Z0
Support picture
Format
G182 [cylinder axis] [rotary axis] {tool axis} R...
Address description
X cylinder plane:2/tool axis:3
Y cylinder plane:2/tool axis:3
Z cylinder plane:2/tool axis:3
B cylinder plane:1
C cylinder plane:1
R cylinder radius
Application
Modality
G182 is modal with G180.
Standard configuration
Rotary axis A1 B1 C1
Cylinder axis X1 Y1 Z1
Tool axis Y1/Z1 X1/Z1 X1/Y1
Cylinder radius R R R
Advanced configuration
Rotary axis marked with 1 A1 B1 C1
Cylinder axis marked with 2 X2/Y2/Z2 Y2/X2/Z2 Z2/X2/Y2
Tool axis marked with 3 Y3/Z3/X3 X3/Z3/Y3 X3/Y3/Z3
Cylinder radius R R R
Machine parameters
The machine parameters for the axis definition must be correct.
CfgProgAxis/index = 1, CfgProgAxis/axName = X (axis)
CfgProgAxis/index = 2, CfgProgAxis/axName = Y (axis)
CfgProgAxis/index = 3, CfgProgAxis/axName = Z (axis)
CfgProgAxis/index = 4 belongs to axis 1 (4-3),
CfgProgAxis/axName = A (axis rotating)
Changes to V5xx
See "G182" on page 517.
N12340
G18 S1000 T1 M66
G54
G182 Y1 C1 Z1 R20
G0 Y22 C0 Z15 M3
G1 Y16 F200
G43 Z10
G41
G1 C23.84
G3 Z14.963 C55.774 R15
G1 Z38.691 C116.98
G2 Z42 C138.27 R10
G1 C252.101
G2 Z37 C266.425 R5
G1 Z26
G3 Z10 C312.262 R16
G1 C365
G40
G41 Z20
G1 C312.262
G2 Z26 C295.073 R6
G1 Z37
G3 Z52 C252.101 R15
G1 C138.27
G3 Z45.383 C95.691 R20
G1 Z21.654 C34.484
G2 Z20 C23.84 R5
G1 C0
G40
G180
G0 Y100
M30
Support picture
Format
G195 X... Y... Z... I... J... K... {N1=...} {N2=...}
Address description
X, Y, Z start point coordinates
I dimension parallel to X
J dimension parallel to Y
K dimension parallel to Z
N1= repeater begin block
N2= repeater end block
Application
Default setting
If no addresses are programmed, all axes in the table are activated. If
no dimensions are defined for the 3D windows, the distances of the
software limit switch are used
Application
In programs with several level definitions, only the operations in the
last programmed machining levels are displayed graphically.
Addresses N1= "Graphic begin block" and N2= "Graphic end block" are
used to record the graphic window for a particular program part. All
movements in the blocks from address N1= up to and excluding the
block number in Address N2= are displayed in the graphic window.
Changes to V5xx
See "G98_B" on page 512.
Example
G195 X-30 Y-30 Z-70 I170 J150 K100
G199 .....
Support picture
Format
G196
Address description
No specific addresses.
Example
G195 X... Y... Z... I... J... K...
G199 X... Y... Z...B... C...
G198 X... Y... Z... D...
------
G197 X... Y... D...
------
G196
Support picture
Address description
No specific addresses.
Application
G242 is deactivated by G240, M30, or Cancel program.
G240 automatically takes effect after:
Control activation
Cancel program
M30.
Modality
G240 is modal with G242.
Support picture
Address description
I2= Look ahead check: 0=off, >0=number
I2=0 No check.
I2=... If nn > 0, the check is active. The maximum value is 99.
Default setting
I2=5
Application
G242 is deactivated by G240, G40, M30, or Cancel program.
Modality
G242 is modal with G240.
Block access
The G242 function checks are normally executed during a block entry.
Associated functions
G242 works with G41 and/or G42.
Procedure
The tool path is calculated in advance from the current block. Areas of
the contour that might be damaged by the tool are not machined. The
number of pre-calculated blocks (maximum 99) is set at I2=. The
larger the number of blocks to be pre-calculated, the longer the block
processing time will be.
Function G242 works only if radius compensation is active.
G functions
G9 Define pole position
Auxiliary points
For both free-programmed straight lines and free-programmed circular
arcs, you can enter the coordinates of auxiliary points that are located
on the contour or in its proximity.
Auxiliary points on a contour
The auxiliary points are located on a straight line, the extension of a
straight line, or on a circular arc.
Example
N1234 FIGURE
G98 X-10 Y-10 Z-2 I50 J50 K20
N1 G17
N2 G0 X0 Y0 Z0 F5000
N3 G251 X1=20 Y1=20 B1=45
N4 G251 B1=0 Y15
N5 G251 Y0 B1=-45 X50
N6 M30
Example
See example below "Contour programming with auxiliary points near
the contour"
10
Y 10
R20
55
R30 60°
30
X
30
Y
R1
0
50
R36
R24
R1,5
R5
30
R6
R6 R5 X
-10
0
R4
R65
-25
R5
0
12 44 65 110
N111 G98 X-60 Y-60 Z-15 I150 J150 K50 Definition of workpiece blank
N1 G17 F5000
N2 G0 X-70 Y0
N3 G0 Z-5
N4 T1 M67
N5 G41
N6 Approach the contour at a tangent
N8 G1 X-40 Y0
N9 G252 R40 I0 J0 Circular CW
N10 G261 Connecting straight line
N11 G262 R10 I0 J50 Circular CW with tangential connection
N12 G261 Connecting straight line
N13 G263 R6 I0 J0 Circular CCW with tangential connection
N14 G263 R24 Circular CCW with tangential connection
N15 G263 R6 I12 J0 Circular CCW with tangential connection
N16 G269 I1=2 Selecting a solution for the course of the contour
N17 G262 R1.5 Circular CW with tangential connection
N18 G262 R36 I44 J-10 Circular CW with tangential connection
N19 G269 I1=2 Selecting a solution for the course of the contour
Support picture
Address description
X, Y, Z end point coordinates Addresses X, Y, Z define an end
point.
X91=, Y91=, Z91= end point, incremental
X1=, Y1=, Z1= 1. auxiliary point contour element
X2=, Y2=, Z2= 2. auxiliary point contour element
X4=, Y4=, Z4= auxiliary point beside contour element
L4= parallel shift Always together with X4=, Y4=, Z4=
L41= incremental parallel shift
I5= start(1)/end(-1) closed contour1: start of contour -1: end of
contour.
B1= angle
F feed
B11= incremental angle
B2= polar angle
B21= incremental polar angle
L1= path length
L2= polar length
L21= incremental polar length
Example
Defining a straight line
G251 X65 Y-25 B11=-90
Support picture
Address description
X, Y, Z end point coordinates Addresses X, Y, Z define an end
point.
X91=, Y91=, Z91= end point, incremental
R circle radius
I, J, K circle center points (X,Y,Z..)
I91=, J91=, K91= incremental center points
X1=, Y1=, Z1= 1. auxiliary point contour element
X2=, Y2=, Z2= 2. auxiliary point contour element
X3=, Y3=, Z3= 3. auxiliary point contour element (circle)
X4=, Y4=, Z4= auxiliary point beside contour element
L4= parallel shift Always together with X4=, Y4=, Z4=
I5= start(1)/end(-1) closed contour1: start of contour -1: end of
contour.
B5= angle of arc
F feed
L1 = chord length of the arc
B1= gradient angle of the entry tangent
B11= incremental angle
B2= polar angle
B21= incremental polar angle
L2= polar length
L21= incremental polar length
B3= polar angle for center
B31= incremental polar angle center
L3= polar length for center
L31= incremental polar length center
Example
Defining a circle
G252 R40 I0 J0
Support picture
Address description
Identical to addresses of G252, (see "Address description" on page
308)
Application
The starting and end points of the arc must lie on the
circle.
Input tolerance: up to 0.016 mm (selected via the
"circleDeviation" machine parameter)
Example
Defining a circle
G252 R40 I0 J0
Support picture
Address description
Identical to addresses of G251, (see "Address description" on page
307)
Application
A transition between two contour elements is called "tangential" when
there is no kink or corner at the intersection between the two
contours, i.e. the transition is smooth. The contour element to which
the tangential arc connects must be programmed directly before the
G261 block. This requires at least two positioning blocks.
Example
Defining a straight line
G261 X65 Y-25 B1=-90
Support picture
Address description
Identical to addresses of G252, (see "Address description" on page
308)
Application
A transition between two contour elements is called "tangential" when
there is no kink or corner at the intersection between the two
contours, i.e. the transition is smooth. The contour element to which
the tangential arc connects must be programmed directly before the
G262 block. This requires at least two positioning blocks.
Example
Defining a circle
G262 R40 Y0 I0 J0
Support picture
Address description
Identical to addresses of G252, (see "Address description" on page
308)
Application
A transition between two contour elements is called "tangential" when
there is no kink or corner at the intersection between the two
contours, i.e. the transition is smooth. The contour element to which
the tangential arc connects must be programmed directly before the
G263 block. This requires at least two positioning blocks.
Example
Defining a circle
G263 R40 Y0 I0 J0
The chamfer enables you to cut off corners at the intersection of two
straight lines. Function G265 defines the chamfer.
Support picture
Address description
L chamfer length
Application
The chamfer must be machinable with the current tool.
Example
Defining a chamfer
G265 L4
Support picture
Address description
R rounding radius
Application
The rounding arc must be machinable with the called tool.
The corner point is cut off by the rounding arc and is not
part of the contour.
In the preceding and subsequent contour elements, both
coordinates must lie in the plane of the rounding arc. If you
machine the contour without tool-radius compensation,
you must program both coordinates in the working plane.
Example
Defining a rounding
G266 R4
Support picture
Address description
I1= selection of solution Number of the solution from those
proposed and calculated by MillPlus.
Application
Parameter I1= is selected with the graphic function while the program
is being formatted. G269 is always in a block after the element
definition.
Example
Selecting a contour
...
G262 R40 Y0 I0 J0
G269 I1=2
...
Support picture
Address description
I1= disable and/or delete limit planes
I1=0 temporarily disables the defined limit planes. G271 can be
used to re-activate the same limit planes.
I1=1 deletes the definitions of the limit planes and disables the
planes. This function is executed with M30.
Default setting
I1=0
Application
Modality
G270 is modal with G271.
Associated functions
G271, G272, G273.
Procedure
The limit planes defined by G272 or G273 are disabled. The limit plane
definition remains active and can be re-enabled with G271.
Support picture
Address description
I1= limit plane
I1=1 lower limit plane is activated (G272)
I1=2 upper limit plane is activated (G273).
Default settings
I1=1
Application
Modality
G271 is modal with G270.
Associated functions
G270, G272, G273.
Procedure
The limit planes defined by G272 and/or G273 are enabled.
NC program execution is restricted by means of up to two limit planes.
Only movements between the G272 lower limit plane and the G273
upper limit plane are executed according to the NC program. The
movements outside of the limit planes are skipped or executed
projected onto the limit plane.
Only one of the limit planes needs to be defined.
G270 can be used to disable the limit planes again.
Support picture
Address description
X, Y, Z limit plane point Addresses X, Y, Z define a point. The
limit plane passes through this point. The point is defined in relation
to the workpiece zero point W.
X1=, Y1=, Z1= limit plane normal vector Defines the normal
direction of the limit plane. In conjunction with the point (X,Y,Z), this
defines the limit plane. The normalized vector points to the top of
the plane. Basic setting (0, 0, 1).
I1= behavior on other side of limit plane
I1=1 machine normally. The plane is thus inactive.
I1=2 machine along the projected path. (Default setting).
I1=3 explicitly defined direction (X3=, Y3=, Z3=)
I2= kind of limit plane projection (I1=2) To be defined when
I1 = 2. The movements below the plane are projected onto the limit
plane. The direction of this projection can be programmed:
I2=1 normalized vector of the plane.
I2=2 tool direction (default setting).
I2=3 explicitly defined direction (X2=, Y2=, Z2=).
X2=, Y2=, Z2= limit plane projection vector (I2=3)To be
defined when I2 = 3. Defines the projection direction of the non-
executed movements below the limit plane at the limit plane.
I3= kind of limit plane aux. movements (I1=3) To be defined
when I1 = 3. The movements below the plane are skipped by
auxiliary movements. The direction of the auxiliary movements can
be programmed:
I3=1 normalized vector of the plane.
I3=2 tool direction (default).
I3=3 explicitly defined direction (X3=, Y3=, Z3=)
X3=, Y3=, Z3= aux. movements vector (I3=3) To be defined when
I3=3. Defines the direction of the auxiliary movements for exit and
approach.
L1= exit and approach distance This distance is traversed in feed
mode.
L2= safety distance (I1=3) To be defined when I1=3. Defines the
clearance height at which the movements are traversed below the
plane. The tool moves to this position (height) in rapid traverse.
F6= approach feed Defines the feed rate at which the distance L1=
is traversed on approach. The default is normal feed rate.
Application
Associated functions
G270, G271, G273.
Deleting
The limit plane definition is deleted at the end of the main program.
Procedure
NC program execution is restricted by means of two limit planes. Only
movements between the G272 lower limit plane and the G273 upper
limit plane are executed according to the NC program. The
movements programmed outside of the two limit planes are skipped
or executed projected onto the limit plane.
Only one of the limit planes needs to be defined.
Support picture
Address description
X, Y, Z limit plane points Addresses X, Y, Z define a point. The
limit plane passes through this point. The point is defined in relation
to the workpiece zero point W.
X1=, Y1=, Z1= limit plane normal vector Defines the normal
direction of the limit plane. In conjunction with the point (X,Y,Z), this
defines the limit plane. The normalized vector points to the top of
the plane. Basic setting (0, 0, 1).
I1= behavior on other side of limit plane
I1=1 machine normally. The plane is thus inactive.
I1=2 machine along the projected path. (Default setting).
I1=3 auxiliary movement to clearance plane.
I2= kind of limit plane projection (I1=2) To be defined when
I1 = 2. The movements below the plane are projected onto the limit
plane. The direction of this projection can be programmed:
I2=1 normalized vector of the plane.
I2=2 tool direction (default setting).
I2=3 explicitly defined direction (X2=, Y2=, Z2=).
X2=, Y2=, Z2= limit plane projection vector (I2=3)To be
defined when I2 = 3. Defines the projection direction of the non-
executed movements below the limit plane at the limit plane.
I3= kind of limit plane aux. movements (I1=3) To be defined
when I1 = 3. The movements below the plane are skipped by
auxiliary movements. The direction of the auxiliary movements can
be programmed:
I3=1 normalized vector of the plane.
I3=2 tool direction (default).
I3=3 explicitly defined direction (X3=, Y3=, Z3=)
X3=, Y3=, Z3= aux. movements vector (I3=3) To be defined when
I3=3. Defines the direction of the auxiliary movements for exit and
approach.
L1= exit and approach distance This distance is traversed in feed
mode. (Default setting=0)
L2= safety distance (I1=3) To be defined when I1=3. Defines the
clearance height at which the movements are traversed below the
plane. The tool moves to this position (height) in rapid traverse.
(Default setting=0)
F6= approach feed Defines the feed rate at which the distance L1=
is traversed on approach. The default is normal feed rate.
Application
Associated functions
G270, G271, G272.
Deleting
The limit plane definition is deleted at the end of the main program.
Procedure
NC program execution is restricted by means of two limit planes. Only
movements between the G272 lower limit plane and the G273 upper
limit plane are executed according to the NC program. The
movements programmed outside of the two limit planes are skipped
or executed projected onto the limit plane.
Only one of the limit planes needs to be defined.
Support picture
Address description
I1= zoning planes: disables and/or undefines
I1=0 temporarily disables the defined limit planes. G276 can be
used to re-activate the same limit planes.
I1=1 deletes the definitions of the limit planes and disables the
planes. This function is executed with M30. Zoning planes:
deletes the definitions and disables the planes
Default setting
I1=0
Application
Modality
G275 is modal with G276.
Associated functions
G276, G277.
Procedure
The zoning plane defined with G277 is disabled. The zoning plane
definition remains active and can be re-enabled with G276.
Support picture
Address description
No specific addresses.
Application
Modality
G276 is modal with G275.
Associated functions
G275, G277.
Procedure
In addition to the limit planes (G271), there are lateral limitations
known as zoning planes. The movements programmed outside of a
zoning plane are skipped at clearance height or executed projected
onto the zoning plane.
Only one zoning plane can be defined.
Support picture
Address description
I zoning plane number Defines the zoning plane. Multiple zoning
planes can be defined. All zoning planes have the same projection
direction.
P1=, P2=, P3=, P4= zoning plane polygon point numbers Up to
four point numbers can be programmed for defining the points
polygon. Index n of Pn= defines the sequence. The polygon can be
closed with I1=4. The points are defined in relation to the workpiece
zero point W. This definition cannot be programmed simultaneously
to (X, Y, Z)
I1= polygon point sequence number If the polygon points are
defined by (X, Y, Z), multiple G277 must be programmed
consecutively. The sequence of G277 commands defines the
sequence of the points polygon. I1= defines whether this is the first,
last, or an intermediate point:
1 = first point
2 = intermediate point (multiple)
3 = last point of an open polygon
4 = last point that joins the polygon with the first point
If the zoning plane remains open (I1=3), the first and last sides are
"infinitely extended". Additional information such as projection
direction etc. is to be defined for the first point. There is no limit
to the number of intermediate points. This definition cannot be
used at the same time as Pn=.
X, Y, Z, or P zoning plane polygon point The addresses X, Y,
Z, or P define a point of the polygon. The point is defined in relation
to the workpiece zero point W. This definition cannot be
programmed simultaneously to Pn=.
I2= projection vector
I2=1 machining plane direction (G17, G18, G19, G7)
(Default setting)
I2=2 tool direction
I2=3 explicitly defined vector (X2=, Y2=, Z2=)
In conjunction with the polygon points, this defines the zoning
plane.
In conjunction with the polygon points, this defines the zoning
plane.
Default setting
I=1, I1=2, I2=2, I3=2, L1=0, L2=0, F6=F
Application
Associated functions
G275, G276.
Permitted range
The zoning plane can be closed or open. The permitted range is
defined by: left of the plane in the running direction of the polygon
points viewed from "above" (opposite to the projection direction)
Deleting
The zoning plane definition is deleted at the end of the main program.
Procedure
NC program execution is laterally restricted by means of a zoning
plane. Only movements "left" of the zoning plane are executed
according to the NC program. The movements programmed "right" of
the zoning plane are skipped at clearance height or executed projected
onto the zoning plane. Multiple zoning planes can be defined.
Mathematical function
Intersected with
e. g. EC10 = EC1 & EC5
Joined with
e. g. EC25 = EC7 | EC18
Parentheses
e. g. EC10 = (EC1 \ EC2) \ EC3 \ EC4
‘CONTOUR MILLING
G99 X0 Y0 Z0 I100 J100 K-40 Definition of workpiece blank
E1=40 G331 T10000 I1=1 E1 Drill tool definition
E1=4 G331 T10000 I1=2 E1
E1=40 G331 T10001 I1=1 E1 Tool definition of roughing cutter
E1=4 G331 T10001 I1=2 E1
E1=40 G331 T10002 I1=1 E1 Tool definition of finishing cutter
E1=3 G331 T10002 I1=2 E1
G17 M3 S4000
G0 X0 Y0 Z50 Contour milling cycle start coordinates
G40 Cancel tool radius compensation
Support picture
Address description
No specific addresses.
Application
Modality
Function G280 ends the contour milling cycle description started with
G281.
Support picture
Application
Modality
G281 is modal with G280.
Support picture
Address description
N= contour program name The selected contour program can be
called with the file name, with or without file path. In the N=
parameter, the complete contour program name (without or without
file path and including <.mm>) can be programmed between double
quotation marks <">.
e.g. N="Contour-1.mm". No other file name extensions are
permitted.
N5= folder The selected contour program can be located in a
different directory. The path to this directory must be enclosed in
double quotation marks <"> and should be entered separately in the
N5= parameter, or should be before the file name in the N=
parameter. The path must be entered complete and absolute, e.g.
N5="%URS%\nc_prog\Part1\Programs\" or
N="%USR%\nc_prog\Part1\Programs\Contour-1.mm"
Application
Function G282 remains active up to G280.
The bottom of the pocket must lie parallel to the machining plane.
The pocket edges must be perpendicular to the bottom of the pocket
Modality
Program function G282 before functions G284-G286.
Support picture
Address description
Z workpiece surface coordinate Absolute coordinate of the
workpiece surface
L depth (incremental): Distance between workpiece surface and
bottom of pocket.
L1= 1st setup clearance (incremental): Distance between tool
front face and workpiece surface
L2= 2nd setup clearance (incremental)
L3= finishing allowance bottom (incremental): Finishing allowance
for bottom.
B3= finishing allowance sides (incremental): Finishing allowance
in the working plane.
C2= proportional cutting width
R rounding radius Rounding radius at inside "corners"; entered
value refers to the tool midpoint path
I1= milling 1=climb -1=conventional
Application
Function G283 remains active up to G280.
The machining data defined with G283 is applicable for functions G284
to G286.
If you program Depth = 0, MillPlus will not execute the function G283.
Function G284 is used to pilot drill one (or multiple) cutter infeed
point(s). For the cutter infeed points, MillPlus takes the side and
bottom finishing allowances as well as the radius of the roughing tool
into account. The cutter infeed points also serve as starting points for
roughing.
Support picture
Address description
T10= roughing tool number Number of the roughing tool
T12= roughing tool offset index
C1= plunging depth Dimension by which the tool plunges in each
infeed
F feed for plunging Traversing speed in mm/min for drilling
Application
Function G284 is executed with function G179.
Procedure
1 MillPlus positions the tool in the tool axis at rapid traverse to the
safety distance above the workpiece surface.
2 The tool drills to the first plunging depth at the programmed feed
rate F.
3 When it reaches the first plunging depth, the tool retracts at rapid
traverse to the starting position and advances again to the first
plunging depth minus the advanced stop distance.
4 The tool then advances by another infeed depth at the
programmed feed rate F.
5 MillPlus repeats this process (3 to 4) until the programmed depth
is reached.
6 The tool is retracted from the hole bottom to the set-up clearance
or - if programmed - to the 2nd safety distance at rapid traverse.
Support picture
Address description
T10= coarse roughing tool number Number of the tool with which
the TNC has already coarse-roughed the contour. If coarse roughing
was performed, enter "0". If you enter a value other than zero,
MillPlus will only rough-out the portion that could not be machined
with the coarse roughing tool.
If the portion that is to be roughed cannot be approached from the
side, MillPlus will mill in a reciprocating plunge-cut. For this purpose,
you must enter the tool length LCUTS in the tool table TOOL.T and
define the maximum plunging ANGLE of the tool. MillPlus will
otherwise generate an error message.
T12= roughing tool offset index
C1= plunging depth(incremental): Dimension by which the tool
plunges in each infeed.
A3= plunging angle Angle (0..90°) at which the tool can plunge into
the workpiece. It only plunges vertically at 90º. A3 is only permitted
if "ANGLE" = 0 or "ANGLE" > 0
F feed for millingMilling feed rate in mm/min
F2= feed for plunging:Plunge feed rate in mm/min
Default setting
A3=90, F2=0.5*F for vertical plunging and F2=F for oblique plunging.
Procedure
1 MillPlus positions the tool over the cutter infeed point, taking the
side finishing allowance into account.
2 In the first plunging depth, the tool mills the contour from the
inside outward at the milling feed rate F.
3 The island contours are milled out with a movement toward the
pocket contour.
4 MillPlus then rough-mills the pocket contour and retracts the tool
to the clearance height.
Example
Contour roughing
G285 T10=0 C1=10 F=350 F2=250
T2 M6
G179
Support picture
Address description
B3= finishing allowance sides(incremental): Allowance for
multiple finish operations. If you enter B3 = 0, the remaining
finishing allowance will be cleared.
C1= plunging depth(incremental): Dimension by which the tool
plunges in each infeed.
I1= milling 1=climb -1=conventional
I2= finishing 0=complete 1=sides
0: finishing of side and bottom
1: finishing of side only
F feed for milling Milling feed rate in mm/min
F2= feed for plunging:Plunge feed rate in mm/min
Application
Function G286 is executed with function G179.
R1= proportional helix radius Percentage of the tool radius to be
used as the helix radius (>0) for plunging.
Read functions
G319 Read actual technology data
G320 Read actual G data
G321 Read tool data
G322 Read machine constant memory
G324 Read G group
G326 Read actual position
G327 Read operation mode
Synchronize CNC-PLC
G303 M19 with programmable direction
G305 Synchronize CNC and PLC
G338 Write IPLC marker or I/O
Read functions
G323 Read cycle data
G328 Read IPLC marker or I/O
G329 Read offset from kinematic model
Write functions
G331 Write tool data
G333 Write cycle macro
G339 Write offset in kinematic model
Support picture
Address description
D P error message number Programming error messages (P).
Application
Interruption of program or macro execution by means of a
programmed error message.
Procedure
The defined error message is set. Program execution is stopped
according to the error class of the called error.
Example
Setting an error message
G29 I1 E30 N=180 E30=(E4>360)
Support picture
Address description
D angle oriented spindle stop
I2= direction 3=CW 4=CCW
Application
Spindle orientation in a programmable direction, for example, to avoid
a collision.
Procedure
The spindle stops and orientates itself in the direction programmed
with I2= to the end angle D.
Example
Spindle orientation in programmed direction
G303 M19 D15 I2=3
Support picture
Address description
N5= IPLC marker or I/O number
E E parameter
Application
Wait until the IPLC has set a defined IPLC signal.
Procedure
G305 does not perform any actions until the movement in the
preceding block is finished. When the signal condition is satisfied,
machining will continue.
Example
Waiting until an IPLC marker is set
N1004 G305 N5="MS_FUNCTION_M10 < 1"
N1005 G305 N5="ACHSPOS::M_ACHSPOS_INIT > 0"
Support picture
Address description
G read actual technology data
I1= 1-7 (F,S,T,S1,F1,F3,F4)
I1=1 F feed
I1=2 S speed
I1=3 T tool number
E= (I2=0: without sister tool number)
I1=4 S1= cutting speed for turning
I1=5 F1= constant cutting feed (F1= with G41/G42)
E= (0=none, 1=inside only, 2=inside and outside, 3=outside only)
I1=6 F3= in depth feed
I1=7 F4= in plane feed
I2= 0= programmed value (optional)
I2=0 programmed value
E E parameter
Default setting
I2=0
Application
Changes to V5xx
See "G319_I2=1" on page 519.
Example
Exporting the active feed rate and saving the value.
G319 I1=1 E10
Support picture
Address description
G read actual G data
E E parameter
I1= selection number
G7 tilting working plane
E= (-180 - 180)[degrees]
I1=1 solid angle of A axis
I1=2 solid angle of B axis
I1=3 solid angle of C axis
Result of G17, G18, G19, G180, and G182
E= (1=X, 2=Y, 3=Z, 4=A, 5=B, 6=C)
I1=10 main axis (1-3)
I1=11 parallel axis (1-6)
I1=12 tool axis (1-3)
G25/G26 enable/disable feed/spindle override
E= (0=F and S active, 1=F=100%, 2=S=100%, 3=F and S=100%)
I1=13 feed/speed override (0--3)
G27/G28 reset/activate positioning functions
I1=16 positioning logic (I5=0 or 1)
E= (0=with positioning logic, 1=without positioning logic)
I1=17 reduced acceleration (I6=) E= (5-100)[%]
I1=18 contour accuracy (I7=)
E= (0--10.000) [mm|inch].
G39 tool offset change
E= ([mm|Inch]
I1=19 additional tool compensation (L)
I1=20 additional tool compensation (R)
Example
Reading current G data and saving the value in an E parameter.
G320 I1=10 E11
G320 I1=11 E12
G320 I1=12 E13
Support picture
Address description
G read tool data
T tool number
T2= sister tool index (optional)
E E parameter
I1= tool address (1=L .. 37=LCUTS)
I1=1 L tool length
I1=2 R tool radius
I1=3 R2 tool corner radius
I1=4 DL length allowance
I1=5 DR radius allowance
I1=8 CUT number of tool teeth
I1=9 DIRECT cutting direction
I1=10 ANGLE plunge angle
I1=11 PTYP tool type for magazine table
I1=12 TS tool status
I1=13 TIME1 tool life (time unit is minutes)
I1=14 CUR_TIME tool life (passed cutting time)
I1=16 LBREAK breakage tolerance: length
I1=24 LTOL wear tolerance: length
I1=25 RTOL wear tolerance: radius
I1=26 L-OFFS measuring offset: length
I1=27 R-OFFS measuring offset: radius
I1=31 DR2 tool corner radius offset
I1=32 TL tool locked
I1=37 LCUTS cut length in the tool axis
Changes to V5xx
See "G321" on page 522.
Example
Program blocks for reading the tool table.
G321 T10 I1=1 E1
G321 T10 I1=2 E10
G321 T10 I1=3 E20
G321 T10 I1=4 E2
G321 T10 I1=5 E11
E3=E1+E2
E12=E10+E11
Support picture
Address description
G read machine constant memory
N5= name of machine parameter
O1= E parameter for numerical value (optional)
O2= E parameter for string value (optional)
Application
Machine parameter (N5=)
The machine parameter is defined by a path. The various elements in
the path are separated with <:>. The path is specified by defining the
element in the corresponding CFG file. The current value of the
relevant machine parameter is returned as a numerical value or
"string". The path is case-sensitive.
E parameter number
O1= defines the number of the E parameter to which the numerical
result is written, while O2= defines the number of the E parameter to
which the "string" is written.
Changes to V5xx
See "G322" on page 523.
Example
Reading a numerical value and a string
G322 N5="CfgUnitOfMeasure:unitOfMeasure" O1=3
G322 N5="CfgProgAxis:X-Axis:axName" O2=10
Support picture
Address description
G read cycle data
O1= E parameter subprogram number (optional)
O2= E parameter G number of cycle (optional)
O3= first E parameter for cycle definition (optional)
O4= last E parameter for cycle definition (optional)
Application
E parameter number
Changes to V5xx
See "G323" on page 524.
Example
Reading a numerical value and a string
G81 X0 Y0 Z10
G323 O1=10
Read a current modal G code and save this value to the E-parameter
provided.
Support picture
Address description
G read G group
E E parameter
I1= G group
E= number of G code
I1=1 G0, G1, G2, G3, G6, G31, G33
I1=2 G17, G18, G19
I1=3 G40, G41, G42, G43, G44, G141
I1=4 G53, G54, G54_I, G55, G56, G57, G58, G59
I1=5 G63, G64
I1=7 G70, G71
I1=8 G90, G91
I1=10 G94, G95
I1=11 G96, G97 (rotation only)
I1=12 G36, G37 (rotation only)
I1=13 G72, G73
I1=14 G66, G67
I1=15 Off, G39
I1=16 G51, G52
I1=17 G196, G199
I1=19 G27, G28
I1=20 G25, G26
I1=22 G202, G201
I1=24 G180, G182
I1=26 Off, G141
I1=27 Off, G7
I1=28 Off, G8
Results
Generally, the result is equal to the value of the modal G code. For
example: When G40 is active, G324 I1=3 returns the value 40 as the
result.
Exceptions are:
Off returns the value 0.
G26_S, G26_F_S returns 26.
G54_I returns 54.nn, where nn is the index.
G180_XYZ returns 180.
Changes to V5xx
See "G324_I1" on page 524.
Example
Reading G code (I1=2) and saving the value to the E parameter 10.
G324 I1=2 E10
G324 I1=2
Read G code group 2
E10 contains the result
E10 =17 G17 is active
Read a current position value and save this value to the E-parameter
provided.
Support picture
Address description
G read actual position
I1= 0=workpiece, 1=machine
I1=0 position to workpiece zero point (default)
I1=1 position to machine zero point
I2= 0=programmed, 1=actual
I2=0 programmed position (default)
I2=1 actual position
I3= 0=current, 1=cycle pattern home position
I3=0 current position (default)
I3=1 cycle pattern home position
Returns the requested position, but compensated for the home
position of the cycle pattern. If the actual position is identical to the
cycle pattern end position (G336 I2=1), the cycle pattern home
position (G336 I2=0) is returned. Comment: With incremental
programming, for example, this function enables the program to be
continued from the cycle pattern home position instead of the actual
position.
X7= E parameter for X position
Y7= E parameter for Y position
Z7= E parameter for Z position
A7= E parameter for A position
B7= E parameter for B position
C7= E parameter for C position
D7= E parameter for S position
U7= E parameter for U position
V7= E parameter for V position
W7= E parameter for W position
Changes to V5xx
See "G326" on page 524.
Example
Program continuation after the contour milling cycle.
G280
G326 I1=0 I2=0 X7=20 Y7=21
G29 E1 N=90 E1=E20 >100
G29 E1 N=90 E1=E20 <-100
G0 X-110 Y100
N90
Read the current operation mode and save this value to the
E-parameter provided.
Support picture
Address description
G read operation mode
I1= active mode (1-6)
I1=0 not active
I1=1 free entry
I1=2 single block
I1=3 graphics
I1=5 search
I1=6 demo
E E parameter
Application
Changes to V5xx
See "G327" on page 525.
Example
Reading the operating mode (I1=1) and saving the value to the E
parameter 10.
G327 I1=1 E10
Support picture
Address description
N5= signal name Defines the symbolic name of the read PLC signal.
O1= E parameter for PLC signal numerical value Defines the E
parameter to which the read value of the PLC signal is written when
program execution continues.
O2= E parameter for PLC signal string value Defines the E
parameter to which the read value of the PLC text is written when
program execution continues.
Application
Reading of IPLC values for use during program or macro execution.
Changes to V5xx
See "G328" on page 525.
Procedure
G328 does not perform any actions until the movement in the
preceding block is finished. The PLC signal defined with N5= is read
and written to the E parameter.
N1126 END IF
Support picture
Address description
I1= read mode Defines how the kinematic model is read.
0 = directly via "key" (default)
1 = read sequential: 1st element
2 = read sequential: next element
3 = linear shift of a rotary axis
4 = total linear shift of a rotary axis. In table: from machine base.
In head: from spindle nose.
5 = rotary axis presence
I2= rotary axis (4=A,5=B,6=C) Effective only for I1=3, 4, or 5;
used in conjunction with I3=. In the kinematic model, the linear
shifts are specified for each rotary axis. In the individual elements,
the shifts are defined in an X, Y, and Z direction. Multiple elements,
e. g. one for the basic shift and a second for a compensation shift,
can be defined for each direction X, Y, or Z. I2= defines the rotary
axis from which the linear shift(s) in one direction are read. Unless
programmed, the value belonging to the rotary axis described first is
returned.
4 = A axis
5 = B axis
6 = C axis
I3= linear axis direction (1=X,2=Y,3=Z) Effective only for I1=3
or 4; used in conjunction with I2= and defines the linear shift
direction that is read in the rotary axis defined (with 12=).
1 = X direction
2 = Y direction
3 = Z direction
N5= key Effective only for I1=0 (read via "key"). Defines the "key" of
the kinematic element being read. Note: the key is case-sensitive.
Changes to V5xx
See "G329" on page 525.
Procedure
The values of the kinematic model can be read in various ways via
G329. All values of the read kinematic element are written to E
parameters.
Support picture
Address description
G write tool data
T tool number
T2= sister tool index
E E parameter
I1= tool address (1=L .. 37=LCUTS)
I1= tool address (1=L .. 37=LCUTS)
I1=1 L tool length
I1=2 R tool radius
I1=3 R2 tool corner radius
I1=4 DL length allowance
I1=5 DR radius allowance
I1=8 CUT number of tool teeth
I1=9 DIRECT cutting direction
I1=10 ANGLE plunge angle
I1=11 PTYP tool type for magazine table
I1=12 TS tool status
I1=13 TIME1 tool life (time unit is minutes)
I1=14 CUR_TIME tool life (passed cutting time)
I1=16 LBREAK breakage tolerance: length
I1=24 LTOL wear tolerance: length
I1=25 RTOL wear tolerance: radius
I1=26 L-OFFS measuring offset: length
I1=27 R-OFFS measuring offset: radius
I1=31 DR2 tool corner radius offset
I1=36 TL tool locked
I1=37 LCUTS cut length in the tool axis
The tool comment, however, cannot be changed.
Tool life
If M (G331 I1=13 E...) is written to the tool memory, M1= is also
written to the tool memory simultaneously (G331 I1=14 E...). The time
unit is minutes.
Changes to V5xx
See "G331" on page 526.
Example.
E5=100 (TOOL LENGTH) L (tool length) is set in E parameter 5.
E6=10 (TOOL RADIUS) R (tool radius) is set in E parameter 6.
E7=3 (TOOL CORNER RADIUS) R2 (tool corner radius) is set in E parameter 7.
E8=0 (LENGTH ALLOWANCE) DL (length allowance) is set in E parameter 8.
E9=0 (RADIUS ALLOWANCE) DR (radius allowance) is set in E parameter 9.
G331 T10 I1=1 E5 L (tool length) Write E parameter 5 to the tool table.
G331 T10 I1=2 E6 L (tool radius) Write E parameter 6 to the tool table.
G331 T10 I1=3 E7 R2 (tool corner radius) Write E parameter 7 to the tool table.
G331 T10 I1=4 E8 DL (length allowance) Write E parameter 8 to the tool table.
G331 T10 I1=5 E9 DR (radius allowance) Write E parameter 9 to the tool table.
T10 M67 Tool must be activated with the modified information.
---------------
E8=0.3 (LENGTH ALLOWANCE) DL (length allowance) E parameter 8 is set to 0.3.
G331 T10 I1=4 E8 DL (length allowance) Write E parameter 8 to the tool table.
T10 M67 Tool must be reactivated with the modified information.
Support picture
Address description
N5= signal name Defines the symbolic name of the set PLC signal.
E= E parameter PLC signal value Defines the E parameter to
which the value of the set PLC is written.
Application
Setting of IPLC values for use during program or macro execution.
Changes to V5xx
See "G328" on page 525.
Procedure
G338 does not perform any actions until the movement in the
preceding block is finished. The PLC signal defined with N5= is set
with the value written to the E parameter.
Example
Different ways of setting an IPLC marker
N1002 G338 N5="M9586" E6
N1003 G338 N5="MS_FUNCTION_M10" E7
N1004 G338 N5="MS_PROGRAMINTERRUPT[10]" E8
N1005 G338 N5="ACHSPOS::M_ACHSPOS_INIT" E16
Support picture
Address description
I1= write mode Defines how the kinematic model is written.
0 = in configuration (on hard drive) (default)
1 = intermittently (lost after controller is switched off)
I4= 0=absolute, 1=incremental Defines whether the value
overwrites the previous value or whether it is added to the existing
value
0 = absolute. The previous value is overwritten
1 = incremental. Value is added (default)
I5= value Value is written to "val" of element type
CfgKinSimpleTrans with "key" from N5=
N5= key Effective only for I1=0 (read via "key"). Defines the "key" of
the kinematic element being written. Note: the key is case-
sensitive.
O1= E parameter for status
0 = no error
1 = error: unknown "key"
2 = error: "key" must not be modified (probably incorrect Cfg
element)
3 = error: other errors
Procedure
The value of a kinematic element can be written via G339.
Support picture
Address description
I1= activation (0=override, 1=add) Defines the protection zones.
0 = write mode: overwrite (default) First, the active protection
zones of all axes are cancelled. Then the newly programmed
protection zones are activated.
1 = write mode: add Enabled protection zones remain active. The
newly programmed protection zones are activated only for the
programmed axes.
X1=,Y1=,Z1=,A1=,B1=,C1= positive limit value The programmed
positions are relative to the reference point and must lie within the
range of the SW limit switches.
X2=,Y2=,Z2=,A2=,B2=,C2= negative limit value The programmed
positions are relative to the reference point and must lie within the
range of the SW limit switches.
Default setting
G380 I1=0
Application
Cancelation
Active protection zone monitoring G380 is canceled by:
G380 without address
Controller activation
G380 is not canceled by:
M30
Cancel program
G951 Calibrate
G953 Measure tool length
G954 Tool length, tool radius
G955 Tool edge monitoring SF
G956 Tool breakage monitoring
G957 Tool edge monitoring KF
G958 Tool measurements: length, radius, corner radius
For a description of these G codes, refer to the Blum Manual.
Availability
The machine and control must be prepared for the measuring system
by the machine manufacturer. If your machine does not feature all the
G codes described here, refer to your Machine Manual.
Programming
Any rotary axes are neither taken into account nor positioned.
Free working plane G7 must not be active
Machine parameters
The G code and associated functions are activated via machine
parameters.
9.2 Tool Measuring Cycles for Tool Touch Probe Measuring Systems
Touch Probe Measuring
Systems
Programming
Before any of the G600-G609 functions are called, an M24 (switch on
measuring devices) must be programmed. It sets the measuring
devices to the correct measuring position. To retract the measuring
devices at the end of the operation, an M28 (switch off measuring
devices) must be programmed.
Machine parameters
The G code and associated functions are activated via machine
parameters.
Definition
Cycle definition is independent of the machining plane (G17, G18,
G19, and G7).
Minor axis Y Z Z
Working axis XY XZ YZ
Comments
Comments are not allowed in a block with a machining cycle.
Explanation of addresses
The addresses described here are used in most cycles. Specific
addresses are described in the relevant cycle.
X, Y, Z starting point Starting point of the measuring movement.
The measuring cycle is executed from here. If all the starting point
coordinates are not entered, the current position of the touch probe
is used.
Unlike a milling cycle, a measuring cycle is executed directly from
the starting point (X, Y, Z).
The touch probe moves to the first starting point (X, Y, Z) in rapid
traverse and, depending on G28, using positioning logic.
Support picture
Address description
I1= meas.dir. ±1/±2/-3=main/minor/tl
X,Y,Z starting point
B1= dist. meas. positions main axis If I1=±2, B1= must be
programmed (B1= must not equal zero). If I1=-3, B1= and B2= must
not be programmed at the same time.
B2= dist. meas. positions par. axis If I1=±1, B2= must be
programmed (B2= must not equal zero). If I1=-3, B1= and B2= must
not be programmed at the same time. Not permitted: B1= B2= 0.
On saving, the measured values are added to the active zero point
shift.
C1= measuring distance
L2= safety distance
I3= 2nd measurem. via L2 0=no 1=yes
I5= G5x offset 0=no 1=B4 2=A/B/C
I5=0 Do not save.
I5=1 Save in the active zero point shift in the angle of rotation (G54
B4=).
I5=2 Save in the active zero point shift in the rotary axis (A/B/C).
A1= target value angle If the measured angle is saved in the active
zero point shift (I5>0), it is used to calculate the target value. The
measured position is thus given the target value for subsequent
programming.
O3= E par. measured angle
F2= measuring feed
For a description of the additional addresses, see "Explanation of
addresses" on page 379.
Default setting
B1=0, B2=0, C1=20, L2=0, I3=0, I5=0, A1=0, F2=PROBE_FEED.
G17
Measuring direction I1= ±1 I1= ±2 I1= 3
B1= B2=
Angle plane XY XY XZ YZ
Rotary axis C C B A
G18
Measuring direction I1= ±1 I1= ±2 I1= 3
B1= B2=
Angle plane XZ XZ XY ZY
Rotary axis B B C A
G19
Measuring direction I1= ±1 I1= ±2 I1= 3
B1= B2=
Angle plane YZ YZ YX ZX
Rotary axis A A C B
Example
Aligning a workpiece
G17
G54 I3
G620 X-50 Y-50 Z-5 I1=2 B1=100 L2=10 I3=1 I5=2
G0 C0
Support picture
Address description
I1= meas.dir. ±1/±2/-3=main/minor/tl
X,Y,Z starting point
C1= measuring distance
L2= safety distance
I2= probe orientat. -1=auto 0=no
I2=-1 Measure with automatic orientation. For an all-round
transmitter, orientation is in the scanning direction. In the case of
a two-layer touch probe, two measurements are performed with
a 180° difference in orientation.
I2=0 Measure without probe orientation.
I5= G5x offset 0=no 1=X/Y/Z
I5=0 Do not save.
I5=1 Save in the active zero point shift in the linear axes (X/Y/Z).
On saving, the measured values are added to the active zero point
shift.
B1= target position When the measured coordinate is saved in
the active zero point shift (I5>0), it is used to calculate the nominal
value. The measured coordinate is assigned the target value for
further programming.
O1= E par. for measured position
F2= measuring feed
For a description of the additional addresses, see "Explanation of
addresses" on page 379.
Default setting
C1=20, L2=0, I2=-1, I5=0, B1=0, F2=PROBE_FEED.
Application
Measuring direction
Depending on the plane selected (G17, G18, or G19), address I1=
determines the measuring direction.
Example
Measuring a position
G621 X40 Y40 Z-5 I1=2 L2=20 O1=300
Support picture
Address description
I4= corner number
X,Y,Z starting point
B3= distance to corner
C1= measuring distance
L2= safety distance
I2= probe orientat. -1=auto 0=no
I2=-1 Measure with automatic orientation. For an all-round
transmitter, orientation is in the scanning direction. In the case of
a two-layer touch probe, two measurements are performed with
a 180° difference in orientation.
I2=0 Measure without probe orientation.
I3= 2nd measurem. via L2 0=no 1=yes
I5= G5x offset 0=no 1=X/Y/Z
I5=0 Do not save.
I5=1 Save in the active zero point shift in the linear axes (X/Y/Z).
On saving, the measured values are added to the active zero point
shift.
O1= E par. meas. position main axis
X1=, Y1=, Z1= target position corner When the measured
coordinate is saved in the active zero point shift (I5>0), it is used to
calculate the nominal value. The measured coordinate is assigned
the target value for further programming.
O1= E par. meas. position minor axis
F2= measuring feed
For a description of the additional addresses, see "Explanation of
addresses" on page 379.
Default setting
I4=1, B3=10, C1=20, L2=0, I2=-1, I3=0, I5=0, X1=0, Y1=0, Z1=0,
F2=PROBE_FEED.
Direction of measurements
The first measurement is always perpendicular to the principal axis.
The second measurement is always perpendicular to the minor axis.
Procedure
1 Rapid traverse to first starting point (X, Y, Z). If X, Y, Z are not
programmed, the current position is used as the starting point.
2 First measurement with measurement feed (F2=) until the
workpiece or the maximum measuring range (C1=) is reached.
3 Rapid traverse back to the first starting point. An error message is
issued if the touch probe has not switched within the maximum
measuring range (C1=).
4 Rapid traverse to the starting point of the 2nd measurement;
depending on the value of I3=, the movement is performed at the
safety clearance (L2=).
5 Second measurement (as described in points 2 and 3).
6 At the end, a rapid traverse to the safety clearance (L2=) is
executed.
7 The measured value is saved in accordance with I5=.
Example
Aligning the outside corner of a workpiece
G1 X... Y... Z-5
G54 I3
G622 L2=20 B3=25 I3=1 I5=1 X1=-50 Y1=-50
Support picture
Address description
I4= corner number
X,Y,Z starting point
B3= distance to corner
C1= measuring distance
L2= safety distance
I2= probe orientat. -1=auto 0=no
I2=-1 Measure with automatic orientation. For an all-round
transmitter, orientation is in the scanning direction. In the case of
a two-layer touch probe, two measurements are performed with
a 180° difference in orientation.
I2=0 Measure without probe orientation.
I3= 2nd measurem. via L2 0=no 1=yes
I5= G5x offset 0=no 1=X/Y/Z
I5=0 Do not save.
I5=1 Save in the active zero point shift in the linear axes (X/Y/Z).
On saving, the measured values are added to the active zero point
shift.
X1=, Y1=, Z1= target position corner When the measured
coordinate is saved in the active zero point shift (I5>0), it is used to
calculate the nominal value. The measured coordinate is assigned
the target value for further programming.
O1= E par. meas. position main axis
O1= E par. meas. position minor axis
F2= measuring feed
For a description of the additional addresses, see "Explanation of
addresses" on page 379.
Default setting
I4=1, B3=10, C1=20, L2=0, I2=-1, I3=0, I5=0, X1=0, Y1=0, Z1=0,
F2=PROBE_FEED.
Direction of measurements
The first measurement is always perpendicular to the principal axis.
The second measurement is always perpendicular to the minor axis.
Procedure
1 Rapid traverse to first starting point (X, Y, Z). If X, Y, Z are not
programmed, the current position is used as the starting point.
2 First measurement with measurement feed (F2=) until the
workpiece or the maximum measuring range (C1=) is reached.
3 Rapid traverse back to the first starting point. An error message is
issued if the touch probe has not switched within the maximum
measuring range (C1=).
4 Rapid traverse to the starting point of the 2nd measurement;
depending on the value of I3=, the movement is performed at the
safety clearance (L2=).
5 Second measurement (as described in points 2 and 3).
6 At the end, a rapid traverse to the safety clearance (L2=) is
executed.
7 The measured value is saved in accordance with I5=.
Example
Aligning the inside corner of a workpiece
G1 X... Y... Z-5
G54 I3
G623 L2=20 B3=25 I3=1 I5=1 X1=-50 Y1=-50
Support picture
Address description
I4= corner number
X,Y,Z starting point
B1=,B2= side length
B3=,B4= distance to corner If B4= is not entered, B4=B3 is used.
C1= measuring distance
L2= safety distance
I2= probe orientat. -1=auto 0=no
I2=-1 Measure with automatic orientation. For an all-round
transmitter, orientation is in the scanning direction. In the case of
a two-layer touch probe, two measurements are performed with
a 180° difference in orientation.
I2=0 Measure without probe orientation.
I3= 2nd measurem. via L2 0=no 1=yes
I5= G5x offset 0=no 1=X/Y/Z
I5=0 Do not save.
I5=1 Save in the active zero point shift in the linear axes (X/Y/Z).
On saving, the measured values are added to the active zero point
shift.
X1=, Y1=, Z1= target center point When the measured
coordinate is saved in the active zero point shift (I5>0), it is used to
calculate the nominal value. The measured coordinate is assigned
the target value for further programming.
O1=,O2= E par. meas. center
O4=,O5= E par. meas. length
F2= measuring feed
For a description of the additional addresses, see "Explanation of
addresses" on page 379.
Default setting
I4=1, B3=10, B4=B3, C1=20, L2=0, I2=-1, I3=0, I5=0, X1=0, Y1=0,
Z1=0, F2=PROBE_FEED.
Procedure
1 Rapid traverse to the first starting point (X, Y, Z). If X, Y, Z are not
programmed, the current position is used as the starting point.
2 First measurement with measurement feed (F2=) until the
workpiece or the maximum measuring range (C1=) is reached.
3 Rapid traverse back to the first starting point. An error message is
issued if the touch probe has not switched within the maximum
measuring range (C1=).
4 Rapid traverse to the starting point of the 2nd measurement;
depending on the value of I3=, the movement is performed at the
safety clearance (L2=).
5 Second measurement (as described in points 2 and 3).
6 The opposite corner is measured by means of a 3rd and 4th
measurement (as described in points 2 and 3).
7 At the end, a rapid traverse to the safety clearance (L2=) is
executed.
8 The measured value is saved in accordance with I5=.
Support picture
Address description
I4= corner number
X,Y,Z starting point
B1=,B2= side length
B3=,B4= distance to corner If B4= is not entered, B4=B3 is used.
C1= measuring distance
L2= safety distance
I2= probe orientat. -1=auto 0=no
I2=-1 Measure with automatic orientation. For an all-round
transmitter, orientation is in the scanning direction. In the case of
a two-layer touch probe, two measurements are performed with
a 180° difference in orientation.
I2=0 Measure without probe orientation.
I3= 2nd measurem. via L2 0=no 1=yes
I5= G5x offset 0=no 1=X/Y/Z
I5=0 Do not save.
I5=1 Save in the active zero point shift in the linear axes (X/Y/Z).
On saving, the measured values are added to the active zero point
shift.
X1=, Y1=, Z1= target center point When the measured
coordinate is saved in the active zero point shift (I5>0), it is used to
calculate the nominal value. The measured coordinate is assigned
the target value for further programming.
O1=,O2= E par. meas. center
O4=,O5= E par. meas. length
F2= measuring feed
For a description of the additional addresses, see "Explanation of
addresses" on page 379.
Default setting
I4=1, B3=10, B4=B3, C1=20, L2=0, I2=-1, I3=0, I5=0, X1=0, Y1=0,
Z1=0, F2=PROBE_FEED.
Procedure
1 Rapid traverse to the first starting point (X, Y, Z). If X, Y, Z are not
programmed, the current position is used as the starting point.
2 First measurement with measurement feed (F2=) until the
workpiece or the maximum measuring range (C1=) is reached.
3 Rapid traverse back to the first starting point. An error message is
issued if the touch probe has not switched within the maximum
measuring range (C1=).
4 Rapid traverse to the starting point of the 2nd measurement;
depending on the value of I3=, the movement is performed at the
safety clearance (L2=).
5 Second measurement (as described in points 2 and 3).
6 The opposite corner is measured by means of a 3rd and 4th
measurement (as described in points 2 and 3).
7 At the end, a rapid traverse to the safety clearance (L2=) is
executed.
8 The measured value is saved in accordance with I5=.
Support picture
Address description
X,Y,Z starting point
R circle radius
D1= starting angle Angle shift of the circle measurement, relative
to the principal axis.
D2= second angle Angle between first and second measurement
and between third and fourth measurement. The smallest entry
value is 5°.
D3= third angle Angle between the first and third measurement.
D3 must be at least 5° greater than D2. If D3 and D2 are identical, a
3-point measurement is performed.
Default setting
D1=0, D2=90, D3=180, C1=20, L2=0, I2=-1, I3=0, I5=0, X1=0, Y1=0,
Z1=0, F2=PROBE_FEED.
Application
Starting point
The starting point of the circle measurement must be selected such
that the first measurement moves as precisely as possible in the
direction of the circle center.
Measuring direction
The circle measurement is executed counter-clockwise.
Procedure
1 Rapid traverse to the first starting point (X, Y, Z). If X, Y, Z are not
programmed, the current position is used as the starting point.
2 First measurement with measurement feed (F2=) until the
workpiece or the maximum measuring range (C1=) is reached.
3 Rapid traverse back to the first starting point. An error message is
issued if the touch probe has not switched within the maximum
measuring range (C1=).
4 Rapid traverse to the starting point of the 2nd measurement;
depending on the value of I3=, the movement is performed at the
safety clearance (L2=).
5 Second measurement (as described in points 2 and 4).
6 At the end, a rapid traverse to the safety clearance (L2=) is
executed.
7 The measured value is saved in accordance with I5=.
Support picture
Address description
X,Y,Z starting point
R circle radius
D1= starting angle Angle shift of the circle measurement, relative
to the principal axis.
D2= second angle Angle between first and second measurement
and between third and fourth measurement. The smallest entry
value is 5°.
D3= third angle Angle between the first and third measurement.
D3 must be at least 5° greater than D2. If D3 and D2 are identical, a
3-point measurement is performed.
C1= measuring distance
L2= safety distance
I2= probe orientat. -1=auto 0=no
I2=-1 Measure with automatic orientation. For an all-round
transmitter, orientation is in the scanning direction. In the case of
a two-layer touch probe, two measurements are performed with
a 180° difference in orientation.
I2=0 Measure without probe orientation.
I3= 2nd measurem. via L2 0=no 1=yes
I5= G5x offset 0=no 1=X/Y/Z
I5=0 Do not save.
I5=1 Save in the active zero point shift in the linear axes (X/Y/Z).
On saving, the measured values are added to the active zero point
shift.
X1=, Y1=, Z1= target center point When the measured
coordinate is saved in the active zero point shift (I5>0), it is used to
calculate the nominal value. The measured coordinate is assigned
the target value for further programming.
R1= minimum circle radius The smallest permitted radius of the
circle. The measured radius must be at least greater than or equal to
R1, otherwise an error message is issued.
R1= maximum circle radius The largest permitted radius of the
circle. The measured radius must be at least smaller than or equal
to R2, otherwise an error message is issued.
O1=,O2= E par. meas. center
O6= E par. measured diameter
Default setting
D1=0, D2=90, D3=180, C1=20, L2=10, I2=-1, I3=0, I5=0, X1=0,
Y1=0, Z1=0, F2=PROBE_FEED.
Application
Starting point
The starting point of the circle measurement must be selected so that
the first measurement moves as precisely as possible in the direction
of the circle center.
Measuring direction
The circle measurement is executed counter-clockwise.
Procedure
1 Rapid traverse to first starting point (X, Y, Z). If X, Y, Z are not
programmed, the current position is used as the starting point.
2 First measurement with measurement feed (F2=) until the
workpiece or the maximum measuring range (C1=) is reached.
3 Rapid traverse back to the first starting point. An error message is
issued if the touch probe has not switched within the maximum
measuring range (C1=).
4 Rapid traverse to the starting point of the 2nd measurement;
depending on the value of I3=, the movement is performed at the
safety clearance (L2=).
5 Second measurement (as described in points 2 and 4).
6 At the end, a rapid traverse to the safety clearance (L2=) is
executed.
7 The measured value is saved in accordance with I5=.
Support picture
Address description
I1= meas.dir. ±1/±2/-3=main/minor/tl
X,Y,Z starting point (meas. point 1)
X1=,Y1=,Z1= measuring point 2
X2=,Y2=,Z2= measuring point 3
O1= E par. for absolute spatial angle A5=
O2= E par. for absolute spatial angle B5=
O3= E par. for absolute spatial angle C5=
C1= measuring distance
L2= safety distance The safety distance is based on the starting
point of each measurement and lies in the measuring direction.
I3= 2nd measurem. via L2 0=no 1=yes
F2= measuring feed
For a description of the additional addresses, see "Explanation of
addresses" on page 379.
Default setting
C1=20, L2=0, I3=0, F2=PROBE_FEED.
Application
The measured inclination can leveled with the G7 function.
Example
Aligning and rotating the machining plane
G54 I3
G0 X50 Y20 Z100
G631 X18 Y0 Z-16 X1=18 Y1=10 Z1=-16 X2=10 Y2=0 Z2=-6
C1=15 L2=20 O1=10 O2=11 O3=12 F2=150
G0 Z100
G7 A5=E10 B5=E11 C5=E12 L1=1
Support picture
Address description
X, Y, Z starting point (meas. point 1) Starting point for
measuring the 1st hole (or current position).
X1=, Y1=, Z1= measuring point 2 Starting point for measuring the
2nd hole (all 3 coordinates must be entered).
C1= measuring distance
L2= safety distance
G5x offset 0=no 1=B4 2=A/B/C Save measured values in a zero
point shift. On saving, the measured values are added to the active
zero point shift.
I5=0 Do not save.
I5=1 Save in the active zero point shift of the rotation angle (B4=).
I5=2 Save in the active zero point shift in the rotary axis (A/B/C).
A1= target value angle If the measured angle is saved in the
active zero point shift (I5>0), it is used to calculate the target value.
The measured position is thus given the target value for subsequent
programming.
O3= E par. measured angle Number of the E parameter in which
the angle is saved.
F2= measuring feed
For a description of the additional addresses, see "Explanation of
addresses" on page 379.
Default setting
C1=20, I5=0, A1=0, F2=PROBE_FEED.
Procedure
1 Rapid traverse to first starting point (X, Y, Z) in the 1st hole. If X, Y,
Z are not programmed, the current position is used as the starting
point.
2 Measurement with measurement feed (F2=), until the hole wall or
the maximum measuring range (C1=) is reached. The center point
is first measured roughly and then precisely.
3 Rapid traverse back to starting point. An error message is issued if
the touch probe has not switched within the maximum measuring
range (C1=). Retraction to the safety clearance (L2=).
4 Rapid traverse, over the safety clearance (L2=), to the starting
point in the 2nd hole.
5 The hole is measured at the new position in the same way.
6 Steps 4 and 5 are repeated for the 3rd and 4th hole
measurements.
7 At the end, a rapid traverse to the safety clearance (L2=) is
executed.
8 The measured value is saved in accordance with I5=.
Example
Aligning a workpiece
G54 I3
G633 X-100 Y-50 Z-5 X1=10 Y1=-50 Z1=-5 L2=30 I5=2
G0 C0
Support picture
Address description
X, Y, Z starting point (meas. point 1) Starting point for
measuring the 1st hole (or current position).
X1=, Y1=, Z1= measuring point 2 Starting point for measuring the
2nd hole (all 3 coordinates must be entered).
X2=, Y2=, Z2= measuring point 3 Starting point for measuring the
3rd hole (all 3 coordinates must be entered).
X3=, Y3=, Z3= measuring point 4 Starting point for measuring the
4th hole (all 3 coordinates must be entered).
C1= measuring distance
L2= safety distance
I2= probe orientat. -1=auto 0=no
I2=-1 Measure with automatic orientation. For an all-round
transmitter, orientation is in the scanning direction. In the case of
a two-layer touch probe, two measurements are performed with
a 180° difference in orientation.
I2=0 Measure without probe orientation.
I5= G5x offset 0=no 1=X/Y/ZSave measured values in a zero point
shift. On saving, the measured values are added to the active zero
point offset.
I5=0 Do not save.
I5=1 Save in the active zero point shift in the linear axes (X/Y/Z).
X4=, Y4=, Z4= target center point When the measured
coordinate is saved in the active zero point shift (I5>0), it is used to
calculate the target value. The measured coordinate is assigned the
target value for further programming.
O1= E par. meas. center main axisNumber of the E parameter in
which the measured center point of the principal axis is saved
O2= E par. meas. center minor axis Number of the E parameter
in which the measured center point of the minor axis is saved
F2= measuring feed
For a description of the additional addresses, see "Explanation of
addresses" on page 379.
Application
Starting position
The starting position must be programmed inside the hole.
Procedure
1 Rapid traverse to first starting point (X, Y, Z) in the 1st hole. If X, Y,
Z are not programmed, the current position is used as the starting
point.
2 Measurement with measurement feed (F2=), until the hole wall or
the maximum measuring range (C1=) is reached. The center point
is first measured roughly and then precisely.
3 Rapid traverse back to starting point. An error message is issued if
the touch probe has not switched within the maximum measuring
range (C1=). Retraction to the safety clearance (L2=).
4 Rapid traverse, over the safety clearance (L2=), to the starting
point in the 2nd hole.
5 The hole is measured at the new position in the same way.
6 At the end, a rapid traverse to the safety clearance (L2=) is
executed.
7 The measured value is saved in accordance with I5=.
Support picture
Address description
R circle radius
X, Y, Z circlecenter point Theoretical center point of the circle
to be measured.
D1= starting angle Angle shift of the circle measurement, relative
to the principal axis.
D2= second angle Angle between first and second measurement
and between third and fourth measurement. The smallest entry
value is 5°.
D3= third angle Angle between the first and third measurement.
D3 must be at least 5° greater than D2. If D3 and D2 are identical, a
3-point measurement is performed.
C2= pre distance meas. point The distance between the starting
point of the measuring movement and the theoretical circle radius.
The default is SAFETY_DIST.
L2= safety distance
I2= probe orientat. -1=auto 0=no
I2=-1 Measure with automatic orientation. For an all-round
transmitter, orientation is in the scanning direction. In the case of
a two-layer touch probe, two measurements are performed with
a 180° difference in orientation.
I2=0 Measure without probe orientation.
I3= 2nd measurem. via L2 0=no 1=yes
O1= E par. meas. center main axis
O2= E par. meas. center minor axis
O6= E par. measured diameter
O7= E par. radius difference The difference between the
measured radius and the programmed circular radius R is saved to
an E parameter. The number of the E parameter must be entered. If
no number is entered, nothing is saved.
R1= minimum circle radius The smallest permitted radius of the
circle. The measured radius must be at least greater than or equal to
R1, otherwise an error message is issued.
R1= maximum circle radius The largest permitted radius of the
circle. The measured radius must be at least smaller than or equal
to R2, otherwise an error message is issued.
Default setting
D1=0, D2=90, D3=180, C2=SAFETY_DIST, L2=0, I2=-1, I3=0,
F2=PROBE_FEED, F5=RAPID_FEED
Application
Starting point
The starting point of the circle measurement must be selected such
that the first measurement moves as precisely as possible in the
direction of the circle center.
The starting point of the measuring movement is determined from the
circle center point, the pre-measurement distance, and the starting
angle. The measuring cycle is executed from here. If not all
coordinates of the center point are entered, the current position of the
touch probe is used.
Measuring direction
The circle measurement is executed counter-clockwise.
Procedure
1 Rapid traverse to the starting point calculated from X, Y, Z, R, and
C2. If X, Y, Z are not programmed, the current position is used as
the starting point.
2 First measurement with measurement feed (F2=), until the
workpiece or the maximum measuring range (C2+MEAS_RANGE)
is reached.
3 Rapid traverse back to the first starting point. An error message is
issued if the touch probe has not switched within the maximum
measuring range (C2+MEAS_RANGE).
4 Rapid traverse to the starting point of the 2nd measurement;
depending on the value of I3=, the movement is performed at the
safety clearance (L2=) or with a circular movement.
5 Second measurement (as described in points 2 and 4).
6 At the end, a rapid traverse to the safety clearance (L2=) is
executed.
Support picture
Address description
I1= 1=L 2=R 3=CAL_ANG + R
X,Y,Z starting point
C1= measuring distance
B1= target position If I1= 1, the measured coordinate is compared
with the target position. The difference is offset in the new probe
length.
R ball radius If I1= 2 or 3, the ball radius must be entered.
L2= safety distance
O1= E par. L
O2= E par. R
O3= E par. CAL_ANG
A description of the other addresses is provided under "Introduction to
measuring cycles".
Default setting
C1=20, L2=0.
Example
Calibrating the touch probe orientation angle and probe radius
G54 X0 Y0 Z0
G638 R10 I1=3 X-45 Y-3 Z342.651 C1=20
Support picture
Address description
I1= 1=L 2=R 3=CAL_ANG + R
X,Y,Z starting point
C1= measuring distance
B1= target position If I1= 1, the measured coordinate is compared
with the target position. The difference is offset in the new probe
length.
R ball radius If I1= 2 or 3, the ball radius must be entered.
L2= safety distance
O1= E par. L
O2= E par. R
O3= E par. CAL_ANG
A description of the other addresses is provided under "Introduction to
measuring cycles".
Default setting
C1=20, L2=0.
Example
Calibrating the touch probe length
G54 X0 Y0 Z0
G639 I1=1 X-45 Y-3 Z342.651 C1=20 B1=309.769
Drilling cycles
1 G781 Drilling/centring
enhancement of G81
2 G782 Deep-hole drilling, enhancement of G83
3 G783 Deep-hole drill. add. chip break.
enhancement of G83 (only in DIN/ISO)
4 G784 Tapping, enhancement of G84 (only in MDI)
5 G785 Reaming, enhancement of G85
6 G786 Boring, enhancement of G86
7 G790 Back-boring
8 G794 Tapping, interpolated, enhancement of G84 (only
in MDI)
Milling cycles
1 G787 Pocket milling, enhancement of G87
2 G788 Key-way milling, enhancement of G88
3 G789 Circular pocket milling, enhancement of G89
4 G797 Pocket finishing
5 G798 Key-way finishing
6 G799 Circular pocket finishing
Positioning logic
In rapid traverse and, depending on G28, using positioning logic, the
tool moves to the the 1st setup clearance via he position (X, Y, Z,)
defined by the positioning cycle.
Spindle activation
The spindle must be switched on for the cycle start. F and S can be
overwritten in the cycle definition.
Mirroring
If you are only mirroring one axis, the direction of rotation of the tool
changes. This does not apply during machining cycles.
Comments
Comments are not allowed in a block with a machining cycle. Before
calling up the cycle, you must program radius compensation G40.
Support picture
Address description
X radius
F2= feed [mm/rev|inch/rev]
L tool axis displacement
I1= uncouple 0=no 1=yes
S speed
The following addresses in the tool memory are used by the cycle:
R adjustment radius Is automatically overwritten with the current
radius after face turning.
A1= orientation angle for engaging Is automatically overwritten
with the current angle (0-359.999 degrees) after face turning.
R1= minimum diameter (optional)
R2= maximum diameter (optional)
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L0, I1=0
Application
G700 must not be programmed if:
G36 and/or G182 are active.
Tool T0 is programmed.
Spindle orientation at an angle must not be zero.
Resetting the radial facing slide
The maximum permitted speed can be used to reset the radial facing
slide to the starting diameter.
Example
Face turning
G700 X50 L5 F=0.05 S600
G700 X70
G0 Z100
G700 X40 I1=1 S1200
Support picture
Address description
B1= B2= side length
L heightMachining height >0
L1=, L2= setup clearance
L3= finishing allowance
C1= plunging depth
C2= proportional cutting width Maximum percentage of the tool
diameter to be used as the cutting width on each pass. The total
width is divided into equal sections. The last cut goes 10% of the
mill diameter over the edge of the material.
C3= radial setup clearance
I1= 1=meander 2=M.+rapid 3=parallel Method:
I1=1 meander
I1=2 meander and transverse movement outside material
I1=3 machining in same direction. The directions of B1= and B2=
determine whether climb or up-cut milling is used.
F2= rapid for plunging
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, L3=0, C1=L-L3, C2=67%, C3=5, I1=1
Example
Multipass milling
G730 I1=2 B1=100 B2=80 L10 L1=5 C1=3 C2=73 C3=1 F100
G79 X-50 Y-50 Z0
Support picture
Address description
D diameter Nominal thread diameter.
F2= pitch, +/-=thread direction The sign determines the thread
pitch: right thread ( + ) and left thread ( - ). Range: +/- 99.9999 mm.
L= depth Distance between tool surface and thread base.
I2= number of threads per step Number of thread ridges per tool.
In between, the tool is shifted by I2 times the pitch.
I2=1 one ridge. Continuous helical path over the entire length of
the thread
I2>1 multiple ridges. Multiple helical paths with approach and
departure.
L1= 1st setup clearance 1 distance between the tool tip and tool
surface.
L2= 2nd setup clearance 2 distance in tool direction whereby no
collision can occur between the tool and clamp.
I1= milling 1=climb -1=conventional Type of milling:
+1 = climb milling
-1 = up-cut milling
F5= plunge/retract rapid Maximum speed during infeed or
retraction. Can be influenced by rapid traverse override.
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
I1=1, L1=F2, L2=0, F5=F
Feed
Normally, the feed is based on the tool center. In this case, the feed is
based on the tool radius (see: F1=, constant cut feed with radius
compensation of circles).
Note
By default, the mill direction is from bottom to top (see example).
Depending on the parameters I1=/F2, the mill direction can also be
from top to bottom.
Example
Internal thread milling
T2 M6
S800 F120 M3
G740 D=60 F2=5,5 L16 I2=1 F5=1500 I1=1 L1=5 F=200
G79 X0 Y0 Z0
Support picture
Address description
D diameter Nominal thread diameter.
F2= pitch, +/-=thread direction The sign determines the thread
pitch: right thread ( + ) and left thread ( - ). Range: +/- 99.9999 mm.
L depth Distance between tool surface and thread base.
I2= number of threads per step Number of thread ridges per tool
I2=1 one ridge. Continuous helical path over the entire thread
length
I2>1 multiple ridges. Multiple helical paths with approach and
departure. In between, the tool is shifted by I2 times the pitch.
L1= 1st setup clearance 1 distance between the tool tip and tool
surface.
L2= 2nd setup clearance 2 distance in tool direction whereby no
collision can occur between the tool and clamp.
I1= milling 1=climb -1=conventional Type of milling:
+1 = climb milling
-1 = up-cut milling
F5= plunge/retract rapid Maximum speed during infeed or
retraction. Can be influenced by rapid traverse override.
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
I1=1, L1=F2, L2=0, F5=F
Example
External thread milling
T2 M6
S800 F120 M3
G740 D=60 F2=5,5 L16 I2=1 F5=1500 I1=1 L1=5 F=200
G79 X0 Y0 Z0
Support picture
Address description
B1= spacing
K1= number of operations
X, Y, Z position
P1= point definition number
A1= angle
A5= angle of rotation
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
A1=0, A2=90, A5=0.
Application
Machining position
The machining position is defined via X,Y,Z or point definition number
P1=.
Pocket angle
The pocket angle is defined by A5.
Procedure
1 Rapid traverse to position.
2 The machine cycle previously defined is executed at this position.
3 The next position is approached after execution.
4 Repeat procedure (2-3) until all positions (K1=) have been
machined.
Support picture
Address description
B1= longitudinal spacing
K1= number of longitudinal operations
B2= transverse spacing
K2= number of transverse operations
X, Y, Z position
P1= point definition number
A1= starting angle
A2= ending angle
A5= angle of rotation
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
A1=0, A2=90, A5=0.
Application
Machining position
The machining position is defined via X,Y,Z or point definition number
P1=.
Pocket angle
The pocket angle is defined by A5.
Procedure
1 Rapid traverse to position.
2 The machine cycle previously defined is executed at this position.
3 The next position is approached after execution. The direction of
the rectangle is determined by angle A1=.
4 Repeat procedure (2-3) until all positions (K1=, K2=)) have been
machined.
Support picture
Address description
B1= longitudinal spacing
K1= number of longitudinal operations
B2= transverse spacing
K2= number of transverse operations
X, Y, Z position
P1= point definition number
A1= starting angle
A2= ending angle
A5= angle of rotation
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
A1=0, A2=90, A5=0.
Application
Machining position
The machining position is defined via X,Y,Z or point definition number
P1=.
Pocket angle
The pocket angle is defined by A5.
Procedure
1 Rapid traverse to position.
2 The machine cycle previously defined is executed at this position.
3 The next position is approached after execution. The positions are
approached in zigzag movements in the start direction, as
determined by angle A1=.
4 Repeat procedure (2-3) until all positions (K1=, K2=)) have been
machined.
Support picture
Address description
R radius
K1= number of operations
X, Y, Z center position
B2= polar angle
L2= polar length
P1= point definition number
A1= starting angle
A2= ending angle
A5= angle of rotation
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
A1=0, A2=360.
Application
Machining position
The machining position is defined via X,Y,Z,B2,L2 or point definition
number P1=.
Machining direction
If A2= negative, the holes are clockwise.
If A2= positive, the holes are counter-clockwise.
Pocket angle
If A5 is not programmed, the pocket angles opposite the principal axis
are the same.
If A5=0, then the pocket angle turns with the circle.
If A5 is not equal to 0, an extra rotation is added.
Example
Cycle on a full circle
Support picture
Address description
L depth
L1=, L2= setup clearance
C1= cutting depth
D3= dwell [revolutions]
S spindle speed
F5= retract rapid
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, C1=L, D3=0.
Procedure
1 Rapid traverse to 1st setup clearance (L1=).
2 Drill with drilling advance by the cutting depth (C1=) or depth (L).
3 Rapid retraction (F5=) by 0.2 mm.
4 Repeat procedure (2-3) until the depth (L) has been reached.
5 At the bottom of the hole, dwell (D3=) for free cutting.
6 Rapid retraction (F5=) to the 1st setup clearance (L1=) and rapid
traverse back to the 2nd setup clearance (L2=).
Support picture
Address description
L depth
L1=, L2= setup clearance
C1= cutting depthIf the cutting depth (C1=) is not programmed or
C1= is greater than or equal to the depth (L), the addresses C2=,
C3=, C5=, C6=, C7=, and K1= are meaningless.
C3= minimum cutting depth
D3= dwell [revolutions]
S spindle speed
F2= in depth rapid
F5= retract rapid
F feed
With distributed cuts for chip break and/or chip removal
C2= cutting depth reduction Value by which the feed depth
reduces after every infeed. (C1 = C1 - n * C2). The cutting depth
(C1=) is always greater than or equal to the minimum feed depth
(C3=).
C5= retract distance for chip break (incremental): Distance by
which the tool retracts during chip break.
Chip removal after multiple cuts
K1= number of steps before retract Number of advance
movements (C1=) before the tool retracts from the hole for chip
removal. For chip breaking without removal, the tool retracts by the
retraction distance (C5=) in each case. No chip removal takes place
if K1=0.
C6= safety distance after retract Safety distance for rapid
positioning when the tool returns to the current feed depth after
being retracted from the hole. This value applies to the first infeed.
C7= safety dist. after last retract Safety distance for rapid
positioning when the tool returns to the current feed depth after
being retracted from the hole. This value applies to the last infeed.
If C6= is not equal to C7=, the setup clearance between the first
and last cuts is gradually reduced.
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Application
Rules for distributed cuts
1 The cutting depth is always limited by the drill depth (L).
2 If C3 is programmed and there are 2 cuts, the first drilling cut can
be reduced.
3 Every cut is smaller than or equal to the preceding one.
4 If there are more than 2 cuts and a final cut, the final cut and the
one preceding it are executed in 2 equal steps. This avoids a very
small final cut.
Examples of distributed cuts
Machining sequence
Input: C1=..., K1=large (see figure)
Input: C1=..., K1=3 (see figure)
Example
Deep-hole drilling
Support picture
Address description
L depth
L1=, L2= setup clearance
C1= cutting depthIf the cutting depth (C1=) is not programmed or
C1= is greater than or equal to the depth (L), the addresses C2=,
C3=, C4=, C5=, C6=, and C7= are meaningless.
C2= cutting depth reduction
C3= minimum cutting depth
C4= drilling depth before chip break Advance after which a chip
break is executed. No chip break if C4>C1 or is not programmed
(addresses C6= and C7= are meaningless).
C5= retract distance for chip break
C6= safety distance after retract Safety distance for rapid
positioning when the tool returns to the current feed depth after
being retracted from the hole. This value applies to the first infeed.
C7= safety dist. after last retract Safety distance for rapid
positioning when the tool returns to the current feed depth after
being retracted from the hole. This value applies to the last infeed.
If C6= is not equal to C7=, the setup clearance between the first
and last cuts is gradually reduced.
D3= dwell [revolutions]
S spindle speed
F2= in depth rapid
F5= retract rapid
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, C1=L, C2=0, C3=C1, C4=C1, C5=0.1, C6=0.5, C7=C6,
D3=0
Machining sequence
Input: C1=..., C4=C1 (see figure)
Input: C1=..., C4<C1 (see figure)
Procedure
1 Rapid traverse to the 1st setup clearance.
2 No chip break (C4>=C1 or C4 not programmed): Drill with drilling
advance by the cutting depth (C1=).
With chip break (0 < C4 < C1): Drill by depth (C4=). Then retract by
the retraction distance (C5=). Repeat until the cutting depth (C1=)
is reached.
3 Rapid retraction (F5=) upwards followed by rapid plunging (F2=) as
far as the safety distance (C5= up to C7= down).
4 The feed depth (C1=) is then reduced by the cutting depth
decrement (C2=). The minimum feed depth is equal to C3=.
5 Repeat procedure (2-4) until the drill depth (L) has been reached.
6 At the bottom of the hole, dwell (D3=) for free cutting.
7 Rapid retraction (F5=) to the 1st setup clearance (L1=) and rapid
traverse back to the 2nd setup clearance (L2=).
Example
Deep-hole drilling with chip break
Support picture
Address description
L depth (> 0)
F2= pitch
L1= 1st setup clearance Reference value: 4x pitch.
L2= 2nd setup clearance
D3= dwell time [s] Time in seconds that the tool remains at the
hole bottom.
C1= cutting depth Advance after which a chip break is executed. No
algebraic sign.
C5= retract distance for chip break The tool is retracted by the
specified distance during chip breaking. Entering 0 means that it is
fully retracted from the hole (to the safety clearance) for chip
removal. No algebraic sign.
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, D3=0.
Application
The tool must be clamped in a floating tap holder. A floating tap holder
compensates for the advance and speed tolerances during machining.
At the end of the cycle, the coolant and spindle are restored to their
pre-cycle status.
The advance is determined by the speed. Speed override is active
during tapping. Feed override is not active.
When a G784-cycle is called using G79, the CNC must be set to
G94-mode (feed in mm/min), not G95-(feed in mm/rev).
The machine and CNC must be prepared for the G784 cycle by the
machine manufacturer.
Example
Tapping
Support picture
Address description
L depth
L1=, L2= setup clearance
I1= spindle stop 0=yes 1=no
I1=0 rapid retraction and stationary spindle.
I1=1 retraction with feed and rotating spindle.
D3= dwell [revolutions]
S spindle speed
F5= retract rapid Rapid traverse (I1=0) or feed (I1=1) retraction:
Traversing speed of the tool when retracting from the hole in mm/
min.
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, I1=0, D3=0
Procedure
1 Rapid traverse to 1st setup clearance (L1=).
2 Reaming with feed F down to depth (L).
3 Dwell at bottom of hole (D3=).
4 Rapid retraction (F5=).
To the setup clearance (L1=)
To the 2nd setup clearance (L2=) in rapid traverse
Support picture
Address description
L depth
L1=, L2= setup clearance
C1= retract distance from side Distance by which the tool is
retracted from the wall when disengaging.
D orientation angle tool tip Angle (absolute) at which the tool
positions itself before disengaging (I1=2 only). The disengage
direction is -X in G17/G18 and -Y in G19.
D3= dwell [revolutions]
I1= retract 0=M5 1=M3/M4 2=M19
I1=0 Retract with with rapid traverse and stationary spindle
without disengaging
I1=0 Retract with with feed and rotating spindle without
disengaging
I1=2 Retract with oriented spindle (M19) and in rapid traverse.
S spindle speed
F5= retract rapid Rapid traverse (I1=0 or I1=2) or feed (I1=1)
retraction: Traversing speed of the tool when retracting from the
hole in mm/min.
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, C1=0.2, D=0, D3=0, I1=0, F5=rapid traverse (I1=0 or
I1=2) or F5=F (I1=1)
Application
At the end of the cycle the spindle status that was active before the
cycle is reactivated.
Example
Boring
Support picture
Address description
B1= 1st side length Length of the pockets in the principal axis
B2= 2nd side length Width of the pockets in the minor axis
L depth
L1=, L2= setup clearance
L3= finishing allowance bottom
B3= finishing allowance sides
C1= plunging depth
C2= proportional cutting width Percentage of the tool diameter
to be used as the cutting width on each pass. The total width is
divided into equal sections.
R rounding radius Radius for the pocket corners. If radius R=0, the
rounding radius is the same as the tool radius.
R1= proportional helix radius Percentage of the tool radius to be
used as the cutting width (>0) for oblique plunging.
A3= plunging angle Angle (0..90°) at which the tool can plunge into
the workpiece. The plunging angle is adjusted so that the tool
always plunges with a whole number of rectangular movements. It
only plunges vertically at 90º.
I1= milling 1=climb -1=conventional
S spindle speed
F2= feed for plunging
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, L3=0, B3=0, C1=L, C2=67%, R= tool radius, R1=80%,
A3=90, I1=1, F2=0.5*F for vertical plunging, and F2=F for oblique
plunging.
Procedure
1 Rapid traverse to 1st setup clearance (L1=) over the pocket center.
2 If the plunging angle A3=90º, the tool advances with feed (F2=) to
the first feed depth (C1=). If the plunging angle A3<90º, the tool
advances obliquely to the first feed depth (C1=), with plunging
feed and a whole number of rectangular movements.
3 Machining with feed (F) in the positive direction of the long side, in
a flowing movement from inside to outside.
4 At the end of this process, the tool is retracted from the wall and
the floor in a tangent to the helix and moved rapidly to the center.
5 Repeat procedure (2-4) until the depth (L) has been reached.
6 At the end, a rapid traverse movement to the 1st plus 2nd setup
clearance (L1= plus L2=) is performed.
Example
Pocket milling
G787 B1=150 B2=60 L6 L1=1 A3=5 C1=3 C2=60 R20 I1=1 F200
G79 X160 Y120 Z0
Support picture
Address description
B1= 1st side length Length of the slot in the principal axis
B2= 2nd side length Width of the slot in the minor axis. If the slot
width is the same as the tool diameter, only roughing is performed.
L depth
L1=, L2= setup clearance
B3= finishing allowance sides
C1= plunging depth roughing
A3= plunging angle Maximum angle (0..90°) at which the tool can
plunge into the workpiece. It only plunges vertically at 90º.
I1= milling 1=climb -1=conventional
0=roughing 1=roughing + finishing Roughing or finishing:
0: only roughing
1: roughing and finishing.
S spindle speed
F2= feed for plunging
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, B3=0, C1=L, A3=90, I1=1, I2=0, F2=0.5*F for vertical
plunging and F2=F for oblique plunging.
Procedure
Roughing:
1 Rapid traverse to the 1st setup clearance (L1=) and into the center
of the left circle.
2 If the plunging angle A3=90º, the tool advances with feed (F2=) to
the first feed depth (C1=) and then with feed F into the center of
the right circle. If the plunging angle A3<90º, the tool advances
obliquely and with plunging feed (F2=) into the center of the right
circle. The tool then moves back to the center of the left circle,
again plunging obliquely. These steps are repeated until the cutting
depth (C1=) is reached.
3 At the milling depth, the tool moves to the other end of the slot and
then machines the slot shape until the finishing dimension is
reached.
4 Repeat procedure (2–3) until the programmed depth (L) has been
reached.
Finishing:
5 The tool moves tangentially to the contour in the left or right circle
of the slot and finishes it using climb milling (I1=1).
6 At the end of the contour, the tool retracts tangentially from the
contour and floor to the center of the slot.
7 At the end, a rapid traverse movement to the 1st plus 2nd setup
clearance (L1= plus L2=) is performed.
Support picture
Address description
R radius
L depth
L1=, L2= setup clearance
L3= finishing allowance bottom
B3= finishing allowance sides
C1= plunging depth
C2= proportional cutting width Percentage of the tool diameter
to be used as the cutting width on each pass. The total width is
divided into equal sections.
R1= proportional helix radius Percentage of the tool radius to
be used as the cutting width (>0) for oblique plunging.
A3= plunging angle Angle (0..90°) at which the tool can plunge into
the workpiece. It only plunges vertically at 90º
I1= milling 1=climb -1=conventional
S spindle speed
F2= feed for plunging
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, L3=0, B3=0, C1=L, C2=67%, R1=80%, A3=90, I1=1,
F2=0.5*F for vertical plunging and F2=F for oblique plunging.
Application
R must be greater than 2*(tool radius + finishing allowance for sides
B3=).
For finishing, the dimensions L3 and B3 must be entered.
Example
Circular pocket milling
Support picture
Address description
L counterbore depth
L3= material thickness
C1= eccentricity Eccentricity of the boring bar (to be taken from
the tool data sheet).
L1=, L2= setup clearance
C2= cutting edge height Distance from bottom edge of boring bar
to main cutter (to be taken from the tool data sheet).
D orientation angle tool tip Angle (absolute) at which the tool is
positioned before plunging into and retracting out of the hole. The
disengage direction is -X in G17/G18 and -Y in G19.
D3= dwell [revolutions]
S spindle speed
F5= retract rapid
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, C2=0, D=0, D3=0.2, F5=rapid traverse.
Danger of collision!
The tool tip must be aligned (MDI) such that it points to the
positive principal axis. The angle displayed must be
entered as the orientation angle (D) so that the tool moves
away from the edge of the hole in the direction of the
negative principal axis. The disengage direction is -X in
G17/G18 and -Y in G19.
Procedure
1 Rapid traverse to 1st setup clearance (L1=).
2 Spindle orientation to the D position and tool offset by the
eccentricity (C1=).
3 Rapid retract (F5=) plunging into the pre-drilled hole until the
cutting edge is at the 1st setup clearance (L1=) below the bottom
of the workpiece.
4 Movement to the center of the hole, switch on spindle and
coolant, and machine at countersinking feed to the specified
depth.
5 At the bottom of the hole, the tool dwells with a running spindle
for free cutting.
6 The tool then moves out of the hole, performs spindle orientation,
and is once again displaced by the eccentricity (C1=).
7 At the end, rapid retraction (F5=) to the 1st setup clearance (L1=)
and rapid traverse to the 2nd setup clearance (L2=)
T1 M6
G790 L3=15 L8 L1=1 C1=3 C2=4 F100
G79 X30 Y40 Z0
T1 Insert tool.
Tool radius R10
Eccentricity C1=3
Cutting edge height C2=4
Angle for spindle orientation D0
G790 Define back boring cycle.
G79 Execute defined cycle at point.
Support picture
Address description
L depth
F2= pitch
L1=, L2= setup clearance
C1= cutting depth Advance after which a chip break is executed. No
algebraic sign.
C5= retract distance for chip break The tool is retracted by the
specified distance during chip breaking. Entering 0 means that it is
fully retracted from the hole (to the safety clearance) for chip
removal. No algebraic sign.
D orientation angle spindle Angle at which the tool is positioned
before the thread is cut. This allows you to regroove the thread, if
required.
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0.
Application
At the end of the cycle, the coolant status and spindle status that were
active before the cycle are reactivated.
The advance is determined by the speed. Speed override is active
during tapping. Feed override is not active.
When a G794-cycle is called using G79, the CNC must be set to
G94-mode (feed in mm/min).
In the case of spindle orientation, the machine parameters must be
correctly set during tapping. The spindle acceleration is calculated for
each gear using maxFeed and maxAccSpeedCtrl in CFGFeedLimits.
The machine and CNC must be prepared for the G794 cycle by the
machine manufacturer.
Example
Tapping, interpolated
Support picture
Address description
B1= 1st side length Length of the slot in the principal axis
B2= 2nd side length Width of the slot in the minor axis
L depth
L1=, L2= setup clearance
L3= allowance bottom Milled away during finishing.
B3= allowance sides
C1= plunging depth
C2= proportional cutting width Percentage of the tool diameter
to be used as the cutting width on each pass. The total width is
divided into equal sections.
R rounding radius Radius for the pocket corners. If radius R=0, the
rounding radius is the same as the tool radius.
R1= proportional helix radius Percentage of the tool radius to be
used as the helix radius (>0) for plunging.
A3= plunging angle Angle (0..90°) at which the tool can plunge into
the workpiece. The plunging angle is adjusted so that the tool
always plunges with a whole number of rectangular movements. It
only plunges vertically at 90º.
I1= milling 1=climb -1=conventional
I2= finishing 0=complete 1=sides
0: finishing of side and bottom
1: finishing of side only
S speed
F2= feed for plunging
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, L3=0, B3=1, C1=L, C2=67%, R= tool radius, 0, R1=80%,
A3=90, I1=1, F2=0.5*F for vertical plunging, and F2=F for oblique
plunging.
Procedure
1 Rapid traverse to 1st setup clearance (L1=) over the pocket center.
Finishing the floor:
2 If the plunging angle A3=90º, the tool advances with drilling feed
(F2=) to the depth (L).
If the plunging angle A3<90º, the tool advances obliquely, using a
whole number of rectangular movements, to the depth (L).
3 Machining with feed (F) in the positive direction of the longer side,
in a flowing movement from inside to outside.
4 At the end of this process, the tool is retracted from the wall and
the floor in a tangent to the helix and moved rapidly to the center.
Finishing the side:
5 Rapid traverse to the plunging depth (C1=).
6 The starting position is the first plunging depth and at least the
finishing allowance (B3=) from the side. The tool moves inward
tangentially, mills the contour, and retracts tangentially.
7 Repeat procedure (5-6) until the depth (L) has been reached.
8 At the end of the cycle, the tool moves rapidly to the 1st plus 2nd
setup clearances (L1= plus L2=) and then into the center of the
pocket.
Example
Pocket finishing
G787 B1=150 B2=80 B3=1 L6 I1=1 L3=1 R20 A3=5 C2=65 C1=3.
G79 X160 Y120 Z0
G797 B1=150 B2=80 B3=1 L6 L3=1 R20 A3=5 C2=60 C1=3
G79 X160 Y120 X0
Support picture
Address description
B1= 1st side length Length of the slot in the principal axis
B2= 2nd side length Width of the slot in the minor axis
L depth
L1=, L2= setup clearance
C1= plunging depth
I1= milling 1=climb -1=conventional
S speed
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, C1=L, I1=1.
Application
The diameter of the milling cutter must be no greater than the width
of the slot and no less than a third of the slot width.
Procedure
1 Rapid traverse to 1st setup clearance (L1=) over the slot center.
2 The tool moves tangentially to the contour from the center of the
slot and finishes it using climb milling (I1=1).
3 At the end of the contour, the tool retracts tangentially from the
contour and floor to the center of the slot
4 The tool then moves rapidly to the 1st plus 2nd setup clearances
(L1= plus L2=).
G788 B1=150 B2=20 B3=1 L6 L1=1 A3=10 C1=3 I1=1 I2=0 F100
F2=200
G79 X20 Y20 Z0
G798 B1=150 B2=30 L6 L1=1 I1=1 F100
G79 X20 Y20 Z0
Support picture
Address description
R radius
L depth
L1=, L2= setup clearance
L3= finishing allowance bottom Milled away during finishing.
B3= finishing allowance sides Milled away during finishing.
C1= plunging depth
C2= proportional cutting width Percentage of the tool diameter
to be used as the cutting width on each pass. The total width is
divided into equal sections.
R1= proportional helix radius
A3= plunging angle
Angle (0 to 90º) at which the tool can plunge into the workpiece
It only plunges vertically at 90º
I1= milling 1=climb -1=conventional
I2= finishing 0=complete 1=sides
0: finishing of side and bottom
1: finishing of side only
S speed
F2= feed for plunging
F feed
For a description of the additional addresses, see "Explanation of
addresses" on page 420.
Default setting
L1=1, L2=0, L3=1, B3=1, C1=L, C2=67%, R1=80%, A3=90, I1=1,
I2=0, F2=0.5*F for vertical plunging and F2=F for oblique plunging.
Procedure
Finishing the floor
1 Rapid traverse to the center of the pocket and remain at the 1st
setup clearance (L1=) above the center of the pocket.
2 If the plunging angle A3=90º, the tool advances with feed (F2=) to
the depth (L).
If the plunging angle A3<90º, the tool advances obliquely, using a
whole number of circular movements, to the depth (L).
3 The tool then moves in a spiral path (direction depends on forward
rotation (I1=1) with M3) and then roughs the floor of the pocket
from inside to outside.
Finishing the side
4 Rapid traverse to the plunging depth (C1=).
5 The side is then machined in a number of sections. The starting
position is the first plunging depth and at least the finishing
allowance (B3=) from the side. The tool then moves inward
tangentially, mills the contour, and retracts tangentially.
6 Repeat procedure (4-5) until the depth (L) has been reached.
7 At the end of the cycle, the tool moves rapidly to the 1st plus 2nd
setup clearances (L1= plus L2=) and then into the center of the
pocket.
Example
Circular pocket finishing
G789 R40 L6 B3=1 I1=1 L1=1 L3=1 A3=5 C2=65 C1=3 F200
G79 X160 Y120 Z0
G799 R40 B3=1 L6 L1=1 L3=1 A3=5 C1=3 C2=65 I1=1 F200
G79 X160 Y120 Z0
Support picture
Address description
E parameter with number of SQL selection This number is
automatically assigned with the SQL statement "SELECT ..". This
number has to be specified with all other SQL statements that use
the selection.
I1= SQL statementDefines the actual SQL statement in a string
enclosed in double quotation marks.
"SELECT .. FROM .. WHERE .."
"FETCH"
"UPDATE"
"COMMIT"
I2= record index Address I2= can be used to select a specific data
record. I2= is only permitted with I1="FETCH". If address I2= is not
programmed, and was never programmed in the program before,
FETCH retrieves the first data record from the table. If the address
12= is not programmed in the subsequent G1010 block, FETCH
retrieves the next data record from the table.
O1= parameter number for result Parameter number in which the
result of the SQL statement is written.
0 = SQL statement successful
1 = SQL statement not successful (e.g. searched column not found)
Handle
The SQL HANDLE describes the result of a previous SQL query and is
stored in the E parameter (e.g. E5). Only values assigned by the SQL
server are valid handles. The value 0 identifies an invalid handle. With
the SELECT command, the handle is assigned a value. In the case of
the UPDATE, COMMIT, and FETCH commands, the handle must have
a value.
Example:
FETCH
FETCH uses the SQL result (e.g. E5) of the previous SQL query, after
which the data can be read from the columns using the SQLRead()
function. If the values in the table are expressed in inches, lengths and
feed rates are converted into millimeters during the reading process.
The values in the bound parameters are always assumed to be metric.
As with G1018, this also applies if the current program is entered in
inches. If no I2= is specified, the first row of the result set is
transferred. The specified E parameter (e.g. E80) is assigned a return
code. If the statement is completed successfully, the E parameter is
assigned the value "0". If not, it is assigned the value "1".
Example:
COMMIT
COMMIT cancels locks on table rows or table columns. Edited table
data is permanently transferred using COMMIT. The specified E
parameter (e.g. E80) is assigned a return code. If the statement is
completed successfully, the E parameter is assigned the value "0". If
not, it is assigned the value "1".
Example:
SELECT
To select data, use the SQL statement SELECT. In the SELECT
command, you enter the data source (table name) and the relevant
column names. Enter the data source after the keyword FROM. The
SELECT command provides various command options for defining
conditions, sorting sequences, and locks, which modify the effect of
the command.
WHERE
The WHERE option limits the effect of a command to the rows of the
selected columns that satisfy the specified condition. The condition
can be defined by directly entering a numeric value or using the
contents of an ES parameter.
Example:
The row to be assigned to tool T 1 is selected from the columns L and
R of table TOOL.T (WHERE T=1):
The contents of parameter ES21 can also be used for defining the
WHERE condition. For example, ES21 contains the value "1":
FOR UPDATE
The FOR UPDATE option locks the rows during selection in order to
prevent unauthorized access. Without the FOR UPDATE option, the
rows are not locked until immediately before they are changed
(COMMIT command).
Example:
Example
Reading the length of tool 17
Support picture
Address description
N= output definition
N5= name of format file
Application
Output definition
Address N defines an output to a file or on-screen display. To output
to a file, you must enter a string in double quotation marks along with
the relevant path and file name. The path is relative to <%USR%\>.
Example: N="MeasuringResult\BladeWheel.txt" writes a file
<BladeWheel.txt> in the directory<MeasuringResult\>
Display on screen
If N="screen:", the output is displayed on screen. A pop-up window is
opened during the first write operation. This window is closed again
after either of the following:
N=”sclr:”
End (M30) of the NC program
<ESC> key when the window is selected
Format variables
The format file can have the following format variables:
Q.. E parameter is defined with Q, e.g. Q10
QS.. ES parameter is defined with QS, e.g. QS12
Key Description
CALL_PATH Outputs the path name for the NC program in which
the G1016 function is located.
M_APPEND If the log file already exists, the new output data is
added.
M_CLOSE Closes the file to which you are writing with G1016.
The file can be read. If M_CLOSE is not
programmed, the file will be closed at the end of the
program
%02d-%02d-%4d 02-12-2007
Example
G1016 N5="%USR%\Format\Messprotokol.cfg" N="screen:"
X = 134.998
Y = 24.989
Z = 0.008
Support picture
Address description
E parameter number with system data
I1= group number
61 = Write tool definition
230 = Write software limit switch
350 = Touch probe
610 = Write LookAhead parameter
990 = Write start-up behavior
I2= system data number
I3= index of system data (default is 0)
I4= value of system data
Address Description
I1=61 I2=1 TOOL DEF Tool number (T column in tool magazine); the value I4= is stored in the interpreter
I1=61 I2=4 TOOL DEF Tool index (IDX column in tool table); the value I4= is stored in the interpreter
I3=1 X axis
I3=2 Y axis
..
I3=4 A axis
I3=5 B axis
..
I3=9 W axis
Application
Procedure
The value of the new system data is transferred by the NC program
and stored in the NC.
Configuration
IpoCfgSchema.doc specifies the LookAhead parameter (I1=610).
Example
The negative software limit switch of the X axis is written.
G1017 I1=230 I2=2 I3=1 I4=E861 E1
Support picture
Address description
E E parameter receiving parameter
I1= group ID
20 = Read machine status
60 = Read M67 tool definition
61 = Write tool definition
230 = Read software limit switch
610 = Read LookAhead parameter
I2= system parameter NR
I3= index of system parameter (default is 0)
Address Description
I1=20 I2= Machine status
The machine status is read and stored in the E parameter
I2=1 current tool number
I2=2 number of the prepared tool
I2=3 tool axis (X=1,Y=2,Z=3,U=7,V=8,W=9)
I2=4 programmed spindle speed
I2=5 spindle status: undefined = -1, turns CW=0, turns CCW=1, stops after turning CW=2, stops
after turning CCW=3
I2=6 no function
I2=7 no function
I2=8 coolant status (off=0, on=1)
I2=9 last programmed feed rate (rapid traverse=-1)
I2=10 step index of the prepared tool
I2=11 step index of the active tool
I1=60 I2=1 M67 TOOL Tool number (T column in tool magazine); the value is stored in the E-Parameter (no
SQL)
I1=60 I2=8 M67 TOOL Tool index (IDX column in tool table); the value is stored in the E parameter (no SQL)
I1=61 I2=1 TOOL DEF Tool number (T column in tool magazine); the value is stored in the E parameter (no
SQL)
I1=61 I2=4 TOOL DEF Tool index (IDX column in tool table); the value is stored in the E parameter (no SQL)
I3=1 X axis
I3=2 Y axis
..
I3=4 A axis
I3=5 B axis
..
I3=9 W axis
Application
Procedure
The value of the system data is stored as an E parameter.
Configuration
IpoCfgSchema.doc specifies the LookAhead parameter (I1=610).
Example
The current tool number is read.
G1018 I1=20 I2=1 E2
Support picture
Address description
I1= PLC value
I2= PLC value
Application
Output to PLC
The values are decoded in the PLC. Used, for example, in the tool
change macro: G1019 I1=101 I2=E861 (tool number transfer)
Configuration
With machine parameter CfgPlcMStrobe.
Example
Tool number transfer, e.g. in tool change macro.
G1019 I1=101 I2=E861
Support picture
Address description
I1= group ID
850 = Adapt kinematic model intermittently
950 = Prepare tool data
955 = Tool change to PLC
I2= I1=95x: tool exchange mode (0=DEF,1=CALL)
I3= I1=95x: tool number
I4= I1=95x: tool offset index
I5= I1=95x: tool position in magazine
I6= I1=95x: SQL handle tool data table
I7= I1=95x: SQL handle tool magazine table
N5= I1=850: place in kinematic model
Application
Procedure
I1=955: activates the T strobe and thus sets the correct PLC marker.
Configuration
CfgSimPosition contains axis coordinates that define the end position
of the tool change during mid-program startup.
PLC
PlcTStrobe, TOOL DEF, TOOL CALL, TOOL WAIT
Address Description
I1=850 I2= Adapt kinematic model
0 = activate other model
1 = modify data in active model (old description only)
I1=950 I2=0 I6= All TOOL CALL tool data apart from tool life to NC
I6= SQL handle with all tool data
I1=955 I7= SQL handle of the tool magazine table (no longer used)
Support picture
Address description
I PLC value
I1= PLC value
I2= PLC value
I3= PLC value
I4= PLC value
I5= PLC value
I6= PLC value
I7= PLC value
Application
Output to PLC
The values are decoded in the PLC. Used, for example, in the tool
change macro: G1029 I1=101 I2=E861 (tool number transfer)
Example
Tool number transfer, e.g. in tool change macro.
G1029 I=101 I1=E861
G0..G3_G91
Danger: Other position after incremental linear and rotary axes
movements
Cause:
A combination of incremental movements with linear axes and at least
one rotary axis is (with active G108 kinematics calculation) executed
differently than in former versions.
During calculation of the end position of the linear axes, now the begin
position of the linear axes is recalculated to the, by the rotary axis
changed, kinematics position. After that, the incremental movement
is added.
Example V500-V530:
..
X0 Y50 Z50 A0 C0
G91
G1 Y50 A30
..
Action:
Depending on the application, there are more solutions possible:
Program the end position with absolute coordinates
If it is not necessary to execute the linear and the rotary axes in one
movement, split the NC-block in two NC-blocks. First a NC-block
with the incremental linear axes movements and then a NC-block
with the incremental rotary axes movements
Change the incremental coordinates
G1_G64_B1
Angle B1 must have exactly the same direction as the movement
Cause:
Angle B1 must have exactly the same direction as the movement. In
former versions, the direction had to be only correct within 180
degrees.
Action:
B1 gives the direction of a line. The definition of angle B1 is based on:
The + X-axis in the XY- or XZ-plane
The - Z-axis in the YZ-plane
G1_G64_B1_X
A combination of angle B1 and a coordinate is not permitted anymore
Cause:
A combination of angle B1 with a linear axis X, Y, or Z is not permitted
anymore. In former versions this was possible, to indicate the end
point of a movement.
Action:
Program the end point with a combination of an angle and a length, or
with two main plane coordinates.
G1_G64_X und Y
The two main plane axes must be programmed, but the tool axis may
not be programmed
Cause:
In former versions, in certain cases only one main plane axis needs to
be programmed.
Action:
Program both main plane axes, but not the tool axis.
G1_G64_X1 und Y1
The two main plane axes must be programmed, but the tool axis may
not be programmed
Cause:
In former versions, in certain cases only one main plane axis needs to
be programmed.
Action:
Program both main plane axes, but not the tool axis.
..
G64
G1 R1=2
G2 I20 J40 X30 Y40
G63
..
Action:
Program a continuous contour (R1=0).
G1_G64_J1
The intersection point indicator J1 is replaced by I2
Cause:
The intersection point indicator J1 is replaced by an intersection point
indicator with another function.
I2 must be programmed at the end of the free contour, whereas J1
was programmed at the start of the free contour.
The value of I2 is in most cases identical to the value of J1.
Example V500-V530:
..
G0 X0 Y0 Z0
G64
G1 B1=45 J1=2
G2 I20 J12 X30 Y12
G63
..
..
G0 X0 Y0 Z0
G64
G1 B1=45
G2 I20 J12 X30 Y12 I2=2
G63
..
G2
G2_G64_K1
The rounding or connecting circle indicator K1 is not available
Cause:
Only continuous movements, which do no intersect with themselves,
can be programmed.
In former versions, also discontinuous or itself intersecting
movements could be programmed.
Action:
Program a continuous contour that does not intersect itself.
G2_G64_R
Danger: rounding R can be executed differently
Cause:
For a rounding between two linear movements, programmed with
endpoints, address R can no longer be used. Use address R2 instead.
Action:
Replace address R by address R2
Check the contour graphically
G6
Function G6 is not available
Cause:
Spline interpolation is not available.
Action:
NC Program cannot be executed with this version.
G7
G7_A6
The incremental definition of G7 is changed
Cause:
The incremental angles for a tilted plane are now defined by adding the
incremental value A51=, B51=, C51= to the absolute values A5=,
B5=, C5=.
In former versions, the incremental values A6=, B6=, C6= were based
on the already active plane.
Action:
The tilted plane must be defined incrementally with A51, B51 and/or
C51.
The programmed value is added to the already active value. E.g. if G7
A5=10 B5=10 is active and G7 A51=5 is programmed, the result is G7
A5=15 B5=10.
G7_L1=0
Linear axes positioning after G7 L1=0 is changed
Cause:
After G7 without rotary axes positioning (L1=0 or without L1=), the
display of the linear axes positions in this version differs from former
versions. Programmed movements are executed to other machine
positions now.
Only when the rotary axes are positioned corresponding to the G7
tilted plane, the linear axes positions and programming are identical.
G7_L1=1, L1=2
The rotary axes positions after G7 L1=1 or L1=2 can be different
Cause:
In certain cases, the rotary axes positioning of G7 L1=1 or L1=2 can
choose between two possibilities to position the rotary axes. Both
possibilities are valid.
This version can select a different combination of rotary axes positions
than former versions.
Action:
Try to position the rotary axes towards the wanted positions in the
block before the G7-block. In this way it is possible to influence the G7-
positioning.
G7_L2
Address L2 is not available
Cause:
The move direction of the rotary axes cannot be programmed. In
former versions, it was possible to position rotary axes in two different
ways with G7 L2=1 or L2=2. This version always chooses the shortest
way when positioning rotary axes.
Example V500-V530:
..
G0 A0 C0
G7 C5=30 L2=1
..
Action:
Remove L2 from this block. Try to position the rotary axes towards the
wanted positions in the block before the G7-block. In this way it is
possible to influence the G7-positioning.
G7_B47
Function G7 B47= is removed
Cause:
The resulting main plane rotation, which is calculated during the tilting
of the working plane, cannot be read anymore.
G9_B2
Function G9 is not available with polar coordinates
Cause:
The G9 pole can only be programmed with cartesian coordinates.
In former versions, the G9 pole itself could be programmed with
addresses B2= and L2= or with angle B1=.
Action:
Change the NC program:
Replace the polar or angle programming of the pole by programming
with cartesian coordinates
G11
G11_B_X
A combination of angle B or B1 and a coordinate is not permitted
anymore
Cause:
A combination of angle B1 with a linear axis X, Y, or Z is not permitted
anymore. In former versions this was possible, to indicate the end
point of a movement.
Action:
Program the auxiliary or end point with a combination of an angle and
a length, or with two main plane coordinates.
G11_G91
In this version, the endpoint after an incremental movement after a
G11 block with rounding/chamfer, differs from former versions.
..
G1 X20 Y20
G11 X80 Y20 R30
G91 Y50
..
Action:
Program a new endpoint for the incremental movement.
G14_E
Function G14 E is not available
Cause:
Programming the number of repeats with address E is not possible.
Action:
Change the NC program:
Replace address E with address J
G26
Function G26 is not available
Cause:
Deactivation of the feed and speed override is not available.
G28_I3
Functions G28 I3 and G28 I4 are not available
Cause:
A stop between two movements (inpod) can no longer be
programmed with G28.
Action:
Instead of a stop, a corner accuracy can be programmed with the
contour tolerance function G28 I7.
G36
Turning mode is not available
Cause:
The G-functions for turning (33, 36, 96, 228, 302, 356, and 368) and
turning cycles (615, 690, 691, 692 and 8xx) are not available.
Action:
NC Program cannot be executed with this version.
G39_G41_L
Function G39 L is not possible during G41 or G42
Cause:
Programming a length offset on the active tool during active tool radius
correction, is not possible.
Action:
Change the NC program:
Switch tool radius correction off temporarily
Example V500-V530:
..
G41
G91
G1 X10 Y10
G1 X0 Y5
G40
G1 X10 Y10
..
Action:
Program the end position with absolute coordinates
Change the incremental coordinates
G41
..
G1 X11 Y12
G40
G0 Y22
Action:
Also program the axis that must move and that wasn’t programmed
yet.
G49_E
Function G49 E is not available
Cause:
Function G49 jumps or repeats only once and only depending on the
measuring tolerance.
In former versions, extra jump conditions and more repeats could be
programmed.
Action:
Change the NC program:
Remove address E
Program extra jump conditions (G29) or more repeats (G14) in the
G29 or G14 block
G61_B2_Z
Polar programming with tool axis is not available
Cause:
For tangential approach and departure, the tool axis cannot be
programmed, in case the main axes are programmed with polar
coordinates.
In former versions, it was permitted to program the tool axis with
cartesian coordinates.
Action:
Change the NC program:
Program the main axes with cartesian coordinates
Program the tool axis movement in a separate NC block
G61_I2=0
In certain cases, the approach movement with I2=0 doesn't fit
Cause:
An approach movement with line and tangent circle (I2=0) generates
an error message, when:
The distance between the actual position and the approach circle is
smaller than the cutter radius
The start point lies within the approach circle
In former versions, the approach method was automatically
transformed into a movement with a quarter circle (I2=1).
Action:
Change the approach method into a quarter circle movement (I2=1).
G64-G63_G250-G269
New “free contour“ G-functions G250-G269.
Cause:
In former versions, a free contour could be programmed with G1, G2
and G3 movements. In this version, the functions G250-G269 must be
used.
Action:
Change the NC program:
Program the functions G250-G269 instead of the functions G1, G2
and G3
Example V500-V530:
..
G1 X0 Y0
G73 X-1
G1 X100 Y0
G92 B4=45
G1 X100 Y0
..
Action:
Change the NC program:
Change the rotation angle for G92.
Example V600:
..
G1 X0 Y0
G73 X-1
G1 X100 Y0
G92 B4=-45
G1 X100 Y0
..
G74_X_X1
Incremental programming relative to a machine position is not
available
Cause:
In a G74 block, a machine position (e.g. X1=) cannot be programmed
combined with an axis position (e.g. X).
In former versions, it is possible to move to an incremental position
relative to a machine position.
Action:
Change the NC program:
Program the position absolute with G74
G77_G91
Danger: Other position for incremental contour instruction after G77
Cause:
The end position of an incremental contour instruction (G0, G1, G2,
G3) after a G77 bolt hole circle is now based on the actual position.
In former versions, an incremental movement was based on the
programmed bolt hole circle center point.
Remark: The execution of an incremental cycle call (G77 or G79) is still
based on the previous programmed bolt hole circle center point.
Action:
Program the end position with absolute coordinates
Change the incremental coordinates
G79_B1 und L1
Address B1 for rotation of the cycle is changed into address A5
Cause:
The rotation angle for pockets or slots is now programmed with the
A5 address.
In former versions, this angle was programmed with the B1 address.
This was however confusing with polar programming.
Action:
Change the B1 address into the A5 address.
G79_B2_L2
Polar programming is not available
Cause:
Polar programming with addresses B1 and L1 or with B2 and L2 is not
available.
Action:
Change the NC program:
Change the polar coordinates into cartesian coordinates
G84_I1=0
With G84 I1=0, M19 is always done
Cause:
At the start of tapping without interpolation G84 I1=0, a spindle
positioning with M19 is done.
In former versions, the spindle was not positioned first.
G98
G98
Graphic view is defined differently
Cause:
G98 and G195 define the graphic blank form now. The graphic view is
derived automatically as an offset to the blank form.
In former versions, G98 or G195 only defined the graphic view. The
blank form (G99) was defined in a separate NC block.
Action:
Change the NC program:
If a separate block with the G99 blank form is defined, remove the
block with G98 or G195
Adapt the programmed values, so that blank form and graphic view
are correct
G106
Function G106 is not available
Cause:
The function G108 "Kinematic calculation" cannot be switched off
anymore by G106. Therefore, the tool length correction is always
calculated in the real direction of the tool.
When G106 is active, the tool length correction was according to the
defined plane.
This difference can cause a collision, when:
The tool is in a different direction as defined by the plane (G17, G18,
G19)
An angular head mill is active
Action:
Change the NC program:
Remove G106
Check if the tool is in the direction as defined by the plane.
G126
G126
Tool lifting is defined in the tool table
Cause:
A tool will only lift off, if this is defined in the tool table.
In former versions, lift off was only possible for certain G functions
(e.g. tapping).
Action:
Check the NC program and the tool table:
For all used tools, it must be defined in the column "LIFTOFF" if lift
off is permitted or not
G126_I1
G126 I1= or I2= or I3= are not available
Cause:
Tool lift off is only activated with intervention.
In former versions, lift off could be activated by:
The PLC (I1=1)
Intervention (I2=1)
Errors (I3=1)
Action:
Change the NC program:
A programmed I2=1 can be removed. The behavior is then identical
to former versions
With the other address combinations, this NC program cannot be
executed in the same way as in former versions
G141
G141_G93
If G92/G93 with rotary axes is active, G141 is erroneous
Cause:
Check if G92 or G93 with rotary axes is active.
An active programmable zero offset in one of the rotary axes, causes
3D tool correction to position the rotary axes wrong.
Action:
If G92 or G93 is active with rotary axes, the NC program must be
changed:
Replace G92 or G93 by G54. The programmed axes values of G92
or G93 must be added to the already active axes values of G54
G141_I7
Function G141 I7 is not available
Cause:
The accuracy during 3D tool correction cannot be programmed in the
NC program.
Action:
Remove I7 from the G141 block. The accuracy during G141 is now
defined by machine parameter: NCchannel - ChannelSettings - CH_NC
- CfgTCPM - Tolerance.
G141_L2
Danger: address L2 is only effective for 'RollOver' axes
Cause:
The shortest distance criterion L2= is only compatible to former
versions, if a rotary axis is configured as a 'RollOver' axis.
Action:
The rotary axis must be configured as 'RollOver' axis. The
corresponding attribute 'shortestDistance' can, if desired, be
configured as well. Within G141 however, the configuration of
'shortestDistance' is overruled by L2.
G145_I3
Function G145 I3 is not available
Cause:
Guarding of the measuring probe status (e.g. for Laser) cannot be
switched off anymore.
Action:
Change the NC program:
Replace address I3= with address O3=. With G145 O3= the
measuring device status is read and no error message is given.
G149
G149_T_E
E for tool status is changed into I1= and I2=
Cause:
Read or write of the tool status is done with a combination of Tnn, I1=
"Tool lock" and I2= "Tool status". The function of the tool status in the
tool table has been changed.
In former versions, the tool status was read or written with the E
address.
Action:
Replace the E address by a combination of I1= und I2=. Note the new
function of the tool status in the tool table.
G149_T_M1
With G149 T.. M1=, the actual tool life CUR_TIME is read.
Cause:
The function of the M1 address in G149 has changed: actual tool life
CUR_TIME
In former version, with M1 the rest tool life was meant.
Action:
Change the NC program:
Read the maximum tool life TIME1 with G321 T.. I1=13 E..
Read the actual tool life CUR_TIME with G149 T.. M1=..
Calculate the new actual rest tool life: actual rest tool life =
maximum tool life TIME1 - actual tool life CUR_TIME
G182
Function G182 is not available
Cause:
Cylinder interpolation is not available.
Action:
NC Program cannot be executed with this version.
G200 - G208
Functions G200-G208 are replaced by G280-G286
Cause:
The pocket cycles G200-G208 have been replaced by the contour
milling cycles G280-G286.
Action:
Change the NC program:
Replace functions G200-G208 by functions G280-G286
G231
Function G231 is not available
Cause:
Interpolation between a spindle and an axis is not available.
Action:
NC Program cannot be executed with this version.
G241
Function G241 is replaced by G242
Cause:
Contour check must be activated with G242.
Action:
Replace G241 by G242. G242 adapts the executed contour for
undercuts. G241 only gave an error.
G318
Function G318 is not available
Cause:
Reading pallet or job data is not available.
Action:
NC Program cannot be executed with this version.
G319_I2=1
Function G319 I2=1 is not available
Cause:
The actual data cannot be read.
Action:
NC Program cannot be executed with this version.
G321_I1=14
With G321 I1=14 E.. the actual tool life CUR_TIME is read.
Cause:
The function of I1=14 has changed: actual tool life CUR_TIME.
Action:
Change the NC program:
Read the maximum tool life TIME1 with G321 T.. I1=13 E..
Read the actual tool life CUR_TIME with G321 T.. I1=14 E..
Calculate the new actual tool rest tool life: actual rest tool life =
maximum tool life TIME1 - actual tool life CUR_TIME
G321_I2
Function G321 I2= is removed
Cause:
Data of the active spare tool cannot be requested directly anymore.
Action:
Data of an active spare tool can be read in two stages:
1 Program G319 I1=3 I2=1 Enn to read the active spare tool number
2 Program G321 T=Enn I1=... to read the requested data of this
spare tool
G322_E
Address E is removed
Cause:
Address E was replaced by O1=.
Action:
Program G322 O1=
.
.
G323_O4
The function of address O3= has changed
Cause:
In former versions, with address O4= the number of the E-parameter
was programmed in which the retract distance was written. In this
version, with address O4= the number of the last E-parameter of the
cycle definition is written.
Action:
The retract distance is written in the third E-parameter from the
number of the O3 address. Change the E-parameter number in the NC
program that means the retract distance.
G324_I1
The following functionality of G324 is removed:
I1= G-group (1,2,usw.)
I1=6 G81, G83, G84, G85, G86, G87, G88, G89, G98.
I1=18 G61, G62
I1=21 G9
I1=29 G106 G108
G326
The following functionality of G326 is removed:
I1=2 Position to reference point
Reading out during graphical simulation
G328
The programming and the interface to the PLC of G328 and G338 have
changed
Cause:
The functions G328 and G338 have changed:
PLC interface is changed
Addresses I1 and N1 are replaced by N5
Address E of G328 is changed into O1 or O2
In this version, function G338 does no longer check whether the
IPLC-signal, defined by N5=, is enabled by the IPLC
Action:
Change the NC program:
Replace addresses I1 and N1 by N5
For G328 replace address E by O1 or O2
G329
Read/write kinematical correction is changed
Action:
See the changed description of function G329.
G330
Function G330 is replaced by SQL functions
Cause:
Read point memory must be programmed with SQL functions.
Action:
See description of function G1010.
G331_I1
The following programming of G331 is not available:
I1=6 G Graphics
I1=7 Q3 Type
I1=15 M2= Tool life monitoring
I1=17 B1= Breakage monitoring
I1=18 L1= First extra length
I1=19 R1= First extra radius
I1=20 C1= First extra tool corner radius
I1=21 L2= Second extra length
I1=22 R2= Second extra radius
I1=23 C2= Second extra corner radius
I1=28 Q5= Breakage monitoring cycle (0-9999)
I1=29 O Tool orientation
I1=30 C6= Cutting width
Action:
See function G1010.
G364
Function G364 is not available
Cause:
Calculating an intersection point between two elements is not
available.
G606
Function G606 is not available
Cause:
TT Calibration is not available.
G607
Function G607 is not available
Cause:
TT Measuring tool length is not available.
G608
Function G608 is not available
Cause:
TT Measuring tool radius is not available.
G609
Function G609 is not available
Cause:
TT Measuring length and radius is not available.
G611
Function G611 is not available
Cause:
TT Measuring turning tools is not available.
G615
Function G615 is not available
Cause:
Laser: Measuring turning tools is not available.
G631
Function G631 is not available
Cause:
Measure position of inclined plane is not available.
G640
Function G640 is not available
Cause:
Locate table rotation center is not available.
G642
Function G642 is not available
Cause:
Laser: Temperature compensation is not available.
G690
Function G690 is not available
Cause:
Unbalance calibration is not available.
G692
Function G692 is not available
Cause:
Unbalance checking is not available.
532
Index
Graphic Material Definition ... 253 Main Plane XY, Tool Z ... 133 Read Cycle Data ... 357
Graphic Window Definition ... 252, 297 Main Plane XZ, Tool Y ... 135 Read G Group ... 358
Main Plane YZ, Tool X ... 137 Read IPLC Marker or I/O ... 363
H Mathematical functions ... 56 Read Machine Constant
High-level language ... 67 Measure Inclined Plane ... 400 Memory ... 356
Measurement Center 4 Holes ... 404 Read Measure Probe Status ... 272
I Measuring a Circle ... 170 Read NC System Data ... 483
If ... 80 Measuring a Point ... 167 Read Offset from Kinematic
Inch Measuring Cycles ... 378 Model ... 365
Programming ... 208 Metric Read Operation Mode ... 362
Incremental coordinates ... 48 Programming ... 209 Read Tool Data ... 354
Incremental Programming ... 242 Milling Operation ... 153 Read Tool or Zero Offset Values ... 274
Instructions ... 77 Mirror Image and Scaling ... 211 Reaming ... 230, 447
Introduction ... 18 Mm or inches ... 41 Reference point ... 44
Is ... 71 Modified functions (incompatible) ... 4 Relational operators ... 61
IsNot ... 72 Multipass Milling ... 424 Repeat Function ... 131
J Reset Positioning Functions ... 145
N
Jump Function ... 148 Not ... 74 S
K S function ... 25
O Select Case ... 81
Key-Way Finishing ... 465 One-point geometry ... 126 Sequence of operators in the
Key-Way Milling ... 236, 453 Operation on Circle ... 436 evaluation ... 63
L Operation on Grid ... 434 Specific G Codes for Macros ... 346
Operation on Line ... 430 Spindle Speed ... 251
Lifting Tool on Intervention
Operation on Quadrangle ... 432 Storage of programs ... 43
OFF ... 256
Operators ... 54, 67 Structure of a part program ... 43
ON ... 257
Or ... 75 Subprogram Call ... 138
Like ... 73
OrElse ... 76 Synchronize CNC and PLC ... 349
Limiting the Traverse Ranges ... 284
Linear Chamfer Rounding Cycle ... 125 P T
Linear Measuring Movement ... 268 Pallet datum ... 45 T Function Tool Table ... 35
Logical operators ... 62 Part programs ... 40 Tangential Approach ... 188
M Pocket Finishing ... 463 Tangential Exit ... 191
Pocket Milling ... 234, 451 Tapping ... 228, 445
M function ... 26
Point Definition ... 219 Tapping with Chip Breaking ... 150
M0/M1 program stop ... 26
Polar coordinates ... 48 Tapping, Interpolated ... 461
M19 Oriented spindle stop ... 32
Position Measurement ... 384 Thread Milling Inside ... 426
M19 with Programmable
Positioning Functions ... 146 Thread Milling Outside ... 429
Direction ... 348
Processing Measuring Results ... 175 Tilting Tool Orientation ... 117
M3/M4/M5 spindle ON clockwise/coun-
Program blocks ... 42 Tilting Working Plane ... 108
terclockwise or spindle stop ... 27
Program Call ... 140 Tool change ... 36
M30 End of part program ... 33
Program datum (W) ... 45 Tool life monitoring ... 37
M41/M42/M43/M44 Selecting the
Program Error Call ... 347 Tool Measuring Cycles for Laser
spindle speed range ... 34
Program identifier ... 43 Measurements ... 376
M6 Automatic tool change ... 27
Program words ... 40 Tool Measuring Cycles for Tool Touch
M66 Executing an automatic tool
Protection Zones ... 373 Probe Measuring Systems ... 377
change ... 29
M67 Changing the tool data ... 30 Tool Offset Change ... 154
R Tool Radius Compensation Past End
M7/M8/M9/M13/M14 Coolant no. 2 / Rapid Traverse ... 94
no. 1 on/off ... 31 Point ... 166
Read Actual G Data ... 351 Tool Radius Compensation to End Point
Machine datum ... 44 Read Actual Position ... 360
Machining and Positioning G43 ... 164
Read Actual Technology Data ... 350 Tool Radius Compensation, Left ... 158
Cycles ... 418
U
Using tools in the program ... 35
W
While ... 82
Write IPLC Marker or I/O ... 370
Write NC System Data ... 479
Write Offset in Kinematic Model ... 371
Write Tool Data ... 368
Z
Zero Point Shift Abs./Rotation ... 246
Zero Point Shift Incr./Rotation ... 244
Zoning Planes:
Disable ... 323
Enable ... 324
Zoning Planes: Define ... 325
534
DR. JOHANNES HEIDENHAIN GmbH
Dr.-Johannes-Heidenhain-Straße 5
83301 Traunreut, Germany
{ +49 (8669) 31-0
| +49 (8669) 5061
E-mail: info@heidenhain.de
Technical support | +49 (8669) 32-1000
Measuring systems { +49 (8669) 31-3104
E-mail: service.ms-support@heidenhain.de
TNC support { +49 (8669) 31-3101
E-mail: service.nc-support@heidenhain.de
NC programming { +49 (8669) 31-3103
E-mail: service.nc-pgm@heidenhain.de
PLC programming { +49 (8669) 31-3102
E-mail: service.plc@heidenhain.de
Lathe controls { +49 (8669) 31-3105
E-mail: service.lathe-support@heidenhain.de
www.heidenhain.de