FANUC Series 0+-MODEL D Operator's Manual

Page 1 sur 1144Lecteur de document UniversityLib

FANUC Series 0+-MODEL D Operator's Manual

CNC Systems and Machine Operation · notes

Voir tous les documents en génie mécanique

FANUC Series 0+-MODEL D

FANUC Series 0+ Mate-MODEL D

Common to Lathe System / Machining Center System

OPERATOR'S MANUAL

B-64304EN/02

• No part of this manual may be reproduced in any form.

• All specifications and designs are subject to change without notice.

The products in this manual are controlled based on Japan’s “Foreign Exchange and

Foreign Trade Law”. The export from Japan may be subject to an export license by the

government of Japan.

Further, re-export to another country may be subject to the license of the government of

the country from where the product is re-exported. Furthermore, the product may also be

controlled by re-export regulations of the United States government.

Should you wish to export or re-export these products, please contact FANUC for advice.

In this manual we have tried as much as possible to describe all the various matters.

However, we cannot describe all the matters which must not be done, or which cannot be

done, because there are so many possibilities.

Therefore, matters which are not especially described as possible in this manual should be

regarded as ”impossible”.

This manual contains the program names or device names of other companies, some of

which are registered trademarks of respective owners. However, these names are not

followed by ® or ™ in the main body.

B-64304EN/02

SAFETY PRECAUTIONS

SAFETY PRECAUTIONS

This section describes the safety precautions related to the use of CNC units.

It is essential that these precautions be observed by users to ensure the safe operation of machines

equipped with a CNC unit (all descriptions in this section assume this configuration). Note that some

precautions are related only to specific functions, and thus may not be applicable to certain CNC units.

Users must also observe the safety precautions related to the machine, as described in the relevant manual

supplied by the machine tool builder. Before attempting to operate the machine or create a program to

control the operation of the machine, the operator must become fully familiar with the contents of this

manual and relevant manual supplied by the machine tool builder.

CONTENTS

DEFINITION OF WARNING, CAUTION, AND NOTE.........................................................................s-1

GENERAL WARNINGS AND CAUTIONS ............................................................................................s-1

WARNINGS AND CAUTIONS RELATED TO PROGRAMMING .......................................................s-3

WARNINGS AND CAUTIONS RELATED TO HANDLING ................................................................s-4

WARNINGS RELATED TO DAILY MAINTENANCE .........................................................................s-6

DEFINITION OF WARNING, CAUTION, AND NOTE

This manual includes safety precautions for protecting the user and preventing damage to the machine.

Precautions are classified into Warning and Caution according to their bearing on safety. Also,

supplementary information is described as a Note. Read the Warning, Caution, and Note thoroughly

before attempting to use the machine.

WARNING

Applied when there is a danger of the user being injured or when there is a

danger of both the user being injured and the equipment being damaged if the

approved procedure is not observed.

CAUTION

Applied when there is a danger of the equipment being damaged, if the

approved procedure is not observed.

NOTE

The Note is used to indicate supplementary information other than Warning and

Caution.

Read this manual carefully, and store it in a safe place.

GENERAL WARNINGS AND CAUTIONS

WARNING

1 Never attempt to machine a workpiece without first checking the operation of the

machine. Before starting a production run, ensure that the machine is operating

correctly by performing a trial run using, for example, the single block, feedrate

override, or machine lock function or by operating the machine with neither a tool

nor workpiece mounted. Failure to confirm the correct operation of the machine

may result in the machine behaving unexpectedly, possibly causing damage to

the workpiece and/or machine itself, or injury to the user.

s-1

SAFETY PRECAUTIONS

WARNING

B-64304EN/02

2 Before operating the machine, thoroughly check the entered data.

Operating the machine with incorrectly specified data may result in the machine

behaving unexpectedly, possibly causing damage to the workpiece and/or

machine itself, or injury to the user.

3 Ensure that the specified feedrate is appropriate for the intended operation.

Generally, for each machine, there is a maximum allowable feedrate.

The appropriate feedrate varies with the intended operation. Refer to the manual

provided with the machine to determine the maximum allowable feedrate.

If a machine is run at other than the correct speed, it may behave unexpectedly,

possibly causing damage to the workpiece and/or machine itself, or injury to the

user.

4 When using a tool compensation function, thoroughly check the direction and

amount of compensation.

Operating the machine with incorrectly specified data may result in the machine

behaving unexpectedly, possibly causing damage to the workpiece and/or

machine itself, or injury to the user.

5 The parameters for the CNC and PMC are factory-set. Usually, there is not need

to change them. When, however, there is not alternative other than to change a

parameter, ensure that you fully understand the function of the parameter before

making any change.

Failure to set a parameter correctly may result in the machine behaving

unexpectedly, possibly causing damage to the workpiece and/or machine itself,

or injury to the user.

Immediately after switching on the power, do not touch any of the keys on the

MDI panel until the position display or alarm screen appears on the CNC unit.

6

Some of the keys on the MDI panel are dedicated to maintenance or other

special operations. Pressing any of these keys may place the CNC unit in other

than its normal state. Starting the machine in this state may cause it to behave

unexpectedly.

7 The OPERATOR’S MANUAL and programming manual supplied with a CNC

unit provide an overall description of the machine's functions, including any

optional functions. Note that the optional functions will vary from one machine

model to another. Therefore, some functions described in the manuals may not

actually be available for a particular model. Check the specification of the

machine if in doubt.

8 Some functions may have been implemented at the request of the machine-tool

builder. When using such functions, refer to the manual supplied by the

machine-tool builder for details of their use and any related cautions.

CAUTION

The liquid-crystal display is manufactured with very precise fabrication

technology. Some pixels may not be turned on or may remain on. This

phenomenon is a common attribute of LCDs and is not a defect.

s-2

B-64304EN/02

SAFETY PRECAUTIONS

NOTE

Programs, parameters, and macro variables are stored in nonvolatile memory in

the CNC unit. Usually, they are retained even if the power is turned off.

Such data may be deleted inadvertently, however, or it may prove necessary to

Publicité

delete all data from nonvolatile memory as part of error recovery.

To guard against the occurrence of the above, and assure quick restoration of

deleted data, backup all vital data, and keep the backup copy in a safe place.

WARNINGS AND CAUTIONS RELATED TO PROGRAMMING

This section covers the major safety precautions related to programming. Before attempting to perform

programming, read the supplied OPERATOR’S MANUAL carefully such that you are fully familiar with

their contents.

WARNING

1 Coordinate system setting

If a coordinate system is established incorrectly, the machine may behave

unexpectedly as a result of the program issuing an otherwise valid move

command. Such an unexpected operation may damage the tool, the machine

itself, the workpiece, or cause injury to the user.

2 Positioning by nonlinear interpolation

When performing positioning by nonlinear interpolation (positioning by nonlinear

movement between the start and end points), the tool path must be carefully

confirmed before performing programming. Positioning involves rapid traverse. If

the tool collides with the workpiece, it may damage the tool, the machine itself,

the workpiece, or cause injury to the user.

3 Function involving a rotation axis

When programming polar coordinate interpolation (T series) or normal-direction

(perpendicular) control (M series), pay careful attention to the speed of the

rotation axis. Incorrect programming may result in the rotation axis speed

becoming excessively high, such that centrifugal force causes the chuck to lose

its grip on the workpiece if the latter is not mounted securely. Such mishap is

likely to damage the tool, the machine itself, the workpiece, or cause injury to the

user.

Inch/metric conversion

4

Switching between inch and metric inputs does not convert the measurement

units of data such as the workpiece origin offset, parameter, and current

position. Before starting the machine, therefore, determine which measurement

units are being used. Attempting to perform an operation with invalid data

specified may damage the tool, the machine itself, the workpiece, or cause injury

to the user.

5 Constant surface speed control

When an axis subject to constant surface speed control approaches the origin of

the workpiece coordinate system, the spindle speed may become excessively

high. Therefore, it is necessary to specify a maximum allowable speed.

Specifying the maximum allowable speed incorrectly may damage the tool, the

machine itself, the workpiece, or cause injury to the user.

s-3

SAFETY PRECAUTIONS

B-64304EN/02

WARNING

6 Stroke check

After switching on the power, perform a manual reference position return as

required. Stroke check is not possible before manual reference position return is

performed. Note that when stroke check is disabled, an alarm is not issued even

if a stroke limit is exceeded, possibly damaging the tool, the machine itself, the

workpiece, or causing injury to the user.

Interference check for each path (T series)

7

An interference check for each path (T series) is performed based on the tool

data specified during automatic operation. If the tool specification does not

match the tool actually being used, the interference check cannot be made

correctly, possibly damaging the tool or the machine itself, or causing injury to

the user. After switching on the power, or after selecting a tool post manually,

always start automatic operation and specify the tool number of the tool to be

used.

8 Absolute/incremental mode

If a program created with absolute values is run in incremental mode, or vice

versa, the machine may behave unexpectedly.

9 Plane selection

If an incorrect plane is specified for circular interpolation, helical interpolation, or

a canned cycle, the machine may behave unexpectedly. Refer to the

descriptions of the respective functions for details.

10 Torque limit skip

Before attempting a torque limit skip, apply the torque limit. If a torque limit skip

is specified without the torque limit actually being applied, a move command will

be executed without performing a skip.

11 Programmable mirror image (M series)

Note that programmed operations vary considerably when a programmable

mirror image (M series) is enabled.

12 Compensation function

If a command based on the machine coordinate system or a reference position

return command is issued in compensation function mode, compensation is

temporarily canceled, resulting in the unexpected behavior of the machine.

Before issuing any of the above commands, therefore, always cancel

compensation function mode.

WARNINGS AND CAUTIONS RELATED TO HANDLING

This section presents safety precautions related to the handling of machine tools. Before attempting to

operate your machine, read the supplied OPERATOR’S MANUAL carefully, such that you are fully

familiar with their contents.

WARNING

1 Manual operation

When operating the machine manually, determine the current position of the tool

and workpiece, and ensure that the movement axis, direction, and feedrate have

been specified correctly. Incorrect operation of the machine may damage the

tool, the machine itself, the workpiece, or cause injury to the operator.

s-4

B-64304EN/02

WARNING

SAFETY PRECAUTIONS

2 Manual reference position return

After switching on the power, perform manual reference position return as

required.

If the machine is operated without first performing manual reference position

return, it may behave unexpectedly. Stroke check is not possible before manual

reference position return is performed.

An unexpected operation of the machine may damage the tool, the machine

itself, the workpiece, or cause injury to the user.

3 Manual handle feed

In manual handle feed, rotating the handle with a large scale factor, such as 100,

applied causes the tool and table to move rapidly. Careless handling may

damage the tool and/or machine, or cause injury to the user.

4 Disabled override

If override is disabled (according to the specification in a macro variable) during

threading, rigid tapping, or other tapping, the speed cannot be predicted,

possibly damaging the tool, the machine itself, the workpiece, or causing injury

to the operator.

5 Origin/preset operation

Basically, never attempt an origin/preset operation when the machine is

operating under the control of a program. Otherwise, the machine may behave

unexpectedly, possibly damaging the tool, the machine itself, the tool, or causing

injury to the user.

6 Workpiece coordinate system shift

Manual intervention, machine lock, or mirror imaging may shift the workpiece

coordinate system. Before attempting to operate the machine under the control

Publicité

of a program, confirm the coordinate system carefully.

If the machine is operated under the control of a program without making

allowances for any shift in the workpiece coordinate system, the machine may

behave unexpectedly, possibly damaging the tool, the machine itself, the

workpiece, or causing injury to the operator.

7 Software operator's panel

Using the software operator's panel, in combination with the MDI panel, it is

possible to specify operations not supported by the machine operator's panel,

such as mode change, override value change, and jog feed commands.

Note, however, that if the MDI panel keys are operated inadvertently, the

machine may behave unexpectedly, possibly damaging the tool, the machine

itself, the workpiece, or causing injury to the user.

8 RESET key

Pressing the RESET key stops the currently running program. As a result, the

servo axes are stopped. However, the RESET key may fail to function for

reasons such as an MDI panel problem. So, when the motors must be stopped,

use the emergency stop button instead of the RESET key to ensure security.

9 Manual intervention

If manual intervention is performed during programmed operation of the

machine, the tool path may vary when the machine is restarted. Before restarting

the machine after manual intervention, therefore, confirm the settings of the

manual absolute switches, parameters, and absolute/incremental command

mode.

s-5

SAFETY PRECAUTIONS

WARNING

B-64304EN/02

10 Feed hold, override, and single block

The feed hold, feedrate override, and single block functions can be disabled

using custom macro system variables #3003 and #3004. Be careful when

operating the machine in this case.

11 Dry run

Usually, a dry run is used to confirm the operation of the machine. During a dry

run, the machine operates at dry run speed, which differs from the

corresponding programmed feedrate. Note that the dry run speed may

sometimes be higher than the programmed feed rate.

12 Tool radius / tool nose radius compensation in MDI mode

Pay careful attention to a tool path specified by a command in MDI mode,

because tool radius / tool nose radius compensation is not applied. When a

command is entered from the MDI to interrupt in automatic operation in tool

radius compensation (M series) or tool nose radius compensation (T series)

mode, pay particular attention to the tool path when automatic operation is

subsequently resumed. Refer to the descriptions of the corresponding functions

for details.

13 Program editing

If the machine is stopped, after which the machining program is edited

(modification, insertion, or deletion), the machine may behave unexpectedly if

machining is resumed under the control of that program. Basically, do not

modify, insert, or delete commands from a machining program while it is in use.

WARNINGS RELATED TO DAILY MAINTENANCE

WARNING

1 Memory backup battery replacement

When replacing the memory backup batteries, keep the power to the machine

(CNC) turned on, and apply an emergency stop to the machine. Because this

work is performed with the power on and the cabinet open, only those personnel

who have received approved safety and maintenance training may perform this

work.

When replacing the batteries, be careful not to touch the high-voltage circuits

(marked

and fitted with an insulating cover).

Touching the uncovered high-voltage circuits presents an extremely dangerous

electric shock hazard.

NOTE

The CNC uses batteries to preserve the contents of its memory, because it must

retain data such as programs, offsets, and parameters even while external

power is not applied.

If the battery voltage drops, a low battery voltage alarm is displayed on the

machine operator's panel or screen.

When a low battery voltage alarm is displayed, replace the batteries within a

week. Otherwise, the contents of the CNC's memory will be lost.

Refer to the Section “Method of replacing battery” in the OPERATOR’S

MANUAL (Common to T/M series) for details of the battery replacement

procedure.

s-6

B-64304EN/02

WARNING

SAFETY PRECAUTIONS

2 Absolute pulse coder battery replacement

When replacing the memory backup batteries, keep the power to the machine

(CNC) turned on, and apply an emergency stop to the machine. Because this

work is performed with the power on and the cabinet open, only those personnel

who have received approved safety and maintenance training may perform this

work.

When replacing the batteries, be careful not to touch the high-voltage circuits

(marked

and fitted with an insulating cover).

Touching the uncovered high-voltage circuits presents an extremely dangerous

electric shock hazard.

NOTE

The absolute pulse coder uses batteries to preserve its absolute position.

If the battery voltage drops, a low battery voltage alarm is displayed on the

machine operator's panel or screen.

When a low battery voltage alarm is displayed, replace the batteries within a

week. Otherwise, the absolute position data held by the pulse coder will be lost.

Refer to the Section “Method of replacing battery” in the OPERATOR’S

MANUAL (Common to T/M series) for details of the battery replacement

procedure.

WARNING

3 Fuse replacement

Before replacing a blown fuse, however, it is necessary to locate and remove the

cause of the blown fuse.

For this reason, only those personnel who have received approved safety and

maintenance training may perform this work.

When replacing a fuse with the cabinet open, be careful not to touch the

high-voltage circuits (marked

and fitted with an insulating cover).

Touching an uncovered high-voltage circuit presents an extremely dangerous

electric shock hazard.

s-7

B-64304EN/02

TABLE OF CONTENTS

TABLE OF CONTENTS

SAFETY PRECAUTIONS............................................................................s-1

DEFINITION OF WARNING, CAUTION, AND NOTE ............................................. s-1

GENERAL WARNINGS AND CAUTIONS............................................................... s-1

WARNINGS AND CAUTIONS RELATED TO PROGRAMMING ............................ s-3

WARNINGS AND CAUTIONS RELATED TO HANDLING...................................... s-4

WARNINGS RELATED TO DAILY MAINTENANCE ............................................... s-6

I. GENERAL

Publicité

1 GENERAL ............................................................................................... 3

NOTES ON READING THIS MANUAL.......................................................... 6

NOTES ON VARIOUS KINDS OF DATA ...................................................... 6

1.1

1.2

II. PROGRAMMING

1 GENERAL ............................................................................................... 9

1.1

1.2

1.3

1.4

1.5

1.6

1.7

1.8

1.3.3

TOOL MOVEMENT ALONG WORKPIECE PARTS

FIGURE-INTERPOLATION ........................................................................... 9

FEED-FEED FUNCTION ............................................................................. 11

PART DRAWING AND TOOL MOVEMENT ................................................ 12

Reference Position (Machine-specific Position) ....................................................12

1.3.1

Coordinate System on Part Drawing and Coordinate System Specified by CNC -

1.3.2

Coordinate System .................................................................................................13

How to Indicate Command Dimensions for Moving the Tool (Absolute,

Incremental Commands) ........................................................................................17

CUTTING SPEED - SPINDLE FUNCTION.................................................. 19

SELECTION OF TOOL USED FOR VARIOUS MACHINING - TOOL

FUNCTION .................................................................................................. 20

COMMAND FOR MACHINE OPERATIONS - AUXILIARY FUNCTION ...... 21

PROGRAM CONFIGURATION ................................................................... 22

TOOL MOVEMENT RANGE - STROKE...................................................... 24

2 CONTROLLED AXES ........................................................................... 25

NUMBER OF CONTROLLED AXES ........................................................... 25

NAMES OF AXES ....................................................................................... 26

INCREMENT SYSTEM................................................................................ 26

MAXIMUM STROKE.................................................................................... 27

2.1

2.2

2.3

2.4

3 PREPARATORY FUNCTION (G FUNCTION) ...................................... 28

G CODE LIST IN THE M SERIES ............................................................... 29

G CODE LIST IN THE T SERIES ............................................................... 31

3.1

3.2

4

INTERPOLATION FUNCTIONS............................................................ 34

POSITIONING (G00) ................................................................................... 34

4.1

LINEAR INTERPOLATION (G01)................................................................ 35

4.2

CIRCULAR INTERPOLATION (G02, G03).................................................. 37

4.3

c-1

TABLE OF CONTENTS

B-64304EN/02

4.4

4.5

4.6

4.7

4.8

4.9

HELICAL INTERPOLATION (G02, G03) ..................................................... 41

CYLINDRICAL INTERPOLATION (G07.1) .................................................. 43

SKIP FUNCTION (G31)............................................................................... 46

MULTI-STEP SKIP (G31) ............................................................................ 48

HIGH-SPEED SKIP SIGNAL (G31) ............................................................. 49

TORQUE LIMIT SKIP .................................................................................. 49

5.1

5.2

5.3

5.4

5 FEED FUNCTIONS ............................................................................... 52

OVERVIEW ................................................................................................. 52

RAPID TRAVERSE ..................................................................................... 54

CUTTING FEED .......................................................................................... 54

CUTTING FEEDRATE CONTROL .............................................................. 59

Exact Stop (G09, G61), Cutting Mode (G64), Tapping Mode (G63) ....................60

5.4.1

Automatic Corner Override (M Series) ..................................................................60

5.4.2

Automatic override for inner corners (G62) ................................................... 61

5.4.2.1

Internal circular cutting feedrate change......................................................... 62

5.4.2.2

5.5

5.6

FEEDRATE INSTRUCTION ON IMAGINARY CIRCLE FOR A ROTARY

AXIS ............................................................................................................ 63

DWELL ........................................................................................................ 67

6 REFERENCE POSITION....................................................................... 68

REFERENCE POSITION RETURN............................................................. 68

6.1

7 COORDINATE SYSTEM ....................................................................... 73

MACHINE COORDINATE SYSTEM............................................................ 73

7.1

7.2 WORKPIECE COORDINATE SYSTEM ...................................................... 75

Setting a Workpiece Coordinate System................................................................75

7.2.1

Selecting a Workpiece Coordinate System ............................................................77

7.2.2

Changing Workpiece Coordinate System ..............................................................78

7.2.3

7.2.4 Workpiece Coordinate System Preset (G92.1).......................................................81

Addition of Workpiece Coordinate System Pair (G54.1 or G54) (M Series) ........83

7.2.5

7.2.6

Automatic Coordinate System Setting ...................................................................85

7.2.7 Workpiece Coordinate System Shift (T Series) .....................................................85

LOCAL COORDINATE SYSTEM ................................................................ 87

PLANE SELECTION.................................................................................... 88

7.3

7.4

8 COORDINATE VALUE AND DIMENSION ........................................... 90

ABSOLUTE AND INCREMENTAL PROGRAMMING.................................. 90

INCH/METRIC CONVERSION (G20, G21) ................................................. 92

DECIMAL POINT PROGRAMMING ............................................................ 95

Publicité

DIAMETER AND RADIUS PROGRAMMING .............................................. 97

8.1

8.2

8.3

8.4

9.1

9.2

9 SPINDLE SPEED FUNCTION (S FUNCTION) ..................................... 98

SPECIFYING THE SPINDLE SPEED WITH A CODE................................. 98

SPECIFYING THE SPINDLE SPEED VALUE DIRECTLY (S5-DIGIT

COMMAND) ................................................................................................ 98

CONSTANT SURFACE SPEED CONTROL (G96, G97) ............................ 98

SPINDLE POSITIONING FUNCTION ....................................................... 102

Spindle Orientation...............................................................................................103

9.4.1

Spindle Positioning (T Series)..............................................................................104

9.4.2

Canceling Spindle Positioning (T Series).............................................................105

9.4.3

9.3

9.4

c-2

B-64304EN/02

9.5

9.6

TABLE OF CONTENTS

SPINDLE SPEED FLUCTUATION DETECTION (T SERIES) ................... 107

SPINDLE CONTROL WITH SERVO MOTOR ........................................... 110

Spindle Control with Servo Motor .......................................................................111

9.6.1

Spindle Indexing Function ...................................................................................116

9.6.2

Rigid Tapping with Servo Motor .........................................................................119

9.6.3

Feed per Revolution .............................................................................................121

9.6.4

Spindle Output Control with PMC.......................................................................122

9.6.5

10.1

10.2

10 TOOL FUNCTION (T FUNCTION) ...................................................... 123

TOOL SELECTION FUNCTION ................................................................ 123

TOOL LIFE MANAGEMENT...................................................................... 124

10.2.1 Tool Life Management Data ................................................................................125

10.2.2 Registering, Changing, and Deleting Tool Life Management Data .....................126

10.2.3 Tool Life Management Commands in Machining Program.................................129

10.2.4 Tool Life Counting and Tool Selection................................................................134

10.2.5 Tool Life Count Restart M Code..........................................................................136

10.2.6 Disabling Life Count ............................................................................................138

11 AUXILIARY FUNCTION ...................................................................... 139

11.1 AUXILIARY FUNCTION (M FUNCTION)................................................... 139

11.2 MULTIPLE M COMMANDS IN A SINGLE BLOCK.................................... 140

11.3 SECOND AUXILIARY FUNCTIONS (B CODES) ...................................... 141

12 PROGRAM MANAGEMENT ............................................................... 143

12.1 PROGRAM ATTRIBUTES ......................................................................... 143

12.2 RELATED PARAMETERS......................................................................... 143

12.3 PART PROGRAM STORAGE SIZE / NUMBER OF REGISTERABLE

PROGRAMS.............................................................................................. 144

13 PROGRAM CONFIGURATION........................................................... 145

13.1 PROGRAM COMPONENTS OTHER THAN PROGRAM SECTIONS....... 146

13.2 PROGRAM SECTION CONFIGURATION ................................................ 148

13.3 SUBPROGRAM (M98, M99) ..................................................................... 153

14 CUSTOM MACRO............................................................................... 158

14.1 VARIABLES............................................................................................... 158

14.2 SYSTEM VARIABLES ............................................................................... 162

14.3 ARITHMETIC AND LOGIC OPERATION .................................................. 193

14.4 READING PARAMETERS......................................................................... 200

14.5 Macro Statements and NC Statements ..................................................... 201

14.6 BRANCH AND REPETITION..................................................................... 201

14.6.1 Unconditional Branch (GOTO Statement) ...........................................................201

14.6.2 GOTO Statement Using Stored Sequence Numbers ............................................202

14.6.3 Conditional Branch (IF Statement) ......................................................................203

14.6.4 Repetition (WHILE Statement)............................................................................204

14.7 MACRO CALL ........................................................................................... 206

14.7.1 Simple Call (G65) ................................................................................................207

14.7.2 Modal Call: Call After the Move Command (G66) .............................................214

14.7.3 Macro Call Using a G Code .................................................................................217

14.7.4 Macro Call Using a G Code (Specification of Multiple Definitions)...................218

14.7.5 Macro Call Using an M Code...............................................................................218

14.7.6 Macro Call Using an M Code (Specification of Multiple Definitions) ................219

c-3

TABLE OF CONTENTS

B-64304EN/02

14.7.7 Subprogram Call Using an M Code .....................................................................220

14.7.8 Subprogram Call Using an M Code (Specification of Multiple Definitions).......221

14.7.9 Subprogram Calls Using a T Code.......................................................................221

14.7.10 Subprogram Call Using a Specific Address .........................................................222

14.8 PROCESSING MACRO STATEMENTS ................................................... 225

14.9 REGISTERING CUSTOM MACRO PROGRAMS ..................................... 226

14.10 CODES AND RESERVED WORDS USED IN CUSTOM MACROS ......... 227

14.11 EXTERNAL OUTPUT COMMANDS.......................................................... 228

14.12 RESTRICTIONS ........................................................................................ 231

INTERRUPTION TYPE CUSTOM MACRO............................................... 232

14.13

14.13.1 Specification Method ...........................................................................................233

14.13.2 Details of Functions..............................................................................................234

15 PROGRAMMABLE PARAMETER INPUT (G10)................................ 241

16 HIGH-SPEED CUTTING FUNCTIONS................................................ 244

16.1 ADVANCED PREVIEW CONTROL (T SERIES) / AI ADVANCED

PREVIEW CONTROL (M SERIES) / AI CONTOUR CONTROL (II)

(M SERIES) ............................................................................................... 244

16.2 MACHINING CONDITION SELECTING FUNCTION ................................ 261

16.3 MACHINING QUALITY LEVEL ADJUSTMENT (M Series) ....................... 262

JERK CONTROL (M Series) ..................................................................... 263

16.4

16.4.1 Speed Control with Change of Acceleration on Each Axis..................................263

16.4.2 Look-Ahead Smooth Bell-Shaped Acceleration/Deceleration before

Interpolation .........................................................................................................266

17 AXIS CONTROL FUNCTIONS............................................................ 268

17.1 AXIS SYNCHRONOUS CONTROL........................................................... 268

17.1.1 Axis Configuration for Axis Synchronous Control..............................................268

17.1.2 Synchronous Establishment .................................................................................271

17.1.3 Automatic Setting for Grid Position Matching ....................................................272

17.1.4 Synchronous Error Check ....................................................................................273

17.1.5 Methods of Alarm Recovery by Synchronous Error Check.................................274

17.1.6 Axis Synchronous Control Torque Difference Alarm..........................................275

17.2 ROTARY AXIS ROLL-OVER ..................................................................... 277

17.3 ARBITRARY ANGULAR AXIS CONTROL ................................................ 278

TANDEM CONTROL .............................