You are on page 1of 223

GE Fanuc Automation

Computer Numerical Control Products

Series 16 / 18 / 160 / 180 – Model PB

Descriptions Manual

GFZ-62622EN/02 September 1995


GFL-001
Warnings, Cautions, and Notes
as Used in this Publication

Warning
Warning notices are used in this publication to emphasize that hazardous voltages, currents,
temperatures, or other conditions that could cause personal injury exist in this equipment or
may be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a
Warning notice is used.

Caution
Caution notices are used where equipment might be damaged if care is not taken.

Note
Notes merely call attention to information that is especially significant to understanding and
operating the equipment.

This document is based on information available at the time of its publication. While efforts
have been made to be accurate, the information contained herein does not purport to cover all
details or variations in hardware or software, nor to provide for every possible contingency in
connection with installation, operation, or maintenance. Features may be described herein
which are not present in all hardware and software systems. GE Fanuc Automation assumes
no obligation of notice to holders of this document with respect to changes subsequently made.

GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory


with respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, or
usefulness of the information contained herein. No warranties of merchantability or fitness for
purpose shall apply.

©Copyright 1995 GE Fanuc Automation North America, Inc.


All Rights Reserved.
B–62622EN/02 Table of Contents
I. GENERAL
1. GENERAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2. LIST OF SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

II. NC FUNCTION
1. CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.1 NUMBER OF THE ALL CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2 MACHINE CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.1 Number of Basic Controlled Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.2 Number of Basic Simultaneously Controlled Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.3 Number of Controlled Axes Expanded (All) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.4 Number of Simultaneously Controlled Axes Expanded (All) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.5 Axis Control by PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.3 AXIS NAMES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.4 INCREMENT SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.4.1 Input Unit (10 Times) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.5 MAXIMUM STROKE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

2. PREPARATORY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

3. INTERPOLATION FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1 POSITIONING (G00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.2 LINEAR INTERPOLATION (G01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.3 CIRCULAR INTERPOLATION (G02, G03) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

4. FEED FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.1 RAPID TRAVERSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.2 CUTTING FEED RATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.2.1 Tangential Speed Constant Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.2.2 Cutting Feed Rate Clamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.2.3 Per Minute Feed (G94) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.3 OVERRIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.1 Feed Rate Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.2 Second Feed Rate Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.3 Rapid Traverse Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.4 Override Cancel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.5 Jog Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.6 F1-digit (Programmable Rapid Traverse Override) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.4 AUTOMATIC ACCELERATION/ DECELERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.4.1 Switching Rapid Traverse Feedrates, Time Constants, and/or Servo Loop Gains According to
the Positioning Distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.4.2 Constant-positioning- time Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.5 LINEAR ACCELERATION/ DECELERATION AFTER CUTTING FEED INTERPOLATION 32
Table of Contents B–62622EN/02

4.6 LINEAR ACCELERATION/ DECELERATION BEFORE CUTTING FEED


INTERPOLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.7 ERROR DETECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.8 EXACT STOP (G09) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.9 EXACT STOP MODE (G61) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.10 CUTTING MODE (G64) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.11 AUTOMATIC CORNER OVERRIDE (G62) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.12 DWELL (G04) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

5. REFERENCE POSITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.1 MANUAL REFERENCE POSITION RETURN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.1.1 Manual Reference Position Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.1.2 Setting the Reference Position without Dogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2 AUTOMATIC REFERENCE POSITION RETURN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

6. COORDINATE SYSTEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.1 MACHINE COORDINATE SYSTEM (G53) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.2 WORKPIECE COORDINATE SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.2.1 Setting a Workpiece Coordinate System (Using G92) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.2.2 Automatic Coordinate System Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.2.3 Setting a Workpiece Coordinate System (Using G54 to G59) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.3 LOCAL COORDINATE SYSTEM SYSTEM (G52) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.4 WORKPIECE ORIGIN OFFSET VALUE CHANGE
(PROGRAMMABLE DATA INPUT) (G10) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.5 PLANE SELECTION (G17, G18, G19) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

7. COORDINATE VALUE AND DIMENSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46


7.1 ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91) . . . . . . . . . . . . . . . . . . . . . . 47
7.2 INCH/METRIC CONVERSION (G20, G21) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.3 DECIMAL POINT INPUT/POCKET CALCULATOR TYPE DECIMAL POINT INPUT . . . . . 48
7.4 LINEAR AXIS AND ROTATION AXIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.5 ROTATION AXIS ROLL-OVER FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

8. PRESS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.1 ONE-CYCLE PRESS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.2 CONTINUOUS PRESS (NIBBLING) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8.2.1 Circular Nibbling (G68) And Linear Nibbling (G69) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8.2.2 Nibbling Mode (M-code) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
8.3 MANUAL PRESS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.4 POSITIONING AND NO PRESS START SIGNAL (G70) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.5 SETTING UP PRESS START SIGNAL OUTPUT CONDITIONS . . . . . . . . . . . . . . . . . . . . . . . . 54
8.6 PRESS ACTIVATION LOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.7 DEFERRING PRESS ACTIVATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.8 SWITCHING BETWEEN TWO NIBBLING PITCHES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.9 EXTERNAL OPERATION FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

9. SPINDLE FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.1 S CODE OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
B–62622EN/02 Table of Contents

9.2 SPINDLE SPEED COMMAND CONTROL BY THE PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

10. TOOL FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57


10.1 T CODE OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
10.2 T-AXIS CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
10.3 IGNORING T-CODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
10.4 MULTIPLE TOOL CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
10.4.1 Tool Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
10.4.2 Relationship Between the Multiple-tool System and the C Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
10.4.3 Tool Compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
10.5 TOOL LIFE MANAGEMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

11. MISCELLANEOUS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63


11.1 MISCELLANEOUS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
11.2 1-BLOCK PLURAL M COMMAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
11.3 SECOND MISCELLANEOUS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
11.4 HIGH-SPEED M/S/T/B INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

12. PROGRAM CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68


12.1 PROGRAM NUMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
12.2 PROGRAM NAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
12.3 MAIN PROGRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
12.4 SUB PROGRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
12.5 EXTERNAL MEMORY AND SUB PROGRAM CALLING FUNCTION . . . . . . . . . . . . . . . . . . 71
12.6 SEQUENCE NUMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
12.7 TAPE CODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
12.8 BASIC ADDRESSES AND COMMAND VALUE RANGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
12.9 TAPE FORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.10 LABEL SKIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.11 CONTROL-IN/ CONTROL-OUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.12 OPTIONAL BLOCK SKIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.13 ADDITIONAL OPTIONAL BLOCK SKIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.14 TAPE HORIZONTAL (TH) PARITY CHECK AND
TAPE VERTICAL (TV) PARITY CHECK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

13. FUNCTION TO SIMPLIFY PROGRAMMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74


13.1 PATTERN FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
13.1.1 Bolt Hole Circle (G26) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
13.1.2 Line at Angle (G76) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
13.1.3 Arc (G77) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
13.1.4 Grid (G78, G79) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
13.1.5 Share Proof (G86) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
13.1.6 Square (G87) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
13.1.7 Radius (G88) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
13.1.8 Cut at Angle (G89) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
13.2 BASE POINT COMMAND (G72) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
13.3 STORAGE AND CALL BY ADDRESS A/B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
13.4 AUTOMATIC REPOSITIONING (G75) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Table of Contents B–62622EN/02

13.5 U/V/W MACRO FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82


13.5.1 Storage of Macro (U, V Command) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
13.5.2 Macro Call (W Command) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
13.5.3 Multiple Call of Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
13.5.4 Storage Capacity of Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
13.5.5 Storage and Call of Plural Macro (Macro No.90 to 99) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
13.6 MULTIPLE-PIECE MACHINING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
13.6.1 Base Point Command of Multi-piece Machining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
13.6.2 Multi-piecemachining Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
13.6.3 Setting of Processing Method of Multi-piece Machining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
13.6.4 Command to Restart Punching Multiple Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
13.7 BENDING COMPENSATION (G38, G39) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
13.8 LINEAR PUNCHING COMMAND G45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
13.9 CIRCULAR PUNCHING COMMANDS G46 AND G47 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

14. TOOL COMPENSATION FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93


14.1 TOOL OFFSET COMPENSATION (T SEIRES) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
14.2 C-AXIS POSITION COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
14.3 CUTTER COMPENSATION C (G40 - G42) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
14.4 TOOL COMPENSATION MEMORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
14.5 NUMBER OF TOOL OFFSETS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
14.5.1 Number of Tool Offsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
14.6 CHANGING OF TOOL OFFSET AMOUNT (PROGRAMMABLE DATA INPUT) (G10) . . . . 98

15. ACCURACY COMPENSATION FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99


15.1 STORED PITCH ERROR COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
15.2 BACKLASH COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
15.3 BACKLASH COMPENSATION SPECIFIC TO RAPID TRAVERSE AND CUTTING FEED . 101
15.4 PROGRAMMABLE PARAMETER ENTRY (G10, G11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
15.5 C-AXIS BACKLASH COMPENSATION FOR INDIVIDUAL INDEXES (OPTION) . . . . . . . . 102

16. COORDINATE SYSTEM CONVERSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103


16.1 COORDINATE SYSTEM ROTATION (G68, G69) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
16.2 SCALING (G50, G51) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

17. MEASUREMENT FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107


17.1 SKIP FUNCTION (G33) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108

18. CUSTOM MACRO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109


18.1 CUSTOM MACRO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
18.2 INCREASED CUSTOM MACRO COMMON VARIABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
18.3 INTERRUPTION TYPE CUSTOM MACRO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
18.4 MACRO EXECUTER FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
18.5 C LANGUAGE EXECUTER FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118

19. FUNCTIONS FOR HIGH SPEED CUTTING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119


19.1 AUTOMATIC CORNER DECELERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
B–62622EN/02 Table of Contents

19.2 FEEDRATE CLAMP BY CIRCULAR RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121


19.3 LOOK–AHEAD CONTROL (G08) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
19.4 REMOTE BUFFER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
19.4.1 Remote Buffer (only at 1–path Control) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123

20. AXES CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125


20.1 FOLLOW UP FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
20.2 MECHANICAL HANDLE FEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
20.3 SERVO OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
20.4 MIRROR IMAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
20.5 CONTROL AXIS DETACH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
20.6 SIMPLE SYNCHRONOUS CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
20.7 FEED STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
20.8 C AXIS CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
20.8.1 Relation with Absolute/Incremental Command (G90/G91) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
20.8.2 Positioning to Smaller Angle Rotation Direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
20.8.3 Relation Between T Command and C Axis Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
20.8.4 Controlling the punch and die . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
20.9 AXIS CONTROL WITH PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130

21. MANUAL OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131


21.1 MANUAL FEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
21.2 INCREMENTAL FEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
21.3 MANUAL HANDLE FEED (1ST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
21.4 MANUAL HANDLE FEED (2ND, 3RD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

22. AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133


22.1 OPERATION MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
22.1.1 Tape Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
22.1.2 Memory Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
22.1.3 MDI Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
22.2 SELECTION OF EXECUTION PROGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
22.2.1 Program Number Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
22.2.2 Sequence Number Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
22.2.3 Rewind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
22.2.4 External Workpiece Number Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
22.3 ACTIVATION OF AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
22.3.1 Cycle Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
22.4 EXECUTION OF AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
22.4.1 Buffer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
22.5 AUTOMATIC OPERATION STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
22.5.1 Program Stop (M00, M01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
22.5.2 Program End (M02, M30) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
22.5.3 Sequence Number Comparison and Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
22.5.4 Feed Hold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
22.5.5 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
22.6 MANUAL INTERRUPTION DURING AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . 139
22.6.1 Handle Interruption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Table of Contents B–62622EN/02

22.7 SCHEDULING FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140


22.8 SIMULTANEOUS INPUT AND OUTPUT OPERATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141

23. PROGRAM TEST FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142


23.1 ALL-AXES MACHINE LOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
23.2 MACHINE LOCK ON EACH AXIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
23.3 AUXILIARY FUNCTION LOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
23.4 DRY RUN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
23.5 SINGLE BLOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143

24. SETTING AND DISPLAY UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144


24.1 SETTING AND DISPLAY UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
24.1.1 9-inch Small Monochrome/Color CRT/MDI Panel (Horizontal) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
24.1.2 9-inch Monochrome/Color CRT/MDI Panel (Horizontal) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
24.1.3 9.5-inch Color LCD/MDI Panel (Horizontal) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
24.1.4 9.5-inch Color LCD/MDI Panel (Vertical) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
24.1.5 14-inch Color CRT/MDI Panel (Horizontal) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
24.1.6 14-inch Color CRT/MDI Panel (Vertical) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
24.2 EXPLANATION OF THE KEYBOARD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
24.2.1 Explanation of the Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
24.2.2 Explanation of the Soft Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152

25. DISPLAYING AND SETTING DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153


25.1 DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
25.2 LANGUAGE SELECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
25.3 CLOCK FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
25.4 RUN TIME & PARTS NUMBER DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
25.5 SOFTWARE OPERATOR’S PANEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
25.6 DIRECTORY DISPLAY OF FLOPPY CASSETTE/ PROGRAM FILE . . . . . . . . . . . . . . . . . . . . 160
25.7 GRAPHIC DISPLAY FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
25.7.1 Graphic Display Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
25.8 SERVO WAVEFORM FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
25.9 SCREENS FOR SERVO DATA AND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
25.9.1 Servo Setting Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
25.9.2 Servo Adjustment Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
25.10 SYSTEM CONFIGURATION DISPLAY FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
25.11 HELP FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
25.12 DATA PROTECTION KEY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
25.13 DISPLAYING OPERATION HISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
25.14 MACHINING TIME STAMP FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
25.15 REMOTE DIAGNOSIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169

26. PART PROGRAM STORAGE AND EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171


26.1 FOREGROUND EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
26.2 BACKGROUND EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
26.3 EXPANDED PART PROGRAM EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
26.4 NUMBER OF REGISTERED PROGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
B–62622EN/02 Table of Contents

26.5 PART PROGRAM STORAGE LENGTH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173


26.6 EXTERNAL CONTROL OF I/O DEVICE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
26.7 CONVERSATIONAL PROGRAMMING OF FIGURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
26.8 PASSWORD FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174

27. DIAGNOSIS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175


27.1 SELF DIAGNOSIS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176

28. DATA INPUT/OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177


28.1 READER/PUNCH INTERFACES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
28.2 INPUT/OUTPUT DEVICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
28.2.1 Fanuc Floppy Cassette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
28.2.2 Fanuc Program File Mate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
28.2.3 FANUC Handy File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
28.3 EXTERNAL PROGRAM INPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
28.4 MEMORY CARD INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
28.5 DNC1 CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
28.6 DNC2 CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182

29. SAFETY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183


29.1 EMERGENCY STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
29.2 OVERTRAVEL FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
29.2.1 Overtravel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
29.2.2 Stored Stroke Check 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
29.2.3 Stored Stroke Check 2 (G22, G23) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
29.2.4 Externally Setting the Stroke Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
29.3 INTERLOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
29.3.1 Interlock per Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
29.3.2 All Axes Interlock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
29.3.3 Interlock for Each Axis Direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
29.3.4 Door Interlock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
29.4 EXTERNAL DECELERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
29.5 ABNORMAL LOAD DETECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
29.6 SAFETY ZONE CHECK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
29.6.1 Punch Forbidden Area and Approach Forbidden Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
29.6.2 Setting the Safety Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
29.6.3 Automatic Setting of the Safety Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190

30. STATUS OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192


30.1 NC READY SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
30.2 SERVO READY SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
30.3 REWINDING SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
30.4 ALARM SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
30.5 DISTRIBUTION END SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
30.6 AUTOMATIC OPERATION SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
30.7 AUTOMATIC OPERATION START SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
30.8 FEED HOLD SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
30.9 RESET SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Table of Contents B–62622EN/02

30.10 IN–POSITION SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193


30.11 MOVE SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
30.12 AXIS MOVE DIRECTION SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
30.13 RAPID TRAVERSING SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
30.14 INCH INPUT SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
30.15 DI STATUS OUTPUT SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
30.16 POSITION SWITCH FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194

31. EXTERNAL DATA INPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195


31.1 EXTERNAL TOOL COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
31.2 EXTERNAL PROGRAM NUMBER SEARCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
31.3 EXTERNAL WORKPIECE COORDINATE SYSTEM SHIFT . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
31.4 EXTERNAL MACHINE ZERO POINT SHIFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
31.5 EXTERNAL ALARM MESSAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
31.6 EXTERNAL OPERATOR’S MESSAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
31.7 SUBSTITUTION OF THE NUMBER OF REQUIRED PARTS AND NUMBER OF
MACHINED PARTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197

32. KEY INPUT FROM PMC (EXTERNAL KEY INPUT CONTROL) . . . . . . . . . . . . . . . 198

33. MAN MACHINE CONTROL (MMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199


33.1 MMC–III . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
33.2 MMC–IV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200

APPENDIX
A. RANGE OF COMMAND VALUE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203

B. FUNCTIONS AND TAPE FORMAT LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206

C. LIST OF TAPE CODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209


I. GENERAL
B–62622EN/02 GENERAL 1. GENERAL

1 GENERAL

FANUC Series 16/160–PB, 18/180–PB CNCs utilize the latest


microprocessor technology and advanced servo technology. They have
an open system interface that enables the machine tool builders to
differentiate their products.
With FANUC’s proprietary servo control technology and state–of–the art
processor for high–speed computation, the CNCs can implement
high–speed, high–precision, high–efficiency machining. A personal
computer function compatible with the IBM PC* can be incorporated into
your CNC to differentiate or expand it. Other features of the CNCs
include a flat TFT color display for the machine operator’s panel, a
high–speed PMC that can be programmed in the C language, and
unmanned factory automation functions.
* IBM is a registered trademark of International Business Machines
Corporation.

The models covered by this manual, and their abbreviations are :


Product name Abbreviations Application

FANUC Series 16–PB 16–PB Series 16

FANUC Series 160–PB 160–PB Series 160


Punch press
ress
FANUC Series 18–PB 18–PB Series 18

FANUC Series 180–PB 180–PB Series 180

3
1. GENERAL GENERAL B–62622EN/02

Manuals related to The table below lists manuals related to the FANUC Series 16/160–PB,
Series 16/160–PB, 18/180–PB. In the table, this manual is marked with an asterisk (*).
18/180–PB
Manuals Related to the Series 16/160–PB, 18/180–PB
Specification
Manual name
number
FANUC Series 16/18/160/180–PB DESCRIPTIONS B–62622EN *

FANUC Series 16/18/160/180–MODEL B


B–62443E
CONNECTION MANUAL (Hardware)

FANUC Series 16/18/160/180–MODEL B


B–62443E–1
CONNECTION MANUAL (Function)

FANUC Series 16/18/160/180–PB


B–62623EN
CONNECTION MANUAL (Function)

FANUC Series 16/18/160/180–PB OPERATOR’S MANUAL B–62624EN

FANUC Series 16/18/160/180–MODEL B MAINTENANCE MANUAL B–62445E

FANUC Series 16/18/160/180–MODEL B PARAMETER MANUAL B–62450E

FANUC Series 16/18/160/180–PB PARAMETER MANUAL B–62630EN

FANUC Series 16–MODEL B PROGRAMMING MANUAL


B–61803E–1
(Macro Compiler / Macro Executer)

FAPT MACRO COMPILER PROGRAMMING MANUAL B–66102E

Manuals related to
control motor α series Manuals related to control motor α series

Specification
Manual name
number

FANUC AC SERVO MOTOR α series DESCRIPTIONS B–65142E

FANUC AC SERVO MOTOR αE series DESCRIPTIONS B–65182EN

FANUC AC SERVO MOTOR α series PARAMETER MANUAL B–65150E

FANUC AC SPINDLE MOTOR α series DESCRIPTIONS B–65152E

FANUC AC SPINDLE MOTOR α series PARAMETER MANUAL B–65160E

FANUC CONTROL MOTOR AMPLIFIER α series DESCRIPTIONS B–65162E

FANUC CONTROL MOTOR α series MAINTENANCE MANUAL B–65165E

FANUC CONTROL MOTOR AMPLIFIER α series


B–65192EN
(SERVO AMPLIFIER UNIT) DESCRIPTIONS

FANUC CONTROL MOTOR AMPLIFIER α series


B–65195EN
(SERVO AMPLIFIER UNIT) MAINTENANCE MANUAL

4
B–62622EN/02 GENERAL 2. LIST OF SPECIFICATIONS

2 LIST OF SPECIFICATIONS

Some functions described in this manual can be used for the 16/160–PB
but cannot be used for the 18/180–PB. When selecting a function, refer
to the following tables.

 : Standard  : Standard option  : optional


* : Included in another option × : Cannot be used.

Axis control
Description
Item
16/160–PB 18/180–PB
Controllable axes  3 axes (X, Y and T axes)
Expansion of controllable axes (total) (including the Cs axis
 8 axes max.  4 axes max.
and axes controlled by the PMC)
Simultaneously controllable axes  2 axes
Expansion of simultaneously controllable axes (total)  6 axes max.  4 axes max.
T-axis control  Turret indexing
C-axis control  Possible
Synchronous control of C-axes * Possible × Impossible
Axis control by the PMC  4 axes max. (simultaneous)
Simple synchronous control  Possible × Impossible
Axis detach  Possible
 0.001 mm, 0.001 deg, 0.0001 inch
Least input increment
0.01 mm, 0.01 deg, 0.001 inch
Flexible feed gear  Possible
Dual position feed back  Possible
Inch/metric switching  Possible
 For all axes, each axis, or start of a cut-
Interlock
ting block
Machine lock  For all axes or each axis
Emergency stop  Possible
Overtravel signal  Possible
Stored stroke check 1  Possible
External setting of stroke limit  Possible
Stored stroke check 2  Possible × Impossible
Pretravel stroke check  As specified by G00
Safety zone check  Possible
Mirror image  For each axis
Follow-up  Possible
Servo off/mechanical handle  Possible
Backlash compensation  Possible
Backlash compensation for rapid traverse and cutting feed  Possible
C-axis backlash compensation for individual indexes * Possible
Stored pitch error compensation  Possible
Position switch  Possible

5
2. LIST OF SPECIFICATIONS GENERAL B–62622EN/02

Operation

Description
Item
16/160–PB 18/180–PB
Memory operation  Possible
DNC operation  Possible
MDI operation  Possible
Program number search  Possible
Stopping sequence number verification  Possible
Buffer register  Possible
Dry run  Possible × Impossible
Single block  Possible
Manual continuous feed (JOG)  Possible
Manual reference position return  Possible
Setting the reference position without a dog  Possible
Manual handle feed  1 unit × Impossible
 2 or 3 units × Impossible
Manual handle feed magnification * 1, 10, xm, xn × Impossible
m : 127 max.,
n : 1000 max.
Manual handle interruption  Possible × Impossible
Incremental feed  1, 10, 100, 1000
Jogging/handle feed mode  Possible × Impossible

Interpolation functions
Description
Item
16/160–PB 18/180–PB
Positioning  G00
Exact stop mode  G61 × Impossible
Exact stop  G09 × Impossible
Linear interpolation  G01 × Impossible
Circular interpolation  Possible for multi- × Impossible
ple quadrants
Dwell (per second)  Possible
Skip function  G33
Reference position return  G28

Feed functions
Description
Item
16/160–PB 18/180–PB
Rapid traverse feedrate  240m/min
Rapid traverse feedrate override  25, 50, 75, 100%
Feed per minute  mm/min
 X- and Y-axes : 7 steps
Switching rapid traverse feedrates and/or time constants
C-axis : 3 steps
according to the positioning distance
T-axis : 3 steps (time constant only)
Constant-positioning-time control  X- and Y-axes : 2 steps
 X- and Y-axes : 7 steps for rapid traverse,
Servo loop gain switching specified for individual cutting feedrates
T-axis : 3 steps

6
B–62622EN/02 GENERAL 2. LIST OF SPECIFICATIONS

Description
Item
16/160–PB 18/180–PB
Constant tangential speed control  Possible × Impossible
Cutting feedrate clamp  Possible × Impossible
 Rapid traverse :  Rapid traverse :
Linear type Linear type
Automatic acceleration/deceleration
Cutting feed : Cutting feed :
Exponential type Not available
Rapid traverse bell–type acceleration/deceleration  Possible
Acceleration/deceleration after interpolation for cutting
 Possible × Impossible
feed
Acceleration/deceleration before interpolation for cutting
 Possible × Impossible
feed
Feedrate override  0–254% × Impossible
2nd feedrate override  0–254% × Impossible
Programmable rapid traverse override  F1-digit command
Jogging override  0–655.34%
Override cancel  Possible
External deceleration  Possible
Feed stop  Possible
Look ahead control function  Possible × Impossible
High–speed press control function  Possible × Impossible

Programming
Description
Item
16/160–PB 18/180–PB
EIA/ISO automatic identification  Possible
Label skip  Possible
Parity check  Parity H, parity V
Control in/out 
 1 block
Optional
O tional block skip
ski
 9 blocks
Maximum programmable value  "8 digits
Program number  Character O with 4 digits
Sequence number  Character N with 5 digits
 Both types of commands can be used in a
Absolute or incremental command
block
Decimal point input (pocket calculator type decimal point
 Possible
input)
10-time input unit  Possible
Rotation axis setting  Possible
Rotation axis roll-over  Possible
Coordinate system setting  G92
Automatic coordinate system setting  Possible
Workpiece coordinate system  G52, G53, G54-G59
Manual absolute on/off  Possible
 A
G code system
 B
Programmable data input  G10
 Bolt hole circle, lines at angles, etc.
Pattern function
 Linear and circular punching

7
2. LIST OF SPECIFICATIONS GENERAL B–62622EN/02

Description
Item
16/160–PB 18/180–PB
Nibbling function  As specified by G68 or G69 and M-codes
Pattern reference position command  G72
Store and call by A or B  5 sets
U, V, and W macro functions  Possible
Function for punching multiple products  Possible
Command to restart punching multiple products * Possible
Repositioning command  As specified by G75 and M-codes
Bending allowance compensation  G38/G39
Subprogram calling  Fourfold nesting
Custom macro  Possible
Additional custom macro common variables  #532-#999
Interruption type custom macro  Possible
Specifying the radius of an arc  Possible × Impossible
Automatic corner override  Possible × Impossible
Automatic corner deceleration  Possible × Impossible
Speed clamp by the radius of an arc  Possible × Impossible
Scaling  Possible
Coordinate rotation  Possible
Conversational graphic programming  Possible
Macro executor  3M bytes max.
C language executer  3M bytes max.
MMC – III  Possible
MMC – IV  Possible
One-cycle press  Possible
Continuous press (nibbling)  Possible
Manual press  One-cycle or continuous press
Positioning and no press start signal  G70
Setting up press start signal output conditions  Early PF
Press activation lock  Possible
Deferring press activation  Possible
Switching between two nibbling pitches  Nibbling pitch switching
External operation function  EF output

Miscellaneous functions and spindle-speed functions


Description
Item
16/160–PB 18/180–PB
Miscellaneous function  Character M with 8 digits
2nd miscellaneous function  Character B with 8 digits
Miscellaneous function lock  Possible
High-speed M/S/T interface  Possible
Multiple M commands specified in single block  Three commands
Spindle-speed function  Character S with 5 × Impossible
digits, binary output
Spindle speed control by the PMC * Possible × Impossible

8
B–62622EN/02 GENERAL 2. LIST OF SPECIFICATIONS

Tool functions and tool compensation functions


Description
Item
16/160–PB 18/180–PB
 T and 8 digits
Tool function  T-axis control:
Code consisting of T and up to 4 digits
Tool registration  136 tools
 Positive or negative number consisting of 8
Tool offset compensation
digits
Ignoring T-codes  Possible
Multiple-tool control  Possible
C-axis position compensation * 20 tools
* "6 digits, 32 units × Impossible
 "6 digits, 64 units × Impossible
Tool compensation memory  "6 digits, 99 units × Impossible
 "6 digits, 200 units × Impossible
 "6 digits, 400 units × Impossible
Cutter compensation C  Possible × Impossible
Tool life management  Possible

Editing
Description
Item
16/160–PB 18/180–PB
Part program storage length –––––––––––––––––  10 m
 20 m  20 m
 40 m
 80 m
 160 m
 320 m
 640 m
 1280 m
Number of registered programs  63 programs
 125 programs
 200 programs
 400 programs
 1000 programs
Part program storage and editing  Possible
Program protection  Possible
Password function  Possible
Background editing  Possible
Extended tape editing  Possible
Machining time stamp function  Possible

9
2. LIST OF SPECIFICATIONS GENERAL B–62622EN/02

Setting and display


Description
Item
16/160–PB 18/180–PB
Status display  Possible
Clock function  Possible
Current position display  Possible
Program display  Program name: 16 characters
Parameter setting display  Possible
Self diagnosis  Possible
Alarm display  Possible
 PMC alarm message, macro alarm mes-
Alarm history display
sage
Operator message history display * Possible
Operation history display  Possible
Remote diagnosis function  Possible
Help function  Possible
Operation time and number-of-parts display  Possible
Actual speed display  Possible
Floppy Cassette directory display  Possible
Graphic display  Possible
Servo adjustment screen  Possible
Servo waveform display * Possible
Hard/soft system configuration display  Possible
Software operator’s panel  Possible
General-purpose switches on the software operator’s
 Possible
panel
 English
 Japanese (kanji)
 German
Language selection
 French
 Italian
 Spanish
Data protection key  3 types

Data input/output
Description
Item
16/160–PB 18/180–PB
 Reader/punch (Ch 1) interface
Reader/punch
Reader/ unch interface
 Reader/punch (Ch 2) interface
Simultaneous I/O operation  Possible
Remote buffer  Possible
I/O device external control  Possible
DNC1 control  Possible × Impossible
DNC2 control  Possible × Impossible
External tool compensation  Possible × Impossible
External message  Possible
External machine origin shift  Possible
External data input  Possible
External workpiece number search  31 numbers
External program number search  1–9999

10
B–62622EN/02 GENERAL 2. LIST OF SPECIFICATIONS

Description
Item
16/160–PB 18/180–PB
FANUC FA Card  Possible
FANUC Handy File  Possible
FANUC FLOPPY CASSETTE  Possible
FANUC PROGRAM FILE Mate  Possible
FANUC PPR  Possible
Memory card inteface  Possible

Others
Description
Item
16/160–PB 18/180–PB
Abnomal load detection  Possible
 NC ready, servo ready, automatic operation,
automatic operation start lamp, feed hold, re-
Status output signal set, NCalarm, distribution end, rewinding, inch
input, cutting, inposition, thread cutting, tap-
ping, etc.
 9” monochrome CRT/MDI (small size)
 9” monochrome CRT/MDI (standard size)
 9” color CRT/MDI (small size)
 9” color CRT/MDI (standard size)
 9” monochrome PDP/MDI (standard size)
 14” color CRT/MDI (horizontal type)
 14” color CRT/MDI (vertial type)
Setting and display unit  9” monochrome CRT (separate type)
 9” color CRT (separate type)
 9” monochrome PDP (separate type)
 8.4” color LCD (separate type)
 9.5” color LCD/MDI (horizontal type)
 9.5” color CRT/MDI (vertial type)
 Separate MDI (small size)
 Separate MDI (standard size)
 Basic instruction : 1.0µs/step
PMC–RB3, PMC–RB4
Max. step number ladder : 24000
 Basic instruction : 0.10µs/step
Max. step number ladder : × Impossible
PMC 24000
system
PMC–RC3, PMC–RC4  C language : Max. 2MB × Impossible
 Nonvolatile memory expan-
× Impossible
sion
 Signal waveform display × Impossible
 Sink type output
Machine interface ((I/O Card)) Max. DI/DO points : 156/120
(Available 1or 2 card)  Source type output A
Max. DI/DO points : 104/72
 I/O Unit MODEL A
 I/O Unit MODEL B
Machine interface (I/O Link)
 Operator’s panel connection unit
Max. DI/DO points : 1024/1024 points
Max. DI/DO points : 96/64
 Machine operator’s panel interface unit
 FANUC AC servo motor (with serial interface
Connectable servo motor
pulse coder)
Connectable servo amp  FANUC AC servo amp (digital servo)

11
2. LIST OF SPECIFICATIONS GENERAL B–62622EN/02

Description
Item
16/160–PB 18/180–PB
 Pulse coder / optical scale (2–phase pluse in-
Connectable position detector (for full–closed control)
terface)
2 slots  112(W)380(H)172(D) mm
3 slots  172(W)380(H)172(D) mm
Control unit
4 slots  224(W)380(H)172(D) mm
dimensions
6 slots  336(W)380(H)172(D) mm × Impossible
8 slots  448(W)380(H)172(D) mm × Impossible
 200 to 240 VAC )10%, *15%
Input power supply
50 to 60Hz"3Hz

12
II. NC FUNCTION
B–62622EN/02 NC FUNCTION 1. CONTROLLED AXES

1 CONTROLLED AXES

1.1 8 axes
The machine controlled axes include Cs axis and PMC controlled axes.
NUMBER OF THE ALL
CONTROLLED AXES
1.2
MACHINE
CONTROLLED AXES
1.2.1 3 axes (X axis, Y axis, turret axis (T axis))
Number of Basic
Controlled Axes

1.2.2 2 axes
Number of Basic
Simultaneously
Controlled Axes

1.2.3 8 axes (including PMC controlled axes)


Number of Controlled
Axes Expanded (All)

1.2.4 Max. 6 axes


Number of
Simultaneously
Controlled Axes
Expanded (All)

1.2.5 Max. simultaneous 4 axes


Axis Control by PMC

15
1. CONTROLLED AXES NC FUNCTION B–62622EN/02

1.3 X, Y, T, and C
The names of the two basic axes are always X and Y. The name of an
AXIS NAMES additional axis can be selected from A, B, C, U, V, W, and T.
Notes

Notes
When A, B, U, V, or W is used as an axis name, some
functions are disabled accordingly (AB macro function,
UVW macro function, and multi–piece cutting function).

16
B–62622EN/02 NC FUCNTION 1. CONTROLLED AXES

1.4 There are two increment systems as shown in the tables below. One of the
increment systems can be selected using a parameter.
INCREMENT SYSTEM
Table 1.4(a)

Least input Least command


Abbreviation
increment increment

0.01 mm 0.005 mm
Metric input
in ut
Millimeter 0.01 deg 0.01 deg
machine 0.001 inch 0.005 mm
Inch in
input
ut
0.01 deg 0.01 deg
IS–A
0.01 mm 0.0005 inch
Metric input
in ut
Inch 0.01 deg 0.01 deg
machine 0.001 inch 0.0005 inch
Inch in
input
ut
0.01 deg 0.01 deg

Table 1.4(b)

Least input Least command


Abbreviation
increment increment

0.001 mm 0.0005 mm
Metric input
in ut
Millimeter 0.001 deg 0.001 deg
machine 0.0001 inch 0.0005 mm
Inch in
input
ut
0.001 deg 0.001 deg
IS–B
0.001 mm 0.00005 inch
Metric input
in ut
Inch 0.001 deg 0.001 deg
machine 0.0001 inch 0.00005 inch
Inch in
input
ut
0.001 deg 0.001 deg

Notes
For the turrent axis (called T-axis), the least command
increment is determined according to the distance the tool
travels each time the turret makes one turn.

The least command increment is in millimeters or inches, depending on


the machine tool. One of them must be selected using a parameter
beforehand.
The least input increment can be switched between metric input and inch
input by using a G code (G20 or G21) or a setting parameter.

17
1. CONTROLLED AXES NC FUNCTION B–62622EN/02

1.4.1 The following least input increments can be set using a parameter:
Input Unit (10 Times) Increment system Least input increment

IS–B 0.01 mm, 0.01 deg, or 0.001 inch

When incerement system is IS-A, Input unit 10 time multibly can not be
used.

18
B–62622EN/02 NC FUCNTION 1. CONTROLLED AXES

1.5 The following table lists the maximum strokes of machine tools that are
allowed by the control unit:
MAXIMUM STROKE
Maximum stroke = Least command increment  99999999
Increment system Maximum stroke

±999999.99 mm
Millimeter machine
±999999.99 deg
IS–A
±99999.999 inch
Inch machine
±999999.99 deg

±99999.999 mm
Millimeter machine
±99999.999 deg
IS–B
±9999.9999 inch
Inch machine
±99999.999 deg

Notes
A command that exceeds the maximum stroke is not allowed.

19
2. PREPARATORY FUNCTIONS NC FUNCTION B–62622EN/02

2 PREPARATORY FUNCTIONS

The following G codes are provided. The G codes are classified into two:
A and B. One of the G code types can be selected using a parameter. In
this manual, G code system B is assumed.

G code list (1/2)


System A System B Group Meaning
G00 G00 Positioning (Rapid traverse)
G01 G00 Linear interpolation (Cutting feed)
01
G02 G02 Circular interpolation (CW)
G03 G03 Circular interpolation (CCW)
G04 G04 Dwell
G08 G08 Look–ahead cotrol
G09 G09 00 Exact stop
G10 G10 Data setting
G11 G11 Data setting mode cancel
G20 G20 Input in inch
06
G21 G21 Input in mm
G22 G22 Stored stroke limit function on
04
G23 G23 Stored stroke limit function off
G26 G26 Bolt hole circle
G28 G28 Automatic reference point return
G32 G32 Automatic safety zone setting
00
G33 G33 Skip function
G38 G38 Bending compensation X
G39 G39 Bending compensation Y
G40 G40 Cutter compensation cancel
G41 G41 07 Cutter compensation left
G42 G42 Cutter compensation right
G45 G45 Linear punching
G46 G46 00 Circular punching (CW)
G47 G47 Circular punching (CCW)
G50 G34 Scaling on
11
G51 G35 Scaling off
G52 G93 0 Local coordinate system setting
G53 G53 00 Machine coordinate system selection
G54 G54 Workpiece coordinates system 1 selection
G55 G55 Workpiece coordinates system 2 selection
G56 G56 14 Workpiece coordinates system 3 selection
G57 G57 Workpiece coordinates system 4 selection
G58 G58 Workpiece coordinates system 5 selection

20
B–62622EN/02 NC FUCNTION 2. PREPARATORY FUNCTIONS

G code list (2/2)


System A System B Group Meaning
G59 G59 14 Workpiece coordinates system 6 selection
G61 G61 Exact stop mode
G62 G62 15 Automatic corner override
G64 G64 Continuous cutting mode
G65 G95 00 Custom macro simple call
G66 G96 Custom macro modal call
12
G67 G97 Custom macro modal call cancel
G68 G68 Circular nibbling
G69 G69 Linear nibbling
G70 G70 Positioning & press off
G72 G72 Standard point command
G73 G75 Multi-piece machining command X
G74 G76 00 Multi-piece machining command Y
G75 G27 Automatic repositioning
G76 G28 Line at angle
G77 G29 Arc
G78 G36 Grid I
G79 G37 Grid II
G84 G84 Coordinate rotating on
16
G85 G85 Coordinate rotating off
G86 G86 Share proof
G87 G87 Square
00
G88 G78 Radius
G89 G79 Cut at angle
G90 G90 Absolute command
03
G91 G91 Incremental command
G92 G92 Coordinate system setting
00
G98 G98 Coordinate system setting (Multi-piece machining)

21
3. INTERPOLATION FUNCTIONS NC FUNCTION B–62622EN/02

3 INTERPOLATION FUNCTIONS

22
B–62622EN/02 NC FUCNTION 3. INTERPOLATION FUNCTIONS

3.1 Positioning is done with each axis separately (Non linear interpolation
type positioning).
POSITIONING (G00)
 Non linear interpolation positioning
Each axis is independently positioned at the rapid traverse rate, then
punch is performed. The tool path is normally straight.

Start position

Non linear interpolation


End position positioning

It is decelerated, to a stop at the end point, and imposition check is


performed (checks whether the machine has come to the specified
position). The in-position check can be suppressed using a parameter.
Width of imposition can be set as a parameter.

Format

G00 _ ;

23
3. INTERPOLATION FUNCTIONS NC FUNCTION B–62622EN/02

3.2 Linear interpolation is done with tangential direction feed rate specified
by the F code.
LINEAR
INTERPOLATION
X axis
(G01)
End point
(200, 150)

(Program example)
G01 G90 X200. Y150. F200 ;
Start point

Y axis

Format

G01 _ F_ ;
F : Feedrate

24
B–62622EN/02 NC FUCNTION 3. INTERPOLATION FUNCTIONS

3.3 Circular interpolation of optional angle from 0° to 360 ° can be specified.


G02: Clockwise (CW) circular interpolation
CIRCULAR G03: Counterclockwise (CCW) circular interpolation
INTERPOLATION
(G02, G03) Yp

G03

G02

Xp
G17

Feed rate of the tangential direction takes the speed specified by the F
code. Planes to perform circular interpolation is specified by G17.

Format
Arc on the Xp-Yp plane
G02 R_
G17 Xp_ Yp_ F_ ;
G03 I_ J_

I_. J_:Distance of the X, Y axes from the start point to the center of the
circle
R:Arc radius (For an arc having a central angle of 180° or greater, specify
an R value with a minus sign. A complete circumference cannot be speci-
fied.)
 
(x, y)
Y
X Start
i point
j
Center

25
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02

4 FEED FUNCTIONS

26
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS

4.1 Positioning of each axis is done in rapid motion by the positioning


command (G00).
RAPID TRAVERSE There is no need to program rapid traverse rate, because the rates are set
in the parameter (per axis).
Least command increment Rapid traverse rate range

0.01mm, deg 30 to 240000mm/min, deg/min


0.001mm, deg
0.001inch 3.0 to 9600.0inch/min
0.0001inch

Notes
The above feed rates are limits according to the NC’s
interpolation capacity when the high-resolution detection
interface is equipped. When the whole system is
considered, there are also limits according to the servo
system. For details, refer to Appendix 1.

27
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02

4.2 Feed rates of linear interpolation (G01), and circular interpolation (G02,
G03) are commanded with numbers after the F code.
CUTTING FEED RATE

4.2.1 In cutting feed, it is controlled so that speed of the tangential direction is


Tangential Speed always the same commanded speed.
Constant Control

4.2.2 Cutting feed rate upper limit can be set as parameters. If the actual cutting
Cutting Feed Rate feed rate (feed rate with override) is commanded exceeding the upper
limit, it is clamped to a speed not exceeding the upper limit.
Clamp

4.2.3 Tool feed rate per minute is directly commanded by numerical value after
Per Minute Feed (G94) F.
Least command increment Cutting feed rate range

0.01mm, deg 1 to 240000mm/min, deg/min


0.001mm, deg
0.001inch 0.01 to 9600.0inch/min
0.0001inch

Notes
The above feed rates are limits according to the NC’s
interpolation capacity when the high-revolution detection
interface is equipped. When the whole system is
considered, there are also limits according to the servo
system. For details, refer to Appendix 1.

28
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS

4.3
OVERRIDE

4.3.1 The per minute feed can be overrided by:


Feed Rate Override 0 to 254% (per every 1%).

4.3.2 All cutting feed rate can be overrided by:


Second Feed Rate 0 to 254% (per every 1%)
A second override can be performed on feed rats once overrided.
Override

4.3.3 Rapid traverse rate can be overridden by :


Rapid Traverse X, Y axis: 25%, 50%, 75%, 100%
T, C axis : 50%, 100%
Override F0: A constant speed per axis can be set by parameter

4.3.4 Feed rate override and the second feed rate override can be clamped to
Override Cancel 100% by a signal from the machine side.

4.3.5 Feed manual continuous feedrate and incremental feed rate can be
Jog Override overridden by:
0% to 655.34% (in steps of 0.01%)

4.3.6 By specifying one-digit number from 1 to 4 following F, and override can


F1-digit be applied to the rapid traverse rate in automatic operation.
(Programmable Rapid Table 4.3.6
Traverse Override) Rapid traverse override
One-digit
g
F command
X aixs, Y axis T axis, C axis

F1 100% 100%

F2 75% 100%

F3 50% 50%

F4 25% 50%

An override can be applied to the rapid traverse rate by the switch on the
machine operator’s panel as well as by F1-digit command in automatic
operation. Either rapid traverse override being set by the switch or the
rapid traverse override being set by F1-digit command, whichever lower,
becomes effective.

29
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02

4.4 Acceleration and deceleration is performed when starting and ending


movement, resulting in smooth start and stop.
AUTOMATIC Automatic acceleration/deceleration is also performed when feed rate
ACCELERATION/ changes, so change in speed is also smoothly done.
DECELERATION Rapid traverse : Linear acceleration/deceleration
(time constant is parameter set per axis)
Cutting feed : Exponential acceleration/deceleration
(time constant is parameter set per axis)
Jogging : Exponential acceleration/deceleration
(time constant is parameter set per axis)

Rapid traverse
FR : Rapid traverse
FR TR : Acceleration/
deceleration time
constant

0
Time
TR TR

Jog feed FJ : Jog feed rate


FC TJ : Jog feed time
constant
FL : Low feed rate after
deceleration

0
Time
TC TC

Feed, Dry run


FC : Feed rate
TC : Acceleration/
FJ deceleration time
constant

FL
0
Time
TJ TJ

30
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS

4.4.1 For rapid traverse, the rapid traverse feedrates, time constants, and servo
Switching Rapid loop gains can be switched according to the positioning distance set up
by a parameter for each axis. Use of this function can improve positioning
Traverse Feedrates, accuracy.
Time Constants, and/or X- and Y-axes : Rapid traverse feedrates, time constants, and/or servo
Servo Loop Gains loop gains are switched according to the positioning
According to the distance (up to 7 steps).
Positioning Distance Servo loop gains for rapid traverse and cutting feed
are switched
T-axis : Rapid traverse time constant and servo loop gains are
switched according to the positioning angle (up to 3
steps).
C-axis : Rapid traverse feedrates and time constants are
switched according to the positioning angle (up to 3
steps).

4.4.2 For automatic rapid traverse, positioning along the X- and Y-axes can be
Constant-positioning- performed exactly in the specified time regardless of the positioning
distance. Use of this function for nibbling can smooth punching
time Control regardless of what the nibbling pitch is, because positioning can be done
exactly in the constant time. (2 steps)

31
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02

4.5
LINEAR
ACCELERATION/ Speed

DECELERATION
AFTER CUTTING
FEED
INTERPOLATION

Time
TC TC

In the linear acceleration/deceleration, the delay for the command caused


by the acceleration/ deceleration becomes 1/2 compared with that in
exponential acceleration/deceleration, substantially reducing the time
required for acceleration and deceleration.
Also, the radius direction error in the circular interpolation caused by the
acceleration/deceleration is substantially reduced.

Y ∆r ∆r: Maximum value of radius


error (mm)
Command
path v : Feedrate (mm/sec)
r : Circular radius (mm)
Actual T1 : Acceleration/
path deceleration time
r constant (sec)
T2 : Time constant of servo
motor (sec)

The maximum value of error in this radius direction is obtained


approximately by the following equation.
2
r + (1 T 1 ) 1 T 2 ) Vr
2 2
. . . . . For exponential acceleration/deceleration
2 2
2
r + ( 1 T 1 ) 1 T 2 ) Vr . . . . . For linear acceleration/deceleration after
2 2
24 2 cutting feed interpolation
Consequently, in case of the linear acceleration/deceleration after
interpolation, if an error caused by the servo loop time constant is
excluded, the radius directional error will be reduced to 1/12, compared
with the exponential acceleration/deceleration.

32
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS

4.6 In response to the cutting feed command , the feedrate before


interpolation, the command feedrate can be directly accelerated/
LINEAR decelerated. This enables a machined shape error caused by the delay of
ACCELERATION/ acceleration/deceleration to be eliminated.
DECELERATION
BEFORE CUTTING
FEED
INTERPOLATION
 Exponential
acceleration/deceleration
after cutting feed
interpolation

Interpolation Acceleration/
f (pulse distribution) f deceleration control

Servo
control Motor
t t
TC

 Linear acceleration/
deceleration after cutting
feed interpolation

Interpolation
f (pulse distribution) f

Servo
control Motor
t t
TC

 Linear acceleration/
deceleration before
cutting feed interpolation

Acceleration/decel- Servo
eration applied to control Motor
feedrate command t
TC

33
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02

4.7 Whether to perform in-position check between cutting feed blocks during
automatic operation is specified by an input signal.
ERROR DETECTION While the transition from a block to block is made during cutting feed
operation, some rounding is generally produced on the workpiece. This
is due to delay in acceleration/deceleration or the servo. If the in-position
check is performed, the next block is not executed until no delay is
observed in acceleration/deceleration and the servo. This can eliminate
the rounding.

Error detection signal off

Error detection signal on


(The in-position check is per-
formed at the end of a block.)

Notes
1 Before and after a block for positioning, the in-position
check is always performed regardless of the error detection
signal state.
2 The in-position check may involve checking for the delay in
acceleration/deceleration only. The check may also involve
checking whether the delay (error) in the servo is within an
allowable range. A parameter is used to specify whether to
select only the former check item or both the former and
latter check items.
3 Generally, the error detection signal should be turned on
and off using an appropriate function so as to specify in the
program whether the in-position check is to be performed.

34
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS

4.8 Move command in blocks commanded with G09 decelerates at the end
point, and in–position check is performed. G09 command is not
EXACT STOP (G09) necessary for deceleration at the end point for positioning (G00) and
in–position check is also done automatically. This function is used when
sharp edges are required for workpiece corners in cutting feed.

Exact stop off

Exact stop on (The in-position


check is performed at the end of
a block.)

4.9 When G61 is commanded, deceleration of cutting feed command at the


end point and in–position check is performed per block thereafter. This
EXACT STOP MODE G61 is valid till G64 (cutting mode) or G62 (automatic corner override)
(G61) is commanded.

4.10 When G64 is commanded, deceleration at the end point of each block
thereafter is not performed and cutting goes on to the next block. This
CUTTING MODE (G64) command is valid till G61 (exact stop mode) or G62 (automatic corner
override) is commanded.

4.11 When G62 is commanded during cutter compensation, cutting feed rate
is automatically overridden at corner. The cutting quantity per unit time
AUTOMATIC CORNER of the corner is thus controlled not to increase. This G62 is valid till G61
OVERRIDE (G62) (exact stop mode) or G64 (cutting mode) is commanded.

4.12 With the G04 command, shifting to the next block can be delayed for the
commanded minutes.
DWELL (G04)

Format
Per second dwell

G04 P_ ;
X_
P_ or X_ : Dwell time commanded in seconds (0.001-99999.999 sec)

35
5. REFERENCE POSITION NC FUNCTION B–62622EN/02

5 REFERENCE POSITION

36
B–62622EN/02 NC FUCNTION 5. REFERENCE POSITION

5.1
MANUAL
REFERENCE
POSITION RETURN

5.1.1 Positioning to the reference position can be done by manual operation.


Manual Reference With jogging mode (J), manual reference position return (ZRN) signals,
and signal for selecting manual reference position return axis (±J1 to ±J8)
Position Return on, the tool the machine is turned on, it decelerates, and when it is turned
off again, it stops at the first grid point, and reference position return end
signal is output. This point is the reference position.
By performing manual reference position return, the machine coordinate
system and the work coordinate system is established.
There is only one method available to perform manual reference point
return:
In the grid method, a certain grid of the position detection is appointed as
the reference position. The reference position position can be shifted by
the grid shift function.

5.1.2 This function moves the machine to around the reference position set for
Setting the Reference each axis in the manual continuous feed mode. Then it sets the reference
position for the machine in the reference position return mode without the
Position without Dogs deceleration signal for reference position return. With this function, the
machine reference position can be set at a given position without the
deceleration signal for reference position return.

Explanations
 Setting the reference 1 Place the machine in the manual continuous feed mode, and perform
position positioning to a position near but not exceeding the reference position
from the position indicated by parameter No. 1006#ZMIx.
2 Enter the reference position return mode, then input the feed axis
direction select signal (+) or (–) for the axis.
3 Positioning is made at the grid point located nearest to the current
point. This point is recorded as the reference position. If the
absolute-position detector is provided, the set reference position is
retained after the power is turned off. In this case, when the power is
turned on again, there is no need for setting the reference position
again.
 Reference position 1 After the reference position is set, when the feed axis select signal (+)
return or (–) is input for the axis in the reference position return mode,
reference position return operation is performed in rapid traverse
regardless of which signal (+) or (–) is input.

37
5. REFERENCE POSITION NC FUNCTION B–62622EN/02

5.2
AUTOMATIC
REFERENCE
POSITION RETURN

 Return to reference With the G28 command, the commanded axis is positioned to the
position (G28) reference position. After positioning, the reference position return end
lamp lights. If G28 was commanded when reference position return is not
performed after power on, reference position return is done in the same
sequence as the manual reference position return.

G28 ;

38
B–62622EN/02 NC FUCNTION 6. COORDINATE SYSTEMS

6 COORDINATE SYSTEMS

By teaching the CNC the position the tool is to arrive, the CNC moves
the tool to that position. The position is specified using coordinates on a
certain coordinate system.
There are three types of coordinate systems.
 Machine coordinate system
 Workpiece coordinate system
 Local coordinate system
As necessary, one of the above coordinate systems is used for specifying
coordinates for the target position of the tool.

39
6. COORDINATE SYSTEMS NC FUNCTION B–62622EN/02

6.1 Machine coordinate system is a coordinate system set with a zero point
proper to the machine system.
MACHINE A coordinate system in which the reference point becomes the
COORDINATE parameter-preset coordinate value when manual reference point return is
SYSTEM (G53) performed, is set. With G53 command, the machine coordinate system
is selected and the axis is moved in rapid traverse to the position
expressed by the machine coordinates.

Format

G53 _ ;

40
B–62622EN/02 NC FUCNTION 6. COORDINATE SYSTEMS

6.2 A coordinate system in which the zero point is set to a fixed point on the
workpiece, to make programming simple.
WORKPIECE A workpiece coordinate system may be set by using one of the following
COORDINATE methods:
SYSTEM
(1) Using G92
(2) Using G54 to G59

When method (1) is used, a workpiece coordinate system is established


by programming a numeric value following G92.
When method (2) is used, six workpiece coordinate systems must be set
on the CRT/MDI panel in advance. A programmed command G54 to G59
is then used to select one of the six workpiece coordinate systems.

6.2.1
Setting a Workpiece
Coordinate System
(Using G92)

Format

(G90) G92  _ ;

Examples
 Example 1 By using the above command, a workpiece coordinate system can be set
so that the current tool position is at a specified position.

1016.0

X
1270.0

G92 X1270.0 Y1016.0 ;

When a new workpiece coordinate system is created by specifying G92,


it is determined so that a given point on the tool has a given coordinate
value. So, there is no need to be concerned with old workpiece coordinate
systems. Particularly when the start point for machining is determined
based on the workpiece, the G92 command is useful. In this case, a desired
coordinate system can newly be created even if an old workpiece
coordinate system is invalid.

41
6. COORDINATE SYSTEMS NC FUNCTION B–62622EN/02

6.2.2 When manual reference position return is performed, a workpiece


Automatic Coordinate coordinate system can be set automatically so that the current tool
position at the reference position becomes a desired position which is set
System Setting using a parameter in advance. This functions as if G92IP__; were
specified at the reference position.

6.2.3
Setting a Workpiece
Coordinate System
(Using G54 to G59)
Explanations
 Setting a workpiece Set six coordinate systems specific to the machine in advance. Then,
coordinate system select one of the six coordinate systems by using G54 to G59.

Format
G54 G54 Workpiece coordinate system 1
G55 G55 Workpiece coordinate system 2
G56 G56 Workpiece coordinate system 3
_ ; G57 Workpiece coordinate system 4
G57
G58 Workpiece coordinate system 5
G58 G59 Workpiece coordinate system 6
G59

Set the distance between the machine zero point and the zero point of each
of the six coordinate systems (offset from the workpiece zero point) in
advance.
There are two setting methods.
 Using the CRT/MDI
 Using a program (See Section 6.4.)
Workpiece coordinate systems 1 to 6 are established properly when return
to the reference position is performed after power is turned on.
Immediately after power is turned on, G54 is selected.
 Shift of workpiece The six workpiece coordinate systems can be shifted by a specified
coordinate systems amount (external offset from the workpiece zero point).

Workpiece Workpiece Workpiece Workpiece


coordinate 1 coordinate 2 coordinate 3 coordinate 4
(G54) (G55) (G56) (G57)

ZOFS2
ZOFS3
ZOFS4
ZOFS1
Workpiece
coordinate 5
(G58)
EXOFS ZOFS5
Machine reference position
Workpiece
coordinate 6
ZOFS6 (G59)
EXOFS : External reference offset value
ZOFS1 to ZOFS6 : Workpiece reference position offset value

42
B–62622EN/02 NC FUCNTION 6. COORDINATE SYSTEMS

6.3 With G52 commanded, the local coordinate system with the commanded
position as zero point can be set. Once the local coordinate system is set,
LOCAL COORDINATE values specified in subsequent move commands are regarded as
SYSTEM SYSTEM coordinate values on that coordinate system. Coordinates once set is
(G52) valid till a new G52 is commanded. This is used when, for example,
programming of a part of the workpiece becomes easier if there is a zero
point besides the workpiece coordinates’ zero point.

(Local coordinate
system)

Workpiece coordi-
nate system 1 (G54) (Local coordinate
system)
Workpiece
G55
G56

zero point G57
offset value G58 Workpiece coordi-
nate system 6 (G59)

(Machine coordinate system)


Value set by
parameter Zero point of machine coordinate system
Reference position

Format

G52 _ ;

Explanations When local coordinate system is set, local coordinate system 1 - 6,


corresponding to workpiece coordinate system 1 - 6 is set. Distance
between zero points are all the same preset value.
If G52 IP0; is commanded, local coordinate system is canceled.

43
6. COORDINATE SYSTEMS NC FUNCTION B–62622EN/02

6.4 Six workpiece coordinate systems can be set. But, when that is still not
enough, or when workpiece origin offset value must be set by tape or
WORKPIECE ORIGIN changed, this G10 command is used to change workpiece origin offsets.
OFFSET VALUE When G10 is commanded in absolute command (G90), the commanded
CHANGE workpiece origin offsets becomes the new workpiece origin offsets, and
when G10 is commanded in incremental command (G91), the currently
(PROGRAMMABLE
set workpiece origin offsets plus the commanded workpiece origin
DATA INPUT) (G10) offsets becomes the new workpiece offsets.

Format
G10 L2 Pp _ ;

Pp : Specify workpiece coordinates to which offsets are changed


p: 1 - 6
 : Workpiece origin offset value

44
B–62622EN/02 NC FUCNTION 6. COORDINATE SYSTEMS

6.5 A plane subject to circular interpolation, cutter compensation, coordinate


system rotation, or drilling can be selected by specifying a G code.
PLANE SELECTION
(G17, G18, G19) G code Selected plane Xp Yp Zp

G17 Xp–Yp plane


X axis or an Y axis or an Z axis or an
G18 Zp–Xp plane axis parallel axis parallel axis parallel
to the X axis to the Y axis to the Z axis
G19 Yp–Zp plane

Explanations One of the existing parallel axes is determined by an axis address that
appears in the block for which G17, G18, or G19 is specified.

 Example 1 When X and U, Y and V, and Z and W are parallel to each other,
respectively
G17 X_ Y_ . . . . XY plane
G17 U_ Y_ . . . . UY plane
G18 X_ W_ . . . . WX plane
G18 U_ W_ . . . . WU plane
Planes remain unchanged in blocks for which G17, G18, or G19 is not
specified.

 Example 2 G18 X_ Z_ . . . . ZX plane


X_ Y_ . . . . . Plane not changed (ZX plane)

If G17, G18, or G19 is specified for a block, and no axis address is


specified in that block, the axis addresses for the basic three axes are
assumed to be omitted.

 Example 3 G17 . . . . . . . . . . . XY plane


G17 X_ . . . . . . . . . XY plane
G17 U_ . . . . . . . . . UY plane

Notes
A parameter is used to specify which axis, X, Y, or Z the
additional axis is parallel to. The move command functions
regardless of the plane selection.
For example, suppose that the following is specified:
G17 Z_ ;
Axis Z does not exist on the XpYp plane. The XY plane is
just selected, and the Z axis is moved regardless of the
plane.

45
7. COORDINATE VALUE AND
DIMENSION NC FUNCTION B–62622EN/02

7 COORDINATE VALUE AND DIMENSION

46
7. COORDINATE VALUE AND
B–62622EN/02 NC FUCNTION DIMENSION

7.1 There are two ways to command travels to the axes; the absolute
command, and the incremental command. In the absolute command,
ABSOLUTE AND coordinate value of the end point is programmed; in the incremental
INCREMENTAL command, move distance of the axis itself is programmed.
PROGRAMMING G90 and G91 are used to command absolute or incremental command.
G90 : Absolute command
(G90, G91)
G91 : Incremental command

Y
End point
70.0

30.0 Start point

40.0 100.0

For the above figure, incremental command programming results in:


G91 X–60.0 Z40.0 ;
while absolute command programming results in:
G90 X40.0 Z70.0 ;

47
7. COORDINATE VALUE AND
DIMENSION NC FUNCTION B–62622EN/02

7.2 Conversion of inch and metric input can be commanded by the G code
command.
INCH/METRIC G20 : Inch input
CONVERSION G21 : Metric input
(G20, G21) Whether the output is in inch system or metric system is parameter-set
when the machine is installed.
Command G20, G21 at the head of the program.
Inch/metric conversation can also be done by MDI setting.
The contents of setting data differs depending on whether G20 or G21 is
commanded.

7.3 Numerals can be input with decimal points. Decimal points can be used
basically in numerals with units of distance, speed, and angle. The
DECIMAL POINT position of the decimal point is at the mm, inch, deg position.
INPUT/POCKET Use parameters to select input method; whether to input by pocket
CALCULATOR TYPE calculator type input, or by the former type decimal point input.
DECIMAL
POINT INPUT
Program command Pocket calculator type Former type decimal
decimal point input point input

×1000 1000mm 1mm

×1000. 1000mm 1000mm

7.4 A linear axis refers to an axis moving linearly, and for it values are
specified in mm or inches.
LINEAR AXIS AND A rotation axis refers to a rotating axis, and for it values are specified in
ROTATION AXIS degrees.
For rotation axes, note the following:

 Inch-metric switching is not performed.


 The machine coordinate system is always normalized to the range
from 0° to 360°.

7.5 The rotation axis roll-over function rounds the absolute coordinate value
and relative coordinate value of a rotation axis to a coordinate value
ROTATION AXIS within one rotation. This prevents coordinate values to overflow.
ROLL-OVER In an incremental command, the specified value is regarded as the amount
FUNCTION of travel.
In an absolute command, the specified value is rounded to within one
rotation. The resulting coordinate value is used as the end point. A
parameter is used to specify whether to determine the move direction by
the sign of the specified value or by the move distance (the shortest move
distance to the end point is selected).

Notes
This function is invalid in T axis and C axis

48
B–62622EN/02 NC FUCNTION 8. PRESS FUNCTIONS

8 PRESS FUNCTIONS

49
8. PRESS FUNCTIONS NC FUNCTION B–62622EN/02

8.1 In blocks which perform positioning (G00) along the X- or Y-axis in rapid
traverse mode, a press start signal is sent to the press after positioning is
ONE-CYCLE PRESS completed, thus enabling punching. Note however that no press start
signal is output in the following cases:
(1) When MDI mode has been selected
(2) When a M-code has been issued
(3) In a block between an M-code to clamp the workpiece and an M-code
to unclamp the workpiece

Notes
Before positioning is completed, a press start signal may be
output depending on parameter settings.

50
B–62622EN/02 NC FUCNTION 8. PRESS FUNCTIONS

8.2 The term nibbling refers to repeated punching without bringing the press
to a halt. A continuous-press-in-process signal is output in nibbling
CONTINUOUS PRESS blocks.
(NIBBLING)

(1) The following command specifies circular nibbling:


8.2.1 G68 I r J K P d Q p ;
Circular Nibbling (G68)
d
And Linear Nibbling
(G69)

∆θ

θ
+X

r : Radius
 : Angle between the line from the origin to the punch start
point and the positive X-axis
 : Angle between the line from the origin to the punch start
point and the line from the origin to the punch end point
d : Tool diameter
p : Nibbling pitch

51
8. PRESS FUNCTIONS NC FUNCTION B–62622EN/02

(2) The following command specifies linear nibbling:


G69 I ȏ J P d Q p ;

d
ȏ

+X

ȏ: Length of the line


θ: Angle between the line and the positive X-axis
d: Tool diameter
p: Nibbling pitch

8.2.2 Nibbling can be performed in a block between an M-code for nibbling


Nibbling Mode (M12) and an M-code for nibbling cancel (M13). These M-codes are
specified by parameters.
(M-code) Linear nibbling can be done by commanding G01 in the nibbling mode,
while circular nibbling can be done by commanding G02 and G03 in the
nibbling mode.
The tool diameter cannot be offset by G01, G02, G03 commands.
Accordingly, these commands are used together with cutter compensation
commands (G40, G41, G42) when nibbling is done by offsetting a
continuous straight line or circular arc leftwards or rightwards by the tool
diameter.
(1) Straight line
G01X –––– Y –––– Q –––– ;
The end point is designated by address X, Y, while the pitch is
designated by address Q.
(2) Circular arc

G02 I___J___
X___Y___ Q ;
G03 R___

The end point is designated by address X, Y, the radius of circular arc is


designated by address I, J, or R and also the pitch is designated by address
Q.

52
B–62622EN/02 NC FUCNTION 8. PRESS FUNCTIONS

Q: Pitch
N200G00G90X x1 Y y1 ;
N210M12;
N220G41X x2 Y y2 T02D02 ;
N230G01X x3 Y y3 Q ;
N240X x4 Y y4 ;
N250G03X x5 Y y 5 I J ;
N260G01X x6 Y y 6 ;
N270X x7 Y y7 ;
N280M13;
N290G40G00X x8 Y y8 T03 ;

N240 N260

(x3, y3) (x4, y4) (x5, y5) (x6, y6)

N230 N270
N250

(x2’, y2’)
(x7’, y7’)

(x7, y7)

N220

N290

(x8, y8)
(x1, y1)

The G40, G41, and G42 codes function as follows.


G code Function

G40 Cutter compensation cancel

G41 Leftward offset for moving direction of tool

G42 Rightward offset for moving direction of tool

Assume that diameter (radius) of the tool selected by T02 is preset to


offset NO.02.

53
8. PRESS FUNCTIONS NC FUNCTION B–62622EN/02

8.3 Pressing a button on the press machine can output a press-in-progress


signal. It is possible to specify whether punching is to be performed on
MANUAL PRESS one cycle only or to be continued while the button is pressed.

8.4 G70 specifies rapid traverse for positioning. A press start signal is not
output after positioning is completed.
POSITIONING AND Format
NO PRESS START G70IP -- ;
SIGNAL (G70)

8.5 The following parameters can be used to adjust the press start signal
output timing so that punching is smooth.
SETTING UP PRESS
START SIGNAL (1) Punching specification for forming mode
OUTPUT (2) Setting up an upper limit to the positioning offset for press start signal
output
CONDITIONS
(3) Timer setting (early PF) for outputting a press start signal before
positioning is completed
(4) Timer setting for executing the next block before press is completed

8.6 It is possible to inhibit the press start signal from being output.
PRESS ACTIVATION
LOCK

8.7 It is possible to defer the output of the press start signal until the press is
ready to respond.
DEFERRING PRESS
ACTIVATION

8.8 Up to two nibbling pitches can be specified according to an external signal


or an M-code in a parameter. This function can be used to select a
SWITCHING maximum traveling pitch for a machine in which the speeds of a flywheel
BETWEEN TWO can be switched or according to the thickness of raw material.
NIBBLING PITCHES

8.9 In a block in which press start signal output is specified (except for
nibbling), an external operation signal, rather than the press start signal,
EXTERNAL can be output as required by an external signal. This function can be used
OPERATION for tapping.
FUNCTION

54
B–62622EN/02 NC FUCNTION 9. SPINDLE FUNCTIONS

9 SPINDLE FUNCTIONS

55
9. SPINDLE FUNCTIONS NC FUNCTION B–62622EN/02

9.1 The spindle speed is specified with a 5-digit numeric value following
address S. The 5-digit numeric value is output to the PMC as a 32-bit
S CODE OUTPUT binary code. The code is maintained until another S is specified. The
maximum number of input digits for S can be specified using a parameter.

9.2 If a speed command for the spindle motor is input in a form of [sign +
12-bit binary code], the command is output to the spindle motor according
SPINDLE SPEED to the input.
COMMAND CONTROL
BY THE PMC

56
B–62622EN/02 NC FUCNTION 10. TOOL FUNCTIONS

10 TOOL FUNCTIONS

57
10. TOOL FUNCTIONS NC FUNCTION B–62622EN/02

10.1 Selection of tools can be done by commanding tool numbers with an


8-digit numeral after address T. The 8-bit numeral is output in a 32-bit
T CODE OUTPUT binary code. This code is kept till the next T code is commanded.
Maximum input digits are set by parameters.

Notes
1 A program must contain this T-code in a block in which press
is specified for the first time or any preceding block. If a
T-code is not issued, a press start signal will not be output,
and therefore the program will not advance to the next
block.
2 The T-code must be issued in positioning mode (G00).

10.2 The CNC can control the turret axis (T-axis) for tool indexing as specified
by a parameter. This function selects a tool by issuing a T-code and
T-AXIS CONTROL positioning the turret at a tool position specified on the tool registration
menu, where up to 136 tools can be registered. The T-code for T-axis
control consists of one to four digits.
Use of this function can reduce the tool replacement time largely, because
it supersedes tool replacement on the machine side by using T-axis
positioning.

10.3 T-codes can be ignored. An external signal is used to determine whether


to ignore the T-code. Once it is specified to ignore T-codes, the program
IGNORING T-CODE operates exactly as if it contained no T-code. This function can be used,
for example, to check the program by marking on a workpiece with a
marking tool.

58
B–62622EN/02 NC FUCNTION 10. TOOL FUNCTIONS

10.4 In general, the tool holder of a punch holds one tool (die). To select a tool
the tool holder is first moved to the position at which the tool is changed
MULTIPLE TOOL using the T command (cartridge indexing). Then, at that position, the tool
CONTROL holder is set on the punch holder.
In the case of the multiple-tool system, only the dies in the tool holder are
changed because the tool holder keeps different types of dies (See Fig.
10.4). The multiple-tool system enables the tool holder to change dies
very quickly. Also, many dies can be used to widen the range of
machining applications.

Tool holder

Multiple tool system


(cartridge)

Multiple tools

10.4 Multiple tool system

10.4.1 The pot numbers of a multiple-tool system are specified with T codes
Tool Number consisting of three or four digits, as follows:

T ∆ ∆;
Tool number of the multiple-tool system
Pot number (for specifying a tool holder)

The T codes used for controlling the indexing of the turret (tool holder)
in a CNC are two-digit pot numbers from 00 to 99, including those for a
multiple-tool system as shown above.
The T codes consisting of three or four digits are used to control a
multiple-tool system. The first two digits are the pot numbers of the
multiple-tool system and the last two digits are the tool numbers in the
multiple-tool system.

59
10. TOOL FUNCTIONS NC FUNCTION B–62622EN/02

10.4.2 The tools of a multiple-tool system are selected by turning the C axis. A
Relationship Between tool is selected by placing it at the tool reference position. This position
is parallel to the Y axis and on the center line of the tool holder of a
the Multiple-tool multiple-tool system.
System and the C Axis For each tool in a multiple-tool system, the angle the tool makes with the
tool reference position is set on the tool registered screen. When the T
code of a multiple-tool system is issued, the CNC system sends an internal
command to the C axis, indicating the angle with the tool reference
position corresponding to the selected tool. The CNC system places the
selected tool in the tool reference position.

Multiple-tool system Tool reference posi-


T11 tion
Y
Center of the tool
holder

T1101
+
Parallel

Direction
of rotation
T1104 T1102


T1103

Angle with the tool reference


position

T1101= 0.00°
T1102= 90.00°
T1103= 180.00°
T1104= 270.00°

Notes
Setting the angle with the tool reference position to 0 indicates
the tool that is selected when the indexing of the multiple-tool
system is finished.

60
B–62622EN/02 NC FUCNTION 10. TOOL FUNCTIONS

10.4.3 When a multiple-tool system is used, the centers of the dies in the
Tool Compensation multiple-tool system are not at the center of the tool holder. Therefore,
tool compensation is necessary. Tool compensation for tools in a
multiple-tool system works in the direction of the Y axis only. Specify
the distance between the center of the tool holder and each of the tools
when the tool is located in the tool reference position in one of the tool
registered screen. The distance is the compensation value in the direction
of the Y axis.

Tool reference position


Y
Y-axis compensation Center of the tool holder
value

T1101

T1104 T1102

T1103

Multiple-tool system T111

61
10. TOOL FUNCTIONS NC FUNCTION B–62622EN/02

10.5 Set the maximum number of punches for each tool, on the CRT screen.
When the number of executed punches for the selected tool exceeds the
TOOL LIFE maximum number of punches for that tool, the tool life reached signal
MANAGEMENT PTLCH is output. This signal is used to issue an alarm on the PMC or
request the operator to change the tool.
The number of executed punches and maximum number of punches can
be set and displayed by using the [TOOL] soft key on the
<OFFSET/SETTING> screen, and the [TOOL LIFE] screen.

62
B–62622EN/02 NC FUCNTION 11. MISCELLANEOUS FUNCTIONS

11 MISCELLANEOUS FUNCTIONS

63
11. MISCELLANEOUS FUNCTIONS NC FUNCTION B–62622EN/02

11.1 When an 8-digit number after address M is commanded, a 32-bit binary


code is output. Maximum input digits are specified with parameters for
MISCELLANEOUS this code. This function is used for on/off at the machine side. A single
FUNCTIONS M code can be commanded in one block. The following M codes are
decoded and output:
M00 : Program stop
M01 : Optional stop
M02 : End of program
M30 : End of program and tape rewind
The above M codes can also be output in binary codes.
M98 (sub program call) and M99 (return from sub program) and always
processed in the NC so, signal will not be output.
Some of the following M-code operations are performed within the CNC.
Note, however, that M-code signals are output.
Forming mode and cancel forming mode
Workpiece clamp and unclamp
Nibbling mode and cancel nibbling mode
Punching mode and laser mode

Notes
1 These M-code operations must be specified within a single
block.
2 These M-code operations are specified by parameters.

64
B–62622EN/02 NC FUCNTION 11. MISCELLANEOUS FUNCTIONS

11.2 Up to three M codes can be simultaneously specified in one block.


As these M codes are simultaneously sent to PMC side, the machining
1-BLOCK PLURAL cycle time compared with the conventional 1-block single M command
M COMMAND is reduced.
Example)
(i) 1-block single M command
M40;
M50;
M60;
G00X100.Y200.;
:
(ii) 1-block plural M command
M40M50M60;
G00X100.Y200.;
:

Notes
1 The maximum input value of the first M code is 99999999,
while the maximum input values of the second and third M
codes are 65535.
2 A strobe signal is provided for each of the first to third M
codes (MF, MF2, and MF3).
When all the operations for the first to third M codes are
completed, completion signal FIN is output.

11.3 When an 8-digit number after address B is commanded, a 32-bit binary


code is output. This code is kept till the next B code is commanded.
SECOND
MISCELLANEOUS
FUNCTIONS

Notes
1 When this function is used, the AB macro function cannot
be used.
2 When this function is used, the B–axis cannot be used.

65
11. MISCELLANEOUS FUNCTIONS NC FUNCTION B–62622EN/02

11.4 The communication of execution command signal (strobe signal) and


completion signal is the M/S/T/B function were simplified to realize a
HIGH-SPEED M/S/T/B high-speed execution of M/S/T/B function.
INTERFACE The time required for cutting can be minimized by speeding up the
execution time of M/S/T/B function.
The following describes an example of auxiliary function M code
command. The same applies to the T, S, and B (second auxiliary function)
functions.
If there is an M command, the NC side inverses the logic level of strobe
signal MF. Namely, LOW signal is converted to HIGH signal, while
HIGH signal is converted to LOW signal. After the NC side inverses the
signal MF, it is considered that the operation of PMC side has been
completed if the logic level of completion signal FIN from the PMC is
the same as that of the signal MF.
In the conventional system, if the leading edge (from LOW to HIGH) of
the completion signal FIN of M/S/T/B is received and then the trailing
edge (from HIGH to LOW) of the signal FIN is received, it is considered
that the operation has been completed. However, in this system, the
operation is considered to have been completed by a single change of
signal FIN.
Example) M10;
M20;

High-speed System Time Chart

M10 M20
M command Mxx
code signal

Strobe signal MF

Operation at PMC side

M function completion
signal MFIN

Conventional System Time Chart

M10 M20
M command Mxx
code signal

Strobe signal MF

Operation at RMC side

Completion signal FIN

66
B–62622EN/02 NC FUCNTION 11. MISCELLANEOUS FUNCTIONS

Notes
1 Either the conventional system or the high-speed system
can be selected for communication of strobe signal and
completion signal.
2 In the conventional system, only one completion signal is
available for all functions of M/S/T/B. However, in the high-
speed system, one completion signal is available for each
of M/S/T/B functions.

67
12. PROGRAM CONFIGURATION NC FUNCTION B–62622EN/02

12 PROGRAM CONFIGURATION

68
B–62622EN/02 NC FUCNTION 12. PROGRAM CONFIGURATION

12.1 A program number is given to each program to distinguish a program


from other programs. The program number is given at the head of each
PROGRAM NUMBER program, with a 4-digit number after the address 0.
Program number of the program currently under execution is always
displayed on the CRT screen. Program search of programs registered in
the memory is done with the program number. The program number can
be used in various ways.

12.2 A program name can be given to the program to distinguish the program
from other programs when displaying all the registered program on a
PROGRAM NAME screen. Register the name between the control-out and the control-in.
Any codes usable in the CNC can be used for the program name.
The program name is displayed with the program number in the directory
display of registered programs. Note that the program name displayed is
within 31 characters.
Example) 01234 (PROGRAM FOR ATC);

12.3 A program is divided into the main program and the sub program. The
CNC normally operates according to the main program, but when a
MAIN PROGRAM command calling a sub program is encountered in the main program,
control is passed to the sub program. When a command indicating to
return to the main program is encountered in the sub program, control is
returned to the main program.

69
12. PROGRAM CONFIGURATION NC FUNCTION B–62622EN/02

12.4 When there are fixed sequences or frequently repeated patterns in a


program, programming can be simplified by entering these pattern as sub
SUB PROGRAM programs to the memory. Sub program is called by M98, and M99
commands return from the sub program. The sub program can be nested
4 folds.

Main program Sub program Sub program Sub program Sub program
O0001 ; O1000 ; O2000 ; O3000 ; O4000 ;

M98P1000 ; M98P2000 ; M98P3000 ; M98P4000 ;

M30 ; M99 ; M99 ; M99 ; M99 ;


1-loop nesting 2-loop nesting 3-loop nesting 4-loop nesting

Format

Sub program call


M98 P_ L_ ;
P_ : Program number of sub program to be called
L_ : How many times to repeat the sub program

Return from sub program


M99 ;

70
B–62622EN/02 NC FUCNTION 12. PROGRAM CONFIGURATION

12.5 When memory is used, a program cataloged in the floppy cassette can be
called and executed as a sub program.
EXTERNAL MEMORY A sub program is called from the floppy cassette when the program using
AND SUB PROGRAM the memory executes the following block.
CALLING FUNCTION

Format
Sub program calling

M198 P_ L_ ;
P : Program number or file number of the sub program to be called
L : Number of times that the sub program is repeated

Notes
1 Whether address P specifies the file number or program
number is selected by a parameter.
2 In the program called by M198, no more sub program can
be called by M198.

12.6 Sequence number can be given in a 5-digit number after the address N at
the head of the program block.
SEQUENCE NUMBER The sequence number of the program under execution is always displayed
on the CRT screen. The sequence number can also be searched in the
program by the sequence number search function.

12.7 Either the EIA or the ISO code can be used as tape code. The input
program code is distinguished with the first end of block code (EIA: CR,
TAPE CODES ISO: LF). See the List of Tape Codes (Appendix. C) for tape codes used.

71
12. PROGRAM CONFIGURATION NC FUNCTION B–62622EN/02

12.8 The following table shows the basic addresses and the range of values to
be specified. The range, however, is that of CNC. Note that the range of
BASIC ADDRESSES the machine is different from this.
AND COMMAND
VALUE RANGE
 Basic Addresses and Function Address Metric input Inch input
Range of Values to Be
Specified (M series) Program number O (*1) 1–9999 1–9999

Sequence number N 1–99999 1–99999

Preparatory func-
G 0–99 0–99
tion

Dimen- ±99999.999mm ±9999.9999inch


IS–B
sion ±99999.999deg ±99999.999deg
X, Y, Z, Q,
word
word,
R, I, J, K, C
Setting ±9999999.99mm ±99999.999inch
IS–A
unit ±9999999.99deg ±999999.99deg

Feed IS–B
per min- 0.01–9600.00inch/
F 1–240000mm/min
ute, Set- min
ting unit IS–A

Spindle function S 0–99999 0–99999

Tool function T 0–99999999 0–99999999

Miscellaneous
M 0–99999999 0–99999999
function

0–99999.999 0–99999.999
IS–B
(sec or rev) (sec or rev)
Dwell X P
X,
0–999999.99 0–999999.99
IS–A
(sec or rev) (sec or rev)

Sequence number
specification P 1–9999999 1–9999999
Number of repeats

A/B macro function A, B 1–5 1–5

U/V/W macro
U, V, W 1–99 1–99
function

Notes
1 ”:” can be used for 0 in ISO Code.
2 Coordinates maximum command value for inch input/metric
output is limited to: ±39370.078 inch / ±3937.0078 inch /
±393.70078 inch.

72
B–62622EN/02 NC FUCNTION 12. PROGRAM CONFIGURATION

12.9 The variable block word address format with decimal point is adopted as
tape format. See List of Tape Format in Appendix C for details on tape
TAPE FORMAT formats.

12.10 Label skip function is valid in the following cases, and ”LSK” is
displayed on the CRT screen.
LABEL SKIP  When power is put on.
 When the NC is reset.
When label skip function is in valid, all codes to the first encountered end
of block (EOB) code are ignored.
The ignored part is called ”Reader part”, and section after the first end of
block (EOB) code, ”significant information”.

12.11 Information between the control-in and the control-out are regarded as
notes and are ignored.
CONTROL-IN/ The reset codes (ISO code: %, EIA code: ER) cannot be used in this part.
CONTROL-OUT The ignored part is called ”Notes”.

ISO code EIA code

Control–out ( Channel 2–4–5 on

Control–in ) Channel 2–4–7 on

12.12 When a slash and number ( /n) is programmed at the head of a program,
and when the machine is operated with the optional block skip switch n
OPTIONAL BLOCK on the machine operator’s panel on, information in the block commanded
SKIP with the /n corresponding to the switch number n is ignored.
If the optional block skip switch n is turned off, information in the /n
commanded block will not be ignored. The block with /n commanded can
be skipped by the operator’s selection.
I can be used for n. The 1 to /1 can be omitted.
Example) /1 N12345 G00 X100.Y200.;

12.13 2 to 9 can also be used for the n of the /n.


ADDITIONAL
OPTIONAL BLOCK
SKIP

12.14 A parity check is made on the number of punch holes for each input tape
character. If the parity does not match, an alarm occurs (TH check). A
TAPE HORIZONTAL parity check is made on each input data block. If the number of characters
(TH) PARITY CHECK in one block (from the code next to EOB to another EOB) is odd, an alarm
AND TAPE VERTICAL occurs (TV check). The TH or TV check cannot be made on the area
skipped by the label skip function. The TH check is not made on the
(TV) PARITY CHECK
command field, but the characters in it is counted for the TV check. The
TV check function is validated or invalidated according to the value set
on the CRT/MDI panel.

73
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

13 FUNCTION TO SIMPLIFY PROGRAMMING

74
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING

13.1 It is possible to punch out at two or more positions according to a certain


form by the command of one block. Whenever it is positioned at each
PATTERN FUNCTION position in the rapid traverse rate, the press start signal is outputted.

Notes
M code and pattern function can not be specified in the
same block.

13.1.1
Bolt Hole Circle (G26)

Format

G26I r J θ K n ;

#I
r
θ

#n

13.1.2
Line at Angle (G76)

Format
G76I d J θ K n ;

#n
d

#I
θ

75
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

13.1.3
Arc (G77)

Format
G77I r J θ P ∆θ K n ;

#n

r
∆θ
#I
θ

13.1.4
Grid (G78, G79)

Format
G78I dx P nx J dy K ny ;
G79I dx P nx J dy K ny ;
G78 specifies punching from X-axis direction.
G79 specifies punching from X-axis direction.

#ny

dy
#Iy

#Ix dx #nx

76
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING

13.1.5
Share Proof (G86)

Format
G86I ȏ J q P W1 Q W2 ;

W1 ȏ θ

W2

13.1.6
Square (G87)

Format
G87I ȏ x J ȏ y P W1 Q W2 ;

W1

W2

ȏy

ȏx

77
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

13.1.7
Radius (G88)

Format
G88I ȏ x J θ K ∆ θ P d Q p ;

r
∆θ
θ

13.1.8
Cut at Angle (G89)

Format
G89I ȏ J θ P d Q p ;

p
ȏ
θ

78
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING

13.2
BASE POINT Program 1
G90X100Y100 ;
COMMAND (G72) G70X200Y200 ;
G26I50JOK4 ;

Program 2
G90X100Y100 ;
G70X200Y200 ;
G26I50J0K4 ;

Tool movement by program 1


Tool movement by program 2

G72X- Y- ;
An under-mentioned coordinates values can be instructed by an
above-mentioned command.
(1) Center point of Bolt hole circle (G26), Arc (G77), Circular nibblint
(G68), Radius (G88)
(2) Starting point of the line at angle (G76), grid (G78, G79), linear
nibbling (G69), cut at angle (G89), share proof (G86), and square
(G87)
G72 only designates the pattern base point; it does not move a tool.

Notes
M code, T code, and S code can not be specified in the same
block as G72.

79
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

13.3
STORAGE AND CALL
BY ADDRESS A/B



G72X100.Y100. ;
A2G26I50.J0K4 ;² Designated for storage after execution
G72X200.Y100. ;
(150, 200) (250, 200)
B2 ; ² Recall of pattern A2
G72X250.Y200. ;
B2 ;
G72X150.Y200. ;
B2 ;




(100, 100) (200, 100)

When it is desired to repeatedly use a pattern with the same figure among
the pattern functions, it is possible to store the pattern with a number and
access it whenever necessary.
(1) Storage A1 - A5
A pattern function is executed and stored when address A (1 to 5) is
specified before a G code of pattern function.
A2G26I50.J04K;G26I50.J04K is stored in storage A2 of the
patternfunciton.
(2) Call B1 - B5
The pattern function memorized in address A can be called by
address B (1 to 5) command.
B2; - G26I50.J0K4 is called and executed.
Blocks (up to 192 characters per block) can be stored and called
except for the pattern function.

80
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING

13.4
AUTOMATIC
Y
REPOSITIONING
(G75)
X

Work clamp

Work holder

G75X- ;
A series of the following commands can be given, using G75X_ ;
command.
(1) M10 ; : Work clamp
(2) G70G91YyR; : Escape of Y axis
(3) G70G91X-X ; : Shift of X axis
(4) G70G91Y-yR ; : Return of Y aixs
(5) M11 ; : Work unclamp
yR, M10, and M11 can be set by parameters. The shift amount of the X
and Y axis in G75 is not added to the absolute coordinate value.

81
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

13.5
U/V/W MACRO
FUNCTION
Program
:
:

Uxx to Vxx Storage and execution of


multiple blocks

:
:

Wxx Call and execution of


stored multiple blocks

:
:
:
:

The macro function can register a plurality of blocks as one macro and call
them whenever necessary.

13.5.1 When 2-digit figures 01 to 89 following address word U are added prior
Storage of Macro (U, V to the instructions of plural blocks to be stored and the same figure is used
for the last figure following address word W, plural blocks instructed for
Command) that period are stored in memory.
The 2-digit figure following address U or V is called the macro number.
When macro number is 01 - 59, the blocks between U and V are
memorized accompanying the execution of the command.
On the contrary, when the Macro No. is 60 to 89, the command is not
executed and only the storage operation is performed. It is possible to
normally give instructions to all blocks inserted between U and V except
instructions for Macro storage by other Macro Nos.

82
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING

13.5.2 It is possible to call a plurality of blocks stored previously as Macro by


Macro Call giving instructions with a 2-digit numeral following address W.
(W Command)

13.5.3 Up to triple accessing is possible: another macro is called from a given


Multiple Call of Macro macro, which was called from still another macro.

13.5.4 The number of characters which can be stored for each macro having a
Storage Capacity of macro number between 01 to 89 can be specified with a parameter (up to
2700 characters).
Macro

13.5.5 Plural macros can be stored as one macro by using the macro number
Storage and Call of 90-99 and can call it.
The number of macros which can be stored on each of the macro number
Plural Macro (Macro 90-99 is up to 15 or less.
No.90 to 99)

83
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

13.6
MULTIPLE-PIECE
MACHINING

X
Cutting margin

 

  Material
plate

 

ȏy
Cutting
margin B

ȏx

13.6

It is a function for the multi-piece machining by which several identical


product boards can be produced from one blank board with an easy
command.
A simple setting method allows so-called trial punching by the command
of the multi-piece machining function, thus facilitating a machining
command tape check prior to the whole machining.

84
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING

13.6.1 Specify a command prior to the punching command for a single plate.
Base Point Command
of Multi-piece
Machining

Format
G98X xb Y yb I lx J ly P nx K ny ;

xb : X axis coordinates values in the multi-piece machining


base point (B of Fig.)
yb : Y axis coordinates values in the multi-piece machining
base point (B of Fig.)
lx : X axis direction length (Give by the positive number) of
one product
ly : Y axis direction length (Give by the positive number) of
one product
nx : The number of products in the X axis direction (Note 1)
ny : The number of products in the Y aixs direction
(Note 1)

Notes
Product board  is not included in the number.

After a G98 command, specify the punching command for a single plate
at the lower left ( in the figure) which performs the multi-piece
machining function operation at grid intervals, using a macro function
(storing a machining command between U and V commands).
 Command method :
G92X_Y_ ;
G98X_Y_I_J_P_K_ ;

Punching command for a single plate at the lower left

85
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

13.6.2 When machining commands stored by a macro function are to be called


Multi-piecemachining to perform the multi-piece machining function, use the following
commands.
Command

Format
G73W wn Q q ;
G74W wn Q q ;
G73 :When punching from X axis direction.
G74 :When punching from Y axis direction.
wn :Macro number
q :Machining start area specification
q=1 Start from the lower left of the sheet ( in the fig.).
q=2 Start from the lower right of the sheet (
in the fig.).
q=3 Start from the upper left of the sheet ( in the fig.).
q=4 Start from the upper right of the sheet ( in the fig.).

D Command method :
G92X_Y_ ;
G98X_Y_I_J_P_K_ ;

Punching command for a single plate at the lower left


Stored in Ux-Vx

G73WxQ1 ; Execution of multi-piece machining command


M30 ;

13.6.3 The processing mehtod can be selected by the parameter setting from the
Setting of Processing external signal MDI when the processing command tape of the
multi-piece machining is used for machining.
Method of Multi-piece
Machining Setting 0 : Command tape for the multi-piece machining is not used.
1 : Trial punching of the multi-piece machining
2 : Remainder punching after the trial punching of the
multi-piece machining
3 : All blank punching of multi-piece machining

86
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING

13.6.4 By specifying a restart point by a P-code in a block containing G73/G74


Command to Restart (commands for punching multiple products), it is possible to restart
punching multiple products at the specified restart point.
Punching Multiple
Products
 Command format G73 (G74) W wn Q q P p ;
$    #
   !" "   !"
  !" " "
 & !!  !" " " $"   !#
! %

   &
   "" #  $ !

Q3 ³ ² Q4

H G F E

A B C D
Q1 ³ ² Q2

Examples G98X_Y_I_J_P3K1 ;
U90 ;
:
V90 ;
G73W90Q_P5 ;
The above program performs machining as follows:
(1) Partial machining
(a) Q1 command : Sequence of E→F→G→H
(b) Q2 command : Sequence of H→G→F→E
(c) Q3 command : Sequence of D→C→B
(d) Q4 command : Sequence of B→C→D
(2) Total machining
(a) Q1 command : Sequence of E→F→G→H
(b) Q2 command : Sequence of H→G→F→E
(c) Q3 command : Sequence of D→C→B→A
(d) Q4 command : Sequence of A→B→C→D

87
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

13.7 The hole position gap accompanied bending is compensated and the
drilling is performed.
BENDING
COMPENSATION
(G38, G39)
 Program format
 Bending compensation for X axis direction
G38I X1 J X2 K X3 P X4 Q X5 R α ;
 Bending compensation for Y axis direction
G39I Y1 J Y2 K Y3 P Y4 Q Y5 R β ;

Area I Area II Area III Area Area V


X1 IV

X2
X3
X4
X5

α, β : These are called the benging coefficient.


The compensation amount attendant on a single bending is
specified.
X1 to X5 : The distance of X and Y axes direction from the standard
point is specified.
(Y1 to Y5) : Bending can be performed up to 4 times.
In a block after a bending command is sent, it is judged to which area
automatically designated the command value of the move command
belongs, thus allowing compensation in accordance with the bending
frequency.
When bending compensation cancel is required.
(1) Specify the cancel of bending compensation.
G38R0 : ... (Cancel of X axis direction)
G39R0 : ... (Cancel of Y axis direction)
(2) Specify M02, M30.
It is possible to cancel even in the reset state according to reset, clear,
and emergency stop.

88
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING

13.8 Workpieces are punched out with a start point specified by G72 or the
current tool position as a start point and with an end point (x, y) using a
LINEAR PUNCHING tool having dimensions (dx, dy).
COMMAND G45
G45X x Y y P dx Q dy R r D j ;

x : x-coordinate of the end point


y : y-coordinate of the end point
dx : Tool width measured in parallel with the direction in which the
tool advances
dy : Tool width measured vertically to the direction in which the
tool advances
r : Direction of tool offset with respect to the direction in which
the tool advances (omissible)
r = 0 : No offset (on programmed line)
r < 0 : Offset to the right of the direction in which the tool
advances
r > 0 : Offset to the left of the direction in which the tool
advances
j : Microjoint width (omissible)
j = 0 : No compensation
j < 0 : Compensation in such a way that the resultant
workpiece dimensions decrease
j > 0 : Compensation in such a way that the resultant
workpiece dimensions increase

Examples (1) G72G90X10.Y50. ;


G45X200.Y200.P20.Q10.R1 ;

(200, 200)

20

(10, 50)
10

89
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

(2) G72X10.Y10.;
G45X100.Y10.P20.Q10.(R0) ;

10

20
(10, 10) (100, 10)

Workpieces are punched out on the programmed line (no offset).


G72X10.Y10. ;
G45X100.Y10.P20.Q10.R-1 ;

10

20
(10, 10) (100, 10)

Workpieces are punched out on the programmed line (no offset).


G72X10.Y10. ;
G45X100.Y10.P20.Q10.R-1 ;

10

20
(10, 10) (100, 10)

Workpieces are punched out offset to the right from the


programmed line.
(3) G72X10.Y10. ;
G45X100.Y10.P20.Q10.R1 D5. ;

5
(10, 10) (100, 10)

G72X10.Y10. ;
G45X100.Y10.P20.Q10.R1 D-5. ;

90
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING

5
(10, 10) (100, 10)

Specifying microjoint width j effects compensation at the punch start


and end points, thus enabling correcting error on the resultant
workpiece dimensions.

91
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02

13.9 Workpieces are punched out with a start point specified by G72 or the
current tool position as a start point and with an end point (x, y) on a circle
CIRCULAR with a radius of r in pitches of q, using a tool with a diameter of d.
PUNCHING
G46
COMMANDS G46 AND Xx Yy Rr Pd Qq ;
G47 G47

G46 : Clockwise (CW)


G47 : Counterclockwise (CCW)
x : x-coordinate of the end point
y : y-coordinate of the end point
r : Radius of arc
r = 0 : Alarm 169
r < 0 : Arc with an angle of 180° or larger
r > 0 : Arc with an angle of 180° or less
d : Tool diameter (omissible)
d = 0 : Punching on the arc
d < 0 : Punching inside the arc
d > 0 : Punching outside the arc
q : Nibbling pitch

Notes
All units of measures are as entered.

Examples G72G90X100.Y100. ;
G46X200.Y200.R100.P-20.Q10. ; 
G47X100.Y100.R-100.P20.Q10. ; 

r=100 (200., 200.)

r=100

(100., 100.)

92
B–62622EN/02 NC FUCNTION 14. TOOL COMPENSATION FUNCTION

14 TOOL COMPENSATION FUNCTION

93
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–62622EN/02

14.1 Tool position compensation along the X- and Y-axes can be effected for
tools specified by a code consisting of character T and one to four digits
TOOL OFFSET that follow it. The amount of compensation is specified in the least
COMPENSATION command increment defined on the tool registration menu during
(T SEIRES) installation. (Up to 136 tools, values: Positive number consisting of eight
digits)

Notes
If an inch/metric switch-over option is specified, and the
measurement unit used in the machine is different from that
used in the input system, a maximum possible error is the
sum of half the least input increment and half the least
command increment. This error will not be accumulated.

14.2 This function can be used for die-indexable tools. It simplifies


mechanical adjustment like reference position adjustment performed
C-AXIS POSITION during tool mounting by effecting automatic C-axis compensation for
COMPENSATION tool indexing. The amount of compensation and the tool number for the
die-indexable tool are specified by parameters. (Up to 20 tools with tool
numbers of 1 to 9999)

94
B–62622EN/02 NC FUCNTION 14. TOOL COMPENSATION FUNCTION

14.3 With this function, the programmed tool path can be offset when actually
machining, for value of the tool radius set in the NC.
CUTTER By measuring cutting radius for actual cutting, and setting the value in the
COMPENSATION C NC as offset value, the tool can machine the programmed pattern, via the
(G40 - G42) offset path. There is no need to change the program even when tool radius
changes; just change the offset value.

Programmed path
Tool center path
Cross point

Cross points of line and line, arc and arc, line and arc is automatically
calculated in the NC to obtain offset actual tool path. So, programming
becomes simple, because it is only necessary to program the machining
pattern.
 Cutter compensation and G40 : Cutter radius compensation cancel
its cancellation G41 : Cutter radius compensation left
(G40, G41, G42) G42 : Cutter radius compensation right
G41 and G42 are commands for cutter radius compensation mode. The
cutter is offset to the left forward in the cutter movement in G42 and right
forward in G42. Cutter radius compensation is cancelled with G40.
 Assignment of offset The offset amount can be set in the cutter radius compensation memory.
amount (D code) When the D code is commanded as an offset number, corresponding offset
amount in the tool compensation memory is applied as the offset amount
for cutter radius compensation.
 Interference check Tool overcutting is called ’interference’. This function checks whether
interference occurs, if cutter radius compensation is performed.

Tool nose Programmed


center path path
r

Overcutting Overcutting

95
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–62622EN/02

14.4 Tool offset amount range which can be set is as follows:


TOOL
COMPENSATION Increment system Metric input Inch input
MEMORY
IS-A "999.99 mm "99.999 inch

IS-B "999.999 mm "99.9999 inch

96
B–62622EN/02 NC FUCNTION 14. TOOL COMPENSATION FUNCTION

14.5
NUMBER OF TOOL
OFFSETS

14.5.1
Number of Tool  32 tool offsets (standard)
Offsets Offset numbers (D code) 0 - 32 can be used.
D00 - D32
 64 tool offsets (optional)
Offset numbers (D code) 0 - 64 can be used.
D00 - D64
 99 tool offsets (optional)
Offset numbers (D code) 0 - 99 can be used.
D00 - D99
 200 tool offsets (optional)
Offset numbers (D code) 0 - 200 can be used.
D00 - D200
 400 tool offsets (optional)
Offset numbers (D code) 0 - 400 can be used.
D00 - D400

97
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–62622EN/02

14.6 Tool offset amount can be set/changed with the G10 command.
When G10 is commanded in absolute input (G90), the commanded offset
CHANGING OF TOOL amount becomes the new tool offset amount. When G10 is commanded
OFFSET AMOUNT in incremental input (G91), the current tool offset amount plus the
(PROGRAMMABLE commanded offset amount is the new tool offset amount.
DATA INPUT) (G10)

Format
 Tool compensation
memory A
G10 L11 P_ R_ ;
P_ : Offset number
R_ : Tool offset amount

98
15. ACCURACY COMPENSATION
B–62622EN/02 NC FUCNTION FUNCTION

15 ACCURACY COMPENSATION FUNCTION

99
15. ACCURACY COMPENSATION
FUNCTION NC FUNCTION B–62622EN/02

15.1 The errors caused by machine position, as pitch error of the feed screw,
can be compensated. This function is for better machining precision.
STORED PITCH As the offset data are stored in the memory as parameters, compensations
ERROR of dogs and settings can be omitted. Offset intervals are set constant by
COMPENSATION parameters (per axis). Total offset points are:
Total offset points = 128 × controlled axes.
Optional distribution to each axis can be done by parameter setting. As
each position:
Offset pulse = (-7 to +7) x (magnification)
Where Offset pulse unit is the same as detection unit
Magnification: 0 to 100 times, set by parameter (per axis)

15.2 This function is used to compensate lost motions proper to the machine
system. Offset amounts come in a range of 0 to ±9999 pulses per axis,
BACKLASH and is set as parameters in detection unit.
COMPENSATION

100
15. ACCURACY COMPENSATION
B–62622EN/02 NC FUCNTION FUNCTION

15.3 Since different backlash compensation values can be used for cutting feed
and rapid traverse, the machining precision is improved.
BACKLASH The following table shows backlash amounts according to the feedrate
COMPENSATION and movement direction. In the table, the backlash compensation amount
SPECIFIC TO RAPID for cutting feed is A, and that for rapid traverse is B. A and B are set in
parameters.
TRAVERSE AND
CUTTING FEED Cutting Rapid Rapid Cutting
feed traverse traverse feed
↓ ↓ ↓ ↓
Cutting Rapid Cutting Rapid
feed traverse feed traverse

Movement in same direction 0 0 ±α ±α

Movement in opposite directions ±A ±B ±(b+α) ±(b+α)

*1) α=(A+B) / 2
*2) Sings (+ and –) indicate directions.

Stop in cutting feed

ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
A

ÙÙÙÙÙÙÙ
Cutting feed
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
Stop in rapid traverse

ÙÙÙÙÙÙÙ
α
ÙÙÙÙÙÙÙ α

ÙÙÙÙÙÙÙ
B

ÙÙÙÙÙÙÙ
Rapid traverse
ÙÙÙÙÙÙÙ
α : Excess of machine movement
ÙÙÙÙÙÙÙ

101
15. ACCURACY COMPENSATION
FUNCTION NC FUNCTION B–62622EN/02

15.4 Parameters and pitch errors data can be set by tape commands. therefore,
following uses can be done example.
PROGRAMMABLE
 Parameter setting such as pitch errors compensation data, etc. when
PARAMETER ENTRY the attachment is replaced.
(G10, G11)  Parameters such as max. cutting speed and cutting feed time constant
can be changed according to the machining conditions.

Format
G10 L50 ;
N_ P_ ;
N_ P_ R_ ;
:
N_ R_ ;
G11 ;

G10 L50 : Parameter input mode


G11 : Parameter input mode cancel
N_ : Parameter No. (or pitch error data No.+10000)
P_ : Axis No. (in the case of axis type parameter)
R_ : Parameter setting value (or pitch error data)

Note) Some parameters cannot be set.

15.5 C-axis backlash compensation can be effected for die-indexable tools for
individual indexes. Changing the backlash compensation value by index
C-AXIS BACKLASH enables high-precision machining. The amount of compensation and the
COMPENSATION FOR tool number for the die-indexable tool are specified by parameters. (Up
INDIVIDUAL INDEXES to 20 tools with tool numbers of 1 to 9999)
(OPTION)

102
16. COORDINATE SYSTEM
B–62622EN/02 NC FUCNTION CONVERSION

16 COORDINATE SYSTEM CONVERSION

103
16. COORDINATE SYSTEM
CONVERSION NC FUNCTION B–62622EN/02

16.1 Patterns specified by the program can be rotated. For example, by using
this function, when the attached workpiece comes in a position which is
COORDINATE somewhat rotated from the machine coordinates, the position can be
SYSTEM ROTATION compensated by the rotation instruction.
(G68, G69) If a pattern is similar to that made by rotating a programmed figure, the
program for the pattern can be created by calling the program for the figure
as a sub program, and rotating the coordinates in the program. This
function reduces the programming time and program length.

Rotation angle

Rotation
center
X
0

Format

G84 X_ Y_ R_ ;

X, Y: Specify two axes from X, Y, Z axes of G17, G18, G19.


(These are always absolute values.)
R : Rotation (+ for the counterclockwise direction.
Specified in absolute value. It can be also specified
in incremental values according to the parameter setting. )

By this command, commands thereafter are rotated in the angle


commanded by R, with the point commanded by alpha, beta as the
rotation center. Rotation angle is commanded in 0.001 x units in a range
of:
–360000 x R x 360000
When X, Y is omitted, the point where G84 was commanded becomes the
rotation center.
G85; Cancels the coordinate system rotation.

104
16. COORDINATE SYSTEM
B–62622EN/02 NC FUCNTION CONVERSION

16.2 Scaling can be commanded to figures commanded in the machining


programs.
SCALING (G50, G51)

Format
When each axis is scaling of the same magnification

Format Sign explanation


X_Y_ : Absolute command of
G51 X_ Y_ P_ ; Scaling start center coordinate value of
scaling
Scaling is effective. P_ : Magnification of scaling
(Scaling mode)

G50 ; Scaling cancellation

By this command, scaling of the magnification specified by P is


commanded with the point commanded by X, Y as its center. G50 cancels
to scaling mode.
G50 : Scaling mode cancel
G51 : Scaling mode command
Commandable magnification is as follows :
0.00001 - 9.99999 times or 0.001 - 999.999

Y P3
P4 P1 - P4 : Pattern of machining program
P4 l P3 l
P1 - P4 : Pattern after scaling
P0 : Center of scaling
P1 l P0 P2 l

P1 P2
X
0

If P was not commanded, the magnification set by parameters is applied.


When X, Y are omitted, the point where G51 was commanded becomes
the center of scaling.
Scaling cannot be done to offset amounts such as tool length
compensation, cutter radius compensation.

Scaling
down to 1/2

105
16. COORDINATE SYSTEM
CONVERSION NC FUNCTION B–62622EN/02

A scaling magnification can be set for each axis or for all axes in common.
A parameter can specify whether it should be set for each axis or for all
axes.

Format
Scaling of each axis (Mirror image)

Format Sign explanation

G51 X_ Y_ I_ J_ ; Scaling X_Y_ : Absolute command of


start center coordinate value of
Scaling is effective. scaling
(Scaling mode) I_J_ : Magnification of scaling
of X axis and Y axis
G50 ; Scaling cancellation (Unit 0.001 or 0.00001 is
selected according to
the parameter.)
The magnification which can be
instructed is as follows.
0.0001–9.99999 or 0.001–9. 999

If magnifications I, J, or K are not specified, the magnification of each axis


set by a parameter is used.

Y axis

Profile of machining program

d Profile after
scaling

0
X axis
a
b

b/a : X-axis scaling magnification


d/c : Y-axis scaling magnification
o : Center of scaling

106
B–62622EN/02 NC FUCNTION 17. MEASUREMENT FUNCTIONS

17 MEASUREMENT FUNCTIONS

107
17. MEASUREMENT FUNCTIONS NC FUNCTION B–62622EN/02

17.1 By commanding axis move after G33, linear interpolation can be


commanded like in G01. If an external skip signal is input during this
SKIP FUNCTION (G33) command, the remainder of this command is cancelled, and program
skips to the next block.
G33 is a one-shot command and is valid for the commanded block only.

Skip signal input (300, 100)


50.0 Skip signal input

100.0

Actual movement
With no skip signal input

Coordinate value when skip signal is on, is stored in the system variables
#5061 - #5066 of the customer macro, so this function can also be read
with the customer macro function.
#5061 : X axis coordinate value
#5062 : Y axis coordinate value
#5063 : Fourth axis coordinate value
#5064 : Fifth axis coordinate value
#5065 : Sixth axis coordinate value
As the skip function can be used when move amount is not clear, this
function can be used for:
 Tool measurement with tactile sensor.

108
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO

18 CUSTOM MACRO

109
18. CUSTOM MACRO NC FUNCTION B–62622EN/02

18.1 A function covering a group of instructions is stored in the memory like


the sub program. The stored function is represented by one instruction
CUSTOM MACRO and is executed by simply writing the represented instruction. The group
of instructions registered is called the custom macro body, and the
representative instruction, the custom macro instruction.

Ordinary program
Custom macro body

A group of
instructions
Custom macro instruction for a certain
function

The programmer need not remember all the instructions in the custom
macro body. He needs only to remember the representative, custom
macro instruction.
The greatest feature in custom macro is that variables can be used in the
custom macro body. Operation between the variables can be done, and
actual values can be set in the variables by custom macro instructions.

Custom macro body


O9011
;

G65 P9011 A10 I5


X#1 Y#4 ;

Variables, #1, #4
Call custom macro body can be used
9011, and set variables instead of unknown
#1=10, #4=5. move amount.

r b
a

Bolt hole circle as shown above can be programmed easily. Program a


custom macro body of a bolt hole circle; once the custom macro body is
stored, operation can be performed as if the NC itself has a bolt hole circle
function. The programmer need only to remember the following
command, and the bolt hole circle can be called any time.

110
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO

Format

G65 Pp Rr Aa Bb Kk ;

p : Macro number of the bolt hole circle


r : Radius
a : Initial angle
b : Angle between holes
k : Number of holes

With this function, the NC can be graded up by the user himself. Custom
macro bodies may be offered to the users by the machine tool builder, but
the users still can make custom macro himself.
The following functions can be used for programming the custom macro
body.

Explanations

 Use of Variable Variables: #1 (i=1, 2, 3,.......)


Quotation of variables: F#33 (#33: speed expressed by variables)

 Operation between Various operation can be done between variables and constants.
variables The following operands, and functions can be used:
+ (sum), – (difference), * (product), / (quotient), OR (logical sum), XOR
(exclusive logical sum), AND (logical product), SIN (sine), COS
(cosine), TAN (tangent), ATAN (arc tangent), SQRT (square roots), ABS
(absolute value), BIN (conversion from BCD to binary), BCD
(conversion from binary to BCD), FIX (truncation below decimal point),
FUP (raise fractions below decimal point), ROUND (round)
Example : #5 = SIN [[#2 + #4] * 3.14 + #4] * ABS (#10)

 Control command Program flow in the custom macro body is controlled by the following
command.
 If [<conditional expression>]GOTO n (n = sequence number)
When <conditional expression> is satisfied, the next execution is done
from block with sequence number n.
When <conditional expression> is not satisfied, the next block is
executed.
When the [<IF conditional expression>] is committed, it executes
from block with n unconditionally.
The following <conditional expressions> are available:
#j EQ #k whether #j = #k
#j NE #k whether #j = #k
#j GT #k whether #j > #k
#j LT #k whether #j < #k
#j GE #k whether #j y #k
#j LE #k whether #j x #k

111
18. CUSTOM MACRO NC FUNCTION B–62622EN/02

 WHILE (<conditional expression>) DO m (m = 1, 2, 3)


:
END m
While <conditional expression> is satisfied, blocks from DO m to
END m is repeated.
When <conditional expression> is no more satisfied, it is executed
from the block next to
END m block.
Example
#120 = 1 ;
WHILE [#120 LE 10] DO 1 ;

Repeated 10 times.
#120=#120+1 ;

END

 Format of custom macro The format is the same as the sub program.
body

0 Macro number ;

Custom macro body

M99 ;

 Custom macro
instruction  Simple call
G65 P (macro number) L (times to repeat)
<argument assignment> ;
A value is set to a variable by <argument assignment>.
Write the actual value after the address.
Example A5.0E3.2M13.4
There is a regulation on which address (A - Z) corresponds to which
variable number.
 Modal call A
G66 P (macro number) L (times to repeat)
<argument assignment> ;
Each time a move command is executed, the specified custom macro
body is called. This can be canceled by G67.
This function is useful when drilling cycles are programmed as custom
macro bodies.

112
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO

 Macro call by G codes


The macro can also be called by the parameter-set G codes. Instead
of commanding:
N_ G65 P <argument assignment> ;
macro can be called just by commanding:
N_ G** <argument assignment> ;.
G code for calling the macro, and macro program number **** to be
called, are coupled together and set as parameter.
Maximum ten G codes from G01 to G255 can be used for macro call
(G00 cannot be used).
The G code macro call cannot be used in the macro which was called
by a G code. It also cannot be used in sub programs called by sub
program call with M codes or T codes.
 Custom macro call by M code
Custom macros can be called by pre-determined M codes which are
set by parameters.
The following command
N_ G65 P <Argument assignment> ;
is equivalent to the following command:
N_ Mxx <Argument assignment> ;
The correspondence between M codes (Mxx) and program number
(delta delta delta delta) of a macro shall be set by a parameter.
Signal MF and M code are not sent out the same as the subprogram call
by M code.
Also when this M code is specified in a program called a macro calling
G code or a subprogram calling M or T code, the M code is regarded
as a normal M code.
Up to ten M codes can be used for custom macro calling M codes.
 Sub program call by M code
An M code can be set by parameter to call a sub program. Instead of
commanding:
N_ G_ X_ Y_ … M98 P ; ,
the same operation can be performed simply by commanding:
N_ G_ X_ Y_ … MXX ;.
As for M98, M codes are not transmitted.
The M code XX for calling the sub program and the sub program
number delta delta delta delta to be called are coupled together and set
by parameter.
Maximum three M codes from M03 to M255 can be used for macro
call (M30 cannot be used).
Arguments cannot be transmitted. It also cannot be commanded in the
same block as the block with M98 command.
When these M codes are commanded in macro called by G code or in
subprogram called by M code or T code, they are regarded as ordinary
M codes.

113
18. CUSTOM MACRO NC FUNCTION B–62622EN/02

- Sub program call by T code


By setting parameter, sub program can be called by T codes. When
commanded:
N_ G_ X_ Y_ … Tt ; ,
the same operation is done as when commanded:
#149 = t;
N_ G_ X_ Y_ … M98 P9000; .
The T type code t is stored as arguments of common variable #149.
This command cannot be done in the same block with a sub program
calling M code, or with M98 command. The T code is not output.
When T code is commanded in macros called by G code, or in sub
programs called by M codes or T codes, the T code is treated as
ordinary T codes.
D Types of variables Variables are divided into local variables, common variables, and system
variables, according to their variable numbers. Each type has different use
and nature.
- Local variables #1 – #33
Local variables are variables used locally in the macro. Accordingly,
in case of multiples calls (calling macro B from macro A), the local
variable used in macro A is never destroyed by being used in macro
B.
- Common variables #100 – #149, #500 – #531
Compared with local variables used locally in a macro, common
variables are common throughout the main program, each sub
program called from the main program, and each macro. The common
variable #1 used in a certain macro is the same as the common variable
#i used in other macros. Therefore, a common variable #1 calculated
in a macro can be used in any other macros.
Common variables #100 to #149 are cleared when power is turned off,
but common variables #500 to #531 are not cleared after power is
turned off.

Notes
The range of common variables can be enlarged to #100 to
#199, and #500 to #999 by the option. See Section 18.2.

- System variables
A variable with a certain variable number has a certain value. If the
variable number is changed, the certain value is also changed.
The certain value are the following:
Z 16 points DI (for read only)
Z 48 points DO (for output only)
Z Tool offset amount, work zero point offset amount
Z Position information (actual position, skip position, block end
position, etc.)
Z Modal information (F code, G code for each group, etc.)
Z Alarm message (Set alarm number and alarm message, and the NC
is set in an alarm status. The alarm number and message is
displayed on the CRT.)

114
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO

Z A date (year, month, day) and time (hour, minute, second) are
indicated.
Z Clock (Time can be known. A time can also be preset.)
Z Single block stop, Miscellaneous function end wait hold
Z Feed hold, Feed rate override, Exact stop inhibition
ZThe number of machining parts is indicated. It can be preset.
D External output Value of variables or characters can be output to external devices via the
commands reader/puncher interface with custom macro command. Results in
measurement is output using custom macro.

D Limitations
- Usable variables
See 6) above.
- Usable variable values
Maximum : ±1047
Minimum : ±10-29
- Constants usable in <expression>
Maximum : ±99999999
Minimum : ±0.0000001
Decimal point allowed
- Arithmetic precision
8-digit decimal number
- Macro call nesting
Maximum 4 folds.
- Repeated ID numbers
1-3
- ( ) nesting
Maximum 5 folds.
- Sub program call nesting
8 folds (including macro call nesting)

115
18. CUSTOM MACRO NC FUNCTION B–62622EN/02

18.2 The range of common variables can be enlarged to #100 to #199, and #500
to #999 by the option.
INCREASED CUSTOM
MACRO COMMON Notes
VARIABLES The tape storage length is shortened by 8.5 m.

18.3 When custom macro interruption signal is input during automatic


operation, the block currently under execution is interrupted and the
INTERRUPTION TYPE specified custom macro is activated. After execution of this custom
CUSTOM MACRO macro, it returns to the interrupted block and continues execution of the
remaining commands.
:
M96P_ ;
: When custom macro interruption signal is input between M96 block
and M97 block, custom macro specified by P is activated.
M97;
:

116
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO

18.4 There are two types of NC programs; those which, once created, are
scarcely changed, and those which are changed for each machining type.
MACRO EXECUTER The former are programs created by the custom macro, and the latter are
FUNCTION machining programs. If programs of these types are executed
simultaneously, a battery may run out or the custom macro may be
destroyed by error operation.
Such problems can be solved by this function. The custom macro created
by a machine tool builder is converted to an execute-form program, be
cataloged in the ROM module, and be executed.

Features
 Since the program is cataloged after converted to an execute-form
program, the execution speed is high. The machining time is then
reduced, and the precision is improved.
 Since the program is cataloged in ROM, there is no problem of battery
extinction or custom macro destruction by error operation. The
reliability is improved.
 Since the cataloged program is not displayed on a program screen, the
know-how of the machine tool builder is protected.
 Since the custom macro is cataloged in ROM, the program edit
memory can be used efficiently.
 The user can call the macro easily without knowing the cataloged
program. A custom macro can be created and executed in the program
edit memory as usual.
 Before the program is cataloged in ROM, the operation can be checked
by using the RAM module.
 An original screen can be created by using the graphic display or
selecting screens by the soft key. The machine tool builder can extend
the control function by using such functions as machining program
creation and edit control, reader/punch interface control, and PMC
data read/write functions.

Notes
When the macro executor is attached, the order-made
macro cannot be specified.

117
18. CUSTOM MACRO NC FUNCTION B–62622EN/02

18.5 FANUC Series 16 provides many features, such as custom macros, macro
executors/compilers, and MMCs for adding the machine tool builder’s
C LANGUAGE unique functions to CNC software. In particular, the conversational
EXECUTER macro function of macro executors/compilers has been used by many
FUNCTION machine tool builders to customize CNC screens and include their own
unique conversational operations in CNCs. As with the conversational
macro function, the C language executor function is used to customize
screens and include unique operations. Application programs for display
and operation can be created in standard C language, in the same way as
programs are made for normal personal computers. A program compiled
on a personal computer is transferred and stored in flash ROM in the CNC
via a memory card. The program is read into memory upon activation of
the CNC, and executed by the C language executor.

Features
 Low–cost customization No special additional hardware is needed to run the C language executor
and application programs on FANUC Series 16–PB(*1). CRT/MDI units
from the 14–inch CRT/full–keyboard to the 9–inch CRT/small keyboard
can be used. User applications can be included in the current 16–PB
system.

Notes
The flash ROM/DRAM capacity may have to be increased.

 Application development Application programs can be developed using an ordinary personal


on a personal computer computer. Program development, from program creation and editing to
compilation/linkage, can also be performed on a personal computer. And,
to a certain extent, debugging is also possible on the personal computer.

 High compatibility with C Microsoft Corporation’s C compiler (MS–C) is employed as the C


language application language compiler. It is the de–facto standard C compiler for personal
programs for personal computers. The function library provided by the C language executor has
computers excellent compatibility with the ANSI standards and MS–C. Therefore,
application programs for ordinary personal computers can be transported
to the CNC, except when they are dependent on particular hardware.

 Integration of CNC An application program created by the machine tool builder is executed
software and as one task of the CNC software. The application program can display
applications its own screens in place of existing CNC screens. In addition, the
application program can read and write CNC system data via libraries
provided by the C language executor. This enables operation of the
application program to be integrated with CNC software.

 Using the C language The C language executor can be used with the 16–PB macro executor. Not
executor with the macro only executable macros, but also conversational macros can be used
executor together. The screen display portion of a macro program already created
by the machine tool builder can be replaced with a program coded in C.
This can prevent existing software resources from becoming useless.

118
19. FUNCTIONS FOR HIGH SPEED
B–62622EN/02 NC FUCNTION CUTTING

19 FUNCTIONS FOR HIGH SPEED CUTTING

119
19. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–62622EN/02

19.1 This function automatically decelerates the tool at a corner according to


the corner angle. It can prevent a large sag caused by acceleration/
AUTOMATIC CORNER deceleration and servo delay on the junction of two blocks.
DECELERATION If the angle made by two consecutive blocks is less than the angle set by
the parameter in the cutting mode (G64), the speed is automatically
reduced at the end of the block. When the speed is reduced to the value
set by the parameter or lower, movement of the next block starts.

Block B +Y

Block A

+X

Speed
X axis Y axis

ÇÇÇ
ÇÇ
ÇÇÇÇ
Speed set by parameter
ÇÇÇ
ÇÇ
ÇÇÇÇ
ÇÇÇ
t Time

120
19. FUNCTIONS FOR HIGH SPEED
B–62622EN/02 NC FUCNTION CUTTING

19.2 The machine is accelerated/decelerated automatically when the


movement is started/stopped, so that the machine system should not be
FEEDRATE CLAMP applied with any shock. When programming, therefore, no consideration
BY CIRCULAR needs to be made for acceleration/deceleration.
RADIUS Especially when performing the high-speed arc cutting, however, the
actual tool passage may bring about some error against the designated arc
during circular interpolation due to this automatic acceleration/
deceleration.
This error can approximately be given by the following formula;

Y ∆r

Command path

Actual path

2
r + 1 (T 1 ) T 2 ) Vr
2 2
. . . . . . . (1)
2

∆r : Maximum value of radius error (mm)


v : Feedrate (mm/sec)
r : Circular radius (mm)
T1 : Acceleration/deceleration time constant (sec)
T2 : Time constant of servo motor (sec)

When performing the actual machining, the actual arc machining radius
(r) and tolerance (delta r) are given, therefore, the maximum permissible
speed v (mm/min.) can be given by the formula-(1).
”Feedrate clamp by circular radius” is such function that the circular
cutting feed is automatically clamped when the feedrate designated may
exceed the permissible tolerance to radial direction against the circular arc
having optional radius designated by the program.

121
19. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–62622EN/02

19.3 This function is designed for high–speed precise machining. With this
function, the delay due to acceleration/deceleration and the delay in the
LOOK–AHEAD servo system which increase as the feedrate becomes higher can be
CONTROL (G08) suppressed.
The tool can then follow specified values accurately and errors in the
machining profile can be reduced.
This function becomes effective when look–ahead control mode is
entered.

Format
G08 P_ ;

P1 : Turn on look–ahead control mode.


P0 : Turn off look–ahead control mode.

in look–ahead control mode, the following functions are available :


 Linear acceleration/deceleration before interpolation
 Automatic corner deceleration function
 Block overlap function

122
19. FUNCTIONS FOR HIGH SPEED
B–62622EN/02 NC FUCNTION CUTTING

19.4
REMOTE BUFFER

19.4.1 When the remote buffer is connected to the host computer or input/output
Remote Buffer (only at device via serial interface, a great amount of data can be sent to CNC
consecutively at a high speed.
1–path Control)

RS–232–C / RS–422 Host


Remote computer
CNC buffer

Input/output
device

The remote buffer enables the following operations:

D When connected to the host computer online, it performs DNC


operation with high reliability and at a high speed.
D The NC program and parameters can be down-loaded from the host
computer.
D When connected to an input/output device, it enables DNC operation,
and various data can be down-loaded. The following input/output
devices can be connected.
- FANUC PPR
- FANUC FA Card
- FANUC FLOPPY CASSETTE
- FANUC PROGRAM FILE Mate
. - FANUC Handy File
Hereafter, the device to which the remote buffer is connected is called
the host computer.

Explanations
D Interface between the
remote buffer and host - Electrical interface
computer The following two types of interface are prepared as standard
specifications.
S RS-232-C Interface
S RS-422 Interface
RS-233-C RS-422

Serial voltage interface (start- Balanced transmission serial


Interface
stop) interface (start-stop)

Baud rate 50 to 19,200 baud 50 to 86,400 baud(*1)

4800 baud or less Approx. 800 m (9600 baud or


Cable
9600 baud less)
length
Varies according to I/O device. 19,200 baud or more

123
19. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–62622EN/02

 Software interface The following three protocols are prepared as the communication
protocols between the remote buffer and host computer. The protocol can
be selected by a parameter according to the specifications of the device
to be connected.
Maximum
Protocol Features Interface
transfer rate

Protocol A Handshake method. Sending and RS-232-C 19200 BPS


receiving are repeated
re eated between two
stations. RS-422 86400 BPS

Extended Similar to protocol A. Enables high- RS-422 86400 BPS


protocol A speed transfer of the NC program to
meet high-speed DNC operation.

Protocol B Controls communication with control RS-232-C 19200 BPS


codes out
output
ut from the remote buffer.
buffer
RS-422 86400 BPS

Notes
1 The average data transfer rate is lower than the maximum
transfer rate.

124
B–62622EN/02 NC FUCNTION 20. AXES CONTROL

20 AXES CONTROL

125
20. AXES CONTROL NC FUNCTION B–62622EN/02

20.1 Normally, the machine is controlled to move to a commanded position.


However, when the follow up function is applied, actual position in the
FOLLOW UP CNC is revised according to the move of the machine.
FUNCTION Follow up function is activated when:
- Emergency stop is on
Because machine movement during the emergency stop is reported, the
actual position of the machine is reflected in the CNC. Therefore,
machining can be resumed after the emergency stop has been deactivated,
without performing the reference point return again.
However, when a trouble has generated in the position detection system,
the system cannot follow up correctly. So present position in CNC does
not become correct value.
By input signal (follow up signal) from PMC follow up function can also
be applied to:
- Servo off
status. It is also valid in cases when the machine is moved with a
mechanical handle.

20.2 It is possible to move the machine by hand, using the mechanical handle
installed on the machine; not by the NC (servo motor).
MECHANICAL Move distance by the mechanical handle is followed up and actual
HANDLE FEED position in The NC is revised. The mechanical handle feed is done by
inputting the servo off signal of the axis fed. It is necessary, however, to
specify following up of the movement in the servo off status with the
follow up signal.

20.3 Servo on/off control per axis is possible by input signals from PMC. This
function is generally used with the machine clamp.
SERVO OFF

20.4 The MDI-commanded or the program-commanded move direction of


each axis can be reversed and executed.
MIRROR IMAGE Mirror image is set by CRT/MDI setting or by input signals from PMC.
Mirror image can be applied to each axis.

20.5 It is possible to detach or attach rotary tables and attachments with this
function. Switch control axis detach signal according to whether the
CONTROL AXIS rotary tables and attachments are attached or detached. When this signal
DETACH is on, the corresponding axis is excluded from the control axes, so the
servo alarm applied to the axis are ignored. The axis is automatically
regarded as being interlocked. This signal is not only accepted when
power turned is on, so automatic change of attachments is possible any
time with this function.
The same switching as with this signal can also be performed with the
MDI setting.

126
B–62622EN/02 NC FUCNTION 20. AXES CONTROL

20.6 The traveling command of master axis is given to two motors of master
and slave axes in a simple synchronous control. However, no
SIMPLE synchronous error compensation or synchronous error alarm is detected
SYNCHRONOUS for constantly detecting the position deviation of the master and slave
CONTROL axes to compensate the deviation.
Simple synchronous operation is allowed in the automatic operation and
in the manual operation such as manual continuous feed, manual handle
feed, incremental feed, or manual reference point return.
In the manual reference point return, the master and slave axes similarly
move until the deceleration operation is performed. After that, the
detection of grid is performed independently.
The pitch error and backlash compensation are independently performed
for the master and slave axes.
An input signal from PMC can be select whether the slave axis traveling
is carried out based on the traveling command for that axis as in normal
case or whether the slave axis traveling is carried out while synchronizing
with the traveling of the master axis.

127
20. AXES CONTROL NC FUNCTION B–62622EN/02

20.7 This function usually checks position deviation amount during motion.
If the amount exceeds the parameter set ”feed stop position deviation
FEED STOP amount”, pulse distribution and acceleration/deceleration control is
stopped for the while exceeding, and move command to the positioning
control circuit is stopped.
The overshoot at rapid feed acceleration is thus kept to a minimum.

Speed
Specified speed
Actual speed

Time

Feed stop

128
B–62622EN/02 NC FUCNTION 20. AXES CONTROL

20.8
C AXIS CONTROL
Cxx+∆θx (n–1)
Cxx+∆θ

#2
Cxx
#n

#1

∆θ
θ

G77Ir Jθ P∆θ Kn Cxx ;

The angle position of the die (Tool) can be altered by the command from
tape, memory, and MDI.
In the past, a plurality of dies were required when the location was
different, even when the die shape was the same, but one die is sufficient
by optionally changing the die angle position, and 4 corners of a work can
be chamfered with a single die, thus reducing the die change time. In the
bolt hole circle, arc pattern function, and circular nibbling, the C-axis is
controlled automatically so that one side of a die always faces the center
of the circle at each hole position.

20.8.1 C-axis command is always regarded as an absolute command regardless


Relation with of incremental command (G91) and absolute command (G90).
Absolute/Incremental
Command (G90/G91)

20.8.2 C axis can be automatically positioned to the commanded position in the


Positioning to Smaller smaller rotation angle from the present position.
Angle Rotation
Direction

20.8.3 This function allows a T command to be executed after positioning the


Relation Between T C-axis to the reference point automatically when the T command is
specified on the tape, memory or MDI if the T-axis can move only when
Command and C Axis the C-axis is at the reference point (the fixed position on the machine at
Command which C-axis can be reached by the manual reference point return).

20.8.4 Synchronous C-axis control can be performed for the punch and die by
Controlling the punch effecting control using either the same servo motor or separate servo
motors.
and die
129
20. AXES CONTROL NC FUNCTION B–62622EN/02

20.9 Any axis can be released from the control of CNC and directly controlled
from PMC. That is, input of commands such as moving distance and feed
AXIS CONTROL WITH rate commands from PMC allows the axis to move independently of other
PMC axes moving under control of CNC. Therefore, use of an axis of CNC
enables control of peripheral devices such as a turret, pallet, and index
table. Which of CNC and PMC controls each axis can be selected by the
input signal.
The following operations can be directly controlled from PMC:
 Rapid traverse with the specified moving distance.
 Cutting feed with the specified moving distance.
 The feed rate and override can also be specified.
 The cutting feed can be started simultaneously with another PMC
control axis.
 Reference point return.
 Positioning on a machine coordinate point.
 Dwell

130
B–62622EN/02 NC FUCNTION 21. MANUAL OPERATION

21 MANUAL OPERATION

131
21. MANUAL OPERATION NC FUNCTION B–62622EN/02

21.1
MANUAL FEED  Jogging
Each axis can be moved in the + or - direction for the time the button
is pressed. Feed rate is the parameter set speed with override of:
0 - 655.34%, 0.01% step.
The parameter set speed can be set to each axis.
 Manual rapid feed
Each axis can be fed in a rapid feed to the + or - direction for the time
the button is pressed.
Rapid traverse override is also possible.

21.2 Specified move amount can be positioned to the + or - direction with the
button.
INCREMENTAL FEED Move amount of:
(least command increment) x (magnification)
can be specified. The feed rate is that of manual feed.
The possible magnifications to be specified are as follows.
×1, ×10, ×100, ×1000.

Increment system Metric input Inch input

IS–A 0.01, 0.1, 1.0, 10.0 0.001, 0.01, 0.1, 1.0

IS–B 0.001, 0.01, 0.1, 1.0 0.0001, 0.001, 0.01, 0.1

21.3 By rotating the manual pulse generator, the axis can be moved for the
equivalent distance. Manual handle feed is controlled 1 axis at a time.
MANUAL HANDLE The manual pulse generator generates 100 pulses per rotation. Move
FEED (1ST) amount per pulse can be specified from the following magnifications:
×1, ×10, ×M, ×N.
N is parameter set values of 0 - 1000. M is parameter set values of 1–127.
Move distance is :
(Least command increment) x (magnification)

Increment system Metric input Inch input

IS–A 0.01, 0.1, M/1000, 0.001, 0.01, M/10000,


N/1000 mm N/10000 inch

IS–B 0.001, 0.01, M/10000, 0.0001, 0.001, M/100000,


N/1000 mm N/100000 inch

21.4 A 2nd, as well as 3rd manual pulse generator can be rotated to move the
axis for the equivalent distance. Manual handle feed of 3 axes can be done
MANUAL HANDLE at a time. Multiplier is common to 1st, 2nd and 3rd manual pulse
FEED (2ND, 3RD) generators.
Although manual handle feed is usually enabled only in the manual
handle-feed mode, it can also be performed in the manual continuous-feed
mode by setting the corresponding parameters. However, manual
continuous-feed and manual handle-feed cannot be performed
simultaneously. Manual handle-feed can be performed only when manual
continuous-feed is in progress (i.e., an axis is moving).

132
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION

22 AUTOMATIC OPERATION

133
22. AUTOMATIC OPERATION NC FUNCTION B–62622EN/02

22.1
OPERATION MODE

22.1.1 The part program can be read and executed block by block from the input
Tape Operation device connected to the reader/puncher interface.

22.1.2 Program registered in the memory can be executed.


Memory Operation

22.1.3 Multiple blocks can be input and executed by the CRT/MDI unit.
MDI Operation

134
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION

22.2
SELECTION OF
EXECUTION
PROGRAMS

22.2.1 Program number currently in need can be searched from the programs
Program Number registered in memory operating the CRT/MDI.
Search

22.2.2 The sequence number of the program on the currently selected memory
Sequence Number can be searched using the CRT/MDI unit.
When executing the program from half-way (not from the head) of the
Search program, specify the sequence number of the half-way program, and the
program can be executed from the half-way block by sequence number
search.

22.2.3 After program execution has ended, the program in the memory or the
Rewind tape reader can be reminded to the program head, with this reset & rewind
signal on. (When a portable tape reader with reels is in use)

22.2.4 By specifying work numbers of 01 - 15 externally (from the machine side,


External Workpiece etc.), program corresponding to the work number can be selected.
The work number equals the program number. For example when work
Number Search number 12 is specified, program, O0021 is selected.

135
22. AUTOMATIC OPERATION NC FUNCTION B–62622EN/02

22.3
ACTIVATION OF
AUTOMATIC
OPERATION

22.3.1 Set operation mode to memory operation, MDI operation, or tape


Cycle Start operation, press the cycle start button, and automatic operation starts.

136
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION

22.4
EXECUTION OF
AUTOMATIC
OPERATION

22.4.1 Buffer register equivalent to one block is available for program read and
Buffer Register control of NC command operation intervals caused by preprocess time.

137
22. AUTOMATIC OPERATION NC FUNCTION B–62622EN/02

22.5
AUTOMATIC
OPERATION STOP
22.5.1 Automatic operation is stopped after executing the M00 (program stop)
Program Stop commanded block. When the optional stop switch on the operator’s panel
is turned on, the M01 (optional stop) commanded block is executed and
(M00, M01) the automatic operation stops.
The automatic operation can be restarted by the cycle start button.

22.5.2 The NC is reset after executing the M02 (end of program) or M30 (end
Program End of tape) commanded block.
(M02, M30)

22.5.3 During program operation, when the block with a preset sequence number
Sequence Number appears, operation stops after execution of the block, to a single block stop
status. The sequence number can be set by the operator through the
Comparison and Stop cRT/MDI panel. This function is useful for program check, etc., because
program can be stopped at optional block without changing the program.

22.5.4 The NC can be brought to an automatic operation hold status by pressing


Feed Hold the feed hold button on the operator’s panel. When feed hold is
commanded during motion, it decelerates to a stop.
Automatic operation can be restarted by the cycle start button.

22.5.5 The automatic operation can be ended in a reset status by the reset button
Reset on the CRT/MDI panel or by the external reset signal, etc. When reset is
commanded during motion, it decelerates to a stop.

138
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION

22.6
MANUAL
INTERRUPTION
DURING AUTOMATIC
OPERATION

22.6.1 During automatic operation, tool can be adjusted by the manual pulse
Handle Interruption generator without changing the mode. The pulse from the manual pulse
generator is added to the automatic operation command and the tool is
moved for the recommended pulses.
The work coordinate system thereafter is shifted for the pulse commanded
value. Movement commanded by handle interruption can be displayed
on the CRT screen.

139
22. AUTOMATIC OPERATION NC FUNCTION B–62622EN/02

22.7 Any of the files (programs) stored on a Floppy Cassette (FANUC


CASSETTE F1) can be selected and executed.
SCHEDULING
 A list of the files stored on the Floppy Cassette can be displayed.
FUNCTION
 Files can be executed in an arbitrary order and executed an arbitrary
number of times by specifying file numbers in a desired order along
with their repeat counts.

File list screen

FILE DIRECTORY F0004 N00020


CURRENT SELECTED:O0002
NO. FILE NAME (METER) VOL
0000 SCHEDULE
0001 PARAMETER 46.1
0002 ALL.PROGRAM 12.3
0003 O0001 1.9
0004 O0002 1.9
0005 O0003 1.9
0006 O0004 1.9
0007 O0005 1.9
0008 O0010 1.9

RMT **** *** *** 09:36:48


[ SELECT ][ ][ ][ ][ ]

Schedule screen (for specifying file numbers and repeat counts)

FILE DIRECTORY F0000 N00020


ORDER FILE NO. REQ.REP CUR.REP
01 0001 2 0
02 0007 25 0
03 0008 6 0
04 0011 9999 0
05 0012 LOOP 0
06
07
08
09
10

>_
RMT **** *** *** 09:36:48
[ PRGRM ][ ][ DIR ][ SCHDUL ][ (OPRT) ]

140
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION

22.8 While a tape is running, a program input from an I/O device connected
to the reader/punch interface can be executed and stored in memory.
SIMULTANEOUS Similarly, a program stored in memory can be executed and output
INPUT AND OUTPUT through the reader/punch interface at the same time.
OPERATIONS

141
23. PROGRAM TEST FUNCTIONS NC FUNCTION B–62622EN/02

23 PROGRAM TEST FUNCTIONS

142
B–62622EN/02 NC FUCNTION 23. PROGRAM TEST FUNCTIONS

23.1 In machine lock condition, the machine does not move, but the position
display is updated as if the machine were moving. Machine lock is valid
ALL-AXES MACHINE even in the middle of a block.
LOCK

23.2 Machine lock can be commanded per axis.


MACHINE LOCK ON
EACH AXIS

23.3 This function inhibits transmitting of M, S, T, B function code signals and


strobe signals to PMC. The decoded DM00, DM01, DM02, and DM30
AUXILIARY signals can be transmitted under this miscellaneous function lock.
FUNCTION LOCK

23.4 In the dry run mode, the tool moves at the speed obtained by multiplying
the dry run speed by the override value for manual feeding, regardless of
DRY RUN the specified cutting federate. The dry run speed is specified in the
corresponding parameter. However, the rapid traverse command (G00)
and rapid traverse override value are effective.
Dry run can also be commanded to rapid feed command (G00) by
parameter setting.

23.5 The program can be executed block by block under automatic operation.
SINGLE BLOCK

143
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02

24 SETTING AND DISPLAY UNIT

144
B–62622EN/02 NC FUCNTION 24. SETTING AND DISPLAY UNIT

24.1 The following CRT/MDI panels are available.


SETTING AND  9-inch small monochrome/color CRT/MDI panel (horizontal)
DISPLAY UNIT  9-inch monochrome/color CRT/MDI panel (horizontal)
 9.5-inch color LCD/MDI panel (horizontal)
 9.5-inch color LCD/MDI panel (vertical)
 14-inch color CRT/MDI panel (horizontal)
 14-inch color CRT/MDI panel (vertical)

145
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02

24.1.1
9-inch Small
Monochrome/Color
CRT/MDI Panel
(Horizontal)

(5) ADDRESS/NUMERIC KEYS


(10) FUNCTION KEYS

FANUC Series 16-P

(6) SHIFT KEY


(8) CANCEL KEY
(7) INPUT KEY

(9) EDIT KEYS

(3) HELP KEY

(2) RESET KEY

(4) SOFT KEYS (12) PAGE–UP/DOWN KEYS


(11) CURSOR KEYS

146
B–62622EN/02 NC FUCNTION 24. SETTING AND DISPLAY UNIT

24.1.2
9-inch
Monochrome/Color
CRT/MDI Panel
(Horizontal)

(2) RESET KEY


(3) HELP KEY (5) ADDRESS/NUMERIC KEYS
FANUC Series 16-P

(9) EDIT KEYS

(8) CANCEL KEY

(7) INPUT KEY

(1) POWER ON/OFF BUTTONS (12) PAGE– (10) FUNCTION KEYS


(4) SOFT KEYS
(6) SHIFT KEY UP/DOWN (11) CURSOR KEYS
KEYS

147
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02

24.1.3
9.5-inch Color LCD/MDI
Panel (Horizontal)

(10) FUNCTION KEYS (5) ADDRESS/NUMERIC KEYS

FANUC Series 16-P

(8) CANCEL KEY


(6) SHIFT KEY
(7) INPUT KEY

(3) HELP KEY


(2) RESET KEY

(12) PAGE–UP/DOWN KEYS (9) EDIT KEYS


(4) SOFT KEYS
(1) POWER ON/OFF BUTTONS (11) CURSOR KEYS

24.1.4
9.5-inch Color LCD/MDI
Panel (Vertical)
(1) POWER ON/OFF BUTTONS
FANUC Series 16-P

(4) SOFT KEYS

(2) RESET KEY


(10) FUNCTION KEYS

(3) HELP KEY (9) EDIT KEYS

(11) CURSOR KEYS


(6) SHIFT KEY

(5) ADDRESS/NUMERIC KEYS (12) PAGE–UP/DOWN KEYS


(8) CANCEL KEY (7) INPUT KEY

148
B–62622EN/02 NC FUCNTION 24. SETTING AND DISPLAY UNIT

24.1.5
14-inch Color CRT/MDI
Panel (Horizontal)
(2) RESET KEY (3) HELP KEY
(5) ADDRESS/NUMERIC KEYS

FANUC Series 16-P

(6) SHIFT KEY

(9) EDIT KEYS

(7) INPUT KEY


(8) CANCEL KEY
(10) FUNCTION KEYS

(11) CURSOR KEYS

(1) POWER ON/OFF BUTTONS (4) SOFT KEYS (12) PAGE–UP/DOWN KEYS

24.1.6
14-inch Color CRT/MDI
Panel (Vertical)
FANUC Series 16-P

(4) SOFT KEYS

(2) RESET KEY


(10) FUNCTION KEYS
(3) HELP KEY (9) EDIT KEYS
(11) CURSOR KEYS

(6) SHIFT KEY (12) PAGE–UP/DOWN KEYS


(1) POWER ON/OFF BUTTONS (7) INPUT KEY
(5) ADDRESS/NUMERIC KEYS (8) CANCEL KEY

149
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02

24.2
EXPLANATION OF
THE KEYBOARD
No. Key Function

Power on/off buttons Used to turn on or off the power to the CNC.
(1)

Reset key Used to reset the CNC to release an alarm or other similar state.
(2)

Help key Used to get help with operations such as for the MDI keys, when the op-
(3) erator does not know what to do next.

Soft keys The soft keys are assigned different functions depending on the applica-
tion.
(4)
The functions currently assigned to the soft keys are displayed on the
lowermost line of the screen.

Address/numeric keys Used to enter letters and numbers.


(5)

Shift key Some of the address keys have two different letters. When the shift key is
pressed first before pressing one of these address keys, the lower-right
(6)
letter is input. When the shift key is pressed, ^ is displayed in the key in-
put buffer indicating that the lower-right letter will be input.

Input key Data input by pressing an address or numeric key is stored in the key
input buffer, then displayed on the CRT. When data input to the key input
(7)
buffer needs to be written to the offset register, press the <INPUT> key.
This key is equivalent to soft key [INPUT]. Either key may be used.

Cancel key Used to delete letters or numbers input to the key input buffer.
Example)
(8)
When N001X100Z is displayed on the key input buffer, pressing the can-
cel key deletes the letter Z, and N001X100 is displayed.

Edit keys Used to edit programs.

: Alter

(9) : Insert

: Delete

Function keys Used to switch screens for each function.


(10)

150
B–62622EN/02 NC FUCNTION 24. SETTING AND DISPLAY UNIT

No. Key Function

Cursor keys Four cursor keys are provided.

: Moves the cursor to the right or forwards in small units.

(11) : Moves the cursor to left or backwards in small units.

: Moves the cursor downward or forwards in large units.

: Moves the cursor upward or backwards in large units.

Page-up/down keys Page-up and page-down keys are provided.

: Used to display the next page on the CRT.


(12)

: Used to display the previous page on the CRT.

24.2.1 The function keys select what is displayed on the CRT. Each function is
Explanation of the divided into sub-functions, and the sub-functions are selected by soft
keys.
Function Keys
There are six function keys : POS , PROG , OFFSET
SETTING , SYSTEM
, MESSAGE , and GRAPH .

POS : Displays the current position.

PROG : Displays and edits a program stored in memory.

OFFSET
SETTING : Displays an offset value, offset from the workpiece zero point,
custom macro variable, and tool life management data. Allows
data to be input into these items.
SYSTEM
: Displays and sets a parameter and pitch error compensation
value, and displays self diagnostic data.
MESSAGE : Displays an alarm message, external operator message, external
alarm message, and alarm history.
GRAPH : Displays graphic data.

151
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02

24.2.2 The 14-inch CRT and 9.5-inch LCD have 10 soft keys, a next-menu key
Explanation of the Soft on the right, and a previous-menu key on the left. The next menu key and
previous menu key are used to select the functions of the soft keys. The
Keys 9-inch CRT has five soft keys, a next-menu key on the right, and a
previous-menu key on the left.
These soft keys can be assigned with various functions, according to the
needs.
The following functions are mainly available via the CRT/MDI panel:
 Actual position display
 Contents of program display, program directory display (display of
program number, program name, part program storage length left,
number of programs left)
 Program editing
 Offset amount display and setting
 Commanded value display, MDI input
 Parameter setting and display
 Alarm message/operator message display
 Custom macro variables display and setting
 Tool life management data display and setting
 Diagnosis
 Others

152
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA

25 DISPLAYING AND SETTING DATA

153
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02

25.1 The following data are displayed on the CRT screen. One 9” CRT screen
can display maximum 640 characters (40 × 16 lines) and one 14” CRT
DISPLAY screen can display maximum 2080 (80 × 26 lines).

Explanations
D Indication of statuses The status of the control unit is indicated on the screen. Statuses include
the state when an alarm is being activated or when the system is in the edit
mode. The status line is displayed right above the soft key line.


––EMG–– OUTPUT

    
Status
EDIT STOP MTN FIN ALM hh:mm:ss HEAD1 line
Soft key
line

 Operation mode (MDI, MEM, RMT, EDIT, HND, TJOG, THND,


INC, or REF)
 Status of automatic operation (STOP, HOLD, STRT, or ****)
***** : Reset
STOP : Automatic operation is in a stopped state.
HOLD : Automatic operation is in a halt state.
STRT : Automatic operation has been started.
 Axis movement/dwell (MTN, DWL, or ***)
 FIN wait state (FIN or ***)
 Emergency stop (--EMG--) (displayed above in 3 and 4)
 Alarm status (ALM, WNG, or ***)

Clock (hh:mm:ss)
Status display such as program editing (INPUT, OUTPUT, SRCH,
EDIT, LSK, or RSTR)

D Key input display Data input via the address keys or the numerical keys are displayed at the
left lower part of the screen.
D Program number, Program number, sequence number is displayed on the right upper part
sequence number of the screen.
display
D Alarm display Alarm number and its contents are displayed briefly.
D Alarm message display Alarm message contents are displayed.
D Present position display Relative position and position in the work coordinates are displayed in
3-times magnified characters.
D Total position display Relative position, position in the work coordinates, position in the
machine coordinate, and remaining move distance are displayed in one
screen.
D Command value display The following two displays are performed.

154
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA

 Previously commanded modal value and command value to be


executed (ACTIVE)

 Command value of the next block

 Setting (parameter set by Displays setting value.


the operator) display

 Tool offset amount Displays offset value. Relative position is also displayed at the same time.
display
 Program display  Display of program for editing.
 Display of program currently under execution.
 Display of program list.
A list of program number, program name, and size of programs stored
in the memory is displayed.
Remaining memory size is also displayed.

 Parameter display

 Self diagnosis result


display

 Custom macro variables


display

 Operator message,
external operator
message, external alarm
message display

 Actual speed and actual  Actual federate per minute (mm/min or inch/min)
spindle speed  Actual spindle speed (rpm)

 Program check screen The following are displayed on one screen.


 Program number on execution
 Sequence number on execution
 Program text on execution
 Current position
 Modal G codes
 Modal M codes
 T code
 Actual federate and spindle speed
 Status

 Operating monitor The load values (torque values) of servo motor are displayed in bar chart
display on the CRT.
The most recent sampling values are displayed in bar chart display. Set
the rated load value of motor corresponding to each load meter to
parameters. The load meter displays 100% when the load value is the
rated load value.
The load meter can be displayed up to three servo motor axes and a
parameter can be used to select any one of three axes.

155
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02

D Displaying the alarm A maximum of 25 of the most recent alarms generated in CNC can be
history recorded. Each alarm record consists of the following items:
- Date and time
- Alarm number
- Alarm message
Any of the records can be deleted from the alarm history.
In addition, the operator message history can be displayed.

ALARM HISTORY O0100 N00001

94. 02. 14 16:43:48


010 IMPROPER G–CODE
94. 02. 13 8:22:21
506 OVER TRAVEL :+1
94. 02. 12 20:15:43
417 SERVO ALARM :X AXIS DGTL PARAM

MEM **** *** *** 09:36:48


[ ALARM ][ MSG ][ HISTORY ][ ][ (OPRT) ]

156
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA

25.2 The Japanese, English, German, French, Italian, Spanish, Chinese, and
Korean are prepared as display languages. Select the language to be
LANGUAGE displayed by parameters.
SELECTION

25.3 Time is displayed in the hour/minute/second format on each display


screen. Some screens allows display of the year, month, and day.
CLOCK FUNCTION The custom macro system variable can be used to read the time. The time
will be told through the window at PMC side.

25.4 This function displays the integrated power-on time, the integrated cycle
operation time, the integrated cutting time and timer on the cRT display
RUN TIME & PARTS screen. The integrated cycle operation time, the integrated cutting time
NUMBER DISPLAY and timer can be altered and preset, using the MDI.
In addition to the above, this function displays the count of the total
number of parts machined, the number of parts required and the number
of parts on the CRT screen. Each time M02, M30 or a parameter set M
code is executed, the count of the total in memory is incremented by 1.
If a program is prepared so as to execute M02, M30 or a parameter set M
code each time one part machining is completed, the number of parts
machined can be counted automatically.
If the count of the number of parts reaches the number of parts required,
a signal is output to the PMC side.
It is possible to change and preset the number of parts required and the
number of parts counted, using MDI.
The number of required parts and the number of counted parts can be read
and written using custom macro variables. These values can also be read
using the external data input function.

SETTING(TIMER) O0000 N00000

PARTS TOTAL = 0
PARTS REQUIRED = 25
PARTS COUNT = 10

POWER ON = 0H 0M
OPERATING TIME = 0H 0M 0S
CUTTING TIME = 0H 0M 0S
FREE PURPOSE = 0H 0M 0S
CYCLE TIME = 0H 0M 0S
DATE = 1994/09/25
TIME = 16:20:30
>_
MDI **** *** *** 16:20:30
[ OFFSET ][ SETTING ][ ][ ][ (OPRT) ]

157
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02

25.5 In this function, functions of switches on the machine operator’s panel is


done by operation on the CRT/MDI panel. Mode selection and jogging
SOFTWARE override, etc. can be operated by setting operation via the CRT/MDI panel
OPERATOR’S PANEL with this function, thus allowing commitance of corresponding switches
on the machine operator’s panel.
This function is valid only when the screen is displayed with operator’s
panel. Move cursor with the cursor operation keys, and select various
operations, viewing the screen.
The following operations can be done via the CRT/MDI panel:
A Model selection
Manual pulse generator feed axis selection (available only with
manual handle 1)
B Move distance selection per pulse of manual pulse generator
Rapid traverse override
C Jogging speed override
Feed rate override
Optional block skip (Block delete)
Single block
Machine lock
Dry run
E Memory protect
F Feed hole
G Jogging/incremental feed axis direction selection
Manual rapid traverse selection
H General-purpose switch: Eight general-purpose switches are provided
and each of these
switches can be named by up to eight alphanumeric characters.
There is a parameter per groups A to G shown above, which decides
validity of operation function by CRT/MDI panel.

OPERATOR’S PANEL O0000 N00000

MODE : MDI AUTO EDIT STEP JOG ZRN

STEP MULT. :
*1 *10 *100
RAPID OVRD. :
100% 50% 25% F0
JOG FEED :1.0%
****************
FEED OVRD. : 140%
******
ACTUAL POSITION (ABSOLUTE)
X 0.000 Z 0.000

S 0 T0000
EDIT **** *** *** 09:36:48
[ MACRO ][ ][ OPR ][ TOOLLF ][ ]

158
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA

OPERATOR’S PANEL O0000 N00000

BLOCK SKIP : OFF ON


SINGLE BLOCK : OFF ON
MACHINE LOCK : OFF ON
DRY RUN : OFF ON
PROTECT KEY : PROTECT RELEASE
FEED HOLD : OFF ON

ACTUAL POSITION (ABSOLUTE)


X 0.000 Z 0.000

S 0 T0000
EDIT **** *** *** 09:36:48
[ MACRO ][ ][ OPR ][ TOOLLF ][ ]

159
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02

25.6 File names in the floppy cassette (FANUC CASSETTE F1) and program
file (FANUC PROGRAM FILE Mate can be listed on the CRT display
DIRECTORY DISPLAY (directory display). Each file name of up to 17 letters can be displayed
OF FLOPPY in directory display.
CASSETTE/ Files in the floppy cassette are:
NC command program, NC parameter/pitch error compensation data,
PROGRAM FILE
tool compensation data, and etc.
When NC program in part program memory is written into the floppy
cassette, program number can be given to it as a file name. When NC
parameter is written into the floppy cassette, ”PARAMETER” is given
them as a fixed name. When tool compensation data is written into the
floppy cassette, ”OFFSET” is given to it as a fixed name.

DIRECTORY(FLOPPY) O0000 N00000


NO. FILE NAME (METER) VOL
0001 PARAMETER 46.1
0002 ALL.PROGRAM 12.3
0003 O0001 1.9
0004 O0002 1.9
0005 O0003 1.9
0006 O0004 1.9
0007 O0005 1.9
0008 O0010 1.9
0009 O0020 1.9

EDIT **** *** *** 09:36:48


[ F SRH ][ READ ][ PUNCH ][DELETE ][ ]

160
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA

25.7
GRAPHIC DISPLAY
FUNCTION
25.7.1 This function allows display of tool path on the CRT screen, making
Graphic Display program check easier.
Function  Tool path of the machining program can be displayed. Machining
process can be checked just by viewing the tool path drawing on the
CRT screen.
Program check before machining can be done by displaying the
programmed locus on the CRT screen.

Tool path drawing

GRAPHIC 03333 N00025


X 0.000
Y 0.000

426.666
S 0 T0001
MEM **** *** *** 15:13:48
[ START ] [ STOP ] [ SBK ] [ } ][ ERASE ]

161
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02

25.8 The waveforms of servo data items (errors, torques, timing pulses, etc.)
and signals between the CNC and the PMC can be displayed.
SERVO WAVEFORM
FUNCTION
WAVE DIAGNOS. (GRAPHIC)) O0000 N00000

MDI **** *** ***


[ START ][ TIME→][ ←TIME][ H–DOBL ][ H–HALF ]

On this screen, the sampling period (6 to 32767 ms) and drawing start
conditions can be specified.

162
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA

25.9
SCREENS FOR
SERVO DATA AND

25.9.1 On the servo setting screen, parameters required for standard initialization
Servo Setting Screen of the servo motor are listed. The parameters can also be set.

SERVO SETTING O0000 N00000

X AXIS Y AXIS
INITIAL SET BIT 00000011 00000001
MOTOR ID NO. 12 12
AMR 00011111 00011111
CMR 2 2
FEEDGEAR N 3 3
(N/M) M 10 10
DIRECTION SET 111 111
VEROCITY PULSE NO. 8000 8000
POSITION PULSE NO. 8000 8000
REF COUNTER 8000 8000

MEM STAT MTN FIN ALM 09:36:48


[ SV.SET ][ SV.TUN ][ ][ ][ (OPRT) ]

25.9.2 On the servo adjustment screen, parameters required for basic adjustment
Servo Adjustment of the servo motor and statuses being monitored are listed for each axis.
Screen
SERVO SETTING O1000 N00000
X AXIS
(PARAMETR) (MONITOR)
FUNC.BIT 00110100 ALARM 1 00110100
LOOP GAIN 3000 ALRAM 2 00110100
TUNING ST. 1 ALARM 3 00000000
SET PERIOD 50 ALARM 4 00000000
INT.GAIN 251 LOOP GAIN 3000
PROP.GAIN –2460 POS ERROR 100
FILTER 2450 CURRENT % 50

>_
MEM STAT MTN FIN ALM 09:36:48
[ SV.SET ][ SV.TUN ][ ][ ][ (OPRT) ]

163
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02

25.10 The configurations of software and hardware required for maintenance of


the CNC are displayed.
SYSTEM The system configuration display function provides the following three
CONFIGURATION screens:
DISPLAY FUNCTION D Slot information screen
D Software information screen
D Hardware (module) information screen

Slot information

SYSTEM CONFIG O1234 N56789

SLOT MODULE_ID SERIES VERSION


00  003E 40 B101  0001 
01 0141 :41
81 0153 :49
02 0145 :46
82 013F :44
03 1050 :43

MEM **** *** *** 18:46:43


[ PARAM ][ DGNOS ][ PMC ][ SYSTEM ][ ]

 Slot No.
00 to 0F: F-BUS physical slot No. (primary)
80 to 8F: F-BUS physical slot No. (secondary)
 Module ID
xx3E: Main CPU
xx3F: File CPU
xx40: RISC CPU
xx41: PMC CPU
xx45: Graphic CPU
xx46: I/O board
xx50: Sub-CPU (only for TB(2–path control)/axis)
xx53: Interactive CPU
 Software ID
40: CNC
41: PMC
42: I/O board
43: SUB (TB(2–path control))
44: RISC
45: Graphic input (standard)
46: Graphic input (FAPT)
49: Conversational input (FAPT)
4A: Remote buffer
4F: PMC-X
 Software series
The series of software running on a module with a CPU
 Software edition
The edition of software running on a module with a CPU

164
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA

Software information

SYSTEM CONFIG(SOFTWARE) O1234 N56789

SYSTEM B001 0002 


FC1 A  FC2 A F81 A F82 A
F41 A F42 A
SERVO 9050 0001
PMC 4060 0002
LADDER
MACRO OZMM 00Z3
SPINDLE–1 9A10 0010

MEM **** *** *** 19:14:23


[ PARAM ][ DGNOS ][ PMC ][ SYSTEM ][ ]

 Software type
 Software series
 Software edition
 Contents of ROM (system ROM only)

Hardware (module) The slot number, board name, modules mounted on the board are
information displayed for each slot. Information is not displayed for modules not
mounted on the board.

SYSTEM CONFIG(MODULE) O1234 N56789



SLOT 00 MAIN CPU BOARD 
MODULE TYPE
SYSTEM ROM  1MB 
RAM 256KB
PMC BIT
CRTC 9”CRT
SERVO 1/2 MOUNTED
SERVO 3/4 MOUNTED
SIC MOUNTED
POS LSI MOUNTED

MEM **** *** *** 19:33:34


[ PARAM ][ DGNOS ][ PMC ][ SYSTEM ][ ]

 F-BUS physical slot number (The slot number corresponds to the


number displayed on the slot information screen.)
 Name of the PC board inserted in the slot
 Hardware (modules) mounted on the PC board
 Types of hardware (modules)

165
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02

25.11 When an alarm occurs, or when the operator is not certain what to do next,
HELP FUNCTION pressing the HELP key on the CRT/MDI panel displays detailed alarm
information or instructions for operation.
One of the following three screens can be displayed:
 On the alarm detail screen, detailed information on the alarm currently
activated is displayed. Using this information, the operator can
identify the cause of the alarm and what action to take. Any alarm
information can be displayed on this screen.
 On the operation instruction screen, when the operator is not sure of
what to do next during CNC operation (i.e., program editing and data
input/output) necessary instructions are displayed.
 Parameter numbers are listed on the parameter list screen. When the
number of the parameter to be set or referenced is unknown, bring up
this screen.

 An alarm detail screen for when an alarm (506) is activated.

HELP (ALARM DETAIL) O1234 N00001

NUMBER: 094
M’SAGE: P TYPE NOT ALLOWED (COORD CHG)
FUNCTION: RESTART PROGRAM
ALARM:
WHEN COORDINATE SYSTEM SETTING IS
CONDUCTED AFTER HOLDING
AUTOMATIC OPERATION, P–TYPE (WHEN TOOL IS
DAMAGED) PROGRAM
RESTART CANNOT BE EXECUTED.

S 0 T0000
MEM **** *** *** 09:36:48
[ 1 ALAM ][ 2 OPR ][ 3 PARA ][ ][ (OPRT) ]

 Parameter list screen

HELP (PARAMETER TABLE) O1234 N00001


1/4
*SETTING (NO.0000 – )
*READER/PUNCHER INTERFACE (NO.0100 – )
*AXIS CONTROL/SETTING UNIT (NO.1000 – )
*COORDINATE SYSTEM (NO.1200 – )
*STROKE LIMIT (NO.1300 – )
*FEED RATE (NO.1400 – )
*ACCEL/DECELERATION CTRL (NO.1600 – )
*SERVO RELATED (NO.1800 – )
*DI/DO (NO.3000 – )

S 0 T0000
MEM **** *** *** 09:36:48
[ 1 ALAM ][ 2 OPR ][ 3 PARA ][ ][ (OPRT) ]

166
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA

 Operation instruction screen

HELP (OPERATION METHOD) O1234 N00001


<<1. PROGRAM EDIT>> 1/4
*DELETE ALL PROGRAMS
MODE : EDIT
SCREEN: PROGRAM
OPR : (09999) – <DELETE>

*DELETE ONE PROGRAM


MODE : EDIT
SCREEN: PROGRAM
OPR : (0+PROGRAM NUMBER) – <DELETE>

>_ S 0 T0000
MEM **** *** *** 09:36:48
[ 1 ALAM ][ 2 OPR ][ 3 PARA ][ ][ (OPRT) ]

167
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02

25.12 A data protection key can be installed on the machine side for protection
of various NC data. The following three input signals are offered,
DATA PROTECTION according to type of data to be protected.
KEY  KEY 1
Allows input of tool compensation amount and work zero point offset
amount.
 KEY 2
Allows setting data input and macro variable input.
 KEY 3
Allows part program input and editing.

25.13 This function displays a history of the key and signal operations,
performed by the NC operator, upon the occurrence of a failure or NC
DISPLAYING alarm. The history can also be displayed for previously generated NC
OPERATION HISTORY alarms.
The following history data is recorded :
 MDI key operation sequences, performed by the NC operator
Example : A to Z , POS , PAGE
, [SF1]
 On/off status transitions of selected input and output signals
Example : G0000.7↑, SBK↑
 NC alarm information
Example : P/S0010
 Time (date, time) stamp
Example : 94/09/25
09:27:55
The history data can be output to an input/output device, connected via
the reader/punch interface. Previously output history data can be input
from an input/output device.

25.14 When a machining program is executed, the machining time of the main
program is displayed on the program machining time display screen. The
MACHINING TIME machining times of up to ten main programs are displayed in
STAMP FUNCTION hour/minutes/seconds. When more than ten programs are executed, data
for the oldest programs is discarded.

168
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA

25.15 The remote diagnosis function allows CNC status monitoring and
modification to CNC data to be performed remotely by menu–based
REMOTE DIAGNOSIS operation. The remote diagnosis function, operating under MS–DOS, is
installed on a standard personal computer, connected as a service terminal
to the FANUC Series 16 via the RS–232–C interface, over a telephone
line, and so on.
[Personal
computer]

[CNC]
FANUC
Series 16 Telephone
RS–232–C line RS–232–C
Modem Modem

The remote diagnosis terminal software is sold separately.


The remote diagnosis function provides the following capabilities :

D CNC programs
- Computer → CNC
S CNC command data for verification
S Searching for a specified program
S Part program
S Deleting a specified program
S Deleting all programs
- CNC → computer
S Part program
S Displaying a program directory
S Program number of a program being executed
S Sequence number of a sequence being executed

D Computer → CNC
S Parameter
S Pitch error data
S Tool offset value
S Custom macro variable
S Selecting a display screen
S Memory contents
S PMC data
S Displaying a specified message
S All parameters

169
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02

 CNC → computer
 Alarm information
 Machine position
 Absolute position
 Skip position
 Servo delay
 Acceleration/deceleration delay
 Diagnosis
 Parameter
 Display screen status
 Modal information
 Pitch error data
 Tool offset value
 Custom macro variable
 Memory contents
 Ladder program
 Actual feedrate
 Status
 A/D conversion
 PMC data
 Screen character data
 Printed circuit board information
 Ladder title
 Series and edition of PMC/ladder
 All parameters

 File function selection


 Listing files
 Referring a file
 Deleting a file
 Copying a file
 Renaming a file
 Linking a file
 Changing the current directory
 Creating a directory
 Deleting a directory

Notes
An arrow ”→” indicates the direction of data flow.

170
26. PART PROGRAM STORAGE
B–62622EN/02 NC FUCNTION AND EDITING

26 PART PROGRAM STORAGE AND EDITING

171
26. PART PROGRAM STORAGE
AND EDITING NC FUNCTION B–62622EN/02

26.1 The following part program storage and editing is possible


FOREGROUND D Program tape registration to the memory
S Single program registration
EDITING S Multi program tape registration
D Program input via MDI
D Program deletion
S Single program deletion
S All programs deletion
D Program punching
S Single program punching
S All programs punching
D Program editing
- Change
S Word change
S Change of 1-word to multi-words
- Insertion
S Word insertion
S Multi words, and multi blocks insertion
- Deletion
S Word deletion
S Deletion to EOB
S Deletion to the specified word
D Part program collation
Collation of program stored in the memory and program on the tape
can be done.
D Sequence number automatic insertion
The sequence number, where a certain increment value is added to the
sequence number of the previous block can be automatically inserted
at the head of each block in preparation of programs by the part
program editing.
The initial value of sequence number and a certain increment amount
can be set.

26.2 Part program storage and editing can be done during machining. The
same functions as foreground editing can be performed.
BACKGROUND
EDITING

172
26. PART PROGRAM STORAGE
B–62622EN/02 NC FUCNTION AND EDITING

26.3 The following editing is possible.


EXPANDED PART  Conversion
PROGRAM EDITING  Address conversion
An address in the program can be converted to another address. For
example address X in the program can be converted to address Y.
 Word conversion
A word in the program can be converted to another word. For
example, a programmed M03 can be converted to M04.
 Program copy
A program can be copied to make a new program.
 Copy of all the program
 Copy of part of a program
 Program move
A part of a program can be moved to make a new program.
 Program merge
A new program can be created by merging two programs.

26.4 Number of registered programs can be selected from the following:


63, 125, 200, 400, or 1000.
NUMBER OF
REGISTERED
PROGRAMS

26.5 The following part program storage length can be selected:


20, 40, 80, 160, 320, 640, or 1280 m.
PART PROGRAM
STORAGE LENGTH Notes
Part program storage length may decrease according to
options selected.

26.6 Part program registration and punch can be commanded externally.


EXTERNAL  Program registration
A part program can be registered in memory through the connected
CONTROL OF input device for background editing using the external read start
I/O DEVICE signal.
 Program punch
A part program can be punched through the connected output device
for background editing using the external punch start signal.

173
26. PART PROGRAM STORAGE
AND EDITING NC FUNCTION B–62622EN/02

26.7 The following two screens can be displayed with graphic data for
guidance in programming in the CNC format:
CONVERSATIONAL  G code list
PROGRAMMING OF  Standard format of a G-code block
FIGURES Programs can be created by referring to guidelines and entering necessary
data interactively.

PROGRAM 03333 N00000


G72: BASE POINT COMMAND
G73: MULTI-PARTS X (O)
G74: MULTI-PARTS Y (O)
G75: AUTOMATIC REPOSITINING
G76: LINE AT ANGLE
G77: ARC
G78: GRID 1
G79: GRID 2
G84: ROTATION ON (O)
G85: ROTATION OFF (O)
G86: SHEAR PROOF
G87: SQUARE
) _
EDIT **** *** *** 15:10:08
[PRGAM ] [ ] [G.MENU.] [ BLOCK ] [ ]

± When G78 is selected

PROGRAM 03333 N00000


G78: GRID 1

G78
I
P
J
K
T
C
;

EDIT **** *** *** 15:11:40


[PRGAM ] [ ] [G. MENU] [ BLOCK ] [(OPRT)]

26.8 The password function (bit 4 (NE9) of parameter No. 3202) can be locked
using parameter No. 3210 (PASSWD) and parameter No. 3211
PASSWORD (KEYWD) to protect program Nos. 9000 to 9999. In the locked state,
FUNCTION parameter NE9 cannot be set to 0. In this state, program Nos. 9000 to 9999
cannot be modified unless the correct keyword is set.
A locked state means that the value set in the parameter PASSWD differs
from the value set in the parameter KEYWD. The values set in these
parameters are not displayed. The locked state is released when the value
already set in the parameter PASSWD is also set in parameter KEYWD.
When 0 is displayed in parameter PASSWD, parameter PASSWD is not
set.

174
B–62622EN/02 NC FUCNTION 27. DIAGNOSIS FUNCTIONS

27 DIAGNOSIS FUNCTIONS

175
27. DIAGNOSIS FUNCTIONS NC FUNCTION B–62622EN/02

27.1 The NC checks the following itself.


SELF DIAGNOSIS  Abnormality of detection system
FUNCTIONS  Abnormality of position control unit
 Abnormality of servo system
 Overheat
 Abnormality of CPU
 Abnormality of ROM
 Abnormality of RAM
 Abnormality in data transfer between CRT/MDI
 Abnormality of part program storage memory
 Abnormality in tape reader read function
 Abnormality in data transfer between PMC
Input/output signals from PMC to CNC, or vice versa, and inner status
of the NC can be displayed on the CRT screen.

176
B–62622EN/02 NC FUCNTION 28. DATA INPUT/OUTPUT

28 DATA INPUT/OUTPUT

The NC has the following input/output data.


These data are input/output via various input/output devices as
CRT/MDI, tape reader, etc.
 Input data
The NC has the following input data.
 Part program
 Tool compensation amount and Work zero point offset amount
 Tool data
 Setting data
 Parameters
 Output data
The NC has the following output data.
 Part program
 Tool compensation amount and work zero point offset amount
 Tool data
 Setting data
 Parameters

177
28. DATA INPUT/OUTPUT NC FUNCTION B–62622EN/02

28.1 The following can be input/output via the reader/punch interface.


READER/PUNCH  Part program registration
INTERFACES  Tool offset amount, work zero point offset amount, tool data input
 Parameter input
 Part program punch
 Tool offset amount punch
 Parameter punch

178
B–62622EN/02 NC FUCNTION 28. DATA INPUT/OUTPUT

28.2 The following Input/Output devices are prepared, which are connectable
to the reader/puncher interface.
INPUT/OUTPUT
DEVICES

28.2.1 When the Floppy Cassette is connected to the NC, machining programs
Fanuc Floppy Cassette stored in the NC can be saved on a Floppy Cassette, and machining
programs saved in the Floppy Cassette can be transferred to the NC.

28.2.2 The built-in hard disk enables data to be stored and it can be connected
Fanuc Program File to the reader/puncher interface to input data to CNC. This hard disk has
a large storage capacity of approximately 50,000 m of paper tape data, so
Mate it can register maximum 1024 command programs.
It can be connected to the remote buffer to achieve high-speed transfer of
maximum 86.4 kbps.
The hard disk is sealed to be continuously used under the factory
environment.

28.2.3 The FANUC Handy File is a compact multi functional input/ouput floppy
FANUC Handy File disk unit for use with various types of FA equipment. Programs can be
transferred or edited through operations performed directly on the Handy
File or through remote operation from connected equipment.
Compared with media such as paper tape, a 3.5” floppy disk is both
compact and durable, and eliminates noise during input/output.
Programs with a total capacity of up to 1.44 MB (equivalent to about 3600
m paper tape) can be saved on a single floppy disk.

179
28. DATA INPUT/OUTPUT NC FUNCTION B–62622EN/02

28.3 By using the external program input start signal, a program can be loaded
from an input unit into CNC memory.
EXTERNAL When an input unit such as the FANUC Handy File or FANUC Floppy
PROGRAM INPUT Cassette is being used, a file can be searched for using the workpiece
number search signals, after which the program can be loaded into CNC
memory.

28.4 In Series 16–PB, a memory card interface (JEIDA V4.1 specification type
I) is provided as standard on the main CPU board.
MEMORY CARD Commercially available memory cards that conform to JEIDA V4.1
INTERFACE specification type I can be used. (Presently, data can only be written to
the SRAM card.)
By using such a memory card, programs and data can be loaded into
memory in the control section, and programs and data in memory can be
backed up.

180
B–62622EN/02 NC FUCNTION 28. DATA INPUT/OUTPUT

28.5 DNC1 is a poprietary communication network allowing information


exchange between the cell controller and CNC machine tools.
DNC1 CONTROL DNC1 is classified into two mode, Mode–1 and Mode–2, by the
connection models.

Explanations
 Mode–1 In the Mode–1, the cell controller plays as a primary station and controls
multiple CNC machine tools in the multi–point–connection.
This mode is usually used to establish small scale FMS.

Primary station Command Secondary station

Cell controller Response


CNC

Command Secondary station

Response CNC

 Mode–2 In the Mode–2, the cell controller and CNC play as a combined station
in the point–to–point connection.
This mode is usually used for drip feeding of continuous small blocks in
the DNC operation such as mold machining.

Command / Response
Combined station Combined station
Response / Command
Cell controller CNC

Notes
The combined station has combined functions of primary
station and secondary station.

 Primary station
This station controls data link and has responsibility of control and
recovery to the other station on the data link. This station corresponds
to the cell controller in the multi–point connection.
 Secondary station
This station executes data link control according to the command of
the primary station. This station corresponds to the CNC in the
multi–point connection.
 Combined station
This station executes peer–to–peer communication concerning to the
data link control.

181
28. DATA INPUT/OUTPUT NC FUNCTION B–62622EN/02

28.6 FANUC DNC2 is a communication protocol for enabling a FANUC CNC


to be connected with a personal computer (PC) on a one–to–one basis via
DNC2 CONTROL the RS–232–C interface. This enables the exchange of data such as
machining programs and tool compensation data at high speed.

182
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS

29 SAFETY FUNCTIONS

183
29. SAFETY FUNCTIONS NC FUNCTION B–62622EN/02

29.1 With the emergency stop, all commands stops, and the machine stops
immediately. Connect the ”emergency stop” signal both to the control
EMERGENCY STOP unit and to the servo unit side.
When emergency stop is commanded, servo excitation is also reset, and
servo ready signal will also turn off. Move distance of the machine will
still be reflected in the actual position and machine position will not be
lost (Follow up function). After resetting the emergency stop, operation
can thus be continued without need of another reference point return.

184
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS

29.2
OVERTRAVEL
FUNCTIONS
29.2.1 When the movable section has gone beyond the stroke end, a signal is
Overtravel output, the axis decelerates to a stop, and overtravel alarm is displayed.
All directions on all axes has overtravel signals.

29.2.2 The movable section of the machine is parameter set in machine


Stored Stroke Check 1 coordinates value. If the machine moves beyond the preset range, it
decelerates to a stop and alarm is displayed. (This function is valid after
manual reference point return at power on.)

ÇÇÇÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇÇÇÇ
(X1, Y1)

ÇÇÇÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇÇÇÇ
The shaded part is the
inhibition area.

ÇÇÇÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇÇÇÇ
(X2, Y2)

This function can be used instead of hardware overtravel limit switch.


When both is equipped with, both are valid.

29.2.3 An inhibition area can be specified inside or outside an area set by


Stored Stroke Check 2 parameter or by program. Command distance from the machine
coordinates zero point for limit positions. This function is valid after
(G22, G23) manual reference point return right after the power on. When specifying
the limits with program, limits or axes X, Y, Z can be set.
The inhibition area can be changed according to the workpiece. The
parameter decides whether the inhibition area is outside or inside the
specified area.

ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
(X, Y) (X, Y)

ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ
(I, J)
Outside is forbidden area
(I, J)
Inside is forbidden area

Format
G22 X_ Y_ Z_ I_ J_ K_ ;
On/off of stored stroke check 2 is commanded by program as follows:
G22 : Stored stroke check function on
G23 : Stored stroke check function off

185
29. SAFETY FUNCTIONS NC FUNCTION B–62622EN/02

29.2.4 When a new tool is mounted, position the tip of the tool on the two corners
Externally Setting the of the limit area, and specify the machine coordinates of the corners in the
parameters for stroke limit 1. The machine coordinates are stored in the
Stroke Limit CNC as the limit positions. Then input signals for setting the stroke limit.
Stroke limit setting signals are provided for each axis and each direction.
Checking of the stroke limit can also be selected by turning on or off the
limit release signal common to all axes.

186
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS

29.3
INTERLOCK

29.3.1 Axis feed specified to each axis can be stopped separately. If interlock is
Interlock per Axis specified to any of the moving axis during cutting feed, all axes of the
machine movement will decelerate to a stop. When interlock signal is
reset, the moving starts.

29.3.2 Feed of all axes can be inhibited. When all axes interlock is commanded
All Axes Interlock during move, it decelerates and stops. When all axes interlock signal is
reset, the moving restarts.

29.3.3 Feeding of a specific axis in a specific direction can be inhibited


Interlock for Each Axis independently of other axes. If the interlock signal is input to any of the
axes during a cutting feed operation, all axes decelerate and come to a
Direction stop. When the interlock signal is released, the axes start moving again.

29.3.4 The main power turns off if door of the NC cabinet is opened.
Door Interlock

187
29. SAFETY FUNCTIONS NC FUNCTION B–62622EN/02

29.4 Feed rate can be decelerated by an external deceleration signal from the
machine side. A feed rate after deceleration can be set by parameter.
EXTERNAL External deceleration is prepared every axis and every direction.
DECELERATION When the tool is to be moved in the reverse direction, futile time may not
be wasted since no external deceleration is applied.
By setting the corresponding parameter, whether to make this signal
effective only for rapid traverse mode or for all feed modes can be
specified for each axis and for each direction.
This function allows the maximum of valid strokes and keeps shock to the
machine to a minimum, to stops at stroke end. This function is also useful
when overtravel of the machine from the stroke end in, for example, ATC
reference points, must be kept to a minimum.

29.5 When a cutting tool collides with the machine body or is damaged during
cutting, the load torque applied to the servo motors is larger than during
ABNORMAL LOAD normal feeding or cutting. The abnormal load detection function
DETECTION calculates the load torque and transfers the value from the CNC to the
PMC. If the load torque is larger than the value set in a parameter, the
function stop the motor or reverses the motor rotation to retract the tool
by the distance set in a parameter. In this way, damage to the machine is
prevented.

188
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS

29.6 This is the safety function to set the safety zone for protecting the
workpiece holder that holds the workpiece set on the carriage, and disable
SAFETY ZONE punching in that area or forbid the tool to approach thereinto.
CHECK
Table

#0 Tool figure area

#1 #2 #3 #4

Carriage Safety zone

This function permits to set tool figure area (#0) and up to four safety
zones (#1 - #4), as shown above.

29.6.1 The safety zone is settable in two types, punch forbidden area and
Punch Forbidden Area approach forbidden area, that are selected by the parameter.
and Approach (1) Punch forbidden area
Forbidden Area When the tool figure area goes into the safety zone and the punching
is commanded, an alarm is given to disable punching. In the case of
positioning & punching command in the automatic operation mode,
when the end point of positioning is in the punch forbidden area, an
alarm is given without moving the axis. (Previous check)
In the case of move command without punching, the tool figure area
can go into the punch forbidden area, but manual punching is
impossible after going into this area.

#0 Punching is impossible
in this area.

#1

29.6.1 (a)

(2) Approach forbidden area


The tool figure area can not go into the safety zone. When the tool
figure area approaches into the safety zone by the move command,
the axis is immediately stopped and an alarm is given. This is valid
in either manual or automatic operation mode.

189
29. SAFETY FUNCTIONS NC FUNCTION B–62622EN/02

Axis stops, and alarm is given.

Move direction

#0

#2

29.6.1 (b)

29.6.2 Set the machine coordinate value when the workpiece holder is positioned
Setting the Safety Zone at the tool center (punching position) by the parameters.

29.6.3 The detector on the machine automatically detects the positions of the
Automatic Setting of workpiece holders mounted on the carriage. Values representing the
detected positions are then set in the safety zone parameters.
the Safety Zone

Detector (secured to the machine)

#1 #2 #3 #4

Carriage

29.6.3

The signal for detecting the position of the workpiece holders turns on and
off as workpiece holders #1 to #4 pass the detector as shown in Fig. 29.5.3.
The safety zone is determined from the signal. The position on the X axis
when the signal goes high is regarded as one end of a workpiece holder,
and the position when the signal goes low is regarded as the other end.

Format of workpiece holder detection command


G32X x F f P p Q q ;
x : X axis move command
f : Feedrate
p : Compensation amount when workpiece holder detection signal
rises
q : Compensation amount when workpiece holder detection signal
falls

190
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS

Rising edge Falling edge

Workpiece holder detection


signal

X
Woekpiece holder position
P Q

Left end of the Right end of the


workpiece holder workpiece holder

191
30. STATUS OUTPUT NC FUNCTION B–62622EN/02

30 STATUS OUTPUT

192
B–62622EN/02 NC FUCNTION 30. STATUS OUTPUT

30.1 This signal is sent to the machine side when NC power is on and control
becomes possible. Sending of this signal will be stopped when NC power
NC READY SIGNAL is turned off.

30.2 This signal is sent to the machine side when the servo system becomes
operatable. Axes necessary to be braked must be braked when this signal
SERVO READY is not sent.
SIGNAL

30.3 This signal shows that tape reader or main program in memory is
rewinding.
REWINDING SIGNAL

30.4 This signal is transmitted when the NC comes under an alarm status.
ALARM SIGNAL

30.5 This signal is sent out when pulse distribution of the M, S, T, or B


functions has ended, so that they can be used after move of the
DISTRIBUTION END commanded block ends.
SIGNAL

30.6 This signal is sent out when it is under automatic operation.


AUTOMATIC
OPERATION SIGNAL

30.7 This signal is sent out when automatic operation is being activated.
AUTOMATIC
OPERATION START
SIGNAL

30.8 This signal is sent out when automatic operation is held by feed hold.
FEED HOLD SIGNAL

30.9 This signal is sent out to show that the NC has been reset.
RESET SIGNAL

30.10 This signal shows that an axis is under in–position status. This signal is
output for all axes.
IN–POSITION SIGNAL

30.11 This signal shows that an axis is moving. This signal is sent out for every
axis.
MOVE SIGNAL This move signal can be combined with the interlock signal to
automatically clamp and unclamp the machine, or control on/off of the
lubricating oil.

193
30. STATUS OUTPUT NC FUNCTION B–62622EN/02

30.12 This signal is output to show move direction of each axis. This signal is
output for each axis.
AXIS MOVE
DIRECTION SIGNAL

30.13 This signal shows that the move command is done under rapid traverse.
RAPID TRAVERSING
SIGNAL

30.14 This signal shows that input is done under inch input mode (G20).
INCH INPUT SIGNAL

30.15 To inform the exterior of the states of software operator’s panel, which are
set via CRT/MDI, and machine operator’s panel, following DI state
DI STATUS OUTPUT output signals are sent.
SIGNAL  Mode-select check signal
 Single-block check signal
 Dry-run check signal
 Machine-lock check signal
 Auxiliary-function-lock check signal
 Optional block-skip check signal
 Mirror-image check signal

30.16 The position switch function outputs a signal to a specified


controlled-axis when the machine coordinates of the controlled-axis are
POSITION SWITCH within the range specified by the corresponding parameter.
FUNCTION The parameter specifies an arbitrary controlled-axis and the operating
range (machine coordinates) within which the position switch signal is
output.
Up to ten position switch signals can be output.
This signal is transmitted when the NC comes under an alarm status.

194
B–62622EN/02 NC FUCNTION 31. EXTERNAL DATA INPUT

31 EXTERNAL DATA INPUT

The external data input is as follows.


 External tool compensation
 External program number search
 External work coordinate system shift
 External machine zero point shift
 External alarm message
 External operator message
 Substitution of the number of machined parts and number of required
parts

195
31. EXTERNAL DATA INPUT NC FUNCTION B–62622EN/02

31.1 In this function, offset number is specified from outside to change tool
offset amount.
EXTERNAL TOOL The input signal designates whether the input tool offset amount is:
COMPENSATION  absolute or incremental

It the machine is equipped with automatic measurement devices of tools


and workpiece, error can be input to the NC with this function.
External tool compensation amount range is:
0 to ±7999
in least command increment.

31.2 A program number from 1 - 9999 can be given from outside to the NC to
call the corresponding program from the NC memory.
EXTERNAL In machines with automatic loading function of various workpiece, this
PROGRAM NUMBER function can be used to automatically select and execute program suitable
SEARCH to the workpiece.

31.3 The work coordinate system can be shifted for the shift amount given
from outside.
EXTERNAL The shift amount specified by an input signal is set as an external offset
WORKPIECE value for workpiece zero points by which the workpiece coordinate
COORDINATE system shifts. The shift amount is an absolute value, not an incremental
value.
SYSTEM SHIFT
The shift amount range is :
0 to ±7999
in least command increment.
The external data input function allows NC operation by data sent from
outside the NC (for example from the machine side).

31.4 The machine coordinate system is compensated by offset amount given


from outside. This offset amount always take absolute value; never an
EXTERNAL MACHINE increment value.
ZERO POINT SHIFT The offset amount range is:
0 to ±9999
in detection unit.
When offset amount is input, the actual machine move distance is the
difference between the previous offset amount and current offset amount.
This function is used t compensate the machine coordinate system error
caused by mechanical deformation.

31.5 By sending alarm number from outside, the NC is brought to an alarm


status; an alarm message is sent to the NC, and the message is displayed
EXTERNAL ALARM on the CRT screen of the NC. Reset of alarm status is also done with
MESSAGE external data.
Up to 4 alarm numbers and messages can be sent at a single time. Alarms
0 to 999 can be sent. To distinguish these alarms from other alarms, the
CNC displays them by adding 1000 to each alarm number. The messages
of up to 32 characters can be sent together with an alarm.

196
B–62622EN/02 NC FUCNTION 31. EXTERNAL DATA INPUT

31.6 Message to the operator is given from outside the NC, and the message
is displayed on the CRT screen.
EXTERNAL The message is sent after the message number (0 to 999). Only one
OPERATOR’S message with message number can be sent at a single time. Maximum
MESSAGE 255 characters can be used for a single message.
The message numbers 0 to 99 are displayed on the CRT screen along with
the message.
To distinguish these alarms from other alarms, the CNC displays them by
adding 2000 to each alarm number. When a message from 100 to 999 is
displayed on the CRT, the message number is not displayed; only its text
is displayed.
An external data will clear the operator messages.

31.7 The number of required parts and the number of machined parts can be
preset externally. Values from 0 to 9999 can be preset.
SUBSTITUTION OF
THE NUMBER OF
REQUIRED PARTS
AND NUMBER OF
MACHINED PARTS

197
34. KEY INPUT PMC (EXTERNAL
KEY INPUT CONTROL) NC FUNCTION B–62622EN/02

32 KEY INPUT FROM PMC (EXTERNAL KEY INPUT CONTROL)

When the PMC inputs the code signal corresponding to a key on the
CRT/MDI panel to the CNC, the code signal can be input in the same way
as with actual operation of the key on the CRT/MDI panel.
When the switch is pressed, the PMC inputs code signals corresponding
to keys X, Y, Z, and <SHIFT> to the CNC. This produces the same results
as with actual key operations.

198
B–62622EN/02 NC FUCNTION 33. MAN MACHINE CONTROL (MMC)

33 MAN MACHINE CONTROL (MMC)

Machine tool builders can incorporate highly advanced man–machine


interface functions such as conversational automatic programming or
conversational operation based on much know-how.

199
33. MAN MACHINE CONTROL (MMC) NC FUNCTION B–62622EN/02

33.1 Use of the FANUC MMC–III allows software created by the machine tool
builder to be included in the CNC. A distinctive controller can be
MMC–III developed which fully incorporates the machine tool builder’s
know–how.

Main features
 The machine tool builder can create unique screens.
 High–speed transfer of CNC and PMC data is enabled.
 Communication with an external I/O unit is made possible.

14” color CRT/MDI, 9.5” color


LCD/MDI, or 8.4” color LCD

Machine tool
builder’s
unique screen

CNC
RS–232–C
External Software provided
I/O unit by the machine
tool builder
MMC–III PMC

33.2 The MMC–IV is a new MMC designed as the core of the ”FANUC open
CNC” to integrate FANUC’s proprietary, high–level CNC technology
MMC–IV with world computer standards in order to advance the concept of MMC.
By providing a wide variety of tools such as compilers, macro
compilers/executors, and custom macros for the MMC and PMC,
FANUC has been supporting machine tool builders for customization of
FANUC CNCs. With these FANUC open CNCs, many applications have
been developed and put to use; these include applications for
conversational NC programming, conversational setup and operation,
real–time generation of complicated tool paths, tool load monitoring, and
adaptive control.
By advancing FANUC open CNC, the MMC–IV aims at providing a
powerful tool for customization and function extension of FANUC CNCs
that are significantly more integrated with the world of computers.

200
APPENDIX
B–62622EN/02 APPENDIX A. RANGE OF COMMAND VALUE

A RANGE OF COMMAND VALUE

(1) Linear axis with the millimeter feed screw (millimeter input)
Increment system

IS–A IS–B

Least input increment 0.01mm 0.001mm

Least command increment 0.01mm 0.001mm

Max. programmable dimension "999999.99mm "99999.999mm

Max. rapid traverse *1 240,000mm/min 240,000mm/min

Feedrate range *1 1 to 240,000mm/min 1 to 240,000mm/min

Incremental feed 0.01, 0.1, 1, 10mm/step 0.001, 0.01, 0.1, 1mm/step

Tool compensation 0 to "999.99mm 0 to"999.999mm

Backlash compensation 0 to "2.55mm 0 to"0.255mm

Dwell time 0 to "999999.99sec 0 to "99999.999sec

(2) Linear axis with the millimeter feed screw (inch input)
Increment system
IS–A IS–B
Least input increment 0.001 inch 0.0001 inch
Least command increment 0.01 mm 0.001 mm
Max. programmable dimension "99999.999 inches "9999.9999 inches
Max. rapid traverse *1 240,000 mm/min 240,000 mm/min
Feedrate range *1 0.01 to 9,600 inch/min 0.01 to 9,600 inch/min
Incremental feed 0.001, 0.01, 0.1, 1 inch/step 0.0001, 0.001, 0.01, 0.1
inch/step
Tool compensation 0 to "99.999 inches 0 to "99.9999 inches
Backlash compensation 0 to "2.55 mm 0 to"0.255 mm
Dwell time 0 to "999999.99 sec 0 to "99999.999 sec

203
A. RANGE OF COMMAND VALUE APPENDIX B–62622EN/02

(3) Linear axis with the inch feed screw (inch input)
Increment system
IS–B IS–C
Least input increment 0.001 inch 0.0001 inch
Least command increment 0.001 mm 0.0001 mm
Max. programmable dimension "99999.999 inches "9999.9999 inches
Max. rapid traverse *1 9,600 mm/min 9,600 mm/min
Feedrate range *1 0.01 to 9,600 inch/min 0.01 to 9,600 inch/min
Incremental feed 0.001, 0.01, 0.1, 1 inch/step 0.0001, 0.001, 0.01, 0.1
inch/step
Tool compensation 0 to "99.999 inches 0 to "99.9999 inches
Backlash compensation 0 to "0.255 mm 0 to "0.0255 mm
Dwell time 0 to "999999.99 sec 0 to "99999.999 sec

(4) Linear axis with the inch feed screw (millimeter input)
Increment system
IS–A IS–B
Least input increment 0.01 mm 0.001 mm
Least command increment 0.001 mm 0.0001 mm
Max. programmable dimension "999999.99 mm "99999.999 mm
Max. rapid traverse *1 9,600 mm/min 9,600 mm/min
Feedrate range *1 1 to 240,000 mm/min 1 to 240,000 mm/min
Incremental feed 0.01, 0.1, 1, 10 mm/step 0.001, 0.01, 0.1, 1 mm/step
Tool compensation 0 to "999.99 mm 0 to "999.999 mm
Backlash compensation 0 to "0.255 mm 0 to "0.0255 mm
Dwell time 0 to "999999.99 sec 0 to "99999.999 sec

(5) Rotation axis


Increment system
IS-A, IS-B
Least input increment 0.001 deg
Least command increment 0.001 deg
Max. programmable dimen-
"99999.999 deg
sion
Max. rapid traverse *1 240,000 deg/min
Feedrate range *1 1 to 240,000 deg/min
Incremental feed 0.001, 0.01, 0.1, 1deg/step
Tool compensation 0 to "999.999 mm
Backlash compensation 0 to "0.255 deg

*1 The feedrate range shown above are limitations depending on CNC


interpolation capacity. As a whole system, limitations depending on
servo system must also be considered.

204
B–62622EN/02 APPENDIX A. RANGE OF COMMAND VALUE

(6) Caxis
Increment system

IS–A IS–B

Least input increment 0.01deg 0.001deg

Least command incre- 0.01deg 0.001deg


ment

Max. programmable "999999.99deg "99999.999deg


dimension

Max. rapid traverse *1 240,000deg/min 240,000deg/min

Feedrate range *1 1 to 240,000deg/min 1 to 240,000deg/min

Incremental feed 0.01, 0.1, 1, 10deg/step 0.001, 0.01, 0.1, 1deg/


step

Backlash compensa- 0 to "2.55deg 0 to "0.255deg


tion

*1 The feedrates in the above tables apply when they are limited only
by NC interpolation. When the NC is integrated into a system, the
feedrates are limited by the servo system as well.

205
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–62622EN/02

B FUNCTIONS AND TAPE FORMAT LIST

Functions Illustrations Tape format


Positioning (G00)  G00X Y C ;

Start point

Linear interpolation (G01) G01X Y F ;




Start point

Circular interpolation R_
G02
(G02, G03) G02 X_ Y_ F_ ;
Start G03 I_ J_
point

R
J

(x, y)
I

G03
(x, y)

R
J

Dwell (G04) Per second dwell

X_
G04 ;
P_

Exact stop (G09) Velocity G01X_Y_


G09 G02 ;
G03

Time

Change of offset value by G10L11P R ;


progrsm (G10) G10L2P X Y ;

ÇÇÇ
(Workpiece zero point offset)

ÇÇÇ
Cutter compensation C G41 G40
(G40 - G42) G41

ÇÇÇ ÇÇÇ
X_Y_D_;
G42

ÇÇÇ ÇÇÇ D : Tool offset No.

ÇÇÇ ÇÇÇ G40


G42

Inch/metric conversion Inch input : G20


(G20, G21) Metric input : G21

206
B–62622EN/02 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST

Functions Illustrations Tape format


Refernce point return Reference G28 ;
(G28) point

Start point

Stored stroke check (X, Y) G22X_Y_I_J_;


(G22, G23) G23 ; Cancel

(I, J)

Scaling (G50, G51) G51X_Y_P_;


G50 ; Cancel

Local coordinate system G52X_Y_;


setting (G52) Local coordinate
X system
Y

Setting in workpiece coor- G54


dinate system : X_ Y_ ;
G59

Workpiece coordinate
system

Machine coordinate system


Workpiece zero point offset

Pattern function Refer to “Pattern Function” G26 ;


(G26, G76, G77, G78, G76 ;
G79, G86, G87, G88, G77 ;
G89) G78 ;
G79 ;
G86 ;
G87 ;
G88 ;
G89 ;
Cutting and exact stop v G64 __ ; Cutting mode
mode (G64, G61) G64 G61 __ ; Exact stop mode

t
v

G61
t

207
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–62622EN/02

Functions Illustrations Tape format


Custom macro Macro simple call
(G65, G66, G67) G65P _ (Argument specification)
P : Program No.
G65P; O ; Modal call
M99 : G66P _ (Argument specification)
G67 ; . . . Cancel
Positioning & Press off (X, Y) G70X_Y_C_;
(G70)
Start

Nibbling function G68I_J_K_P_Q_;


(G68, G69, M12 - M13) G69I_J_P_Q_;
M12 ;
:
M13 ;
Pattern base point com- G72X_Y_;
mand (G72)
(X, Y)

Automatic repositioning G75X_;


(G75)

Multi-piece machining Refer to “Multi-piece machining”. G73


function W_ Q_ ;
G74
(G73, G74, G98)
W : Macro number

ÂÂÂ G98X_Y_I_P_J_K_:

Coordinate rotation
(G84, G85) ÂÂÂ G84X_Y_R_;
G85 ; Cancel

Absolute/Incremental G90 ; Absolute command


Command (G98/G91) G91 ; Incremental command

ÂÂ
ÂÂ
Change of work coordi- G92X_Y_;
nate system (G92)
(X, Y)

208
B–62622EN/02 APPENDIX C. LIST OF TAPE CODE

C LIST OF TAPE CODE

ISO code EIA code


Meaning
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1

0   0   Number 0
1     1   Number 1
2     2   Number 2
3    3    Number 3
4     4   Number 4
5     5     Number 5
6    6    Number 6
7     7   Number 7
8    8   Number 8
9    9    Number 9
A    a    Address A
B    b    Address B
C    c    Address C
D    d    Address D
E     e     ? Address E
F    f    Address F
G    g    Address G
H    h    Address H
I     i    Address I
J     j     Address J
K     k     Address K
L     l     ? Address L
M      m     Address M
N     n     Address N
O     o    Address O
P    p     Address P
Q     q    Address Q
R     r     Address R
S     s    Address S
T     t    Address T
U      u    ? Address U
V     v     ? Address V
W     w    ? Address W
X    x    Address X
Y     y   Address Y
Z     z     Address Z

209
C. LIST OF TAPE CODE APPENDIX B–62622EN/02

ISO code EIA code


Meaning
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1

DEL      Del    *


NUL  Blank  *
BS    BS     *
HT    Tab    *
LF or NL    CR or EOB  

CR      ___ *
SP    SP   *
%      ER   
(    (2–4–5)   
)      (2–4–7)    
+     +   *
–      –  

:    ___
/      /   
.     .    
#      ___
$    ___ *
&     &    *
     ___ *
*      ___ *
,      ,    *
;      ___ *
<    ___ *
=      ___ *
>     ___ *
?      ___ *
@   ___ *
”   ___ *

Notes
1. Codes with *in the remarks column are ignored in the significant information
section.
2 Codes with ? in the remarks column cause an alarm in the significant information
section but are registered in memory.
3 Codes not in this table are ignored if their parity is correct.
4 Codes with incorrect parity cause the TH alarm. But they are ignored without
generating the TH alarm when they are in the comment section.
5. A character with all eight holes punched is ignored and does not generate TH alarm
in EIA code.

210
B–62622EN/02 INDEX
– NUMBERS – Buffer Register, 137

1-BLOCK PLURAL M COMMAND, 65


14-inch Color CRT/MDI Panel (Horizontal), 149
14-inch Color CRT/MDI Panel (Vertical), 149
–C–
C-AXIS BACKLASH COMPENSATION FOR INDIVIDUAL IN-
9-inch Monochrome/Color CRT/MDI Panel (Horizontal), 147 DEXES (OPTION), 102
9-inch Small Monochrome/Color CRT/MDI Panel (Horizontal), 146 C AXIS CONTROL, 129
9.5-inch Color LCD/MDI Panel (Horizontal), 148 C-AXIS POSITION COMPENSATION, 94
9.5-inch Color LCD/MDI Panel (Vertical), 148 C LANGUAGE EXECUTER FUNCTION, 118
CHANGING OF TOOL OFFSET AMOUNT (PROGRAMMABLE
DATA INPUT) (G10), 98

–A– CIRCULAR INTERPOLATION (G02, G03), 25


Circular Nibbling (G68) And Linear Nibbling (G69), 51
ABNORMAL LOAD DETECTION, 188
CIRCULAR PUNCHING COMMANDS G46 AND G47, 92
ABSOLUTE AND INCREMENTAL PROGRAMMING (G90, G91),
47 CLOCK FUNCTION, 157
ACCURACY COMPENSATION FUNCTION, 99 Command to Restart Punching Multiple Products, 87
ACTIVATION OF AUTOMATIC OPERATION, 136 Constant-positioning-time Control, 31
ADDITIONAL OPTIONAL BLOCK SKIP, 73 CONTINUOUS PRESS (NIBBLING), 51
ALARM SIGNAL, 193 CONTROL AXIS DETACH, 126
All Axes Interlock, 187 CONTROL-IN/CONTROL-OUT, 73
ALL-AXES MACHINE LOCK, 143 CONTROLLED AXES, 15
Arc (G77), 76 Controlling the punch and die, 129
AUTOMATIC ACCELERATION/DECELERATION, 30 CONVERSATIONAL PROGRAMMING OF FIGURES, 174
Automatic Coordinate System Setting, 42 COORDINATE SYSTEM CONVERSION, 103

AUTOMATIC CORNER DECELERATION, 120 COORDINATE SYSTEM ROTATION (G68, G69), 104

AUTOMATIC CORNER OVERRIDE (G62), 35 COORDINATE SYSTEMS, 39

AUTOMATIC OPERATION, 133 COORDINATE VALUE AND DIMENSION, 46

AUTOMATIC OPERATION SIGNAL, 193 CUSTOM MACRO, 109, 110

AUTOMATIC OPERATION START SIGNAL, 193 Cut at Angle (G89), 78

AUTOMATIC OPERATION STOP, 138 CUTTER COMPENSATION C (G40 - G42), 95

AUTOMATIC REFERENCE POSITION RETURN , 38 CUTTING FEED RATE, 28


Cutting Feed Rate Clamp, 28
AUTOMATIC REPOSITIONING (G75), 81
CUTTING MODE (G64), 35
Automatic Setting of the Safety Zone, 190
Cycle Start, 136
AUXILIARY FUNCTION LOCK, 143
AXES CONTROL, 125
Axis Control by PMC, 15
AXIS CONTROL WITH PMC, AXIS CONTROL WITH PMC, 130 –D–
AXIS MOVE DIRECTION SIGNAL, 194 DATA INPUT/OUTPUT, 177

AXIS NAMES, 16 DATA PROTECTION KEY, 168


DECIMAL POINT INPUT/POCKET CALCULATOR TYPE DEC-
IMAL POINT INPUT, 48
DEFERRING PRESS ACTIVATION, 54
–B– DI STATUS OUTPUT SIGNAL, 194
BACKGROUND EDITING, 172 DIAGNOSIS FUNCTIONS, 175
BACKLASH COMPENSATION, 100 DIRECTORY DISPLAY OF FLOPPY CASSETTE/PROGRAM
FILE, 160
BACKLASH COMPENSATION SPECIFIC TO RAPID TRA-
VERSE AND CUTTING FEED, 101 DISPLAY, 154
BASE POINT COMMAND (G72), 79 DISPLAYING AND SETTING DATA, 153
Base Point Command of Multi-piece Machining, 85 DISPLAYING OPERATION HISTORY, 168
BASIC ADDRESSES AND COMMAND VALUE RANGE, 72 DISTRIBUTION END SIGNAL, 193
BENDING COMPENSATION (G38, G39), 88 DNC1 CONTROL, 181
Bolt Hole Circle (G26), 75 DNC2 CONTROL (ONLY AT 1–PATH CONTROL), 182
INDEX B–62622EN/02

Door Interlock, 187


–G–
DRY RUN, 143
GRAPHIC DISPLAY FUNCTION, 161
DWELL (G04), 35
Grid (G78, G79), 76

–E– –H–
EMERGENCY STOP, 184 Handle Interruption, 139
ERROR DETECTION, 34 HELP FUNCTION, 166
EXACT STOP (G09), 35 HIGH-SPEED M/S/T/B INTERFACE, 66
EXACT STOP MODE (G61), 35
EXECUTION OF AUTOMATIC OPERATION, 137
EXPANDED PART PROGRAM EDITING, 173 –I–
Explanation of the Function Keys, 151 IGNORING T-CODE, 58
EXPLANATION OF THE KEYBOARD, 150 IN–POSITION SIGNAL, 193
Explanation of the Soft Keys, 152 INCH INPUT SIGNAL, 194
EXTERNAL ALARM MESSAGE, 196 INCH/METRIC CONVERSION (G20, G21), 48
EXTERNAL CONTROL OF I/O DEVICE, 173 INCREASED CUSTOM MACRO COMMON VARIABLES, 116
EXTERNAL DATA INPUT, 195 INCREMENT SYSTEM, 17
EXTERNAL DECELERATION, 188 INCREMENTAL FEED, 132
EXTERNAL MACHINE ZERO POINT SHIFT, 196 Input Unit (10 Times), 18
EXTERNAL MEMORY AND SUB PROGRAM CALLING FUNC- INPUT/OUTPUT DEVICES, 179
TION, 71
INTERLOCK, 187
EXTERNAL OPERATION FUNCTION, 54
Interlock for Each Axis Direction, 187
EXTERNAL OPERATOR’S MESSAGE, 197
Interlock per Axis, 187
EXTERNAL PROGRAM INPUT, 180
INTERPOLATION FUNCTIONS, 22
EXTERNAL PROGRAM NUMBER SEARCH, 196 INTERRUPTION TYPE CUSTOM MACRO, 116
EXTERNAL TOOL COMPENSATION, 196
EXTERNAL WORKPIECE COORDINATE SYSTEM SHIFT, 196
External Workpiece Number Search, 135 –J–
Externally Setting the Stroke Limit, 186
Jog Override, 29

–F– –K–
F1-digit (Programmable Rapid Traverse Override), 29 KEY INPUT FROM PMC (EXTERNAL KEY INPUT CONTROL),
Fanuc Floppy Cassette, 179 198

FANUC Handy File, 179


Fanuc Program File Mate, 179
FEED FUNCTIONS, 26 –L–
Feed Hold, 138 LABEL SKIP, 73

FEED HOLD SIGNAL, 193 LANGUAGE SELECTION, 157

Feed Rate Override, 29 Line at Angle (G76), 75

FEED STOP, 128 LINEAR ACCELERATION/DECELERATION AFTER CUTTING


FEED INTERPOLATION, 32
FEEDRATE CLAMP BY CIRCULAR RADIUS, 121
LINEAR ACCELERATION/DECELERATION BEFORE CUT-
FOLLOW UP FUNCTION, 126 TING FEED INTERPOLATION, 33

FOREGROUND EDITING, 172 LINEAR AXIS AND ROTATION AXIS, 48

FUNCTION TO SIMPLIFY PROGRAMMING, 74 LINEAR INTERPOLATION (G01), 24

FUNCTIONS AND TAPE FORMAT LIST, 206 LINEAR-PUNCHING COMMAND G45, 89

FUNCTIONS FOR HIGH SPEED CUTTING , 119 LIST OF SPECIFICATIONS, 5


LIST OF TAPE CODE, 209
B–62622EN/02 INDEX

LOCAL COORDINATE SYSTEM SYSTEM (G52), 43


–O–
LOOK–AHEAD CONTROL (G08), 122
ONE-CYCLE PRESS, 50
OPERATION MODE, 134
OPTIONAL BLOCK SKIP, 73
–M– OVERRIDE, 29
MACHINE CONTROLLED AXES, 15 Override Cancel, 29
MACHINE COORDINATE SYSTEM (G53), 40 Overtravel, 185
MACHINE LOCK ON EACH AXIS, 143 OVERTRAVEL FUNCTIONS, 185
MACHINING TIME STAMP FUNCTION, 168
Macro Call (W Command), 83
MACRO EXECUTER FUNCTION, 117 –P–
MAIN PROGRAM, 69 PART PROGRAM STORAGE AND EDITING, 171
MAN MACHINE CONTROL (MMC), 199 PART PROGRAM STORAGE LENGTH, 173
MANUAL FEED, 132 PASSWORD FUNCTION, 174

MANUAL HANDLE FEED (1ST), 132 PATTERN FUNCTION, 75

MANUAL HANDLE FEED (2ND, 3RD), 132 Per Minute Feed (G94), 28
PLANE SELECTION (G17, G18, G19), 45
MANUAL INTERRUPTION DURING AUTOMATIC OPERATION,
139 POSITION SWITCH FUNCTION, 194
MANUAL OPERATION, 131 POSITIONING (G00), 23
MANUAL PRESS, 54 POSITIONING AND NO PRESS START SIGNAL (G70), 54
MANUAL REFERENCE POSITION RETURN, 37 Positioning to Smaller Angle Rotation Direction, 129
MAXIMUM STROKE, 19 PREPARATORY FUNCTIONS, 20
MDI Operation, 134 PRESS ACTIVATION LOCK, 54
MEASUREMENT FUNCTIONS, 107 PRESS FUNCTIONS, 49

MECHANICAL HANDLE FEED, 126 PROGRAM CONFIGURATION, 68

MEMORY CARD INTERFACE, 180 Program End (M02, M30), 138

Memory Operation, 134 PROGRAM NAME, 69


PROGRAM NUMBER, 69
MIRROR IMAGE, 126
Program Number Search, 135
MISCELLANEOUS FUNCTIONS, 63, 64
Program Stop (M00, M01), 138
MMC–III, 200
PROGRAM TEST FUNCTIONS, 142
MMC–IV, 200
PROGRAMMABLE PARAMETER ENTRY (G10, G11), 102
MOVE SIGNAL, 193
Punch Forbidden Area and Approach Forbidden Area, 189
Multi-piecemachining Command, 86
Multiple Call of Macro, 83
MULTIPLE TOOL CONTROL, 59
–R–
MULTIPLE-PIECE MACHINING, 84
Radius (G88), 78
RANGE OF COMMAND VALUE, 203
RAPID TRAVERSE, 27
–N– Rapid Traverse Override, 29
NC READY SIGNAL, 193 RAPID TRAVERSING SIGNAL, 194
Nibbling Mode (M-code), 52 READER/PUNCH INTERFACES, 178
Number of Basic Controlled Axes, 15 REFERENCE POSITION, 36
Number of Basic Simultaneously Controlled Axes, 15 Relation Between T Command and C Axis Command, 129
Number of Controlled Axes Expanded (All), 15 Relation with Absolute/Incremental Command (G90/G91), 129
NUMBER OF REGISTERED PROGRAMS, 173 Relationship Between the Multiple-tool System and the C Axis, 60
Number of Simultaneously Controlled Axes Expanded (All), 15 REMOTE BUFFER, 123

NUMBER OF THE ALL CONTROLLED AXES, 15 Remote Buffer (only at 1–path Control), 123

NUMBER OF TOOL OFFSETS, 97 REMOTE DIAGNOSIS, 169


Reset, 138
INDEX B–62622EN/02

RESET SIGNAL, 193 STATUS OUTPUT, 192


Rewind, 135 STORAGE AND CALL BY ADDRESS A/B, 80
REWINDING SIGNAL, 193 Storage and Call of Plural Macro (Macro No.90 to 99), 83
ROTATION AXIS ROLL-OVER FUNCTION, 48 Storage Capacity of Macro, 83
RUN TIME & PARTS NUMBER DISPLAY, 157 Storage of Macro (U, V Command), 82
STORED PITCH ERROR COMPENSATION, 100
Stored Stroke Check 1, 185
–S– Stored Stroke Check 2 (G22, G23), 185

S CODE OUTPUT, 56 SUB PROGRAM, 70

SAFETY FUNCTIONS, 183 SUBSTITUTION OF THE NUMBER OF REQUIRED PARTS


AND NUMBER OF MACHINED PARTS, 197
SAFETY ZONE CHECK, 189
SWITCHING BETWEEN TWO NIBBLING PITCHES, 54
SCALING (G50, G51), 105
Switching Rapid Traverse Feedrates, Time Constants, and/or Ser-
SCHEDULING FUNCTION, 140 vo Loop Gains According to the Positioning Distance, 31
SCREENS FOR SERVO DATA AND, 163 SYSTEM CONFIGURATION DISPLAY FUNCTION, 164
Second Feed Rate Override, 29
SECOND MISCELLANEOUS FUNCTIONS, 65
SELECTION OF EXECUTION PROGRAMS, 135 –T–
SELF DIAGNOSIS FUNCTIONS, 176 T-AXIS CONTROL, 58
SEQUENCE NUMBER, 71 T CODE OUTPUT, 58
Sequence Number Comparison and Stop, 138 Tangential Speed Constant Control, 28
Sequence Number Search, 135 TAPE CODES, 71
Servo Adjustment Screen, 163 TAPE FORMAT, 73
SERVO OFF, 126 TAPE HORIZONTAL (TH) PARITY CHECK AND TAPE VER-
SERVO READY SIGNAL, 193 TICAL (TV) PARITY CHECK, 73

Servo Setting Screen, 163 Tape Operation, 134

SERVO WAVEFORM FUNCTION, 162 Tool Compensation, 61

Setting a Workpiece Coordinate System (Using G54 to G59), 42 TOOL COMPENSATION FUNCTION, 93

Setting a Workpiece Coordinate System (Using G92) , 41 TOOL COMPENSATION MEMORY, 96

SETTING AND DISPLAY UNIT, 144, 145 TOOL FUNCTIONS, 57

Setting of Processing Method of Multi-piece Machining, 86 TOOL LIFE MANAGEMENT, 62

Setting the Reference Position without Dogs, 37 Tool Number, 59

Setting the Safety Zone, 190 TOOL OFFSET COMPENSATION (T SEIRES), 94

SETTING UP PRESS START SIGNAL OUTPUT CONDITIONS,


54
Share Proof (G86), 77
–U–
SIMPLE SYNCHRONOUS CONTROL, 127
U/V/W MACRO FUNCTION, 82
SIMULTANEOUS INPUT AND OUTPUT OPERATIONS , 141
SINGLE BLOCK, 143
SKIP FUNCTION (G33), 108
SOFTWARE OPERATOR’S PANEL, 158
–W–
WORKPIECE ORIGIN OFFSET VALUE CHANGE (PROGRAM-
SPINDLE FUNCTIONS, 55 MABLE DATA INPUT) (G10), 44
SPINDLE SPEED COMMAND CONTROL BY THE PMC, 56 WORKPIECE COORDINATE SYSTEM, 41
Square (G87), 77
Revision Record

FANUC Series 16/18/160/180–PB DESCRIPTIONS (B–62622EN)

02 Sep., ’95 Addition of Series 160–PB, Series 18–PB, Series 180–PB

01 Apr., ’95

Edition Date Contents Edition Date Contents


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

· All specifications and designs


are subject to change without
notice.

You might also like