Professional Documents
Culture Documents
Descriptions Manual
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.
2. LIST OF SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
II. NC FUNCTION
1. CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.1 NUMBER OF THE ALL CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2 MACHINE CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.1 Number of Basic Controlled Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.2 Number of Basic Simultaneously Controlled Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.3 Number of Controlled Axes Expanded (All) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.4 Number of Simultaneously Controlled Axes Expanded (All) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.5 Axis Control by PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.3 AXIS NAMES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.4 INCREMENT SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.4.1 Input Unit (10 Times) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.5 MAXIMUM STROKE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2. PREPARATORY FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3. INTERPOLATION FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.1 POSITIONING (G00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.2 LINEAR INTERPOLATION (G01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.3 CIRCULAR INTERPOLATION (G02, G03) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4. FEED FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.1 RAPID TRAVERSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.2 CUTTING FEED RATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.2.1 Tangential Speed Constant Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.2.2 Cutting Feed Rate Clamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.2.3 Per Minute Feed (G94) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.3 OVERRIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.1 Feed Rate Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.2 Second Feed Rate Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.3 Rapid Traverse Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.4 Override Cancel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.5 Jog Override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.3.6 F1-digit (Programmable Rapid Traverse Override) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.4 AUTOMATIC ACCELERATION/ DECELERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.4.1 Switching Rapid Traverse Feedrates, Time Constants, and/or Servo Loop Gains According to
the Positioning Distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.4.2 Constant-positioning- time Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.5 LINEAR ACCELERATION/ DECELERATION AFTER CUTTING FEED INTERPOLATION 32
Table of Contents B–62622EN/02
5. REFERENCE POSITION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.1 MANUAL REFERENCE POSITION RETURN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.1.1 Manual Reference Position Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.1.2 Setting the Reference Position without Dogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2 AUTOMATIC REFERENCE POSITION RETURN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6. COORDINATE SYSTEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.1 MACHINE COORDINATE SYSTEM (G53) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.2 WORKPIECE COORDINATE SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.2.1 Setting a Workpiece Coordinate System (Using G92) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.2.2 Automatic Coordinate System Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.2.3 Setting a Workpiece Coordinate System (Using G54 to G59) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.3 LOCAL COORDINATE SYSTEM SYSTEM (G52) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.4 WORKPIECE ORIGIN OFFSET VALUE CHANGE
(PROGRAMMABLE DATA INPUT) (G10) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.5 PLANE SELECTION (G17, G18, G19) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
8. PRESS FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.1 ONE-CYCLE PRESS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.2 CONTINUOUS PRESS (NIBBLING) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8.2.1 Circular Nibbling (G68) And Linear Nibbling (G69) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8.2.2 Nibbling Mode (M-code) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
8.3 MANUAL PRESS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.4 POSITIONING AND NO PRESS START SIGNAL (G70) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.5 SETTING UP PRESS START SIGNAL OUTPUT CONDITIONS . . . . . . . . . . . . . . . . . . . . . . . . 54
8.6 PRESS ACTIVATION LOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.7 DEFERRING PRESS ACTIVATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.8 SWITCHING BETWEEN TWO NIBBLING PITCHES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.9 EXTERNAL OPERATION FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
9. SPINDLE FUNCTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.1 S CODE OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
B–62622EN/02 Table of Contents
32. KEY INPUT FROM PMC (EXTERNAL KEY INPUT CONTROL) . . . . . . . . . . . . . . . 198
APPENDIX
A. RANGE OF COMMAND VALUE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
1 GENERAL
3
1. GENERAL GENERAL B–62622EN/02
Manuals related to The table below lists manuals related to the FANUC Series 16/160–PB,
Series 16/160–PB, 18/180–PB. In the table, this manual is marked with an asterisk (*).
18/180–PB
Manuals Related to the Series 16/160–PB, 18/180–PB
Specification
Manual name
number
FANUC Series 16/18/160/180–PB DESCRIPTIONS B–62622EN *
Manuals related to
control motor α series Manuals related to control motor α series
Specification
Manual name
number
4
B–62622EN/02 GENERAL 2. LIST OF SPECIFICATIONS
2 LIST OF SPECIFICATIONS
Some functions described in this manual can be used for the 16/160–PB
but cannot be used for the 18/180–PB. When selecting a function, refer
to the following tables.
Axis control
Description
Item
16/160–PB 18/180–PB
Controllable axes 3 axes (X, Y and T axes)
Expansion of controllable axes (total) (including the Cs axis
8 axes max. 4 axes max.
and axes controlled by the PMC)
Simultaneously controllable axes 2 axes
Expansion of simultaneously controllable axes (total) 6 axes max. 4 axes max.
T-axis control Turret indexing
C-axis control Possible
Synchronous control of C-axes * Possible × Impossible
Axis control by the PMC 4 axes max. (simultaneous)
Simple synchronous control Possible × Impossible
Axis detach Possible
0.001 mm, 0.001 deg, 0.0001 inch
Least input increment
0.01 mm, 0.01 deg, 0.001 inch
Flexible feed gear Possible
Dual position feed back Possible
Inch/metric switching Possible
For all axes, each axis, or start of a cut-
Interlock
ting block
Machine lock For all axes or each axis
Emergency stop Possible
Overtravel signal Possible
Stored stroke check 1 Possible
External setting of stroke limit Possible
Stored stroke check 2 Possible × Impossible
Pretravel stroke check As specified by G00
Safety zone check Possible
Mirror image For each axis
Follow-up Possible
Servo off/mechanical handle Possible
Backlash compensation Possible
Backlash compensation for rapid traverse and cutting feed Possible
C-axis backlash compensation for individual indexes * Possible
Stored pitch error compensation Possible
Position switch Possible
5
2. LIST OF SPECIFICATIONS GENERAL B–62622EN/02
Operation
Description
Item
16/160–PB 18/180–PB
Memory operation Possible
DNC operation Possible
MDI operation Possible
Program number search Possible
Stopping sequence number verification Possible
Buffer register Possible
Dry run Possible × Impossible
Single block Possible
Manual continuous feed (JOG) Possible
Manual reference position return Possible
Setting the reference position without a dog Possible
Manual handle feed 1 unit × Impossible
2 or 3 units × Impossible
Manual handle feed magnification * 1, 10, xm, xn × Impossible
m : 127 max.,
n : 1000 max.
Manual handle interruption Possible × Impossible
Incremental feed 1, 10, 100, 1000
Jogging/handle feed mode Possible × Impossible
Interpolation functions
Description
Item
16/160–PB 18/180–PB
Positioning G00
Exact stop mode G61 × Impossible
Exact stop G09 × Impossible
Linear interpolation G01 × Impossible
Circular interpolation Possible for multi- × Impossible
ple quadrants
Dwell (per second) Possible
Skip function G33
Reference position return G28
Feed functions
Description
Item
16/160–PB 18/180–PB
Rapid traverse feedrate 240m/min
Rapid traverse feedrate override 25, 50, 75, 100%
Feed per minute mm/min
X- and Y-axes : 7 steps
Switching rapid traverse feedrates and/or time constants
C-axis : 3 steps
according to the positioning distance
T-axis : 3 steps (time constant only)
Constant-positioning-time control X- and Y-axes : 2 steps
X- and Y-axes : 7 steps for rapid traverse,
Servo loop gain switching specified for individual cutting feedrates
T-axis : 3 steps
6
B–62622EN/02 GENERAL 2. LIST OF SPECIFICATIONS
Description
Item
16/160–PB 18/180–PB
Constant tangential speed control Possible × Impossible
Cutting feedrate clamp Possible × Impossible
Rapid traverse : Rapid traverse :
Linear type Linear type
Automatic acceleration/deceleration
Cutting feed : Cutting feed :
Exponential type Not available
Rapid traverse bell–type acceleration/deceleration Possible
Acceleration/deceleration after interpolation for cutting
Possible × Impossible
feed
Acceleration/deceleration before interpolation for cutting
Possible × Impossible
feed
Feedrate override 0–254% × Impossible
2nd feedrate override 0–254% × Impossible
Programmable rapid traverse override F1-digit command
Jogging override 0–655.34%
Override cancel Possible
External deceleration Possible
Feed stop Possible
Look ahead control function Possible × Impossible
High–speed press control function Possible × Impossible
Programming
Description
Item
16/160–PB 18/180–PB
EIA/ISO automatic identification Possible
Label skip Possible
Parity check Parity H, parity V
Control in/out
1 block
Optional
O tional block skip
ski
9 blocks
Maximum programmable value "8 digits
Program number Character O with 4 digits
Sequence number Character N with 5 digits
Both types of commands can be used in a
Absolute or incremental command
block
Decimal point input (pocket calculator type decimal point
Possible
input)
10-time input unit Possible
Rotation axis setting Possible
Rotation axis roll-over Possible
Coordinate system setting G92
Automatic coordinate system setting Possible
Workpiece coordinate system G52, G53, G54-G59
Manual absolute on/off Possible
A
G code system
B
Programmable data input G10
Bolt hole circle, lines at angles, etc.
Pattern function
Linear and circular punching
7
2. LIST OF SPECIFICATIONS GENERAL B–62622EN/02
Description
Item
16/160–PB 18/180–PB
Nibbling function As specified by G68 or G69 and M-codes
Pattern reference position command G72
Store and call by A or B 5 sets
U, V, and W macro functions Possible
Function for punching multiple products Possible
Command to restart punching multiple products * Possible
Repositioning command As specified by G75 and M-codes
Bending allowance compensation G38/G39
Subprogram calling Fourfold nesting
Custom macro Possible
Additional custom macro common variables #532-#999
Interruption type custom macro Possible
Specifying the radius of an arc Possible × Impossible
Automatic corner override Possible × Impossible
Automatic corner deceleration Possible × Impossible
Speed clamp by the radius of an arc Possible × Impossible
Scaling Possible
Coordinate rotation Possible
Conversational graphic programming Possible
Macro executor 3M bytes max.
C language executer 3M bytes max.
MMC – III Possible
MMC – IV Possible
One-cycle press Possible
Continuous press (nibbling) Possible
Manual press One-cycle or continuous press
Positioning and no press start signal G70
Setting up press start signal output conditions Early PF
Press activation lock Possible
Deferring press activation Possible
Switching between two nibbling pitches Nibbling pitch switching
External operation function EF output
8
B–62622EN/02 GENERAL 2. LIST OF SPECIFICATIONS
Editing
Description
Item
16/160–PB 18/180–PB
Part program storage length ––––––––––––––––– 10 m
20 m 20 m
40 m
80 m
160 m
320 m
640 m
1280 m
Number of registered programs 63 programs
125 programs
200 programs
400 programs
1000 programs
Part program storage and editing Possible
Program protection Possible
Password function Possible
Background editing Possible
Extended tape editing Possible
Machining time stamp function Possible
9
2. LIST OF SPECIFICATIONS GENERAL B–62622EN/02
Data input/output
Description
Item
16/160–PB 18/180–PB
Reader/punch (Ch 1) interface
Reader/punch
Reader/ unch interface
Reader/punch (Ch 2) interface
Simultaneous I/O operation Possible
Remote buffer Possible
I/O device external control Possible
DNC1 control Possible × Impossible
DNC2 control Possible × Impossible
External tool compensation Possible × Impossible
External message Possible
External machine origin shift Possible
External data input Possible
External workpiece number search 31 numbers
External program number search 1–9999
10
B–62622EN/02 GENERAL 2. LIST OF SPECIFICATIONS
Description
Item
16/160–PB 18/180–PB
FANUC FA Card Possible
FANUC Handy File Possible
FANUC FLOPPY CASSETTE Possible
FANUC PROGRAM FILE Mate Possible
FANUC PPR Possible
Memory card inteface Possible
Others
Description
Item
16/160–PB 18/180–PB
Abnomal load detection Possible
NC ready, servo ready, automatic operation,
automatic operation start lamp, feed hold, re-
Status output signal set, NCalarm, distribution end, rewinding, inch
input, cutting, inposition, thread cutting, tap-
ping, etc.
9” monochrome CRT/MDI (small size)
9” monochrome CRT/MDI (standard size)
9” color CRT/MDI (small size)
9” color CRT/MDI (standard size)
9” monochrome PDP/MDI (standard size)
14” color CRT/MDI (horizontal type)
14” color CRT/MDI (vertial type)
Setting and display unit 9” monochrome CRT (separate type)
9” color CRT (separate type)
9” monochrome PDP (separate type)
8.4” color LCD (separate type)
9.5” color LCD/MDI (horizontal type)
9.5” color CRT/MDI (vertial type)
Separate MDI (small size)
Separate MDI (standard size)
Basic instruction : 1.0µs/step
PMC–RB3, PMC–RB4
Max. step number ladder : 24000
Basic instruction : 0.10µs/step
Max. step number ladder : × Impossible
PMC 24000
system
PMC–RC3, PMC–RC4 C language : Max. 2MB × Impossible
Nonvolatile memory expan-
× Impossible
sion
Signal waveform display × Impossible
Sink type output
Machine interface ((I/O Card)) Max. DI/DO points : 156/120
(Available 1or 2 card) Source type output A
Max. DI/DO points : 104/72
I/O Unit MODEL A
I/O Unit MODEL B
Machine interface (I/O Link)
Operator’s panel connection unit
Max. DI/DO points : 1024/1024 points
Max. DI/DO points : 96/64
Machine operator’s panel interface unit
FANUC AC servo motor (with serial interface
Connectable servo motor
pulse coder)
Connectable servo amp FANUC AC servo amp (digital servo)
11
2. LIST OF SPECIFICATIONS GENERAL B–62622EN/02
Description
Item
16/160–PB 18/180–PB
Pulse coder / optical scale (2–phase pluse in-
Connectable position detector (for full–closed control)
terface)
2 slots 112(W)380(H)172(D) mm
3 slots 172(W)380(H)172(D) mm
Control unit
4 slots 224(W)380(H)172(D) mm
dimensions
6 slots 336(W)380(H)172(D) mm × Impossible
8 slots 448(W)380(H)172(D) mm × Impossible
200 to 240 VAC )10%, *15%
Input power supply
50 to 60Hz"3Hz
12
II. NC FUNCTION
B–62622EN/02 NC FUNCTION 1. CONTROLLED AXES
1 CONTROLLED AXES
1.1 8 axes
The machine controlled axes include Cs axis and PMC controlled axes.
NUMBER OF THE ALL
CONTROLLED AXES
1.2
MACHINE
CONTROLLED AXES
1.2.1 3 axes (X axis, Y axis, turret axis (T axis))
Number of Basic
Controlled Axes
1.2.2 2 axes
Number of Basic
Simultaneously
Controlled Axes
15
1. CONTROLLED AXES NC FUNCTION B–62622EN/02
1.3 X, Y, T, and C
The names of the two basic axes are always X and Y. The name of an
AXIS NAMES additional axis can be selected from A, B, C, U, V, W, and T.
Notes
Notes
When A, B, U, V, or W is used as an axis name, some
functions are disabled accordingly (AB macro function,
UVW macro function, and multi–piece cutting function).
16
B–62622EN/02 NC FUCNTION 1. CONTROLLED AXES
1.4 There are two increment systems as shown in the tables below. One of the
increment systems can be selected using a parameter.
INCREMENT SYSTEM
Table 1.4(a)
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)
0.001 mm 0.0005 mm
Metric input
in ut
Millimeter 0.001 deg 0.001 deg
machine 0.0001 inch 0.0005 mm
Inch in
input
ut
0.001 deg 0.001 deg
IS–B
0.001 mm 0.00005 inch
Metric input
in ut
Inch 0.001 deg 0.001 deg
machine 0.0001 inch 0.00005 inch
Inch in
input
ut
0.001 deg 0.001 deg
Notes
For the turrent axis (called T-axis), the least command
increment is determined according to the distance the tool
travels each time the turret makes one turn.
17
1. CONTROLLED AXES NC FUNCTION B–62622EN/02
1.4.1 The following least input increments can be set using a parameter:
Input Unit (10 Times) Increment system Least input increment
When incerement system is IS-A, Input unit 10 time multibly can not be
used.
18
B–62622EN/02 NC FUCNTION 1. CONTROLLED AXES
1.5 The following table lists the maximum strokes of machine tools that are
allowed by the control unit:
MAXIMUM STROKE
Maximum stroke = Least command increment 99999999
Increment system Maximum stroke
±999999.99 mm
Millimeter machine
±999999.99 deg
IS–A
±99999.999 inch
Inch machine
±999999.99 deg
±99999.999 mm
Millimeter machine
±99999.999 deg
IS–B
±9999.9999 inch
Inch machine
±99999.999 deg
Notes
A command that exceeds the maximum stroke is not allowed.
19
2. PREPARATORY FUNCTIONS NC FUNCTION B–62622EN/02
2 PREPARATORY FUNCTIONS
The following G codes are provided. The G codes are classified into two:
A and B. One of the G code types can be selected using a parameter. In
this manual, G code system B is assumed.
20
B–62622EN/02 NC FUCNTION 2. PREPARATORY FUNCTIONS
21
3. INTERPOLATION FUNCTIONS NC FUNCTION B–62622EN/02
3 INTERPOLATION FUNCTIONS
22
B–62622EN/02 NC FUCNTION 3. INTERPOLATION FUNCTIONS
3.1 Positioning is done with each axis separately (Non linear interpolation
type positioning).
POSITIONING (G00)
Non linear interpolation positioning
Each axis is independently positioned at the rapid traverse rate, then
punch is performed. The tool path is normally straight.
Start position
Format
G00 _ ;
23
3. INTERPOLATION FUNCTIONS NC FUNCTION B–62622EN/02
3.2 Linear interpolation is done with tangential direction feed rate specified
by the F code.
LINEAR
INTERPOLATION
X axis
(G01)
End point
(200, 150)
(Program example)
G01 G90 X200. Y150. F200 ;
Start point
Y axis
Format
G01 _ F_ ;
F : Feedrate
24
B–62622EN/02 NC FUCNTION 3. INTERPOLATION FUNCTIONS
G03
G02
Xp
G17
Feed rate of the tangential direction takes the speed specified by the F
code. Planes to perform circular interpolation is specified by G17.
Format
Arc on the Xp-Yp plane
G02 R_
G17 Xp_ Yp_ F_ ;
G03 I_ J_
I_. J_:Distance of the X, Y axes from the start point to the center of the
circle
R:Arc radius (For an arc having a central angle of 180° or greater, specify
an R value with a minus sign. A complete circumference cannot be speci-
fied.)
(x, y)
Y
X Start
i point
j
Center
25
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02
4 FEED FUNCTIONS
26
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS
Notes
The above feed rates are limits according to the NC’s
interpolation capacity when the high-resolution detection
interface is equipped. When the whole system is
considered, there are also limits according to the servo
system. For details, refer to Appendix 1.
27
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02
4.2 Feed rates of linear interpolation (G01), and circular interpolation (G02,
G03) are commanded with numbers after the F code.
CUTTING FEED RATE
4.2.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
Notes
The above feed rates are limits according to the NC’s
interpolation capacity when the high-revolution detection
interface is equipped. When the whole system is
considered, there are also limits according to the servo
system. For details, refer to Appendix 1.
28
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS
4.3
OVERRIDE
4.3.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%)
F1 100% 100%
F2 75% 100%
F3 50% 50%
F4 25% 50%
An override can be applied to the rapid traverse rate by the switch on the
machine operator’s panel as well as by F1-digit command in automatic
operation. Either rapid traverse override being set by the switch or the
rapid traverse override being set by F1-digit command, whichever lower,
becomes effective.
29
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02
Rapid traverse
FR : Rapid traverse
FR TR : Acceleration/
deceleration time
constant
0
Time
TR TR
0
Time
TC TC
FL
0
Time
TJ TJ
30
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS
4.4.1 For rapid traverse, the rapid traverse feedrates, time constants, and servo
Switching Rapid loop gains can be switched according to the positioning distance set up
by a parameter for each axis. Use of this function can improve positioning
Traverse Feedrates, accuracy.
Time Constants, and/or X- and Y-axes : Rapid traverse feedrates, time constants, and/or servo
Servo Loop Gains loop gains are switched according to the positioning
According to the distance (up to 7 steps).
Positioning Distance Servo loop gains for rapid traverse and cutting feed
are switched
T-axis : Rapid traverse time constant and servo loop gains are
switched according to the positioning angle (up to 3
steps).
C-axis : Rapid traverse feedrates and time constants are
switched according to the positioning angle (up to 3
steps).
4.4.2 For automatic rapid traverse, positioning along the X- and Y-axes can be
Constant-positioning- performed exactly in the specified time regardless of the positioning
distance. Use of this function for nibbling can smooth punching
time Control regardless of what the nibbling pitch is, because positioning can be done
exactly in the constant time. (2 steps)
31
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02
4.5
LINEAR
ACCELERATION/ Speed
DECELERATION
AFTER CUTTING
FEED
INTERPOLATION
Time
TC TC
32
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS
Interpolation Acceleration/
f (pulse distribution) f deceleration control
Servo
control Motor
t t
TC
Linear acceleration/
deceleration after cutting
feed interpolation
Interpolation
f (pulse distribution) f
Servo
control Motor
t t
TC
Linear acceleration/
deceleration before
cutting feed interpolation
Acceleration/decel- Servo
eration applied to control Motor
feedrate command t
TC
33
4. FEED FUNCTIONS NC FUNCTION B–62622EN/02
4.7 Whether to perform in-position check between cutting feed blocks during
automatic operation is specified by an input signal.
ERROR DETECTION While the transition from a block to block is made during cutting feed
operation, some rounding is generally produced on the workpiece. This
is due to delay in acceleration/deceleration or the servo. If the in-position
check is performed, the next block is not executed until no delay is
observed in acceleration/deceleration and the servo. This can eliminate
the rounding.
Notes
1 Before and after a block for positioning, the in-position
check is always performed regardless of the error detection
signal state.
2 The in-position check may involve checking for the delay in
acceleration/deceleration only. The check may also involve
checking whether the delay (error) in the servo is within an
allowable range. A parameter is used to specify whether to
select only the former check item or both the former and
latter check items.
3 Generally, the error detection signal should be turned on
and off using an appropriate function so as to specify in the
program whether the in-position check is to be performed.
34
B–62622EN/02 NC FUCNTION 4. FEED FUNCTIONS
4.8 Move command in blocks commanded with G09 decelerates at the end
point, and in–position check is performed. G09 command is not
EXACT STOP (G09) necessary for deceleration at the end point for positioning (G00) and
in–position check is also done automatically. This function is used when
sharp edges are required for workpiece corners in cutting feed.
4.10 When G64 is commanded, deceleration at the end point of each block
thereafter is not performed and cutting goes on to the next block. This
CUTTING MODE (G64) command is valid till G61 (exact stop mode) or G62 (automatic corner
override) is commanded.
4.11 When G62 is commanded during cutter compensation, cutting feed rate
is automatically overridden at corner. The cutting quantity per unit time
AUTOMATIC CORNER of the corner is thus controlled not to increase. This G62 is valid till G61
OVERRIDE (G62) (exact stop mode) or G64 (cutting mode) is commanded.
4.12 With the G04 command, shifting to the next block can be delayed for the
commanded minutes.
DWELL (G04)
Format
Per second dwell
G04 P_ ;
X_
P_ or X_ : Dwell time commanded in seconds (0.001-99999.999 sec)
35
5. REFERENCE POSITION NC FUNCTION B–62622EN/02
5 REFERENCE POSITION
36
B–62622EN/02 NC FUCNTION 5. REFERENCE POSITION
5.1
MANUAL
REFERENCE
POSITION RETURN
5.1.2 This function moves the machine to around the reference position set for
Setting the Reference each axis in the manual continuous feed mode. Then it sets the reference
position for the machine in the reference position return mode without the
Position without Dogs deceleration signal for reference position return. With this function, the
machine reference position can be set at a given position without the
deceleration signal for reference position return.
Explanations
Setting the reference 1 Place the machine in the manual continuous feed mode, and perform
position positioning to a position near but not exceeding the reference position
from the position indicated by parameter No. 1006#ZMIx.
2 Enter the reference position return mode, then input the feed axis
direction select signal (+) or (–) for the axis.
3 Positioning is made at the grid point located nearest to the current
point. This point is recorded as the reference position. If the
absolute-position detector is provided, the set reference position is
retained after the power is turned off. In this case, when the power is
turned on again, there is no need for setting the reference position
again.
Reference position 1 After the reference position is set, when the feed axis select signal (+)
return or (–) is input for the axis in the reference position return mode,
reference position return operation is performed in rapid traverse
regardless of which signal (+) or (–) is input.
37
5. REFERENCE POSITION NC FUNCTION B–62622EN/02
5.2
AUTOMATIC
REFERENCE
POSITION RETURN
Return to reference With the G28 command, the commanded axis is positioned to the
position (G28) reference position. After positioning, the reference position return end
lamp lights. If G28 was commanded when reference position return is not
performed after power on, reference position return is done in the same
sequence as the manual reference position return.
G28 ;
38
B–62622EN/02 NC FUCNTION 6. COORDINATE SYSTEMS
6 COORDINATE SYSTEMS
By teaching the CNC the position the tool is to arrive, the CNC moves
the tool to that position. The position is specified using coordinates on a
certain coordinate system.
There are three types of coordinate systems.
Machine coordinate system
Workpiece coordinate system
Local coordinate system
As necessary, one of the above coordinate systems is used for specifying
coordinates for the target position of the tool.
39
6. COORDINATE SYSTEMS NC FUNCTION B–62622EN/02
6.1 Machine coordinate system is a coordinate system set with a zero point
proper to the machine system.
MACHINE A coordinate system in which the reference point becomes the
COORDINATE parameter-preset coordinate value when manual reference point return is
SYSTEM (G53) performed, is set. With G53 command, the machine coordinate system
is selected and the axis is moved in rapid traverse to the position
expressed by the machine coordinates.
Format
G53 _ ;
40
B–62622EN/02 NC FUCNTION 6. COORDINATE SYSTEMS
6.2 A coordinate system in which the zero point is set to a fixed point on the
workpiece, to make programming simple.
WORKPIECE A workpiece coordinate system may be set by using one of the following
COORDINATE methods:
SYSTEM
(1) Using G92
(2) Using G54 to G59
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
41
6. COORDINATE SYSTEMS NC FUNCTION B–62622EN/02
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).
ZOFS2
ZOFS3
ZOFS4
ZOFS1
Workpiece
coordinate 5
(G58)
EXOFS ZOFS5
Machine reference position
Workpiece
coordinate 6
ZOFS6 (G59)
EXOFS : External reference offset value
ZOFS1 to ZOFS6 : Workpiece reference position offset value
42
B–62622EN/02 NC FUCNTION 6. COORDINATE SYSTEMS
6.3 With G52 commanded, the local coordinate system with the commanded
position as zero point can be set. Once the local coordinate system is set,
LOCAL COORDINATE values specified in subsequent move commands are regarded as
SYSTEM SYSTEM coordinate values on that coordinate system. Coordinates once set is
(G52) valid till a new G52 is commanded. This is used when, for example,
programming of a part of the workpiece becomes easier if there is a zero
point besides the workpiece coordinates’ zero point.
(Local coordinate
system)
Workpiece coordi-
nate system 1 (G54) (Local coordinate
system)
Workpiece
G55
G56
zero point G57
offset value G58 Workpiece coordi-
nate system 6 (G59)
Format
G52 _ ;
43
6. COORDINATE SYSTEMS NC FUNCTION B–62622EN/02
6.4 Six workpiece coordinate systems can be set. But, when that is still not
enough, or when workpiece origin offset value must be set by tape or
WORKPIECE ORIGIN changed, this G10 command is used to change workpiece origin offsets.
OFFSET VALUE When G10 is commanded in absolute command (G90), the commanded
CHANGE workpiece origin offsets becomes the new workpiece origin offsets, and
when G10 is commanded in incremental command (G91), the currently
(PROGRAMMABLE
set workpiece origin offsets plus the commanded workpiece origin
DATA INPUT) (G10) offsets becomes the new workpiece offsets.
Format
G10 L2 Pp _ ;
44
B–62622EN/02 NC FUCNTION 6. COORDINATE SYSTEMS
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.
Notes
A parameter is used to specify which axis, X, Y, or Z the
additional axis is parallel to. The move command functions
regardless of the plane selection.
For example, suppose that the following is specified:
G17 Z_ ;
Axis Z does not exist on the XpYp plane. The XY plane is
just selected, and the Z axis is moved regardless of the
plane.
45
7. COORDINATE VALUE AND
DIMENSION NC FUNCTION B–62622EN/02
46
7. COORDINATE VALUE AND
B–62622EN/02 NC FUCNTION DIMENSION
7.1 There are two ways to command travels to the axes; the absolute
command, and the incremental command. In the absolute command,
ABSOLUTE AND coordinate value of the end point is programmed; in the incremental
INCREMENTAL command, move distance of the axis itself is programmed.
PROGRAMMING G90 and G91 are used to command absolute or incremental command.
G90 : Absolute command
(G90, G91)
G91 : Incremental command
Y
End point
70.0
40.0 100.0
47
7. COORDINATE VALUE AND
DIMENSION NC FUNCTION B–62622EN/02
7.2 Conversion of inch and metric input can be commanded by the G code
command.
INCH/METRIC G20 : Inch input
CONVERSION G21 : Metric input
(G20, G21) Whether the output is in inch system or metric system is parameter-set
when the machine is installed.
Command G20, G21 at the head of the program.
Inch/metric conversation can also be done by MDI setting.
The contents of setting data differs depending on whether G20 or G21 is
commanded.
7.3 Numerals can be input with decimal points. Decimal points can be used
basically in numerals with units of distance, speed, and angle. The
DECIMAL POINT position of the decimal point is at the mm, inch, deg position.
INPUT/POCKET Use parameters to select input method; whether to input by pocket
CALCULATOR TYPE calculator type input, or by the former type decimal point input.
DECIMAL
POINT INPUT
Program command Pocket calculator type Former type decimal
decimal point input point input
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:
7.5 The rotation axis roll-over function rounds the absolute coordinate value
and relative coordinate value of a rotation axis to a coordinate value
ROTATION AXIS within one rotation. This prevents coordinate values to overflow.
ROLL-OVER In an incremental command, the specified value is regarded as the amount
FUNCTION of travel.
In an absolute command, the specified value is rounded to within one
rotation. The resulting coordinate value is used as the end point. A
parameter is used to specify whether to determine the move direction by
the sign of the specified value or by the move distance (the shortest move
distance to the end point is selected).
Notes
This function is invalid in T axis and C axis
48
B–62622EN/02 NC FUCNTION 8. PRESS FUNCTIONS
8 PRESS FUNCTIONS
49
8. PRESS FUNCTIONS NC FUNCTION B–62622EN/02
8.1 In blocks which perform positioning (G00) along the X- or Y-axis in rapid
traverse mode, a press start signal is sent to the press after positioning is
ONE-CYCLE PRESS completed, thus enabling punching. Note however that no press start
signal is output in the following cases:
(1) When MDI mode has been selected
(2) When a M-code has been issued
(3) In a block between an M-code to clamp the workpiece and an M-code
to unclamp the workpiece
Notes
Before positioning is completed, a press start signal may be
output depending on parameter settings.
50
B–62622EN/02 NC FUCNTION 8. PRESS FUNCTIONS
8.2 The term nibbling refers to repeated punching without bringing the press
to a halt. A continuous-press-in-process signal is output in nibbling
CONTINUOUS PRESS blocks.
(NIBBLING)
∆θ
θ
+X
r : Radius
: Angle between the line from the origin to the punch start
point and the positive X-axis
: Angle between the line from the origin to the punch start
point and the line from the origin to the punch end point
d : Tool diameter
p : Nibbling pitch
51
8. PRESS FUNCTIONS NC FUNCTION B–62622EN/02
d
ȏ
+X
G02 I___J___
X___Y___ Q ;
G03 R___
52
B–62622EN/02 NC FUCNTION 8. PRESS FUNCTIONS
Q: Pitch
N200G00G90X x1 Y y1 ;
N210M12;
N220G41X x2 Y y2 T02D02 ;
N230G01X x3 Y y3 Q ;
N240X x4 Y y4 ;
N250G03X x5 Y y 5 I J ;
N260G01X x6 Y y 6 ;
N270X x7 Y y7 ;
N280M13;
N290G40G00X x8 Y y8 T03 ;
N240 N260
N230 N270
N250
(x2’, y2’)
(x7’, y7’)
(x7, y7)
N220
N290
(x8, y8)
(x1, y1)
53
8. PRESS FUNCTIONS NC FUNCTION B–62622EN/02
8.4 G70 specifies rapid traverse for positioning. A press start signal is not
output after positioning is completed.
POSITIONING AND Format
NO PRESS START G70IP -- ;
SIGNAL (G70)
8.5 The following parameters can be used to adjust the press start signal
output timing so that punching is smooth.
SETTING UP PRESS
START SIGNAL (1) Punching specification for forming mode
OUTPUT (2) Setting up an upper limit to the positioning offset for press start signal
output
CONDITIONS
(3) Timer setting (early PF) for outputting a press start signal before
positioning is completed
(4) Timer setting for executing the next block before press is completed
8.6 It is possible to inhibit the press start signal from being output.
PRESS ACTIVATION
LOCK
8.7 It is possible to defer the output of the press start signal until the press is
ready to respond.
DEFERRING PRESS
ACTIVATION
8.9 In a block in which press start signal output is specified (except for
nibbling), an external operation signal, rather than the press start signal,
EXTERNAL can be output as required by an external signal. This function can be used
OPERATION for tapping.
FUNCTION
54
B–62622EN/02 NC FUCNTION 9. SPINDLE FUNCTIONS
9 SPINDLE FUNCTIONS
55
9. SPINDLE FUNCTIONS NC FUNCTION B–62622EN/02
9.1 The spindle speed is specified with a 5-digit numeric value following
address S. The 5-digit numeric value is output to the PMC as a 32-bit
S CODE OUTPUT binary code. The code is maintained until another S is specified. The
maximum number of input digits for S can be specified using a parameter.
9.2 If a speed command for the spindle motor is input in a form of [sign +
12-bit binary code], the command is output to the spindle motor according
SPINDLE SPEED to the input.
COMMAND CONTROL
BY THE PMC
56
B–62622EN/02 NC FUCNTION 10. TOOL FUNCTIONS
10 TOOL FUNCTIONS
57
10. TOOL FUNCTIONS NC FUNCTION B–62622EN/02
Notes
1 A program must contain this T-code in a block in which press
is specified for the first time or any preceding block. If a
T-code is not issued, a press start signal will not be output,
and therefore the program will not advance to the next
block.
2 The T-code must be issued in positioning mode (G00).
10.2 The CNC can control the turret axis (T-axis) for tool indexing as specified
by a parameter. This function selects a tool by issuing a T-code and
T-AXIS CONTROL positioning the turret at a tool position specified on the tool registration
menu, where up to 136 tools can be registered. The T-code for T-axis
control consists of one to four digits.
Use of this function can reduce the tool replacement time largely, because
it supersedes tool replacement on the machine side by using T-axis
positioning.
58
B–62622EN/02 NC FUCNTION 10. TOOL FUNCTIONS
10.4 In general, the tool holder of a punch holds one tool (die). To select a tool
the tool holder is first moved to the position at which the tool is changed
MULTIPLE TOOL using the T command (cartridge indexing). Then, at that position, the tool
CONTROL holder is set on the punch holder.
In the case of the multiple-tool system, only the dies in the tool holder are
changed because the tool holder keeps different types of dies (See Fig.
10.4). The multiple-tool system enables the tool holder to change dies
very quickly. Also, many dies can be used to widen the range of
machining applications.
Tool holder
Multiple tools
10.4.1 The pot numbers of a multiple-tool system are specified with T codes
Tool Number consisting of three or four digits, as follows:
T ∆ ∆;
Tool number of the multiple-tool system
Pot number (for specifying a tool holder)
The T codes used for controlling the indexing of the turret (tool holder)
in a CNC are two-digit pot numbers from 00 to 99, including those for a
multiple-tool system as shown above.
The T codes consisting of three or four digits are used to control a
multiple-tool system. The first two digits are the pot numbers of the
multiple-tool system and the last two digits are the tool numbers in the
multiple-tool system.
59
10. TOOL FUNCTIONS NC FUNCTION B–62622EN/02
10.4.2 The tools of a multiple-tool system are selected by turning the C axis. A
Relationship Between tool is selected by placing it at the tool reference position. This position
is parallel to the Y axis and on the center line of the tool holder of a
the Multiple-tool multiple-tool system.
System and the C Axis For each tool in a multiple-tool system, the angle the tool makes with the
tool reference position is set on the tool registered screen. When the T
code of a multiple-tool system is issued, the CNC system sends an internal
command to the C axis, indicating the angle with the tool reference
position corresponding to the selected tool. The CNC system places the
selected tool in the tool reference position.
T1101
+
Parallel
Direction
of rotation
T1104 T1102
–
T1103
T1101= 0.00°
T1102= 90.00°
T1103= 180.00°
T1104= 270.00°
Notes
Setting the angle with the tool reference position to 0 indicates
the tool that is selected when the indexing of the multiple-tool
system is finished.
60
B–62622EN/02 NC FUCNTION 10. TOOL FUNCTIONS
10.4.3 When a multiple-tool system is used, the centers of the dies in the
Tool Compensation multiple-tool system are not at the center of the tool holder. Therefore,
tool compensation is necessary. Tool compensation for tools in a
multiple-tool system works in the direction of the Y axis only. Specify
the distance between the center of the tool holder and each of the tools
when the tool is located in the tool reference position in one of the tool
registered screen. The distance is the compensation value in the direction
of the Y axis.
T1101
T1104 T1102
T1103
61
10. TOOL FUNCTIONS NC FUNCTION B–62622EN/02
10.5 Set the maximum number of punches for each tool, on the CRT screen.
When the number of executed punches for the selected tool exceeds the
TOOL LIFE maximum number of punches for that tool, the tool life reached signal
MANAGEMENT PTLCH is output. This signal is used to issue an alarm on the PMC or
request the operator to change the tool.
The number of executed punches and maximum number of punches can
be set and displayed by using the [TOOL] soft key on the
<OFFSET/SETTING> screen, and the [TOOL LIFE] screen.
62
B–62622EN/02 NC FUCNTION 11. MISCELLANEOUS FUNCTIONS
11 MISCELLANEOUS FUNCTIONS
63
11. MISCELLANEOUS FUNCTIONS NC FUNCTION B–62622EN/02
Notes
1 These M-code operations must be specified within a single
block.
2 These M-code operations are specified by parameters.
64
B–62622EN/02 NC FUCNTION 11. MISCELLANEOUS FUNCTIONS
Notes
1 The maximum input value of the first M code is 99999999,
while the maximum input values of the second and third M
codes are 65535.
2 A strobe signal is provided for each of the first to third M
codes (MF, MF2, and MF3).
When all the operations for the first to third M codes are
completed, completion signal FIN is output.
Notes
1 When this function is used, the AB macro function cannot
be used.
2 When this function is used, the B–axis cannot be used.
65
11. MISCELLANEOUS FUNCTIONS NC FUNCTION B–62622EN/02
M10 M20
M command Mxx
code signal
Strobe signal MF
M function completion
signal MFIN
M10 M20
M command Mxx
code signal
Strobe signal MF
66
B–62622EN/02 NC FUCNTION 11. MISCELLANEOUS FUNCTIONS
Notes
1 Either the conventional system or the high-speed system
can be selected for communication of strobe signal and
completion signal.
2 In the conventional system, only one completion signal is
available for all functions of M/S/T/B. However, in the high-
speed system, one completion signal is available for each
of M/S/T/B functions.
67
12. PROGRAM CONFIGURATION NC FUNCTION B–62622EN/02
12 PROGRAM CONFIGURATION
68
B–62622EN/02 NC FUCNTION 12. PROGRAM CONFIGURATION
12.2 A program name can be given to the program to distinguish the program
from other programs when displaying all the registered program on a
PROGRAM NAME screen. Register the name between the control-out and the control-in.
Any codes usable in the CNC can be used for the program name.
The program name is displayed with the program number in the directory
display of registered programs. Note that the program name displayed is
within 31 characters.
Example) 01234 (PROGRAM FOR ATC);
12.3 A program is divided into the main program and the sub program. The
CNC normally operates according to the main program, but when a
MAIN PROGRAM command calling a sub program is encountered in the main program,
control is passed to the sub program. When a command indicating to
return to the main program is encountered in the sub program, control is
returned to the main program.
69
12. PROGRAM CONFIGURATION NC FUNCTION B–62622EN/02
Main program Sub program Sub program Sub program Sub program
O0001 ; O1000 ; O2000 ; O3000 ; O4000 ;
Format
70
B–62622EN/02 NC FUCNTION 12. PROGRAM CONFIGURATION
12.5 When memory is used, a program cataloged in the floppy cassette can be
called and executed as a sub program.
EXTERNAL MEMORY A sub program is called from the floppy cassette when the program using
AND SUB PROGRAM the memory executes the following block.
CALLING FUNCTION
Format
Sub program calling
M198 P_ L_ ;
P : Program number or file number of the sub program to be called
L : Number of times that the sub program is repeated
Notes
1 Whether address P specifies the file number or program
number is selected by a parameter.
2 In the program called by M198, no more sub program can
be called by M198.
12.6 Sequence number can be given in a 5-digit number after the address N at
the head of the program block.
SEQUENCE NUMBER The sequence number of the program under execution is always displayed
on the CRT screen. The sequence number can also be searched in the
program by the sequence number search function.
12.7 Either the EIA or the ISO code can be used as tape code. The input
program code is distinguished with the first end of block code (EIA: CR,
TAPE CODES ISO: LF). See the List of Tape Codes (Appendix. C) for tape codes used.
71
12. PROGRAM CONFIGURATION NC FUNCTION B–62622EN/02
12.8 The following table shows the basic addresses and the range of values to
be specified. The range, however, is that of CNC. Note that the range of
BASIC ADDRESSES the machine is different from this.
AND COMMAND
VALUE RANGE
Basic Addresses and Function Address Metric input Inch input
Range of Values to Be
Specified (M series) Program number O (*1) 1–9999 1–9999
Preparatory func-
G 0–99 0–99
tion
Feed IS–B
per min- 0.01–9600.00inch/
F 1–240000mm/min
ute, Set- min
ting unit IS–A
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
U/V/W macro
U, V, W 1–99 1–99
function
Notes
1 ”:” can be used for 0 in ISO Code.
2 Coordinates maximum command value for inch input/metric
output is limited to: ±39370.078 inch / ±3937.0078 inch /
±393.70078 inch.
72
B–62622EN/02 NC FUCNTION 12. PROGRAM CONFIGURATION
12.9 The variable block word address format with decimal point is adopted as
tape format. See List of Tape Format in Appendix C for details on tape
TAPE FORMAT formats.
12.10 Label skip function is valid in the following cases, and ”LSK” is
displayed on the CRT screen.
LABEL SKIP When power is put on.
When the NC is reset.
When label skip function is in valid, all codes to the first encountered end
of block (EOB) code are ignored.
The ignored part is called ”Reader part”, and section after the first end of
block (EOB) code, ”significant information”.
12.11 Information between the control-in and the control-out are regarded as
notes and are ignored.
CONTROL-IN/ The reset codes (ISO code: %, EIA code: ER) cannot be used in this part.
CONTROL-OUT The ignored part is called ”Notes”.
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.14 A parity check is made on the number of punch holes for each input tape
character. If the parity does not match, an alarm occurs (TH check). A
TAPE HORIZONTAL parity check is made on each input data block. If the number of characters
(TH) PARITY CHECK in one block (from the code next to EOB to another EOB) is odd, an alarm
AND TAPE VERTICAL occurs (TV check). The TH or TV check cannot be made on the area
skipped by the label skip function. The TH check is not made on the
(TV) PARITY CHECK
command field, but the characters in it is counted for the TV check. The
TV check function is validated or invalidated according to the value set
on the CRT/MDI panel.
73
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
74
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING
Notes
M code and pattern function can not be specified in the
same block.
13.1.1
Bolt Hole Circle (G26)
Format
G26I r J θ K n ;
#I
r
θ
#n
13.1.2
Line at Angle (G76)
Format
G76I d J θ K n ;
#n
d
#I
θ
75
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
13.1.3
Arc (G77)
Format
G77I r J θ P ∆θ K n ;
#n
r
∆θ
#I
θ
13.1.4
Grid (G78, G79)
Format
G78I dx P nx J dy K ny ;
G79I dx P nx J dy K ny ;
G78 specifies punching from X-axis direction.
G79 specifies punching from X-axis direction.
#ny
dy
#Iy
#Ix dx #nx
76
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING
13.1.5
Share Proof (G86)
Format
G86I ȏ J q P W1 Q W2 ;
W1 ȏ θ
W2
13.1.6
Square (G87)
Format
G87I ȏ x J ȏ y P W1 Q W2 ;
W1
W2
ȏy
ȏx
77
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
13.1.7
Radius (G88)
Format
G88I ȏ x J θ K ∆ θ P d Q p ;
r
∆θ
θ
13.1.8
Cut at Angle (G89)
Format
G89I ȏ J θ P d Q p ;
p
ȏ
θ
78
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING
13.2
BASE POINT Program 1
G90X100Y100 ;
COMMAND (G72) G70X200Y200 ;
G26I50JOK4 ;
Program 2
G90X100Y100 ;
G70X200Y200 ;
G26I50J0K4 ;
G72X- Y- ;
An under-mentioned coordinates values can be instructed by an
above-mentioned command.
(1) Center point of Bolt hole circle (G26), Arc (G77), Circular nibblint
(G68), Radius (G88)
(2) Starting point of the line at angle (G76), grid (G78, G79), linear
nibbling (G69), cut at angle (G89), share proof (G86), and square
(G87)
G72 only designates the pattern base point; it does not move a tool.
Notes
M code, T code, and S code can not be specified in the same
block as G72.
79
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
13.3
STORAGE AND CALL
BY ADDRESS A/B
G72X100.Y100. ;
A2G26I50.J0K4 ;² Designated for storage after execution
G72X200.Y100. ;
(150, 200) (250, 200)
B2 ; ² Recall of pattern A2
G72X250.Y200. ;
B2 ;
G72X150.Y200. ;
B2 ;
When it is desired to repeatedly use a pattern with the same figure among
the pattern functions, it is possible to store the pattern with a number and
access it whenever necessary.
(1) Storage A1 - A5
A pattern function is executed and stored when address A (1 to 5) is
specified before a G code of pattern function.
A2G26I50.J04K;G26I50.J04K is stored in storage A2 of the
patternfunciton.
(2) Call B1 - B5
The pattern function memorized in address A can be called by
address B (1 to 5) command.
B2; - G26I50.J0K4 is called and executed.
Blocks (up to 192 characters per block) can be stored and called
except for the pattern function.
80
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING
13.4
AUTOMATIC
Y
REPOSITIONING
(G75)
X
Work clamp
Work holder
G75X- ;
A series of the following commands can be given, using G75X_ ;
command.
(1) M10 ; : Work clamp
(2) G70G91YyR; : Escape of Y axis
(3) G70G91X-X ; : Shift of X axis
(4) G70G91Y-yR ; : Return of Y aixs
(5) M11 ; : Work unclamp
yR, M10, and M11 can be set by parameters. The shift amount of the X
and Y axis in G75 is not added to the absolute coordinate value.
81
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
13.5
U/V/W MACRO
FUNCTION
Program
:
:
:
:
:
:
:
:
The macro function can register a plurality of blocks as one macro and call
them whenever necessary.
13.5.1 When 2-digit figures 01 to 89 following address word U are added prior
Storage of Macro (U, V to the instructions of plural blocks to be stored and the same figure is used
for the last figure following address word W, plural blocks instructed for
Command) that period are stored in memory.
The 2-digit figure following address U or V is called the macro number.
When macro number is 01 - 59, the blocks between U and V are
memorized accompanying the execution of the command.
On the contrary, when the Macro No. is 60 to 89, the command is not
executed and only the storage operation is performed. It is possible to
normally give instructions to all blocks inserted between U and V except
instructions for Macro storage by other Macro Nos.
82
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING
13.5.4 The number of characters which can be stored for each macro having a
Storage Capacity of macro number between 01 to 89 can be specified with a parameter (up to
2700 characters).
Macro
13.5.5 Plural macros can be stored as one macro by using the macro number
Storage and Call of 90-99 and can call it.
The number of macros which can be stored on each of the macro number
Plural Macro (Macro 90-99 is up to 15 or less.
No.90 to 99)
83
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
13.6
MULTIPLE-PIECE
MACHINING
X
Cutting margin
Material
plate
ȏy
Cutting
margin B
ȏx
13.6
84
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING
13.6.1 Specify a command prior to the punching command for a single plate.
Base Point Command
of Multi-piece
Machining
Format
G98X xb Y yb I lx J ly P nx K ny ;
Notes
Product board is not included in the number.
After a G98 command, specify the punching command for a single plate
at the lower left ( in the figure) which performs the multi-piece
machining function operation at grid intervals, using a macro function
(storing a machining command between U and V commands).
Command method :
G92X_Y_ ;
G98X_Y_I_J_P_K_ ;
85
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
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_ ;
13.6.3 The processing mehtod can be selected by the parameter setting from the
Setting of Processing external signal MDI when the processing command tape of the
multi-piece machining is used for machining.
Method of Multi-piece
Machining Setting 0 : Command tape for the multi-piece machining is not used.
1 : Trial punching of the multi-piece machining
2 : Remainder punching after the trial punching of the
multi-piece machining
3 : All blank punching of multi-piece machining
86
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING
Q3 ³ ² Q4
H G F E
A B C D
Q1 ³ ² Q2
Examples G98X_Y_I_J_P3K1 ;
U90 ;
:
V90 ;
G73W90Q_P5 ;
The above program performs machining as follows:
(1) Partial machining
(a) Q1 command : Sequence of E→F→G→H
(b) Q2 command : Sequence of H→G→F→E
(c) Q3 command : Sequence of D→C→B
(d) Q4 command : Sequence of B→C→D
(2) Total machining
(a) Q1 command : Sequence of E→F→G→H
(b) Q2 command : Sequence of H→G→F→E
(c) Q3 command : Sequence of D→C→B→A
(d) Q4 command : Sequence of A→B→C→D
87
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
13.7 The hole position gap accompanied bending is compensated and the
drilling is performed.
BENDING
COMPENSATION
(G38, G39)
Program format
Bending compensation for X axis direction
G38I X1 J X2 K X3 P X4 Q X5 R α ;
Bending compensation for Y axis direction
G39I Y1 J Y2 K Y3 P Y4 Q Y5 R β ;
X2
X3
X4
X5
88
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING
13.8 Workpieces are punched out with a start point specified by G72 or the
current tool position as a start point and with an end point (x, y) using a
LINEAR PUNCHING tool having dimensions (dx, dy).
COMMAND G45
G45X x Y y P dx Q dy R r D j ;
(200, 200)
20
(10, 50)
10
89
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
(2) G72X10.Y10.;
G45X100.Y10.P20.Q10.(R0) ;
10
20
(10, 10) (100, 10)
10
20
(10, 10) (100, 10)
10
20
(10, 10) (100, 10)
5
(10, 10) (100, 10)
G72X10.Y10. ;
G45X100.Y10.P20.Q10.R1 D-5. ;
90
13. FUNCTION TO SIMPLIFY
B–62622EN/02 NC FUCNTION PROGRAMMING
5
(10, 10) (100, 10)
91
13. FUNCTION TO SIMPLIFY
PROGRAMMING NC FUNCTION B–62622EN/02
13.9 Workpieces are punched out with a start point specified by G72 or the
current tool position as a start point and with an end point (x, y) on a circle
CIRCULAR with a radius of r in pitches of q, using a tool with a diameter of d.
PUNCHING
G46
COMMANDS G46 AND Xx Yy Rr Pd Qq ;
G47 G47
Notes
All units of measures are as entered.
Examples G72G90X100.Y100. ;
G46X200.Y200.R100.P-20.Q10. ;
G47X100.Y100.R-100.P20.Q10. ;
r=100
(100., 100.)
92
B–62622EN/02 NC FUCNTION 14. TOOL COMPENSATION FUNCTION
93
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–62622EN/02
14.1 Tool position compensation along the X- and Y-axes can be effected for
tools specified by a code consisting of character T and one to four digits
TOOL OFFSET that follow it. The amount of compensation is specified in the least
COMPENSATION command increment defined on the tool registration menu during
(T SEIRES) installation. (Up to 136 tools, values: Positive number consisting of eight
digits)
Notes
If an inch/metric switch-over option is specified, and the
measurement unit used in the machine is different from that
used in the input system, a maximum possible error is the
sum of half the least input increment and half the least
command increment. This error will not be accumulated.
94
B–62622EN/02 NC FUCNTION 14. TOOL COMPENSATION FUNCTION
14.3 With this function, the programmed tool path can be offset when actually
machining, for value of the tool radius set in the NC.
CUTTER By measuring cutting radius for actual cutting, and setting the value in the
COMPENSATION C NC as offset value, the tool can machine the programmed pattern, via the
(G40 - G42) offset path. There is no need to change the program even when tool radius
changes; just change the offset value.
Programmed path
Tool center path
Cross point
Cross points of line and line, arc and arc, line and arc is automatically
calculated in the NC to obtain offset actual tool path. So, programming
becomes simple, because it is only necessary to program the machining
pattern.
Cutter compensation and G40 : Cutter radius compensation cancel
its cancellation G41 : Cutter radius compensation left
(G40, G41, G42) G42 : Cutter radius compensation right
G41 and G42 are commands for cutter radius compensation mode. The
cutter is offset to the left forward in the cutter movement in G42 and right
forward in G42. Cutter radius compensation is cancelled with G40.
Assignment of offset The offset amount can be set in the cutter radius compensation memory.
amount (D code) When the D code is commanded as an offset number, corresponding offset
amount in the tool compensation memory is applied as the offset amount
for cutter radius compensation.
Interference check Tool overcutting is called ’interference’. This function checks whether
interference occurs, if cutter radius compensation is performed.
Overcutting Overcutting
95
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–62622EN/02
96
B–62622EN/02 NC FUCNTION 14. TOOL COMPENSATION FUNCTION
14.5
NUMBER OF TOOL
OFFSETS
14.5.1
Number of Tool 32 tool offsets (standard)
Offsets Offset numbers (D code) 0 - 32 can be used.
D00 - D32
64 tool offsets (optional)
Offset numbers (D code) 0 - 64 can be used.
D00 - D64
99 tool offsets (optional)
Offset numbers (D code) 0 - 99 can be used.
D00 - D99
200 tool offsets (optional)
Offset numbers (D code) 0 - 200 can be used.
D00 - D200
400 tool offsets (optional)
Offset numbers (D code) 0 - 400 can be used.
D00 - D400
97
14. TOOL COMPENSATION FUNCTION NC FUNCTION B–62622EN/02
14.6 Tool offset amount can be set/changed with the G10 command.
When G10 is commanded in absolute input (G90), the commanded offset
CHANGING OF TOOL amount becomes the new tool offset amount. When G10 is commanded
OFFSET AMOUNT in incremental input (G91), the current tool offset amount plus the
(PROGRAMMABLE commanded offset amount is the new tool offset amount.
DATA INPUT) (G10)
Format
Tool compensation
memory A
G10 L11 P_ R_ ;
P_ : Offset number
R_ : Tool offset amount
98
15. ACCURACY COMPENSATION
B–62622EN/02 NC FUCNTION FUNCTION
99
15. ACCURACY COMPENSATION
FUNCTION NC FUNCTION B–62622EN/02
15.1 The errors caused by machine position, as pitch error of the feed screw,
can be compensated. This function is for better machining precision.
STORED PITCH As the offset data are stored in the memory as parameters, compensations
ERROR of dogs and settings can be omitted. Offset intervals are set constant by
COMPENSATION parameters (per axis). Total offset points are:
Total offset points = 128 × controlled axes.
Optional distribution to each axis can be done by parameter setting. As
each position:
Offset pulse = (-7 to +7) x (magnification)
Where Offset pulse unit is the same as detection unit
Magnification: 0 to 100 times, set by parameter (per axis)
15.2 This function is used to compensate lost motions proper to the machine
system. Offset amounts come in a range of 0 to ±9999 pulses per axis,
BACKLASH and is set as parameters in detection unit.
COMPENSATION
100
15. ACCURACY COMPENSATION
B–62622EN/02 NC FUCNTION FUNCTION
15.3 Since different backlash compensation values can be used for cutting feed
and rapid traverse, the machining precision is improved.
BACKLASH The following table shows backlash amounts according to the feedrate
COMPENSATION and movement direction. In the table, the backlash compensation amount
SPECIFIC TO RAPID for cutting feed is A, and that for rapid traverse is B. A and B are set in
parameters.
TRAVERSE AND
CUTTING FEED Cutting Rapid Rapid Cutting
feed traverse traverse feed
↓ ↓ ↓ ↓
Cutting Rapid Cutting Rapid
feed traverse feed traverse
*1) α=(A+B) / 2
*2) Sings (+ and –) indicate directions.
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
A
ÙÙÙÙÙÙÙ
Cutting feed
ÙÙÙÙÙÙÙ
ÙÙÙÙÙÙÙ
Stop in rapid traverse
ÙÙÙÙÙÙÙ
α
ÙÙÙÙÙÙÙ α
ÙÙÙÙÙÙÙ
B
ÙÙÙÙÙÙÙ
Rapid traverse
ÙÙÙÙÙÙÙ
α : Excess of machine movement
ÙÙÙÙÙÙÙ
101
15. ACCURACY COMPENSATION
FUNCTION NC FUNCTION B–62622EN/02
15.4 Parameters and pitch errors data can be set by tape commands. therefore,
following uses can be done example.
PROGRAMMABLE
Parameter setting such as pitch errors compensation data, etc. when
PARAMETER ENTRY the attachment is replaced.
(G10, G11) Parameters such as max. cutting speed and cutting feed time constant
can be changed according to the machining conditions.
Format
G10 L50 ;
N_ P_ ;
N_ P_ R_ ;
:
N_ R_ ;
G11 ;
15.5 C-axis backlash compensation can be effected for die-indexable tools for
individual indexes. Changing the backlash compensation value by index
C-AXIS BACKLASH enables high-precision machining. The amount of compensation and the
COMPENSATION FOR tool number for the die-indexable tool are specified by parameters. (Up
INDIVIDUAL INDEXES to 20 tools with tool numbers of 1 to 9999)
(OPTION)
102
16. COORDINATE SYSTEM
B–62622EN/02 NC FUCNTION CONVERSION
103
16. COORDINATE SYSTEM
CONVERSION NC FUNCTION B–62622EN/02
16.1 Patterns specified by the program can be rotated. For example, by using
this function, when the attached workpiece comes in a position which is
COORDINATE somewhat rotated from the machine coordinates, the position can be
SYSTEM ROTATION compensated by the rotation instruction.
(G68, G69) If a pattern is similar to that made by rotating a programmed figure, the
program for the pattern can be created by calling the program for the figure
as a sub program, and rotating the coordinates in the program. This
function reduces the programming time and program length.
Rotation angle
Rotation
center
X
0
Format
G84 X_ Y_ R_ ;
104
16. COORDINATE SYSTEM
B–62622EN/02 NC FUCNTION CONVERSION
Format
When each axis is scaling of the same magnification
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
Scaling
down to 1/2
105
16. COORDINATE SYSTEM
CONVERSION NC FUNCTION B–62622EN/02
A scaling magnification can be set for each axis or for all axes in common.
A parameter can specify whether it should be set for each axis or for all
axes.
Format
Scaling of each axis (Mirror image)
Y axis
d Profile after
scaling
0
X axis
a
b
106
B–62622EN/02 NC FUCNTION 17. MEASUREMENT FUNCTIONS
17 MEASUREMENT FUNCTIONS
107
17. MEASUREMENT FUNCTIONS NC FUNCTION B–62622EN/02
100.0
Actual movement
With no skip signal input
Coordinate value when skip signal is on, is stored in the system variables
#5061 - #5066 of the customer macro, so this function can also be read
with the customer macro function.
#5061 : X axis coordinate value
#5062 : Y axis coordinate value
#5063 : Fourth axis coordinate value
#5064 : Fifth axis coordinate value
#5065 : Sixth axis coordinate value
As the skip function can be used when move amount is not clear, this
function can be used for:
Tool measurement with tactile sensor.
108
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO
18 CUSTOM MACRO
109
18. CUSTOM MACRO NC FUNCTION B–62622EN/02
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.
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
110
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO
Format
G65 Pp Rr Aa Bb Kk ;
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
Operation between Various operation can be done between variables and constants.
variables The following operands, and functions can be used:
+ (sum), – (difference), * (product), / (quotient), OR (logical sum), XOR
(exclusive logical sum), AND (logical product), SIN (sine), COS
(cosine), TAN (tangent), ATAN (arc tangent), SQRT (square roots), ABS
(absolute value), BIN (conversion from BCD to binary), BCD
(conversion from binary to BCD), FIX (truncation below decimal point),
FUP (raise fractions below decimal point), ROUND (round)
Example : #5 = SIN [[#2 + #4] * 3.14 + #4] * ABS (#10)
Control command Program flow in the custom macro body is controlled by the following
command.
If [<conditional expression>]GOTO n (n = sequence number)
When <conditional expression> is satisfied, the next execution is done
from block with sequence number n.
When <conditional expression> is not satisfied, the next block is
executed.
When the [<IF conditional expression>] is committed, it executes
from block with n unconditionally.
The following <conditional expressions> are available:
#j EQ #k whether #j = #k
#j NE #k whether #j = #k
#j GT #k whether #j > #k
#j LT #k whether #j < #k
#j GE #k whether #j y #k
#j LE #k whether #j x #k
111
18. CUSTOM MACRO NC FUNCTION B–62622EN/02
Repeated 10 times.
#120=#120+1 ;
END
Format of custom macro The format is the same as the sub program.
body
0 Macro number ;
M99 ;
Custom macro
instruction Simple call
G65 P (macro number) L (times to repeat)
<argument assignment> ;
A value is set to a variable by <argument assignment>.
Write the actual value after the address.
Example A5.0E3.2M13.4
There is a regulation on which address (A - Z) corresponds to which
variable number.
Modal call A
G66 P (macro number) L (times to repeat)
<argument assignment> ;
Each time a move command is executed, the specified custom macro
body is called. This can be canceled by G67.
This function is useful when drilling cycles are programmed as custom
macro bodies.
112
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO
113
18. CUSTOM MACRO NC FUNCTION B–62622EN/02
Notes
The range of common variables can be enlarged to #100 to
#199, and #500 to #999 by the option. See Section 18.2.
- System variables
A variable with a certain variable number has a certain value. If the
variable number is changed, the certain value is also changed.
The certain value are the following:
Z 16 points DI (for read only)
Z 48 points DO (for output only)
Z Tool offset amount, work zero point offset amount
Z Position information (actual position, skip position, block end
position, etc.)
Z Modal information (F code, G code for each group, etc.)
Z Alarm message (Set alarm number and alarm message, and the NC
is set in an alarm status. The alarm number and message is
displayed on the CRT.)
114
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO
Z A date (year, month, day) and time (hour, minute, second) are
indicated.
Z Clock (Time can be known. A time can also be preset.)
Z Single block stop, Miscellaneous function end wait hold
Z Feed hold, Feed rate override, Exact stop inhibition
ZThe number of machining parts is indicated. It can be preset.
D External output Value of variables or characters can be output to external devices via the
commands reader/puncher interface with custom macro command. Results in
measurement is output using custom macro.
D Limitations
- Usable variables
See 6) above.
- Usable variable values
Maximum : ±1047
Minimum : ±10-29
- Constants usable in <expression>
Maximum : ±99999999
Minimum : ±0.0000001
Decimal point allowed
- Arithmetic precision
8-digit decimal number
- Macro call nesting
Maximum 4 folds.
- Repeated ID numbers
1-3
- ( ) nesting
Maximum 5 folds.
- Sub program call nesting
8 folds (including macro call nesting)
115
18. CUSTOM MACRO NC FUNCTION B–62622EN/02
18.2 The range of common variables can be enlarged to #100 to #199, and #500
to #999 by the option.
INCREASED CUSTOM
MACRO COMMON Notes
VARIABLES The tape storage length is shortened by 8.5 m.
116
B–62622EN/02 NC FUCNTION 18. CUSTOM MACRO
18.4 There are two types of NC programs; those which, once created, are
scarcely changed, and those which are changed for each machining type.
MACRO EXECUTER The former are programs created by the custom macro, and the latter are
FUNCTION machining programs. If programs of these types are executed
simultaneously, a battery may run out or the custom macro may be
destroyed by error operation.
Such problems can be solved by this function. The custom macro created
by a machine tool builder is converted to an execute-form program, be
cataloged in the ROM module, and be executed.
Features
Since the program is cataloged after converted to an execute-form
program, the execution speed is high. The machining time is then
reduced, and the precision is improved.
Since the program is cataloged in ROM, there is no problem of battery
extinction or custom macro destruction by error operation. The
reliability is improved.
Since the cataloged program is not displayed on a program screen, the
know-how of the machine tool builder is protected.
Since the custom macro is cataloged in ROM, the program edit
memory can be used efficiently.
The user can call the macro easily without knowing the cataloged
program. A custom macro can be created and executed in the program
edit memory as usual.
Before the program is cataloged in ROM, the operation can be checked
by using the RAM module.
An original screen can be created by using the graphic display or
selecting screens by the soft key. The machine tool builder can extend
the control function by using such functions as machining program
creation and edit control, reader/punch interface control, and PMC
data read/write functions.
Notes
When the macro executor is attached, the order-made
macro cannot be specified.
117
18. CUSTOM MACRO NC FUNCTION B–62622EN/02
18.5 FANUC Series 16 provides many features, such as custom macros, macro
executors/compilers, and MMCs for adding the machine tool builder’s
C LANGUAGE unique functions to CNC software. In particular, the conversational
EXECUTER macro function of macro executors/compilers has been used by many
FUNCTION machine tool builders to customize CNC screens and include their own
unique conversational operations in CNCs. As with the conversational
macro function, the C language executor function is used to customize
screens and include unique operations. Application programs for display
and operation can be created in standard C language, in the same way as
programs are made for normal personal computers. A program compiled
on a personal computer is transferred and stored in flash ROM in the CNC
via a memory card. The program is read into memory upon activation of
the CNC, and executed by the C language executor.
Features
Low–cost customization No special additional hardware is needed to run the C language executor
and application programs on FANUC Series 16–PB(*1). CRT/MDI units
from the 14–inch CRT/full–keyboard to the 9–inch CRT/small keyboard
can be used. User applications can be included in the current 16–PB
system.
Notes
The flash ROM/DRAM capacity may have to be increased.
Integration of CNC An application program created by the machine tool builder is executed
software and as one task of the CNC software. The application program can display
applications its own screens in place of existing CNC screens. In addition, the
application program can read and write CNC system data via libraries
provided by the C language executor. This enables operation of the
application program to be integrated with CNC software.
Using the C language The C language executor can be used with the 16–PB macro executor. Not
executor with the macro only executable macros, but also conversational macros can be used
executor together. The screen display portion of a macro program already created
by the machine tool builder can be replaced with a program coded in C.
This can prevent existing software resources from becoming useless.
118
19. FUNCTIONS FOR HIGH SPEED
B–62622EN/02 NC FUCNTION CUTTING
119
19. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–62622EN/02
Block B +Y
Block A
+X
Speed
X axis Y axis
ÇÇÇ
ÇÇ
ÇÇÇÇ
Speed set by parameter
ÇÇÇ
ÇÇ
ÇÇÇÇ
ÇÇÇ
t Time
120
19. FUNCTIONS FOR HIGH SPEED
B–62622EN/02 NC FUCNTION CUTTING
Y ∆r
Command path
Actual path
2
r + 1 (T 1 ) T 2 ) Vr
2 2
. . . . . . . (1)
2
When performing the actual machining, the actual arc machining radius
(r) and tolerance (delta r) are given, therefore, the maximum permissible
speed v (mm/min.) can be given by the formula-(1).
”Feedrate clamp by circular radius” is such function that the circular
cutting feed is automatically clamped when the feedrate designated may
exceed the permissible tolerance to radial direction against the circular arc
having optional radius designated by the program.
121
19. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–62622EN/02
19.3 This function is designed for high–speed precise machining. With this
function, the delay due to acceleration/deceleration and the delay in the
LOOK–AHEAD servo system which increase as the feedrate becomes higher can be
CONTROL (G08) suppressed.
The tool can then follow specified values accurately and errors in the
machining profile can be reduced.
This function becomes effective when look–ahead control mode is
entered.
Format
G08 P_ ;
122
19. FUNCTIONS FOR HIGH SPEED
B–62622EN/02 NC FUCNTION CUTTING
19.4
REMOTE BUFFER
19.4.1 When the remote buffer is connected to the host computer or input/output
Remote Buffer (only at device via serial interface, a great amount of data can be sent to CNC
consecutively at a high speed.
1–path Control)
Input/output
device
Explanations
D Interface between the
remote buffer and host - Electrical interface
computer The following two types of interface are prepared as standard
specifications.
S RS-232-C Interface
S RS-422 Interface
RS-233-C RS-422
123
19. FUNCTIONS FOR HIGH SPEED
CUTTING NC FUNCTION B–62622EN/02
Software interface The following three protocols are prepared as the communication
protocols between the remote buffer and host computer. The protocol can
be selected by a parameter according to the specifications of the device
to be connected.
Maximum
Protocol Features Interface
transfer rate
Notes
1 The average data transfer rate is lower than the maximum
transfer rate.
124
B–62622EN/02 NC FUCNTION 20. AXES CONTROL
20 AXES CONTROL
125
20. AXES CONTROL NC FUNCTION B–62622EN/02
20.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.5 It is possible to detach or attach rotary tables and attachments with this
function. Switch control axis detach signal according to whether the
CONTROL AXIS rotary tables and attachments are attached or detached. When this signal
DETACH is on, the corresponding axis is excluded from the control axes, so the
servo alarm applied to the axis are ignored. The axis is automatically
regarded as being interlocked. This signal is not only accepted when
power turned is on, so automatic change of attachments is possible any
time with this function.
The same switching as with this signal can also be performed with the
MDI setting.
126
B–62622EN/02 NC FUCNTION 20. AXES CONTROL
20.6 The traveling command of master axis is given to two motors of master
and slave axes in a simple synchronous control. However, no
SIMPLE synchronous error compensation or synchronous error alarm is detected
SYNCHRONOUS for constantly detecting the position deviation of the master and slave
CONTROL axes to compensate the deviation.
Simple synchronous operation is allowed in the automatic operation and
in the manual operation such as manual continuous feed, manual handle
feed, incremental feed, or manual reference point return.
In the manual reference point return, the master and slave axes similarly
move until the deceleration operation is performed. After that, the
detection of grid is performed independently.
The pitch error and backlash compensation are independently performed
for the master and slave axes.
An input signal from PMC can be select whether the slave axis traveling
is carried out based on the traveling command for that axis as in normal
case or whether the slave axis traveling is carried out while synchronizing
with the traveling of the master axis.
127
20. AXES CONTROL NC FUNCTION B–62622EN/02
20.7 This function usually checks position deviation amount during motion.
If the amount exceeds the parameter set ”feed stop position deviation
FEED STOP amount”, pulse distribution and acceleration/deceleration control is
stopped for the while exceeding, and move command to the positioning
control circuit is stopped.
The overshoot at rapid feed acceleration is thus kept to a minimum.
Speed
Specified speed
Actual speed
Time
Feed stop
128
B–62622EN/02 NC FUCNTION 20. AXES CONTROL
20.8
C AXIS CONTROL
Cxx+∆θx (n–1)
Cxx+∆θ
#2
Cxx
#n
#1
∆θ
θ
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.4 Synchronous C-axis control can be performed for the punch and die by
Controlling the punch effecting control using either the same servo motor or separate servo
motors.
and die
129
20. AXES CONTROL NC FUNCTION B–62622EN/02
20.9 Any axis can be released from the control of CNC and directly controlled
from PMC. That is, input of commands such as moving distance and feed
AXIS CONTROL WITH rate commands from PMC allows the axis to move independently of other
PMC axes moving under control of CNC. Therefore, use of an axis of CNC
enables control of peripheral devices such as a turret, pallet, and index
table. Which of CNC and PMC controls each axis can be selected by the
input signal.
The following operations can be directly controlled from PMC:
Rapid traverse with the specified moving distance.
Cutting feed with the specified moving distance.
The feed rate and override can also be specified.
The cutting feed can be started simultaneously with another PMC
control axis.
Reference point return.
Positioning on a machine coordinate point.
Dwell
130
B–62622EN/02 NC FUCNTION 21. MANUAL OPERATION
21 MANUAL OPERATION
131
21. MANUAL OPERATION NC FUNCTION B–62622EN/02
21.1
MANUAL FEED Jogging
Each axis can be moved in the + or - direction for the time the button
is pressed. Feed rate is the parameter set speed with override of:
0 - 655.34%, 0.01% step.
The parameter set speed can be set to each axis.
Manual rapid feed
Each axis can be fed in a rapid feed to the + or - direction for the time
the button is pressed.
Rapid traverse override is also possible.
21.2 Specified move amount can be positioned to the + or - direction with the
button.
INCREMENTAL FEED Move amount of:
(least command increment) x (magnification)
can be specified. The feed rate is that of manual feed.
The possible magnifications to be specified are as follows.
×1, ×10, ×100, ×1000.
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)
21.4 A 2nd, as well as 3rd manual pulse generator can be rotated to move the
axis for the equivalent distance. Manual handle feed of 3 axes can be done
MANUAL HANDLE at a time. Multiplier is common to 1st, 2nd and 3rd manual pulse
FEED (2ND, 3RD) generators.
Although manual handle feed is usually enabled only in the manual
handle-feed mode, it can also be performed in the manual continuous-feed
mode by setting the corresponding parameters. However, manual
continuous-feed and manual handle-feed cannot be performed
simultaneously. Manual handle-feed can be performed only when manual
continuous-feed is in progress (i.e., an axis is moving).
132
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION
22 AUTOMATIC OPERATION
133
22. AUTOMATIC OPERATION NC FUNCTION B–62622EN/02
22.1
OPERATION MODE
22.1.1 The part program can be read and executed block by block from the input
Tape Operation device connected to the reader/puncher interface.
22.1.3 Multiple blocks can be input and executed by the CRT/MDI unit.
MDI Operation
134
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION
22.2
SELECTION OF
EXECUTION
PROGRAMS
22.2.1 Program number currently in need can be searched from the programs
Program Number registered in memory operating the CRT/MDI.
Search
22.2.2 The sequence number of the program on the currently selected memory
Sequence Number can be searched using the CRT/MDI unit.
When executing the program from half-way (not from the head) of the
Search program, specify the sequence number of the half-way program, and the
program can be executed from the half-way block by sequence number
search.
22.2.3 After program execution has ended, the program in the memory or the
Rewind tape reader can be reminded to the program head, with this reset & rewind
signal on. (When a portable tape reader with reels is in use)
135
22. AUTOMATIC OPERATION NC FUNCTION B–62622EN/02
22.3
ACTIVATION OF
AUTOMATIC
OPERATION
136
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION
22.4
EXECUTION OF
AUTOMATIC
OPERATION
22.4.1 Buffer register equivalent to one block is available for program read and
Buffer Register control of NC command operation intervals caused by preprocess time.
137
22. AUTOMATIC OPERATION NC FUNCTION B–62622EN/02
22.5
AUTOMATIC
OPERATION STOP
22.5.1 Automatic operation is stopped after executing the M00 (program stop)
Program Stop commanded block. When the optional stop switch on the operator’s panel
is turned on, the M01 (optional stop) commanded block is executed and
(M00, M01) the automatic operation stops.
The automatic operation can be restarted by the cycle start button.
22.5.2 The NC is reset after executing the M02 (end of program) or M30 (end
Program End of tape) commanded block.
(M02, M30)
22.5.3 During program operation, when the block with a preset sequence number
Sequence Number appears, operation stops after execution of the block, to a single block stop
status. The sequence number can be set by the operator through the
Comparison and Stop cRT/MDI panel. This function is useful for program check, etc., because
program can be stopped at optional block without changing the program.
22.5.5 The automatic operation can be ended in a reset status by the reset button
Reset on the CRT/MDI panel or by the external reset signal, etc. When reset is
commanded during motion, it decelerates to a stop.
138
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION
22.6
MANUAL
INTERRUPTION
DURING AUTOMATIC
OPERATION
22.6.1 During automatic operation, tool can be adjusted by the manual pulse
Handle Interruption generator without changing the mode. The pulse from the manual pulse
generator is added to the automatic operation command and the tool is
moved for the recommended pulses.
The work coordinate system thereafter is shifted for the pulse commanded
value. Movement commanded by handle interruption can be displayed
on the CRT screen.
139
22. AUTOMATIC OPERATION NC FUNCTION B–62622EN/02
>_
RMT **** *** *** 09:36:48
[ PRGRM ][ ][ DIR ][ SCHDUL ][ (OPRT) ]
140
B–62622EN/02 NC FUCNTION 22. AUTOMATIC OPERATION
22.8 While a tape is running, a program input from an I/O device connected
to the reader/punch interface can be executed and stored in memory.
SIMULTANEOUS Similarly, a program stored in memory can be executed and output
INPUT AND OUTPUT through the reader/punch interface at the same time.
OPERATIONS
141
23. PROGRAM TEST FUNCTIONS NC FUNCTION B–62622EN/02
142
B–62622EN/02 NC FUCNTION 23. PROGRAM TEST FUNCTIONS
23.1 In machine lock condition, the machine does not move, but the position
display is updated as if the machine were moving. Machine lock is valid
ALL-AXES MACHINE even in the middle of a block.
LOCK
23.4 In the dry run mode, the tool moves at the speed obtained by multiplying
the dry run speed by the override value for manual feeding, regardless of
DRY RUN the specified cutting federate. The dry run speed is specified in the
corresponding parameter. However, the rapid traverse command (G00)
and rapid traverse override value are effective.
Dry run can also be commanded to rapid feed command (G00) by
parameter setting.
23.5 The program can be executed block by block under automatic operation.
SINGLE BLOCK
143
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02
144
B–62622EN/02 NC FUCNTION 24. SETTING AND DISPLAY UNIT
145
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02
24.1.1
9-inch Small
Monochrome/Color
CRT/MDI Panel
(Horizontal)
146
B–62622EN/02 NC FUCNTION 24. SETTING AND DISPLAY UNIT
24.1.2
9-inch
Monochrome/Color
CRT/MDI Panel
(Horizontal)
147
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02
24.1.3
9.5-inch Color LCD/MDI
Panel (Horizontal)
24.1.4
9.5-inch Color LCD/MDI
Panel (Vertical)
(1) POWER ON/OFF BUTTONS
FANUC Series 16-P
148
B–62622EN/02 NC FUCNTION 24. SETTING AND DISPLAY UNIT
24.1.5
14-inch Color CRT/MDI
Panel (Horizontal)
(2) RESET KEY (3) HELP KEY
(5) ADDRESS/NUMERIC KEYS
(1) POWER ON/OFF BUTTONS (4) SOFT KEYS (12) PAGE–UP/DOWN KEYS
24.1.6
14-inch Color CRT/MDI
Panel (Vertical)
FANUC Series 16-P
149
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02
24.2
EXPLANATION OF
THE KEYBOARD
No. Key Function
Power on/off buttons Used to turn on or off the power to the CNC.
(1)
Reset key Used to reset the CNC to release an alarm or other similar state.
(2)
Help key Used to get help with operations such as for the MDI keys, when the op-
(3) erator does not know what to do next.
Soft keys The soft keys are assigned different functions depending on the applica-
tion.
(4)
The functions currently assigned to the soft keys are displayed on the
lowermost line of the screen.
Shift key Some of the address keys have two different letters. When the shift key is
pressed first before pressing one of these address keys, the lower-right
(6)
letter is input. When the shift key is pressed, ^ is displayed in the key in-
put buffer indicating that the lower-right letter will be input.
Input key Data input by pressing an address or numeric key is stored in the key
input buffer, then displayed on the CRT. When data input to the key input
(7)
buffer needs to be written to the offset register, press the <INPUT> key.
This key is equivalent to soft key [INPUT]. Either key may be used.
Cancel key Used to delete letters or numbers input to the key input buffer.
Example)
(8)
When N001X100Z is displayed on the key input buffer, pressing the can-
cel key deletes the letter Z, and N001X100 is displayed.
: Alter
(9) : Insert
: Delete
150
B–62622EN/02 NC FUCNTION 24. SETTING AND DISPLAY UNIT
24.2.1 The function keys select what is displayed on the CRT. Each function is
Explanation of the divided into sub-functions, and the sub-functions are selected by soft
keys.
Function Keys
There are six function keys : POS , PROG , OFFSET
SETTING , SYSTEM
, MESSAGE , and GRAPH .
OFFSET
SETTING : Displays an offset value, offset from the workpiece zero point,
custom macro variable, and tool life management data. Allows
data to be input into these items.
SYSTEM
: Displays and sets a parameter and pitch error compensation
value, and displays self diagnostic data.
MESSAGE : Displays an alarm message, external operator message, external
alarm message, and alarm history.
GRAPH : Displays graphic data.
151
24. SETTING AND DISPLAY UNIT NC FUNCTION B–62622EN/02
24.2.2 The 14-inch CRT and 9.5-inch LCD have 10 soft keys, a next-menu key
Explanation of the Soft on the right, and a previous-menu key on the left. The next menu key and
previous menu key are used to select the functions of the soft keys. The
Keys 9-inch CRT has five soft keys, a next-menu key on the right, and a
previous-menu key on the left.
These soft keys can be assigned with various functions, according to the
needs.
The following functions are mainly available via the CRT/MDI panel:
Actual position display
Contents of program display, program directory display (display of
program number, program name, part program storage length left,
number of programs left)
Program editing
Offset amount display and setting
Commanded value display, MDI input
Parameter setting and display
Alarm message/operator message display
Custom macro variables display and setting
Tool life management data display and setting
Diagnosis
Others
152
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA
153
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02
25.1 The following data are displayed on the CRT screen. One 9” CRT screen
can display maximum 640 characters (40 × 16 lines) and one 14” CRT
DISPLAY screen can display maximum 2080 (80 × 26 lines).
Explanations
D Indication of statuses The status of the control unit is indicated on the screen. Statuses include
the state when an alarm is being activated or when the system is in the edit
mode. The status line is displayed right above the soft key line.
––EMG–– OUTPUT
Status
EDIT STOP MTN FIN ALM hh:mm:ss HEAD1 line
Soft key
line
D Key input display Data input via the address keys or the numerical keys are displayed at the
left lower part of the screen.
D Program number, Program number, sequence number is displayed on the right upper part
sequence number of the screen.
display
D Alarm display Alarm number and its contents are displayed briefly.
D Alarm message display Alarm message contents are displayed.
D Present position display Relative position and position in the work coordinates are displayed in
3-times magnified characters.
D Total position display Relative position, position in the work coordinates, position in the
machine coordinate, and remaining move distance are displayed in one
screen.
D Command value display The following two displays are performed.
154
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA
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
Operator message,
external operator
message, external alarm
message display
Actual speed and actual Actual federate per minute (mm/min or inch/min)
spindle speed Actual spindle speed (rpm)
Operating monitor The load values (torque values) of servo motor are displayed in bar chart
display on the CRT.
The most recent sampling values are displayed in bar chart display. Set
the rated load value of motor corresponding to each load meter to
parameters. The load meter displays 100% when the load value is the
rated load value.
The load meter can be displayed up to three servo motor axes and a
parameter can be used to select any one of three axes.
155
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02
D Displaying the alarm A maximum of 25 of the most recent alarms generated in CNC can be
history recorded. Each alarm record consists of the following items:
- Date and time
- Alarm number
- Alarm message
Any of the records can be deleted from the alarm history.
In addition, the operator message history can be displayed.
156
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA
25.2 The Japanese, English, German, French, Italian, Spanish, Chinese, and
Korean are prepared as display languages. Select the language to be
LANGUAGE displayed by parameters.
SELECTION
25.4 This function displays the integrated power-on time, the integrated cycle
operation time, the integrated cutting time and timer on the cRT display
RUN TIME & PARTS screen. The integrated cycle operation time, the integrated cutting time
NUMBER DISPLAY and timer can be altered and preset, using the MDI.
In addition to the above, this function displays the count of the total
number of parts machined, the number of parts required and the number
of parts on the CRT screen. Each time M02, M30 or a parameter set M
code is executed, the count of the total in memory is incremented by 1.
If a program is prepared so as to execute M02, M30 or a parameter set M
code each time one part machining is completed, the number of parts
machined can be counted automatically.
If the count of the number of parts reaches the number of parts required,
a signal is output to the PMC side.
It is possible to change and preset the number of parts required and the
number of parts counted, using MDI.
The number of required parts and the number of counted parts can be read
and written using custom macro variables. These values can also be read
using the external data input function.
PARTS TOTAL = 0
PARTS REQUIRED = 25
PARTS COUNT = 10
POWER ON = 0H 0M
OPERATING TIME = 0H 0M 0S
CUTTING TIME = 0H 0M 0S
FREE PURPOSE = 0H 0M 0S
CYCLE TIME = 0H 0M 0S
DATE = 1994/09/25
TIME = 16:20:30
>_
MDI **** *** *** 16:20:30
[ OFFSET ][ SETTING ][ ][ ][ (OPRT) ]
157
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02
STEP MULT. :
*1 *10 *100
RAPID OVRD. :
100% 50% 25% F0
JOG FEED :1.0%
****************
FEED OVRD. : 140%
******
ACTUAL POSITION (ABSOLUTE)
X 0.000 Z 0.000
S 0 T0000
EDIT **** *** *** 09:36:48
[ MACRO ][ ][ OPR ][ TOOLLF ][ ]
158
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA
S 0 T0000
EDIT **** *** *** 09:36:48
[ MACRO ][ ][ OPR ][ TOOLLF ][ ]
159
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02
25.6 File names in the floppy cassette (FANUC CASSETTE F1) and program
file (FANUC PROGRAM FILE Mate can be listed on the CRT display
DIRECTORY DISPLAY (directory display). Each file name of up to 17 letters can be displayed
OF FLOPPY in directory display.
CASSETTE/ Files in the floppy cassette are:
NC command program, NC parameter/pitch error compensation data,
PROGRAM FILE
tool compensation data, and etc.
When NC program in part program memory is written into the floppy
cassette, program number can be given to it as a file name. When NC
parameter is written into the floppy cassette, ”PARAMETER” is given
them as a fixed name. When tool compensation data is written into the
floppy cassette, ”OFFSET” is given to it as a fixed name.
160
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA
25.7
GRAPHIC DISPLAY
FUNCTION
25.7.1 This function allows display of tool path on the CRT screen, making
Graphic Display program check easier.
Function Tool path of the machining program can be displayed. Machining
process can be checked just by viewing the tool path drawing on the
CRT screen.
Program check before machining can be done by displaying the
programmed locus on the CRT screen.
426.666
S 0 T0001
MEM **** *** *** 15:13:48
[ START ] [ STOP ] [ SBK ] [ } ][ ERASE ]
161
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02
25.8 The waveforms of servo data items (errors, torques, timing pulses, etc.)
and signals between the CNC and the PMC can be displayed.
SERVO WAVEFORM
FUNCTION
WAVE DIAGNOS. (GRAPHIC)) O0000 N00000
On this screen, the sampling period (6 to 32767 ms) and drawing start
conditions can be specified.
162
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA
25.9
SCREENS FOR
SERVO DATA AND
25.9.1 On the servo setting screen, parameters required for standard initialization
Servo Setting Screen of the servo motor are listed. The parameters can also be set.
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
25.9.2 On the servo adjustment screen, parameters required for basic adjustment
Servo Adjustment of the servo motor and statuses being monitored are listed for each axis.
Screen
SERVO SETTING O1000 N00000
X AXIS
(PARAMETR) (MONITOR)
FUNC.BIT 00110100 ALARM 1 00110100
LOOP GAIN 3000 ALRAM 2 00110100
TUNING ST. 1 ALARM 3 00000000
SET PERIOD 50 ALARM 4 00000000
INT.GAIN 251 LOOP GAIN 3000
PROP.GAIN –2460 POS ERROR 100
FILTER 2450 CURRENT % 50
>_
MEM STAT MTN FIN ALM 09:36:48
[ SV.SET ][ SV.TUN ][ ][ ][ (OPRT) ]
163
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02
Slot information
Slot No.
00 to 0F: F-BUS physical slot No. (primary)
80 to 8F: F-BUS physical slot No. (secondary)
Module ID
xx3E: Main CPU
xx3F: File CPU
xx40: RISC CPU
xx41: PMC CPU
xx45: Graphic CPU
xx46: I/O board
xx50: Sub-CPU (only for TB(2–path control)/axis)
xx53: Interactive CPU
Software ID
40: CNC
41: PMC
42: I/O board
43: SUB (TB(2–path control))
44: RISC
45: Graphic input (standard)
46: Graphic input (FAPT)
49: Conversational input (FAPT)
4A: Remote buffer
4F: PMC-X
Software series
The series of software running on a module with a CPU
Software edition
The edition of software running on a module with a CPU
164
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA
Software information
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.
165
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02
25.11 When an alarm occurs, or when the operator is not certain what to do next,
HELP FUNCTION pressing the HELP key on the CRT/MDI panel displays detailed alarm
information or instructions for operation.
One of the following three screens can be displayed:
On the alarm detail screen, detailed information on the alarm currently
activated is displayed. Using this information, the operator can
identify the cause of the alarm and what action to take. Any alarm
information can be displayed on this screen.
On the operation instruction screen, when the operator is not sure of
what to do next during CNC operation (i.e., program editing and data
input/output) necessary instructions are displayed.
Parameter numbers are listed on the parameter list screen. When the
number of the parameter to be set or referenced is unknown, bring up
this screen.
NUMBER: 094
M’SAGE: P TYPE NOT ALLOWED (COORD CHG)
FUNCTION: RESTART PROGRAM
ALARM:
WHEN COORDINATE SYSTEM SETTING IS
CONDUCTED AFTER HOLDING
AUTOMATIC OPERATION, P–TYPE (WHEN TOOL IS
DAMAGED) PROGRAM
RESTART CANNOT BE EXECUTED.
S 0 T0000
MEM **** *** *** 09:36:48
[ 1 ALAM ][ 2 OPR ][ 3 PARA ][ ][ (OPRT) ]
S 0 T0000
MEM **** *** *** 09:36:48
[ 1 ALAM ][ 2 OPR ][ 3 PARA ][ ][ (OPRT) ]
166
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA
>_ S 0 T0000
MEM **** *** *** 09:36:48
[ 1 ALAM ][ 2 OPR ][ 3 PARA ][ ][ (OPRT) ]
167
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02
25.12 A data protection key can be installed on the machine side for protection
of various NC data. The following three input signals are offered,
DATA PROTECTION according to type of data to be protected.
KEY KEY 1
Allows input of tool compensation amount and work zero point offset
amount.
KEY 2
Allows setting data input and macro variable input.
KEY 3
Allows part program input and editing.
25.13 This function displays a history of the key and signal operations,
performed by the NC operator, upon the occurrence of a failure or NC
DISPLAYING alarm. The history can also be displayed for previously generated NC
OPERATION HISTORY alarms.
The following history data is recorded :
MDI key operation sequences, performed by the NC operator
Example : A to Z , POS , PAGE
, [SF1]
On/off status transitions of selected input and output signals
Example : G0000.7↑, SBK↑
NC alarm information
Example : P/S0010
Time (date, time) stamp
Example : 94/09/25
09:27:55
The history data can be output to an input/output device, connected via
the reader/punch interface. Previously output history data can be input
from an input/output device.
25.14 When a machining program is executed, the machining time of the main
program is displayed on the program machining time display screen. The
MACHINING TIME machining times of up to ten main programs are displayed in
STAMP FUNCTION hour/minutes/seconds. When more than ten programs are executed, data
for the oldest programs is discarded.
168
B–62622EN/02 NC FUCNTION 25. DISPLAYING AND SETTING DATA
25.15 The remote diagnosis function allows CNC status monitoring and
modification to CNC data to be performed remotely by menu–based
REMOTE DIAGNOSIS operation. The remote diagnosis function, operating under MS–DOS, is
installed on a standard personal computer, connected as a service terminal
to the FANUC Series 16 via the RS–232–C interface, over a telephone
line, and so on.
[Personal
computer]
[CNC]
FANUC
Series 16 Telephone
RS–232–C line RS–232–C
Modem Modem
D CNC programs
- Computer → CNC
S CNC command data for verification
S Searching for a specified program
S Part program
S Deleting a specified program
S Deleting all programs
- CNC → computer
S Part program
S Displaying a program directory
S Program number of a program being executed
S Sequence number of a sequence being executed
D Computer → CNC
S Parameter
S Pitch error data
S Tool offset value
S Custom macro variable
S Selecting a display screen
S Memory contents
S PMC data
S Displaying a specified message
S All parameters
169
25. DISPLAYING AND SETTING DATA NC FUNCTION B–62622EN/02
CNC → computer
Alarm information
Machine position
Absolute position
Skip position
Servo delay
Acceleration/deceleration delay
Diagnosis
Parameter
Display screen status
Modal information
Pitch error data
Tool offset value
Custom macro variable
Memory contents
Ladder program
Actual feedrate
Status
A/D conversion
PMC data
Screen character data
Printed circuit board information
Ladder title
Series and edition of PMC/ladder
All parameters
Notes
An arrow ”→” indicates the direction of data flow.
170
26. PART PROGRAM STORAGE
B–62622EN/02 NC FUCNTION AND EDITING
171
26. PART PROGRAM STORAGE
AND EDITING NC FUNCTION B–62622EN/02
26.2 Part program storage and editing can be done during machining. The
same functions as foreground editing can be performed.
BACKGROUND
EDITING
172
26. PART PROGRAM STORAGE
B–62622EN/02 NC FUCNTION AND EDITING
173
26. PART PROGRAM STORAGE
AND EDITING NC FUNCTION B–62622EN/02
26.7 The following two screens can be displayed with graphic data for
guidance in programming in the CNC format:
CONVERSATIONAL G code list
PROGRAMMING OF Standard format of a G-code block
FIGURES Programs can be created by referring to guidelines and entering necessary
data interactively.
G78
I
P
J
K
T
C
;
26.8 The password function (bit 4 (NE9) of parameter No. 3202) can be locked
using parameter No. 3210 (PASSWD) and parameter No. 3211
PASSWORD (KEYWD) to protect program Nos. 9000 to 9999. In the locked state,
FUNCTION parameter NE9 cannot be set to 0. In this state, program Nos. 9000 to 9999
cannot be modified unless the correct keyword is set.
A locked state means that the value set in the parameter PASSWD differs
from the value set in the parameter KEYWD. The values set in these
parameters are not displayed. The locked state is released when the value
already set in the parameter PASSWD is also set in parameter KEYWD.
When 0 is displayed in parameter PASSWD, parameter PASSWD is not
set.
174
B–62622EN/02 NC FUCNTION 27. DIAGNOSIS FUNCTIONS
27 DIAGNOSIS FUNCTIONS
175
27. DIAGNOSIS FUNCTIONS NC FUNCTION B–62622EN/02
176
B–62622EN/02 NC FUCNTION 28. DATA INPUT/OUTPUT
28 DATA INPUT/OUTPUT
177
28. DATA INPUT/OUTPUT NC FUNCTION B–62622EN/02
178
B–62622EN/02 NC FUCNTION 28. DATA INPUT/OUTPUT
28.2 The following Input/Output devices are prepared, which are connectable
to the reader/puncher interface.
INPUT/OUTPUT
DEVICES
28.2.1 When the Floppy Cassette is connected to the NC, machining programs
Fanuc Floppy Cassette stored in the NC can be saved on a Floppy Cassette, and machining
programs saved in the Floppy Cassette can be transferred to the NC.
28.2.2 The built-in hard disk enables data to be stored and it can be connected
Fanuc Program File to the reader/puncher interface to input data to CNC. This hard disk has
a large storage capacity of approximately 50,000 m of paper tape data, so
Mate it can register maximum 1024 command programs.
It can be connected to the remote buffer to achieve high-speed transfer of
maximum 86.4 kbps.
The hard disk is sealed to be continuously used under the factory
environment.
28.2.3 The FANUC Handy File is a compact multi functional input/ouput floppy
FANUC Handy File disk unit for use with various types of FA equipment. Programs can be
transferred or edited through operations performed directly on the Handy
File or through remote operation from connected equipment.
Compared with media such as paper tape, a 3.5” floppy disk is both
compact and durable, and eliminates noise during input/output.
Programs with a total capacity of up to 1.44 MB (equivalent to about 3600
m paper tape) can be saved on a single floppy disk.
179
28. DATA INPUT/OUTPUT NC FUNCTION B–62622EN/02
28.3 By using the external program input start signal, a program can be loaded
from an input unit into CNC memory.
EXTERNAL When an input unit such as the FANUC Handy File or FANUC Floppy
PROGRAM INPUT Cassette is being used, a file can be searched for using the workpiece
number search signals, after which the program can be loaded into CNC
memory.
28.4 In Series 16–PB, a memory card interface (JEIDA V4.1 specification type
I) is provided as standard on the main CPU board.
MEMORY CARD Commercially available memory cards that conform to JEIDA V4.1
INTERFACE specification type I can be used. (Presently, data can only be written to
the SRAM card.)
By using such a memory card, programs and data can be loaded into
memory in the control section, and programs and data in memory can be
backed up.
180
B–62622EN/02 NC FUCNTION 28. DATA INPUT/OUTPUT
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.
Response CNC
Mode–2 In the Mode–2, the cell controller and CNC play as a combined station
in the point–to–point connection.
This mode is usually used for drip feeding of continuous small blocks in
the DNC operation such as mold machining.
Command / Response
Combined station Combined station
Response / Command
Cell controller CNC
Notes
The combined station has combined functions of primary
station and secondary station.
Primary station
This station controls data link and has responsibility of control and
recovery to the other station on the data link. This station corresponds
to the cell controller in the multi–point connection.
Secondary station
This station executes data link control according to the command of
the primary station. This station corresponds to the CNC in the
multi–point connection.
Combined station
This station executes peer–to–peer communication concerning to the
data link control.
181
28. DATA INPUT/OUTPUT NC FUNCTION B–62622EN/02
182
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS
29 SAFETY FUNCTIONS
183
29. SAFETY FUNCTIONS NC FUNCTION B–62622EN/02
29.1 With the emergency stop, all commands stops, and the machine stops
immediately. Connect the ”emergency stop” signal both to the control
EMERGENCY STOP unit and to the servo unit side.
When emergency stop is commanded, servo excitation is also reset, and
servo ready signal will also turn off. Move distance of the machine will
still be reflected in the actual position and machine position will not be
lost (Follow up function). After resetting the emergency stop, operation
can thus be continued without need of another reference point return.
184
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS
29.2
OVERTRAVEL
FUNCTIONS
29.2.1 When the movable section has gone beyond the stroke end, a signal is
Overtravel output, the axis decelerates to a stop, and overtravel alarm is displayed.
All directions on all axes has overtravel signals.
ÇÇÇÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇÇÇÇ
(X1, Y1)
ÇÇÇÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇÇÇÇ
The shaded part is the
inhibition area.
ÇÇÇÇÇÇÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇÇÇÇÇ
(X2, Y2)
ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
(X, Y) (X, Y)
ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇ
ÇÇÇÇÇÇÇÇ
(I, J)
Outside is forbidden area
(I, J)
Inside is forbidden area
Format
G22 X_ Y_ Z_ I_ J_ K_ ;
On/off of stored stroke check 2 is commanded by program as follows:
G22 : Stored stroke check function on
G23 : Stored stroke check function off
185
29. SAFETY FUNCTIONS NC FUNCTION B–62622EN/02
29.2.4 When a new tool is mounted, position the tip of the tool on the two corners
Externally Setting the of the limit area, and specify the machine coordinates of the corners in the
parameters for stroke limit 1. The machine coordinates are stored in the
Stroke Limit CNC as the limit positions. Then input signals for setting the stroke limit.
Stroke limit setting signals are provided for each axis and each direction.
Checking of the stroke limit can also be selected by turning on or off the
limit release signal common to all axes.
186
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS
29.3
INTERLOCK
29.3.1 Axis feed specified to each axis can be stopped separately. If interlock is
Interlock per Axis specified to any of the moving axis during cutting feed, all axes of the
machine movement will decelerate to a stop. When interlock signal is
reset, the moving starts.
29.3.2 Feed of all axes can be inhibited. When all axes interlock is commanded
All Axes Interlock during move, it decelerates and stops. When all axes interlock signal is
reset, the moving restarts.
29.3.4 The main power turns off if door of the NC cabinet is opened.
Door Interlock
187
29. SAFETY FUNCTIONS NC FUNCTION B–62622EN/02
29.4 Feed rate can be decelerated by an external deceleration signal from the
machine side. A feed rate after deceleration can be set by parameter.
EXTERNAL External deceleration is prepared every axis and every direction.
DECELERATION When the tool is to be moved in the reverse direction, futile time may not
be wasted since no external deceleration is applied.
By setting the corresponding parameter, whether to make this signal
effective only for rapid traverse mode or for all feed modes can be
specified for each axis and for each direction.
This function allows the maximum of valid strokes and keeps shock to the
machine to a minimum, to stops at stroke end. This function is also useful
when overtravel of the machine from the stroke end in, for example, ATC
reference points, must be kept to a minimum.
29.5 When a cutting tool collides with the machine body or is damaged during
cutting, the load torque applied to the servo motors is larger than during
ABNORMAL LOAD normal feeding or cutting. The abnormal load detection function
DETECTION calculates the load torque and transfers the value from the CNC to the
PMC. If the load torque is larger than the value set in a parameter, the
function stop the motor or reverses the motor rotation to retract the tool
by the distance set in a parameter. In this way, damage to the machine is
prevented.
188
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS
29.6 This is the safety function to set the safety zone for protecting the
workpiece holder that holds the workpiece set on the carriage, and disable
SAFETY ZONE punching in that area or forbid the tool to approach thereinto.
CHECK
Table
#1 #2 #3 #4
This function permits to set tool figure area (#0) and up to four safety
zones (#1 - #4), as shown above.
29.6.1 The safety zone is settable in two types, punch forbidden area and
Punch Forbidden Area approach forbidden area, that are selected by the parameter.
and Approach (1) Punch forbidden area
Forbidden Area When the tool figure area goes into the safety zone and the punching
is commanded, an alarm is given to disable punching. In the case of
positioning & punching command in the automatic operation mode,
when the end point of positioning is in the punch forbidden area, an
alarm is given without moving the axis. (Previous check)
In the case of move command without punching, the tool figure area
can go into the punch forbidden area, but manual punching is
impossible after going into this area.
#0 Punching is impossible
in this area.
#1
29.6.1 (a)
189
29. SAFETY FUNCTIONS NC FUNCTION B–62622EN/02
Move direction
#0
#2
29.6.1 (b)
29.6.2 Set the machine coordinate value when the workpiece holder is positioned
Setting the Safety Zone at the tool center (punching position) by the parameters.
29.6.3 The detector on the machine automatically detects the positions of the
Automatic Setting of workpiece holders mounted on the carriage. Values representing the
detected positions are then set in the safety zone parameters.
the Safety Zone
#1 #2 #3 #4
Carriage
29.6.3
The signal for detecting the position of the workpiece holders turns on and
off as workpiece holders #1 to #4 pass the detector as shown in Fig. 29.5.3.
The safety zone is determined from the signal. The position on the X axis
when the signal goes high is regarded as one end of a workpiece holder,
and the position when the signal goes low is regarded as the other end.
190
B–62622EN/02 NC FUCNTION 29. SAFETY FUNCTIONS
X
Woekpiece holder position
P Q
191
30. STATUS OUTPUT NC FUNCTION B–62622EN/02
30 STATUS OUTPUT
192
B–62622EN/02 NC FUCNTION 30. STATUS OUTPUT
30.1 This signal is sent to the machine side when NC power is on and control
becomes possible. Sending of this signal will be stopped when NC power
NC READY SIGNAL is turned off.
30.2 This signal is sent to the machine side when the servo system becomes
operatable. Axes necessary to be braked must be braked when this signal
SERVO READY is not sent.
SIGNAL
30.3 This signal shows that tape reader or main program in memory is
rewinding.
REWINDING SIGNAL
30.4 This signal is transmitted when the NC comes under an alarm status.
ALARM SIGNAL
30.7 This signal is sent out when automatic operation is being activated.
AUTOMATIC
OPERATION START
SIGNAL
30.8 This signal is sent out when automatic operation is held by feed hold.
FEED HOLD SIGNAL
30.9 This signal is sent out to show that the NC has been reset.
RESET SIGNAL
30.10 This signal shows that an axis is under in–position status. This signal is
output for all axes.
IN–POSITION SIGNAL
30.11 This signal shows that an axis is moving. This signal is sent out for every
axis.
MOVE SIGNAL This move signal can be combined with the interlock signal to
automatically clamp and unclamp the machine, or control on/off of the
lubricating oil.
193
30. STATUS OUTPUT NC FUNCTION B–62622EN/02
30.12 This signal is output to show move direction of each axis. This signal is
output for each axis.
AXIS MOVE
DIRECTION SIGNAL
30.13 This signal shows that the move command is done under rapid traverse.
RAPID TRAVERSING
SIGNAL
30.14 This signal shows that input is done under inch input mode (G20).
INCH INPUT SIGNAL
30.15 To inform the exterior of the states of software operator’s panel, which are
set via CRT/MDI, and machine operator’s panel, following DI state
DI STATUS OUTPUT output signals are sent.
SIGNAL Mode-select check signal
Single-block check signal
Dry-run check signal
Machine-lock check signal
Auxiliary-function-lock check signal
Optional block-skip check signal
Mirror-image check signal
194
B–62622EN/02 NC FUCNTION 31. EXTERNAL DATA INPUT
195
31. EXTERNAL DATA INPUT NC FUNCTION B–62622EN/02
31.1 In this function, offset number is specified from outside to change tool
offset amount.
EXTERNAL TOOL The input signal designates whether the input tool offset amount is:
COMPENSATION absolute or incremental
31.2 A program number from 1 - 9999 can be given from outside to the NC to
call the corresponding program from the NC memory.
EXTERNAL In machines with automatic loading function of various workpiece, this
PROGRAM NUMBER function can be used to automatically select and execute program suitable
SEARCH to the workpiece.
31.3 The work coordinate system can be shifted for the shift amount given
from outside.
EXTERNAL The shift amount specified by an input signal is set as an external offset
WORKPIECE value for workpiece zero points by which the workpiece coordinate
COORDINATE system shifts. The shift amount is an absolute value, not an incremental
value.
SYSTEM SHIFT
The shift amount range is :
0 to ±7999
in least command increment.
The external data input function allows NC operation by data sent from
outside the NC (for example from the machine side).
196
B–62622EN/02 NC FUCNTION 31. EXTERNAL DATA INPUT
31.6 Message to the operator is given from outside the NC, and the message
is displayed on the CRT screen.
EXTERNAL The message is sent after the message number (0 to 999). Only one
OPERATOR’S message with message number can be sent at a single time. Maximum
MESSAGE 255 characters can be used for a single message.
The message numbers 0 to 99 are displayed on the CRT screen along with
the message.
To distinguish these alarms from other alarms, the CNC displays them by
adding 2000 to each alarm number. When a message from 100 to 999 is
displayed on the CRT, the message number is not displayed; only its text
is displayed.
An external data will clear the operator messages.
31.7 The number of required parts and the number of machined parts can be
preset externally. Values from 0 to 9999 can be preset.
SUBSTITUTION OF
THE NUMBER OF
REQUIRED PARTS
AND NUMBER OF
MACHINED PARTS
197
34. KEY INPUT PMC (EXTERNAL
KEY INPUT CONTROL) NC FUNCTION B–62622EN/02
When the PMC inputs the code signal corresponding to a key on the
CRT/MDI panel to the CNC, the code signal can be input in the same way
as with actual operation of the key on the CRT/MDI panel.
When the switch is pressed, the PMC inputs code signals corresponding
to keys X, Y, Z, and <SHIFT> to the CNC. This produces the same results
as with actual key operations.
198
B–62622EN/02 NC FUCNTION 33. MAN MACHINE CONTROL (MMC)
199
33. MAN MACHINE CONTROL (MMC) NC FUNCTION B–62622EN/02
33.1 Use of the FANUC MMC–III allows software created by the machine tool
builder to be included in the CNC. A distinctive controller can be
MMC–III developed which fully incorporates the machine tool builder’s
know–how.
Main features
The machine tool builder can create unique screens.
High–speed transfer of CNC and PMC data is enabled.
Communication with an external I/O unit is made possible.
Machine tool
builder’s
unique screen
CNC
RS–232–C
External Software provided
I/O unit by the machine
tool builder
MMC–III PMC
33.2 The MMC–IV is a new MMC designed as the core of the ”FANUC open
CNC” to integrate FANUC’s proprietary, high–level CNC technology
MMC–IV with world computer standards in order to advance the concept of MMC.
By providing a wide variety of tools such as compilers, macro
compilers/executors, and custom macros for the MMC and PMC,
FANUC has been supporting machine tool builders for customization of
FANUC CNCs. With these FANUC open CNCs, many applications have
been developed and put to use; these include applications for
conversational NC programming, conversational setup and operation,
real–time generation of complicated tool paths, tool load monitoring, and
adaptive control.
By advancing FANUC open CNC, the MMC–IV aims at providing a
powerful tool for customization and function extension of FANUC CNCs
that are significantly more integrated with the world of computers.
200
APPENDIX
B–62622EN/02 APPENDIX A. RANGE OF COMMAND VALUE
(1) Linear axis with the millimeter feed screw (millimeter input)
Increment system
IS–A IS–B
(2) Linear axis with the millimeter feed screw (inch input)
Increment system
IS–A IS–B
Least input increment 0.001 inch 0.0001 inch
Least command increment 0.01 mm 0.001 mm
Max. programmable dimension "99999.999 inches "9999.9999 inches
Max. rapid traverse *1 240,000 mm/min 240,000 mm/min
Feedrate range *1 0.01 to 9,600 inch/min 0.01 to 9,600 inch/min
Incremental feed 0.001, 0.01, 0.1, 1 inch/step 0.0001, 0.001, 0.01, 0.1
inch/step
Tool compensation 0 to "99.999 inches 0 to "99.9999 inches
Backlash compensation 0 to "2.55 mm 0 to"0.255 mm
Dwell time 0 to "999999.99 sec 0 to "99999.999 sec
203
A. RANGE OF COMMAND VALUE APPENDIX B–62622EN/02
(3) Linear axis with the inch feed screw (inch input)
Increment system
IS–B IS–C
Least input increment 0.001 inch 0.0001 inch
Least command increment 0.001 mm 0.0001 mm
Max. programmable dimension "99999.999 inches "9999.9999 inches
Max. rapid traverse *1 9,600 mm/min 9,600 mm/min
Feedrate range *1 0.01 to 9,600 inch/min 0.01 to 9,600 inch/min
Incremental feed 0.001, 0.01, 0.1, 1 inch/step 0.0001, 0.001, 0.01, 0.1
inch/step
Tool compensation 0 to "99.999 inches 0 to "99.9999 inches
Backlash compensation 0 to "0.255 mm 0 to "0.0255 mm
Dwell time 0 to "999999.99 sec 0 to "99999.999 sec
(4) Linear axis with the inch feed screw (millimeter input)
Increment system
IS–A IS–B
Least input increment 0.01 mm 0.001 mm
Least command increment 0.001 mm 0.0001 mm
Max. programmable dimension "999999.99 mm "99999.999 mm
Max. rapid traverse *1 9,600 mm/min 9,600 mm/min
Feedrate range *1 1 to 240,000 mm/min 1 to 240,000 mm/min
Incremental feed 0.01, 0.1, 1, 10 mm/step 0.001, 0.01, 0.1, 1 mm/step
Tool compensation 0 to "999.99 mm 0 to "999.999 mm
Backlash compensation 0 to "0.255 mm 0 to "0.0255 mm
Dwell time 0 to "999999.99 sec 0 to "99999.999 sec
204
B–62622EN/02 APPENDIX A. RANGE OF COMMAND VALUE
(6) Caxis
Increment system
IS–A IS–B
*1 The feedrates in the above tables apply when they are limited only
by NC interpolation. When the NC is integrated into a system, the
feedrates are limited by the servo system as well.
205
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–62622EN/02
Start point
Start point
Circular interpolation R_
G02
(G02, G03) G02 X_ Y_ F_ ;
Start G03 I_ J_
point
R
J
(x, y)
I
G03
(x, y)
R
J
X_
G04 ;
P_
Time
ÇÇÇ
(Workpiece zero point offset)
ÇÇÇ
Cutter compensation C G41 G40
(G40 - G42) G41
ÇÇÇ ÇÇÇ
X_Y_D_;
G42
206
B–62622EN/02 APPENDIX B. FUNCTIONS AND TAPE FORMAT LIST
Start point
(I, J)
Workpiece coordinate
system
t
v
G61
t
207
B. FUNCTIONS AND TAPE FORMAT LIST APPENDIX B–62622EN/02
ÂÂÂ G98X_Y_I_P_J_K_:
Coordinate rotation
(G84, G85) ÂÂÂ G84X_Y_R_;
G85 ; Cancel
ÂÂ
ÂÂ
Change of work coordi- G92X_Y_;
nate system (G92)
(X, Y)
208
B–62622EN/02 APPENDIX C. LIST OF TAPE CODE
0 0 Number 0
1 1 Number 1
2 2 Number 2
3 3 Number 3
4 4 Number 4
5 5 Number 5
6 6 Number 6
7 7 Number 7
8 8 Number 8
9 9 Number 9
A a Address A
B b Address B
C c Address C
D d Address D
E e ? Address E
F f Address F
G g Address G
H h Address H
I i Address I
J j Address J
K k Address K
L l ? Address L
M m Address M
N n Address N
O o Address O
P p Address P
Q q Address Q
R r Address R
S s Address S
T t Address T
U u ? Address U
V v ? Address V
W w ? Address W
X x Address X
Y y Address Y
Z z Address Z
209
C. LIST OF TAPE CODE APPENDIX B–62622EN/02
CR ___ *
SP SP *
% ER
( (2–4–5)
) (2–4–7)
+ + *
– –
: ___
/ /
. .
# ___
$ ___ *
& & *
___ *
* ___ *
, , *
; ___ *
< ___ *
= ___ *
> ___ *
? ___ *
@ ___ *
” ___ *
Notes
1. Codes with *in the remarks column are ignored in the significant information
section.
2 Codes with ? in the remarks column cause an alarm in the significant information
section but are registered in memory.
3 Codes not in this table are ignored if their parity is correct.
4 Codes with incorrect parity cause the TH alarm. But they are ignored without
generating the TH alarm when they are in the comment section.
5. A character with all eight holes punched is ignored and does not generate TH alarm
in EIA code.
210
B–62622EN/02 INDEX
– NUMBERS – Buffer Register, 137
AUTOMATIC CORNER DECELERATION, 120 COORDINATE SYSTEM ROTATION (G68, G69), 104
–E– –H–
EMERGENCY STOP, 184 Handle Interruption, 139
ERROR DETECTION, 34 HELP FUNCTION, 166
EXACT STOP (G09), 35 HIGH-SPEED M/S/T/B INTERFACE, 66
EXACT STOP MODE (G61), 35
EXECUTION OF AUTOMATIC OPERATION, 137
EXPANDED PART PROGRAM EDITING, 173 –I–
Explanation of the Function Keys, 151 IGNORING T-CODE, 58
EXPLANATION OF THE KEYBOARD, 150 IN–POSITION SIGNAL, 193
Explanation of the Soft Keys, 152 INCH INPUT SIGNAL, 194
EXTERNAL ALARM MESSAGE, 196 INCH/METRIC CONVERSION (G20, G21), 48
EXTERNAL CONTROL OF I/O DEVICE, 173 INCREASED CUSTOM MACRO COMMON VARIABLES, 116
EXTERNAL DATA INPUT, 195 INCREMENT SYSTEM, 17
EXTERNAL DECELERATION, 188 INCREMENTAL FEED, 132
EXTERNAL MACHINE ZERO POINT SHIFT, 196 Input Unit (10 Times), 18
EXTERNAL MEMORY AND SUB PROGRAM CALLING FUNC- INPUT/OUTPUT DEVICES, 179
TION, 71
INTERLOCK, 187
EXTERNAL OPERATION FUNCTION, 54
Interlock for Each Axis Direction, 187
EXTERNAL OPERATOR’S MESSAGE, 197
Interlock per Axis, 187
EXTERNAL PROGRAM INPUT, 180
INTERPOLATION FUNCTIONS, 22
EXTERNAL PROGRAM NUMBER SEARCH, 196 INTERRUPTION TYPE CUSTOM MACRO, 116
EXTERNAL TOOL COMPENSATION, 196
EXTERNAL WORKPIECE COORDINATE SYSTEM SHIFT, 196
External Workpiece Number Search, 135 –J–
Externally Setting the Stroke Limit, 186
Jog Override, 29
–F– –K–
F1-digit (Programmable Rapid Traverse Override), 29 KEY INPUT FROM PMC (EXTERNAL KEY INPUT CONTROL),
Fanuc Floppy Cassette, 179 198
MANUAL HANDLE FEED (2ND, 3RD), 132 Per Minute Feed (G94), 28
PLANE SELECTION (G17, G18, G19), 45
MANUAL INTERRUPTION DURING AUTOMATIC OPERATION,
139 POSITION SWITCH FUNCTION, 194
MANUAL OPERATION, 131 POSITIONING (G00), 23
MANUAL PRESS, 54 POSITIONING AND NO PRESS START SIGNAL (G70), 54
MANUAL REFERENCE POSITION RETURN, 37 Positioning to Smaller Angle Rotation Direction, 129
MAXIMUM STROKE, 19 PREPARATORY FUNCTIONS, 20
MDI Operation, 134 PRESS ACTIVATION LOCK, 54
MEASUREMENT FUNCTIONS, 107 PRESS FUNCTIONS, 49
NUMBER OF THE ALL CONTROLLED AXES, 15 Remote Buffer (only at 1–path Control), 123
Setting a Workpiece Coordinate System (Using G54 to G59), 42 TOOL COMPENSATION FUNCTION, 93
01 Apr., ’95