63122EN FANUC 16i 18i

Download as pdf or txt
Download as pdf or txt
You are on page 1of 284

GE Fanuc Automation

Computer Numerical Control Products

Series 16i / 18i / 160i / 180i – Model PA

Descriptions Manual

GFZ-63122EN/01 October 1997


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.

PowerMotion is a trademark of GE Fanuc Automation North America, Inc.

©Copyright 1997 GE Fanuc Automation North America, Inc.


All Rights Reserved.
B–63122EN/01 Table of Contents
DEFINITION OF WARNING, CAUTION, AND NOTE

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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.2 MACHINE CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.2.1 Number of Basic Controlled Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.2.2 Number of Basic Simultaneously Controlled Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.2.3 Number of Controlled Axes Expanded (All) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.2.4 Number of Simultaneously Controlled Axes Expanded (All) . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.2.5 Axis Control by PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.3 AXIS NAMES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.4 INCREMENT SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.4.1 Input Unit (10 Times) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.5 MAXIMUM STROKE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

2. PREPARATORY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

3. INTERPOLATION FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.1 POSITIONING (G00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.2 LINEAR INTERPOLATION (G01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.3 CIRCULAR INTERPOLATION (G02, G03) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.4 HELICAL 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

c–1
TABLE OF CONTENTS B–63122EN/01

4.3.5 Jog Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29


4.3.6 F1–digit (Programmable Rapid Traverse Override) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.7 Rapid Traverse Time Constant Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.4 AUTOMATIC ACCELERATION/DECELERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.4.1 Switching Rapid Traverse Feedrates, Time Constants,
and/or Servo Loop Gains According to the Positioning Distance . . . . . . . . . . . . . . . . . . . . . . . . 32
4.4.2 Constant–positioning–time Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.5 RAPID TRAVERSE BELL–SHAPED ACCELERATION/DECELERATION . . . . . . . . . . . . . . . . . . 33
4.6 LINEAR ACCELERATION/DECELERATION AFTER CUTTING FEED INTERPOLATION . . . . 34
4.7 BELL–SHAPE ACCELERATION/DECELERATION
AFTER CUTTING FEED INTERPOLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.8 LINEAR ACCELERATION/DECELERATION BEFORE CUTTING FEED INTERPOLATION . . 36
4.9 EXACT STOP (G09) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.10 EXACT STOP MODE (G61) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.11 CUTTING MODE (G64) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.12 AUTOMATIC CORNER OVERRIDE (G62) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.13 DWELL (G04) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

5. REFERENCE POSITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.1 MANUAL REFERENCE POSITION RETURN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.1.1 Manual Reference Position Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.1.2 Setting the Reference Position without Dogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.2 AUTOMATIC REFERENCE POSITION RETURN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.3 FLOATING REFERENCE POSITION RETURN (G30.1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
5.4 REFERENCE POINT SHIFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
5.5 LINEAR SCALE WITH ABSOLUTE ADDRESSING REFERENCE MARKS . . . . . . . . . . . . . . . . 42

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

7. COORDINATE VALUE AND DIMENSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50


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

c–2
B–63122EN/01 TABLE OF CONTENTS

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

9. SPINDLE FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.1 S CODE OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
9.2 SPINDLE SPEED COMMAND CONTROL BY THE PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

10. TOOL FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61


10.1 T CODE OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
10.2 T–AXIS CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
10.3 IGNORING T–CODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
10.4 MULTIPLE TOOL CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
10.4.1 Tool Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
10.4.2 Relationship Between the Multiple–tool System and the C Axis . . . . . . . . . . . . . . . . . . . . . . . . . 64
10.4.3 Tool Compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
10.5 TOOL LIFE MANAGEMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
10.6 TOOL DATA SETTING FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

11. MISCELLANEOUS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67


11.1 MISCELLANEOUS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
11.2 1–BLOCK PLURAL M COMMAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
11.3 SECOND MISCELLANEOUS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
11.4 HIGH–SPEED M/S/T/B INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70

12. PROGRAM CONFIGURATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72


12.1 PROGRAM NUMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.2 PROGRAM NAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.3 MAIN PROGRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
12.4 SUB PROGRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
12.5 EXTERNAL MEMORY AND SUB PROGRAM CALLING FUNCTION . . . . . . . . . . . . . . . . . . . . . 75
12.6 SEQUENCE NUMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
12.7 TAPE CODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
12.8 BASIC ADDRESSES AND COMMAND VALUE RANGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
12.9 TAPE FORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
12.10 LABEL SKIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

c–3
TABLE OF CONTENTS B–63122EN/01

12.11 CONTROL–IN/CONTROL–OUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
12.12 OPTIONAL BLOCK SKIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
12.13 ADDITIONAL OPTIONAL BLOCK SKIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
12.14 TAPE HORIZONTAL (TH) PARITY CHECK AND TAPE VERTICAL (TV) PARITY CHECK . . . 77

13. FUNCTION TO SIMPLIFY PROGRAMMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78


13.1 PATTERN FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
13.1.1 Bolt Hole Circle (G26) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
13.1.2 Line at Angle (G76) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
13.1.3 Arc (G77) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
13.1.4 Grid (G78, G79) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
13.1.5 Share Proof (G86) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
13.1.6 Square (G87) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
13.1.7 Radius (G88) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
13.1.8 Cut at Angle (G89) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
13.2 BASE POINT COMMAND (G72) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
13.3 STORAGE AND CALL BY ADDRESS A/B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
13.4 AUTOMATIC REPOSITIONING (G75) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
13.5 U/V/W MACRO FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
13.5.1 Storage of Macro (U, V Command) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
13.5.2 Macro Call (W Command) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
13.5.3 Multiple Call of Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
13.5.4 Storage Capacity of Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
13.5.5 Storage and Call of Plural Macro (Macro No.90 to 99) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
13.6 MULTIPLE–PIECE MACHINING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
13.6.1 Base Point Command of Multi–piece Machining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
13.6.2 Multi–piecemachining Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
13.6.3 Setting of Processing Method of Multi–piece Machining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
13.6.4 Command to Restart Punching Multiple Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
13.7 BENDING COMPENSATION (G38, G39) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
13.8 LINEAR PUNCHING COMMAND G45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
13.9 CIRCULAR PUNCHING COMMANDS G46 AND G47 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

14. TOOL COMPENSATION FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97


14.1 TOOL OFFSET COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
14.2 C–AXIS POSITION COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
14.3 CUTTER COMPENSATION C (G40 – G42) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
14.4 TOOL COMPENSATION MEMORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
14.5 NUMBER OF TOOL OFFSETS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
14.5.1 Number of Tool Offsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
14.6 CHANGING OF TOOL OFFSET AMOUNT (PROGRAMMABLE DATA INPUT) (G10) . . . . . . 101

15. ACCURACY COMPENSATION FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102


15.1 STORED PITCH ERROR COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
15.2 STRAIGHTNESS COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
15.3 BACKLASH COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

c–4
B–63122EN/01 TABLE OF CONTENTS

15.4 BACKLASH COMPENSATION SPECIFIC TO RAPID TRAVERSE AND CUTTING FEED . . . 105
15.5 PROGRAMMABLE PARAMETER ENTRY (G10, G11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
15.6 C–AXIS BACKLASH COMPENSATION FOR INDIVIDUAL INDEXES (OPTION) . . . . . . . . . . 106

16. COORDINATE SYSTEM CONVERSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107


16.1 COORDINATE SYSTEM ROTATION (G68, G69) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
16.2 SCALING (G50, G51) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

17. MEASUREMENT FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111


17.1 SKIP FUNCTION (G33) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112

18. CUSTOM MACRO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113


18.1 CUSTOM MACRO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
18.2 INCREASED CUSTOM MACRO COMMON VARIABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
18.3 INTERRUPTION TYPE CUSTOM MACRO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
18.4 MACRO EXECUTER FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
18.5 C LANGUAGE EXECUTER FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122

19. FUNCTIONS FOR HIGH SPEED CUTTING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123


19.1 AUTOMATIC CORNER DECELERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
19.2 FEEDRATE CLAMP BY CIRCULAR RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
19.3 LOOK–AHEAD CONTROL (G08) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
19.4 REMOTE BUFFER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
19.4.1 Remote Buffer (only at 1–path Control) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127

20. AXES CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129


20.1 FOLLOW UP FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
20.2 MECHANICAL HANDLE FEED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
20.3 SERVO OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
20.4 MIRROR IMAGE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
20.5 CONTROL AXIS DETACH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
20.6 SIMPLE SYNCHRONOUS CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
20.7 FEED STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
20.8 C AXIS CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
20.8.1 Relation with Absolute/Incremental Command (G90/G91) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
20.8.2 Positioning to Smaller Angle Rotation Direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
20.8.3 Relation Between T Command and C Axis Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
20.8.4 Controlling the Punch and Die . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
20.9 AXIS CONTROL WITH PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
20.10 TANDEM CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
20.11 NORMAL–LINE DIRECTION CONTROL (G40.1, G41.1, G42.1) . . . . . . . . . . . . . . . . . . . . . . . . . 135

21. MANUAL OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137


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

c–5
TABLE OF CONTENTS B–63122EN/01

22. AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139


22.1 OPERATION MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
22.1.1 DNC Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
22.1.2 Memory Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
22.1.3 MDI Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
22.2 SELECTION OF EXECUTION PROGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
22.2.1 Program Number Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
22.2.2 Sequence Number Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
22.2.3 Rewind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
22.2.4 External Workpiece Number Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
22.3 ACTIVATION OF AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
22.3.1 Cycle Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
22.4 EXECUTION OF AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
22.4.1 Buffer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
22.5 AUTOMATIC OPERATION STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
22.5.1 Program Stop (M00, M01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
22.5.2 Program End (M02, M30) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
22.5.3 Sequence Number Comparison and Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
22.5.4 Feed Hold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
22.5.5 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
22.6 MANUAL INTERRUPTION DURING AUTOMATIC OPERATION . . . . . . . . . . . . . . . . . . . . . . . 144
22.6.1 Handle Interruption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
22.7 SCHEDULING FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
22.8 SIMULTANEOUS INPUT AND OUTPUT OPERATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
22.9 RETRACE FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
22.10 MULTIPLE–WORKPIECE MACHINING RETRACE FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . 147

23. PROGRAM TEST FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148


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

24. SETTING AND DISPLAY UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150


24.1 SETTING AND DISPLAY UNITS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
24.1.1 CNC Control Unit with 7.2″/8.4″ LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
24.1.2 CNC Control Unit with 9.5″/10.4″ LCD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
24.1.3 Separate–Type Small MDI Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
24.1.4 Separate–Type Standard MDI Unit (Horizontal Type) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
24.1.5 Separate–Type Standard MDI Unit (Vertical Type) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
24.1.6 Separate–Type FA Full Keyboard (Vertical Type) (for 160i/180i) . . . . . . . . . . . . . . . . . . . . . . . 156
24.2 EXPLANATION OF THE KEYBOARD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
24.2.1 Explanation of the Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
24.2.2 Explanation of the Soft Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159

c–6
B–63122EN/01 TABLE OF CONTENTS

25. DISPLAYING AND SETTING DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160


25.1 DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
25.2 LANGUAGE SELECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
25.3 CLOCK FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
25.4 RUN TIME & PARTS NUMBER DISPLAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
25.5 SOFTWARE OPERATOR’S PANEL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
25.6 DIRECTORY DISPLAY OF FLOPPY CASSETTE/PROGRAM FILE . . . . . . . . . . . . . . . . . . . . . . 166
25.7 GRAPHIC DISPLAY FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
25.7.1 Graphic Display Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
25.8 SERVO WAVEFORM FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
25.9 SCREENS FOR SERVO DATA AND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
25.9.1 Servo Setting Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
25.9.2 Servo Adjustment Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
25.10 SYSTEM CONFIGURATION DISPLAY FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
25.11 HELP FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
25.12 DATA PROTECTION KEY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
25.13 DISPLAYING OPERATION HISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
25.14 MACHINING TIME STAMP FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
25.15 REMOTE DIAGNOSIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
25.16 DIRECTORY DISPLAY AND PUNCH FOR A SPECIFIED GROUP . . . . . . . . . . . . . . . . . . . . . . . 177
25.17 CLEARING THE SCREEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
25.18 PERIODIC MAINTENANCE SCREEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
25.19 TOUCH PAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
25.20 MAINTENANCE INFORMATION SCREEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
25.21 COLOR SETTING SCREEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
25.22 BRIGHTNESS ADJUSTMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179

26. PART PROGRAM STORAGE AND EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180


26.1 FOREGROUND EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
26.2 BACKGROUND EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
26.3 EXPANDED PART PROGRAM EDITING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
26.4 NUMBER OF REGISTERED PROGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
26.5 PART PROGRAM STORAGE LENGTH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
26.6 EXTERNAL CONTROL OF I/O DEVICE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
26.7 CONVERSATIONAL PROGRAMMING OF FIGURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
26.8 PASSWORD FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183

27. DIAGNOSIS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184


27.1 SELF DIAGNOSIS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185

28. DATA INPUT/OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186


28.1 READER/PUNCH INTERFACES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
28.2 INPUT/OUTPUT DEVICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
28.2.1 FANUC Floppy Cassette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
28.2.2 FANUC Program File Mate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
28.2.3 FANUC Handy File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188

c–7
TABLE OF CONTENTS B–63122EN/01

28.3 EXTERNAL PROGRAM INPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189


28.4 DATA INPUT/OUTPUT USING A MEMORY CARD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
28.5 DNC1 CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
28.6 DNC2 CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
28.7 DATA SERVER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
28.8 DATA INPUT/OUTPUT FUNCTION BASED ON THE I/O LINK AND
DATA INPUT/OUTPUT FUNCTION B BASED ON THE I/O LINK . . . . . . . . . . . . . . . . . . . . . . . 193
28.9 POWER MOTION MANAGER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194

29. SAFETY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195


29.1 EMERGENCY STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
29.2 OVERTRAVEL FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
29.2.1 Overtravel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
29.2.2 Stored Stroke Check 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
29.2.3 Stored Stroke Check 2 (G22, G23) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
29.2.4 Externally Setting the Stroke Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
29.3 INTERLOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
29.3.1 Interlock per Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
29.3.2 All Axes Interlock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
29.3.3 Interlock for Each Axis Direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
29.4 EXTERNAL DECELERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
29.5 ABNORMAL LOAD DETECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
29.6 SAFETY ZONE CHECK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
29.6.1 Punch Forbidden Area and Approach Forbidden Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
29.6.2 Setting the Safety Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
29.6.3 Automatic Setting of the Safety Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
29.7 WORKPIECE HOLDER INTERFERENCE AVOIDANCE FUNCTION . . . . . . . . . . . . . . . . . . . . . 205
29.8 SERVO MOTOR SPEED DETECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206

30. STATUS OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207


30.1 READY SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.2 SERVO READY SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.3 REWINDING SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.4 ALARM SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.5 DISTRIBUTION END SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.6 AUTOMATIC OPERATION SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.7 AUTOMATIC OPERATION START SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.8 FEED HOLD SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.9 RESET SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.10 IN–POSITION SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.11 MOVE SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
30.12 AXIS MOVE DIRECTION SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
30.13 RAPID TRAVERSING SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
30.14 INCH INPUT SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
30.15 DI STATUS OUTPUT SIGNAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
30.16 POSITION SWITCH FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209

c–8
B–63122EN/01 TABLE OF CONTENTS

31. EXTERNAL DATA INPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210


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

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

33. PERSONAL COMPUTER FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214


33.1 PERSONAL COMPUTER FUNCTIONS INCORPORATED INTO THE CNC . . . . . . . . . . . . . . . . 215
33.2 HIGH–SPEED SERIAL BUS (HSSB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217

APPENDIX
A. RANGE OF COMMAND VALUE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221

B. FUNCTIONS AND TAPE FORMAT LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224

C. LIST OF TAPE CODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228

D. EXTERNAL DIMENSIONS BASIC UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231

E. PRINT BOARD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234

F. EXTERNAL DIMENSIONS MDI UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248

G. EXTERNAL DIMENSIONS OF EACH UNIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258

c–9
I. GENERAL
B–63122EN/01 GENERAL 1. GENERAL

1 GENERAL

The FANUC Series 16i, 160i, 18i, 180i, 21i, and 210i are super–compact
ultra–thin CNC models with built–in liquid crystal displays. Each CNC
unit is only 60 mm deep. This compactness was achieved by
accommodating a small CNC printed–circuit board developed by
utilizing state–of–the–art LSI and surface–mount technologies
immediately behind the liquid crystal display.
Super–compact, ultra–thin open CNC models are also available. They are
implemented on a CNC printed–circuit board incorporating PC functions
that are fully compatible with the IBM PC(*).
The amount of cabling in the electrical unit of a machine tool can be
significantly reduced by using a high–speed serial servo bus, which
connects the CNC control unit and multiple servo amplifiers via a single
optical fiber, and compact distributed I/O modules, which can be
separately mounted on the machine operator’s panel and control panel.
These innovations can simplify the electrical unit of the machine tool.
* 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 16i–PA 16i–PA Series 16i

FANUC Series 160i–PA 160i–PA Series 160i


Punch press
ress
FANUC Series 18i–PA 18i–PA Series 18i

FANUC Series 180i–PA 180i–PA Series 180i

3
1. GENERAL GENERAL B–63122EN/01

Manuals related to The table below lists manuals related to the FANUC Series 16i/160i–PA,
Series 16i/160i–PA, 18i/180i–PA. In the table, this manual is marked with an asterisk (*).
18i/180i–PA
Manuals Related to the Series 16i/160i–PA, 18i/180i–PA

Specification
Manual name
number
FANUC Series 16i/18i/160i/180i–PA DESCRIPTIONS B–63122EN *

FANUC Series 16i/18i/160i/180i–MODEL A


B–63003EN
CONNECTION MANUAL (Hardware)

FANUC Series 16i/18i/160i/180i–MODEL A


B–63003EN–1
CONNECTION MANUAL (Function)

FANUC Series 16i/18i/160i/180i–PA


B–63123EN
CONNECTION MANUAL (Function)

FANUC Series 16i/18i/160i/180i–PA OPERATOR’S MANUAL B–63124EN

FANUC Series 16i/18i/160i/180i–MODEL A MAINTENANCE MANUAL B–63005EN

FANUC Series 16i/18i/160i/180i–MODEL A PARAMETER MANUAL B–63010EN

FANUC Series 16i/18i/160i/180i–PA PARAMETER MANUAL B–63130EN

Macro Compiler / Macro Executer PROGRAMMING MANUAL B–61803E–1

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–63122EN/01 GENERAL 2. LIST OF SPECIFICATIONS

2 LIST OF SPECIFICATIONS

 : Standard  : Standard option  : Option


* : Function included in another option.

NOTE
*1 : only for 16i/18i
*2 : only for 160i/180i
Some combinations of these options are restricted.

Controlled axis
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Controlled axis 3 axes  
Controlled axes expansion (total) Max. 8 axes  

Max. 6 axes — 

Simultaneously controlled axes Simultaneous 2 axes  

Simultaneously controlled axes Max. 6 axes  


expansion (total)
Max. 4 axes  
T axis control  
C axis control  
C axis synchronous control  
Axis control by PMC Max. simultaneous 4 axes  

Axis name Basic 2 axes X, Y,  


Optional from U,V,W,A,B,C,T
Simple synchronous control 3  
4  
Tandem control  
Torque control PMC–axis control is necessary.  
Control axis detach  
Least input increment 0.01mm, 0.01deg, 0.001inch  
0.001mm, 0.001deg, 0.0001inch  
Flexible feed gear Optional DMR  
Dual position feedback  
Fine Acc & Dec control  

HRV control  

Inch/metric conversion  
Interlock All axes/each axis/cutting block start  
Machine lock All axes/each axis  

Emergency stop  
Overtravel  

5
2. LIST OF SPECIFICATIONS GENERAL B–63122EN/01

Controlled axis
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Stored stroke check 1  
Stroke limit external setting  
Stored stroke check 2  
Stroke limit check before move Only for G00  

Safety zone check  

Clamp zone avoidance function  


Software thermal monitor function  
Mirror image  

Follow–up  

Servo off/mechanical handle feed  

Backlash compensation  

Backlash compensation for each rapid traverse and cut-  


ti feed
ting f d

C axis backlash compensation for each index 20  


Stored pitch error compensation  
Straightness compensation  
Position switch  
Unexpected disturbance torque detection function  
Fine torque sensing  

Operation
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Automatic operation (memory)  
DNC operation Reader/puncher interface is required  
MDI operation  
Schedule function Directory display of floppy cassette is required  
*1
Program number search  
Sequence number search  
Sequence number comparison and stop  
Buffer register  
Dry run  

Single block  

JOG feed  
Manual reference position return  
Reference position setting without DOG  
Manual handle feed 1 unit  

2 unit/3 unit  

Manual handle feed rate x1, x10, xm, xn m:1 to 127, n:0 to 1000  
Manual handle interruption  
Incremental feed x1, x10, x100, x1000  

Jog and handle simultaneous mode  

6
B–63122EN/01 GENERAL 2. LIST OF SPECIFICATIONS

Interpolation function
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Positioning G00 (Linear interpolation type positioning is  
possible)
Exact stop mode G61  
Exact stop G09  
Linear interpolation G01  
Circular interpolation  
Dwell Dwell in seconds  
Helical interpolation Circular interpolation plus max. 2 axes linear  
interpolation
Skip function  
Reference position return  
Floating reference position return  
Normal–line direction control  

Feed function
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Rapid traverse rate Max.240m/min  
Rapid traverse override 25, 50, 75, 100%  
Rapid traverse time constant override 1% to 100%  
Feed per minute  
Changeable Rapid traverse rate/time constant Each axis: 7 steps  
according to positioning distance
Positioning time constant control Each axis: 2 steps  
Changeable position loop gain Each axis: 7 steps (Only for positioning)  
Changeable velocity loop gain X,Y axis: 7 steps (Only for positioning)  
Tangential speed constant control  

Cutting feedrate clamp  

Automatic acceleration/deceleration Rapid traverse: linear  


Cutting feed: exponential  
Rapid traverse bell–shaped acceleration/deceleration  
Rapid traverse acceleration/deceleration by 2ms interval Max. 4 axes  
Linear acceleration/deceleration after cutting feed inter-  
polation
Bell–shape acceleration/deceleration after cutting feed  
interpolation
Linear acceleration/deceleration before cutting feed inter-  
polation
Feedrate override 0 to 254%  

2nd feedrate override 0 to 254%  


Jog override 0 to 655.34%  

Override cancel  

External deceleration  

Feed stop  

Advance preview control  

7
2. LIST OF SPECIFICATIONS GENERAL B–63122EN/01

Press function
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
High–speed press control  
1 cycle press  
Manual press 1 cycle/continuity  
Positioning & press off G70  
Setting for press start signal  
Press start lock  
Press start wait  
Changeable nibbling mode 2 steps By nibbling pitch  
External motion function  

Program input
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Tape code EIA RS244/ISO840 automatic  
recognition
Label skip  
Parity check Horizontal and vertical  
Control in/out  
Optional block skip 1  
9  

Max. programmable dimension ±8–digit  

Program number O4–digit  


O8–digits *1  
Sequence number N5–digit  
Absolute/incremental programming Combined use in the same block  

Decimal point programming/pocket calculator type deci- *1  


mal point programming
Input unit 10 time multiply  
Rotary axis designation  
Rotary axis roll–over function  
Coordinate system setting  
Automatic coordinate system setting  
Workpiece coordinate system  
Manual absolute on  
G code system A/B  
Pattern function Bolt hole circle, Line at angle, etc.  

Linear/circular punch command  


Nibbling G68/G69/M code  
Pattern base point command G72  
Memory and call by A/B macro 5  
U/V/W macro  
Multi–piece machining  
Command for restarting multi–piece machining  
Repositioning G75/M code  
Y–axis crack cancel  

8
B–63122EN/01 GENERAL 2. LIST OF SPECIFICATIONS

Program input
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Bending compensation G38/G39  
Programmable data input G10  
Sub program call 4 folds nested  
Custom macro B  
Addition of custom macro common variables #100 to #199, #500 to #999  
Interruption type custom macro  
Automatic corner override  
Automatic corner deceleration  
Feedrate clamp based on arc radius  
Scaling  
Coordinate system rotation  
Retrace function  
Retrace of multi–piece machining  
Conversational programming with graphic function  
Macro executor Max. 3MB  
C language executor Max. 3MB  

Auxiliary/S function
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Auxiliary function M8–digit  
2nd auxiliary function B8–digit  
Auxiliary function lock  
High speed M/S/T interface  
Multiple command of auxiliary function 3  
S function S5–digit, binary output  
S analog output S5–digit, analog output  

Tool function/Tool compensation


16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Tool function T8 digit  
Tool register 136  

Tool data setting function 16KB  


Tool position compensation  
T–command neglect  
Multiple tool control  
Tool life management function  
Output ahead of T code  
C–axis position compensation 20  
Cutter compensation C  
Tool offset pairs ±6 digits 32  
±6 digits 64  
±6 digits 99  
±6 digits 200  
±6 digits 400  

9
2. LIST OF SPECIFICATIONS GENERAL B–63122EN/01

Editing operation
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Part program storage length 20m Ċ 
40m  
80m  
160m  
320m  
640m  
1280m  

2560m  Ċ

5120m  Ċ

Number of registrable programs 63  

125  

200  

400  

1000  

Part program editing  


Program protect  
Background editing  
Extended part program editing  
Machining time stamp *1  

Setting and display


16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Status display  
Clock function  
Current position display  
Program display Program name 31 characters  
Parameter setting and display  
Self–diagnosis function  
Alarm display  
Alarm history display  
Operator message history display *1  
Operation history display *1  
Help function *1  
FACTCLINK *1  
Remote diagnostic function Specification of 16i/18i–M  
Run hour and parts count display  
Actual cutting feedrate display  
Directory display of floppy cassette  
Directory display and punch for each group *1  
Graphic function *1  
Servo setting screen  
Servo waveform display Graphic display circuit is required  
Display of hardware and software configuration  

10
B–63122EN/01 GENERAL 2. LIST OF SPECIFICATIONS

Setting and display


16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Periodic maintenance screen *1  
Maintenance information screen *1  
Software operator’s panel  
Software operator’s panel general purpose switch  
Multi–language display English  
Japanese(Chinese character)  
German/French *1  
Italian *1  
Spanish *1  
Data protection key 4 type  
Erase screen display *1  

Data input/output
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Reader/puncher interface Reader/puncher(Ch.1)interface  
Reader/puncher(Ch.2)interface  
Input/output simultaneous operation  
Remote buffer  
Data server  
External I/O device control *1  
DNC1 control Specification of 16i/18i–M *1  
DNC2 control Specification of 16i/18i–M *1  
Modem card control *1  
External tool offset  
External message  
External machine zero point shift  
External data input Including above 3 items  
External key input  
External program input  
External workpiece number search 31  
External program number search 1 to 9999  
Memory card interface For maintenance  
Screen hard copy *1  
Power motion manager *1  

11
2. LIST OF SPECIFICATIONS GENERAL B–63122EN/01

Others
16i–PA 18i–PA
Item Specifications
160i–PA 180i–PA
Status output signal NC ready, servo ready, automatic operation,re-  
set,alarm, etc.
Display incorporated in the control unit 7.2″ monochrome LCD *1  
9.5″ monochrome LCD *1  
8.4″ color LCD *1  
10.4″ color LCD  
Control unit option slots (depth) Without optional slot (60 mm)  
2 optional slots (110 mm)  
4 optional slots (170 mm)  
MDI unit Separate–type MDI for 7.2″/8.4″ LCD (small)  
*1
Separate–type MDI for 7.2″/8.4″ LCD  
(standard) *1
Separate–type MDI for 9.5″/10.4″ LCD  
(standard, horizontal type) *1
Separate–type MDI for 9.5″/10.4″ LCD  
(standard, vertical type)
(MDI for 10.4″ LCD, for the Series 160i/180i)
Separate–type MDI for 10.4″ LCD  
(PC key, vertical type) *2
Touch pad (for 10.4″ LCD only)  
PMC–RB5 Maximum ladder steps: 24,000  
(Basic instruction: 0.085 µs/step)
PMC–RB6 Maximum ladder steps: 32,000  
(Basic instruction: 0.085 µs/step) Step sequence function
PMC–Ri Maximum ladder steps: 32,000, complying  
(Basic instruction: 0.085 µs/step) with IEC1131–3
PMC C Up to 2MB (PMC–RB5/RB6 required)  
Battery–powered memory expansion  
Machine interface (I/O link) I/O unit model A  
Maximum DI/DO points: 1024/1024
I/O unit model B  
Operator’s panel I/O module  
Connector panel I/O module  
Power magnetics cabinet I/O module  
Standard machine operator’s panel (FS0 type)  
Manual pulse generator  
Pendant type manual pulse generator With axis selection and magnification switches  
Codeless manual pulse generator Restricted use in Japan  
Connectable servo motor FANUC AC servo motor α series  
Connectable servo amp. FANUC control motor amp. α series  
Connectable position detector Pulse coder/optical scale  
(for full–closed control) (2–phase pulse interface)
Linear scale interface with absolute addressing reference  
mark
Input power supply 24V DC ±10%  

12
II. NC FUNCTION
B–63122EN/01 NC FUNCTION 1. CONTROLLED AXES

1 CONTROLLED AXES

15
1. CONTROLLED AXES NC FUNCTION B–63122EN/01

1.1 8 axes
16i/160i–PA : 8 axes
NUMBER OF THE 18i/180i–PA : 6 axes
ALL CONTROLLED The machine controlled axes include Cs axis and PMC controlled axes.
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 16i/160i–PA : Max. 8 (including PMC controlled axes)


Number of Controlled 18i/180i–PA : Max. 6 (including PMC controlled axes)
Axes Expanded (All)

1.2.4 16i/160i–PA : Max. 6 axes


Number of 18i/180i–PA : Max. 4 axes
Simultaneously
Controlled Axes
Expanded (All)

1.2.5 Max. simultaneous 4 axes


Axis Control by PMC

1.3 X, Y, T, and C
The names of the two basic 2 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.

CAUTION
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–63122EN/01 NC FUNCTION 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

NOTE
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–63122EN/01

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

CAUTION
When incerement system is IS–A, Input unit 10 time multibly
can not be used.
The least input increment for inch inputs will not be
changed.

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

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

18
B–63122EN/01 NC FUNCTION 2. PREPARATORY FUNCTIONS

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/Helical interpolation (CW)
G03 G03 Circular interpolation/Helical interpolation (CCW)
G04 G04 Dwell
G08 G08 Look–ahead cotrol
G09 G09 00 Exact stop
G10 G10 Programmable data input
G11 G11 Cancel programmable data input mode
G17 G17 XpYp plane Xp:: X
where X X–axis
axis or an axis parallel
arallel to it
G18 G18 02 ZpXp plane Yp: Y–axis or an axis parallel to it
G19 G19 YpZp plane Z Z–axis
Zp: Z i or an axis
i parallel
ll l to
t it
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
G30.1 G30.1 Floating reference position return
G32 G32 00 Automatic safety zone setting
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
G40.1 G40.1
Normal–line direction control canceled
(G150) (G150)
G41.1 G41.1
19 Left–side normal–line direction control turned on
(G151) (G151)
G42.1 G42.1
Right–side normal–line direction control turned on
(G152) (G152)
G45 G45 Linear punching
G46 G46 00 Circular punching (CW)
G47 G47 Circular punching (CCW)

19
2. PREPARATORY FUNCTIONS NC FUNCTION B–63122EN/01

G code list (2/2)


System A System B Group Meaning
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 Workpiece coordinates system 3 selection
14
G57 G57 Workpiece coordinates system 4 selection
G58 G58 Workpiece coordinates system 5 selection
G59 G59 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)

20
B–63122EN/01 NC FUNCTION 3. INTERPOLATION FUNCTIONS

3 INTERPOLATION FUNCTIONS

21
3. INTERPOLATION FUNCTIONS NC FUNCTION B–63122EN/01

3.1 Positioning is done with each axis separately (Non linear interpolation
type positioning).
POSITIONING (G00) Any of the following tool paths can be selected using parameters.
 Non linear interpolation positioning
Each axis is independently positioned at the rapid traverse rate, then
punch is performed. The tool path is normally straight.
 Linear interpolation–type positioning
Positioning is performed within the shortest possible time by moving
along a straight line to a specified point at a speed not higher than a
rapid traverse rate for each axis.

Linear interpolation–type positioning 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 _ ;

22
B–63122EN/01 NC FUNCTION 3. INTERPOLATION FUNCTIONS

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

23
3. INTERPOLATION FUNCTIONS NC FUNCTION B–63122EN/01

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

24
B–63122EN/01 NC FUNCTION 3. INTERPOLATION FUNCTIONS

3.4 Helical interpolation performs circular interpolation of a maximum of


two axes, synchronizing with other optional two axes circular
HELICAL interpolation. Thread cutting of large radius threads or machining of solid
INTERPOLATION cams are possible by moving a tool in a spiral.
(G02, G03) The commanded speed is the speed of the tangential direction of the arc.
Thus, the speed of a linear axis is expressed as follows:
Lengthoflinearaxis
F
Arclength

Tool path

X Y

Tangential speed along an arc by circular interpolation


is the rate specified in programming.

Format
Arc on the Xp-Yp plane
G02
G17 Xp_ Yp_ R_ α_ (β_) F_ ;
G03 I_ J_
Arc on the Zp-Xp plane
G02 R_
G18 Zp_ Xp_ α_ (β_) F_ ;
G03 K_ I_
Arc on the Yp-Zp plane
G02 R_
G19 Yp_ Zp_ α_ (β_) F_ ;
G03 J_ K_

α, β: Optional axis other than the circular interpolation axes

25
4. FEED FUNCTIONS NC FUNCTION B–63122EN/01

4 FEED FUNCTIONS

26
B–63122EN/01 NC FUNCTION 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

CAUTION
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 A.

27
4. FEED FUNCTIONS NC FUNCTION B–63122EN/01

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

CAUTION
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 A.

28
B–63122EN/01 NC FUNCTION 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–63122EN/01

4.3.7 It is possible to override the X–/Y–axis rapid traverse linear


Rapid Traverse Time acceleration/deceleration time constant in a range from 1% to 100% in 1%
steps. This function obtains an optimum time constant by overriding the
Constant Override linear acceleration/deceleration time constant depending on changes in
the weight of workpieces being machined. The amount of override is
determined according to the time constant set up for maximum
acceleration. Combining this function with a function for changing the
time constant through seven steps according to the positioning distance
ensures precise adjustments.

Speed

Time
T

Toverride value

30
B–63122EN/01 NC FUNCTION 4. FEED FUNCTIONS

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

31
4. FEED FUNCTIONS NC FUNCTION B–63122EN/01

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 Loop Gains servo loop gains are switched according to the
According to the positioning 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)

32
B–63122EN/01 NC FUNCTION 4. FEED FUNCTIONS

4.5 The function for rapid traverse bell–shaped acceleration/deceleration


increases or decreases the rapid traverse feedrate smoothly.
RAPID TRAVERSE This reduces the shock to the machine system due to changing
BELL–SHAPED acceleration when the feedrate is changed.
ACCELERATION/ As compared with linear acceleration/deceleration, bell–shaped
acceleration/deceleration allows smaller time constants to be set,
DECELERATION
reducing the time required for acceleration/deceleration.

Linear acceleration/deceleration Bell–shaped acceleration/


for rapid traverse deceleration for rapid traverse

Feedrate

Feedrate
0 0
Time Time
Acceleration

Acceleration
0 0
Time Time

33
4. FEED FUNCTIONS NC FUNCTION B–63122EN/01

4.6
LINEAR
Speed
ACCELERATION/
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/decelera
2 2
2
r + ( 1 T 1 ) 1 T 2 ) Vr . . . . . . . . . For linear acceleration/deceleration af
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.

34
B–63122EN/01 NC FUNCTION 4. FEED FUNCTIONS

4.7
BELL–SHAPE Speed
ACCELERATION/
DECELERATION B
F
AFTER CUTTING
FEED
INTERPOLATION
F/2 A

0 TC/2 Time
TC TC

It is possible to apply quadratic–curve acceleration/deceleration to cutting


feed as shown above. This type of acceleration/deceleration is called
bell–shape acceleration/deceleration, because the curve resembles the
outline of a bell. Let a time constant be TC (the time required to change
the speed from 0 to the specified value F or vice versa). Half (F/2) the
specified speed F is reached in half the time TC, and curve OA is
represented by:
f (t)  2F2 t 2
TC
Curve AB is symmetrical to curve OA with respect to point A. This type
of acceleration/deceleration enables smooth movement, because the
speed changes gradually when it is near 0 and the specified value.

35
4. FEED FUNCTIONS NC FUNCTION B–63122EN/01

4.8 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

36
B–63122EN/01 NC FUNCTION 4. FEED FUNCTIONS

4.9 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.10 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.11 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 command is valid till G61 (exact stop mode) or G62 (automatic corner
(G64) override) is commanded.

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

4.13 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)

37
5. REFERENCE POSITION NC FUNCTION B–63122EN/01

5 REFERENCE POSITION

38
B–63122EN/01 NC FUNCTION 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.

39
5. REFERENCE POSITION NC FUNCTION B–63122EN/01

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 ;

40
B–63122EN/01 NC FUNCTION 5. REFERENCE POSITION

5.3 It is possible to return the workpiece to the floating reference position by


commanding the G30.1.
FLOATING The floating reference position is located on the machine and can be a
REFERENCE reference position of some sort of machine operation. It is not always a
POSITION RETURN fixed position but may vary in some cases. The floating reference
position can be set using the soft keys of MDI and can be memorized even
(G30.1)
if the power is turned off.
Generally, the position where the workpieces can be replaced on punch
press machine is a set position on top of the machinery. The workpieces
cannot be replaced at any machine angle. Normally the workpieces
replacement position is at any of the No. 1 reference position. The
workpiece can be restored to these positions easily by G28 command.
However, depending on the machine, the workpieces can be replaced at
any position as long as it does not contact the machine.
For machinery such as these, in order to reduce the cycle time, it is
advantageous to replace workpieces at a position as close as possible to
the current position. For this purpose, workpiece replacement position
must be changed for each work shape and this feature can be easily
realized by this function. Namely, the workpiece replacement position
which is suitable for workpieces can be memorized as the floating
reference position and it is possible to return the workpiece to the
workpiece replacement position easily by commanding the G30.1.

Format
G30.1 _ ;

 : It is the intermediate point to the floating reference position and is


commanded by an absolute value or an incremental value.

Explanations When the G30.1 is commanded, the axis commanded is set to the
intermediate point with rapid traverse at first and then is set to the floating
reference position from the intermediate point with rapid traverse. The
positioning to the intermediate point or to the floating point is performed
at rapid traverse for each axis (non-linear positioning). The floating
reference position return completion signal is output after completing the
floating reference position return.

Examples
G30.1 G90 X50.0 Y40.0 ;
Y
Intermediate point (50, 40)

Floating reference position

Workpiece

41
5. REFERENCE POSITION NC FUNCTION B–63122EN/01

5.4 In a grid–based reference position return, setting the distance over which
the reference position is to shift in a parameter makes it possible to shift
REFERENCE POINT the reference position without moving a deceleration dog. This function
SHIFT can greatly reduce the time required in reference position adjustment,
because it is unnecessary to adjust the deceleration dog.

Direction of
reference
position return
LDEC LSFT
Deceleration
dog

Machine origin
Grid point

LSFT : Distance over which the reference position is shifted


LDEC : Distance to the first grid point (grid point where the distance
over which the reference position is shifted is 0) from a point
where the deceleration dog became off
(LDEC is displayed on the diagnosis screen.)

5.5 The linear scale with absolute addressing reference marks has reference
marks (one–rotation signals) at intervals that change at a constant rate.
LINEAR SCALE WITH By determining the reference mark interval, the corresponding absolute
ABSOLUTE position can be deduced. The CNC makes a small movement along an
ADDRESSING axis to measure the one–rotation signal interval, then calculates the
absolute position. The reference position can be established without
REFERENCE MARKS
performing positioning to the reference position.

8.0 42.0 8.2 41.8 8.4 41.6 8.6 41.4

Reference
marks
Reference
mark 1 50.0
Reference 50.2
mark 2

Fig. 5.5 Sample linear scale with absolute addressing reference marks

42
B–63122EN/01 NC FUNCTION 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.

43
6. COORDINATE SYSTEMS NC FUNCTION B–63122EN/01

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 _ ;

44
B–63122EN/01 NC FUNCTION 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.

45
6. COORDINATE SYSTEMS NC FUNCTION B–63122EN/01

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

46
B–63122EN/01 NC FUNCTION 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)
IP
Workpiece coordi-
nate system 1 (G54) (Local coordinate
system)
Workpiece
G55
G56
IP
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.

47
6. COORDINATE SYSTEMS NC FUNCTION B–63122EN/01

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
IP : Workpiece origin offset value

48
B–63122EN/01 NC FUNCTION 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

NOTE
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.

49
7. COORDINATE VALUE AND
DIMENSION NC FUNCTION B–63122EN/01

7 COORDINATE VALUE AND DIMENSION

50
7. COORDINATE VALUE AND
B–63122EN/01 NC FUNCTION 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 ;

51
7. COORDINATE VALUE AND
DIMENSION NC FUNCTION B–63122EN/01

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).

CAUTION
This function is invalid in T axis and C axis

52
B–63122EN/01 NC FUNCTION 8. PRESS FUNCTIONS

8 PRESS FUNCTIONS

53
8. PRESS FUNCTIONS NC FUNCTION B–63122EN/01

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

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

54
B–63122EN/01 NC FUNCTION 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)

8.2.1 (1) The following command specifies circular nibbling:


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

(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

(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

55
8. PRESS FUNCTIONS NC FUNCTION B–63122EN/01

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 X___ Y___ I___J___
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.

56
B–63122EN/01 NC FUNCTION 8. PRESS FUNCTIONS

Q: Pitch
N200G00G90X x1 Y y1 ;
N210M12;
N220G41X x2 Y y2 T02D02 ;
N230G01X x 3 Y y 3 Q ;
N240X x 4 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.

57
8. PRESS FUNCTIONS NC FUNCTION B–63122EN/01

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
NO PRESS START
SIGNAL (G70)
Format
G70IP -- ;

8.5 The following parameters can be used to adjust the press start signal
output timing so that punching is smooth.
SETTING UP PRESS
(1) Punching specification for forming mode
START SIGNAL
(2) Setting up an upper limit to the positioning offset for press start signal
OUTPUT 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

58
B–63122EN/01 NC FUNCTION 9. SPINDLE FUNCTIONS

9 SPINDLE FUNCTIONS

59
9. SPINDLE FUNCTIONS NC FUNCTION B–63122EN/01

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
SPINDLE SPEED according to the input.
COMMAND
CONTROL BY THE
PMC

60
B–63122EN/01 NC FUNCTION 10. TOOL FUNCTIONS

10 TOOL FUNCTIONS

61
10. TOOL FUNCTIONS NC FUNCTION B–63122EN/01

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.

CAUTION
The T–code must be issued in positioning mode (G00).

NOTE
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.

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.

62
B–63122EN/01 NC FUNCTION 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

Fig. 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.

63
10. TOOL FUNCTIONS NC FUNCTION B–63122EN/01

10.4.2 The tools of a multiple–tool system are selected by turning the C axis.
Relationship Between A 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°

CAUTION
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.

64
B–63122EN/01 NC FUNCTION 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

65
10. TOOL FUNCTIONS NC FUNCTION B–63122EN/01

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.

10.6 This function makes the area used for registering tool numbers, tool
position compensation, punch count, and other tool data available to the
TOOL DATA SETTING user. This enables the user to customize the registered tool data. This
FUNCTION allows the conventional tool data setting method to be changed and the
number of tools that can be registered to be increased considerably.
The number of usable tools are depended on machine tool builder.
Refer to the manual of the machine tool builder.
A memory area consisting of 16KB (161024 bytes) is provided for the
tool data setting function.

66
B–63122EN/01 NC FUNCTION 11. MISCELLANEOUS FUNCTIONS

11 MISCELLANEOUS FUNCTIONS

67
11. MISCELLANEOUS FUNCTIONS NC FUNCTION B–63122EN/01

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

WARNING
These M–code operations must be specified within a single
block.

NOTE
These M–code operations are specified by parameters.

68
B–63122EN/01 NC FUNCTION 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.;
:

CAUTION
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.

NOTE
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 CAUTION
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.

69
11. MISCELLANEOUS FUNCTIONS NC FUNCTION B–63122EN/01

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

70
B–63122EN/01 NC FUNCTION 11. MISCELLANEOUS FUNCTIONS

NOTE
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.

71
12. PROGRAM CONFIGURATION NC FUNCTION B–63122EN/01

12 PROGRAM CONFIGURATION

72
B–63122EN/01 NC FUNCTION 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.

73
12. PROGRAM CONFIGURATION NC FUNCTION B–63122EN/01

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 ;

74
B–63122EN/01 NC FUNCTION 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

CAUTION
In the program called by M198, no more sub program can
be called by M198.

NOTE
Whether address P specifies the file number or program
number is selected by a parameter.

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.

75
12. PROGRAM CONFIGURATION NC FUNCTION B–63122EN/01

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

CAUTION
Coordinates maximum command value for inch input/metric
output is limited to: 39370.078 inch / 3937.0078 inch /
393.70078 inch.

NOTE
“:” can be used for 0 in ISO Code.

76
B–63122EN/01 NC FUNCTION 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.

77
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

13 FUNCTION TO SIMPLIFY PROGRAMMING

78
13. FUNCTION TO SIMPLIFY
B–63122EN/01 NC FUNCTION 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.

CAUTION
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
θ

79
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

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

80
13. FUNCTION TO SIMPLIFY
B–63122EN/01 NC FUNCTION 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

81
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

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

θ

82
13. FUNCTION TO SIMPLIFY
B–63122EN/01 NC FUNCTION 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.

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

83
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

13.3
STORAGE AND CALL 

BY ADDRESS A/B 

G72X100.Y100. ;
A2G26I50.J0K4 ; Designated for storage after execution
G72X200.Y100. ;
B2 ;  Recall of pattern A2
G72X250.Y200. ;
B2 ;
G72X150.Y200. ;
B2 ;




(150, 200) (250, 200)

(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.

84
13. FUNCTION TO SIMPLIFY
B–63122EN/01 NC FUNCTION 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.

85
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

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 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
(U, V 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.

86
13. FUNCTION TO SIMPLIFY
B–63122EN/01 NC FUNCTION 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)

87
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

13.6
MULTIPLE–PIECE
MACHINING

X
Cutting margin

 

  Material
plate

 

y
Cutting
margin B

x

Fig. 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.

88
13. FUNCTION TO SIMPLIFY
B–63122EN/01 NC FUNCTION 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)

CAUTION
Product board  (in Fig 13.6) is not included in the number.

After a G98 command, specify the punching command for a single plate
at the lower left ( in Fig 13.6) 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

89
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

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

90
13. FUNCTION TO SIMPLIFY
B–63122EN/01 NC FUNCTION 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 ;
% ! $!
 "#!# ! "#
 "#!# #
  ""  !"#!# # %#  
" $ " &   !  

 ! ## $!  %!"
Y

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

91
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

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.

92
13. FUNCTION TO SIMPLIFY
B–63122EN/01 NC FUNCTION 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

CAUTION
All units of measures are as entered.

Examples (1) G72G90X10.Y50. ;


G45X200.Y200.P20.Q10.R1 ;

(200, 200)

20

(10, 50)
10

93
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

(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. ;

94
13. FUNCTION TO SIMPLIFY
B–63122EN/01 NC FUNCTION 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.

95
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–63122EN/01

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 Xx Yy Rr Pd Qq ;
AND 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

CAUTION
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.)

96
B–63122EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION

14 TOOL COMPENSATION FUNCTION

97
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–63122EN/01

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
installation. (Up to 136 tools, values: Positive number consisting of eight
digits)

CAUTION
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)

98
B–63122EN/01 NC FUNCTION 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

99
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–63122EN/01

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


TOOL Increment system Metric input Inch input
COMPENSATION IS–A 999.99 mm 99.999 inch
MEMORY
IS–B 999.999 mm 99.9999 inch

14.5
NUMBER OF TOOL
OFFSETS

14.5.1  32 tool offsets (standard)


Number of Tool 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

100
B–63122EN/01 NC FUNCTION 14. TOOL COMPENSATION FUNCTION

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

101
15. ACCURACY COMPENSATION
FUNCTION NC FUNCTION B–63122EN/01

15 ACCURACY COMPENSATION FUNCTION

102
15. ACCURACY COMPENSATION
B–63122EN/01 NC FUNCTION FUNCTION

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)  (magnification)
Where Offset pulse unit is the same as detection unit
Magnification: 0 to 100 times, set by parameter (per axis)

103
15. ACCURACY COMPENSATION
FUNCTION NC FUNCTION B–63122EN/01

15.2 In large–stroke machines, a low axis–to–axis straightness would decrease


their machining precision. Axis–to–axis straightness can be improved by
STRAIGHTNESS compensating the position of an axis (compensation axis) associated with
COMPENSATION a movement axis in detection units. With this function, the position of an
axis (specified using a parameter) is compensated, as the associated
movement axis (specified using a parameter) is shifted. This axis
compensation is put in effect for the movement axis between pitch error
compensation points.

Example:

Movement axis pitch error compensation points

0 1 2 3 60 61 126
127

Movement axis machine coordinate


a c

Â
γ
α

β Â ε

b d

a, b, c, d : Movement axis compensation point number (the same number as the pitch
error compensation point number)
α, β, γ, ε : Compensation amount (corresponding to each compensation point)

The amount of compensation performed between points a and b is:


(β – α)/(b – a)

NOTE
1 Straightness compensation specified for a compensation
axis is put in effect after the compensation axis and
associated movement axis have undergone a reference
position return.
2 Use of the straightness compensation option requires that
the memory–type pitch error compensation option be
installed.
3 The output of this option is superimposed on the
memory–type pitch error compensation data.

104
15. ACCURACY COMPENSATION
B–63122EN/01 NC FUNCTION FUNCTION

15.3 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

15.4 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

105
15. ACCURACY COMPENSATION
FUNCTION NC FUNCTION B–63122EN/01

15.5 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.6 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 tool number for the die–indexable tool are specified by parameters. (Up
FOR INDIVIDUAL to 20 tools with tool numbers of 1 to 9999)
INDEXES (OPTION)

106
16. COORDINATE SYSTEM
B–63122EN/01 NC FUNCTION CONVERSION

16 COORDINATE SYSTEM CONVERSION

107
16. COORDINATE SYSTEM
CONVERSION NC FUNCTION B–63122EN/01

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  R  360000
When X, Y is omitted, the point where G84 was commanded becomes the
rotation center.
G85; Cancels the coordinate system rotation.

108
16. COORDINATE SYSTEM
B–63122EN/01 NC FUNCTION 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

109
16. COORDINATE SYSTEM
CONVERSION NC FUNCTION B–63122EN/01

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

110
B–63122EN/01 NC FUNCTION 17. MEASUREMENT FUNCTIONS

17 MEASUREMENT FUNCTIONS

111
17. MEASUREMENT FUNCTIONS NC FUNCTION B–63122EN/01

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 command, the remainder of this command is cancelled, and program
(G33) 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.

112
B–63122EN/01 NC FUNCTION 18. CUSTOM MACRO

18 CUSTOM MACRO

113
18. CUSTOM MACRO NC FUNCTION B–63122EN/01

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.

114
B–63122EN/01 NC FUNCTION 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

115
18. CUSTOM MACRO NC FUNCTION B–63122EN/01

 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.

116
B–63122EN/01 NC FUNCTION 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.

117
18. CUSTOM MACRO NC FUNCTION B–63122EN/01

 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.
 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.

NOTE
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:
 16 points DI (for read only)
 48 points DO (for output only)
 Tool offset amount, work zero point offset amount
 Position information (actual position, skip position, block end
position, etc.)
 Modal information (F code, G code for each group, etc.)
 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.)

118
B–63122EN/01 NC FUNCTION 18. CUSTOM MACRO

 A date (year, month, day) and time (hour, minute, second) are
indicated.
 Clock (Time can be known. A time can also be preset.)
 Single block stop, Miscellaneous function end wait hold
 Feed hold, Feed rate override, Exact stop inhibition
The number of machining parts is indicated. It can be preset.
 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.

 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)

119
18. CUSTOM MACRO NC FUNCTION B–63122EN/01

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
VARIABLES

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;
:
This function enables an application like: Detect a broken tool, input a
custom macro interrupt signal, execute a custom macro for a tool
exchange cycle, and resume machining after tool exchange.

120
B–63122EN/01 NC FUNCTION 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 flash 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 flash 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 flash 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.
 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.

NOTE
1 When the macro executor is attached, the order–made
macro cannot be specified.
2 To use the macro executor function for graphics display, the
option for the graphics function is required.

121
18. CUSTOM MACRO NC FUNCTION B–63122EN/01

18.5 As with the conversational macro function, the C language executor


function is used to customize screens and include unique operations.
C LANGUAGE Application programs for display and operation can be created in standard
EXECUTER C language, in the same way as programs are made for normal personal
FUNCTION 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 (*). All available display units are supported.
User applications can be included in the current CNC system.

CAUTION
To execute C Executor and application programs, 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 macro executor. Not only
executor with the macro executable macros, but also conversational macros can be used together.
executor 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.

122
19. FUNCTIONS FOR HIGH SPEED
B–63122EN/01 NC FUNCTION CUTTING

19 FUNCTIONS FOR HIGH SPEED CUTTING

123
19. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–63122EN/01

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 deceleration and servo delay on the junction of two blocks.
CORNER If the angle made by two consecutive blocks is less than the angle set by
DECELERATION 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

124
19. FUNCTIONS FOR HIGH SPEED
B–63122EN/01 NC FUNCTION 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.

125
19. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–63122EN/01

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

126
19. FUNCTIONS FOR HIGH SPEED
B–63122EN/01 NC FUNCTION 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:

 When connected to the host computer online, it performs DNC


operation with high reliability and at a high speed.
 The NC program and parameters can be down–loaded from the host
computer.
 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
 Interface between the  Electrical interface
remote buffer and host The following two types of interface are prepared as standard
computer specifications.
 RS–232–C Interface
 RS–422 Interface
RS–233–C RS–422

Serial voltage interface (start– Balanced transmission serial in-


Interface
stop) terface (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

127
19. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–63122EN/01

 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 re- RS–232–C 19200 BPS


ceiving are re
repeated
eated between two sta-
tions. 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

CAUTION
The average data transfer rate is lower than the maximum
transfer rate.

128
B–63122EN/01 NC FUNCTION 20. AXES CONTROL

20 AXES CONTROL

129
20. AXES CONTROL NC FUNCTION B–63122EN/01

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.

130
B–63122EN/01 NC FUNCTION 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.

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

131
20. AXES CONTROL NC FUNCTION B–63122EN/01

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
132
B–63122EN/01 NC FUNCTION 20. AXES CONTROL

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:
(1) Rapid traverse with the specified moving distance.
(2) Cutting feed per minute with a movement amount specified
(3) Skip per minute with a movement amount specified
(4) Dwelling
(5) Continuous feed
(6) Reference position return
(7) First reference position return
(8) Second reference position return
(9) Third reference position return
(10) Fourth reference position return
(11) Speed command
(12) Auxiliary function, auxiliary function 2, auxiliary function 3
(13) Machine coordinate system selection
(14) Torque control command
Four systems of input/output signals are available, which enable these
operations to be specified from the PMC. In other words, the PMC can
control more than one axis automatically and independently using these
commands. The correspondence between an I/O signal system and an
axis to be controlled with the I/O signal system must previously specified
using parameters. It is possible to assign a single I/O signal system to
more than one axis for simultaneous movement.

133
20. AXES CONTROL NC FUNCTION B–63122EN/01

20.10 When enough torque for driving a large table cannot be produced by only
one motor, two motors can be used for movement along a single axis.
TANDEM CONTROL Positioning is performed by the main motor only. The sub motor is used
only to produce torque. With this tandem control function, the torque
produced can be doubled.

Main motor
Table

Ball screw
Sub motor

Example of operation

In general, the NC regards tandem control as being performed for one


axis. However, for servo parameter management and servo alarm
monitoring, tandem control is regarded as being performed for two axes.

134
B–63122EN/01 NC FUNCTION 20. AXES CONTROL

20.11 G41.1 and G41.2 are used to control the rotation axis (C–axis) so that the
tool is kept vertical to the direction in which it advances during cutting
NORMAL–LINE operation.
DIRECTION
CONTROL
(G40.1, G41.1, G42.1)

Format
G40.1 Normal–line direction control cancel mode
(Normal–line direction control is not performed.)

G41.1 Left–side normal–line direction control turned on


(The tool is kept vertical to the direction of travel at the left as
viewed when facing forward.)

G42.1 Right–side normal–line direction control turned on


(The tool is kept vertical to the direction of travel at the right as
viewed when facing forward.)

The tool is kept vertical to the direction of travel in the X–Y plane. The
rotation angles of the C–axis are defined as viewed from the rotation
center. In the following figure, the positive X–axis is defined to be at 0
degrees. The rotation angles are incremented counterclockwise. So, the
positive Y–axis, the negative X–axis, and negative Y–axis are defined to
be at 90, 180, and 270 degrees, respectively. When transition occurs from
the cancel mode to the normal–line direction control mode, the C–axis
becomes vertical to the direction of travel at the beginning of a block
where G41.1 or G42.1 is issued.
As the direction of travel changes between blocks, C–axis movement
commands are inserted automatically so that the C–axis becomes vertical
to the direction of travel at the beginning of each block.

Â
  +Y

 Â
90°

180°
ÂÂÂÂ Â 0° +X

270°
Rotation center

135
20. AXES CONTROL NC FUNCTION B–63122EN/01

In the cutter compensation mode, normal–line direction control is


performed in reference to the path after it is compensated.
The speed of C–axis rotation inserted at the beginning of each block is
specified using a parameter except when dry run or rapid traverse (G00)
is effective, in which case C–axis rotation is set to the dry run speed or
rapid traverse speed, respectively.
If an arc command is issued, the C–axis is first made vertical to the
direction of travel at the arc start point before the arc command block is
started. Once the arc command block is started, the C–axis is kept vertical
to the direction of travel while the arc command is being executed.

NOTE
C–axis rotation around the normal–line direction control
center always takes the shortest way to the target point; the
rotation angle is always kept at or below 180 degrees.

136
B–63122EN/01 NC FUNCTION 21. MANUAL OPERATION

21 MANUAL OPERATION

137
21. MANUAL OPERATION NC FUNCTION B–63122EN/01

21.1  Jogging
Each axis can be moved in the + or – direction for the time the button
MANUAL FEED 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)  (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, N/1000 0.001, 0.01, M/10000,


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).

138
B–63122EN/01 NC FUNCTION 22. AUTOMATIC OPERATION

22 AUTOMATIC OPERATION

139
22. AUTOMATIC OPERATION NC FUNCTION B–63122EN/01

22.1
OPERATION MODE

22.1.1 The part program can be read and executed block by block from the input
DNC 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 MDI unit.
MDI Operation

140
B–63122EN/01 NC FUNCTION 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 MDI.
Search

22.2.2 The sequence number of the program on the currently selected memory
Sequence Number can be searched using the 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.

141
22. AUTOMATIC OPERATION NC FUNCTION B–63122EN/01

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.

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.

142
B–63122EN/01 NC FUNCTION 22. AUTOMATIC OPERATION

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 MDI
Comparison and Stop 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 MDI panel or by the external reset signal, etc. When reset is
commanded during motion, it decelerates to a stop.

143
22. AUTOMATIC OPERATION NC FUNCTION B–63122EN/01

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 screen.

144
B–63122EN/01 NC FUNCTION 22. AUTOMATIC OPERATION

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) ]

145
22. AUTOMATIC OPERATION NC FUNCTION B–63122EN/01

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

22.9 With the retrace function, the tool can be moved in the reverse direction
(reverse movement) by using the REVERSE switch during automatic
RETRACE FUNCTION operation to trace the programmed path. The retrace function also enables
the user to move the tool in the forward direction again (forward return
movement) along the retraced path until the retrace start position is
reached. When the tool reaches the retrace start position, the tool resumes
movement according to the program.

146
B–63122EN/01 NC FUNCTION 22. AUTOMATIC OPERATION

22.10 If a multiple–workpiece machining skip signal is input for a retrace


re–forward movement during multiple–workpiece machining,
MULTIPLE–WORKPIE machining of the current workpiece is stopped and machining of another
CE MACHINING workpiece begins.
RETRACE FUNCTION
Explanation
G98 X_ Y_ I_ J_ P2 K1
U1
X50. Y50. T505 (l1)
Y150. (l2)
X200. (l3)
Y50. (l4)
V1
G75 W1 Q1

(6) (5) (4)


L2 L3

f L1 L4

(1) (2) (3)


l2 Y l3

f l1 l4

START

Y : Multiple–workpiece machining skip signal is on.

In a multiple–workpiece machining sequence for workpieces 1 to 6, if a


multiple–workpiece machining skip signal is input at position Y during
a retrace backward or re–forward movement in machining workpiece (3),
the machining of workpiece (3) is stopped, and the machining of
workpiece (4) begins.

147
23. PROGRAM TEST FUNCTIONS NC FUNCTION B–63122EN/01

23 PROGRAM TEST FUNCTIONS

148
B–63122EN/01 NC FUNCTION 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

149
24. SETTING AND DISPLAY UNIT NC FUNCTION B–63122EN/01

24 SETTING AND DISPLAY UNIT

150
B–63122EN/01 NC FUNCTION 24. SETTING AND DISPLAY UNIT

24.1 The setting and display units are shown in Subsections II–24.1.1 to
II–24.1.6.
SETTING AND
DISPLAY UNITS CNC control unit with 7.2″/8.4″ LCD: II–24.1.1
CNC control unit with 9.5″/10.4″ LCD: II–24.1.2
Separate–type small MDI unit: II–24.1.3
Separate–type standard MDI unit (horizontal type): II–24.1.4
Separate–type standard MDI unit (vertical type): II–24.1.5
Separate–type FA Full keyboard (vertical type) (for 160i/180i): II–24.1.6

24.1.1
CNC Control Unit with
7.2″/8.4″ LCD

151
24. SETTING AND DISPLAY UNIT NC FUNCTION B–63122EN/01

24.1.2
CNC Control Unit with
9.5″/10.4″ LCD

152
B–63122EN/01 NC FUNCTION 24. SETTING AND DISPLAY UNIT

24.1.3
Separate–Type Small
MDI Unit

ADDRESS/NUMERIC KEYS

SHIFT KEY

CANCEL KEY

INPUT KEY

EDIT KEYS

FUNCTION KEYS

HELP KEY

RESET KEY

CURSOR KEYS

PAGE–UP/DOWN KEYS

153
24. SETTING AND DISPLAY UNIT NC FUNCTION B–63122EN/01

24.1.4
Separate–Type
Standard MDI Unit
(Horizontal Type)

HELP KEY RESET KEY ADDRESS/NUMERIC KEYS

EDIT KEYS

CANCEL KEY

INPUT KEY

SHIFT KEY CURSOR KEYS


PAGE–UP/DOWN FUNCTION KEYS
KEYS

154
B–63122EN/01 NC FUNCTION 24. SETTING AND DISPLAY UNIT

24.1.5
Separate–Type
Standard MDI Unit
(Vertical Type)

HELP KEY RESET KEY


ADDRESS/NUMERIC KEYS

EDIT KEYS

CANCEL KEY

INPUT KEY

SHIFT KEY CURSOR KEYS


FUNCTION KEYS
PAGE–UP/DOWN KEYS

155
24. SETTING AND DISPLAY UNIT NC FUNCTION B–63122EN/01

24.1.6
Separate–Type
FA Full Keyboard
(Vertical Type)
(for 160i/180i)

The key legends are the same as those of a personal computer keyboard.

156
B–63122EN/01 NC FUNCTION 24. SETTING AND DISPLAY UNIT

24.2
EXPLANATION OF
THE KEYBOARD
No. Key Function

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

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

Soft keys The soft keys are assigned different functions depending on the application.
(3) The functions currently assigned to the soft keys are displayed on the lower-
most line of the screen.

Address/numeric keys Used to enter letters and numbers.


(4)

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 letter
(5)
is input. When the shift key is pressed, ^ is displayed in the key input 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. When data input to the key input buffer needs to be
(6)
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)
(7)
When N001X100Z is displayed on the key input buffer, pressing the cancel
key deletes the letter Z, and N001X100 is displayed.

Edit keys Used to edit programs.

: Alter

(8) : Insert

: Delete

Function keys Used to switch screens for each function.


(9)

157
24. SETTING AND DISPLAY UNIT NC FUNCTION B–63122EN/01

No. Key Function

Cursor keys Four cursor keys are provided.

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

(10) : 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.


(11)

: Used to display the previous page.

24.2.1 The function keys select what is displayed. Each function is divided into
Explanation of the 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.

158
B–63122EN/01 NC FUNCTION 24. SETTING AND DISPLAY UNIT

24.2.2 The MDI panels have 10 soft keys (or 5 soft keys), a next-menu key on
Explanation of the Soft 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.
Keys These soft keys can be assigned with various functions, according to the
needs.
The following functions are mainly available via the 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
This manual may refer to a display device with 10 + 2 soft keys as a 12
soft key type, and a display device with 5 + 2 soft keys as a 7 soft key type.

159
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

25 DISPLAYING AND SETTING DATA

Displays are different between the 160i/180i (with PC functions) and the
16i/18i (with no PC functions). This chapter describes what and how the
16i/18i displays.

160
B–63122EN/01 NC FUNCTION 25. DISPLAYING AND SETTING DATA

25.1 The following display appears on the CRT screen. On a 7 soft key type
device, each screen can display 640 characters (40 characters  16 lines).
DISPLAY On a 12 soft key type device, each screen can display 2080 characters (80
characters  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.

161
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

 Command value display The following two displays are performed.

 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

 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 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.

162
B–63122EN/01 NC FUNCTION 25. DISPLAYING AND SETTING DATA

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

97. 02. 14 16:43:48


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

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


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

D History display of The history of external operator messages can be recorded and viewed
external operator using the external operator message history screen.
messages

163
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

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 screen. The
RUN TIME & PARTS integrated cycle operation time, the integrated cutting time and timer can
NUMBER DISPLAY 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 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 = 1996/09/25
TIME = 16:20:30
>_
MDI **** *** *** 16:20:30
[ OFFSET ][ SETING ][ ][ ][ (OPRT) ]

164
B–63122EN/01 NC FUNCTION 25. DISPLAYING AND SETTING DATA

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


done by operation on the MDI panel. Mode selection and jogging
SOFTWARE override, etc. can be operated by setting operation via the MDI panel with
OPERATOR’S PANEL 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 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 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 ][ ]

165
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

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 ][ ]

25.6 File names in the floppy cassette (FANUC CASSETTE F1) and program
file (FANUC PROGRAM FILE Mate can be listed on the 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:
Part program, NC parameter/pitch error compensation data, tool
PROGRAM FILE
compensation data, tool 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 ][ ]

166
B–63122EN/01 NC FUNCTION 25. DISPLAYING AND SETTING DATA

25.7
GRAPHIC DISPLAY
FUNCTION
25.7.1 This function allows display of tool path on the screen, making program
Graphic Display 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
screen.
Program check before machining can be done by displaying the
programmed locus on the 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 ] [ SEQ ][ ERASE ]

167
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

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.

168
B–63122EN/01 NC FUNCTION 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) ]

169
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

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 10D5 :40 B7F1 0001
01 00CF :66 B435 0001
03 019D :41 4068 0001

    

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


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

 Slot No.
 Module ID
 Software ID
 Software series
 Software edition

170
B–63122EN/01 NC FUNCTION 25. DISPLAYING AND SETTING DATA

Software information

SYSTEM CONFIG(SOFTWARE) O1234 N56789

SYSTEM B7F1 0001


BASIC+OPTION–A1 
SERVO 9090 0001
PMC(SYS) 406A 0001
4099 0001
PMC(LAD) FS16 0001
MACRO LIB BZG1 0001
BOOT 60M3 0004
GRAPHIC–1 600W 001Z

  
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 MOTHER BOARD 

AXIS CTRL CARD : 0D


DISPLAY CTRL CARD : OE
CPU CARD : 01
FROM DIMM : 47
SRAM DIMM : 23
DRAM DIMM : 86
PMC CPU : 01

 
MEM **** *** *** 19:33:34
[ PARAM ][ DGNOS ][ PMC ][ SYSTEM ][ ]

 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
 Hardware ID (modules)

171
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

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 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
[ ALARM ][ OPR ][ G.PRM ][ ][ (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
[ ALARM ][ OPR ][ G.PRM ][ ][ (OPRT) ]

172
B–63122EN/01 NC FUNCTION 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
[ ALARM ][ OPR ][ G.PRM ][ ][ (OPRT) ]

173
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

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.
 KEY 4
Allows PMC data (counter and data table) to be entered.

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 alarms.
HISTORY 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 : 97/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.

174
B–63122EN/01 NC FUNCTION 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 :

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

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

175
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

 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

NOTE
An arrow “→” indicates the direction of data flow.

176
B–63122EN/01 NC FUNCTION 25. DISPLAYING AND SETTING DATA

25.16 CNC programs stored in memory can be grouped according to their


names, thus enabling the listing and output of CNC programs on a
DIRECTORY DISPLAY group–by–group basis.
AND PUNCH FOR A To assign multiple CNC programs to a single group, assign names to those
SPECIFIED GROUP programs, beginning each name with the same character string. By
searching through all the program names for a specified character string,
the program numbers and names of all programs having names including
that string are listed.
The CNC programs within a specified group can also be output.
 Group–unit program list screen displayed when a search is made
for “GEAR–1000*”

PROGRAM DIRECTORY(GROUP) O0001 N00010

PROGRAM(NUM.) MEMORY’CHAR.)
–USED: 60 3321
–FREE: 2 429
O0020 (GEAR–1000 MAIN)
O0040 (GEAR–1000 SUB–1)
O0200 (GEAR–1000 SUB–2)
O2000 (GEAR–1000 SUB–3)

>
EDIT **** *** *** *** 16:53:25
[ PRGRM ][ DIR ][ ][ ][ (OPRT) ]

25.17 Displaying the same characters in the same positions on the screen causes
display to degrade relatively quickly. To help prevent this, the screen can
CLEARING THE be cleared by pressing specific keys. It is also possible to specify the
SCREEN automatic clearing of the screen if no keys are pressed at specified with
a parameter.

177
25. DISPLAYING AND SETTING DATA NC FUNCTION B–63122EN/01

25.18 The periodic maintenance screen shows the current statuses of those
consumables that require periodic replacement (backup battery, LCD
PERIODIC backlight, touch pad, etc). An item whose service life has expired is
MAINTENANCE indicated by the machine run time or the like.
SCREEN
PERIODICAL MAINTENANCE O0001 N12345
(STATUS)
ITEM NAME REMAIN
 01 BATTERY FOR CONTROLLER 0H
@ 02 BATTERY FOR PULSECODER 5000H
03 LCD BACK LIGHT 10000H
@ 04 COOLANT 720H
05
06
07
08
09
10
>_
EDIT **** *** *** 19:27:05
[ ][MAINTE ][ ][ ][(OPRT) ]

25.19 A pen input device/touch pad used on the LCD display has the following
features:
TOUCH PAD
(1) The soft keys displayed on the lower section of the 10.4–inch color
LCD/MDI panel (F0 to F9, FR, and FL) are replaced by the soft keys
on the touch pad.
(2) The cursor displayed on the 10.4–inch color LCD is controlled from
the touch pad.
(3) A touch–pad–type software machine operator’s panel, realized by C
Executor, can be used.
(4) A touch–pad–type calculator, realized by C Executor, can be used.
(5) A C Executor application program can be created by using the touch
pad.

25.20 The history of the maintenance carried out by FANUC service personnel
and machine tool builder can be recorded via the screen. The screen has
MAINTENANCE the following features:
INFORMATION  Alphabetical characters can be input from MDI. (Half–size kana can
SCREEN be input only when Japanese display is selected.)
 The recording screen can be scrolled, line by line.
 Edited maintenance information can be read and punched.
 Data can be stored to flash ROM.
 Full–size (shift JIS) codes can be displayed. (Input codes are read
only.)

178
B–63122EN/01 NC FUNCTION 25. DISPLAYING AND SETTING DATA

25.21 When the VGA graphic control function is supported, the VGA screen
colors can be set on the color setting screen.
COLOR SETTING
SCREEN COLORING O0000 N00000

[1]  ALARM 8  SELECT WINDOW BAR


2  TITLE SOFT KEY 1 9  NONE
3  INPUT KEYO/N NO. 10  TITLE BAR INPUT BAR
STATUS
4  CURSOR 11  WINDOW BACKGROUND
5  RESTART NO. 12  LIGHT
ABSOLUTE ORDER
6  SUB TITLESOFT KEY 2 13  ALTER POSSIBLE DATA
7  DATA TIME 14  SHADOW
15  BACKGROUND
RED 08 GREEN 00 BLUE 00

1(PARAMETER)
COLOR SELECT NO.
[MEM **** *** ***|***|12:34:56| ]

COLOR MAINTE MAINT OPRT +


INF

25.22 Some operators may find the LCD difficult to read, depending on the their
eye level relative to the display. To make a monochrome LCD easier to
BRIGHTNESS read, the brightness of the screen can be adjusted.
ADJUSTMENT
SETTING(HANDY)

PARAMETER WRITE =1(0:DISABLE 1:ENABLE)


TV CHECK =0(0:OFF 1:ON)
PUNCH CODE =0(0:EIA 1:ISO)
INPUT UNIT =0(O:MM 1:INCH)
I/O CHANNEL =0(0–3:CHANNEL NO.)
SEQUENCE NO. =0(0:OFF 1:ON)
TAPE FORMAT =0(0:NO CNV 1:F15)
SEQUENCE STOP = 0(PROGRAM NO.)
SEQUENCE STOP = 0(SEQUENCE NO.)

CONTRAST (+=[ON:1] –=[OFF:0])


>
MDI **** *** *** BAT 00:00:00
[NO.SRH ][ ON:1 ][ OFF:0 ][+INPUT ][ INPUT ]

179
26. PART PROGRAM STORAGE
AND EDITING NC FUNCTION B–63122EN/01

26 PART PROGRAM STORAGE AND EDITING

180
26. PART PROGRAM STORAGE
B–63122EN/01 NC FUNCTION AND EDITING

26.1 The following part program storage and editing is possible


FOREGROUND  Program tape registration to the memory
 Single program registration
EDITING  Multi program tape registration
 Program input via MDI
 Program deletion
 Single program deletion
 All programs deletion
 Program punching
 Single program punching
 All programs punching
 Program editing
 Change
 Word change
 Change of 1-word to multi-words
 Insertion
 Word insertion
 Multi words, and multi blocks insertion
 Deletion
 Word deletion
 Deletion to EOB
 Deletion to the specified word
 Part program collation
Collation of program stored in the memory and program on the tape
can be done.
 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

181
26. PART PROGRAM STORAGE
AND EDITING NC FUNCTION B–63122EN/01

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, 1280, 2560, or 5120 m.
PART PROGRAM
STORAGE LENGTH WARNING
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 I/O input device for background editing using the external read start
DEVICE signal.
 Program punch
A part program can be punched through the connected output device
for background editing using the external punch start signal.

182
26. PART PROGRAM STORAGE
B–63122EN/01 NC FUNCTION AND EDITING

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.

183
27. DIAGNOSIS FUNCTIONS NC FUNCTION B–63122EN/01

27 DIAGNOSIS FUNCTIONS

184
B–63122EN/01 NC FUNCTION 27. DIAGNOSIS FUNCTIONS

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 screen.

185
28. DATA INPUT/OUTPUT NC FUNCTION B–63122EN/01

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
 Custom macro common variable
 Pitch error compensation 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
 Custom macro common variable
 Pitch error compensation data
 Parameters

186
B–63122EN/01 NC FUNCTION 28. DATA INPUT/OUTPUT

28.1 The following can be input/output via the reader/punch interface.


READER/PUNCH  Part program registration/output
INTERFACES  Tool compensation amount and workpiece origin offset data
input/output
 Tool data input/output
 Custom macro common variable input/output
 Pitch error compensation data input/output
 Parameter input/output
Usually, different screens are used to input/output parameters and
programs. To be specific, parameter screens are used to input parameters
from, and output them to, external input/output units, while program
screens are used to input and output programs. On the other hand,
programs, parameters, offset data, and macro variables can be input and
output using a single screen, that is, the ALL IO screen.

187
28. DATA INPUT/OUTPUT NC FUNCTION B–63122EN/01

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 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.
Cassette

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.

188
B–63122EN/01 NC FUNCTION 28. DATA INPUT/OUTPUT

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 Files on a memory card can be referenced, and different types of data such
as part programs, parameters, and offset data on a memory card can be
DATA INPUT/OUTPUT input and output in text file format.
USING A MEMORY The major functions are listed below.
CARD  Displaying a directory of stored files
The files stored on a memory card can be displayed on the directory
screen.
 Searching for a file
A search is made for a file on a memory card and, if found, it is
displayed on the directory screen.
 Reading a file
Text–format files can be read from a memory card.
 Writing a file
Data such as part programs can be stored to a memory card in text file
format.
 Deleting a file
A file can be selected and deleted from a memory card.

CNC

Writing a file

Reading a file
Displaying a
directory Memory card
Searching for
a file
Deleting a file

189
28. DATA INPUT/OUTPUT NC FUNCTION B–63122EN/01

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

CAUTION
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.

190
B–63122EN/01 NC FUNCTION 28. DATA INPUT/OUTPUT

28.6 The FANUC DNC2 communication protocol enables transfer of various


types of data between the CNC and a PC connected to it, using an
DNC2 CONTROL RS–232–C interface.
The features of FANUC DNC2 are described below:
(1) DNC2 complies with the LSV2 communication protocol adopted by
several CNC makers in Europe. It enables software to be developed
easily on a PC. The PC is connected to a FANUC CNC using an
RS–232–C interface. To improve transmission rate, an RS–422
interface can be used in place of the RS–232–C interface.
(2) DNC2 supports point–to–point communication between a FANUC
CNC and a PC. It does not support multi–point communication, in
which more than one PC is connected to a CNC.

Command/response
PC Response/command CNC

191
28. DATA INPUT/OUTPUT NC FUNCTION B–63122EN/01

28.7 The dara server has the following features:


DATA SERVER (1) Drive high–speed machining operation by calling the subprogram
from a built–in hard disk on the DATA SERVER BOARD(described
as “HDD” below).
(2) Input a NC program in the Host Computer into the HDD by using FTP.
Output a NC program in the HDD into the Host Computer by using
FTP.
(3) Input a NC program in the HDD into the memory of the CNC. Output
a NC program in the memory of the CNC into the HDD.
(4) Delete NC program and display the table of NC programs in the HDD.

Host Computer

Ethernet

Series 16/18 high speed transfer (GET/PUT)

calling
inputting
outputting
NC program

HDD

CNC DATA SERVER BOARD

192
B–63122EN/01 NC FUNCTION 28. DATA INPUT/OUTPUT

28.8 Power Mate programs, parameters, macro variables, and diagnostic


(PMC) data are input/output using FANUC I/O Link.
DATA INPUT/OUTPUT With FANUC I/O Link, slaves in groups 0 to 15 can be connected,
FUNCTION BASED enabling data input/output to and from a maximum of 16 Power Mates.
ON THE I/O LINK AND The ordinary data input/output function based on I/O Link can only be
executed in the foreground. When data input/output function B based on
DATA INPUT/OUTPUT
I/O Link is used, the external I/O device control function is associated
FUNCTION B BASED with I/O Link so that an input/output group number and program number
ON THE I/O LINK can be specified from the PMC. The external I/O device control function
operates in the background. Therefore, when no other background
operation is being performed, data can be input/output, regardless of the
NC mode and the currently selected screen.

Master
FANUC I/O Link
Series 16/18

#0KSlave (Group #0) (Group #1) (Group #15)

Power Mate Power Mate Power Mate

The programs, parameters, macro variables, and diagnostic (PMC) data


of a slave Power Mate are stored in tape format within the part program
storage length; these data items are stored as master program data in a
master program memory area.

Data input/output can be performed between the master and a slave of a


selected group. When the ordinary data input/output function based on
I/O Link is used, a group is selected by means of parameter setting. When
data input/output function B based on I/O Link is used, a group is selected
by issuing the DI signal. Data input/output cannot be performed between
the master and more than one group at a time.

193
28. DATA INPUT/OUTPUT NC FUNCTION B–63122EN/01

28.9 When the power motion series is used as an additional (slave) axis of the
CNC, the power motion manager enables displaying and setting data from
POWER MOTION the CNC. Up to eight slave units can be connected.
MANAGER The power motion manager supports the following functions:
1) Current position display (absolute/machine coordinate)
2) Parameter display and setting
3) Diagnosis
4) System configuration screen
5) Alarm
POWER MOTION MANAGER/SYSTEM CONFIGURATION 012345678 N12345
1. GROUP0 /PM–E O12345678 N12345 2. GROUP2 /ß

SYSTEM ****–## SYSTEM ****–##


SERVO ****–## SERVO ****–##
PMC ****–##
LADDER ****–##
MACRO ****–##

3. GROUP2 /ß 4. GROUP4 /ß

SYSTEM ****–## SYSTEM ****–##


SERVO ****–## SERVO ****–##

PARAM DGNOS SYSTEM USER HISTRY <OPRT>

The sample screen shows the data for four units, displayed on a 12 soft
key type device. The same data can also be displayed on a 7 soft key
device.

194
B–63122EN/01 NC FUNCTION 29. SAFETY FUNCTIONS

29 SAFETY FUNCTIONS

195
29. SAFETY FUNCTIONS NC FUNCTION B–63122EN/01

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.
Use the emergency stop signal appropriately to design a safe machine
tool.
The emergency stop signal is intended to bring a machine tool to an
emergency stop. It is input to the CNC controller, servo amplifier, and
spindle amplifier. Usually, it is generated using the B contact of a
pushbutton switch.
If the emergency stop (*ESP) contact is closed, the CNC controller is
released from an emergency stop state, and the servo motor and spindle
motor are controllable and operable.
If the emergency stop (*ESP) contact is open, the CNC controller is reset
and put in an emergency stop state, and the servo motor and spindle motor
are decelerated until they come to a full stop.
Usually, a servo motor can be stopped by shutting off the power to it,
because shutting off the motor power causes a dynamic brake to be
applied. For vertical axes, however, servo motors with a brake should be
used, because servo motors with no brake on vertical axes could move
down by gravity.
Do not shut off the power to spindle motors abruptly, because doing so
could allow them to rotate by inertia, leading to a hazardous condition.
If the emergency stop signal (*ESP) contact becomes open, before
shutting off the power to the spindle motor, it is necessary to decelerate
it until it comes to a full stop and make sure that it is at a complete stop.
The above considerations have been incorporated in the design of the
FANUC Control Amplifier α Series. Supply an emergency stop signal
to the power supply module (hereafter called the PSM) of a Control
Amplifier α Series unit. The PSM outputs a motor power supply MCC
control signal. The signal can be used to turn on and off the motor power
to the power supply module.
Basically, this CNC is designed to use a software limit function to detect
overtravel. So, a limit switch is unnecessary to detect an ordinary
overtravel condition. To detect an overtravel condition beyond the
software limit (that would occur due to a failure in the servo feedback
loop), however, it is necessary to install a stroke end limit switch in order
to stop the machine.
The following diagram shows an example of connecting an emergency
stop signal between this CNC controller and an Series Controller
Amplifier.

196
B–63122EN/01 NC FUNCTION 29. SAFETY FUNCTIONS

Stroke end limit switch Emergency


stop button

+X –X +Y –Y +Z –Z +4 –4
Relay power
supply

Release switch

Spark killer
SK

EMG
Relay
I/O unit (module) to be
emg1 connected to a CNC
+24
*ESP

α Series control amplifier (PSM) SVM


SPM
emg2
+24
*ESP

MCCOFF3
MCCOFF4
External power supply
L1 L2 L3

Spark killer
SK


Coil
AC200V
L1

L2

L3

Circuit breaker 1 MCC AC reactor

NOTE
When connecting a spindle motor and amplifier produced
by a manufacturer other than FANUC, it is necessary to
incorporate a sequence to decelerate the spindle motor to
a full stop safely if the emergency stop signal contact
becomes open when the spindle motor is rotating. Refer to
the respective manuals of the spindle motor and amplifier
for details.

197
29. SAFETY FUNCTIONS NC FUNCTION B–63122EN/01

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

198
B–63122EN/01 NC FUNCTION 29. SAFETY FUNCTIONS

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.

199
29. SAFETY FUNCTIONS NC FUNCTION B–63122EN/01

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.

200
B–63122EN/01 NC FUNCTION 29. SAFETY FUNCTIONS

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.

201
29. SAFETY FUNCTIONS NC FUNCTION B–63122EN/01

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

Fig. 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.

202
B–63122EN/01 NC FUNCTION 29. SAFETY FUNCTIONS

Axis stops, and alarm is given.

Move direction

#0

#2

Fig. 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

Fig. 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

203
29. SAFETY FUNCTIONS NC FUNCTION B–63122EN/01

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

204
B–63122EN/01 NC FUNCTION 29. SAFETY FUNCTIONS

29.7 If the tool is positioned to the normal height (for punching), as shown
below, the tool will interfere with the workpiece holder when the
WORKPIECE workpiece holder moves into the turret.
HOLDER By means of this function, the CNC monitors the positions of the tool and
INTERFERENCE workpiece holder to avoid interference between the workpiece holder and
AVOIDANCE tool.
FUNCTION
Tool escape status

Tool status in punching

Upper Turret

Workpiece holder

Lower Turret

Fig. 29.7 (a)


By setting bit 6 (ACZ) of parameter No. 16502, the user can select either
of two interference avoidance methods.
1 Type A: Interference is avoided by the PMC, by using the DI/DO
signals.
2 Type B: Interference is automatically avoided by the CNC.

: Usual positioning
Tool : Positioning by avoidance
operation

× Interference

Area for workpiece holder

Fig. 29.7 (b)

205
29. SAFETY FUNCTIONS NC FUNCTION B–63122EN/01

29.8 The servo axis speed is monitored. If the speed of an axis exceeds a preset
maximum (specified by parameter setting), the corresponding signal is
SERVO MOTOR output to a Y address (specified by parameter setting) of the PMC.
SPEED DETECTION The following diagram illustrates the signal output state.

Speed
Command for axis
Actual motor speed

? rpm (Preset maximum)


(Specified by parameter setting)
Time

Max 16msec
Max 2msec (servo motor)

CNC output signal


<Y???#?>(Specified by parameter setting)

CAUTION
The status of each signal is updated every 8 msec.
(Fluctuations in the speed of less than 8 msec duration cannot be detected, therefore.)

206
B–63122EN/01 NC FUNCTION 30. STATUS OUTPUT

30 STATUS OUTPUT

207
30. STATUS OUTPUT NC FUNCTION B–63122EN/01

30.1 This signal is sent to the machine side when CNC power is on and control
becomes possible. Sending of this signal will be stopped when CNC
READY SIGNAL power 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 CNC 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 CNC 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.

208
B–63122EN/01 NC FUNCTION 30. STATUS OUTPUT

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 MDI, and machine operator’s panel, following DI state output
DI STATUS 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.

209
31. EXTERNAL DATA INPUT NC FUNCTION B–63122EN/01

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

210
B–63122EN/01 NC FUNCTION 31. EXTERNAL DATA INPUT

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 CNC 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 CNC 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 CNC operation by data sent from
outside the CNC (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 CNC is brought to an alarm
status; an alarm message is sent to the CNC, and the message is displayed
EXTERNAL ALARM on the screen of the CNC. Reset of alarm status is also done with external
MESSAGE 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.

211
31. EXTERNAL DATA INPUT NC FUNCTION B–63122EN/01

31.6 Message to the operator is given from outside the NC, and the message
is displayed on the 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 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, 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

212
32. KEY INPUT FROM PMC (EXTERNAL
B–63122EN/01 NC FUNCTION KEY INPUT CONTROL)

32 KEY INPUT FROM PMC


(EXTERNAL KEY INPUT CONTROL)

When the PMC inputs the code signal corresponding to a key on the MDI
panel to the CNC, the code signal can be input in the same way as with
actual operation of the key on the 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.

213
33. PERSONAL COMPUTER FUNCTIONS NC FUNCTION B–63122EN/01

33 PERSONAL COMPUTER FUNCTIONS

With an open CNC architecture, it is possible for machine tool builders


to incorporate advanced machine interface functions such as conventional
automatic programming and manipulation based on their rich know–how.

There are two open CNC architectures. In the first architecture, a CNC
printed–circuit board incorporates IBM PC compatible functions and a
10.4″ color LCD panel. In the second architecture, a CNC is connected
to a commercially available IBM PC or compatible.

214
B–63122EN/01 NC FUNCTION 33. PERSONAL COMPUTER FUNCTIONS

33.1 The PC functions incorporated into the CNC have the following features:
PERSONAL  Highly compatible with the IBM PC(*)
COMPUTER  Capable of running a cornucopia of IBM PC(*) software on Windows
95TM without modification.
FUNCTIONS
 Can be equipped with an optional ISA expansion unit to use
INCORPORATED commercially available IBM PC(*) expansion boards (conforming to
INTO THE CNC the ISA specifications).
 Incorporated into a CNC.
 Connected directly to a CNC via a bus, enabling high–speed exchange
of information in a wide variety.
 Designed for high reliability, based on design and technology
know–how attained in CNC development.

CNC functions + PC function board

Connection main unit

Software for PC functions in the open CNC

Item Specification Remark

Operating system Windows95

NC program memory driver Option


Dedicated driver
NC data file driver Option

Dedicated library CNC/PMC data window

CNC maintenance package


Package software
CNC basic manipulation package Option

Visual C ++ *1 Microsoft Corporation


Development tool
Visual Basic *1 Microsoft Corporation

215
33. PERSONAL COMPUTER FUNCTIONS NC FUNCTION B–63122EN/01

PC section hardware in the open CNC


(PC functions incorporated in the CNC)

Item Specification Remark

Intel PentiumTM or
CPU Either must be selected.
Intel i486TM DX4 *1

Up to 32 Mbytes For Pentium


Main memory
Up to 24 Mbytes For i486

Hard disk 1GByte Internal

10.4″ color TFT LCD 256 different colors can


(with a touch pad) be displayed simulta-
Display
80 characters x 25 lines (ANK) neously. *3
640 x 480 dots The touch pad is optional.

One PCMCIA slot


One typewriter–style keyboard
The touch pad is con-
One serial interface (RS–232–C)
nected to serial port 1.
One mouse
Ports One floppy disk drive

One serial interface (RS–232–C) Option


(add–on)
One parallel interface Option

Two half–size ISA–compliant ex-


Expansion slot Option
pansion slots *2

Ambient temper- Operating : +5°C to +40°C


ature Storage : –20°C to +60°C

Ambient relative 30% to 90%


humidity No condensation

*1:Intel, i486, and Pentium are registered trademarks of Intel


Corporation.
Windows and Visual Basic are registered trademarks of Microsoft
Corporation.
Visual C++ is a registered trademark of Microsoft Corporation.
IBM is a registered trademark of IBM Corporation.
*2:Machine tool builders are requested to prepare IBM PC compatible
expansion boards as required.
*3:A dedicated driver is necessary to display 16 or more colors (tones).

216
B–63122EN/01 NC FUNCTION 33. PERSONAL COMPUTER FUNCTIONS

33.2 The High–Speed Serial Bus is a serial interface to enable high–speed data
transfer between a PC installed on the operator’s panel and the CNC
HIGH–SPEED SERIAL control section.
BUS (HSSB) If a dedicated interface board is installed in a commercially available IBM
PC or compatible, it becomes possible to connect the PC to the CNC
control section via the High–Speed Serial Bus. This bus has the following
features.
 A large amount of data can be transferred between the PC and the CNC
control section.
 A high–reliability optical fiber cable is used for connection between
the PC and the CNC control section.
 Machine tool builders can select a PC that meets the requirements on
the machine system side.

HSSB interface HSSB interface board


board

High–Speed
Serial Bus

PC

Hardware for the open CNC (for connection with a commercially available
PC using the high–Speed Serial Bus)

Item Specification Remark

CNC–side interface Applicable model:


For optional slot
board 210i

PC–side interface Compliant to the ISA specifications


board Required supply voltage: +5V only

Interconnection Maximum cable


Optical fiber cable
cable length: 50 m

Refer to the applica-


ble manual of the
Conditions for CPU: 486 or more powerful
PC for its installa-
selecting a PC One or more ISA slots
tion environment
conditions.

217
APPENDIX
B–63122EN/01 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 to999.999mm

Backlash compensation 0 to 2.55mm 0 to0.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 to0.255 mm
Dwell time 0 to 999999.99 sec 0 to 99999.999 sec

221
A. RANGE OF COMMAND VALUE APPENDIX B–63122EN/01

(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

222
B–63122EN/01 APPENDIX A. RANGE OF COMMAND VALUE

(5) Rotation axis


Increment system
IS-A, IS-B
Least input increment 0.001 deg
Least command increment 0.001 deg
Max. programmable dimension 99999.999 deg
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

(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 di- 999999.99deg 99999.999deg


mension

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

WARNING
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.

223
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–63122EN/01

B FUNCTIONS AND TAPE FORMAT LIST

Functions Illustrations Tape format


Positioning (G00) IP G00X Y C ;

Start point

Linear interpolation (G01) G01X Y F ;


IP

Start point

Circular interpolation R_
Start point G02
(G02, G03) G17 X_ Y_ F_ ;
G03 I_ J_

R G02 R_
J G02
G18 X_ Z_ F_ ;
G03 I_ K_
I (x, y)
G02 R_
(x, y) G03 G19 Y_ Z_ F_ ;
G03 J_ K_

R J

I
Start point

Helical interpolation z R_
G02
(G02, G03) G17 X_ Y_ α_ F_ ;
G03 I_ J_

G02 R_
Start
G18 X_ Z_ α_ F_ ;
G03 I_ K_
point (xyz)

(x, y) G02 R_
G19 Y_ Z_ α_ F_ ;
G03 J_ K_
XY plane G03
α : Any address except arc
interpolation axes
Dwell (G04) Per second dwell

X_
G04 ;
P_

Exact stop (G09) Velocity G01X_Y_


G09 G02 ;
G03

Time

224
B–63122EN/01 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST

Functions Illustrations Tape format


Change of offset value by G10L11P R ;
progrsm (G10) G10L2P X Y ;
(Workpiece zero point offset)
Plane selection G17;
(G17, G18, G19) G18;
G19;
Inch/metric switching Inch input G20;
(G20, G21) Metric input G21;
Reference position return Reference position G28;
(G28)

Start point

Stored stroke check (X, Y) G22X_Y_I_J_;


(G22, G23) G23; Cancel

(I, J)

Skip function (G33) IP G33 IP_F_;

Skip signal
Start point

ÇÇÇ ÇÇÇ
Cutter compensation C G41 G40

ÇÇÇ
(G40 - G42) G41 X_Y_D_;
G42

ÇÇÇ ÇÇÇ
ÇÇÇ ÇÇÇ
D : Tool offset No.
G42 G40 : Cancel
G40
Normal–line direction con- G41.1 (G151) Left–side normal–line
trol direction control
(G40.1, G41.1, G42.1) G42.1 (G152) Right–side normal–line
(G150, G151, G152) direction control
G40.1 (G150) Cancel normal–line
direction control
Scaling (G50, G51) G51X_Y_P_;
G50 ; Cancel

Local coordinate system G52X_Y_;


setting (G52) Local coordinate
X system
Y

225
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–63122EN/01

Functions Illustrations Tape format


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, G79, G76 ;
G86, G87, G88, G89) G77 ;
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

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)

226
B–63122EN/01 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST

Functions Illustrations Tape format


Multi-piece machining Refer to “Multi-piece machining”. G73
function W_ Q_ ;
(G73, G74, G98) G74

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 coordinate G92X_Y_;
system (G92)
(X, Y)

227
C. LIST OF TAPE CODE APPENDIX B–63122EN/01

C LIST OF TAPE CODE

ISO code EIA code

Custom
Remarks macro B
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1
Not
Used
used
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

228
B–63122EN/01 APPENDIX C. LIST OF TAPE CODE

ISO code EIA code

Custom
Remarks macro B
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1
Not
Used
used
Z      z     Address Z
Delete
DEL          Del         (deleting a  
mispunch)
No. punch.
With EIA
code, this
code cannot
NUL  Blank   
be used in a
significant
information
section.
BS    BS     Backspace  
HT    Tab       Tabulator  
LF or NL    CR or EOB   End of block
Carriage
CR      ___   
return
SP    SP   Space  
Absolute
%      ER    
rewind stop
Control out
(    (2–4–5)     (start of com-
ment)
Control in
)      (2–4–7)     (end of
comment)
+      +     Plus sign 
–      –   Minus sign
Colon
:      ___ 
(address O)
Optional
/        /    
block skip
Period
.      .       (decimal
point)
Parameter
#       Sharp
(No. 6012)
$    ___  Dollar sign  
&      &     Ampersand  
’      ___  Apostrophe  
Parameter
*       Asterisk 
(No. 6010)
,      ,       Comma
;        ___  Semicolon  
Left angle
<        
bracket

229
C. LIST OF TAPE CODE APPENDIX B–63122EN/01

ISO code EIA code

Custom
Remarks macro B
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1
Not
Used
used
Parameter
=         Equal sign 
(No. 6011)
Right angle
>        ___   
bracket
Question
?        ___   
mark
Commercial
@    ___   
at mark
Quotation
”   ___   
mark
Parameter Left square
[         
(No. 6013) bracket
Parameter Right square
]         
(No. 6014) bracket

NOTE
1 The symbols in the Remarks column have the following meanings:
Blank: Registered in memory as significant information. Any invalid use of these
codes in information other than a comment will cause an alarm.
 : Not registered in memory (ignored)
 : Registered in memory but ignored during the execution of a program
 : Registered in memory. The use of these codes in information other than
a comment will cause an alarm.
 : Not registered in memory when used in information other than a comment.
Registered in memory when used in a comment.
2 Any code other than those listed in the table is always ignored, provided its parity
is valid.
 Any code having an invalid parity will cause a TH alarm. Within a comment,
however, such a code is ignored and will not cause a TH alarm.
 With EIA code, the code with all eight holes punched has special meaning. It is
ignored and does not cause any parity alarm.

230
B–63122EN/01 APPENDIX D. EXTERNAL DIMENSIONS BASIC UNIT

D EXTERNAL DIMENSIONS BASIC UNIT

231
D. EXTERNAL DIMENSIONS BASIC UNIT APPENDIX B–63122EN/01

Fig. 1 EXTERNAL DIMENSIONS OF CNC CONTROL UNIT WITH 7.2″/8.4″ LCD

At the rear of the metal panel, the area within 8 mm of the outside edge is left unpainted.

Mounting hole diagram

M4 stud

No optional slot Two optional slots Four optional slots

232
B–63122EN/01 APPENDIX D. EXTERNAL DIMENSIONS BASIC UNIT

Fig. 2 EXTERNAL DIMENSIONS OF CNC CONTROL UNIT WITH 9.5″/10.4″ LCD

At the rear of the metal panel, the area within 8 mm of


the outside edge is left unpainted.

Mounting hole diagram

M4 stud

No optional slot Two optional slots Four optional slots

233
E. PRINT BOARD APPENDIX B–63122EN/01

E PRINT BOARD

234
B–63122EN/01 APPENDIX E. PRINT BOARD

Motherboard
(without PC functions)

Rear of the unit


COP10A (Connector on axis control card)

JD36B
JD36A

JD1A
JA40

JA41
CA54
CA55

CP1B
CP1A
Motherboard

CN3 CN8B
JNA

Motherboard CN2
JD36B
JD36A

JD1A
JA40

JA41
CA54
CA55

CP1B
CP1A

Axis control card Display control card CPU card

COP10A

Motherboard

235
E. PRINT BOARD APPENDIX B–63122EN/01

Connector name Function

COP10A Servo amplifier (FSSB)

CA55 MDI

CA54 Servo check

JD36A RS–232C serial port

JD36B RS–232C serial port

JA40 Analog output/high–speed DI

JD1A Serial I/O Link

JA41 Serial spindle/position coder

CP1B DC24V–OUT

CP1A DC24V–IN

JNA F–BUS interface

CN8B Video signal interface

CN2 PCMCIA interface

CN3 Inverter PCB interface

2 to 8 servo LCD control The following functions


axes circuit are built into flash ROM.

Basic function
Spindle control Boot function
circuit (ROM) Conversational
function or
macro executor
PMC–RB5/RB6
control circuit PMC–RB
function

Analog output/ Digital servo


high–speed DI function

236
B–63122EN/01 APPENDIX E. PRINT BOARD

Motherboard
(with PC functions)

Rear of the unit

COP10A (Connector on axis control card)

JD36A
JD36B
CA54
CA55

JD1A
JD33

JA40

JA41
CN2
CD32B

CP1B
CP1A
CD32A
CNY1 CD34

CNH1

Motherboard

CN3 CN8B
JNA

Motherboard CN2
JD36A
JD36B
CA54
CA55

JD1A
JD33

JA40

JA41

CD32B
CP1B
CP1A

CN2
CD32A
CNY1 CD34

CNH1

Axis control card PC function card CPU card

COP10A

237
E. PRINT BOARD APPENDIX B–63122EN/01

Connector name Function

JD33 RS–232C on PC side

COP10A Servo amplifier (FSSB)

CA55 MDI

CA54 Servo check

JD36A RS–232C serial port

JD36B RS–232C serial port

JA40 Analog output/high–speed DI

JD1A Serial I/O Link

JA41 Serial spindle/position coder

CP1B DC24V–OUT

CP1A DC24V–IN

CNY1 PC expansion

CD34 FDD signal

CNH1 HDD

CN2 FDD power

CD32A Keyboard

CD32B Mouse

JNA F–BUS interface

CN8B Video signal interface

CN2 PCMCIA interface

CN3 Inverter PCB interface

2 to 8 servo PC function The following functions


axes are built into flash ROM.

Basic function
Spindle control Boot function
circuit (ROM) Conversational
function or
macro executor
PMC–RB5/RB6
control circuit PMC–RB
function

Analog output/ Digital servo


high–speed DI function

238
B–63122EN/01 APPENDIX E. PRINT BOARD

Inverter PCB

With 4 option slots


CN39A CN39B CN39C CN39D

CP1 CP8

CN3

Without option slots or with 2 option slots


CN39A CN39B

CP1 CP8

CN3

Connector name Function

CN39A

CN39B
Fan power
ower
CN39C

CN39D

CP8 Battery

CP1 LCD backlight power

CN3 Inverter PCB power

239
E. PRINT BOARD APPENDIX B–63122EN/01

Sub–CPU board

CPU card
Axis control card

COP10A

JNA
F–BUS connector

CA54 JA41 JA40

Connector name Function

COP10A Servo amplifier (FSSB)

CA54 Servo check

JA41 Serial spindle/position coder

JA40 Analog output

Sub–CPU for 2 to 8 servo Spindle


control circuit Analog output
2–path control axes

240
B–63122EN/01 APPENDIX E. PRINT BOARD

Loader control board

Axis control card CPU card

COP10A

JNA
F–BUS connector

CA54 JD1A

Connector name Function

COP10A Servo amplifier (FSSB)

CA54 Servo check

JD1A Serial I/O Link

2 or 4 servo Main memory for PMC control Loader control


axes loader control circuit function

241
E. PRINT BOARD APPENDIX B–63122EN/01

Serial communication
board (remote buffer/
DNC1/DNC2/HDLC)

CPU card

JNA
F–BUS connector

JD28A JD6A

Connector name Function

JD28A RS–232C serial port

JD6A RS–422 serial port

Communication
function

242
B–63122EN/01 APPENDIX E. PRINT BOARD

C board

CPU card

JNA
F–BUS connector

C function for PMC

243
E. PRINT BOARD APPENDIX B–63122EN/01

CAP–II board

CPU card

JNA
F–BUS connector



Connector name Function

Connector name Function

CP8B For SRAM backup battery

CAP II function

244
B–63122EN/01 APPENDIX E. PRINT BOARD

RISC board

JNA
F–BUS connector

High–precision contour control function

245
E. PRINT BOARD APPENDIX B–63122EN/01

Data server board

JNA Add–on board


F–BUS connector

CNH1

CD27

CD27 is provided on the


add–on board.

Connector name Function

CNH1 IDE hard disk interface

CD27 Ethernet interface

Data server function

246
B–63122EN/01 APPENDIX E. PRINT BOARD

HSSB interface board

JNA
F–BUS connector

COP7

Connector name Function

COP7 High–speed serial bus interface

High–speed serial bus interface

247
F. EXTERNAL DIMENSIONS MDI UNIT APPENDIX B–63122EN/01

F EXTERNAL DIMENSIONS MDI UNIT

248
B–63122EN/01 APPENDIX F. EXTERNAL DIMENSIONS MDI UNIT

Fig. 1 EXTERNAL DIMENSIONS OF SEPARATE–TYPE SMALL MDI UNIT

Mounting hole diagram

At the rear of the metal panel, the area within 8 mm of the


outside edge is left unpainted.

249
F. EXTERNAL DIMENSIONS MDI UNIT APPENDIX B–63122EN/01

Fig. 2 EXTERNAL DIMENSIONS OF SEPARATE–TYPE STANDARD MDI UNIT

Mounting hole diagram

At the rear of the metal panel, the area within 8 mm of


the outside edge is left unpainted.

250
B–63122EN/01 APPENDIX F. EXTERNAL DIMENSIONS MDI UNIT

EXTERNAL DIMENSIONS OF SEPARATE–TYPE STANDARD MDI UNIT


(HORIZONTAL TYPE)
Fig. 3

Mounting hole diagram

At the rear of the metal panel, the area within 8 mm of


the outside edge is left unpainted.

251
F. EXTERNAL DIMENSIONS MDI UNIT APPENDIX B–63122EN/01

EXTERNAL DIMENSIONS OF SEPARATE–TYPE STANDARD MDI UNIT


(VERTICAL TYPE)
Fig. 4

Mounting hole diagram

At the rear of the metal panel, the area within 8 mm of


the outside edge is left unpainted.

252
B–63122EN/01 APPENDIX F. EXTERNAL DIMENSIONS MDI UNIT

EXTERNAL DIMENSIONS OF SEPARATE–TYPE STANDARD MDI UNIT


(VERTICAL TYPE) FOR 160i/180i
Fig. 5

Mounting hole diagram

At the rear of the metal panel, the area within 8 mm of


the outside edge is left unpainted.

253
F. EXTERNAL DIMENSIONS MDI UNIT APPENDIX B–63122EN/01

Fig. 6 EXTERNAL DIMENSIONS OF FA FULL KEYBOARD

Mounting hole diagram


M4 stud

At the rear of the metal panel, the area within 8 mm of


the outside edge is left unpainted.

254
B–63122EN/01 APPENDIX F. EXTERNAL DIMENSIONS MDI UNIT

Fig. 7(a) EXTERNAL DIMENSIONS OF 101–TYPE FULL KEYBOARD (ENGLISH)

Specification No.: A86L–0001–0210

NOTE
This keyboard is not dust–proof. It should be used for
program development only. It can be used at temperatures
of between 0 and 40°C.

255
F. EXTERNAL DIMENSIONS MDI UNIT APPENDIX B–63122EN/01

Fig. 7(b) EXTERNAL DIMENSIONS OF 106–TYPE FULL KEYBOARD (JAPANESE)

Specification No.: A86L–0001–0211

NOTE
This keyboard is not dust–proof. It should be used for
program development only. It can be used at temperatures
of between 0 and 40°C.

256
B–63122EN/01 APPENDIX F. EXTERNAL DIMENSIONS MDI UNIT

Fig. 8 EXTERNAL DIMENSIONS OF MOUSE

Specification No.: A86L–0001–0212

66±2

13±1

25±1.5

104±2
41.5 ± 2

1.5±1

Units: mm

NOTE
This mouse is not dust–proof. It should be used for program
development only. It can be used at temperatures of
between 0 and 40°C. The mouse is fitted with a 2.7–m
cable.

257
G. EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B–63122EN/01

G EXTERNAL DIMENSIONS OF EACH UNIT

258
B–63122EN/01 APPENDIX G. EXTERNAL DIMENSIONS OF EACH UNIT

EXTERNAL DIMENSIONS OF HIGH–SPEED SERIAL BUS INTERFACE


BOARD TYPE 2 (FOR PC)
Fig. 1
Specification No.: A20B–8100–0100

259
G. EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B–63122EN/01

Fig. 2 POSITION CODER

Specification : A86L–0026–0001#102 (Max. 4000rpm)


A86L–0026–0001#002 (Max. 6000rpm)

2 +0
–0.11

φ14.3
φ68
–0.006 –0.009
–0.017 –0.025
φ16
φ15 φ50
1.15 +0.14
–0

20
5
Connector 30
3

98

4 φ5.4

Note : Mechanical specifications of the position coder


are as follows :
(1) Input axis inertia
1.0_10–3kgcmsec2 or less
+0.012 (2) Input axis starting torque
5 –0 100gcm or less
(3) Input axis permissible loads
(4) Weight : 1kg or less

Radial Thrust
3 +0.05
–0
Operation 1kg or less 1kg or less
Idle 20kg or less 10kg or less

Attach a pulley directly to the position coder


shaft and drive the timing belt. Confirm that the
loads conform with the above allowable value.

¢56
¢68

260
B–63122EN/01 APPENDIX G. EXTERNAL DIMENSIONS OF EACH UNIT

Fig. 3 MANUAL PULSE GENERATOR

Specification : A860–0202–T001

83.5
φ80.0
φ55.0
50.0
30.0

M4X8.0

60.0

3 holes equally spaced


on a 72 dia
11.0

PULSE GENERATOR
FANUC LTD

0V A 5VB

M3 screw terminal
120.0°

261
G. EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B–63122EN/01

Fig. 4 PENDANT TYPE MANUAL PULSE GENERATOR

Specification : A860–0202–T004 to T015

A860–0202–T004 to T009

90 38.0 M3 screw
terminal
25
140

100.0
39.0
M3 screw
terminal

A860–0202–T010 to T015

90 38.0 M3 screw
terminal
25
140

100.0
39.0

M3 screw
terminal

262
B–63122EN/01 APPENDIX G. EXTERNAL DIMENSIONS OF EACH UNIT

Fig. 5 EXTERNAL DIMENSIONS OF SEPARATE DETECTOR INTERFACE UNIT

263
G. EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B–63122EN/01

Fig. 6 BATTERY CASE FOR SEPARATE TYPE ABSOLUTE PULSE CODER

Specification : A06B–6050–K060

103 Minus polarity indication


4–M4 counter sinking Plus polarity indication

Plus terminal with


3–M3 screw holes

Minus terminal with


3–M3 screw holes

FANUC

40
4–ø4.3 Mounting holes
Arrow view A

14.1

13.2
78 78

264
B–63122EN/01 APPENDIX G. EXTERNAL DIMENSIONS OF EACH UNIT

Fig. 7 EXTERNAL DIMENSIONS OF TAP

50

25 25
5 5

65

5 32.5
1 2 3

100
35

120

Fig. 8 EXTERNAL DIMENSIONS OF TERMINAL RESISTANCE UNIT

39.3 16.0

ÅÅÅ
ÅÅÅ
47.0

265
G. EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B–63122EN/01

Fig. 9 EXTERNAL DIMENSIONS OF EXTERNAL CNC BATTERY UNIT

Main unit
Cover

103 115
M4 tap  4
70

81 93

13.5 47 Mounting panel hole drilling

Mounting hole
(countersink)

145

The battery unit is fitted with a 14–m battery cable.

266
B–63122EN/01 APPENDIX G. EXTERNAL DIMENSIONS OF EACH UNIT

Fig. 10 EXTERNAL DIMENSIONS OF PUNCH PANEL (NARROW TYPE)

Mounting hole diagram

At the rear of the metal panel, the area within 8 mm of


the outside edge is left unpainted.

267
G. EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B–63122EN/01

Fig. 11 PORTABLE TAPE READER WITHOUT REELS

Specification : A13B–0074–B001

380 240

Paint : Munsell No. 5GY3.5/0.5 leather tone finish


Weight : Applox. 15kg

268
B–63122EN/01 APPENDIX G. EXTERNAL DIMENSIONS OF EACH UNIT

Fig. 12 PORTABLE TAPE READER WITH REELS

Specification : A13B–0087–B001

530

269
G. EXTERNAL DIMENSIONS OF EACH UNIT APPENDIX B–63122EN/01

Fig. 13 STANDARD MACHINE OPERATOR’S PANEL

Specification : A02B–0080–C141 (T series)


A02B–0080–C142 (M series)
A02B–0120–C271 (T series for CE Marking)
A02B–0120–C272 (M series for CE Marking)

270
B–63122EN/01 Index
ƠNumbersơ ƠCơ
1–block plural M command, 69 C axis control, 132
C language executer function, 122
C–axis backlash compensation for individual indexes (option),
106
ƠAơ C–axis position compensation, 98
Abnormal load detection, 201 Changing of tool offset amount (programmable data input)
(G10), 101
Absolute and incremental programming (G90, G91), 51
Circular interpolation (G02, G03), 24
Accuracy compensation function, 102
Circular nibbling (G68) and linear nibbling (G69), 55
Activation of automatic operation, 142
Circular punching commands G46 and G47, 96
Additional optional block skip, 77
Clearing the screen, 177
Alarm signal, 208 Clock function, 164
All axes interlock, 200 CNC control unit with 7.2″/8.4″ LCD, 151
All–axes machine lock, 149 CNC control unit with 9.5″/10.4″ LCD, 152
Arc (G77), 80 Color setting screen, 179
Automatic acceleration/deceleration, 31 Command to restart punching multiple products, 91
Automatic coordinate system setting, 46 Constant–positioning–time control, 32

Automatic corner deceleration, 124 Continuous press (nibbling), 55

Automatic corner override (G62), 37 Control axis detach, 130


Control–in/control–out, 77
Automatic operation, 139
Controlled axes, 15
Automatic operation signal, 208
Controlling the punch and die, 132
Automatic operation start signal, 208
Conversational programming of figures, 183
Automatic operation stop, 143
Coordinate system conversion, 107
Automatic reference position return, 40
Coordinate system rotation (G68, G69), 108
Automatic repositioning (G75), 85 Coordinate systems, 43
Automatic setting of the safety zone, 203 Coordinate value and dimension, 50
Auxiliary function lock, 149 Custom macro, 113, 114
Axes control, 129 Cut at angle (G89), 82
Axis control by PMC, 16 Cutter compensation C (G40–G42), 99
Axis control with PMC, 133 Cutting feed rate, 28
Axis move direction signal, 209 Cutting feed rate clamp, 28

Axis names, 16 Cutting mode (G64), 37


Cycle start, 142

ƠBơ
ƠDơ
Background editing, 181
Data input/output, 186
Backlash compensation, 105
Data input/output function based on the I/O Link and data
Backlash compensation specific to rapid traverse and cutting input/output function B based on the I/O Link, 193
feed, 105
Data input/output using a memory card, 189
Base point command (G72), 83 Data protection key, 174
Base point command of multi–piece machining, 89 Data server, 192
Basic addresses and command value range, 76 Decimal point input/pocket calculator type decimal point input,
52
Bell–shape acceleration/deceleration after cutting feed
interpolation, 35 Deferring press activation, 58
Bending compensation (G38, G39), 92 DI status output signal, 209
Bolt hole circle (G26), 79 Diagnosis functions, 184
Brightness adjustment, 179 Directory display and punch for a specified group, 177

Buffer register, 142 Directory display of floppy cassette/program file, 166


Display, 161

i–1
INDEX B–63122EN/01

Displaying and setting data, 160 Floating reference position return (G30.1), 41
Displaying operation history, 174 Follow up function, 130
Distribution end signal, 208 Foreground editing, 181
DNC operation, 140 Function to simplify programming, 78
DNC1 control, 190 Functions and tape format list, 224
DNC2 control, 191 Functions for high speed cutting, 123
Dry run, 149
Dwell (G04), 37
ƠGơ
Graphic display function, 167
ƠE ơ Grid (G78, G79), 80

Emergency stop, 196


Exact stop (G09), 37
Exact stop mode (G61), 37 ƠHơ
Execution of automatic operation, 142 Handle interruption, 144
Expanded part program editing, 182 Helical interpolation (G02, G03), 25
Explanation of the function keys, 158 Help function, 172
Explanation of the keyboard, 157 High–speed M/S/T/B interface, 70
Explanation of the soft keys, 159 High–speed serial bus (HSSB), 217
External alarm message, 211
External control of I/O device, 182
External data input, 210 ƠI ơ
External deceleration, 201 Ignoring T–code, 62
External dimensions basic unit, 231 In–position signal, 208
External dimensions MDI unit, 248 Inch input signal, 209
External dimensions of each unit, 258 Inch/metric conversion (G20, G21), 52
External machine zero point shift, 211 Increased custom macro common variables, 120
External memory and sub program calling function, 75 Increment system, 17
External operation function, 58 Incremental feed, 138
External operator’s message, 212 Input unit (10 times), 18
External program input, 189 Input/output devices, 188
External program number search, 211 Interlock, 200
External tool compensation, 211 Interlock for each axis direction, 200
External workpiece coordinate system shift, 211 Interlock per axis, 200
External workpiece number search, 141 Interpolation functions, 21

Externally setting the stroke limit, 199 Interruption type custom macro, 120

ƠF ơ ƠJơ
F1–digit (programmable rapid traverse override), 29 Jog override, 29

FANUC Floppy Cassette, 188


FANUC Handy File, 188
FANUC program file mate, 188 ƠKơ
Feed functions, 26 Key input from PMC (External key input control), 213
Feed hold, 143
Feed hold signal, 208
Feed rate override, 29 ƠL ơ
Feedrate clamp by circular radius, 125 Label skip, 77
Feedstop, 131 Language selection, 164

i–2
B–63122EN/01 INDEX

Line at angle (G76), 79 Number of basic controlled axes, 16


Linear acceleration/deceleration after cutting feed interpolation, Number of basic simultaneously controlled axes, 16
34
Number of controlled axes expanded (all), 16
Linear acceleration/deceleration before cutting feed Number of registered programs, 182
interpolation, 36
Number of simultaneously controlled axes expanded (all), 16
Linear axis and rotation axis, 52
Number of the all controlled axes, 16
Linear interpolation (G01), 23
Number of tool offsets, 100
Linear punching command G45, 93
Linear scale with absolute addressing reference marks, 42
List of specifications, 5
ƠOơ
List of tape code, 228
One–cycle press, 54
Local coordinate system system (G52), 47
Operation mode, 140
Look–ahead control (G08), 126
Optional block skip, 77
Override, 29
Override cancel, 29
ƠM ơ Overtravel, 198
Machine controlled axes, 16 Overtravel functions, 198
Machine coordinate system (G53), 44
Machine lock on each axis, 149
Machining time stamp function, 174 ƠP ơ
Macro call (W command), 87 Part program storage and editing, 180

Macro executer function, 121 Part program storage length, 182


Password function, 183
Main program, 73
Pattern function, 79
Maintenance information screen, 178
Per minute feed (G94), 28
Manual feed, 138
Periodic maintenance screen, 178
Manual handle feed (1st), 138
Personal computer functions, 214
Manual handle feed (2nd, 3rd), 138
Personal computer functions incorporated into the CNC, 215
Manual interruption during automatic operation, 144
Plane selection (G17, G18, G19), 49
Manual operation, 137
Position switch function, 209
Manual press, 58 Positioning (G00), 22
Manual reference position return, 39 Positioning and no press start signal (G70), 58
Maximum stroke, 18 Positioning to smaller angle rotation direction, 132
MDI operation, 140 Power motion manager, 194
Measurement functions, 111 Preparatory functions, 19
Mechanical handle feed, 130 Press activation lock, 58
Memory operation, 140 Press functions, 53

Mirror image, 130 Print board, 234

Miscellaneous functions, 67, 68 Program confingration, 72


Program end (M02, M30), 143
Move signal, 208
Program name, 73
Multi–piece machining command, 90
Program number, 73
Multiple call of macro, 87
Program number search, 141
Multiple piece machining, 88
Program stop (M00, M01), 143
Multiple tool control, 63
Program test functions, 148
Multiple–workpiece machining retrace function, 147
Programmable parameter entry (G10, G11), 106
Punch forbidden area and approach forbidden area, 202

ƠNơ
Nibbling mode (M–code), 56 ƠRơ
Normal–line direction control (G40.1, G41.1, G42.1), 135 Radius (G88), 82

i–3
INDEX B–63122EN/01

Range of command value, 221 Servo wave form function, 168


Rapid traverse, 27 Setting a workpiece coordinate system (using G54 to G59), 46
Rapid traverse bell–shaped acceleration/deceleration, 33 Setting a workpiece coordinate system (using G92), 45
Rapid traverse override, 29 Setting and display unit, 150
Rapid traverse time constant override, 30 Setting and display units, 151
Rapid traversing signal, 209 Setting of processing method of multi–piece machining, 90

Reader/punch interfaces, 187 Setting the reference position without dogs, 39

Ready signal, 208 Setting the safety zone, 203

Reference point shift, 42 Setting up press start signal output conditions, 58


Share proof (G86), 81
Reference position, 38
Simple synchronous comtrol, 131
Relation between T command and C axis command, 132
Simultaneous input and output operations, 146
Relation with absolute/incremental command (G90/G91), 132
Single block, 149
Relationship between the multiple–tool system and the C axis,
64 Skip function (G33), 112
Remote buffer, 127 Software operator’s panel, 165
Remote buffer (only at 1–path control), 127 Spindle functions, 59
Remote diagnosis, 175 Spindle speed command control by the PMC, 60
Reset, 143 Square (G87), 81
Reset signal, 208 Status output, 207

Retrace function, 146 Storage and call by address A/B, 84

Rewind, 141 Storage and call of plural macro (Macro No.90 to 99), 87

Rewinding signal, 208 Storage capacity of macro, 87

Rotation axis roll–over function, 52 Storage of macro (U, V command), 86


Stored pitch error compensation, 103
Run time & parts number display, 164
Stored stroke check 1, 198
Stored stroke check 2 (G22, G23), 198

ƠS ơ
Straightness compensation, 104
Sub program, 74
S code output, 60
Substitution of the number of required parts and number of
Safety functions, 195 machined parts, 212
Safety zone check, 202 Switching between two nibbling pitches, 58
Scaling (G50, G51), 109 Switching rapid traverse feedrates, time constants, and/or servo
loop gains according to the positioning distance, 32
Scheduling function, 145
System configuration display function, 170
Screen for servo data and, 169
Second feed rate override, 29
Second miscellaneous functions, 69
ƠT ơ
Selection of execution programs, 141
T code output, 62
Self diagnosis functions, 185
T–axis control, 62
Separate–type FA full keyboard (vertical type) (for 160i/180i),
156 Tandem control, 134

Separate–type small MDI unit, 153 Tangential speed constant control, 28

Separate–type standard MDI unit (horizontal type), 154 Tape codes, 75


Tape format, 77
Separate–type standard MDI unit (vertical type), 155
Tape horizontal (TH) parity check and tape vertical (TV) parity
Sequence number, 75 check, 77
Sequence number comparison and stop, 143 Tool compensation, 65
Sequence number search, 141 Tool compensation function, 97
Servo adjustment screen, 169 Tool compensation memory, 100
Servo motor speed detection, 206 Tool data setting function, 66
Servo off, 130 Tool functions, 61
Servo ready signal, 208 Tool life management, 66
Servo setting screen, 169 Tool number, 63

i–4
B–63122EN/01 INDEX

Tool offset compensation, 98


ƠWơ
Touch pad, 178
Workpiece coordinate system, 45

ƠUơ Workpiece holder interference avoidance function, 205

U/V/W macro function, 86 Workpiece origin offset value change (programmable data
input) (G10), 48

i–5
Revision Record

FANUC Series 16i/18i/160i/180i–PA DESCRIPTIONS (B–63122EN)

01 Oct., ’97

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