63173en1 PDF
63173en1 PDF
B-63173EN-1/02
Ȧ No part of this manual may be reproduced in any form.
Ȧ All specifications and designs are subject to change without notice.
This manual includes safety precautions for protecting the user and preventing damage to the
machine. Precautions are classified into Warning and Caution according to their bearing on safety.
Also, supplementary information is described as a Note. Read the Warning, Caution, and Note
thoroughly before attempting to use the machine.
WARNING
Applied when there is a danger of the user being injured or when there is a damage of both the user
being injured and the equipment being damaged if the approved procedure is not observed.
CAUTION
Applied when there is a danger of the equipment being damaged, if the approved procedure is not
observed.
NOTE
The Note is used to indicate supplementary information other than Warning and Caution.
s–1
B–63173EN–1/02 PREFACE
PREFACE
Applicable models The models covered by this manual, and their abbreviations are :
Model name Abbreviation
NOTE
Some functions described in this manual may not be applied
to some products.
For details, refer to the DESCRIPTIONS manual
(B–63172EN).
p–1
PREFACE B–63173EN–1/02
Signal description Relation of interface signals among the CNC, the PMC and the machine
tool is shown below:
[For Power Mate i–D (one–path control) and Power Mate i–H]
G000– X000–
Path 1
F000– Y000–
PMC Machine
G1000– tool
Path 2
F1000–
NOTE
1 In Power Mate i–D (two–path control), the signals of the
same functions are prepared for both of path 1 and path 2.
These signals have suffix #1 and #2 to their signal names
on path 1 and path 2, respectively.
When a signal is common to both paths, the signal is
prepared only to path 1 and the suffix #1 and #2 are not
attached.
2 For the signals, a single data number is assigned to 8 bits.
Each bit has a different meaning.
p–2
B–63173EN–1/02 PREFACE
D Expression of signals
Address Symbol (#0 to #7 indicates bit position)
#7 #6 #5 #4 #3 #2 #1 #0
F000 OP SA STL SPL RWD
Bit
0 or 1
Bit axis
Byte
0 – "127 In some parameters, signs are ig-
Byte axis 0 – 255 nored.
Word
0 – "32767 In some parameters, signs are ig-
Word axis 0 –65535 nored.
2–word
0 – "99999999
2–word axis
NOTE
1 For the bit type and bit axis type parameters, a single data
number is assigned to 8 bits. Each bit has a different
meaning.
2 The axis type allows data to be set separately for each
control axis.
3 The valid data range for each data type indicates a general
range. The range varies according to the parameters. For
the valid data range of a specific parameter, see the
explanation of the parameter.
p–3
PREFACE B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
0000 SEQ INI ISO TVC
D Notation of parameters
other than bit type and
bit axis type
Data No. Data
NOTE
In an item where both Power Mate i–D and Power Mate i–H
are described, parameters having different meanings
between the Power Mate i–D and Power Mate i–H and
parameters that are valid only for the Power Mate i–D or
Power Mate i–H are indicated in two levels as shown below.
Parameters left blank are unavaliable.
[Example 1]
IPR and ISC are parameters common to the Power Matei–D and Power
Matei–H series, but ISA is parameter valid only for the Power
Matei–H.
#7 #6 #1 #0
IPR ISC Power Matei–D
1004
ISC ISA Power Matei–H
[Example 2]
The following parameter is provided only for the Power Matei–D.
p–4
B–63173EN–1/02 PREFACE
Related Manuals The table below lists manuals related to MODEL D and MODEL H of
Power Mate i.
In the table, this manual is marked with an asterisk(*).
Table 1 Related manuals
Specification
Manual name
Number
DESCRIPTIONS B–63172EN
CONNECTION MANUAL (HARDWARE) B–63173EN
Related manuals of The following table lists the manuals related to SERVO MOTOR αi/βi
SERVO MOTOR αi/βi series
series Table 2.1 Related manuals of SERVO MOTOR αi/βi series
Specification
Manual name
Number
FANUC AC SERVO MOTOR αis series
FANUC AC SERVO MOTOR αi series B–65262EN
DESCRIPTIONS
FANUC AC SPINDLE MOTOR αi series
B–65272EN
DESCRIPTIONS
FANUC AC SERVO MOTOR βis series
B–65302EN
DESCRIPTIONS
FANUC AC SPINDLE MOTOR βi series
B–65312EN
DESCRIPTIONS
FANUC SERVO AMPLIFIER αi series
B–65282EN
DESCRIPTIONS
FANUC SERVO AMPLIFIER βi series
B–65322EN
DESCRIPTIONS
FANUC SERVO MOTOR αis series
FANUC SERVO MOTOR αi series
FANUC AC SPINDLE MOTOR αi series B–65285EN
FANUC SERVO AMPLIFIER αi series
MAINTENANCE MANUAL
FANUC SERVO MOTOR βis series
FANUC AC SPINDLE MOTOR βi series
B–65325EN
FANUC SERVO AMPLIFIER βi series
MAINTENANCE MANUAL
FANUC AC SERVO MOTOR αi series
FANUC AC SERVO MOTOR βi series B–65270EN
PARAMETER MANUAL
FANUC AC SPINDLE MOTOR αi series
FANUC AC SPINDLE MOTOR βi series B–65280EN
PARAMETER MANUAL
The CNCs explained in this manual can connect only to the servos and
spindles (for the Power Mate i–D only) mentioned above.
p–5
PREFACE B–63173EN–1/02
Related manuals of
SERVO MOTOR β series Table 2.1 Related manuals of SERVO MOTOR β series
Specification
Manual name
Number
FANUC AC SERVO MOTOR β series DESCRIPTIONS B–65232EN
FANUC AC SERVO MOTOR β series
B–65235EN
MAINTENANCE MANUAL
FANUC AC SERVO MOTOR β series (I/O Link Option)
B–65245EN
MAINTENANCE MANUAL
p–6
B–63173EN–1/02 Table of Contents
DEFINITION OF WARNING, CAUTION, AND NOTE . . . . . . . . . . . . . . . . . . . . . . . . . . s–1
PREFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p–1
1. AXIS CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 SETTING EACH AXIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.1 Name of Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.2 Increment System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.3 Specifying the Rotation Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2.4 Controlled Axes Detach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2.5 Outputting the Movement State of an Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.2.6 Mirror Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.2.7 Follow–up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.2.8 Servo Off (Mechanical Handle) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.2.9 Position Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.2.10 High–speed Position Switch (Including “Judging a Passing Direction Type”) . . . . . . . . . . . . . . . . . . . 27
1.3 ERROR COMPENSATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
1.3.1 Stored Pitch Error Compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
1.3.2 Backlash Compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
1.3.3 Straightness Compensation B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
1.4 SETTINGS RELATED TO SERVO–CONTROLLED AXES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
1.4.1 Parameters Related to Servo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
1.4.2 Absolute Position Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
1.4.3 FSSB Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
1.4.4 FSSB Serial Feedback Dummy Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
1.5 SETTINGS RELATED WITH COORDINATE SYSTEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
1.5.1 Machine Coordinate System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
1.5.2 Workpiece Coordinate System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
1.5.3 Rotary Axis Roll Over . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
1.6 SIMPLE SYNCHRONOUS CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
1.7 TANDEM CONTROL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
1.8 HIGH RESPONSE FUNCTION (Power Mate i–H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
1.8.1 Available G Code in High Response Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
1.8.1.1 G00 (Positioning) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
1.8.1.2 G01 (Linear interpolation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
1.8.1.3 G04 (Dwell) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
1.8.1.4 G28 (Reference position return) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
1.8.1.5 G31 (Skip function) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
1.8.1.6 G90, G91 (Absolute and incremental programming) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
1.8.1.7 G92 (Setting a workpiece coordinate system) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
1.8.1.8 G135.1 (Continuous feed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
1.8.1.9 Rate–feed function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
1.8.1.10 G135.3 (Motion command with acceleration/deceleration time constant) . . . . . . . . . . . . . . . 171
1.8.2 Auxiliary function in high response mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
1.8.2.1 M99 in high response function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
1.8.2.2 Direct signal output function in high response function . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
1.8.3 Custom Macro in the High Response Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
1.8.3.1 Macro statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
1.8.3.2 Referring to variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
c–1
Table of Contents B–63173EN–1/02
c–2
B–63173EN–1/02 Table of Contents
c–3
Table of Contents B–63173EN–1/02
c–4
B–63173EN–1/02 Table of Contents
c–5
Table of Contents B–63173EN–1/02
12.DISPLAY/SET/EDIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734
12.1 DISPLAY/SET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 735
12.1.1 Clock Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 735
12.1.2 Displaying Operation History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 736
12.1.3 Help Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738
12.1.4 Displaying Alarm History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738
12.1.5 Servo Tuning Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739
12.1.6 Spindle Setting and Tuning Screen (Power Mate i–D only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739
12.1.7 Self–diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740
c–6
B–63173EN–1/02 Table of Contents
14.MEASUREMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 857
14.1 TOOL LENGTH MEASUREMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858
14.2 SKIP FUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
14.2.1 Skip Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
14.2.2 Multi–step Skip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 862
14.2.3 High–Speed Skip Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 865
14.2.4 High–Speed Skip Function (with Traveling Distance from Skip Signal) . . . . . . . . . . . . . . . . . . . . . . . 872
14.3 Measuring function by using high–speed skip signal (Power Mate i–H) . . . . . . . . . . . . . . . . . . . . . 881
c–7
Table of Contents B–63173EN–1/02
c–8
B–63173EN–1/02 Table of Contents
APPENDIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1059
A. INTERFACE BETWEEN CNC AND PMC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1061
A.1 LIST OF ADDRESSES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1062
A.1.1 Power Mate i–MODEL D/H List of Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1062
A.2 SIGNAL SUMMARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1100
A.2.1 Signal Summary (In Order of Functions) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1100
A.2.2 List of Signals (In Order of Symbols) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1125
A.2.3 List of Signals (In Order of Addresses) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1147
c–9
B–63173EN–1/02 1. AXIS CONTROL
1 AXIS CONTROL
1
1. AXIS CONTROL B–63173EN–1/02
1.1
CONTROLLED AXES
General
Parameter
1010 Number of CNC–controlled axes
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
2
B–63173EN–1/02 1. AXIS CONTROL
NOTE
After this parameter has been set, the power must be
turned off then back on to enable the setting.
015 TOO MANY AXES COM- The number of the commanded axes
MANDED exceeded that of simultaneously con-
trolled axes. Correct the program.
5150 PARAM (No. 1011) A value specified as the maximum
SETTING ERROR number of controlled axes (parameter
No. 1011) is invalid. Correct the param-
eter setting.
Note
NOTE
The overall position display screen and the position display
screen for manual handle interrupt can display up to eight
axes.
Reference item
OPERATOR’S MANUAL II.2.1 Controlled Axes
(B–63174EN)
3
1. AXIS CONTROL B–63173EN–1/02
1.2
SETTING EACH AXIS
1.2.1
Name of Axes
General Each axis that is controlled by the CNC (including those controlled by the
PMC) must be named. Select and set names from among X, Y, Z, A, B,
C, U, V, and W (with parameter No. 1020).
The same name cannot be assigned to more than one axis.
For two–path control, the same axis name can be used with the other path.
Parameter
1020 Name of the axis used for programming for each axis
Y 89 V 86 B 66
Z 90 W 87 C 67
NOTE
1 The same axis name cannot be assigned to more than one
axis.
2 With 2–path control, when information (such as the current
position) about each axis is displayed on the CRT screen,
an axis name may be followed by a subscript to indicate a
path number (e.g.,X1 and X2). This is an axis name to help
the user to easily understand which path an axis belongs to.
When writing a program, the user must specify X, Y, Z, U,
V, W, A, B, and C without attaching a subscript.
Reference item
OPERATOR’S MANUAL II.2.2 NAMES OF AXES
(B–63174EN)
4
B–63173EN–1/02 1. AXIS CONTROL
1.2.2
Increment System
General The increment system consists of the least input increment (for input ) and
least command increment (for output). The least input increment is the
least increment for programming the travel distance. The least command
increment is the least increment for moving the tool on the machine. Both
increments are represented in mm, inches, or degrees.
The increment system is classified into IS–A, IS–B, and IS–C (Tables
1.2.2(a), 1.2.2 (b), and 1.2.2(c)). Select IS–B or IS–C using bit 0(ISA)
of parameter No. 1004 or bit 1 (ISC) of parameter No. 1004. When
selecting IS–C, the option of increment system 1/10 is necessary.
NOTE
The IS–A cannot be used in the Power Mate i–D.
Table 1.2.2 (a) Increment system IS–A (Power Mate i–H only)
Least input increment Least command increment
Metric mm 0.01mm 0.01mm
system input
0.01deg 0.01deg
machine
inch 0.001inch 0.01mm
input
0.01deg 0.01deg
Inch mm 0.01mm 0.001inch
system input
0.01deg 0.01deg
machine
inch 0.001inch 0.001inch
input
0.01deg 0.01deg
5
1. AXIS CONTROL B–63173EN–1/02
NOTE
Parameter IPR (No. 1004#7) can make the least input
increment of IS–B and IS–C ten times the least command
increment on each axis.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0000 INI
#7 #6 #5 #4 #3 #2 #1 #0
1001 INM
NOTE
When this parameter is set, the power must be turned off
before operation is continued.
6
B–63173EN–1/02 1. AXIS CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
1004 IPR ISC
IPR ISC ISA
NOTE
When this parameter is set, the power must be turned off
before operation is continued.
NOTE
The IS–A cannot be used in the Power Mate i–D.
IPR Whether the least input increment for each axis is set to a value 10 times as
large as the least command increment is specified, in increment systems
of IS–B and IS–C, mm input.
0 : The least input increment is not set to a value 10 times as large as the
least command increment.
1 : The least input increment is set to a value 10 times as large as the least
command increment.
If IPR is set to 1, the least input increment is set as follows:
Input increment Least input increment
IS-B 0.01 mm, 0.01 deg, or 0.0001 inch
IS-C 0.001 mm, 0.001 deg, or 0.00001 inch
NOTE
For IS–A, the least input increment cannot be set to a value
10 times as large as the least command increment.
When inch of input is specified, the least input increment
does not become 10 times as large as the least command
increment.
Reference item
OPERATOR’S MANUAL II.2.3 Increment System
(B–63174EN)
7
1. AXIS CONTROL B–63173EN–1/02
1.2.3
Specifying the
Rotation Axis
General Bit 0 (ROTx) of parameter No. 1006 can be used to set each axis to a linear
axis or rotation axis.
When the roll over function is used, the values displayed for absolute
coordinates are rounded by the shift amount per rotation, as set in
parameter No. 1260. This can prevent coordinates for the rotation axis
from overflowing. Displayed values for relative coordinates are also
rounded by the angle corresponding to one rotation when bit 2 (RRLx) of
parameter No. 1008 is set to 1. The roll–over function is enabled by
setting bit 0 (ROAx) of parameter No. 1008 to 1.
For an absolute command, the coordinates after the tool has moved are
values rounded by the angle corresponding to one rotation set in
parameter No. 1260. The tool moves in the direction in which the final
coordinates are closest when bit 1 of parameter No. 1008 is set to 0. For
an incremental command, the tool moves the angle specified in the
command.
8
B–63173EN–1/02 1. AXIS CONTROL
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1006 ROSx ROTx
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
0 0 Linear axis
(1) Inch/metric conversion is done.
(2) All coordinate values are linear axis type.
(Not rounded in 0 to 360°)
(3) Stored pitch error compensation is linear axis type
(Refer to parameter No. 3624)
#7 #6 #5 #4 #3 #2 #1 #0
1008 RRLx RABx ROAx
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
9
1. AXIS CONTROL B–63173EN–1/02
NOTE
ROAx specifies the function only for a rotation axis (for
which ROTx, #0 of parameter No. 1006, is set to 1)
NOTE
RABx is valid only when ROAx is 1.
NOTE
1 RRLx is valid only when ROAx is 1.
2 Assign the amount of the shift per one rotation in parameter
No. 1260.
NOTE
1 After setting the parameter, turn off the power once and turn
it on again to operate the machine.
2 This parameter is valid only when ROAx = 1.
Reference item
OPERATOR’S MANUAL II.16.1 Rotary Axis Roll–over
(B–63174EN)
10
B–63173EN–1/02 1. AXIS CONTROL
1.2.4
Controlled Axes
Detach
General These signals release the specified control axes from control.
When attachments are used (such as a detachable rotary table), these
signals are selected according to whether the attachments are mounted.
When multiple rotary tables are used in turn, the tables must use motors
of the same model. Pulsecoder with absolute detector cannot be used.
Signal
[Operation] When the signals are 1, the control unit operates as follows:
1) Position control is not executed at all. Servo motor excitation is cut.
2) Servo alarm on the axis is ignored.
3) Axis interlock signal is assumed to be zero on the detached axis.
4) A command for automatic or manual operation is effective for the axis,
but do not execute the command. The command is accepted but the
operation is restrained, because the axis interlock is 0. In an automatic
operation, the execution may stop and hold at the block.
5) Position display also displays the position of the detached axis.
11
1. AXIS CONTROL B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G124 DTCH8 DTCH7 DTCH6 DTCH5 DTCH4 DTCH3 DTCH2 DTCH1
#7 #6 #5 #4 #3 #2 #1 #0
F110 MDTCH8 MDTCH7 MDTCH6 MDTCH5 MDTCH4 MDTCH3 MDTCH2 MDTCH1
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0012 RMVx
At least one of these parameters can also be set on the ”Setting screen”.
[Data type] Bit axis
RMVx Releasing the assignment of the control axis for each axis
0 : Not released
1 : Released
NOTE
RMVx is valid when RMBx (bit 7 of parameter No. 1005) is
1.
12
B–63173EN–1/02 1. AXIS CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
1005 RMBx
NOTE
If the servo motor for an axis is connected to a 2–axis or
other multiaxis amplifier, releasing the axis from control
causes servo alarm 401 (V ready off) to be output. This
alarm can be disabled by this parameter. When the servo
motor is disconnected from the CNC, however, servo alarm
401 is output, regardless of the value of the parameter, due
to the nature of multiaxis amplifier.
Caution
CAUTION
When a 2–axis or 3–axis amplifier is used, releasing only
one axis from control results in the output of servo alarm 401
(V ready off). Use 1–axis amplifiers for those axes to be
released from control, e.g., by replacing the rotary table.
Note
NOTE
1 Controlled axis detach signals DTCH1 <G124#0>, DTCH2
<G124#1>, DTCH3 <G124#2>, … can be changed from 1
to 0 or from 0 to 1 when the power is first turned on or when
no movement is being executed along the corresponding
axis. If these signals are changed from 0 to 1 when the tool
is moving along the corresponding axis, the axis is released
from control upon completion of the movement.
2 For these signals to be attached, parameter No. 1005#7
must be set, indicating the axes are detachable.
3 Setting parameter No. 0012#7 from the MDI panel detaches
the axes in the same way as these signals.
4 Those axes that are released from control lose their
reference positions. Reference position return must,
therefore, be performed for the axes prior to executing move
commands for the axes. Specifying a move command
before reference position return has been performed
causes alarm 224 to be output. (If it is unnecessary to
specify a reference position, using the parameter ZRNx (bit
0 of parameter No. 1005) can prevent a P/S alarm (No.
224)).
13
1. AXIS CONTROL B–63173EN–1/02
1.2.5
Outputting the
Movement State of an
Axis
General The movement state of each axis can be output to the PMC.
Signal
14
B–63173EN–1/02 1. AXIS CONTROL
[Output condition] “1” indicates the corresponding axes are moving in the minus direction,
and “0” indicates they are moving in the plus direction.
CAUTION
These signals maintain their existing condition during a
stop, indicating the direction of the axes’ movement before
being stopped.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F102 MV8 MV7 MV6 MV5 MV4 MV3 MV2 MV1
#7 #6 #5 #4 #3 #2 #1 #0
F106 MVD8 MVD7 MVD6 MVD5 MVD4 MVD3 MVD2 MVD1
Caution
CAUTION
Axis moving direction signals are output in both automatic
and manual operations.
15
1. AXIS CONTROL B–63173EN–1/02
1.2.6
Mirror Image
X
B
A B’
Z
0
When MI1 signal turned to “1” at point A
Mirror image
Signal
16
B–63173EN–1/02 1. AXIS CONTROL
The mirror image signal can be turned to “1” in the following cases:
a) During offset cancel;
b) When the CNC is in the automatic operation stop state and not in the
feed hold state.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G106 MI8 MI7 MI6 MI5 MI4 MI3 MI2 MI1
#7 #6 #5 #4 #3 #2 #1 #0
F108 MMI8 MMI7 MMI6 MMI5 MMI4 MMI3 MMI2 MMI1
17
1. AXIS CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0012 MIRx
At least one of these parameters can also be set on the ”Setting screen”.
[Data type] Bit axis
MIRx Mirror image for each axis
0 : Mirror image is off.
1 : Mirror image is on.
Caution
CAUTION
Even when the mirror image is applied, commands which do
not actuate mirror image (such as automatic reference
position return and manual operation) do not affect mirror
image check signals MMI1 to MMI8 <F108>.
Reference item
OPERATOR’S MANUAL V.4.5 Mirror Image
(B–63174EN)
18
B–63173EN–1/02 1. AXIS CONTROL
1.2.7
Follow–up
General When position control is disabled for the controlled axes (when the servo
is off, during emergency stop, or during a servo alarm), if the machine is
moved, a positional error occurs. Follow–up is a function for changing
the current position of the CNC and reset the error counter to zero,
assuming a command corresponding to the error has been specified.
You can select whether to perform follow–up for axes for which the servo
is turned off.
Follow–up is always performed during emergency stop or a servo alarm.
D When follow–up is not When signal *FLWU is 1, follow–up is not performed. The error is added
performed for the axes to the error counter as a servo error. In this case, the machine moves to
for which the servo is compensate for the error when the servo off signal changes to 0.
turned off In general, follow–up is not used if the machine is mechanically clamped
when position control is disabled for the controlled axes.
D When follow–up is When *FLWU is “0”, the follow-up function is engaged. The present
performed for the axes position of the CNC is changed to reset the error counter to zero. The
for which the servo is machine tool remains in a deviated position, but since the present position
turned off of the CNC changes correspondingly, the machine moves to the correct
position when the absolute command is next applied.
In general, follow–up should be used when motors are driven by
mechanical handles.
Signal
Follow–up signal
*FLWU <G007#5>
[Classification] Input signal
[Function] Select whether to perform follow–up when the servo is turned off.
[Operation] 0: Performs follow–up.
1: Does not perform follow–up.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G007 *FLWU
Reference item
CONNECTION MANUAL 1.2.8 Servo Off (Mechanical handle)
(This manual)
19
1. AXIS CONTROL B–63173EN–1/02
1.2.8
Servo Off (Mechanical
Handle)
General Place the controlled axes in the servo off state; that is, they stop the current
to the servo motor, which disables position control. However, the
position detection feature functions continuously, so the current position
is not lost.
These signals are used to prevent the servo motors from overloading when
the tools on the axes are mechanically clamped under certain machining
conditions on the machine, or to move the machine by driving the motors
by mechanical handles.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G126 SVF8 SVF7 SVF6 SVF5 SVF4 SVF3 SVF2 SVF1
20
B–63173EN–1/02 1. AXIS CONTROL
Caution
CAUTION
1 In general, interlock is applied to an axis while the servo off signal for that axis is 1.
2 When one of these signals turns to “1”, the servo motor is turned off. The mechanical clamp
is done by using the auxiliary function. Set the timing for the auxiliary function, mechanical
clamp and servo off signals as shown in the diagram below.
Do not execute the auxiliary function of the clamp command during axis movement.
Clamp command Unclamp command
MF
Machine
clamp
Servo off state
SVF1, ...
FIN
3 When an axis is placed in Servo–Off state during cycle start under the setting of enabling follow
up (*FLWU<G007#5>=0) and machine is moved by external force, the amount of this moving
cannot be reflected to the coordinate immediately. Then, the coordinate is shifted by the
amount of moving and the path of an axis is also shifted as a following figure.
Moved by
external
force during
Servo–Off Programmed
Servo–Off
machine path
There are following methods to reflect the amount of moving to the coordinate. It is necessary
to set the coordinate by following methods not to shift the machine path and then execute the
absolute command block. The path is as follows.
21
1. AXIS CONTROL B–63173EN–1/02
CAUTION
S After Servo–On is performed, the work coordinate setting that sets the current position to
the coordinate should be performed before the axis moving,.
Ex.
N10 G00 X10. Y20.; The machine is moved by external
force during servo off and then
N20 G01 X100. Y100. F500; ←
servo on while the block number
N30 M44;
N20 is executing.
N40 G92 X#5041 Y#5042;
N50 G90 G01 X50. Y150. F800;
N60 G01 X70. Y200.;
#5041:Current absolute coordinate of X axis
#5042:Current absolute coordinate of Y axis
N30,40
Absolute command block
Servo–On
N50
Actual machine path
Moved by
external
force during N20
N60
N10 Programmed
Servo–Off
machine path
S Automatic operation starts again after stopping the automatic operation by reset, single
block stop or feed hold.
4. When an axis is placed in Servo–Off state during cycle start under the setting of disabling follow
up (*FLWU<G007#5>=1) and machine moved by external force, the amount of the moving is
pulled back at a time at Servo–On. So the machine path is not shifted after this.
The amount moved by external force during Servo–Off is accumulated into the inner of NC as
servo following error. So the machine moves to compensate the error when Servo–On state
is applied. The velocity of this motion is based on the servo loop gain. Then there is possibility
that the machine is shocked if the moved amount is big.
Reference item
CONNECTION MANUAL 1.2.7 Follow–up
(This manual)
22
B–63173EN–1/02 1. AXIS CONTROL
1.2.9
Position Switch
General Position switch signals can be output to the PMC while the machine
coordinates along a controlled axes are within a specified ranges.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F070 PSW08 PSW07 PSW06 PSW05 PSW04 PSW03 PSW02 PSW01
23
1. AXIS CONTROL B–63173EN–1/02
Parameter
D Specifying whether to
output the position #7 #6 #5 #4 #3 #2 #1 #0
switch signals during 6901 IGP
absolute–position
detector follow–up IGP Specifies whether to output the position switch signals during
absolute–position detector follow–up, as follows:
0 : To output
1 : Not to output
D Setting the
correspondence
between the position
switch signals and the
controlled axes
6910 Axis corresponding to the first position switch
NOTE
Set 0 for those position switch numbers that are not to be
used.
24
B–63173EN–1/02 1. AXIS CONTROL
D Maximum operation
range 6930 Maximum operation range of the first position switch
25
1. AXIS CONTROL B–63173EN–1/02
D Minimum operation
range 6950 Minimum operation range of the first position switch
26
B–63173EN–1/02 1. AXIS CONTROL
1.2.10
High–speed Position
Switch (Including
“Judging a Passing
Direction Type”)
Outline When an axis is positioned within the range given by the machine
coordinate, this function turns on the DO (position switch) signal. There
are two types of position switch. One is ”normal type”. And another is
”judging a passing direction type”. (Hereafter, ”High speed position
switch” means both ”normal type” and ”judging a passing direction type”
if there is no special attention.)
Normal type
When an axis is positioned within the specified range, the signal of the
built–in I/O is turned on. When an axis is positioned out of the
specified range, the signal is turned off. As the interval to watch a
signal is shorter than that of the conventional type, this function makes
it possible to watch the axis position with higher precision.
Specified range
27
1. AXIS CONTROL B–63173EN–1/02
NOTE
D This function is an optional function. In order to use “normal
type high speed position switch” or “judging a passing
direction type position switch” is used, the “high speed
position switch” option is also necessary.
D The appropriate version of the PMC control software and
the digital servo control software is required for this function.
If the version is not appropriate, an alarm No.5800 is
generated.
Explanation Both ”normal type” and ” judging a passing direction type” calculate the
current position by the machine coordinate and the feedback of position
detector at every 2msec, and check the condition whether a position
switch signal should be turned on or not.
The following selections are prepared.
D Output method of position switch (normal type or judging a passing
direction type)
Select by the parameter No.8504, 8505
D Point number of position switch
Select up to 16 points by the parameter No.8516.
D Top address of PMC Y area to output position switch signal
Select by the parameter No.8517. If not existed address is specified,
high speed position switch can not be used.
The first high–speed position switch is assigned to the bit 0 of the PMC
Y area specified by the parameter No.8517. The second high–speed
position switch is assigned to the bit 1. And so on.
Ex) In case the parameter No.8516=16 and the parameter
No.8517=1001:
Y1001#0 ––– the first high speed position switch signal
Y1001#1 ––– the second high speed position switch signal
: :
Y1002#7 ––– the sixteenth high speed position switch signal
D Axis corresponding to each high speed position switch
Set by the parameter No.8520 to No.8535. If the set value is zero, the
high–speed position switch is not effective.
The above description is common both to normal type and judging a
passing direction type. The difference of two types is described below.
28
B–63173EN–1/02 1. AXIS CONTROL
Normal type high speed In normal type high–speed position switch, when an axis is positioned
position switch within the specified range, the signal is output to the Y address of the
built–in I/O.
NOTE
If the maximum value is less than the minimum value in a
linear axis, the high–speed position switch is never turned
on because there is no effective range. If the maximum
value is less than the minimum value in a rotary axis, the
range to output a signal is the range including the point of
0 degree.
Ex)
0 degree (= 360degree)
29
1. AXIS CONTROL B–63173EN–1/02
Judging a passing In judging a passing direction type high–speed position switch, when an
direction type high speed axis passes by a specified point (point A) in a specified direction, the
position switch signal in Y address of the built–in I/O is turned on. When an axis passes
by another specified point (point B) in a specified direction, the signal in
Y address of the built–in I/O is turned off. In case the point to turn on a
signal is different from the point to turn off, this type should be applied.
Effective direction Effective direction
of point B: of point A:
Nos.8512–8513 Nos.8508–8509
n–th axis
(current position)
Axis assignment: Point B: Point A:
Nos.8520–8535 Nos.8580–8595 Nos.8550–8565
30
B–63173EN–1/02 1. AXIS CONTROL
(Example)
The outline of the action of judging a passing direction type high–speed
position switch is shown in the following Fig. 1.2.10.
(a)
Current
position
P
a e
P1
(Point A)
b d
P2
(Point B)
OFF
(1) (3) Time
Set up condition
D When an axis passes by the point P1 in the direction ↓ , the high
speed skip signal is turned on.
D When an axis passes by the point P2 in the direction ↑ , the high
speed skip signal is turned off.
In the Fig. 1.2.10, the horizontal axis represents time and the vertical axis
represents the absolute coordinate of the high–speed position switch. The
current position is moved from a to b, c, d and e with passing time.
In this case, the high–speed position switch is turned on/off as shown in
the Fig. 1.2.10 (b).
(1) When an axis moves from the point ”a” to the point ”b” by way of the
boundary ”P1” as shown in the Fig. 1.2.10 (a), a high–speed position
switch is turned on because the passing direction is the same as the
specified direction.
(2) When an axis moves to the point ”c” by way of the boundary ”P2”, a
high–speed position switch is not changed (is kept turning on) because
the passing direction is reverse to the specified direction.
(3) When an axis moves from the point ”c” to the point ”d” by way of the
boundary ”P2”, a high–speed position switch is turned off because the
passing direction is the same as the specified direction.
31
1. AXIS CONTROL B–63173EN–1/02
(4) After that, when an axis moves from the point ”d” to the point ”e” by
way of the boundary ”P1”, a high–speed position switch is not
changed (is kept turning off) because the passing direction is reverse
to the specified direction.
Caution D The high–speed position switch is effective only in the axis whose
reference position is established.
D If the reference position is lost while the position switch is active, the
status of the position switch is kept as it was till the reference position
is established again.
D In case that an absolute position detector is used, the status of the
high–speed position switch is not changed while the absolute
coordinate is being established by following up the position of the
absolute position detector. (This follow up is being performed from the
power–on or releasing an absolute position detector/servo alarm till
the absolute coordinate is established.) In this following up period, the
reference position is temporarily regarded as not established. The
high–speed position switch will work after this follow up.
NOTE
By setting the parameter No.1203#1 to ”1” and checking the
reference position establishment signal (ZRF1–ZEF8),
whether the reference position is lost or not can be judged.
Signal
32
B–63173EN–1/02 1. AXIS CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
Y1000 HPS08 HPS07 HPS06 HPS05 HPS04 HPS03 HPS02 HPS01
Y1001 Not used Not used Not used Not used Not used Not used HPS10 HPS09
Value of
No.9 to 16 8528 to 8535 8505 8558 to 8565 8588 to 8595 8501
No.8517+1
33
1. AXIS CONTROL B–63173EN–1/02
(*) The point A is the point where the judging a passing direction type
high–speed position switch is turned on. The point B is the point
where the judging a passing direction type high–speed position
switch is turned off.
Reference position
establishment signal #7 #6 #5 #4 #3 #2 #1 #0
ZRF1–ZRF8<F120> F120 ZRF8 ZRF7 ZRF6 ZRF5 ZRF4 ZRF3 ZRF2 ZRF1
[Function] Notify the system that the reference position has been established.
A reference position established signal is provided for each axis. The
number appended to each signal name indicates the number of the
controlled axis.
ZRF 1
1: 1st–axis reference position establishment signal
2: 2nd–axis reference position establishment signal
3: 3rd–axis reference position establishment signal
:
:
34
B–63173EN–1/02 1. AXIS CONTROL
NOTE
The new specification is selected by the parameter ZRC
(No.1203#1)=1.
In the new specification comparing with the conventional
specification, the condition to turning on/off the reference
position establishment signals (ZRF1–ZRF8) is different at
the following points.
D All the bits are turned off during following up the absolute
position detector. The bits corresponding to the axes
established the reference position (the axis whose
parameter APZ (No.1815#4) is set to 1) are turned on
automatically.
D While an absolute position detecter/serial pulsecoder
alarm occurs, the bit corresponding to the alarm axis is
turned off. But in case of an alarm 307 or 308 (battery low
alarm1, 2), the bit is not turned off. The bit, that is turned
off by an absolute position detecter/serial pulsecoder
alarm, is turned on again if the parameter APZ
(No.1815#4) of the axis is 1 after releasing alarm.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1203 ZRC
35
1. AXIS CONTROL B–63173EN–1/02
Supplement
The new specification is selected by the parameter
No.1203#1=1.
In the new specification comparing with the conventional
specification, the condition to turning on/off the reference
position establishment signals (ZRF1–ZRF8) is different at
the following points.
D All the bits are turned off during following up the absolute
position detector. The bits corresponding to the axes
established the reference position (the axis whose
parameter 1815#4(APZ) is set to 1) are turned on
automatically.
D While an absolute position detecter/serial pulsecoder
alarm occurs, the bit corresponding to the alarm axis is
turned off. But in case of an alarm 307 or 308 (battery low
alarm1, 2), the bit is not turned off. The bit, that is turned
off by an absolute position detecter/serial pulsecoder
alarm, is turned on again if the parameter
No.1815#4(APZ) of the axis is 1 after releasing alarm.
#7 #6 #5 #4 #3 #2 #1 #0
8500 E08 E07 E06 E05 E04 E03 E02 E01
NOTE
The signal that is set not to be effective by this parameter
can not be used for the purpose other than a high–speed
position switch.
36
B–63173EN–1/02 1. AXIS CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
8504 D08 D07 D06 D05 D04 D03 D02 D01
NOTE
When this parameter is set, the power must be turned off
before operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
8508 A08 A07 A06 A05 A04 A03 A02 A01
NOTE
In case of normal type, it is not necessary to set this
parameter.
37
1. AXIS CONTROL B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
8512 B08 B07 B06 B05 B04 B03 B02 B01
NOTE
In case of normal type, it is not necessary to set this
parameter.
38
B–63173EN–1/02 1. AXIS CONTROL
NOTE
D The value set by this parameter is the total of the points of
normal type and judging a passing direction type.
D When this parameter is set, the power must be turned off
before operation is continued.
D When set value is out of valid data range, high–speed
position switch is not effective.
The bigger value is set to this parameter, the more time is
needed for judging procedure. Then, it is recommended
that the same value as used switch number should be set
to this parameter.
But the number of the switches that is set not to be effective
by the parameter No.8500 to 8501 should be added to this
number. Then, this parameter must be set to the value
according to the largest number of high–speed position
switches.
Ex) When the first high–speed position switch, the fourth
high–speed position switch and the tenth
high–speed position switch are used, the value more
than 10 must be set to the parameter No.8516 even
if the other high–speed position switches are not
used. If just three points of high–speed position
switches are used, it is recommended that the
parameter No.8516 should be set to 3 and the first,
second and third high–speed position switch should
be used.
39
1. AXIS CONTROL B–63173EN–1/02
WARNING
1. When the high–speed position switch is used in both paths
of Power Mate i–D dual path control, the Y address for each
path must be set different.
Ex) In case 4 points are assigned to the first path and 4
points are assigned to the second path
(Right setting)
Parameter for the first path No.8516=4
No.8516=1000 (Y1000#0 to #3 are used)
Parameter for the second path No.8516=4
No.8516=1001 (Y1001#0 to #3 are used.)
(Wrong setting)
Parameter for the first path No.8516=4
No.8516=1000 (Y1000#0 to #3 are used)
Parameter for the second path No.8516=4
No.8516=1000 ← (Y1000#4 to #7 are used)
is not allowed.
2. The Y address that is accessed by the PMC ladder must not
be used for the high–speed position switch. If such Y
address is used by mistake, there is a possibility that the
machine performs unexpected motion.
NOTE
If this parameter is set, the power must be turned off before
operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
Y1000 HPS08 HPS07 HPS06 HPS05 HPS04 HPS03 HPS02 HPS01
40
B–63173EN–1/02 1. AXIS CONTROL
8520 Axis number correspond to the first high speed position switch
8521 Axis number correspond to the second high speed position switch
8522 Axis number correspond to the third high speed position switch
8523 Axis number correspond to the fourth high speed position switch
8524 Axis number correspond to the fifth high speed position switch
8525 Axis number correspond to the sixth high speed position switch
8526 Axis number correspond to the seventh high speed position switch
8527 Axis number correspond to the eighth high speed position switch
8528 Axis number correspond to the ninth high speed position switch
8529 Axis number correspond to the tenth high speed position switch
8530 Axis number correspond to the eleventh high speed position switch
8531 Axis number correspond to the twelfth high speed position switch
8532 Axis number correspond to the thirteenth high speed position switch
8533 Axis number correspond to the fourteenth high speed position switch
8534 Axis number correspond to the fifteenth high speed position switch
8535 Axis number correspond to the sixteenth high speed position switch
NOTE
In case of Power Mate i–D two–path control, this parameter
must be set to 1 in both paths.
Maximum value of the range to output the first signal (in case of normal type) or
8550
point to turn on the first signal (in case of judging a passing direction type)
Maximum value of the range to output the second signal (in case of normal type)
8551
or point to turn on the second signal (in case of judging a passing direction type)
Maximum value of the range to output the third signal (in case of normal type) or
8552
point to turn on the third signal (in case of judging a passing direction type)
Maximum value of the range to output the fourth signal (in case of normal type) or
8553
point to turn on the fourth signal (in case of judging a passing direction type)
41
1. AXIS CONTROL B–63173EN–1/02
Maximum value of the range to output the fifth signal (in case of normal type) or
8554
point to turn on the fifth signal (in case of judging a passing direction type)
Maximum value of the range to output the sixth signal (in case of normal type) or
8555
point to turn on the sixth signal (in case of judging a passing direction type)
Maximum value of the range to output the seventh signal (in case of normal type)
8556
or point to turn on the seventh signal (in case of judging a passing direction type)
Maximum value of the range to output the eighth signal (in case of normal type) or
8557
point to turn on the eighth signal (in case of judging a passing direction type)
Maximum value of the range to output the ninth signal (in case of normal type) or
8558
point to turn on the ninth signal (in case of judging a passing direction type)
Maximum value of the range to output the tenth signal (in case of normal type) or
8559
point to turn on the tenth signal (in case of judging a passing direction type)
Maximum value of the range to output the eleventh signal (in case of normal type)
8560
or point to turn on the eleventh signal (in case of judging a passing direction type)
Maximum value of the range to output the twelfth signal (in case of normal type) or
8561
point to turn on the twelfth signal (in case of judging a passing direction type)
Maximum value of the range to output the thirteenth signal (in case of normal type)
8562
or point to turn on the thirteenth signal (in case of judging a passing direction type)
Maximum value of the range to output the fourteenth signal (in case of normal type)
8563
or point to turn on the fourteenth signal (in case of judging a passing direction type)
Maximum value of the range to output the fifteenth signal (in case of normal type)
8564
or point to turn on the fifteenth signal (in case of judging a passing direction type)
Maximum value of the range to output the sixteenth signal (in case of normal type)
8565
or point to turn on the sixteenth signal (in case of judging a passing direction type)
42
B–63173EN–1/02 1. AXIS CONTROL
WARNING
This parameter has two different meaning, such as the
maximum value of the range to output the signal in case of
normal type and the point to turn on the signal in case of
judging a passing direction type. So be careful to set this
parameter not to mistake types.
Minimum value of the range to output the first signal (in case of normal type) or
8580
point to turn off the first signal (in case of judging a passing direction type)
Minimum value of the range to output the second signal (in case of normal type) or
8581
point to turn off the second signal (in case of judging a passing direction type)
Minimum value of the range to output the third signal (in case of normal type) or
8582
point to turn off the third signal (in case of judging a passing direction type)
Minimum value of the range to output the fourth signal (in case of normal type) or
8583
point to turn off the fourth signal (in case of judging a passing direction type)
Minimum value of the range to output the fifth signal (in case of normal type) or
8584
point to turn off the fifth signal (in case of judging a passing direction type)
Minimum value of the range to output the sixth signal (in case of normal type) or
8585
point to turn off the sixth signal (in case of judging a passing direction type)
Minimum value of the range to output the seventh signal (in case of normal type)
8586
or point to turn off the seventh signal (in case of judging a passing direction type)
Minimum value of the range to output the eighth signal (in case of normal type) or
8587
point to turn off the eighth signal (in case of judging a passing direction type)
Minimum value of the range to output the ninth signal (in case of normal type) or
8588
point to turn off the ninth signal (in case of judging a passing direction type)
Minimum value of the range to output the tenth signal (in case of normal type) or
8589
point to turn off the tenth signal (in case of judging a passing direction type)
Minimum value of the range to output the eleventh signal (in case of normal type)
8590
or point to turn off the eleventh signal (in case of judging a passing direction type)
Minimum value of the range to output the twelfth signal (in case of normal type) or
8591
point to turn off the twelfth signal (in case of judging a passing direction type)
Minimum value of the range to output the thirteenth signal (in case of normal type)
8592
or point to turn off the thirteenth signal (in case of judging a passing direction type)
Minimum value of the range to output the fourteenth signal (in case of normal type)
8593
or point to turn off the fourteenth signal (in case of judging a passing direction type)
Minimum value of the range to output the fifteenth signal (in case of normal type)
8594
or point to turn off the fifteenth signal (in case of judging a passing direction type)
Minimum value of the range to output the sixteenth signal (in case of normal type)
8595
or point to turn off the sixteenth signal (in case of judging a passing direction type)
43
1. AXIS CONTROL B–63173EN–1/02
WARNING
This parameter has two different meaning, such as the
minimum value of the range to output the signal in case of
normal type and the point to turn off the signal in case of
judging a passing direction type. So be careful to set this
parameter not to mistake types.
The details of the alarm No.5800 are displayed in the diagnostic data
No.50 and No.60.
44
B–63173EN–1/02 1. AXIS CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
Diagnostic data 50 SYS SVO PMC
#7 #6 #5 #4 #3 #2 #1 #0
Diagnostic data 60 HPS
NOTE
D When the alarm No.5800 occurs, the system enters into the
emergency stop state and any axes cannot be moved.
D When the high–speed position switch signal is not used, set
the value out of range (for instance No.8516=0 or so on.) to
the parameters No.8516 and No.8517, and the power is
turned off and on. Then the alarm No.5800 can be avoided.
Matters to pay attention 1 In normal type, if the range to output the signal is so small or an axis
moves so fast that the high–speed position switch may not output.
To avoid above, it is necessary to meet the following condition.
Maximum speed
(mm/min) Valid range (maximum value (mm)
<
30000 – minimum value (mm))
(When used unit is ”inch” or ”deg”, replace ”mm” part with ”inch” or
”deg”.)
In judging a passing direction type, there is a similar restriction. If the
direction to turn on at point A is the same as to turn off at point B, the
difference between the point A and B must be set larger than the left
part of above expression.
2 In rotary axis, feedrate must be given less than n 10000 (deg/min).
(n: moving distance per one rotation) If feedrate is faster than above
value, the high–speed position switch may not work correctly.
3 When normal type is used in a rotary axis, the range can be set to go
across the point of 0 degree.
Ex) In order to turn on the high–speed position switch within the
range from 350 degree to 10 degree when one rotation is 360
degree, the minimum value should be set to 350 degree and the
maximum value should be set to 10 degree.
45
1. AXIS CONTROL B–63173EN–1/02
46
B–63173EN–1/02 1. AXIS CONTROL
1.3
ERROR
COMPENSATION
1.3.1
Stored Pitch Error
Compensation
General If pitch error compensation data is specified, pitch errors of each axis can
be compensated in detection unit per axis.
Pitch error compensation data is set for each compensation position at the
intervals specified for each axis. The origin of compensation is the
reference position to which the tool is returned.
Pitch error compensation data can be set with external devices such as the
Handy File (see Operator’s manual). Compensation data can also be set
directly with the MDI panel.
The following parameters must be set for pitch error compensation. Set
the pitch error compensation value for each pitch error compensation
position number set by these parameters.
In the following example, 33 is set for the pitch error compensation
number at the reference position.
31 32 33 34 35 36 37
Reference position
–1
Compensationmagnification
parameter (No. 3623)
–2
Compensation number for the Compensation interval
compensation position having the parameter (No. 3624)
smallest value (No. 3621)
Compensation
31 32 33 34 35 36 37
position number
Compensation +3 –1 –1 +1 +2 –1 –3
value to be set
47
1. AXIS CONTROL B–63173EN–1/02
Procedure for displaying and setting the pitch error compensation data
3 Press the continuous menu key , then press chapter selection soft
Continuous menu key
key [PITCH].
The following screen is displayed:
keys, PAGE
and , and cursor keys, , , , and .
5 Enter a value with numeric keys and press the [INPUT] soft key.
48
B–63173EN–1/02 1. AXIS CONTROL
Explanations
D Specifying the To assign the compensation positions for each axis, specify the positive
compensation position direction or the negative direction in reference to the compensation
position No. of the reference position. If the machine stroke exceeds the
specified range on either the positive direction or the negative direction,
the pitch error compensation does not apply beyond the range.
D Compensation position 1024 compensation positions from No. 0 to 1023 are available on the
number pitch error setting screen. Assign arbitrary positions for each axis using
parameters.
The number of the compensation position at the reference position
(parameter No.3620), number of the compensation position having the
smallest value (parameter No.3621), and number of the compensation
position having the largest value (parameter No.3622) must be set for each
axis.
The name of each axis is displayed before the smallest compensation
position number on the pitch error setting screen.
Examples
D For linear axis ⋅ Machine stroke: –400 mm to +800 mm
⋅ Interval between the pitch error compensation positions: 50 mm
⋅ No. of the compensation position of the reference position: 40
If the above is specified, the No. of the farthest compensation position in
the negative direction is as follows:
No. of the compensation position of the reference position – (Machine
stroke on the negative side/Interval between the compensation
positions) + 1
= 40 – 400/50 + 1= 33
No. of the farthest compensation position in the positive direction is as
follows:
No. of the compensation position of the reference position + (Machine
stroke on the positive side/Interval between the compensation
positions)
= 40 + 800/50= 56
The correspondence between the machine coordinate and the
compensation position No. is as follows:
49
1. AXIS CONTROL B–63173EN–1/02
–2
Reference –3
position
–4
50
B–63173EN–1/02 1. AXIS CONTROL
45.0 315.0
(61) (68)
(60)
(62) (67)
(+)
90.0 270.0
(63) (66)
(64) (65)
135.0 225.0
180.0
Compensation values are output at the positions indicated by .
51
1. AXIS CONTROL B–63173EN–1/02
+3 Reference position
68 +2
(60)
+1 68
61 62 63 64 65 66 67 61 62 63 64 65 66 67 (60) 61 62
45 90 135 180 225 270 315 0 45 90 135 180 225 270 315 0 45 90 (deg)
–1
–2
–3
–4
Parameter
Number of the pitch error compensation position for the reference position for
3620
each axis
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
52
B–63173EN–1/02 1. AXIS CONTROL
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
NOTE
This value must be larger than set value of parameter (No.
3620).
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
3624 Interval between pitch error compensation positions for each axis
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
53
1. AXIS CONTROL B–63173EN–1/02
Warning
WARNING
1 Compensation value range
Compensation values can be set within the range from –7
x compensation magnification (detection unit) to +7 x
compensation magnification (detection unit). The
compensation magnification can be set for each axis within
the range from 0 to 100 in parameter No.3623.
2 Intervals of compensation positions
The pitch error compensation positions are arranged with
equally spaced. Set the space between two adjacent
positions for each axis to the parameter (No. 3624).
3 Pitch error compensation of the rotary axis
For the rotating axis, the interval between the pitch error
compensation positions shall be set to one per integer of the
amount of movement (normally 360°) per rotation. The sum
of all pitch error compensation amounts per rotation must be
made to 0. Also, set the same compensation value to a
position and the same position with one rotation.
4 Conditions where pitch error compensation is not
performed
Note that the pitch error is not compensated in the following
cases:
· When the machine is not returned to the reference
position after turning on the power. This excludes the
case where an absolute position detector is employed.
· If the interval between the pitch error compensation
positions is 0.
· If the compensation position Nos. on the positive or
negative direction do not fall within the range of 0 to
1023.
· If the compensation position Nos. do not conform to the
following relationship:
Negative side x Reference position < Positive side
54
B–63173EN–1/02 1. AXIS CONTROL
Reference item
OPERATOR’S MANUAL V 8.6.3 Inputting pitch error compensation
(B–63174EN) data
1.3.2
Backlash
Compensation
General
D Backlash compensation Function for compensating for lost motion on the machine. Set a
compensation value in parameter No. 1851, in detection units from 0 to
"9999 pulses for each axis.
Parameter
1851 Backlash compensating value for each axis
1.3.3
Straightness
Compensation B
General For a machine tool with a long stroke, deviations in the straightness
between axes may deteriorate machining accuracy. For this reason, when
an axis moves, other axes are compensated in detection units to improve
straightness. This improvement results in better machining accuracy.
When an axis (parameter No. 5711) moves, the corresponding
compensation axis (parameter No. 5721) is compensated. That is, the
compensation axis is compensated at the pitch error compensation
position (See 1.3.1 Stored Pitch error compensation) of the moving axis.
55
1. AXIS CONTROL B–63173EN–1/02
0 1 2 3 60 61 126 127
a d
γ
α
β
ε
b
a, b, c, d : Compensation position numbers of the moving axis.
(used pitch error compensation point number)
a, b, g, e : Compensation for compensation axis.
This compensation from point a to point b is calculated from the formula:(β–α)/(b–a)
Parameter
5711 Axis number of moving axis 1
56
B–63173EN–1/02 1. AXIS CONTROL
57
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 The straightness compensation B function can be used
after a moving axis and its compensation axis have returned
to the reference position.
2 After setting parameters for straightness compensation B,
be sure to turn off the CNC power.
3 Set parameters for straightness compensation B according
to the following conditions:
S The compensation at a compensation position must be
within the range –128 to 127.
S Compensation positions must be set so that
”avbvcvd” is satisfied.
S Compensation positions must exist between the
compensation position with the largest positive value and
that with the largest negative value in the stored pitch
error compensation data for each axis. Four
compensation position can be set to 0 at a time. In this
case, compensation is not performed.
4 To add the straightness compensation B function option, the
stored pitch error compensation option is needed. In this
case, the number of compensation positions of each axis
between the compensation position with the largest positive
value and that with largest negative value in the stored pitch
error compensation data must be equal to or less than 128.
5 Straightness compensation data is superposed on stored
pitch error compensation data and output.
6 The straightness compensation B function can’t be used in
the Power Mate i–MODEL D 2 PATH control system.
58
B–63173EN–1/02 1. AXIS CONTROL
1.4.1
Parameters Related to
Servo
CAUTION
The relations among the least command increment,
detection unit, CMR, and DMR are as specified below.
Least command increment = CMR detection unit
Move amount per revolution of motor
Detection unit =
DMR number of pulses of detector per revolution
59
1. AXIS CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1800 CVR
#7 #6 #5 #4 #3 #2 #1 #0
1815 APCx APZx OPTx
NOTE
When this parameter has been set, the power must be
turned off before operation is continued.
WARNING
When an absolute position detector is used, after primary
adjustment is performed or after the absolute position
detector is replaced, this parameter must be set to 0, power
must be turned off and on, then manual reference position
return must be performed. This completes the positional
correspondence between the machine position and the
position on the absolute position detector, and sets this
parameter to 1 automatically.
#7 #6 #5 #4 #3 #2 #1 #0
1816 DM3x DM2x DM1x
NOTE
When this parameter has been set, the power must be
turned off before operation is continued.
60
B–63173EN–1/02 1. AXIS CONTROL
NOTE
When the flexible feed gear is used, do not use these
parameters. Set the numerator and denominator of DMR
to an appropriate values in parameters Nos.2084 and 2085
respectively.
NOTE
When this parameter has been set, the power must be
turned off before operation is continued.
61
1. AXIS CONTROL B–63173EN–1/02
NOTE
When command multiplier is 1 to 48, the set value must be
determined so that an integer can be set for command
multiplier.
NOTE
When this parameter has been set, the power must be
turned off before operation is continued.
62
B–63173EN–1/02 1. AXIS CONTROL
1829 Positioning deviation limit for each axis in the stopped state
63
1. AXIS CONTROL B–63173EN–1/02
NOTE
When this parameter has been set, the power must be
turned off before operation is continued.
1.4.2
Absolute Position
Detection
General Even when the power to the CNC is turned off, a battery–powered pulse
coder stores the current position. No reference position return is required
when the power to the CNC is turned on next.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1815 APCx
NOTE
When this parameter has been set, the power must be
turned off before operation is continued.
64
B–63173EN–1/02 1. AXIS CONTROL
1.4.3
FSSB Setting
Overview Connecting the CNC control section to servo amplifiers via a high–speed
serial bus (FANUC Serial Servo Bus, or FSSB), which uses only one fiber
optics cable, can significantly reduce the amount of cabling in machine
tool electrical sections.
In a system using the FSSB, it is necessary to set up the following
parameters to specify its axes. (The other parameters should be specified
as usual.)
D Parameter No. 1023
D Parameter No. 1905
D Parameter Nos. 1910 to 1919
D Parameter Nos. 1936 and 1937
These parameters can be specified using the following methods:
1. Manual setting 1
Parameters are defaulted according to the setting of parameter No.
1023. There is no need to specify parameter Nos. 1905, 1910 to 1919,
1936 and 1937. No automatic setting is used. Note that some
functions are unusable.
2. Automatic setting
Axis settings are calculated automatically according to the
interrelationships between axes and amplifiers entered on the FSSB
setting screen. Parameter Nos. 1023, 1905, 1910 to 1919, 1936, and
1937 are specified automatically according to the results of the
calculation. They are not usable for Power Mate i–D 2 path control.
3. Manual setting 2
Parameter Nos. 1023, 1905, 1910 to 1919, 1936, and 1937 are
specified according to manually entered values. The user must be
totally familiar with the meaning of each parameter before entering
any values.
65
1. AXIS CONTROL B–63173EN–1/02
Slave In an FSSB–based system, a fiber optics cable is used to connect the CNC
to servo amplifiers and pulse modules. These amplifiers and pulse
modules are called slaves. The two–axis amplifier consists of two slaves,
and the three–axis amplifier consists of three slaves. The slaves are
numbered 1, 2, ..., 10 (slave number) sequentially, with that nearest to the
CNC starting at number 1.
CNC
2 Y 2
Two–axis
amplifier 3
3 Z
4 A 4
Two–axis
amplifier
5 B 5
6 C M1 6
Single–axis 7
amplifier
M2 8
Manual setting 1 The manual setting 1 is usable when the following parameter
specifications made:
Bit 0 of parameter No. 1902 = 0
Bit 1 of parameter No. 1902 = 0
Parameter Nos. 1910 to 1919 = all 0s
By manual setting 1, the value set for parameter No. 1023 when the power
is switched on is regarded as a slave number. Specifically, an axis for
which parameter No. 1023 is set to 1 is connected to the amplifier nearest
to the CNC, while an axis for which parameter No. 1023 is set to 2 is
connected to the amplifier nearest but one to the CNC.
66
B–63173EN–1/02 1. AXIS CONTROL
D Power Mate i–D 2 path Set parameter No. 1023 for path 1 with 1.
control Set parameter No. 1023 for path 2 with 2.
CNC
1 X 1 Two–axis
X
amplifier
2 Y 3 A
Single–axis Y
3 Z 4 amplifier
4 A 2 Z
Two–axis
amplifier B
5 B 5
6 C 6 Single–axis C
amplifier
Automatic setting Automatic setting can be used on the FSSB setting screen, if the following
parameter is set as follows:
Bit 0 of parameter No. 1902 = 0
On the FSSB setting screen, automatic setting should be enabled by
means of the following procedure:
1. On the amplifier setting screen, specify the axis number of a controlled
axis to be connected to each amplifier.
2. Press the [SETING] soft key. (If a warning message is displayed,
restart from step 1.)
3. On the axis setting screen, specify information about each axis, such
as a pulse module connector No.
4. Press the [SETING] soft key. (If a warning message is displayed,
repeat the procedure, starting from step 3.)
In this way, parameter Nos. 1023, 1905, 1910 to 1919, 1936, and 1937 are
set according to the results of automatic calculation. In addition, bit 1 of
parameter No. 1902 is set to 1 to indicate that each parameter has been set
up. Switching the power off then back on again causes axis setting to be
performed according to these parameter settings.
For details of the FSSB setting screen, see the FSSB data display and
setting procedure, described below.
67
1. AXIS CONTROL B–63173EN–1/02
Manual setting 2 If the following parameter is set, manual setting 2 can be used for each
parameter axis setting.
Bit 0 of parameter No. 1902 = 1
To perform manual setting 2, set parameter Nos. 1023, 1905, 1910 to
1919, 1936, and 1937. Refer to the Parameter Manual for the meaning
of each parameter.
Example of axis configuration and manual setting 2
(Refer to the corresponding description for the meaning of each parameter.)
CNC
No. 1902#0
FMD
No. 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919
0 1 2 3 4 16 5 48 40 40
X 1 0 1 0 0 0
Y 3 0 0 1 0 1
Z 4 1 0 1 0 0
A 2 1 0 0 0 0
B 5 0 1 0 1 0
C 6 1 0 1 0 2
68
B–63173EN–1/02 1. AXIS CONTROL
D Power Mate i–D 2 path When performing Power Mate i–D 2 path control, it is possible to use
control manual setting 2 for each axis setting parameter provided that the
following parameter setting is true.
For both paths, bit 0 of parameter No. 1902 = 1
When using manual setting 2 for Power Mate i–D 2 path control, specify
axis type parameters Nos. 1023, 1904, 1905, 1936, and 1937 for each path
separately and also specify parameter Nos. 1910 to 1919 only for path 1.
Refer to the applicable parameter manual for explanations about the
meaning of each of these parameters.
Examples configuring axes for Power Mate i–D 2 path control and setting
parameters in the manual setting mode 2. (Refer to the respective descrip-
tions for the meaning of each parameter.)
CNC
Pulse module
No. 1902#0
FMD
Path 1 1
Path 2 1
No. 1910 1911 1912 1913 1914 1915 1916 1917 1918 1920
Path 1 0 1 16 40 40 40 40 40 40 40
Path 2 40 40 40 40 40 40 40 40 40 40
Path 1 (X) 1 0 1 0 0 0
Path 2 (Y) 2 0 1 0 1 0
69
1. AXIS CONTROL B–63173EN–1/02
D Display The FSSB setting screen displays FSSB–based amplifier and axis
information. This information can also be specified by the operator.
2. To display [FSSB], press the next menu page key several times.
3. Pressing the [FSSB] soft key causes the AMPLIFIER SETTING
screen (or the previously selected FSSB setting screen) to appear, with
the following soft keys displayed.
70
B–63173EN–1/02 1. AXIS CONTROL
>_
MDI **** *** *** 13:11:56
[ AMP ][ AXIS ][ MAINTE ][ ][ (OPRT) ]
71
1. AXIS CONTROL B–63173EN–1/02
>_
MDI **** *** *** 13:11:56
[ AMP ][ AXIS ][ MAINTE ][ ][ ]
72
B–63173EN–1/02 1. AXIS CONTROL
>_
MDI **** *** *** 13:11:56
[ AMP ][ AXIS ][ MAINTE ][ ][ ]
To enter data, place the machine in MDI mode or the emergency stop state,
position the cursor to the point where a desired item is to be input, then
enter the desired data and press the [INPUT] soft key (or the INPUT key on
the MDI panel).
When the [SETING] key is pressed after data has been entered, a warning
message is displayed if the entered data contains an error. When the data
is satisfactory, the corresponding parameter is set up.
To restore the previous value of a parameter if, for example, an entered
value is incorrect, press the [CANCEL] soft key.
73
1. AXIS CONTROL B–63173EN–1/02
When the power is switched on, values are read from the parameters and
displayed on the screen.
CAUTION
1 For the parameters to be specified on the FSSB setting
screen, do not attempt to enter values on the parameter
screen using the MDI or a G10 command. Use only the
FSSB screen to enter values for these parameters.
2 If pressing the [SETING] key results in a warning message
being displayed, retry data entry, or press the [CANCEL] key
to clear the warning message. Note that pressing the reset
key does not clear the warning message.
74
B–63173EN–1/02 1. AXIS CONTROL
>_
MDI **** *** *** 13:11:56
[ SETING ][ ][ CANCEL ][ ][ INPUT ]
75
1. AXIS CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1902 ASE FMD
#7 #6 #5 #4 #3 #2 #1 #0
1904 DSP
#7 #6 #5 #4 #3 #2 #1 #0
1905 PM2 PM1 FSL
76
B–63173EN–1/02 1. AXIS CONTROL
D For those axes for which an odd number is set for parameter No. 1023,
the fast type must be used.
D For those axes for which an even number is set for parameter No.
1023, only the slow type is usable; this bit must be set to 1.
CNC
1 X 1 F Two–axis X (Fast)
amplifier
2 Y 3 F A (Slow)
Single–axis
3 Z 4 S amplifier Y (Fast)
4 A 2 S Z (Slow)
Two–axis
amplifier B (Fast)
5 B 5 F
Single–axis C (Slow)
6 C 6 S amplifier
77
1. AXIS CONTROL B–63173EN–1/02
78
B–63173EN–1/02 1. AXIS CONTROL
CNC
Slave ATR
Controlled Program Servo axis number No.1910 Axis
axis axis name number to 1919
number (No. 1020) (No. 1023)
Single–axis 1 0
1 X 1 amplifier X
2 Y 3 2 1 A
Two–axis
amplifier
3 Z 4 3 2 Y
4 A 2 Two–axis 4 3 Z
amplifier
5 B 5 5 4 B
6 C 6 M1 6 16 (M1)
Single–axis 7 5
amplifier C
M2 8 48 (M2)
9 40 (None)
10 40 (None)
CNC
Slave ATR
Controlled Program Servo axis number No.1910 Axis
axis axis name number to 1919
number (No. 1020) (No. 1023)
Single–axis 1 0
1 X 1 amplifier X
2 Y 3 2 2 Y
Two–axis
amplifier
3 Z 4 3 3 Z
4 A 2 Two–axis 4 1 A
amplifier
5 B 5 5 4 B
6 C 6 M1 6 16 (M1)
Single–axis 7 5 C
amplifier
M2 8 48 (M2)
9 40 (None)
10 40 (None)
79
1. AXIS CONTROL B–63173EN–1/02
1920 Controlled axis number for slave 1 (FSSB setting screen only)
1921 Controlled axis number for slave 2 (FSSB setting screen only)
1922 Controlled axis number for slave 3 (FSSB setting screen only)
1923 Controlled axis number for slave 4 (FSSB setting screen only)
1924 Controlled axis number for slave 5 (FSSB setting screen only)
1925 Controlled axis number for slave 6 (FSSB setting screen only)
1926 Controlled axis number for slave 7 (FSSB setting screen only)
1927 Controlled axis number for slave 8 (FSSB setting screen only)
1928 Controlled axis number for slave 9 (FSSB setting screen only)
1929 Controlled axis number for slave 10 (FSSB setting screen only)
1931 Connector number for first pulse module (FSSB setting screen only)
1932 Connector number for second pulse module (FSSB setting screen only)
1934 Master/slave number for tandem–controlled axes (FSSB setting screen only)
80
B–63173EN–1/02 1. AXIS CONTROL
If the FSSB setting mode is automatic setting (bit 0 of parameter No. 1902
= 0), this parameter is set automatically when data is entered using the
FSSB setting screen. For manual setting 2 (bit 0 of parameter No. 1902
= 1), the user must set this parameter.
81
1. AXIS CONTROL B–63173EN–1/02
463 n AXIS : SEND SLAVE The servo section failed to receive data
DATA FAILED correctly because of an FSSB commu-
nication error.
464 n AXIS : WRITE ID DATA An attempt to write maintenance in-
FAILED formation to the amplifier maintenance
screen failed.
465 n AXIS : READ ID DATA An attempt to read the initial ID informa-
FAILED tion for the amplifier failed when the
power was switched on.
466 n AXIS : MOTOR/AMP The maximum current rating for the am-
COMBINATION plifier does not match that for the motor.
467 n AXIS : ILLEGAL SET- The servo function has not been en-
TING OF AXIS abled when an axis occupying a single
DSP is specified on the axis setting
screen.
D P/S alarms
Number Message Description
5134 FSSB : OPEN READY The FSSB did not become ready to
TIME OUT open during initialization.
5135 FSSB : ERROR MODE The FSSB entered an error mode.
5136 FSSB : NUMBER OF The number of amplifiers recognized
AMPS IS SMALL by the FSSB is insufficient, compared
with the number of controlled axes.
5137 FSSB : CONFIGURATION The FSSB detected a configuration er-
ERROR ror.
5138 FSSB : AXIS SETTING Axis setting has not been performed in
NOT COMPLETE automatic setting mode. Perform axis
setting using the FSSB setting screen.
5197 FSSB : OPEN TIME OUT The FSSB did not open when the CNC
had allowed the FSSB to open.
5198 FSSB : ID DATA NOT The initial ID information for the amplifi-
READ er cannot be read because of a failure
in the temporary assignment.
82
B–63173EN–1/02 1. AXIS CONTROL
1.4.4
FSSB Serial Feedback
Dummy Function
Outline Serial feedback dummy function neglects all the servo alarm of the axis
that is not connected with a servo amplifier actually. This function is
useful to use an imaginary axis of Electronic cam function.
D Manual setting 1 In the manual setting 1, only a parameter No.1023 to assign the relation
(P1902#0=0, #1=0) between logical axis address and physical axis should be set but ATR No.
(No.1910–1919). However there are some restrictions. For example,
pulse module can not be used.
In case that serial feedback dummy function is used, the manual setting
1 can not be used if the maximum value of the normal (no dummy) axes
in parameter No.1023 is larger than the number of actual connected
amplifiers.
Ex. 1–1)
P1023 P2009#0
X 1 0 X
Y 2 0
Power Mate Y
Z 3 1
C 4 1
83
1. AXIS CONTROL B–63173EN–1/02
Ex. 1–2)
P1023 P2009#0
X 1 0 X
Y 2 1
Power Mate Y(dummy)
Z 3 0
C 4 1
Z
Power Mate Y
Z (dummy)
C (dummy)
(Final setting)
84
B–63173EN–1/02 1. AXIS CONTROL
Power Mate Z
Y (dummy)
C (dummy)
(Final setting)
85
1. AXIS CONTROL B–63173EN–1/02
D Example Ex. 3–1) X, Y and Z are normal (no dummy) axes. C–axis has the
external scale but no amplifier, and Power Mate can display the
position of C–axis by the feedback from the scale.
First, X, Y and Z axes are assigned to amplifiers, and the feedback
connector number for C–axis is set by the auto setting. Then parameter
No.1023 for C–axis and so on should be set by the manual setting.
Power Mate Y
Pulse module
C (dummy)
C-axis scale
(Final setting)
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2009 DMY
NOTE
When this parameter is set, the power must be turned off
before operation is continued.
86
B–63173EN–1/02 1. AXIS CONTROL
1.5
SETTINGS RELATED
WITH COORDINATE
SYSTEMS
1.5.1
Machine Coordinate
System
General Machine coordinate system is a coordinate system set with a zero point
proper to the machine system.
A coordinate system in which the reference position becomes the
parameter-preset (No. 1240) coordinate value when manual reference
position return is performed, is set.
Parameter
1240 Coordinate value of the reference position on each axis in the machine
coordinate system
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
Reference item
OPERATOR’S MANUAL II.7.1 MACHINE COORDINATE
(B–63174EN) SYSTEM
87
1. AXIS CONTROL B–63173EN–1/02
1.5.2
Workpiece Coordinate
System
Setting a workpiece A workpiece coordinate system can be set using one of two methods:
coordinate system (1) Method using G92
A workpiece coordinate system is set by specifying a value after G92
in the program.
(2) Automatic setting
If bit 0 (ZPR) of parameter No. 1201 is set beforehand, a workpiece
coordinate system is automatically set when manual reference
position return is performed.
If a workpiece coordinate system is set, this workpiece coordinate system
is used for absolute command after setting.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1201 ZPI ZPR
1250 Coordinate value of the reference position used when automatic coordinate
system setting is performed
88
B–63173EN–1/02 1. AXIS CONTROL
Set the coordinate value of the reference position on each axis to be used
for setting a coordinate system automatically.
1251 Coordinate value of the reference position used when automatic coordinate
system setting is performed with inch input
NOTE
This parameter is valid when ZPI (bit 1 of parameter No.
1201) is set to 1.
Reference item
OPERATOR’S MANUAL II.7.2 WORKPIECE COORDINATE
(B–63174EN) SYSTEM
89
1. AXIS CONTROL B–63173EN–1/02
1.5.3
Rotary Axis Roll Over
General The roll–over function prevents coordinates for the rotation axis from
overflowing. The roll–over function is enabled by setting bit 0 (ROAx)
of parameter No. 1008 to 1.
For an incremental command, the tool moves the angle specified in the
command. For an absolute command, the coordinates after the tool has
moved are values rounded by the angle corresponding to one rotation set
in parameter No. 1260. The tool moves in the direction in which the final
coordinates are closest when bit 1 (RABx) of parameter No. 1008 is set
to 0. Displayed values for relative coordinates are also rounded by the
angle corresponding to one rotation when bit 2 (RRLx) of parameter No.
1008 is set to 1.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1006 ROSx ROTx
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
0 0 Linear axis
(1) Inch/metric conversion is done.
(2) All coordinate values are linear axis type.
(Not rounded in 0 to 360_)
(3) Stored pitch error compensation is linear axis type (Refer to pa-
rameter No. 3624)
90
B–63173EN–1/02 1. AXIS CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
1008 RRLx RABx ROAx
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
NOTE
ROAx specifies the function only for a rotation axis (for
which ROTx, #0 of parameter No. 1006, is set to 1)
NOTE
RABx is valid only when ROAx is 1.
NOTE
1 RRLx is valid only when ROAx is 1.
2 Assign the amount of the shift per one rotation in parameter
No. 1260.
NOTE
When this parameter is changed, turn off the power before
continuing operation.
91
1. AXIS CONTROL B–63173EN–1/02
Reference item
OPERATOR’S MANUAL II.16.1 ROTARY AXIS ROLL–OVER
(B–63174EN)
92
B–63173EN–1/02 1. AXIS CONTROL
1.6
SIMPLE
SYNCHRONOUS
CONTROL
NOTE
No slave axis is included in the number of simultaneously
controlled axes.
D Synchronization error Any difference between the servo positional deviation of the master axis
check based on and that of the slave axis is monitored constantly. A P/S alarm condition
positional deviation (No. 213) is detected if a limit set in parameter No. 8313 (if only one
master/slave axis pair is in synchronization) or 8323 (if more than one
master/slave axis pair is in synchronization) is exceeded.
D Synchronization error The function monitors the difference between the machine coordinates on
check based on machine the master and slave axes. If the function detects a difference greater than
coordinates or equal to a preset value, it stops the machine. This function constantly
monitors the difference. Even if the synchronization control signal is
erroneously set to 0, thus disabling synchronization control, the function
can issue an alarm, stop the machine, and thus prevent damage.
93
1. AXIS CONTROL B–63173EN–1/02
WARNING
1 Before using the synchronization error check function, set
identical values for the reference positions of the master
and slave axes.
2 To clear the alarm, first increase the maximum
synchronization error set in parameter No. 8314, then press
the reset key. Next, perform handle operations or other
manual operations so that the machine coordinates agree.
Then, restore the original value in parameter No. 8314.
3 If an alarm is detected during a synchronous operation, set
the signals indicating that a synchronous operation is in
progress (G138, G140) to off, then follow the procedure for
clearing an alarm.
NOTE
If the synchronization error check function is not used, set
parameter No. 8314 to 0.
D Synchronization If the agreement between the positions of the master and slave axes is lost
compensation function when the system power is turned off, the function compensates for the
difference between them. After performing a follow–up at power on, the
function sends compensation pulses to the slave axis to adjust its position
such that it agrees with that of the master axis. This function is enabled
only when the slave axis of synchronization control supports the
absolute–position detection function.
This function, however, cannot be used for rotation axes.
WARNING
1 The synchronization compensation function is enabled
after reference position returns have been performed. The
function is not executed if the parameter is set before
reference position returns are performed.
2 The synchronization compensation function is not executed
when the servo alarm is eliminated.
CAUTION
The synchronization deviation is processed as a position
error on the slave axis while at rest. The position error is
displayed as diagnostic No. 300, in the same units as used
to detect the error. If the error exceeds the value set in
parameters No. 8315 (if only one master/slave axis pair is
in synchronization) or No. 8325 (if more than one
master/slave axis pair is in synchronization), servo alarm
410 is triggered. The alarm can be cleared by pressing the
<RESET> key. As the position error for the slave axis
remains even after the alarm is cleared, however, the
positions must be adjusted.
94
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 To use the synchronization compensation function, set the
SOF bit, bit 7 of parameter No. 8301 (if only one master/
slave axis pair is in synchronization) or SOFx bit, bit 7 of
parameter No. 8303 (if more than one master/slave axis pair
is in synchronization), to 1.
2 The synchronization compensation function is also enabled
when emergency stop is canceled.
D Automatic setting of grid To use simple synchronous control, it is necessary to perform reference
positioning position return for the master and slave axes. This function causes the
CNC to automatically perform reference position return (grid position)
for both the master and slave axes in simple synchronization.
[Operating procedure] This procedure can be applied only when one master/slave axis pair is in
sync, and when bit 0 (ATE) of parameter No. 8302 is set to 1. If more than
one master/slave axis pair is in sync, it is necessary to use parameters
ATEx (bit 0 of parameter No. 8303) and ATSx (bit 1 of parameter No.
8303).
1 Set bit 1 (ATS) of parameter No. 8302 to 1.
2 Enter ZRN mode (or JOG mode for reference position setting without
dogs), and move along the axis toward the reference position.
3 Motion along the master and slave axes stops automatically, and the
grid deviation is set in parameter No. 8316. At the same time, bit 1
(ATS) of parameter No. 8302 becomes 0, and a power–off request
alarm (No. 000) occurs.
4 Switch the power off then back on.
5 Perform ordinary reference position return.
NOTE
Parameter setting
When parameter ATS (bit 1 of parameter No. 8302) or ATSx
(bit 1 of parameter No. 8303) is set, parameter APZ (bit 4 of
parameter No. 1815) for the master and slave axes and
parameter No. 8316 become 0. If the operator specifies
parameter No. 8316 (MDI, G10L50), parameter ATE (bit 0
of parameter No. 8302) becomes 0.
95
1. AXIS CONTROL B–63173EN–1/02
D Torque difference alarm If the master and slave axes operate independently while simple
detection synchronous control is applied, the machine may be damaged. To prevent
this, the torque command difference between the axes is monitored. If the
difference is found to be abnormal, an alarm can be issued.
[System configuration]
[How to use]
Determine the threshold parameter using the following procedure.
1 Set up the following parameters:
Parameter No. 2031 = 0 : Disable torque difference alarm detection.
Bit 0 of parameter No. 8950 = 1 : Display the memory screen.
Parameter No. 8960 : Specify the following values as data addresses.
1304 if the servo axis numbers for two axes in sync are 1 and 2
1312 if the servo axis numbers for two axes in sync are 3 and 4
1800 if the servo axis numbers for two axes in sync are 5 and 6
1808 if the servo axis numbers for two axes in sync are 7 and 8
Parameter No. 2115 : Display, on the memory screen, the absolute
value of the torque difference between the two
axes that are in sync. This parameter No. must
be set to the same value for both axes.
Value: 22160
2 Display the memory screen using:
<SYSTEM> function key ³ soft key ³ [MEMORY] soft key
The absolute value of the torque difference between the two axes that
are in sync is displayed as No.1C0 on the memory screen.
3 Read the maximum torque difference absolute value during ordinary
operation, and convert it to decimal. The threshold parameter should
be specified with a margin.
If it is difficult to read the absolute torque difference value on the memory
screen it can be observed, using an oscilloscope by means of the following
procedure:
96
B–63173EN–1/02 1. AXIS CONTROL
SA<F000#6> 1
0
Signal
[Operation] When the signal is set to 1, the control unit operates as described below:
– During memory or MDI operation, the control unit supplies the move
command, specified for the master axis, to both the master and slave
axes of synchronous control.
97
1. AXIS CONTROL B–63173EN–1/02
[Operation] When the signal is set to 1, the control unit operates as described below:
– In jog, handle, or incremental feed mode, the control unit supplies the
move command, specified for the master axis, to both the master and
slave axes of synchronous control.
The master axis is specified with a parameter.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G138 SYNC8 SYNC7 SYNC6 SYNC5 SYNC4 SYNC3 SYNC2 SYNC1
98
B–63173EN–1/02 1. AXIS CONTROL
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3105 SMF
NOTE
This parameter is valid when simple syncronous contorol is
applied according to the setting of parameter No. 8311
(master and slave axes can be arbitrarily selected).
#7 #6 #5 #4 #3 #2 #1 #0
8301 SOF
#7 #6 #5 #4 #3 #2 #1 #0
8302 ATS ATE
NOTE
The system power must be turned off then back on in order
for this parameter setting to become effective.
NOTE
1 Setting this parameter resets parameter APZx (bit 4 of
parameter No. 1815) for the master and slave axes and
parameter No. 8316 to 0.
2 This parameter automatically becomes 0 upon the
completion of grid positioning.
99
1. AXIS CONTROL B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
8303 SFX ASX AEX
NOTE
To start the automatic setting of grid positioning, set ASX to
1. ASX automatically becomes 0 upon the completion of
automatic setting.
100
B–63173EN–1/02 1. AXIS CONTROL
Select a master axis and slave axis for simple synchronous control. Set
a master axis number for the slave axis side. Up to four pairs can be
specified.
Example1: When using the first axis (X–axis) as the master axis, and the
third axis (Z–axis) as the slave axis, set parameter No. 8311 as follows:
To specify the:
master axis as the 1st axis, and the slave axis as the 6th axis
master axis as the 2nd axis, and the slave axis as the 5th axis
master axis as the 3rd axis, and the slave axis as the 4th axis,
set the following:
Parameter No. 8311 X(1st axis) = 0
Y(2nd axis) = 0
Z (3rd axis) = 0
(4th axis) = 3
(5th axis) = 2
(6th axis) = 1
NOTE
Specifying the third axis (Z–axis) as the master axis, and the
first axis (X–axis) as the slave axis is not allowed. The
master axis number must always be smaller than the slave
axis number.
It is impossible to specify more than one slave axis for a
master axis.
8313 Limit of the difference between the amount of positioning deviation of the master
and slave axes (one master/slave axis pair under synchronous control)
101
1. AXIS CONTROL B–63173EN–1/02
8316 Reference counter difference between the master and slave axes
(one master/slave axis pair under synchronous control)
NOTE
The system power must be turned off then back on in order
for this setting to become effective.
NOTE
Upon the completion of grid positioning, the reference
counter difference is set automatically. At the same time,
parameter ATS (bit 1 of parameter No. 8302) is reset to 0.
102
B–63173EN–1/02 1. AXIS CONTROL
8317 Torque difference alarm detection timer (one master/slave axis pair under synchro-
nous control)
8323
Maximum allowable difference between master axis and slave axis positional deviations
(more than one master/slave axis pair under synchronous control)
8325
Maximum compensation value for synchronization
(more than one master/slave axis pair under synchronous control)
103
1. AXIS CONTROL B–63173EN–1/02
8326
Difference between master axis and slave axis reference counters
(more than one master/slave axis pair under synchronous control)
8327
Torque difference alarm detection timer
(more than one master/slave axis pair under synchronous control)
104
B–63173EN–1/02 1. AXIS CONTROL
Servo alarm
Number Message Description
Diagnosis data
105
1. AXIS CONTROL B–63173EN–1/02
Caution
CAUTION
1 When a manual reference position return is executed,
identical movements are performed along the master and
slave axes until deceleration commences. Subsequently,
grids are detected separately.
2 Pitch error compensation and backlash compensation are
executed separately for the master and slave axes.
3 If control of more than one master/slave axis pair is specified
in parameter No. 8311, parameters to perform setting for,
and display diagnostic information about, only one
master/slave axis pair are invalid, and if control of only one
master/slave axis pair is specified, parameters to perform
setting for, and display diagnostic information about, only
one master/slave axis pair are valid (except for common
parameters Nos. 8311 and 8314).
4 Do not specify any axis under PMC axis control as a
simplified–synchronization master axis.
Reference item
OPERATOR’S MANUAL II.16.2 Simple synchronous control
(B–63174EN)
106
B–63173EN–1/02 1. AXIS CONTROL
1.7
TANDEM CONTROL
General If a single motor cannot produce sufficient torque to move a large table,
for example, this function allows two motors to be used. By means of this
function, two motors can be used to perform movement along a single
axis.
Positioning is carried out only for the master axis. The slave axis is used
only to produce a torque. By means of this function, double the amount
of torque can be obtained.
Table
Master axis
Ball screw
Slave axis
Sample application
The CNC generally processes the two axes of tandem control as a single
axis. In the management of servo parameters and the monitoring of servo
alarms, however, the two axes are handled individually.
107
1. AXIS CONTROL B–63173EN–1/02
PC PC
Power Power
line line
Servo Servo
amplifier amplifier
PWM PWM
Rotor Rotor
position position
Current Current
loop loop
Re- Re-
verse? verse?
Aver-
age?
PRM: Parameter
+
-
Scale
PRM.1815#1
+
-
Specified
pulse
108
B–63173EN–1/02 1. AXIS CONTROL
Explanations
D Axis configuration in To specify the axis configuration in tandem control, follow the procedure
tandem control below:
(1) Tandem control can be performed for up to four pairs of axes.
(2) In terms of controlled axes, the pair of axes is handled as two separate
axes. In terms of CNC–controlled axes (command axes), the pair of
axes is handled as a single axis (master axis). Specify the number of
CNC–controlled axes with parameter No. 1010, excluding the slave
axis of tandem control. The slave axis must be handled as if it were
controlled only by the PMC.
(3) The pair of axes is handled as two separate axes in the management of
servo parameters and the monitoring of servo alarms.
(4) Assign two consecutive numbers, that is one odd and one even
number, to the master and slave axes as their servo axis numbers
(parameter No. 1023). Assign the smaller number to the master axis.
(Example) If the servo axis number of the master axis (parameter No.
1023) is set to 1, specify servo axis number 2 for the corresponding
slave axis. If the servo axis number of the master axis is set to 3,
specify servo axis number 4 for the corresponding slave axis.
(5) If tandem control is performed for two or more pairs of axes, assign
servo axis numbers to the master and slave axes in identical order.
(6) Specify a unique axis name for the slave axis.
(7) The slave axis is handled as a controlled axis. Set the NDPx bit (bit
0 of parameter No. 3115) to 1 to suppress the position display.
The following sample axis configuration is for a machine with six axes
X, Y, Z, A, B (PMC axis), and C. The X–axis and Y–axis are the master
axes of tandem control.
Number of controlled axes (parameter No.1011): 6
Number of CNC controlled axes (parameter 1010): 3
109
1. AXIS CONTROL B–63173EN–1/02
D Preload function By adding an offset to the torque controlled by the position (velocity)
feedback device, the function can apply opposite torques to the master and
slave axes so that equal and opposite movements are performed for both
axes. This function can reduce the effect of backlash on the master and
slave axes caused by the tandem connection of the two motors via a gear.
This function, however, cannot reduce backlash between the ball screw
and table or other backlash inherent to the machine.
If a preload of x is set for the master axis and –x for the slave axis, the
opposing preload torques are continuously applied to the two axes, even
at rest, as shown below:
CAUTION
1 Specify as low a preload as possible. Avoid specifying a
preload higher than the rated torque. Too high a preload will
trigger an overload alarm because the specified torques
continue to be applied, even at rest. A preload that is very
slightly higher than the frictional force is recommended.
Thus, the recommended preload may be about one–third of
the rated torque.
2 If the motors rotate in opposite directions (different signs are
specified in parameter No. 2022), specify the preload
values with the same sign.
D Velocity feedback As shown in the block diagram of tandem control, the motor of the slave
average function axis is not subject to velocity control. A machine with a large amount of
backlash may become unstable if the motor of the slave axis vibrates as
a result of backlash in the gear. This can be overcome by applying
velocity control to the slave axis also. This velocity feedback average
function is enabled when bit 2 of parameter No. 2008 is set to 1.
D Improved stability of a The following two functions can increase the stability and position gain
closed–loop system of a closed–loop system having a linear scale:
@Dual position feedback function
@Machine velocity feedback function
For details of these functions, refer to FANUC AC SERVO MOTOR ai/bi
series PARAMETER MANUAL (B–65270EN).
D Notes on stability of An important factor affecting stability in tandem control is the capability
tandem control of back feed. Back feed is to cause movement along either the master or
slave axis from the other axis, via the transmission mechanism connecting
the two axes. A machine without this capability may be inclined to
become unstable and require adjustments.
110
B–63173EN–1/02 1. AXIS CONTROL
D Connection of axis The DI/DO signals, generally connected to each axis, must be connected
signals only to the master axis of two axes of tandem control. The signals need
not be connected to the slave axis. The following signals, however, may
have to be connected depending on the application.
i) Controlled axis detach signal and servo off signal
Connect these signals so that the master and slave axis signals are
simultaneously input.
ii) Overtravel limit signal
Connect the signal so that 1 is always output as the overtravel limit
signal for the slave axis.
If the slave axis stroke limit must also be detected, connect the signals so
that the signal detected on the slave axis is sent to the overtravel limit
signal of the master axis.
D Connecting motors Connect the motors according to the servo axis numbers. Connect the
feedback cable of the slave axis.
Axis control
Feedback cable for motor of master axis
JF1
D Servo alarms Motor overload and other servo alarms are displayed separately for the
master and slave axes.
Parameter
Setting data The parameters that are generally set for each axis can, when set for axes
(parameters) under tandem control, be classified into the following three groups:
i) Parameters in which identical values must be set for the master and
slave axes
ii) Parameters that must be specified only for the master axis (The
corresponding parameter for the slave axis is not used.)
iii) Parameters for which different values may be set for the master and
slave axes
111
1. AXIS CONTROL B–63173EN–1/02
WARNING
Note that, if different values are set for the master and slave
axes in a parameter of type i), the operations for the two
axes of tandem control will not be performed correctly.
112
B–63173EN–1/02 1. AXIS CONTROL
113
1. AXIS CONTROL B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
1817 TAN
#7 #6 #5 #4 #3 #2 #1 #0
2008 VFBAVE
114
B–63173EN–1/02 1. AXIS CONTROL
417 SERVO ALARM: Illegal values are set for parameters Nos.
n AXIS DGTL PARAM 1010, 1023, or 1817 when tandem control
is performed.
Reference item
OPERATOR’S MANUAL II.16.3 Tandem control
(B–63174EN)
115
1. AXIS CONTROL B–63173EN–1/02
1.8
HIGH RESPONSE
FUNCTION (Power
Mate i–H)
General The program, which is compiled beforehand in the normal mode, can be
executed in the high response mode, so that the axes can be started or
stopped with the external signals faster than in the normal mode.
Hereafter, the compiled program is called ” motion program”.
1) Characteristic of the high response function
The cycle time to check the external signal in the high response mode
will be shorter than the one in the normal mode. So, if this function is
used, the axes can be started or stopped with the external signal faster
than in the normal mode.
2) High response mode and normal mode
In the system in which high response mode is available, the mode
should be selected to high response mode or normal mode according
to the using function.
High response mode
S This is the mode to execute the motion program by using the high
response function. In this mode, the axes can be started or stopped
faster than the normal mode.
S The some kind of operations such as automatic operation, manual
operation, reference position return etc. permitted in the normal
mode can not be done.
S The parameter can not be changed in this mode.
Normal mode
S In this mode, the operations such as automatic operation, manual
operation, reference position return etc. can be done as usual.
S The motion program can not be executed by using the high
response function.
NOTE
1 In the high response mode, the parameter can not be set by
MDI and PMC window write function.
In case of setting the parameter by MDI, the warning
message ”WRONG MODE” will be displayed in CRT/MDI.
In case of setting the parameter by PMC window write
function, the completion code ”7” will be returned.
2 Establish the reference point in the normal mode before
executing the motion program in high response mode.
116
B–63173EN–1/02 1. AXIS CONTROL
Usage The example of the procedure to execute the motion program by the high
response function is shown below.
Note: The preparation before executing the motion program by the high
response function must be done in the normal mode.
1 Select the normal mode.
2 Create the ladder program.
3 Create the program (O8000 – O8031), and compile the created
program.
4 The reference position setting for each axis is done.
5 The machine is moved to the starting position in the auto operation or
the manual operation(jog, handle feed etc.).
6 Select the high response mode.
7 Execute the motion program.
NOTE
1 Creating and compiling the program can be done in the high
response mode, too.
2 The reference position setting, the automatic operation and
the manual operation can be done only in the normal mode.
117
1. AXIS CONTROL B–63173EN–1/02
Change to the high If the input signal HMD is turned to ”1”, the mode will be changed to the
response mode high response mode. When the mode will be changed to the high response
mode, ”HMTN” will be shown at the current mode display and the output
signal HMDO is turned to ”1”.
If the input signal HMD is turned to ”0”, the mode is returned to normal.
In normal mode, the output signal HMDO is turned to ”0”.
#7 #6 #5 #4 #3 #2 #1 #0
G0226 HMD
F0228 HMDO
D Time chart
HMD
HMDO
1 If the signal HMD is turned to ”1” in the following state, the system
will automatically turn into reset state. And after all the axes are
stopped, the system will cancel the reset state and change the mode to
the high response mode.
a. The automatic operation is executing.
b. The MDI operation is executing.
c. The axis control by PMC function is executing.
d. The axis moving by other functions.
CAUTION
1 Stop the all axes when the high response mode is changed.
2 Until the mode is changed to the high response mode after
the signal HMD is turned to ”1”, the system turns into the
reset state, and the reset signal RST(F0001#1) is set to ”1”.
3 Clear the tool length offset value before changing to the high
response mode.
Reference:
The system turns into the reset state certainly when the
mode is changed. So, if the parameter No. 5003#6(LVK) is
set to ”0”, the tool length offset value is cleared.
118
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 The mode can not be changed during any axes are not at
in–position state.
2 The mode can not be changed in the inch input mode.
3 The mode can not be changed in state of the advanced
preview feed forward.
4 In case of using the absolute pulse coder, if the signal HMD
is turned to ”1”during the APC follow–up, the system will
change the mode to the high response mode after the APC
follow–up is completed.
5 In the high response mode, the motion program can be
executed. And in this mode, the program can be edited, too.
(When the high response mode is selected, the signal
MEDT (F0003#6) for the normal mode is set to ”1”.) The
memory protection key should be set to ”0” to inhibit the
program editing in the high response mode.
6 Do not use the RS–232–C except the following functions in
the high response mode.
a DPL/MDI operation package
(Note : The function of CNC data backup/restore must
not be used.)
b Ladder online debug function
7 Do not use the function of the data transfer via FANUC I/O
Link Slave in the high response mode.
2 If the signal HMD is turned to ”0” in the following state, the system
will automatically turn into the reset state. And after all the axes are
stopped, the system will cancel the reset state and change to the normal
mode.
a The motion program is executing.
CAUTION
1 Stop all the axes when the mode is changed.
2 Until the mode is changed to the normal mode after signal
HMD is turned to ”0”, the system turns into the reset state,
and the reset signal RST (F0001#1) is set to ”1”.
119
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 The mode can not be changed during any axes are not at
in–position state.
2 In case of using the absolute pulse coder, if the following
state is happened, the system will be automatically changed
to the normal mode and the APC follow–up will be started.
After the absolute pulse coder follow–up is completed, the
system will automatically returned to the high response
mode.
1) In case that the emergency stop is first released after
power–on.
2) In case that the system is turned into the reset state after
the servo alarm, which needs the absolute pulse coder
follow–up, occurs.
Execute program in the In the high response mode, the motion program, which is compiled from
high response mode the created program in advance, is executed.
D Creating the program The program is created as the NC program. Program number O8000 to
O8031 can be used in the high response mode.
The restrictions for program are shown below.
(1) Available address
Axis name (X,Y,Z,U,V,W,A,B,C), F,G,P,Q,R,M
NOTE
For M function, refer to the section 1.8.2 ”Auxiliary function
in high response mode”.
NOTE
For each G code, refer to the section 1.8.1 ”Available G
code in high response mode”.
(3) G90 and G91 can not be specified in a block at the same time. If both
G90 and G91 are specified in a block, the last specified G code(G90
or G91) will be valid.
(4) The one–shot G codes (G04/G28/G31/G92/G135.1) and the G codes
belonging to group 01 (G00/G01/G135.2/G135.3) can not be
specified in a block at the same time.
(5) The decimal point input and the calculator–type decimal point input
are not available.
Specify the position value by 1µm unit. And, specify the feed rate by
mm/min.
(6) The program end (M02 or M30) cannot be specified at the end of the
program. The system regards the ”%” as the program end.
120
B–63173EN–1/02 1. AXIS CONTROL
NOTE
The value of the macro variable is referred only when the
programs are compiled. So, if the value of the macro
variable is changed after compiling the programs, the
changed value of the macro variable will not be affected to
the executing motion program.
121
1. AXIS CONTROL B–63173EN–1/02
Oxxxx ; Oxxxx ;
G90 G00 X0 ; G90 G00 X0 ;
/ G91 G01 X100 F500 ; G91 G01 F500 ;
G91 G01 X200 F500 ; / X100 ;
: G91 G01 X200 F500 ;
:
6) Single block stop is not available for the block which is skipped
by optional block skip signal.
Example) When the following operation is done, the block ”b”
is executed.
(1) The optional block skip signal BDT1 is set to ”1” before the
block ”a” is executed.
(2) In executing the block ”a”, it is stopped at the end of the block
”a” by the motion program single block stop signal.
(3) The motion program single block stop signal is set to ”0” and
the motion program restarts.
:
X10000; a
/ X20000;
/ X30000;
/ X40000;
/ X50000;
X60000; b
:
Notes for programming Do not insert the empty blocks that are not necessary, because it has a little
time to execute the empty block.
ex.)
122
B–63173EN–1/02 1. AXIS CONTROL
D Compiling the program The procedure for the compiling the created program (O8000 – O8031)
is shown below.
a CRT/MDI
1) Select the high response mode or the EDIT mode.
2) Display the program editing screen.
[PRGRM] [LIB ] [ ] [ ] [(OPRT)]
5) Press the soft key [COMPIL] , and the programs from O8000 to
O8031 are compiled at once. If the compiling is finished normally,
the message ”COMPILE OK” will be displayed at the bottom of
the CRT screen.
If the compiling is finished abnormally, the message ”COMPILE
ERR xxxx” will be displayed at the bottom of the CRT screen. ( The
”xxxx” shows an error code. For details of the error code, refer to
the ” Error code list at compiling”.)
WARNING
1 Even if the program No.8000 to 8031 is altered after
compiling, the contents will not be reflected to the motion
program until the next compiling operation will be done.
2 Compile the program without fail after changing the
following parameters.
S Parameter No.1011 (Number of the controlled axes)
S Parameter No.1020 (Name of the axis used for
programming for each axis).
NOTE
1 The program input/output, edit, and search must not be
done during compiling.
2 It is not necessary to compile the program after every
power–on, because the compiled motion program are
stored in the non–volatile memory.
123
1. AXIS CONTROL B–63173EN–1/02
WARNING
1 Even if the program No.8000 to 8031 is altered after
compiling, the contents will not be reflected to the motion
program until the next compiling operation will be done.
2 Compile the program without fail after changing the
following parameters.
S Parameter No.1011 (Number of the controlled axes)
S Parameter No.1020 (Name of the axis used for
programming for each axis).
NOTE
1 The program input/output, edit, and search must not be
done during compiling.
2 It is not necessary to compile the program after every
power–on, because the compiled motion program are
stored in the non–volatile memory.
c DPL/MDI
1 Select the high response mode or the EDIT mode.
2 Display the program–editing screen.
3 Press the <CAN> key together with the <No.> key, and the
program from O8000 to O8031 are compiled at once.
If the compiling is finished normally, the message ”COMPILE
OK” will be displayed.
If the compiling is finished abnormally, the message ”COMPILE
ERR xxxx” will be displayed. ( The ”xxxx” shows an error code.
For details of the error code, refer to the ” Error code list at
compiling”.)
d Compile by signal
The program number to compile is set to the PMC address (R area)
which is specified by the parameter in advance. When the compile start
signal is set to ”1”, the specified program can be compiled.
[Procedure]
Below, suppose that R100 is specified as the top of the PMC
internal relay address to be used by the function that compiles the
program by the signal. (The 100 is set to the parameter No.8746.)
124
B–63173EN–1/02 1. AXIS CONTROL
NOTE
In this function, the 16 bytes PMC internal relay are used.
The top address of those bytes is specified by the parameter
No.8746.
WARNING
1 The program, which is just compiled, can not be executed
in the high response mode.
2 The program, which is just executed, can not be compiled.
3 The program input/output, edit, and search must not be
done during compiling.
4 In case of compiling all the programs, until all the programs
are compiled normally, any programs can not be executed.
5 Even if the program No. O8000 to O8031 is altered after
compiling, the contents will not be reflected to the motion
program until the next compiling operation will be done.
6 Compile the program without fail after changing the
following parameters.
S Parameter No.1011 (Number of the controlled axes)
S Parameter No.1020 (Name of the axis used for
programming for each axis).
7 The power must not be off during the compiling. If the power
is off during compiling, all the programs must be compiled
again.
125
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 It is not necessary to compile the program after every
power–on, because the compiled motion program are
stored in the non–volatile memory.
2 When the back–ground editing is used, the compiling can
not be done.
3 The compile executing signal does not turn to ”1” at the
following cases, even if the compile start signal is set to ”1”.
S The selected mode is not correct.
S The parameter No.8706#5 is ”0”.
S During the reset state.
D Executing the program When one of the following signals is turned to ”1”, the motion program,
that is already compiled, can be executed.
#7 #6 #5 #4 #3 #2 #1 #0
G0228 HPST07 HPST06 HPST05 HPST04 HPST03 HPST02 HPST01 HPST00
When the signal HPSTxx is turned to ”1”, the compiled motion program,
which is correspond to the program No.80xx, can be executed.
CAUTION
1 Even if the absolute command is specified in servo off state
or torque limit state, there is a possibility that an axis can not
reach the specified position.
2 The motion program is stopped, when the motion program
alarm signal HALMn/HALMMn is set to ”1”. (When the alarm
signal AL(F0001#1) is set to ”1” and the motion program
alarm signal HALMn/HALMMn is not set to ”1”, the motion
program is not stopped.)
126
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 The motion program always starts from the first block.
2 Specify the incremental command, if possible. Because the
time to start the absolute command is longer than the time
to start the incremental command in usual cases. The time
to start the reference point return (G28) is longer than the
time to start the incremental command in some cases, too.
3 The number of the program that can be executed at the
same time is up to the number of control axes. But two or
more programs including the same axis can not be
executed at the same time.
4 When the reset signal RST(F0001#1) goes on, the motion
program can not be executed.
5 The motion program ready signals HRDYn informs of
whether the motion program can be executed or not.
8686
Number of programs that can be executed with the high response
function simultaneously
NOTE
1 Two or more motion programs that contain groups using the
same axis or M code cannot be executed simultaneously.
2 If the parameter specifies 0, as many programs as the
number of controlled axes can be executed. (Conventional
specification)
Address list in the high The available signals in the high response mode are shown below.
response mode
NOTE
1 The signals, which are not shown below, such as ST
(G0007#2), *SP(G0008#5), SBK(G0046#1) etc. are not
available and must not be changed in the high response
mode.
2 Do not change the on/off state of any signal (Gxxx.x) not
listed below during the high response mode.
127
1. AXIS CONTROL B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G0005 AFL
G0006 OVC
G0053 TMRON
G0212 ACT
128
B–63173EN–1/02 1. AXIS CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
G0218 TRQ27 TRQ26 TRQ25 TRQ24 TRQ23 TRQ22 TRQ21 TRQ20
F0000 SA
F0090 ABTQSV
129
1. AXIS CONTROL B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
F0094 ZP8 ZP7 ZP6 ZP5 ZP4 ZP3 ZP2 ZP1
F0209 WVRDY
130
B–63173EN–1/02 1. AXIS CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
F0481 HALMM8 HALMM7 HALMM6 HALMM5 HALMM4 HALMM3 HALMM2 HALMM1
Signal
131
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 An alarm for each axis or each M–code group can be
canceled by setting this signal for each axis or each M–code
group to ”1”, when an alarm signal AL is ”0” and the motion
program alarm HALMn/HALMMn signal is ”1”.
2 When an alarm occurs in executing the motion program,
even if one of these signals for the axes or M–code groups
which are included in the motion program is set to ”1”, all the
axes and all M–code groups in the motion program can be
reset.
132
B–63173EN–1/02 1. AXIS CONTROL
WARNING
For the single block signal SBK in the automatic operation,
the cycle start signal must be inputted to restart the program
at the single block stop state. But, for the motion program,
it can be restarted by turning the signal (HSBKn/HSBKMn)
to ”0” at the single block stop state.
133
1. AXIS CONTROL B–63173EN–1/02
CAUTION
There is a possibility that the block after the following block
can not be stopped.
(1)The block executing time is shorter than 16ms.
(2)The block with G92
(3)The block which is applied to the following two conditions
(the empty block)
S Any axes are not moved.
S The dwell is not executed.
NOTE
The signal OVC(G0006#4) is available in the high response
mode, too. But this signal is not effect to the rapid traverse
override and the continuous feed override.
134
B–63173EN–1/02 1. AXIS CONTROL
HEXM 1
1: Motion program using signal for M code group1
2: Motion program using signal for M code group2
:
:
[Output conditions] These signals are available in the only high response mode.
S They are turned to ”1” in the following case.
The n–th axis is specified in the executing motion program.
The n–th axis is slave axis in synchronous operation.
The n–th M–code group is specified in the executing motion program.
S They are turned to ”0” in the following case.
The n–th axis is not specified in the executing motion program.
The n–th M–code group is not specified in the executing motion
program.
They are automatically turned to ”0” when the executing motion
program is ended.
135
1. AXIS CONTROL B–63173EN–1/02
CAUTION
This signal does not become ”1” if a P/S alarm or an external
alarm message–triggered alarm occurs.
If it is necessary to stop a motion program when these
alarms occur, add a ladder program that can watch for
alarms in a ladder status and stop the program when any of
these alarms occurs.
NOTE
When these signals are set to ”1” and the signal AL is set to
”1”, the signal ERS must be turned to ”1” after clearing the
cause of the occurring alarm. So, the alarm can be cleared.
136
B–63173EN–1/02 1. AXIS CONTROL
Compile executing
signal
HCPLO<F228#7>
[Classification] Output signal
[Function] This signal informs that the compile is executing
[Output conditions] It is turned to ”1” in the following case.
The compile is executing by the compile start signal HCPL.
It is turned to ”0” in the following case.
The compile is not executing.
NOTE
If these parameters are not set to ”0”, the mode can not be
changed to the high response mode.
b. Feedrate
The minimum setting value for the parameters related to the feedrate
is 30mm/min.
c. Maximum cutting feedrate
The parameter No.1430 (maximum cutting feedrate for each axis)
must be set the value. (The parameter No.1422 (maximum cutting
feedrate) is not available.)
CAUTION
In the high response mode, if the axis exceeds the
maximum feedrate for the axis, an alarm occurs and the
executing motion program that is including the
corresponding axis is stopped.
137
1. AXIS CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8706
CPL
8746
The top of the PMC internal relay address used by the function to compile
the program by the signal
NOTE
The area managed by the system program can not be
specified.
If the setting value of this parameter is xxx, the allotment for each data
is shown below.
Rxxx+0 (INPUT)
The program number which will be compiled.
(If 0 is set, it means that all programs are
compiled.)
Rxxx+4 (OUTPUT)
The program number which the compile
error occurred
Rxxx+8 (OUTPUT)
The block number which the compile error
occurred
Rxxx+12 (OUTPUT)
The compile error code
138
B–63173EN–1/02 1. AXIS CONTROL
NOTE
The area which is specified the ”OUTPUT” above is the
output area. So, these areas should be used to read only.
Limitations D This function is not available when the following function is used.
a. A high–level task is used with the C language executor function.
b. FANUC I/O Link–II board
c. Profibus–DP master function
d. Profibus–DP slave function
e. DeviceNet master function
f. DeviceNet slave function
g. Stored pitch error compensation
h. The straightness compensation B
D The following functions are not available in the high response mode.
a. Relative coordinate (The value of the relative coordinate is not
changed.)
b. Tool length measurement
c. Variable in–position function
d. Block overlap
e. Rapid traverse overlap
f. Mirror image
g. Machine lock for each axis
h. Fine acceleration/deceleration control
i. Advanced preview feed–forward control
j. Positioning by optimum acceleration
k. Analog input
l. The alarm for the motion program is not recorded in the alarm
history.
m. The alarm for the motion program is not recorded in the operation
history.
n. The operating time on the run hour and parts count display can not
be counted in the high response mode.
o. The cycle time on the run hour and parts count display can not be
counted in the high response mode.
p. The cutting time on the run hour and parts count display can not be
counted in the high response mode.
q. Even if the count type ”RUN” is specified on the periodical
maintenance display, the operation time can not be counted in the
high response mode.
r. Even if the count type ”CUT” is specified on the periodical
maintenance display, the cutting time can not be counted in the high
response mode.
139
1. AXIS CONTROL B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
8706
APMCD
CAUTION
The unit to refer the variables #1245 to #1995 in normal
mode is different from one in high response mode.
Example) When #1245 is 1, the distance of the block ”G91
X#1245” is shown below.
S In high response mode : +0.001mm
S In normal mode : +1.000mm (IS–B, mm input)
140
B–63173EN–1/02 1. AXIS CONTROL
NOTE
If an error occurs during compilation, the cursor moves to
the location of the error. If the error is within a program,
however, the cursor moves.
Number Contents
141
1. AXIS CONTROL B–63173EN–1/02
Number Contents
0114 Macro statement was specified. (This applies to the systems that
cannot use the custom macro function in the high response
mode.)
This error occurs when one of the following commands is
specified.
S The brackets (”[”and ”]”) are not in pairs for the IF or WHILE sta-
tement.
Example) IF [ #1000000 EQ 1 GOTO 1 ;
S GOTO’ is not specified for the IF statement.
Example) IF [ #1000000 EQ 1] ;
S DO’ is not specified for the WHILE statement. A number after
’DO’ is not specified for the WHILE statement.
Example) WHILE [ #1000000 EQ 1] ;
WHILE [ #1000000 EQ 1] DO ;
S EOB or EOR is not specified just after the conditional sentence.
Example) WHILE [ #1000000 EQ 1] DO1 G90 G00 X0 ;
The executing command (NC sentence) and the
conditional sentence are specified in the same block.
S EOB or EOR is not specified just after the ’ABS[ ]’.
Example) #1000000=ABS[ #1000000] + ABS[ #1000000] ;
0115 A value not used as a variable number is designated.
0116 The left side of substitution statement is a variable whose
substitution is inhibited.
Example) #5021=#1000000;
Impossible (#5021: Current position)
#1051000. 1=1;
Impossible (#1051000: I/O X address)
0118 The nesting of bracket exceeds the upper limit
Example) #1200000=#[#[#1200004]] ;
0124 DO – END does not correspond to 1 : 1.
Example)WHILE [ #1000000 EQ 1] DO1 ;
END2;
0125 This error occurs when one of the following commands is
specified.
S ’=’ is not specified after ’#________’ .
Example) #1000000 #1200000 ;
S An operator is not specified for the WHILE statement or IF
statement.
Example) IF [ #1000000] GOTO 1 ;
S A combination of ’#’ and the brackets (”[” and ”]”) is not correct.
Example) #1000000 = #[#1200000 ;
S The command ’[# _____]’ for ABS is not correct.
Example)#1000000 = ABS[1200000] ;
#1000000 = ABS#1200000 ;
S An attempt was made to specify bit specification for a variable
out of the range of system variables for which bit specification is
allowed.
Example) IF [#5021.0 EQ 0] GOTO 1;
0126 The number for DO and END is not correct.
Example) WHILE[#1200000 EQ 1] DO4 ;
END4 ;
0128 The illegal macro sequence number is specified.
Example) GOTO 90000 ;
N90000 ;
1000 Slash ”/” was input. (Slash ”/” can not be input.)
142
B–63173EN–1/02 1. AXIS CONTROL
Number Contents
1001 Both group 00 G code and group 01 G code were specified in the
same block.
1002 The number of words for a block was over the maximum.
1010 In the block including the command G31, no axis movement
command is specified, or two or more axes movement commands
are specified.
1011 An unusable P code is specified in the block including the
command G31
The macro variable after P in the G31 block is specified.
Example) G90 G31 P#1000000 X0 ;
1020 G code is specified in the block including the M code.
1021 The axis movement command is specified in the block including
the M code.
1022 An unusable M code is specified.
1024 An unusable P code is specified in the block including the M code.
This error occurs when one of the following commands is
specified.
S The macro variable ’#’ is specified for M code group number.
Example) M50 P#1000000 ;
S The macro variable ’#’ is specified for the parameter of the M
code output function.
Example) M40 P#1000000 Q1 ;
1025 P code is not specified in the block including the M code.
1027 The feed rate F is specified in the block including the M code.
1028 The incorrect ”Q” is specified in the block of direct signal output.
1029 The address ”Q” is not specified in the block of direct signal output.
1030 The macro sentence is not available because of the parameter
setting.
1040 In the block including the command of the continuous feed
(G135.1), no axis movement command is specified, or two or more
axes movement commands are specified
1060 The operator for the arithmetic or logic operation (=) is not correct.
Example) #1000000 = #1000000 ABS[#1200000] ;
1061 The number of the sequence number in a program is 1001 or over.
1062 The number of terms in the right of the operator is 2 or over.
Example) #1000000 = #1200000 + #1200000+ #1200000 ;
143
1. AXIS CONTROL B–63173EN–1/02
Number Contents
144
B–63173EN–1/02 1. AXIS CONTROL
Number Contents
Diagnosis screen The state in the high response mode can be checked by the following
diagnosis data.
#7 #6 #5 #4 #3 #2 #1 #0
890 OVC0 OVC2 OVC1 ILK2 ILK1
#7 #6 #5 #4 #3 #2 #1 #0
891 ALM2 ALM1
ALM1 Following alarm occurs, and so the motion program can not be executed
S P/S alarm 000
S Overheat alarm
S Serial pulse coder (SPC) alarm
S Servo alarm
S Over travel alarm
S Absolute position detector alarm
S The alarm for FSSB
(alarm No.5134 – 5139, 5197, 5198)
145
1. AXIS CONTROL B–63173EN–1/02
ALM2 A alarm including the above alarm(ALM1) occurs, and so the motion
program can not be executed.
When this bit is ”1”, the cause is set to the diagnostic data No.896.
The number of the executing motion program for each axis is set.
If the time to execute the program is short, this data might be set
incorrectly.
The block number of the executing motion program for each axis is set.
If the time to execute the block is short, this data might be set incorrectly.
(So, if the executing motion program is finished, the value might not be
set the last block number for the executed motion program.)
The alarm number which occurred in the high response mode is set. For
detail of the alarm number, refer to next page.
The cause for the alarm will be displayed at the alarm message screen,
when this value is 0 and the alarm occurs.
The alarm number at the diagnosis data No.896
Number Contents
146
B–63173EN–1/02 1. AXIS CONTROL
Number Contents
0224 Reference position return has not been performed before the
operation starts. (Perform reference position return only when
parameter ZRNX (No.1005#0) is 0.)
0244 In the skip function activated by the torque limit signal, the
numbers of accumulated error pulses exceed 32767 before the
signal was input. Therefore, the pulses cannot be corrected with
one distribution.
1000 The number of the programs to be executed at the same time was
exceeded
1001 The two or more programs including the same axis were executed
at the same time.
1002 The program is broken.
1003 The program can not be executed, because the program is
compiling.
1010 The auxiliary function is not available. This alarm occurs at
following cases.
(1) Parameter No.8706#4 is 0.
(2) Parameter No.8745 is set the incorrect value.
(3) PMC–SB5 is specified.
1020 Program number that can not be used for a sub–program is called
as a sub–program. (This error also occurs, when the area
designated as sub–program numbers by parameters is not
correct.)
1021 The program that is called as a sub–program is already called by
another program.
1022 The axis and the M–code group that are commanded in a program
called as a sub–program is in alarm state or reset state.
1050 The value of macro variable for G135.3 Q#____ R#_____ is
minus.
1200 The feedrate was exceeded the value of the maximum cut
feedrate (parameter No.1430).
1210 The movement value per a block was excessive.
1220 The axis which is used in the executing motion program was
synchronized with the master axis.
1231 For continuous feed, both the plus direction signal and the minus
direction signal for the same control axis were set ”1” at the same
time.
147
1. AXIS CONTROL B–63173EN–1/02
1.8.1 Each G code which is available in the high response mode is shown below.
Available G Code in
High Response Mode
1.8.1.1
G00 (Positioning)
Format
G00 IP__;
Explanations The G00 command moves a tool to the position in the workpiece
coordinate system specified with an absolute or an incremental command
at a rapid traverse rate.
In the absolute command, the coordinate value of the end point is
programmed.
In the incremental command, the distance to move the tool is
programmed.
Generally, the tool path is not a straight line.
The rapid traverse rate in G00 command is set to the parameter No. 1420
for each axis independently by the machine tool builder. In the positioning
mode actuated by G00, the tool is accelerated to a predetermined speed
at the start of a block and is decelerated at the end of a block. Execution
proceeds to the next block after confirming the in–position.
NOTE
1 Linear interpolation type positioning of the rapid traverse is
not available.
2 The rapid traverse rate cannot be specified in the address
F.
Parameter
1420 Rapid traverse rate for each axis
148
B–63173EN–1/02 1. AXIS CONTROL
1.8.1.2
G01 (Linear
interpolation)
Format
G00 IP__ F__ ;
Explanations A tool controlled by one or more axes can moves along a line by G01.
A tool moves along a line to the specified position at the feedrate specified
by address F.
The feedrate specified by address F is effective until a new value is
specified in a program. The feedrate need not be specified for each block.
The feedrate commanded by the F code is measured along the tool path.
If the F code is not commanded, the feedrate is regarded as zero.
NOTE
Only feed per minute is available for the linear interpolation.
Parameter
1430 Maximum cutting feedrate for each axis
CAUTION
1 The parameter No.1430 (maximum cutting feedrate for
each axis) must be set the value. (The parameter No.1422
(maximum cutting feedrate) is not available.)
2 In the high response mode, if the axis exceeds the
maximum feedrate for this axis, an alarm occurs and the
executing motion program that is including this axis is
stopped.
149
1. AXIS CONTROL B–63173EN–1/02
1.8.1.3
G04 (Dwell)
Format
G04 P__ ;
Explanations By specifying a dwell, the execution of the next block is delayed by the
specified time. When P is not specified, exact stop is performed.
NOTE
1 Use the address P to specify a time for dwell.
2 The dwell skip function is not available.
1.8.1.4
G28 (Reference position
return)
Format
G28 IP__ ;
Explanations The G28 command positions the tool to the reference position by the
specified axis, then sets the completion signal of reference position return
to 1 after reaching the reference position.
The reference position in the machine coordinate system must be set in
parameter No. 1240 before issuing the G28 command.
The tool moves to the reference position at the rapid traverse rate.
NOTE
1 The only high–speed reference return is available by G28.
An axis is moved to the reference position without passing
through the intermediate position. But, it is necessary to
specify the axis address (X0 etc.) to select which axis moves
to the reference position.
2 If the reference position is not established, the reference
position return(G28) function can not be done.
3 In case that the reference position return is done during
servo off state, even if the machine does not reach a
reference position, the lamp to indicate the completion of
reference position return goes on.
150
B–63173EN–1/02 1. AXIS CONTROL
1.8.1.5
G31 (Skip function)
Format
Explanation While the block with G31 and P command is executing, this block can be
interrupted and skipped the rest of block by a signal or torque limit
condition.
The meaning of the P command is shown in the below table.
P command Meaning
P101 to P104 Skip by the signal, SKIP, SKIP2 to SKIP4 (on X ad-
dress) or torque limit condition.
D Skip by a signal
When the skip signal correspond to P command is turned on, the
executing block moving by cutting feed is interrupted. The rest of the
motion of the block is cancelled and the next block is performed.
20 signals (4 points: X address, 16 points: G address) can be used as
a skip signal.
D Skip by torque limit condition
When the torque value of a servo motor exceeds the limit during
moving, the executing block moving by cutting feed is interrupted.
The rest of the motion of the block is cancelled and the next block is
performed.
Note) It is necessary to set the torque limit value of a servo motor
before the execution of this command.
D Skip by mixed condition, (both a skip signal and torque limit
condition).
When the value of P command is the sum of 100 and P command for
a skip signal, both conditions, skip signal and torque limit condition,
are effective in this skip command block.
Note) When the P command is omitted, it is regarded that P1 is given.
151
1. AXIS CONTROL B–63173EN–1/02
P98 None
152
B–63173EN–1/02 1. AXIS CONTROL
CAUTION
Be sure to give the torque limit command before executing
a skip command by torque limit.
NOTE
1 Do not give the P command with the value out of range. If
give, compile error is generated. If P command is omitted,
it is regarded that ”P1” is given.
2 A custom macro variable can not be applied to P command.
3 Only one axis can be given in the block of this skip
command. (Plural axes can not be given in the block of this
command.)
4 When a skip ends, the coordinate value at that time is stored
into the custom macro system variable #5061 to #5068. But
only the coordinate of the axis that is commanded in the
G31P block is stored.
#5061 Coordinate value of the first axis
#5062 Coordinate value of the second axis
#5063 Coordinate value of the third axis
:
#5068 Coordinate value of the eighth axis
5 In the skip command with ”P11 to P26” or ”P111 to P126”,
each P command corresponds to each skip signal.
6 In the skip command with ”P1 to P4” or ”P101 to P104”,
block skip is not performed when the relation between P
command and a skip signal is not set up.
7 When the P command with the value that is added 100 to
the value of P command by skip signal is given, block skip
is performed by both a skip signal and torque limit.
8 In the skip command with P98, block skip is performed only
by torque limit. In this P command, a skip signal is not
effective.
9 In case that the setting to compensate the servo following
error is selected by the parameter in a skip command by a
skip signal or torque limit, a motion program alarm signal is
turned to ”1” if servo following error is over 32767 when a
skip signal turns on or torque value reaches torque limit
value.
153
1. AXIS CONTROL B–63173EN–1/02
Signal
Skip signal
SKIP, SKIP2 to SKIP4
<X0000#0, #1, #2, #7> or
<X1000#0, #1, #2, #7>,
SKIPP1 to SKIPP16
<G0266, G0267>
[Classification] Input signal
[Function] These signals terminate skip cutting. That is, the position where a skip
signal turns to ”1” in a command program block containing ”G31P_” is
stored in a custom macro variable, and the move command of the block
is terminated at the same time.
Which of the four skip signals, SKIP, SKIP2 to SKIP4, is applicable to
blocks containing the P commands can be determined by parameter
(No.6202 to 6205). The four skip signals can correspond to the P
commands on a one–to–one basis. One skip signal can also be made
applicable to multiple P commands. Conversely, multiple skip signals can
be made applicable to one P command.
The skip signals, SKIPP1 to SKIPP16, can correspond to the P commands
on a one–to–one.
Signal SKIPP1 → Command P11, P111
Signal SKIPP2 → Command P12, P112
:
Signal SKIPP16 → Command P26, P126
[Operation] When a skip signal turns to ”1”, the control unit functions as described
below.
S When a block contains a G code from (G31P_) for skip cutting, and
the skip signal is made applicable by parameter setting to the
command (in case of X address), the control unit reads and stores the
current position of the specified axis at that time. The control unit stops
the axis, then cancels the remaining distance that the block was
supposed to be moved.
S The skip signal is monitored not for a rising edge, but for its state. So,
if a skip signal continues to be ”1”, a skip condition is assumed to be
satisfied immediately when the next skip cutting is specified.
NOTE
1 The skip signal width requires at least 6msec.
2 The CNC directly reads the skip signal, SKIP, SKIP2 to
SKIP4, from the machine tool; the PMC is no longer
required to process the signal.
3 If the skip function is not used, the PMC can use the signal
terminal, SKIP, SKIP2 to SKIP4, corresponding to the skip
signal as a general purpose input signal.
154
B–63173EN–1/02 1. AXIS CONTROL
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
X0000 S’KIP SKIP4 SKIP3 SKIP2
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6202 1S4 1S3 1S2 1S1
155
1. AXIS CONTROL B–63173EN–1/02
Skip function
Command
G31
Input G31P2 G31P3 G31P4
G31P1
signal
#7 #6 #5 #4 #3 #2 #1 #0
6200 SKF
#7 #6 #5 #4 #3 #2 #1 #0
6201
TSE
#7 #6 #5 #4 #3 #2 #1 #0
8680
HSKZ SSRT TSRT
156
B–63173EN–1/02 1. AXIS CONTROL
The relation between this parameter and the parameter No. 6201#2 (TSE)
is shown in the following table.
Reflection of servo Reflection of error of
TSE TSRT
following error acceleration/deceleration
0 0 Is done. Is done.
SSRT When a skip command block with G31 P1 to P26 or P101 to P126 is
skipped by skip signal,
0 : Servo following error and error of acceleration/deceleration are not
reflected to skip position.
1 : Servo following error and error of acceleration/deceleration are
reflected to skip position.
HSKZ In case of skip function in high speed response mode, smoothing zero
check and in–position check between commandblocks are:
0 : Performed.
1 : Not performed.
NOTE
When ”1” (not performed) is set to this parameter, override
and automatic acceleration/deceleration is effective to a
skip command regardless of setting value of the parameter
SKF (No. 6200#7).
Caution
CAUTION
1 Disable feedrate override and automatic acceleration/
deceleration during moving axis by skip command to
improve the precision of the tool position when skip signal
is input. (if No. 6200#7 SKF = 1, then effective)
2 When automatic acceleration/deceleration is effective (the
parameter SKF (No. 6200#7) is set to ”1”), block skip by skip
signal or torque limit is not performed during decelerating.
157
1. AXIS CONTROL B–63173EN–1/02
Note
NOTE
1 The skip cutting commands (G31P_) are all identical,
except that they correspond to different skip signals. The
tool moves along the specified axis until the SKIP signal is
set to ”1” or the end point of the specified movement is
reached, while performing linear interpolation. The feedrate
is specified in the program.
2 When the measuring motion is made by utilizing the skip
signal, program a constant feedrate; otherwise, if the
feedrate changes, the measuring error will be noticeable.
With a constant feedrate, the maximum measuring error can
be calculated as follows:
1 5*1
ERRmax = Fm
60 1000
ERRmax : Maximum measuring error [mm]
Fm : Measuring feedrate [mm/min]
*1 The value becomes 9 when the skip signals, SKIPP1 to
16<G0266,G0267>, are used. (Also it changes
according to the delay time of receiver or the processing
time of ladder program).
3 Maximum overtravel amount Qmax after the skip signal has
been turned to ”1” is calculated by the following: (In case
that the parameter SSRT (No.8680#1) is set to ”0”)
1 1 1
Qmax = Fm (8*2+ Tc+Ts)
60 1000 2
Qmax : Maximum overtravel amount [mm]
Fm : Feedrate [mm/min]
Tc : Cutting time constant [ms]
Ts : Servo time constant [ms] (1/loop gain)
*2 The value becomes 12 when the skip signals, SKIPP1 to
16<G0266,G0267>, are used. (Also it changes
according to the delay time of receiver or the processing
time of ladder program).
1.8.1.6
G90, G91 (Absolute and
incremental
programming)
Format
158
B–63173EN–1/02 1. AXIS CONTROL
Explanations There are two ways to command the travels of the tool, the absolute
command and the incremental command.
In the absolute command, the coordinate value of the end point is
programmed.
In the incremental command, the move distance to the end point itself is
programmed.
1.8.1.7
G92 (Setting a workpiece
coordinate system)
Format
G92 IP__ ;
Explanations By G92, a workpiece coordinate system can be set so that a point on the
tool, such as the tool tip, can be related to the specified coordinate.
1.8.1.8
G135.1 (Continuous
feed)
Format
Explanations During the execution of the block which is specified G135.1 command,
if a feed axis and direction selection signal (+Jn/–Jn) is turned to ”1”, the
selected axis continuously moves in the selected direction. During
moving the axis at this block, if a feed axis and direction selection signal
(+Jn/–Jn) is turned to ”0”, the axis stops. In case of absolute command,
the axis stops the commanded coordinate position. In case of incremental
command, the axis stops after moving the commanded distance. After the
axis which is specified in this block stops, next block is started.
If this function is used, the axis can be moved continuously in the selected
direction in the high response mode like the manual continuous feed in
the normal mode.
1) Absolute command
G90 G135.1 IP__ F__ ;
IP__ : Specify the stopped position in the absolute coordinate system
for the axis which is specified in the continuous feed.
F__ : Specify the feedrate in the continuous feed. (mm/min)
During the execution of the block which is specified G135.1
command, if a feed axis and direction selection signal (+Jn/–Jn) is
turned to ”1”, the axis moves continuously in the selected direction.
During moving the axis at this block, if a feed axis and direction
selection signal (+Jn/–Jn) is turned to ”0”, the axis stops at the
specified position. After the axis which is specified in this block stops,
next block is started.
159
1. AXIS CONTROL B–63173EN–1/02
CAUTION
When the distance from the position where a direction
selection signal turns to ”0” to the specified position is
shorter than the L which is shown below, the axis may round
one more time and stop at the specified position.
L = F * (12 + 2*m + n + (tc/2) + ts) / 60000
F : Feedrate (mm/min)
m : Scan time of the ladder program (msec)
n : Delay time by DI receiver (msec)
L : Distance (mm)
tc : Cutting time constant (msec)
ts : Servo time constant (msec) (1/ loop gain)
NOTE
1 When this command is used, specify only the rotary axis, to
which the roll–over function is valid.
2 Only one axis can be specified in this block.
3 The G135.1 command is the one–shot G code
4 If the signal +Jn/–Jn for the axis which is not specified in the
G135.1 block is set to ”1”, the axis will not move.
5 The moving direction depends on the direction selection
signal.
6 The axis, which is specified in the G135.1 block, always
stops once at the end of this block.
7 The type and time constant of the acceleration/deceleration
are the same as ones for the cutting feed.
8 As for override, the jog override signals *JV0 – *JV15
(G010,G011) are available. And, the override can be fixed
to 100% by the motion program override cancel signal
HOVCn(G227). (But the override cancel signal
OVC(G006#4) is not available in this block.)
9 The feedrate to exceed the rapid traverse feedrate which is
set in the parameter No.1420 must not be specified. If the
feedrate to exceed it is specified, the feedrate is clamped to
the rapid traverse feedrate.
10 One of the direction selection signal, which is not desired,
must be set to ”0” before the execution of the G135.1 block.
During the execution of the G135.1 block, when both the
plus and minus direction selection signal for the axis are set
to ”1” at the same time, an alarm will occur.
160
B–63173EN–1/02 1. AXIS CONTROL
2) Incremental command
G91 G135.1 IP__ F__ ;
IP__ : Specify the distance till the axis is stopped after the direction
selection signal is turned from ”1” to ”0”. (µm)
F__ : Specify the feedrate in the continuous feed. (mm/min)
During the execution of the G135.1 block, if a feed axis and direction
selection signal (+Jn/–Jn) is turned to ”1”, the axis moves
continuously in the selected direction. During moving the axis at this
block, if a feed axis and direction selection signal (+Jn/–Jn) is turned
to ”0”, the axis will stop after moving the specified distance. After the
axis which is specified in this block stops, next block is started
CAUTION
The position at the time when a direction selection signal is
turned to ”0” is not considered acceleration/deceleration
and servo delay. So, the overrun amount L after the
direction selection signal is turned to ”0” is shown below at
maximum.
L = F * (12 + 2*m + n + (tc/2) + ts) / 60000
F : Feedrate (mm/min)
m : Scan time of the ladder program (msec)
n : Delay time by DI receiver (msec)
L : Distance (mm)
tc : Cutting time constant (msec)
ts : Servo time constant (msec) (1/ loop gain)
161
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 When this command is used, specify only the rotary axis, to
which the roll–over function is valid.
2 Only one axis can be specified in this block.
3 Specify 0 or larger value as the move distance (IP__).
4 The G135.1 command is the one–shot G code
5 If the signal +Jn/–Jn for the axis which is not specified in the
G135.1 block is set ”1”, the axis will not move.
6 The moving direction depends on the direction selection
signal.
7 The axis, which is specified in the G135.1 block, always
stops once at the end of this block.
8 The type and time constant of the acceleration/deceleration
are the same as ones for the cutting feed.
9 As for override, the jog override signals *JV0 – *JV15
(G010,G011) are available. And, the override can be fixed
to 100% by the motion program override cancel signal
HOVCn(G227). (But the override cancel signal
OVC(G006#4) is not available in this block.)
10 The feedrate to exceed the rapid traverse feedrate, which
is set in the parameter No.1420, must not be specified. If the
feedrate to exceed it is specified, the feedrate is clamped to
the rapid traverse feedrate.
11 The direction selection signal, which is not desired, must be
set ”0” before the execution of the G135.1 block. During the
execution of the G135.1 block, if both the plus and minus
direction selection signal for the axis are set to ”1” at the
same time, an alarm will occur.
Example)
If following motion program and ladder program are created, the feed
which is similar to the manual continuous feed is available in the high
response mode.
A G100.0
B G102.0
G100.0 G228.0
G102.0
162
B–63173EN–1/02 1. AXIS CONTROL
If above programs are added and the signal A is turned to ”1”, the first axis
moves continuously in plus direction. And, during the first axis is moving
at this block, if the signal A is turned to ”0”, the first axis will stop. If the
signal B is turned to ”1”, the first axis moves continuously in minus
direction. And, during the 1st axis is moving at this block, if the signal
B is turned to ”0”, the 1st axis will stop.
Note) (1) The name of first axis is ”X”.
Note) (2) Suppose that the conditions (interlock, override) to move the
axis have been already set.
Signal
[Operation] When the signal is ”1” in executing the G135.1 block, the control unit
operates as follows.
S When the axis is specified in G135.1 block, the control unit moves the
specified axis in the specified direction.
S The control unit continues to feed the axis while the signal is ”1”.
ȍ|2
15
i
Override value (%) = 0.01% Vi |
i+0
where
Vi = 0 when the *JVi signal is “1”
Vi = 1 when the *JVi signal is “0”
163
1. AXIS CONTROL B–63173EN–1/02
The override value is assumed to be zero when all of the signals, (*JV0
to *JV15) are set to ”1” or ”0”. When this occurs, the feed is stopped.
The override value can be specified in the range of 0% to 655.34% in units
of 0.01%. Some examples are listed below.
*JV0 – *JV15 Override value
12 8 4 0 (%)
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0.01
1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0.10
1 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 1.00
1 1 1 1 1 1 0 0 0 0 0 1 0 1 1 1 10.00
1 1 0 1 1 0 0 0 1 1 1 0 1 1 1 1 100.00
0 1 1 0 0 0 1 1 1 0 1 1 1 1 1 1 400.00
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 655.34
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[Operation] For continuous feed in the high response mode, actual feedrate is obtained
by multiplying the speed specified in feedrate F by the override value
selected by these signals.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G010 *JV7 *JV6 *JV5 *JV4 *JV3 *JV2 *JV1 *JV0
Parameter
1420 Rapid traverse rate for each axis
164
B–63173EN–1/02 1. AXIS CONTROL
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1605 TCE
#7 #6 #5 #4 #3 #2 #1 #0
8680
HECF
1635
Axis–specific cutting–feed acceleration/deceleration time constant in the high
response mode or time constant T1 for axis–specific bell–shaped acceleration/
deceleration after cutting–feed interpolation in the high response mode
1638
Time constant T2 for axis–specific bell–shaped acceleration/deceleration after
cutting–feed interpolation in the high response mode
165
1. AXIS CONTROL B–63173EN–1/02
1644
Axis–specific continuous–feed acceleration/deceleration time constant in the high
response mode or time constant T1 for axis–specific bell–shaped acceleration/
deceleration after continuous–feed interpolation in the high response mode
NOTE
These parameters are valid if bit 3 of parameter No. 8680
(HECF) is 1.
1645
Time constant T2 for axis–specific bell–shaped acceleration/deceleration after
continuous–feed interpolation in the high response mode
NOTE
These parameters are valid if bit 2 of parameter No. 8680
(HECF) is 1.
166
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 If parameter No. 1638 (time constant T2 for axis–specific
bell–shaped acceleration/deceleration after cutting–feed
interpolation in the high response mode) is 0, the linear
acceleration/deceleration after interpolation is performed
for cutting feed in the high response mode.
Likewise, if parameter No. 1645 (time constant T2 for
axis–specific bell–shaped acceleration/deceleration after
continuous–feed interpolation in the high response mode)
is 0, the linear acceleration/deceleration after interpolation
is performed for continuous feed in the high response mode.
2 If bit 1 of parameter No. 1605 (TCE) = 0, the sum of time
constants T1 and T2 cannot exceed 1000 ms.
If bit 1 of parameter No. 1605 (TCE) = 1, the sum of time
constants T1 and T2 must be in the following ranges:
0 to 1000 (for 5 to 8 controlled axes),
0 to 2000 (for 3 or 4 controlled axes), or
0 to 4000 (for 1 or 2 controlled axes)
1.8.1.9
Rate–feed function
Format
Explanation The velocity at the end point of this block is specified directly by the value
after address F. The unit of F is mm/min.
(1) If the feedrate mode of the previous block is also G135.2, the value of
F of the previous block is regarded as the velocity at the start point of
this block. And the velocity is accelerated or decelerated by specified
rate.
(2) If the feedrate mode of the previous block is except G135.2, the
velocity of the start point of this block is regarded as 0 mm/min.
167
1. AXIS CONTROL B–63173EN–1/02
Feedrate f2
f1
f3
f0 x1 x2 x3
Time
G135.2 F f0 ;
Xx1 F f1 ;
Xx2 F f2 ;
Xx3 F f3 ;
NOTE
1 G135.2 belongs to the group 01 G–code.
2 The actual velocity at the end point may be different from F
command. The actual velocity at the end point is calculated
as follows with F command. (In case override is 100%)
Fnew = 120*L/T – F1
F1 : Velocity at the start point (mm/min)
L : Moving distance (0.001mm)
F : Feedrate command (mm/min)
T : The value rounded up 120*L/(F1+F) to the
nearest whole number
3 The feedrate override signals ”*FV0–*FV7” is effective to
G135.2.
4 The value of feedrate override is read in when the block is
read from program memory. (In other words, at the moment
when the previous block starts executing) If override is
changed after the above, new value is ignored.
5 Axes slow down and stop once between the block with rate
feed and the block with other feed.
6 A proper value must be set to the parameter No.1430
(maximum feedrate for each axis). The parameter No.1422
(maximum feedrate) is not used in rate feed.
7 If feedrate command exceeds maximum feedrate in
high–speed response mode, axes are stopped and an
alarm is generated.
168
B–63173EN–1/02 1. AXIS CONTROL
CAUTION
When interlock is turned on/off in the middle of block, the transition of velocity is as follows.
(1)In case interlock is turned on in the middle of block.
– Axes are decelerated by the time constant of acc/dec after interpolation
(2)In case interlock is released after (1) condition.
– Axes are accelerated, by the time constant of acc/dec after interpolation, from the
velocity, at that the axes moved when interlock is turned on. After that, axes are
accelerated or decelerated by specified rate till the end point.
Feedrate
F1
F0
Time
G135.2 Ff0 ;
X____ Ff1 ;
Fig. 1.8.1.9(a) Transition of velocity when interlock is turned on/off in case the
time constant of acc/dec after interpolation is ”0ms”.
169
1. AXIS CONTROL B–63173EN–1/02
CAUTION
When operation is interrupted by single block function between the continuous blocks with
G135.2 or stop condition by single block is released, the transition of velocity is as follows.
(1)In case operation is interrupted by single block function
– Axes are decelerated by the time constant of acc/dec after interpolation
(2)In case stop condition by single block function is released
– Axes are accelerated, by the time constant of acc/dec after interpolation, from the last
velocity of the previous block. After that, axes are accelerated or decelerated by specified
rate till the end point.
Feedrate
f2
f1
f0
X1 X2
Time
Stop by single block Release single block
G135.2 Ff0 ;
Xx1 Ff1 ;
Xx2 Ff2 ;
Fig. 1.8.1.9(b) Transition of velocity when single block is applied/released in case the time constant
of acc/dec after interpolation is ”0ms”.
Parameter
1430 Maximum cutting feedrate for each axis
170
B–63173EN–1/02 1. AXIS CONTROL
1.8.1.10
G135.3 (Motion
command with
acceleration/deceleration
time constant)
Outline This function enables to specify the time constant of linear type
acceleration/ deceleration to every block respectively. By this function,
longer time constant can be applied to the block that is required gentle
motion. In other hand, shorter time constant can be applied to other
blocks. Then, as compared with former function, total operation time for
positioning can be shortened.
Feedrate
In case of former
function
Time
t1 t1
In case of this function
Time
t1 t1
Shorten
t2
Fig. 1.8.1.10(a)
171
1. AXIS CONTROL B–63173EN–1/02
Feedrate
In case of
former function
Time
t1 t1
In case of this function
Time
Shorten
t2 t1
Fig. 1.8.1.10(b)
Format
IP__: In case absolute command mode, the absolute coordinate of the end
point is specified. And in case incremental command mode,
moving distance is specified. Only one axis command can be
specified in one block.
F__: Feedrate is specified (mm/min)
Q__: Time constant for acceleration is specified. (msec)
R__: Time constant for deceleration is specified. (msec)
172
B–63173EN–1/02 1. AXIS CONTROL
Feedrate
Time
Q R
Fig. 1.8.1.10(c)
CAUTION
1 The address Q and R must be set in every block. As the
address Q and R are not modal data, an axis move without
acceleration/deceleration (time constant 0) when address
Q and R is not specified.
2 The value of feedrate override (*FV0–*FV7) is read in when
the block is read from program memory. (In other words, at
the moment when the previous block starts executing) If
override is changed after the above, new value is ignored.
3 When the override cancel signals, HOVCn(G227) or
OVC(G0006#4), is turned to high, the feedrate override is
fixed at 100%. But these signals are read in also at the
moment when the block is read from program memory.
NOTE
1 Only one axis can be specified in the block of G135.3
2 G135.3 belongs to the group 01 G code.
3 An axis will stop once after this command.
4 Only feed per minute is allowed.
173
1. AXIS CONTROL B–63173EN–1/02
Feedrate
In case override
is 100%
F
In case override is
50%
Time
Q R
Fig. 1.8.1.10(d)
Parameter
1430 Maximum cutting feed for each axis
NOTE
1 The parameter No.1430 (maximum feedrate for each axis)
must be set the proper value. The parameter No.1422
(maximum feedrate) is not referred in G135.3.
2 When given feedrate exceeds the maximum feedrate in
high speed response function, an alarm is generated and an
axis is stopped.
1642 Bell shape acc/dec time constant for high speed response function T2
(For G135.3)
174
B–63173EN–1/02 1. AXIS CONTROL
Feedrate
Time
Q
Q–T2 T2/2
T2 T2
T2/2
Fig. 1.8.1.10(e)
NOTE
1 The acceleration time specified by this parameter is fixed
regardless feedrate command. Then, the time of a curved
line part in above figure 1.8.1.10(e) is usually constant
regardless feedrate.
2 The time constant specified by this parameter is used at
both accelerating and decelerating.
#7 #6 #5 #4 #3 #2 #1 #0
8680 HOVZ
175
1. AXIS CONTROL B–63173EN–1/02
NOTE
When a motion program for time constant–specified feed is
being executed in the high response mode, setting the
override signal (G12) to 0% override (the G12 bits are either
all 0s or all 1s) decelerates the axis of interest to halt as in
interlock.
A value specified before the time constant–specified feed
is executed becomes valid for the override signal, and
switching override signal values during the execution of a
motion command does not change the speed. If the
override signal is set to 0%, however, override is put in effect
even during the execution, thus decelerating the axis to halt.
Once the axis has been decelerated to halt, setting the
override signal to a value other than 0% causes the motion
command to be executed with a speed obtained using the
value specified for the override signal before the execution
of the motion command.
1.8.2
Auxiliary function in
high response mode
Format
176
B–63173EN–1/02 1. AXIS CONTROL
NOTE
If the value of the parameter No.3030 is changed after
compiling the programs, the changed value will not be
affected to the motion program. So, all of the programs must
be compiled again after changing the parameter No.3030.
NOTE
This function is not available, when PMC–SB5 is specified.
[Basic procedure]
Below, suppose that R100 is specified as the top of the PMC internal relay
address to be outputted the M–codes. (The 100 is set to the parameter No.
8745.)
NOTE
The 32 bytes PMC internal relay from the top address which
is specified in the parameter No.8745 are used for the
auxiliary function.
177
1. AXIS CONTROL B–63173EN–1/02
(5) When the strobe signal is set to 0, set the completion signal to 0 in the
PMC.
(6) When the completion signal is set to 0, the CNC sets all code signals
to 0 and completes all sequences of the auxiliary function.
(7) The CNC executes the next block.
Signal
178
B–63173EN–1/02 1. AXIS CONTROL
NOTE
For the address to output these signals, refer to the
explanation of the parameter No.8745.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G458 HFIN8 HFIN7 HFIN6 HFIN5 HFIN4 HFIN3 HFIN2 HFIN1
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8706
HMD
8745
The address to output the M code
NOTE
The area managed by system program can not be specified.
179
1. AXIS CONTROL B–63173EN–1/02
If the setting value of this parameter is xxx, the area which is used to
output the auxiliary function code signal of the motion program by each
M–code group is shown below.
Rxxx+0
The code signal output area for M code
which is specified P1
Rxxx+4
The code signal output area for M code
which is specified P2
Rxxx+8
The code signal output area for M code
which is specified P3
Rxxx+12
The code signal output area for M code
which is specified P4
Rxxx+16
The code signal output area for M code
which is specified P5
Rxxx+20
The code signal output area for M code
which is specified P6
Rxxx+24
The code signal output area for M code
which is specified P7
Rxxx+28
The code signal output area for M code
which is specified P8
180
B–63173EN–1/02 1. AXIS CONTROL
1.8.2.1 When a program is executed in high response mode, that program can be
M99 in high response executed from the top again by M99 command. Then the same part of a
program can be executed repeatedly.
function
When a program is being executed repeatedly by M99 command,
skipping the block of M99 by optional block skip function can terminate
this repeated execution.
Format
M99 Pn (n: M code group 1–8)
The command ”M99 Pn” returns the read pointer of the program to the
top. Then the same part of the program can be executed repeatedly.
NOTE
1 When M99 is commanded, M–code group has to be
specified by Pn like other M–code in high response mode.
However, M99 does not output the signals, such as motion
program auxiliary function code, motion program auxiliary
function strobe signal (HMFn) and motion program auxiliary
function completion signal (HFINn).
2 When a M–code group is specified in a program, the same
M–code group can not be specified in other program at the
same time.
3 Motion command can not be specified in the block with M99.
M99 has to be commanded alone in a block.
4 When the read pointer of a program is returned to the top
by M99, the mode of G–code is initialized as follows.
Group 01 : G00
Group 03 : G91
Example This example shows the case that the repeated execution by M99 is
terminated by optional block skip signal.
181
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 The optional block skip signal is judged during executing the
block before the block with ”/”. So set the optional block
signal to ”1” during executing two blocks before the block
with ”/”, or the program may be executed one more time.
2 While the program included the block with ”M99” is being
executed, the diagnostic data No.895 (executing block
number) may show ”0” when the block just before ”M99” is
executed.
The block with ”M99” is not counted as the executed block
number.
1.8.2.2 In high response mode, the signals of the built–in I/O (Y1000–Y1002)
Direct signal output can be controlled directly by the M–code command of CNC.
function in high D This function enables to turn on/off signals at high speed, because
response function signals can be input/output without passing through PMC .
D As for on/off timing of direct signals, there are two types of controlling
methods. One is immediate output type. Another type is output after
pulse distribution end. The preferable method can be selected by the
command.
For example, this function can be used as the following Fig.1.8.2.3(a).
1) When the axis moved by G01 reaches near the point B, this function
turns on a direct signal. Then, another program is started, and the axis
of another path is started moving.
2) When the axis stops at the point C, this function turns on another direct
signal. Then, the program to terminate the operation is started.
182
B–63173EN–1/02 1. AXIS CONTROL
A B C
Format As for on/off timing of signals, there are two types of controlling methods.
One is immediate output type. Another type is output after pulse
distribution end.
D Immediate output type In this type, regardless of the command of the previous block specified
just before the block with the M–code for direct signal output, a direct
signal output immediately when the block with the M–code for direct
signal output is executed. The format is shown below.
To turn on a signal
Mm Pn Q1 ;
m : the value of the parameters No.7410–No.7412.
n : the group to specify M–code 1–8
Q1 : specify to turn on a signal in ”immediate output type”
Ex.) M40 P1 Q1 ;
Mm Pn Q0 ;
m : the value of the parameters No.7410–No.7412.
n : the group to specify M–code 1–8
Q0 : specify to turn off a signal in ”immediate output type”
Ex.) M40 P1 Q0 ;
183
1. AXIS CONTROL B–63173EN–1/02
Parameter No.7410=40
setting No.7415=1000
No.7420=3
O8000;
G90G01X10000F1000;
M40P1Q1;
M41P1Q1;
M42P1Q1;
%
When it is required to turn on the direct output signals after the motion
command is finished, insert the block ”G04 P0;” between the block with
”G01” and the block with ”M40”.
D Output after pulse In this type, when the block with a motion command is specified just
distribution end type before the block with the M–code for direct signal output, the signal is
output after the motion command is finished. The format is shown below.
To turn on a signal
Mm Pn Q3 ;
m : the value of the parameters No.7410–No.7412.
n : the group to specify M–code 1–8
Q3 : specify to turn on a signal in ”output after pulse distribution type”
Ex.) M40 P1 Q3 ;
Mm Pn Q2 ;
m : the value of the parameters No.7410–No.7412.
n : the group to specify M–code 1–8
Q2 : specify to turn off a signal in ”output after pulse distribution type”
Ex.) M40 P1 Q2 ;
Parameter No.7410=40
setting No.7415=1000
No.7420=3
O8000;
G90G01X10000F1000;
M40P1Q3;
M41P1Q3;
M42P1Q3;
Y100000;
%
184
B–63173EN–1/02 1. AXIS CONTROL
Example)
When the following program is executed after compiling, the
signal Y1000#0, #1 and #2 are output after MFIN1 (G0458#0)
correspond to M10 is returned.
O8000;
M10P1;
M40P1Q3;
M41P1Q3;
M42P1Q3;
%
O8000;
G91G01X1000F1000;
M40P1Q3; (M–code direct output command)
G00X1000;
%
Velocity
Time
Signal is output here
Fig.1.8.2.2(b)
(2) In case an axis is not decelerated between two motion commands
When M–code for direct signal output is specified after the block with
”G01” and the next block is also the block with ”G01”, the direct
output signal is output after the pulse distribution of the previous block
is finished.
185
1. AXIS CONTROL B–63173EN–1/02
Example)
When the M–code for direct signal output is specified between two
blocks with ”G01” like shown in the following figure, the output
timing of the signals is shown in the Fig.1.8.2.2(c).
O8000;
G91G01X1000F1000;
M40P1Q3; (M–code direct output command)
G01X1000;
%
Velocity
Signal is output
Time
Fig.1.8.2.2(c)
D Setting of M–code and The M–code number and signal address for this M–code for direct signal
output signal output can be set by parameters.
The address of output signal can be assigned by the parameter
No.7415–7417 (Output address 1–3 of M–code for direct signal output)
corresponding to the parameter No.7410–7412 (M–code number for
direct signal output).
The number of output bits can be set by the parameter No.7420–7422
(number of bits for M–code for direct signal output).
The above parameters have to be set the value before compiling. If the
values of these parameters are changed, all programs have to be compiled
again.
Examples)
In case No.7410=10, No.7415=1000, No.7420=8,
Y1000#0 is turned on by M10.
Y1000#1 is turned on by M11.
:
Y1000#7 is turned on by M17.
Note) Except in high response mode, above parameters are ineffective
and direct signal output can not be used.
186
B–63173EN–1/02 1. AXIS CONTROL
Example
A B C
3) 4)
One program starts another program by The program to terminate the operation
turning on Y1000.0. And another axis is is executed by turning on Y1000.1.
moved. Y1000.0 should be turned off Y1000.1 should be turned off when the
when the operation is finished. operation is finished.
Fig.1.8.2.2(d)
In case another axis is started moving near the point B in the operation of
moving from the point A to the point C, and another program to terminate
the operation is started after the axis stops at the point C, as shown in the
above Fig.1.8.2.2(d), programs are as follows .
Parameter No.7410=40
setting No.7415=1000
No.7420=2
The coordinate of the point
Point A: X0, Point B: X10000, Point C: X11000
Program to operate the part 1) 2).
O8000;
G91G01X10000F1000;
M40P1Q3; (Turn on Y1000#0 after the pulse distribution of X axis is
finished)
G91G01X1000F1000;
G04P0;
M41P3Q1; (Turn on Y1000#1)
%
Program to operate the part 3) (Started by turning on Y1000#0)
O8001;
G91G01Y10000F2000;
M40P2Q2; (Turn off Y1000#0 after the pulse distribution of Y axis is
finished)
%
Program to operate the part 4) (Started by turning on Y1000#1)
O8002;
G91G01Y–10000F2000;
G04P0;
M41P4Q0; (Turn off Y1000#1)
%
187
1. AXIS CONTROL B–63173EN–1/02
Note D When a direct signal is turned on and also off within a program, the
M–code group number (n: given by address P) of each command has
to be the same value. When a turning–on–command and a
turning–off–command are given in different programs respectively,
each M–code group number has to be specified different values.
Ex) When a direct signal is turned on in a program and turned off in
another program like the following example program, each
M–code group number (n) has to be set different value.
O8000
G90G01X10000F1000;
M40P1Q3; (Turn on a signal after pulse distribution of X axis is finished.)
%
O8001
G90G01Y10000F1000;
M40P2Q2; (Turn off a signal after pulse distribution of X axis is finished.)
%
D When several blocks with M–code for direct signal output are
specified consecutively between blocks without this command such
as a motion command, empty block (only ”;”) or so on, a command
type of M–code for direct signal output has to be the same. If different
command type is specified, compile error 1028 will be generated.
D In case that several blocks with M–code for direct signal output are
specified consecutively between blocks without this command such
as a motion command, empty block (only ”;”) or so on, if both
a–turning–on command and a turning–off–command for the same
signal are specified, the latter command is effective. The former
command is ignored.
Ex) In the following sample program, the latter command to turn off
a signal is effective. So Y1000#0 is not turned on.
Parameter No.7410=40
setting No.7415=1000
No.7420=1
O8000;
G90G01X10000F1000;
M40P1Q3; (This command is ignored)
M40P1Q2; (This command is effective)
Y100000;
%
188
B–63173EN–1/02 1. AXIS CONTROL
D Once the direct signal is changed its status by M–code for direct signal
output, the status of the direct signal is kept even after the program is
finished. Besides this status cannot be initialized by reset operation.
In order to initialize the direct signal, the block to initialize the status
of the direct signal should be specified at the top of a program. Or a
program for initializing should be executed beforehand.
Ex) In the following sample program, Y1000#0, #1 and #2 are
turned off at the top of the program for initializing. Upon
completion of X–axis pulse distribution, Y1000#0, #1, and #2
are turned on. After this program is finished, Y1000#0, #1 and
#2 are kept as they are.
Parameter No.7410=40
setting No.7415=1000
No.7420=3
O8000;
M40P1Q0;
M41P1Q0; Turn off for initializing
M42P1Q0;
G90G01X10000F1000;
M40P1Q3;
M41P1Q3;
M42P1Q3;
Y100000;
%
Parameter
7410 M–code 1 for direct signal output function
7415 Output address 1 for M–code for direct signal output function
7416 Output address 2 for M–code for direct signal output function
7417 Output address 3 for M–code for direct signal output function
189
1. AXIS CONTROL B–63173EN–1/02
Note) When this parameter is set, the power must be turned off before
operation is continued.
These parameters are effective when direct signal output function
is used in high response mode.
CAUTION
S As the output signals on the built–in I/O are used, the
address and the bit of the direct signal must not overlap with
the other usage of PMC application. The signals that are
already used for other purpose cannot be assigned here.
S The bits other than the direct signal in the address assigned
for the direct signal must not be used for other usage.
Compile error The following description is related to the compile error added for direct
signal output. As for the other compile error, please refer to the ”Compile
error code list” in the section 1.8 ”High speed response function”.
(1) Compile error 1029 is generated when the address ”Q” is not specified
in the block of M–code for direct signal output.
Ex) In case that the parameters are set as follows,
No.7410=40, No.7415=1000, No.7420=3,
compile error 1029 is generated when the following program is
compiled.
O8000;
M40P1;
%
190
B–63173EN–1/02 1. AXIS CONTROL
(2) Compile error 1028 is generated when the value of the ”Q” command
is other than 0, 1, 2 or 3.
Ex) In case that the parameters are set as follows,
No.7410=40, No.7415=1000, No.7420=3
compile error 1028 is generated when the following program is
compiled.
O8000;
M40P1Q4;
%
(3) Compile error 1028 is generated, when the value of the ”Q” command
is 2 or 3 and the value of the ”Q” command in the previous block is
0 or 1 in the block of M–code for direct signal output.
Ex) In case that the parameters are set as follows,
No.7410=40, No.7415=1000, No.7420=3
compile error 1028 is generated when the following program is
compiled.
O8000;
M40P1Q1;
M40P1Q3;
%
D The above compile error can be avoided by inserting the block
other than M–code for direct signal output between two blocks of
M–code for direct signal output. Although an empty block (only
”;”) is inserted, this compile error is avoided.
D Compile error code list
Number Contents
Alarm, diagnosis In the following case, an alarm is generated and CNC comes to emergency
stop state when the power is turned on. The cause is displayed in
diagnostic data.
(1) The edition of the PMC control software is not the one to support the
function that allows CNC to access the Y address directly.
(2) In case that both ”direct signal output function” and ”pulse signal
output function” use the same bit of the same Y address on the built–in
I/O.
D Alarm
Number Message Contents
191
1. AXIS CONTROL B–63173EN–1/02
D The detail of an alarm 5800 is displayed in the data No.50 and No.60
of the diagnostic screen.
The detail of an alarm 5800
#7 #6 #5 #4 #3 #2 #1 #0
Diagnosis 50 PMC
#7 #6 #5 #4 #3 #2 #1 #0
Diagnosis 60 HSO
1.8.3 When high speed response function is used, this function enables to use
Custom Macro in the macro sentence and macro system variable in motion program. The
following macro sentence can be used.
High Response Mode
S Arithmetic command
S Unconditional branch command (GO TO statement)
S Conditional branch command (IF statement)
S Reiterating command (WHILE statement)
S Quotation of variable
NOTE
The following functions apply to the variables that are
described in the Subsection 1.8.3.5 System variables.
1.8.3.1 The following arithmetic commands can be used. (i, j, k: System variable,
Macro statement n: Integer)
Arithmetic command
Function Format
Definition #i = #j, #i = n
Addition #i =#j + #k, #i = #j + n
Subtraction #i =#j – #k, #i = #j – n
Multiplication #i =#j*#k, #i = #j*n
Division #i = #j / #k, #i = #j / n
Absolute value #i =ABS[#j]
192
B–63173EN–1/02 1. AXIS CONTROL
Function Format
Logical or #i =#j OR #k, #i =#j OR n
Exclusive logical or #i =#j XOR #k, #i =#j XOR n
Logical and #i =#j AND #k, #i =#j AND n
NOTE
1 The arithmetic commands except the above can not be
used.
2 The figures below the decimal place are omitted when the
decimal part remains as a result of division.
3 ”–” cannot be placed just before ”ABS”.
Ex.) The command such as ”#i = –ABS[#j]” is not permitted.
4 A constant cannot be placed in the square brackets ”[ ]” of
ABS command.
5 An operator can not be used in the left side of an equation
and the first term of the right side of equation.
Ex.) The command such as ”–#i= 100” cannot be used.
D Unconditional branch The program branches to the block with sequence number n
(GOTO statement) unconditionally.
If sequence number except 0–89999 is specified, compile error 128 is
generated.
Ex.) (n: 0–89999)
GOTO n;
:
:
Nn ..... ;
D Conditional branch An equation of condition is placed after ”IF”. Put an equation of condition
(IF statement) in square brackets ”[” and ”]”. If the condition is true, then the program
branches to the block with sequence number n. If the condition is false,
then the next block is executed.
The following operators as an equation of condition can be used
Operator Meaning
EQ Equal to (=)
NE Not equal to (0)
GT Greater than (>)
GE Greater than or equal to (y)
LT Less than (<)
LE Less than or equal to (x)
193
1. AXIS CONTROL B–63173EN–1/02
Example)
IF [#i EQ #j] GOTO n;
(1) If the specified conditional
(2) expression is satisfied (#i = #j),
this program branches to the
Processing1 (1) block with sequence number
n, and the processing2 is
Nn executed.
Processing2
(2) If the specified condition is
not satisfied (#i 0 #j), the
processing1 is executed.
NOTE
Arithmetic and logic operation can not be performed in an
equation of condition.
Example)
IF[#i EQ #i + 1] ..... NG
IF[#i EQ – #i ] ........ OK
IF[#i EQ #j] ........... OK
D Repetition (While Specify a conditional expression after WHILE. While the specified
Statement) condition is satisfied, the program from DO to END is executed. If the
specified condition is not satisfied, program execution proceeds to the
block after END.
The same format as for the IF statement applies.
Example)
WHILE [#i EQ #j] DO1 ;
(1) While the specified condition
(2) is satisfied (#i = #j), the
processing1 from DO to END
Processing1 (1) is executed.
END1 ;
(2) If the specified condition is
Processing2 not satisfied (#i 0 #j), the
processing2 is executed.
194
B–63173EN–1/02 1. AXIS CONTROL
D Nesting
1 The identification numbers (1 to 3) can be used as many times as
required.
WHILE […] DO1;
Processing
END1;
:
WHILE […] DO1;
Processing
END1;
2 DO loops can be nested to a maximum depth of three levels.
WHILE […] DO1;
:
WHILE […] DO2;
:
WHILE […] DO3;
Processing
END3;
:
END2;
:
END1;
3 Control can be transferred to the outside of a loop.
WHILE […] DO1;
:
IF […] GOTO n;
:
END1;
:
Nn…;
195
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 DO ranges cannot overlap.
If the following program is specified, the compile error 0124
occurs when the compile is done.
WHILE […] DO1;
Processing
196
B–63173EN–1/02 1. AXIS CONTROL
CAUTION
As for the variables from #1245 to #1959 in addition to the
variables, which are described in the ”1.8.3.5 SYSTEM
Variables”, the value of the variable can be referred to, too.
But the value of the system variables from #1245 to #1959
is referred only when the programs are compiled. So, if the
value of the macro variable is changed after compiling the
programs, the changed value of the macro variable will not
be reflected to the executing motion program.
NOTE
1 The value of a macro variable can not be referred just to
specify the G code, M code, and number of M code group.
Example) G#i ; …NG
M#i P1 ; …NG
M100 P#i ; …NG
2 An expression as following is not available.
Example) X[#i + #j ]
1.8.3.4 Common variables from #100 to #199, from #500 to #699 are not
Common variables available.
1.8.3.5 The following system variables are available in the motion program.
System variables Variable number Function
197
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 The usable area of the PMC data depends on the PMC type.
2 The value of the above variables is referred when the
motion program is executed.
3 When this access function is used, the four bytes from a
specified address are accessed.
Example) When #1300001 is specified, the four bytes from
the #1300001 are accessed. If #1207999 is
specified, the error will occur because the area
from D8000 to D8002 are not available.
4 When the data table variable (D0 to D7999) and the internal
relay variable (R0 to R2999) are specified for the position
value, the unit of the command is least input increment.
When these data are specified for the feed rate, the unit is
mm/min.
5 Musk the variables from #1051008 to #1051010, when
#1051007 is specified to read the X1007 in the built–in DI.
Because the variables from #1051008 to #1051010 are not
available.
6 The following system variables are the write protected
variables. If the command to write to these system variables
is specified, the compile error 0116 occurs at compile.
#5021 to #5028 : Current position (Machine coordinate
system)
#5041 to #5048 : Current position (Workpiece coordinate
system)
#5061 to #5068 : Skip position (Workpiece coordinate
system)
#5101 to #5108 : Deviated servo position
#1051000 to #1051007 : Built in DI (X1000 to X1007)
198
B–63173EN–1/02 1. AXIS CONTROL
WARNING
Incorrect data may be read if data being written by a ladder program is read by an NC program,
or if data being written by an NC program is read by a ladder program. When data is exchanged
between a ladder program and an NC program, read/write timing must be set carefully.
Generally, in case of reading the PMC data in a motion program, the value must be fixed before
the previous block with axis moving command starts executing. And, the ladder program must
not change the value until the block referring this data starts to execute.
Example)
:
G91 G00 X10000 ; ……… (1)
G91 G00 X20000 ; ……… (2)
#1200004 = #1200004 + 1 ; ……… (3)
G91 G00 X#1200000 ; ……… (4)
:
When the above motion program is executing, the value of PMC data that is used in the block
(4) must be fixed by the time the block (2) starts to execute. In the following term, the ladder
program must not change the value of the PMC data that is used in the block (4).
Executing the block(1)
Executing the block(2)
Executing the
block(3)
Executing the block(4)
#12000000
(D0000AD0003)
The value can The value is prohibited changing
be changed
Fig. 18.3.5 Executing blocks and the prohibition term to change the value of the variable
1.8.3.6 The total number of blocks that can be specified in all programs is
Number of blocks extended up to about 6000 from 1000 in the system that custom macro
function in the high response mode is available.
NOTE
1 The part program memory is also necessary to create the
programs. Please select the proper part program storage
length that is necessary to create the programs.
2 The number of available blocks is the roughly estimated
value. So, there are some cases that this number is under
the above value according to the programs. Especially, a
block of the four basic arithmetic functions is twice the size
of the axis moving block.
199
1. AXIS CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8706
HMC
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
200
B–63173EN–1/02 1. AXIS CONTROL
201
1. AXIS CONTROL B–63173EN–1/02
1.8.4 The following format of bit–specified access is usable for custom macro
Bit–Specified Access to system variables for PMC data in the high response mode.
System Variables
Bit–specified access format:
#variable–number.bit–number
(where bit number: 0 to 7)
Example) If the R0000 bit is 1:
#1300000.1
NOTE
1 Only bit numbers 0 to 7 can be specified. If any other bit
number is specified, compiler error 1064 occurs.
2 If bit–specified access is to be performed, do not specify a
variable as a variable number or bit number. Otherwise,
compiler error 1066 (meaning that an attempt to use an
indirect command with a bit specification macro variable
was made) occurs.
Example) #[#1300000.2] .0 ... Impossible
#1300000.#1300004 ... Impossible
#[#1300000].0 ... Possible
Usable system variables Listed below are the system variables for which bit specification is
supported.
Variable number Function Access
attribute (*1)
#1000000 to #1000299 Variable–timer variables (T0 to R/W
T299)
#1010000 to #1010039 Keep relay variables (K0 to K39) R/W
#1020000 to #1020199 Counter variables (C0 to C199) R/W
#1050000 to #1050127 External I/O (X0000 to X0127) R
#1051000 to #1051003, Built–in I/O (X1000 to X1003 and R
#1051007 X1007)
#1060000 to #1060127 External I/O (Y0000 to Y0127) R
#1061000 to #1061002 Built–in I/O (Y1000 to Y1002) R/W*2
#1200000 to #1207999 Data table variables (D0 to R/W
D7999)
#1300000 to #1302999 Relay variables (R0 to R2999) R/W
#1400000 to #1400511 PMC G addresses (G0 to G511) R/W
#1500000 to #1500511 PMC F addresses (F0 to F511) R
*1 R: Readable. W: Writable.
*2 Before writing, specify the Y addresses of the write destinations in
parameter Nos. 7415 to 7417.
202
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 The usable PMC data range varies from one PMC model to
another.
2 Do not perform bit–specified access for any variable other
than listed above. Otherwise, compiler error 0125 occurs.
3 The bit specification value of the variables listed above is
referenced when a motion program is executed. As for the
timing when data can be changed on the PMC ladder side,
read the following warning.
4 Do not issue a command for assigning a bit specification
number to the following system variables. Otherwise,
compile error 0116 occurs on the command.
#1050000 to #1050127: External I/O (X0 to X0127)
#1051000 to #1051004 and #1051007: Built–in I/O
(X1000 to X1007)
#1060000 to #1060127: External I/O (Y0000 to Y0127)
#1500000 to #1500511: PMC F address (F0 to F511)
5 Be careful not to perform a PMC ladder–triggered write and
a variable–triggered write to the PMC data area
simultaneously (double writing).
Operation commands Listed below are the operation commands for which the system variables
are usable.
(i, j, k: System variables (including bit specification). n: 0 or 1)
Function Format
Definition #i=#j, #i=n
Logical OR #i=#j OR #k, #i=#j OR n
Exclusive OR #i=#j XOR #k, #i=#j XOR n
Logical AND #i=#j AND #k, #i=#j AND n
NOTE
1 The bit specification–type system variable shall take either
0 or 1. Any value other than 0 is assumed as 1.
2 No system variable is usable for any command other than
listed above. If an attempt is made to use a bit
specification–type system variable with any command other
than listed above, compiler error 1065 occurs.
203
1. AXIS CONTROL B–63173EN–1/02
D Conditional branch (IF A conditional expansion shall follow IF. Enclose the conditional
statement) expansion in brackets [ and ].
If the conditional expansion is satisfied, a branch is made to sequence
number n. If not, program control goes to the next block.
Listed below are the operators that can be used in conditional expansions.
Operator Meaning
EQ Equal (+)
NE Unequal (0)
NOTE
1 Do not use any operator other than those listed above with
the bit specification–type system variables. Otherwise,
compiler error 1065 occurs.
2 No operation can be specified within a conditional
expansion.
Example)
IF[#i EQ 1] ........ Possible
IF[#i 1 EQ #j.2 ] ........ Possible
IF[#i.1 EQ #j.1 OR #j.3] ........ Impossible
END1 ;
(2) Processing 2 is executed if the
Processing2 condition is not satisfied (#i.b
= 0).
204
B–63173EN–1/02 1. AXIS CONTROL
D Multiplexing
1 Identifiers (1 to 3) can be used any number of times.
WHILE […] DO1;
Processing
END1;
’
WHILE […] DO1;
Processing
END1;
2 WHILE–DO loops can be nested up to 3 levels.
WHILE […] DO1;
:
WHILE […] DO2;
:
WHILE […] DO3;
Processing
END3;
:
END2;
:
END1;
3 A loop can be exited.
WHILE […] DO1;
:
IF […] GOTO n;
:
END1;
:
Nn…;
D Referencing variables Variables in which a variable number follows an address word cannot be
referenced by any bit specification–type system variable.
Example)
G90 G00 X#i.b ; …Impossible
G91 G01 X#i.b F#j.b ; …Impossible
205
1. AXIS CONTROL B–63173EN–1/02
WARNING
D About the timing when signals are transferred between macro variables and PMC ladder
programs
Incorrect data may be read when a motion program tries to read the data that a ladder program
is writing or a ladder program tries to read the data that a motion program is writing. When
transferring data between ladder and motion programs, be sure to time the reading and writing
strictly.
Generally, in a motion program that references PMC data, be sure to fix the PMC data before
the motion block immediately preceding the block that references the data is started. Do not
allow the ladder program to change the PMC data after the block is executed but before the
motion block is started.
Use M codes if it is necessary to keep the timing strictly.
Example)
Example of an ordinary motion program Example of a motion program in which the correct timing
: is observed just before a bit specification variable is ref-
N10 G91 G00 X10000 ; À erenced.
N20 G91 G00 X20000 ; Á :
N30 IF[#1200000.1 EQ 1]GOTO 50 ; Â N10 G91 G00 X10000 ; À
N20 G91 G00 X20000 ; Á
N40 G91 G00 X#1201000 ; Ã
N25 M100G04 I
N50 G91 G00 X#1201004 Ä N30 IF[#1200000.1 EQ 1]GOTO 50 ; Ã
: N40 G91 G00 X#1201000 ; Ã
N50 G91 G00 X#1201004 Ä
:
If the motion programs given above are being executed, it is necessary to fix the bit values of
the PMC data used in block  just before the execution of block Á begins. Do not allow the
ladder program to change the PMC data to be used, in the period shown in Fig. 1.8.4.
Block Ä is running.
Fig. 1.8.4 Block execution and a period during which no variable value can be changed
206
B–63173EN–1/02 1. AXIS CONTROL
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8706 HMC
NOTE
The setting of the parameter becomes valid only after the
power is turned off and on again.
1.8.5
Sub–Program Call for
High–Speed Response
Function
D Main–program and In high–speed response mode, the programs with program number O8000
sub–program in to O8031 are defined as a main program. This main program can call
high–speed response sub–program. But a sub–program can not call a main–program. (If call,
function an alarm 1020 occurs.)
You can make sub–programs with the consecutive program number from
a number specified by a parameter. Also the maximum number of
sub–program is specified by a parameter.
207
1. AXIS CONTROL B–63173EN–1/02
1.8.5.2
How to give a command
Example) a sub–program
Example)
1 In case a sub–program is called:
M98 Ppppp ;
↑
Sub–program number
Repeating number can not be specified.
Use ”WHILE” statement to call a sub–program
repeatedly.
In case of program number 8 digits, calling format is the
same.
2 In case optional block skip function is used:
/1 M98 P7000;
When optional block skip signals BDT1 is set to 1
before the CNC start reading a block containing /1, the
block is ignored.
208
B–63173EN–1/02 1. AXIS CONTROL
D Sub–program call A sub–program can call another sub–program. Sub–program call can be
nesting nested to a depth of four levels including sub–program call from
main–program.
NOTE
1 A sub–program can not start alone directly. A sub–program
must be called from a main–program (O8000 to O8031).
2 A sub–program can not call a main–program. (If call, an
alarm 1020 occurs.) It is only a sub–program that a program
can call.
D Return form a If M99 is executed in a sub–program, control returns to the program that
sub–program calls this sub–program. Then the block next to M98 is executed. In
high–speed response mode, sub–program return with return block
command (M99 Ppppp) can not be specified. M99 must be commanded
alone.
D Modal G code in case In high–speed response function, all programs are compiled before
sub–program call execution. When a sub–program is compiled, the value of modal G code
can not be fixed because a program that calls this sub–program is not
identified. In order to fix a modal value, give the command of the group
01 G code (G00/G01), the group 03 G code (G90/G91) and F in the
following case. If not give, an alarm 1063 occurs in compiling.
D The first motion command in a sub–program (If there is no motion
command in a sub–program, it is not necessary to set modal data.)
D The first motion command after return from a sub–program (If there
is no motion command hereafter, it is not necessary to set modal data.)
When a main–program (O8000 to O8031) is started execution, the value
of modal G code is always as follows.
Group 01: G00
Group 03: G91
209
1. AXIS CONTROL B–63173EN–1/02
Restriction
D Execution of plural In high–speed response mode, plural programs can be executed at a time.
programs But, when the same axis or M–code with the same M–code group number
simultaneously is specified in plural programs executed at the same time, an alarm 1001
occurs.
When sub–program call is executed, the conflict between ”the axes and
the M–code group number included in a main–program and
sub–programs” and ”those included in other main program group” are
checked. If the conflict is detected when a program is executed, an alarm
1001 occurs.
Example)
Path 1
Main program1 Sub–program 11 Sub–program 12
(5) (4)
M99 M99
Path 2
Main program 2 Sub–program 21
(13)
M99
210
B–63173EN–1/02 1. AXIS CONTROL
Example)
Path 1
Main–program
Command axis
(X, Y)
(1)
M98P___
Sub–program
(12)
211
1. AXIS CONTROL B–63173EN–1/02
NOTE
The following period is regarded as a sub–program is under execution.
(1)Start execution of sub–program
Immediately after the block just before the block with M98 is started execution in the program
that call a sub–program.
(2)End execution of sub–program
When all axis command and M–code command are completed in a sub–program after M99
is executed.
Example)
Main–program Sub–program
O8000 G91 G00 X10000 ; ...(1)
#1200000 = #1200000 +1 ; ...(2)
M98 P7000 ; ...(3) O7000 G91 G00 Y10000 ; ...(11)
G91 G00 X10000 ; ...(4) M99 ; ...(12)
% %
In case above main–program O8000 is executed, the period shown in the following figure
is regarded as a sub–program O7000 is being executed.
Motion
command (11) Execution of block (4)
212
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 In case you compile main programs and sub–programs at
a time, a compile error 1824 occurs when those all program
numbers are included in the area forbidden
editing/displaying that is designated by the following
parameters.
Parameter Program forbidden editing/
displaying
No.3202#0(NE8) =1 O8000 to O8999
No.3202#4(NE9) =1 O9000 to O9999
No.3204#3(P8E) =1 O8000000 to O89999999
No.3204#4(P9E) =1 O9000000 to O99999999
213
1. AXIS CONTROL B–63173EN–1/02
NOTE
When this parameter is set, the power must be turned off
before operation is continued.
Also be sure to recompile programs after the power on.
NOTE
1 When this parameter is set, the power must be turned off
before operation is continued.
Also be sure to recompile programs after the power on.
2 Part program storage is required for making program.
Registered total program number included in basic function
is 63. So specify enough capacity of part program storage
and total program number according to your program.
3 The area that includes main program number (O8000 to
O8031) can not be specified as the area of sub–program.
If such is set, sub–program calling function can not be used.
Ex) The following setting (Specify O7900 to O8099 as
sub–program number) is forbidden.
Parameter No. 8691 = 7900
Parameter No. 8692 = 200
4 When these parameter, No.8691 and No.8692, are not set
correctly, sub–program calling function can not be used.
214
B–63173EN–1/02 1. AXIS CONTROL
1.8.6
Distance/Angle–Yet–to
–Move Read Function
1.8.6.1 In the high response mode, it may be necessary to know where the current
Overview block will reach during the execution of a motion program. Using the
PMC window data read function enables you to obtain the absolute
position and the distance/angle–yet–to–move so that where the current
block will reach can be found out.
215
1. AXIS CONTROL B–63173EN–1/02
1.8.6.3 The PMC window function is used to read data. Refer to ”FANUC
PMC window data read PMC–MODEL SB5/SB6 (Ladder Language) Programming Manual”
(B–61863E (edition 14 or later)) for explanations about the structure of
function
input/output data.
216
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 The PMC window read function is asynchronous to NC operations. If the above procedure is
not observed, the simultaneity of the absolute position and the distance/angle yet to move that
are read even continuously by a ladder program may not be guaranteed depending on the
timing of the reading. To put it another way, even if these two pieces of data are continuously
read to obtain the end–point position, the obtained end–point position may not equal to the
actual end–point position (specified speed/60000 mm).
2 Be sure to execute the steps of the above procedure continuously. When using the PMC
window function to read the absolute position and distance/angle yet to move by following the
procedure, be sure to specify the input data attribute as one axis. If it is specified as all axes,
it is more likely that a mismatch may occur at step <4>.
3 In the normal mode, the PMC window data read function can read the distance/angle yet to
move with a resolution half as high as the least input increment. In the high response mode,
the data is read with the same resolution as the least input increment.
4 In the high response mode, the absolute position and distance/angle yet to move that are
obtained include a delay in acceleration/deceleration; no servo error distance/angle is
included.
Assuming that the trapezoid shown in Fig. 1.8.6.3 is moved with one block, for example, the
shaded portion in the figure is read as the distance/angle yet to move after the time T has
elapsed since the beginning of motion.
Speed
Time
Fig. 1.8.6.3
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8681 HRWR
217
1. AXIS CONTROL B–63173EN–1/02
NOTE
Once this parameter has been re–set, it is necessary to turn
the power off and on again.
8693
Byte number for one byte of data from the R (internal relay) used as the counter for
updating the absolute position and distance/angle yet to move when a motion
program is running in the high response mode
NOTE
1 Once this parameter has been re–set, it is necessary to turn
the power off and on again.
2 If bit 1 of parameter No. 8681 (HRWR) is set to 1, never write
data to the R (internal relay) of the PMC specified with this
parameter.
1.8.7 There are two ways to move the axis. One is by a motion command to the
Simple Synchronous axis as usual. Another is to synchronize with the other axis. Either of these
two ways can be selected by the signal sent from the machine.
Control In synchronous operation, only the master axis can be specified motion
commands and the slave axis is just moved by synchronizing with the
master axis.
There are a little difference of the specification of the simple synchronous
control function between in normal mode and in high response mode. The
specification of simple synchronous control function in high response
mode is described below.
Synchronization error The difference of the servo positional deviation between the master axis
check based on and the slave axis is monitored during synchronous control. If the
positional deviation difference exceeds a limit set in parameter No. 8313 (if only one
master/slave axis pair is in synchronization) or No. 8323 (if more than one
master/slave axis pair is in synchronization), an alarm will occur. And the
motion program is stopped and the motion program alarm signal is set to
”1”.
Synchronization error The difference of the machine coordinates between the master axis and the
check based on machine slave axes can be monitored. If the difference is greater than or equal to
coordinates a preset value, the machine will be stopped. This monitoring of the
difference can be always performed. So, even if the synchronization
control signal is erroneously set to 0 and synchronization control is
disabled, an alarm will occur when the large difference is detected. As the
machine is stopped, this function can prevent the machine damage.
If the detected difference is greater than or equal to the maximum error
set in parameter No. 8314, servo alarm 407 is output.
218
B–63173EN–1/02 1. AXIS CONTROL
WARNING
1 When the synchronization error check function is used, set
the same values to the reference positions of both master
and slave axes.
2 In order to clear the alarm, at first, the signals to select the
slave axis for simple synchronous control (G140) must be
set to ”0”. Next, the mode must be changed to the normal
mode, then follow the procedure for clearing an alarm.
3 If the servo alarm 407 occurs, do the operation described at
above item 2, increase the setting value of the parameter
No. 8314 (the maximum synchronization error), then press
the reset key. Next, perform handle or other manual
operations to adjust the axes to the same machine
coordinates. Then, restore the original value in the
parameter No. 8314.
NOTE
If the synchronization error check function is not used, set
the parameter No. 8314 to 0.
Synchronization The positions of the master and slave axes are not kept always during the
compensation function system power down. Such difference can be compensated. After
performing a follow–up of the absolute position detector at power on, the
slave axis is adjusted to meet the position of the master axis by
compensation pulses to the slave axis.
This function is enabled only when the axes of synchronization control
support the absolute–position detection function.
This function, however, cannot be applied to rotation axes.
WARNING
1 The synchronization compensation function is enabled
after reference position returns is performed. Even if the
parameter is set, the function is not executed before
reference position returns are performed.
2 The synchronization compensation function is not executed
when there exist some servo alarm.
219
1. AXIS CONTROL B–63173EN–1/02
CAUTION
The synchronization deviation is treated as a position error
on the slave axis during stopping. The position error is
displayed as diagnostic data number 300 in the detect unit.
If the error exceeds the value set in parameter No. 8315 (if
only one pair is specified) or No. 8325 (if two or more pairs
are specified), the servo alarm 410 is triggered. Clear the
alarm by the following procedure, when this alarm occurs.
(1)The signals for selecting the manual feed axis for simple
synchronous control (G140) are set to ”0” to release the
synchronization control.
(2)Change the mode from the high response mode to the
normal mode.
(3)The alarm is cleared by pressing the <RESET> key. As
the position error for the slave axis remains even after the
alarm is cleared, however, the positions must be
adjusted.
(4)Change the mode to the high response mode again.
NOTE
1 In order to use the synchronization compensation function,
it is necessary to set the bit 7 ”SOF” of parameter No. 8301
(if only one pair is specified) or bit 7 ”SOFx” of parameter No.
8303 (if two or more pair are specified) to 1.
2 The synchronization compensation function is also enabled
when emergency stop is canceled.
Automatic setting of grid This function is not available in the high response mode.
positioning
220
B–63173EN–1/02 1. AXIS CONTROL
Torque difference alarm If the master and slave axes are operated independently while simple
detection synchronous control is applied, the machine may be damaged. To prevent
this, the torque command difference between the synchronizing axes is
monitored. If the abnormal difference is found, an alarm will occurs.
[System configuration]
Master axis
+ Position gain
torque command
kp Velocity
Master axis control
position –
command
Master axis position
feedback
+ Torque command
difference The absolute value is
compared with the
threshold value.
+ Position gain
– Alarm detection
Velocity
kp control
Slave axis position Slave axis
command torque command
–
[How to use]
Determine the threshold parameter by using the following procedure.
1 Set up the following parameters:
Parameter No. 2031 = 0 : Disable torque difference alarm detection.
Bit 0 of parameter No. 8950 = 1 : Display the memory screen.
Parameter No. 8960 : Specify the following values as data addresses.
1304 if the servo axis numbers for two axes in synchronous control
are 1 and 2
1312 if the servo axis numbers for two axes in synchronous control
are 3 and 4
1800 if the servo axis numbers for two axes in synchronous control
are 5 and 6
1808 if the servo axis numbers for two axes in synchronous control
are 7 and 8
Parameter No. 2115 : Display, on the memory screen, the absolute
value of the torque difference between the two axes that are in
synchronous control. This parameter No. must be set to the same value
for both axes.
Value: 22160
2 Display the memory screen by the following operation.
<SYSTEM> function key → soft key → [MEMORY] soft key
The absolute value of the torque difference between the two
synchronous axes is displayed as No.1C0 on the memory screen.
221
1. AXIS CONTROL B–63173EN–1/02
SA<F000#6> 1
Disabled
Value in parameter No. 8317 (if only one axis pair is in synchronous
control) or No. 8327 (if two or more axis pair are in synchronouscon-
trol), or 512 ms (if neither parameter is set).
WARNING
1 The interlock signal for each axis *ITn (G130) for slave axis
is not available during simple synchronous control.
2 The axis moving signal MVn(F102) for slave axis is not
available during simple synchronous control.
3 The motion program reset signal for the slave axis is not
available, when the alarm for slave axis does not occur
during simple synchronous control.
NOTE
1 The motion program using signal HEXn(F229) for the slave
axis is set to ”1” during simple synchronous control.
2 The type and time constant of the acceleration/deceleration
for the slave axis are the same as them for the master axis.
3 Bit 7 of parameter No. 3105 (SMF) is not available. In high
response mode, whether this parameter is ”1” or not, the
motion of a slave axis is considered to the actual speed
display.
4 The motion program including the command of the slave
axis can not be executed during simple synchronous
control.
222
B–63173EN–1/02 1. AXIS CONTROL
Signal
WARNING
Immediately after setting this signal to ”1”, the simple
synchronous control for the specified slave axis is
performed. ( When the slave axis is commanded to
synchronize by setting this signal to ”1” during the master
axis is moving, the synchronous control is performed
immediately. So, this control does not wait for the end of the
executing block.)
223
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 To perform the simple synchronous control in high response
mode, the above signals for selecting the manual feed axis
for simple synchronous control should be set to ”1”. So, the
signals to select the slave axis for simple synchronous
control (G138) for AUTO or MDI operation are not available
in high response mode.
2 Clear the alarm by following procedure, when the servo
alarm occurs during the simple synchronous control.
(1)Set the signals for selecting the manual feed axis for
simple synchronous control (G140) to ”0” to release the
synchronization.
(2)Change the mode to the normal mode.
(3)The alarm is cleared by pressing the <RESET> key after
clearing the cause of the occurring alarm.
(4)Adjust the positions between the master axis and the
slave axis.
(5)Set the signals for selecting the manual feed axis for
simple synchronous control (G140) to ”1”.
(6)Change the mode to high response mode again.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G140 SYNJ8 SYNJ7 SYNJ6 SYNJ5 SYNJ4 SYNJ3 SYNJ2 SYNJ1
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8301 SOF
#7 #6 #5 #4 #3 #2 #1 #0
8303
SFX
224
B–63173EN–1/02 1. AXIS CONTROL
NOTE
Specifying the third axis (Z–axis) as the master axis, and the
first axis (X–axis) as the slave axis is not allowed. The
master axis number must always be smaller than the slave
axis number.
It is impossible to specify more than one slave axis for a
master axis.
8313 Limit of the difference between the amount of positioning deviation of the master
and slave axes (one axis pair under synchronous control)
225
1. AXIS CONTROL B–63173EN–1/02
8315 Maximum compensation value for synchronization compensation (one axis pair in
synchronous control)
8317 Torque difference alarm detection timer (one axis pair in synchronous control)
8323
Limit of the positional deviation difference between the master and slave axes (two
or more axis pairs under synchronous control)
226
B–63173EN–1/02 1. AXIS CONTROL
8325
Maximum compensation to be applied during synchronization matching (two or
more axis pair under synchronous control)
8327
Torque difference alarm detection timer (two or more axis pairs under synchronous
control)
227
1. AXIS CONTROL B–63173EN–1/02
Diagnostic data
Number Display Description
CAUTION
If the control of two or more axis pairs is specified in
parameter No. 8311, the parameters to perform setting for
only one axis pair and the display diagnostic information
about only one axis pair are invalid.
And if control of only one axis pair is specified, the
parameters to perform setting for only one axis pair and the
display diagnostic information about only one axis pair are
valid (except for common parameter Nos. 8311 and 8314).
NOTE
The parameters of the acceleration/deceleration time
constant in the high response mode are different from the
parameters in the normal mode.
228
B–63173EN–1/02 1. AXIS CONTROL
0 Time
TR TR
0 Time
T1+T2 T1+T2
Parameter
1636
Time constant T for linear acceleration/deceleration for each axis during the rapid
traverse in the high response mode, or time constant T1 for bell–shaped accelera-
tion/deceleration for each axis during rapid traverse in the high response mode
1637
Time constant T2 for bell–shaped acceleration/deceleration for each axis during
rapid traverse in the high response mode
229
1. AXIS CONTROL B–63173EN–1/02
NOTE
When parameter No. 1637 is set to 0, linear
acceleration/deceleration is applied in rapid traverse. In this
case, parameter No.1636 stands for a time constant used
for linear acceleration/deceleration in rapid traverse.
Feed rate
Rapid traverse
rate
T1 Time
T2/2
T2/2 T2
230
B–63173EN–1/02 1. AXIS CONTROL
Feedrate
F: Cutting feed rate
F T: Time constant used in linear
acceleration/deceleration after
cutting feed interpolation for
each axis
0 Time
T T
0 Time
T1+T2 T1+T2
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1605 TCE
1635
Time constant of linear acceleration/deceleration for each axis during the cutting
feed in the high response mode, or time constant T1 for bell–shaped acceleration/
deceleration for each axis during the cutting feed in the high response mode
231
1. AXIS CONTROL B–63173EN–1/02
1638
Time constant T2 for bell–shaped acceleration/deceleration for each axis during the
cutting feed in the high response mode
NOTE
1 When parameter No. 1638 (When time constant T2 for
bell–shaped acceleration/ deceleration for each axis during
the cutting feed in the high response mode) is set to 0, linear
acceleration/deceleration after cutting feed interpolation is
applied.
2 The total value which can be set in these parameters
(No.1635 and No.1638) is 1000msec or less, when
parameter No.1605#1(TCE) is 0.
When parameter No.1605#1(TCE) is 1, the total value
which can be set in these parameters is shown below.
0 to 1000 (Number of control axes: 5– 8)
0 to 2000 (Number of control axes: 3– 4)
0 to 4000 (Number of control axes: 1– 2)
Feedrate
Cutting
feedrate
T1 Time
T2/2
T2/2 T2
232
B–63173EN–1/02 1. AXIS CONTROL
1.9
ELECTRONIC CAM
FUNCTION (Power
Mate i–H)
1.9.1 The Electronic CAM function is the one which electronically create a
Outline motion of the cam follower going back and forth synchronizing with the
motion of the cam shaft.
The shapes of cams are beforehand registered in Power Mate i–H as Fig.
1.9.1 shows. Power Mate i–H reads the data and moves the cam follower
synchronizing with the motion of the cam shaft.
If this function is used, it is not necessary to mechanically set a cam shaft,
a gear, a clutch, a cam, and so on. It causes the following merits;
S The work efficiency increases greatly.
S The machine becomes compact and the cost decreases.
S It is not necessary to care about wear and the lifetimes of a cam shaft,
a gear, a clutch and so on.
S The performance of the whole system increases because there is no
error from mechanical precision.
233
1. AXIS CONTROL B–63173EN–1/02
1 0 2 0
2 0 4 0
. . . .
. . . .
. . . .
90 1 94 50
91 2 97 55
92 5 99 60
93 10 100 62
0_ 90_ 180_ 270_ 360_
Phase of . . . .
cam shaft . . . .
. . . .
180 85 95 100
181 87 93 99
Displacement 182 88 90 98
of cam 1
183 89 85 97
. . . .
. . . .
. . . .
Displacement 270 80 0 60
of cam 2
271 78 0 55
272 75 0 50
. . . .
. . . .
Displacement . . . .
of cam 3
358 0 0 0
359 0 0 0
Specification (1) The following three kinds of cam shafts are available;
S A cam shaft which is controlled externally (not controlled by Power
Mate i–H), but to which the rotary serial absolute pulse coder (made
by FANUC) is attached
S A servo axis which is controlled by Power Mate i–H
S A hypothetical axis (which does not exist physically) which is
controlled by Power Mate i–H
(2) The maximum number of cam followers is four. However, it is three
if the cam shaft is a servo axis.
(3) The cam shape data, which are composed of the absolute coordinates
of cam followers corresponding to the phase of the cam shaft, are made
on the personal computer.
The data are transferred and memorized into Power Mate i–H via the
RS–232C. The data can also be made by using Macro Executor.
234
B–63173EN–1/02 1. AXIS CONTROL
(4) The Electronic CAM function is divided broadly into two categories;
Cam shaft phase calibration: The phases of cam followers are
(phase calibration) related to the phase of the cam shaft.
Electronic CAM running: The cam followers are controlled
synchronizing with the phase of the
cam shaft.
These two functions are collectively called ”the Electronic CAM
function” in the description below
The features of (1) The start is commanded by using G code or the input signal. After that,
Electronic CAM running the motion is repeated specified times or until end command(by input
signal) is input.
(2) Please start it when both the cam shaft and cam followers are not
moving. It is impossible to make a cam follower start synchronizing
with the cam shaft which is already rotating.
(3) If the rotating speed of the cam shaft is changed, that of the cam
follower is also changed accompanying with it. So the relation of
phases among them is not changed.
(4) When the cam shaft rotates in the forward or reverse direction, cam
followers also rotate in the forward or reverse direction synchronizing
with it.
(5) If reset or emergency stop is executed during Electronic CAM
running, the phase calibration must be done again.
(6) Using a cam shaft as a hypothetical axis makes it possible to check the
motion of a follower axis without actually moving the cam shaft.
Below are the details.
The number of (1) An absolute pulse coder which is attached to a cam shaft controlled
controlled axes externally (that is, not controlled by Power Mate i–H) is counted as 1
controlled axis. And a hypothetical axis is also counted as 1.
(2) The number of cam shaft must be 1.
(3) The maximum number of cam followers depends on the type of the
cam shaft.
The type of the cam shaft The maximum number of cam followers
Controlled externally 4
A servo axis 3
A hypothetical axis 4
235
1. AXIS CONTROL B–63173EN–1/02
(4) Although the number of cam followers cannot exceed 4, the two axes,
the master and the slave in ”Simple synchronous control function” or
”Tandem control function”, are regarded collectively as 1 axis.
The cam shaft The axis number of the cam shaft is set to the parameter No.8086. This
axis should be the rotation axis and the following setting of parameters
is necessary. If the wrong values are set to these parameters, the alarm
No.5246 occurs.
(1) No.1006#0(ROTx) = 1 (The rotation axis is set.)
(2) No.1008#0(ROAx) = 1 (The roll over function of a rotation axis is
valid.)
The roll over function is necessary because the absolute coordinate is
used as the phase of the cam shaft.
(3) No.1260 (Amount of a movement per rotation of a rotation axis.)
Set the number of pulses per one rotation of the cam shaft.
The following three kinds of cam shafts are available;
(1) A cam shaft which is controlled externally (not controlled by Power
Mate i–H), but to which the rotary serial absolute pulse coder(made
by FANUC) is attached (This type is called ”the external axis + APC”
hereafter.)
(2) A servo axis which is controlled by Power Mate i–H
(This type is called ”the servo axis” hereafter.)
(3) A hypothetical axis(which does not exist physically) which is
controlled by Power Mate i–H
(This type is called ”the hypothetical axis” hereafter.)
The way of setting parameters and notes about each type are described
bellow. As to existing parameters and signals, refer to the other part of the
manuals of Power Mate i–D/H.
NOTE
As to the absolute pulse coder, only the rotary serial pulse
coder made by FANUC is available. A/B phase pulse coder,
Linear scale I/F reference mark cannot be used.
D The external axis + APC (1) Basically, the parameter setting is the same as the cam followers.
Although a servo motor is not connected, set the value ”61” as the
motor type and execute the automatic setting of the servo parameters.
The parameter No.2020 = 61 (Motor type)
The parameter No.2000#1(DGPRM) = 0
(When the power is turned on, the standard values for the motor are
automatically set to the digital servo parameters.)
(2) The absolute pulse coder which is attached to the external axis is
regarded as the separated type pulse coder.
The parameter No.1815#5(APCx) = 1
(An absolute pulse coder is used as a position detector.)
The parameter No.1815#1(OPTx) = 1
(A separate pulse coder is used as a position detector.)
236
B–63173EN–1/02 1. AXIS CONTROL
(3) A servo motor and an amplifier are not connected to the absolute pulse
coder, so the serial pulse coder dummy function should be used.
The parameter No.2009#0(DMYx) = 1
(Serial pulse coder dummy function is valid.)
(4) The servo motor should be turned off.
Servo off signal SVF1–SVF8<G126> = 1
Follow–up signal *FLWU<G007#5> = 0
(Follow–up is performed when the servo is off.)
The parameter No.1819#0(FUPx) = 0
(The follow–up signal *FLWU determines whether follow–up is
performed or not when the servo is off. When *FLWU is 0,
follow–up is performed.)
(5) Once turn off the power at this point.
(6) Relate the absolute pulse coder to the machine position.
Move the cam shaft to the reference point.
Set the parameter No.1815#4(APZx) = 1, and once turn off the power.
D The servo axis (1) There is no special limitation. So treat it as the ordinary axis.
(2) In the phase calibration, any of automatic operation, manual operation
and PMC axis control is available when the cam shaft is moved to the
start point of Electronic CAM running.
(3) Only the PMC axis control is available when the cam shaft is moved
during Electronic CAM running by G code.
(4) Any of automatic operation, manual operation and PMC axis control
is available when the cam shaft is moved during Electronic CAM
running by the input signal.
D The hypothetical axis (1) If the actual axis is not necessary, a hypothetical axis can be used.
(2) Basically, the parameter setting is the same as the cam followers.
Although a servo motor is not connected, set the value ”61” as the
motor type and execute the automatic setting of the servo parameters.
The parameter No.2020 = 61 (Motor type)
The parameter No.2000#1(DGPRM) = 0
(When the power is turned on, the standard values for the motor are
automatically set to the digital servo parameters.)
(3) A servo motor and an amplifier are not connected to the hypothetical
axis, so the serial pulse coder feedback dummy function should be
used.
The parameter No.2009#0(DMYx) = 1
(serial pulse coder feedback dummy function is valid.)
(4) The servo motor should be turned off.
Servo off signal SVF1–SVF8<G126> = 1
Follow–up signal *FLWU<G007#5> = 1
WARNING
Moving a hypothetical axis in a follow–up state is
dangerous, because a coordinate trace–back will occur at
the end of motion, resulting in an unintended behavior of the
follower axis. Be sure to get out of the follow–up state
before moving the hypothetical axis.
237
1. AXIS CONTROL B–63173EN–1/02
D Making the cam shape The data are made by using a personal computer according to the
data by using a personal following format.
computer The cam shape data are composed of the absolute coordinates of cam
followers in the binary format corresponding to the phase number of the
cam shaft. The cam shape data can be made up to 2048 points. There are
three types in those data;
Name Data type Data range Data range
(decimal system) (hexadecimal system)
238
B–63173EN–1/02 1. AXIS CONTROL
0_ 180_ 360_
Phase of the
cam shaft
displacement F
of the cam F
F
follower
F
F F
F
phase
number of 0 1 2 3 4 5 0
the cam
shaft
The cam shape data are made in the following format. The values are set
as binary data (expressed in the hexadecimal system).
ƠHeaderơ
LF G05 P22001 LF
: :
: :
M (x): The phase number of the cam shaft in the x’th data table
S1/2/3/4(x): The absolute coordinates of the cam followers 1/2/3/4 when
the phase number of the cam shaft is M (x).
C (x): The check sum in the x’th data table
M (x), S1 (x), S2 (x), S3 (x) and S4 (x) are put in order of higher bytes. If
the number of cam followers is less than 4, the data are moved to the
higher bytes to fill a space. For example, if the number of cam followers
is 3, S4 does not exist and the next of S3 is C.
239
1. AXIS CONTROL B–63173EN–1/02
How to calculate the check sum is as follows. (It is calculated in each data
table.)
(1) Separate ”the phase number of the cam shaft”(M(x)) into byte unit
data.
(For example, if the number is 7FFh, separate it into two numbers, 7h
and FFh.)
(2) Similarly, separate ”the absolute coordinates of the cam followers”(S1
(x), S2 (x), S3 (x), S4 (x)) into byte unit data.
(3) Add all the results of (1) and (2).
(4) Pick up the lowest byte in the result of (3). It is called the check sum
(C (x)).
(For example, if the result of (3) is 4321h, the check sum is 21.)
In order to transfer the cam shape data which are made in this format
to Power Mate i–H, the header and the footer are necessary;
The header: [LF],G05,P22001,[LF]
The footer : [LF],M02,[LF]
If these are transformed into binary data (expressed in the hexadecimal
system), they are;
The header: 0A, 47, 30, 35, 50, 32, 32, 30, 30, 31, 0A
The footer : 0A, 4D, 30, 32, 0A
Example) Suppose that the number of points of the cam shape data is
three and that the number of cam followers is four.
S The data in case the phase number of the cam shaft is 0;
The absolute coordinate of the cam follower 1: 0.000 (00000000H)
The absolute coordinate of the cam follower 2:
2.539 (000009EBH)
The absolute coordinate of the cam follower 3:
7.461 (00001D25H)
The absolute coordinate of the cam follower 4 :
10.000 (00002710H)
The sum of the data which are separated into byte unit
= (00+00+00+00)+(00+00+00+00)+(00+00+09+EB)
+(00+00+1D+25)+(00+00+27+10)
= 16D
The check sum : 6D
S The data in case the phase number of the cam shaft is 1;
The absolute coordinate of the cam follower 1:
7.351 (00001CB7H)
The absolute coordinate of the cam follower 2 :
5.963 (0000174BH)
The absolute coordinate of the cam follower 3 :
1.237 (000004D5H)
The absolute coordinate of the cam follower 4 :
2.589 (00000A1DH)
The sum of the data which are separated into byte unit
= (00+00+00+01)+(00+00+1C+B7)+(00+00+17+4B)
+(00+00+04+D5)+(00+00+0A+1D)
= 236
The check sum : 36
240
B–63173EN–1/02 1. AXIS CONTROL
D Making the cam shape If the algorithm to make the cam shape data is known, the data can be
data by using macro registered in P code variables by using macro executor. P code variables
executor can be used from #20000, and the data is the word type(the integer type).
And set the precise number of P code variables to be used considering the
number of points of the cam shape data (the parameter No.8088) and the
number of cam followers (the parameter No.8087).
[The setting of compile parameters]
No.9002#3 = 1 (P code variables from #20000 are the integer type.)
No.9044 (Set the value which satisfies the following inequality:
(the number of P code variables to be used) x
(prm No.9044) 30 )
241
1. AXIS CONTROL B–63173EN–1/02
Set the number of valid data(the whole number of word of the data, the
phase number of the cam shaft, and the absolute coordinate of cam
followers) to #20000 and #20001. Set the data which is in the format that
is explained in the item ”Making the cam shape data by using a personal
computer” to #20002 to. It is not necessary to set the header, the footer
and the check sum. Note that P code variable is word type, so set the lower
byte first and then set the higher byte.
The cam shape data which are registered in P code variables are input to
the region of part program storage length in Power Mate i–H. It is
necessary to use the option of part program storage length of 160m or
more. How long out of part program storage length is used for the cam
shape data depends on the compile parameter No.9044.
Suppose that the number of cam followers is four and that the number of
points of the cam shape data is ten. In that case, the relation between P
code variables and the contents of the data is as follows. Note that the data
are shifted to the smaller P code variables to fill a space if the number of
cam followers is less than four.
242
B–63173EN–1/02 1. AXIS CONTROL
NOTE
The cam shape data can be made by using a personal
computer with HSSB.
Also in this case, the data must be registered in P code
variables, and the option
Registering the cam The cam shape data made on the personal computer are transferred via
shape data made on the RS–232–C and registered into Power Mate i–H on the following
personal computer procedure.
Before registration, be sure to set the parameters about reader/puncher
interface. The code in inputting data should be ASCII (the parameter
No.0101#3 ASI=1).
[The procedure for registering]
(1) In AUTO operation mode, set ”1” to the selection signal for
registration mode of the cam shape data DNCI(G043#5). The state
will become the registration mode of the cam shape data (RMT). Then
the confirm signal for registration mode of the cam shape data
MRMT(F003#4) becomes ”1”. After that, start the auto operation.
(2) Transfer the cam shape data from the personal computer.
(3) The registration starts and the characters ”INPUT” turn on and off on
the CRT/MDI of Power Mate i–H
(4) If the characters ”INPUT” disappear and no alarm occurs, it means that
the registration ends normally.
(5) After the footer ”M02” of the cam shape data is read, the state is in FIN
waiting.
Then turn on the FIN signal by PMC.
In Power Mate i–H, DC1(11H) and DC3(13H) are used as the control code
of RS–232–C in registering binary data. So the setting of the flow control
on the personal computer should be Xon/Xoff.
The number of bytes to be registered is determined by the number of
points of the cam shape data (the parameter No.8088) and the number of
cam followers (the parameter No.8087). If the number of bytes of the cam
shape data is larger than the number of bytes to be registered, the
alarms(No.087,No.5010) occur. Reversely, if the former is less than the
latter, Power Mate i–H keeps waiting data. In either case, the number of
points of the cam shape data or the number of cam followers is incorrect.
So they must be corrected.
If the check sum is incorrect, the alarm No.5247 occurs. This alarm also
occurs if the number of cam followers (the parameter No.8087) is
incorrect. In those cases, correct the cam shape data or the parameter
No.8087.
The transferred cam shape data are input to the region of part program
storage length in Power Mate i–H. It is necessary to use the option of part
program storage length of 160m or more.
100m out of part program storage length is used for the cam shape data.
Note that the cam shape data are registered in P code variables if the Macro
Executor option is ON. In this case, set the compile parameter like the item
”Making the cam shape data by using macro executor”. The region which
correspons to P code variables out of 160m is used for the cam shape data.
243
1. AXIS CONTROL B–63173EN–1/02
The cam shaft phase The phase calibration is the function to relate the phase between the cam
calibration (phase shaft and the cam followers by moving the cam followers to the positions
calibration) which correspond to the phase of the cam shaft in starting point of
Electronic CAM running.
The phase calibration is executed by means of G code in program
operation or the input signal.
And it can be executed in each cam follower.
Before the phase calibration, be sure to register the cam shape data (see
the item ”Registering the cam shape data made on the personal
computer”). Else, the alarm No.5249 occurs.
The setting data about the cam shaft and the cam followers are set to the
parameters No.8086 and No.8087.
CAUTION
Interlock(high–speed, all axes, each axis, and each
direction) is not available for the cam followers during the
phase calibration.
D The cam shaft phase The cam shaft is moved to the starting position of Electronic CAM
calibration (phase running. It is not necessary for the starting position to be where the phase
calibration) by using G is 0_.
code Be sure to keep the cam shaft stopped during the phase calibration.
Execute the following program in AUTO operation mode.
G140 IP__ ;
IP__: specifies the cam follower for which the phase calibration is
executed. ”0” should be specified after the axis name of the
cam follower.
Example) If the phase calibration for the cam followers 1,2,3,4(the axis
names are X,Y,Z,A respectively) is executed, the command
is as follows;
G140 X0 Y0 Z0 A0 ;
Then the cam follower moves to the position which corresponds to the
phase of the cam shaft at the rapid traverse rate of parameter No.1420.
Rapid traverse override and acceleration/deceleration(linear or
bell–shaped) are available.
When the phase calibration is completed, the phase calibration
completion signal ECMCP*(F223) becomes ”1”.
If the Electronic CAM function completion signal ECMEND(G239#1)
is turned into ”1” from ”0” during the phase calibration, the execution is
interrupted.
If the cam shaft or the cam follower moves independently after the phase
calibration, the phase calibration completion signal ECMCP*(F223)
becomes ”0”.
D The cam shaft phase The cam shaft is moved to the starting position of Electronic CAM
calibration (phase running. It is not necessary for the starting position to be where the phase
calibration) by using the is 0_.
input signal Be sure to keep the cam shaft stopped during the phase calibration.
244
B–63173EN–1/02 1. AXIS CONTROL
Set ”1” to the cam follower selection signal ELCAM*(G238) about the
cam follower for which the phase calibration should be executed. And
turn the phase calibration start signal ECMCST (G239#7) into ”1” from
”0”.
The procedure after the start is the same as the case of G code.
The execution of Before executing Electronic CAM running, be sure to execute the phase
Electronic CAM running calibration as to the cam follower for which Electronic CAM running is
executed (see the item ”The cam shaft phase calibration (phase
calibration)”). If Electronic CAM running is executed when the phase
calibration completion signal ECMCP*(F223) as to the cam follower for
which Electronic CAM running is executed is not ”1”, then the alarm
No.5249 occurs.
The Electronic CAM running is executed by means of G code in program
operation or the input signal.
Using a cam shaft as a hypothetical axis makes it possible to check the
motion of a follower axis without actually moving the cam shaft.
However, performing an electronic cam operation with a hypothetical
axis results in a difference occurring between the machine coordinates and
absolute coordinates of the cam shaft. To eliminate the difference, re–set
up the coordinate systems or follow the procedure below after the end of
the electronic cam operation.
In case that the cam shaft is ”the external axis + APC”
→ Once turn off the power.
In case that the cam shaft is ”the servo axis”
→ Execute the reference position return.
CAUTION
Interlock(high–speed, all axes, each axis, and each
direction) is not available for the cam followers during
Electronic CAM running.
245
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 Execute Electronic CAM running with both the cam shaft and the cam followers stopped. It is
impossible to synchronize a cam follower with the cam shaft which is moving.
2 Although it is possible to use the cutting acceleration/deceleration(exponential, linear, or
bell–shaped) during Electronic CAM running, do not use it because the error occurs in the
shape of the cam.
3 If the shape of the cam is complicated like the following figure, the cam follower may not be able
to follow the cam shaft because of the servo delay and so on when the speed of the cam shaft
is high.
Electronic
CAM running
D The execution of Set ”1” to the cam follower selection signal ELCAM*(G238) about the
Electronic CAM running cam follower for which Electronic CAM running is executed. And
by using G code execute the following program in AUTO operation mode.
246
B–63173EN–1/02 1. AXIS CONTROL
CAUTION
1 The amount of the movement by means of Electronic CAM
running or the phase calibration by the input signal(they are
collectively called ”the Electronic CAM function by the input
signal”) is added to the coordinate(the position where the
block ends) for the buffering(read–ahead) when the
Electronic CAM function is finished executing. So if the
buffering for the automatic operation is done before the
Electronic CAM function ends, the program is not executed
as is specified.
Be sure to consider masking the buffering by M code, or
inserting a block where no movement is commanded, and
so on so that the buffering for the automatic operation may
be done after the Electronic CAM function ends.
Example) O0001 ;
N10 M50 ;
N20 G90 G01 X100.0 Y100.0 Z100.0 ;
N30 M02 ;
Suppose that this program is executed and the Electronic
CAM function by using the input signal is carried out in the
N10 block. In this case, the buffering in N20 block may be
done before the Electronic CAM function ends, and so the
amount of the movement by the Electronic CAM function
may not be considered. Then the N20 block is not executed
as is commanded.
Examples of measures)
S Make M50 in the N10 block not buffer the next block.
(Set parameters No.3411 to 3420.)
S Insert a dwell command between the N10 block and
the N20 block.
2 An automatic operation cannot be started while a cam
follower is moving by means of the Electronic CAM function
by the input signal.
247
1. AXIS CONTROL B–63173EN–1/02
Signal
[Operation] When the signal turns to ”1”, the control unit operates as follows.
S The phase calibration or Electronic CAM running by the input signal
is executed.
When the signal turns to ”0”, the control unit operates as follows.
S The phase calibration or Electronic CAM running by the input signal
is not executed.
NOTE
The parameter No.8087 determines which axis is the cam
follower.
NOTE
The function which is equal to this signal can be executed
also by using G code in the program operation.
248
B–63173EN–1/02 1. AXIS CONTROL
Phase calibration
completion signals
ECMCP1 to
ECMCP4<F223>
[Classification] Output signal
[Function] These signals report that the phase calibration is completed.
They are provided for each cam follower. The signal number corresponds
to the cam follower number.
ECMCP 1
1. ... The completion signal for the cam follower 1
2. ... The completion signal for the cam follower 2
3. ... The completion signal for the cam follower 3
4. ... The completion signal for the cam follower 4
[Output condition] The signals turn to ”1” when;
S The phase calibration is completed.
The signals turn to ”0” when;
S The phase calibration is not completed.
S The cam shaft or the cam followers move after the phase calibration
is completed
S The Electronic CAM running is executed.
NOTE
The function which is equal to this signal can be executed
also by using G code in the program operation.
249
1. AXIS CONTROL B–63173EN–1/02
Time chart
ECMCST
Phase calibration
ECMCP*
ECMST
ECMEXE
Electronic CAM
running
(cam shaft rotation)
ECMEND
250
B–63173EN–1/02 1. AXIS CONTROL
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G043 DNCI
F003 ERMT
F224 ECMEXE
251
1. AXIS CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8081 ECM
NOTE
When this parameter has been set, the power must be
turned off before the operation is continued.
8086 The axis number of the cam shaft in the Electronic CAM function
NOTE
It is impossible to set the same axis number as the cam
follower.
252
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 It is impossible to select the same cam follower as the cam
shaft.
2 Set 0 to the part of the axis which is not a cam follower.
NOTE
When this parameter has been set, the power must be
turned off before the operation is continued.
NOTE
1 The cam shaft must be a rotation axis.
2 The cam followers must be linear axes.
3 When this parameter has been set, the power must be
turned off before the operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
1008 RRLx ROAx
253
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 Make the roll over function valid in the cam shaft.
2 When this parameter has been set, the power must be
turned off before the operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
1815 APCx APZx OPTx
NOTE
1 If the cam shaft is controlled externally, set 1 to OPTx and
APCx. And after moving the cam shaft to the reference
point, set 1 to APZx.
2 When this parameter has been set, the power must be
turned off before the operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
1819 FUPx
NOTE
If the cam shaft is controlled externally, set 0 to FUPx.
254
B–63173EN–1/02 1. AXIS CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
2009 DMYx
NOTE
1 If the cam shaft is controlled externally or is the hypothetical
axis, set 1 to DMYx.
2 When this parameter has been set, the power must be
turned off before the operation is continued.
NOTE
1 Set the number of pulses per rotation of the cam shaft to this
parameter.
2 When this parameter has been set, the power must be
turned off before the operation is continued.
Set the rapid traverse rate when the rapid traverse override is 100% for
each axis.
NOTE
The phase calibration is executed at this feedrate.
255
1. AXIS CONTROL B–63173EN–1/02
256
B–63173EN–1/02 1. AXIS CONTROL
1.9.2
Electronic Cam
Function
(B–Specification)
Overview The cam shape data of the conventional electric cam function
(A–specification) has been confined to the operation of reciprocating
follower axes (cams). An improvement was made to support
non–reciprocating cam operations. The new specification is called the
B–specification. The B–specification supports both reciprocating and
non–reciprocating cam operations. Using non–reciprocating cam
operations makes it possible to run a belt conveyer in synchronization
with cam shaft phases.
The A–specification (conventional specification) supports only
reciprocating cam operations, that is, operations in which the cam shaft
makes a one turn to return to the initial place as shown in Fig. 1.9.2 (a).
To the contrary, the B–specification (new specification) supports both
reciprocating cam operations and non–reciprocating cam operations (in
which the cam shaft does not return to the initial place after it has made
one turn) as shown in Fig. 1.9.2 (b).
The start and end points of The start and end points of cam
cam shape data coincide shape data do not coincide with
with each other. each other.
257
1. AXIS CONTROL B–63173EN–1/02
Differences between the The B–specification (new specification) differs from the A–specification
A– and B–specifications (conventional specification) in the following points. Take it for granted
that anything not written below is common to both specifications.
(1) Using bit 2 of parameter No. 8081 (TYB) can switch between the A–
and B–specifications.
(2) With the A–specification, it is unnecessary to specify the end point of
cam shape data (displacement of the follower axis after the cam shaft
has made one turn) because it coincides with the start point. With the
B–specification, however, it is necessary to specify the end point. For
the B–specification, therefore, it is necessary to specify one more
point, compared with the A–specification. Up to 2048 points can be
set up.
Example 2–1) Creating cam shape data by dividing one cam shaft
turn into six pieces on the assumption that the
follower axis rotates 360_ when the cam shaft makes
one turn and that the follower axis displacement at a
phase angle of 0_ (start point) coincides with that at
a phase angle of 360_ (end point)
[A–specification]
Let us set up the displacement (F in the figure) of the
follower axis for each of cam shaft phase numbers 0
to 5. In this case, six cam shape data items are
involved.
0_ 180_ 360_
Cam shaft
phase
F
|
F
Follower axis F
displacement
F F
F
Cam shaft
phase 0 1 2 3 4 5 0
number
258
B–63173EN–1/02 1. AXIS CONTROL
[B–specification]
Let us set up the displacement (F in the figure) of the
follower axis for each of cam shaft phase numbers 0
to 6. In this case, seven cam shape data items are
involved. The B–specification uses one more data
point, compared with the A–specification.
0_ 180_ 360_
Cam shaft
phase
F
|
F
Follower axis F
displacement
F F
F
Cam shaft
phase 0 1 2 3 4 5 0
number
Example 2–2) Creating cam shape data by dividing one cam shaft
turn into six pieces on the assumption that the
follower axis rotates 360_ when the cam shaft makes
one turn and that the follower axis displacement at a
phase angle of 0_ (start point) does not coincide with
that at a phase angle of 360_ (end point)
[A–specification]
The A–specification does not support the case of this
example.
[B–specification]
Let us set up the displacement (F in the figure) of the
follower axis for each of cam shaft phase numbers 0
to 6. In this case, seven cam shape data items are
involved.
0_ 180_ 360_
Cam shaft
phase F
F
F
Follower axis F
displacement F
F
F
Cam shaft
phase 0 1 2 3 4 5 0
number
259
1. AXIS CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8081 TYB
NOTE
Once this parameter has been re–set, it is necessary to turn
the power off and on again.
Related parameters
(Refer to the applicable
parameter manual for
details.) #7 #6 #5 #4 #3 #2 #1 #0
1006 ROTx
260
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 Be sure to specify the cam shaft as a rotary axis.
2 If the cam shape is such that the start and end points of the
follower axis have the same displacement, be sure to
specify the follower axis as a linear axis.
3 With the B–specification, if the cam shape is such that the
start and end points of the follower axis have different
displacements, be sure to specify the follower axis as a
rotary axis.
4 Once this parameter has been re–set, it is necessary to turn
the power off and on again.
#7 #6 #5 #4 #3 #2 #1 #0
1008 RRLx ROAx
NOTE
1 Be sure to enable roll–over for the cam shaft.
2 With the B–specification, if the cam shape is such that the
start and end points of the follower axis have different
displacements, enable the roll–over function for the follower
axis.
3 Once this parameter has been re–set, it is necessary to turn
the power off and on again.
261
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 Use this parameter to specify the number of pulses for each
turn of the cam axis.
2 With the B–specification, if the cam shape is such that the
start and end points of the follower axis have different
displacements, specify the end–point displacement
multiplied by n (where n = 1, 2, 3, ...) in this parameter.
3 Once this parameter has been re–set, it is necessary to turn
the power off and on again.
CAUTION
When ”a servo axis” is assigned to a CAM–shaft, it is not
permitted to switch to hypothetical axis.
262
B–63173EN–1/02 1. AXIS CONTROL
CAM
follower
position CAM shaft
phase
Switch to hypothetical
Starting external axis stopping external axis axis
Starting Stopping
Follower #2 #2 #2
Starting Stopping
Follower #3
#3 #3
263
1. AXIS CONTROL B–63173EN–1/02
Detail explanation
Extension of maximum S The maximum point number of CAM profile data depends on the tape
point number of CAM storage length and the number of the follower axes as shown in Table
profile data 1.9.3. Please note that the tape storage length 160m or 320m is
necessary.
S It depends on the parameter No.8081#3[EXD] whether the enhanced
specification is selected or the conventional specification (fixed 2048
at maximum). The point number is set by the parameter No.8088 as
before.
Table 1.9.3 Maximum point number used for CAM profile data
Tape storage Follower axis Maximum point Number of used P–code variable
length number number (In case of using Macro Executor)
CAUTION
When the specification is switched between enhanced one
and conventional one or the maximum point number is
changed, the tape storage memory must be deleted. Then,
before this, it is necessary to backup part programs. In order
to delete the tape storage memory, power is turned on with
pushing the <DELETE> key.
CAM follower links with The following improvement has been applied so that a CAM follower can
or unlinks from CAM join in or cut off synchronization with a CAM shaft on the fly.
shaft on the fly S Electronic CAM operation can be started without a CAM shaft phase
calibration
In the conventional specification, it is necessary to adjust the relation
of phase between a CAM shaft and a CAM follower before the CAM
operation is started. So the CAM follower can not join in the CAM
operation on the fly because it is not possible to adjust the phase during
the CAM operation. This specification has been improved so that the
electronic CAM operation can be started without the adjustment of
CAM phase. When using this specification, you must pay attention the
relation of axes. Because the CAM operation can be started even if the
relation between axes is not correct. It can be selected by the parameter
No.8082#1[NCP] whether the adjustment of a CAM follower is
required or not before CAM operation is started.
264
B–63173EN–1/02 1. AXIS CONTROL
CAM
follower
position CAM shaft
position
B
F
CAM shape
L C
F
L' A
F F F
P' P'' P
265
1. AXIS CONTROL B–63173EN–1/02
At first, the CAM follower stops at the point A. If CAM follower selection
signal ELCAM*[G238] is turned to ”1” to start when the CAM shaft
comes to the point P, the CAM follower can synchronize with the CAM
shaft without a shock.
If ELCAM* is turned to ”1” when the CAM shaft comes to the point P’
where the CAM follower should not start, the moving distance of the
CAM follower is L because the CAM follower will move from A to B.
If the CAM follower starts moving without any compensation, the CAM
follower is given a big shock. To reduce this shock, the parameter
No.8090 to set the tolerance of the velocity difference of the CAM
follower is prepared.
Suppose that the value S is set in this parameter. Then if the velocity
difference is greater than S, the CAM follower is not started and keeps
waiting. If the velocity difference to the point C is S (L’=S), the CAM
follower can move at velocity S when the CAM shaft comes to the point
P”. When the CAM follower moves from A to B, the velocity difference
is L and greater than S. In this case, the CAM follower is not moved. If
the CAM shaft passes the point P”, the CAM follower moves to C and
synchronizes with the CAM shaft.
[In case of stop]
Suppose that the relation between the position of the CAM follower and
the phase of the CAM shaft is shown in the following figure and the CAM
follower points A, B, C correspond to the CAM shaft points P, P’, P”.
Suppose that there is no delay to get the CAM shaft position to simplify
the explanation.
CAM
follower
Velocity of CAM follower position CAM shaft
at the position B B position
F
VB CAM shape
F C
VC A
F F F
P' P'' P
266
B–63173EN–1/02 1. AXIS CONTROL
Switch a CAM shaft from A CAM shaft can be switched from ”external axis (external
”external axis” to synchronization)” to ”hypothetical axis (internal synchronization)”
”hypothetical axis” during electronic CAM operation. It can be continued the CAM
follower’s motion after the external axis will stop. CAM shaft changing
signal ECMCHG [G239#2] is prepared for this purpose. If this signal is
turned to ”1”, the velocity of the CAM shaft (external axis) is kept at a
point of time and the internal pulses starts outputting at the same velocity
as before. The internal pulses are outputting while this signal is ”1”. The
internal synchronization in which the internal pulses are treated as the
CAM shaft is started.
The internal pulses will stop outputting when electronic CAM operation
is finished and CAM shaft changing signal ECMCHG [G239#2] is turned
to ”0”.
CAUTION
1 Be sure to finish electronic CAM operation before CAM shaft
changing signal is turned to ”0”.
2 Internal pulses is kept outputting until CAM shaft changing
signal is turned to ”0” or electronic CAM operation is
finished.
3 In case that a servo axis is assigned to a CAM shaft, CAM
shaft changing signal cannot be used. If used, a servo axis
moves like a hypothetical axis.
NOTE
1 Feedrate override can not be applied to internal pulses.
2 It is not possible to change from internal synchronization to
external synchronization.
267
1. AXIS CONTROL B–63173EN–1/02
Example How to use the items in Items ”CAM follower links with or unlinks from
CAM shaft on the fly” and ”Switch a CAM shaft from external axis to
hypothetical axis” concretely is described with the application example
shown in the following figure.
CAM
follower
position CAM shaft
phase
Switch to hypothetical
Starting external axis stopping external axis axis
Starting Stopping
Follower #2 #2 #2
Starting Stopping
Follower #3
#3 #3
Fig.1.9.3(b) Application example for the items in ”CAM follower links with or unlinks from CAM shaft on the fly”
and ”Switch a CAM shaft from external axis to hypothetical axis”
In the Fig. 1.9.3(b), the horizontal axis corresponds to the phase of a CAM
shaft and the vertical axis corresponds to the position of a CAM follower.
The external axis is performed to–and–fro linear motion by the CAM
shaft.
As shown in the Fig. 1.9.3(b), the external axis is started from the certain
point at first. Then the follower axes #1, #2 and #3 are started one by one
from the designated points. And electronic CAM operation with an
external axis as a CAM shaft (external synchronization) is performed.
When the operation is completed, the external axis will stop at the certain
point and a CAM shaft axis is switched to a hypothetical axis at the same
time so that the CAM follower axes stop at the certain point smoothly. The
hypothetical axis starts moving automatically with keeping the velocity
of the external axis. Then electronic CAM operation with a hypothetical
axis as a CAM shaft (internal synchronization) is performed.
After that, each follower axis will stop at each designated point one by
one.
268
B–63173EN–1/02 1. AXIS CONTROL
Ex.) In case that a CAM shaft rotates at 60min–1 and a CAM follower starts when the CAM shaft
comes to the area from 250degree to 270degree,
Area before 8–12degree from 250degree → 238–242degree
Area before 8–12degree from 270degree → 258–262degree
Then, the area involving above two is
238–262degree
These value is set as the area of position switch signal output to the parameters.
CAM follower
position
CAM shat
position
When the position switch area is set to cross the 0degree point of the CAM
shaft, the position switch signal does not output. For instance, it is the case
that the area is set from 350degree to 10degree.
There is another method to watch the position of a CAM shaft, such as
PMC functional instruction (WINDR, PSGN2). But the position switch
is better and recommended.
269
1. AXIS CONTROL B–63173EN–1/02
270
B–63173EN–1/02 1. AXIS CONTROL
D Stop external axis (From Stop the CAM shaft (external axis) by the following way and switch to
external synchronization the internal synchronization (hypothetical axis).
to internal 1 Watch the position of the external axis. When the external axis comes
synchronization) to the designated point, stop the external axis. At the same time, turn
both follow–up signal *FLWU[G007#5] and CAM shaft changing
signal ECMCHG[G239#2] to ”1”.
2 After above, internal pulses start outputting with keeping the velocity
of the external axis at the time when CAM shaft changing signal is
turned to ”1”. The CAM followers start synchronization with internal
pulses (internal synchronization).
D Stop internal Stop the internal synchronization by the following way.
synchronization 1 Watch the position of the CAM shaft (hypothetical axis). Turn CAM
follower selection signal ELCAM*[G238] for each axis to ”0” when
the hypothetical axis comes to the point where each follower should
stop.
Stop follower #2 → Stop follower #1 Stop follower #3
→
ELCAM2=0 ELCAM1=0 ELCAM3=0
S If the velocity difference of the CAM follower (moving distance)
is larger than the value of the parameter No.8090 (the tolerance of
the velocity difference of the CAM follower at start/stop
synchronization in electronic CAM function), the CAM follower
is waiting. If the velocity difference is smaller than the tolerance,
the CAM follower will stop. Please refer more detail in the item
”CAM follower links with or unlinks from CAM shaft on the fly”.
Consider that there exists the scatter and delay about from 24msec
to 32msec to output the position switch signal.
2 Electronic CAM operation is finished.
Turn electronic CAM function completion signal ECMEND[G239#1]
to ”1” or activate the reset signal.
3 Perform follow–up and reflect the difference of CAM shaft (external
axis) to the machine coordinate.
Turn both the follow–up signal *FLWU[G007#5] and CAM shaft
changing signal ECMCHG[G239#2] to ”0”.
4 Perform the coordinate preset (G92) so that the machine coordinate of
CAM shaft (external axis) has the same value of the absolute
coordinate.
For instance, execute the following part program.
G92 C#5021 ; (In case that CAM shaft is the first axis and its name
is C)
#5021 is the macro system variable and to treat the machine coordinate
of the first axis. Please refer to the ”FANUC Power Mate i–D/H
OPERATOR’S MANUAL” for more detail of the system variable.
271
1. AXIS CONTROL B–63173EN–1/02
Signal
NOTE
The parameter No.8087 determines which axis is the CAM
follower.
272
B–63173EN–1/02 1. AXIS CONTROL
CAUTION
1 Be sure to finish electronic CAM operation before CAM shaft
changing signal is turned to ”0”.
2 Internal pulses is kept outputting until CAM shaft changing
signal is turned to ”0” or electronic CAM operation is
finished.
3 In case that a servo axis is assigned to a CAM shaft, CAM
shaft changing signal cannot be used. If used, a servo axis
moves like a hypothetical axis.
NOTE
1 Feedrate override can not be applied to internal pulses.
2 It is not possible to change from internal synchronization to
external synchronization.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8081 EXD
273
1. AXIS CONTROL B–63173EN–1/02
NOTICE
When this parameter is changed, the tape storage memory
must be deleted. Then, before this, it is necessary to backup
part programs. In order to delete the tape storage memory,
power is turned on with pushing the <DELETE> key.
NOTE
When this parameter has been set, the power must be
turned off before the operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
8082 NCP
NOTE
If this parameter is ”1”, a CAM follower can link with or unlink
from a CAM shaft on the fly on the electronic CAM operation.
8088 The number of points of the CAM shape data in electronic CAM function
NOTICE
When this parameter is changed, the tape storage memory
must be deleted. Then, before this, it is necessary to backup
part programs. In order to delete the tape storage memory,
power is turned on with pushing the <DELETE> key.
NOTE
When this parameter has been set, the power must be
turned off before the operation is continued.
274
B–63173EN–1/02 1. AXIS CONTROL
8090 Tolerance of the velocity difference of each CAM follower at start/stop synchroniza-
tion in electronic CAM function
NOTE
This parameter is effective when phase calibration is not
used (the parameter No.8082#1[NCP]=1).
8091 Permissible fluctuation in master coordinate value at electronic cam phase syn-
chronization
NOTE
1 Set this parameter considering the range in which the
coordinate value may fluctuate when the cam shaft is
stopped.
2 If 0 is set, the conventional specification applies.
275
1. AXIS CONTROL B–63173EN–1/02
8092 Permissible fluctuation in slave coordinate value at electronic cam phase synchro-
nization
NOTE
1 Set this parameter considering the range in which the
coordinate value of the electronic cam follow–up axis may
change after the completion of phase synchronization.
2 If 0 is set, the conventional specification applies.
1.9.4
Combined Use of the
Electronic CAM Mode
and Simple
Synchronous Control
in the Electronic CAM
Function
Overview S When the electronic CAM function (phase synchronization and
electronic CAM operation) is activated, the electronic CAM mode is
entered and other operations such as JOG cannot be performed for the
follow–up axis.
S It is possible to perform simple synchronous control in which the
follow–up axis of the electronic CAM function is used as the master
axis. As with normal simple synchronous control, up to four sets, each
of which consists of a master axis and slave axis, can be specified.
CAM shaft
276
B–63173EN–1/02 1. AXIS CONTROL
Signals
NOTE
In the electronic CAM mode, other operations such as JOG
cannot be performed for the follow–up axis and the slave axis
in simple synchronous control in which the follow–up axis is
used as the master axis. To perform other operations, cancel
the electronic CAM mode by making a reset or mode change.
When automatic CAM operation is performed in the AUTO
mode, however, the electronic CAM mode is canceled upon
completion of electronic CAM operation.
277
1. AXIS CONTROL B–63173EN–1/02
Time Chart
ECMCST
(Phase synchronization
start signal)
Phase synchronization
ECMCP*
(Phase synchronization
completion signal)
ECMST
(Electronic CAM operation
start signal)
ECMEXE
(Electronic CAM operation
progress signal)
ECMEND
(Electronic CAM function
end signal)
ECMMOD
(Electronic CAM mode
activation signal)
Reset or mode
change
Combined use of the The following describes simple synchronous control in which the
electronic CAM function follow–up axis is used as the master axis.
and simple synchronous
control
Setting of Simple Parameter settings are quite the same as those of normal simple
synchronous control synchronous control.
Description S The slave axis is also assumed to be the follow–up axis.
In normal simple synchronous control, synchronization is made when
the simple synchronous axis selection signal <G138> or simple
synchronization manual feed axis selection signal <G140> is on.
When the simple synchronous axis selection signal <G138> or simple
synchronization manual feed axis selection signal <G140> is off,
synchronization is not made and the slave axis can be moved
independently. When the follow–up axis of the electronic CAM
function is used as the master axis, the slave axis is also assumed to
be the follow–up axis at the time of execution of the electronic CAM
function (phase synchronization or electronic CAM operation).
Therefore, the slave axis cannot be moved independently even when
the simple synchronous axis selection signal <G138> or simple
synchronization manual feed axis selection signal <G140> is off.
278
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 In the electronic CAM mode, other operations such as JOG
cannot be performed for the follow–up axis and slave axis
in simple synchronization.
2 Whether the slave axis in simple synchronization is
synchronized with the follow–up axis in the electronic CAM
mode is determined as usual by the simple synchronous
axis selection signal <G138> or simple synchronization
manual feed axis selection signal <G140>. However, which
signal to use is determined by the method of activating the
electronic CAM function.
279
1. AXIS CONTROL B–63173EN–1/02
1.10
MULTIAXIS
SYNCHRONOUS
CONTROL (Power
Mate i–H)
1.10.1 The multi axes synchronous function allows axes (child axes) to
synchronously follow up the operation of a reference axis (parent axis)
Overview
with a certain speed ratio (gear ratio).
The features of the multi axes synchronous function are as follows:
D Since the speed ratio (gear ratio) is determined by a ladder or by
specifying an NC statement, operations that frequently change the
gear ratio or the direction of movement can be performed.
D The speed ratio (gear ratio) is set by specifying the amount of a
parent–axis movement and the amount of a child–axis movement
separately rather than specifying a ratio directly, so the problem of
fraction processing does not occur. As a result, the synchronization
relationship does not deviate even after rotation is performed
continuously.
D Axes can have a hierarchical structure not only having a parent–child
relationship but also having grandchildren and further lower levels as
long as the maximum allowable number of axes is not exceeded.
D The parent–child relationship of axes is established by setting
parameters considering safety.
This function not only facilitates simplification of gears and other
mechanism but also allows the speed ratio to be changed freely during
operation, therefore enabling operations that could not be performed with
conventional mechanisms.
Fig. 1.10.1 shows an example in which the child axis synchronously
follows up the parent axis, and grandchild axes 1 and 2 synchronously
follow up the child axis.
Grandchild
Synchronization axis 1
Synchronization
Grandchild
axis 2
Child axis
Parent axis
Fig. 1.10.1
280
B–63173EN–1/02 1. AXIS CONTROL
The following present some examples for setting the parameters for the
synchronization relationship.
X Y
Fig. 1.10.3.1
Y (2nd axis) 1
281
1. AXIS CONTROL B–63173EN–1/02
Y 1
Fig. 1.10.3.2
Y 1
Z 2
A 1
B 0
C 3
U 3
V 7
282
B–63173EN–1/02 1. AXIS CONTROL
Y 1
Z 1
A 1
B 0
C 1
U 1
V 1
1.10.3.3 Let’s take a look at the settings for a synchronization relationship where
Example of a a separate absolute position detector is used as the parent axis as shown
in Fig. 1.10.3.3.
synchronization
This example is the same as the example shown in Fig. 1.10.3.2 except
relationship where a that the parent axis is not a servo axis but is a separate absolute position
separate absolute detector.
position detector is used
as the parent axis
Parent Child Grandchild Great– Great–great–
X Y Z U V
A C
Fig. 1.10.3.3
283
1. AXIS CONTROL B–63173EN–1/02
Y 1
Z 2
A 1
B 0
C 3
U 3
V 7
Y 4
Z 1
A 4
B 0
C 1
U 1
V 1
1.10.3.4 If the inter–unit data sharing function is used, synchronous operation with
Example of a the master device in the master unit set as the parent axis can be
performed.
synchronization
Assume that there are a master and a slave each having two axes (X, Y)
relationship where a assigned axis numbers (X = 1, Y = 2) and that the X–axis in the master
master device in another unit is used as the master device as shown in Fig. 1.10.3.4.
unit is used as the
parent axis
Master device X X
(parent axis)
Y Y
Fig. 1.10.3.4
284
B–63173EN–1/02 1. AXIS CONTROL
Parent axis number (No. 8380) Parent axis number (No. 8380)
X 0 X 0
Y 1 Y 1
Parent axis category (No. 8381) Parent axis category (No. 8381)
X 100 X 1000
Y 1 Y 1
1.10.3.5 Let’s take a look at the settings for a synchronization relationship where
Example of a a pacemaker is used as the parent axis as shown in Fig. 1.10.3.5.
synchronization
relationship where a Parent Child Grandchild Great– Great–great–
pacemaker is used as Pacemaker
grandchild grandchild
the parent axis
X Y Z U
A C
B V
Fig. 1.10.3.5
285
1. AXIS CONTROL B–63173EN–1/02
NOTE
An external APC axis and a pacemaker can be set only as
a parent axis. It is impossible to use these devices as child
axes.
1.10.4
Command Types and
Specification Methods
Start point After this command is issued, a target axis starts a synchronous operation
synchronization when a specified position on the parent axis has been achieved.
command Because this command has the feature of specifying the start point of
synchronization, control by this command is called start point
synchronous control.
286
B–63173EN–1/02 1. AXIS CONTROL
Specification method
Mechanical
f(*1) f(*2) f
synchronization
Type
Start point
f(*1) ∆(*3) f
synchronization
1.10.5
Commands Using a G
Code
287
1. AXIS CONTROL B–63173EN–1/02
[Operation]
Immediately after the command is specified, a movement on
the child axis specified in ”any–axis” is made by a specified
distance in synchronization with the parent axis while a
movement on the parent axis is made by the distance
specified in R.
1.10.5.3 The following shows the format of the start point synchronization
Start point command in an NC statement:
synchronization [Command format]
command
G145 G91 G01 any–axis__ R__ Q__ ; (only Q can be omitted)
Any axis__: Amount of movement on a target axis
R__ : Amount of movement on the parent axis
Q__ : Machine coordinate on the parent axis at
which the target axis starts synchronization
[Operation]
When the machine coordinate specified in Q has been
achieved on the parent axis, a movement on the child axis
specified in ”any–axis” is made by the specified distance in
synchronization with the parent axis while a movement on
the parent axis is made by the distance specified in R.
288
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 As the amount of movement on a target axis, do not specify
more than one axis.
2 When an external APC axis is set as the parent axis, a
synchronization start position Q is not a machine coordinate
value but an absolute coordinate value.
1.10.6
Commands using PMC
Axis Control
1.10.6.1 In PMC axis control, axes can be controlled in many ways just by using
General information signals.
about PMC axis The timing for rewriting command data is defined for PMC axis
synchronization commands regardless of whether these commands are specified directly
commands or indirectly.
When the EBUFg signal is inverted, a PMC axis instruction is specified.
When this instruction has been read, the EBSYg signal is inverted.
When the sign of the EBUFg signal and the sign of the EBSYg signal are
different, data read operation is in progress, so command data must not
be changed.
The following shows the timing chart for a command read operation:
Enable period(*1)
Command block
EBUFg
EBSYg
Input buffer
*1 The enable period is the period in which the sign of the EBUFg signal
and the sign of the EBSYg signal match, and therefore command data
can be rewritten. In this period, a new block can also be specified.
289
1. AXIS CONTROL B–63173EN–1/02
NOTE
When multiaxis synchronization command is to be specified
using PMC axis control, set bit 7 of parameter No. 1819 to
1.
If this parameter is set to 0, it may take about 20 ms to make
an axis movement after EBUSY is inverted upon reception
of a command.
290
B–63173EN–1/02 1. AXIS CONTROL
This command starts the operation when the movement on the parent axis
has passed the origin. To start synchronization at a point other than the
origin on the parent axis, use start point synchronous control command
G146, which is an NC command, or the PMC axis indirect command
described later.
Example of a PMC axis While the parent axis turns one turn, the child axis (the X–axis) turns one
synchronization turn with its speed changed in three steps, and in section 2, the parent axis
command (direct and child axis synchronously turn at the same speed.
specification)
Parent axis Child axis (X–axis)
Section Section
Section 3 2 3
Section 1 While the parent axis turns 90_, the child axis turns 180_.
Section 2 While the parent axis turns 90_, the child axis turns also 90_.
Section 3 While the parent axis turns 180_, the child axis turns 90_.
* For the parent axis of the X–axis, the parent axis parameter and the
parent axis category parameter must be set in advance.
In section 1, the child axis turns twice as fast as the parent axis. In section
2, the child axis turns at the same speed as the parent axis. In section 3,
the child axis turns at a half of the speed of the parent axis.
In this case, execute the following three instructions for the child axis
repeatedly by using PMC axis commands:
Section 1 Specify a command to make a movement on a target axis
(X–axis) 180_ (180000 pulses) during a movement on the
parent axis by 90_ (90000 pulses).
Section 2 Specify a command to make a movement on a target axis 90_
(90000 pulses) during a movement on the parent axis by 90_
(90000 pulses).
Section 3 Specify a command to make a movement on a target axis 90_
(90000 pulses) during a movement on the parent axis by 180_
(180000 pulses).
Offset address from
beginning of group Section 1 Section 2 Section 3
+00 –– –– ––
+01 35(23h) 35(23h) 35(23h)
+02 900(=90000/100) 900(=90000/100) 1800(=180000/100)
+04 180000 9000
291
1. AXIS CONTROL B–63173EN–1/02
1.10.6.3 Unlike direct specification, PMC axis indirect specification allows any
PMC axis number of data items and any size to be specified, so it can provide
minuter control, enabling creation of flexible applications.
synchronization
command (indirect Specifically, indirect specification has the following merits when
specification) compared with direct specification:
D Less than 100 pulses can be specified as the amount of movement on
the parent axis.
D In the start point synchronization command, the start point can be set
at any position freely.
D Command data can be assigned to the D area (nonvolatile PMC
memory).
D The area used for command data can be changed dynamically.
Command block
Axis control
Operation command code Command data
signal EC0g to EC6g
292
B–63173EN–1/02 1. AXIS CONTROL
CAUTION
If the range of the address of a specified subcommand is
used for another purpose (for example, device net, I/O Link,
etc.), a dangerous malfunction may be caused. So, be very
careful not to cause area overlap.
293
1. AXIS CONTROL B–63173EN–1/02
The units of the amount of movement on a target axis and the amount of
movement on the parent axis are both the least input increment.
When executing this command, be careful not to destroy the address area
of a specified subcommand.
The valid data range for the amount of movement on a target axis, the
amount of movement on the parent axis, and the start position is
–1,000,000,000 (–1 billion) to 1,000,000,000 (1 billion).
SUPPLEMENTARY
1 A specification was added, defining that when a multiaxis
synchronization command is specified with the amount of
movement on a target axis set to 0, the target axis is kept
stopped until a movement on the parent axis by a specified
distance is completed.
This enables operations such as an operation that performs
dwelling according to the amount of movement on the
parent axis instead of the period of time.
2 Note that before this specification was added, use of a
multiaxis synchronization command with the amount of
movement on a target axis set to 0 was prohibited, and the
operation performed by such a command was not
guaranteed. (Use of such a command has been supported
in 88F2–04 and later.)
NOTE
1 This command can be used only in conventional PMC axis
control. Set bit 7 (EAC2) of parameter No. 8003 to 0.
2 Before performing synchronous operation, set
synchronization mode signal G212 #1 (SYNCMD) to on to
select the synchronization mode.
294
B–63173EN–1/02 1. AXIS CONTROL
Indirect specification Suppose that the child axis starts synchronization when position 100.000
on the parent axis is achieved, and that a movement by 12.000 is made on
the target axis during a movement by 5.555 on the parent axis.
Address D2000 is assumed to be used for subcommand data.
Since the subcommand data is placed at D2000, axis control command
code 34 (22h) for PMC axis control is used to set the address character
code to D (68 = 44h) and the start address to 2000.
In the subcommand, the subcommand value (02) indicating start point
synchronization, the data length (16), the amount of movement on the
target axis (12000), the amount of movement on the parent axis (5555),
and the start position (100000) are set in advance. Then, when machine
coordinate value 100.000 on the parent axis is achieved, the child axis
starts synchronization to allow a movement on the target axis by 12.000
during a movement on the parent axis by 5.555.
Offset address from D2000
beginning of group Data Address Data
D2000 02 (subcommand value)
+00 ––
D2002 16 (10h) (data length)
+01 34 (22h) (indirect specification)
D2004 12000 (amount of movement on target axis)
+02 68(44h=’D’)
D2008 5555 (amount of movement on parent axis)
+04 2000 (address)
D2012 100000 (start position)
1.10.7
Parameters 8380 Axis number of parent axis
295
1. AXIS CONTROL B–63173EN–1/02
7 Pace marker
400 The target axis is a parent axis and a separate pulse coder.
#7 #6 #5 #4 #3 #2 #1 #0
8382 MCHER SCHKP
#7 #6 #5 #4 #3 #2 #1 #0
8385 NCNT
296
B–63173EN–1/02 1. AXIS CONTROL
1.10.8
Signals
Synchronization mode
signal
SYNCMD <G212#1>
[Classification] Input signal
[Function] This signal specifies whether to enable or disable synchronous operation.
1 : Disables the synchronization mode. (Synchronization mode off)
0 : Enables the synchronization mode. (Synchronization mode on)
To perform synchronous control, the synchronization mode must be set.
Before starting synchronous operation, be sure to turn on this signal.
NOTE
1 The status of this signal and the synchronization mode
setting do not change at the same time. This means that
even when this signal is turned off, the synchronization
mode is not canceled immediately. This occurs when, for
example, this signal is turned off or a parameter setting is
changed during axis movement.
2 When this signal is on, do not rewrite parameters related to
synchronous control.
3 When this signal is on, the path in linear interpolation (G01)
for a synchronization–related axis differs from the ordinary
path.
4 When this signal is on, reference position return cannot be
performed.
5 When an external absolute position detector is used as the
parent axis, do not turn on this signal during movement. Be
sure to turn on this signal in the stopped state.
297
1. AXIS CONTROL B–63173EN–1/02
Synchronization
disconnect signal
CLTHx <G452>
[Classification] Input signal
[Function] This signal specifies connection or disconnection for synchronization.
1 : The axis with axis number x is synchronized with the parent axis.
0 : The axis with axis number x is not synchronized with the parent axis.
If this signal is set to 1 (synchronization connection is disconnected),
synchronization is canceled and a stop takes place even when a command
is being issued.
If this signal is set to 0, synchronous feed is resumed.
In mechanical synchronization, when the synchronization disconnect
signal status is changed from 1 to 0, the child axis starts synchronization
as soon as a command is issued.
In start point synchronization, if a command is issued, the child axis starts
synchronization at the time a movement on the parent axis passes a
specified point.
In mechanical synchronization, when the synchronization disconnect
signal status is changed from 0 to 1, the child axis stops immediately.
In start point synchronization, the child axis stops after the move
command in the block being executed when the synchronization
disconnect signal is set to 1 is completed.
Synchronization mode
signal
SYCMO <F208>
[Classification] Output signal
[Function] This signal is used to determine whether synchronous operation can be
performed in the current mode.
1 : The synchronization mode is currently set.
0 : The synchronization mode is not set.
If this signal is on, synchronous operation can be performed.
NOTE
1 When this signal is on, do not rewrite parameters related to
synchronous control.
2 When this signal is on, do not perform interpolation of an
operation such as cutting feed for an axis related to
synchronization.
3 When this signal is on, the path in positioning is different
from the path in normal operation.
4 When this signal is on, reference position return cannot be
performed.
298
B–63173EN–1/02 1. AXIS CONTROL
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G212 SYCMD
F208 SYCMO
1.10.9
Notes
CAUTION
Do not use block overlap. (Set bits 2 and 4 of parameter No.
1601 to 0.)
NOTE
1 Set IS–B. (Set bits 0 and 1 of parameter No. 1004 to 0.)
2 Inch/metric conversion cannot be performed. (Set bit 2 of
parameter No. 0000 to 0.)
3 F10 specification is not allowed. (Set bit 3 of parameter No.
8002 to 0.)
4 Do not apply acceleration/deceleration to a target axis
(synchronized axis). Applying acceleration/deceleration to
the target axis can degrade accuracy in synchronization
with the parent axis.
5 Executing a move command other than multi axes
synchronization in the synchronization mode, a movement
takes place with a path or timing different from that in normal
operation.
1.10.10
Others
Synchronization when a When using a separate absolute position detector as the parent axis, set the
separate absolute following:
position detector is used D Set the serial pulse coder dummy function.
as the parent axis For details, see ”Serial Pulse Coder for FSSB Dummy Function”.
D Enable the servo off signal of the separate absolute position detector
axis. (Signal G126)
D Check that the follow–up function is enabled (G007.5 = 0).
CAUTION
When a separate absolute pulse detector is used as the
parent axis, G92 must not be executed during the execution
of the synchronization command.
299
1. AXIS CONTROL B–63173EN–1/02
NOTE
1 When a separate absolute position detector is used as the
parent axis, an abrupt speed change in the parent axis
cannot sometimes be followed up by the child axis.
2 For a separate absolute position detector, the machine
coordinate value and the absolute coordinate value must
always be the same. (Be sure to set bit 0 (ZPR) of
parameter No. 1201 to 1.) If these coordinate values do not
match, the start point synchronization command does not
operate normally.
3 When a separate absolute position detector is used, do not
turn on the power with the synchronization mode signal
being already on. The synchronization mode signal must be
set to on after the SA signal (F000.6) is turned on.
4 When a separate absolute position detector is used, do not
turn on the synchronization mode signal while a movement
is being made.
5 The separate absolute position detector is intended to
obtain position data. So, do not issue a move command for
the detector.
6 It is impossible to use the device input function to
superimpose pulses on the axis of the separate absolute
position detector.
7 Synchronization with a separate absolute position detector
used as the parent axis has larger errors when compared
with synchronization with a servo axis used as the parent
axis.
1.10.11
Inter–Unit Data Sharing
Function
1.10.11.1 The inter–unit data sharing function allows synchronous control for many
Overview axes using more than one Power Mate i–H unit.
The inter–unit data sharing function allows data of a device (master
device) in the master unit to be shared among multiple Power Mate i–H
units, which are connected via multiaxis synchronization line, by
communicating with each other.
With this function, synchronous control for up to 128 axes can be
performed by sharing data of one master device among up to 16 Power
Mater i–H units.
When this function is used with the multi axes synchronous function or
the electronic cam function, for example, synchronous operation for up
to 127 axes can be performed for one master device.
300
B–63173EN–1/02 1. AXIS CONTROL
Multiaxis synchronization
line
NOTE
1 The master unit is always the first unit (unit number 0).
2 Before the inter–unit data sharing function can be used,
cables for multiaxis synchronization are required. Although
the multiaxis synchronization cable is also used as a display
link cable, there is also a cable dedicated to a display link.
So, be careful not to use these cables together.
301
1. AXIS CONTROL B–63173EN–1/02
NOTE
When the master device is a servo axis or a separate
absolute position detector, be sure to make rotary axis
settings (set bit 0 of parameter No. 1006 to 1, set bit 0 of
parameter No. 1008 to 1, and set a significant value in
parameter No. 1260).
NOTE
1 With the inter–unit data sharing function, an abrupt speed
change in the parent axis cannot sometimes be followed up
by the child axis.
2 When synchronous operation with more than one unit is
performed using the inter–unit data sharing function, a
larger error may be generated when compared with the
case where only one unit is used.
3 Data shared between the master and a slave or between
slaves may have an error due to the time required for
communication, but the error is corrected in the steady
state.
d
f
Slave 1 Slave 2 Slave 5 Slave 11 Slave 15
Master
Master setting
Unit number setting: Parameter No. 8260 = 1
Slave unit setting: Set five bits including bits 1, 2, and 5 of parameter
No. 8261 and bits 3 and 7 of parameter No. 8262
to on.
Master device number: Parameter No. 8396 = 1
Master device category number: Parameter No. 8397 = 1
Slave setting
Unit number setting: Set each slave number (set 5 for slave 5, for
example) in parameter No. 8260.
302
B–63173EN–1/02 1. AXIS CONTROL
When the master device has been changed, only parameters related to the
master device of the master (parameter Nos. 8396 and 8397) must be
changed.
When the master device is the fifth axis and an external APC axis, for
example:
Master setting
Master device number: Parameter No. 8396 = 5
Master device category number: Parameter No. 8397 = 4
The other settings are the same as above.
When the master device is a pacemaker:
Master setting
Master device number: Parameter No. 8396 = 1
Master device category number: Parameter No. 8397 = 7
The other settings are the same as above.
1.10.11.5
Parameter 8260 Unit number
#7 #6 #5 #4 #3 #2 #1 #0
8261 SLV70 SLV60 SLV50 SLV40 SLV30 SLV20 SLV10
303
1. AXIS CONTROL B–63173EN–1/02
1.10.11.6 In any one of the units involved in the inter–unit data sharing function,
Alarms if a power failure occurs, an alarm is issued, or the emergency stop state
is entered, data sharing is interrupted.
To restart data sharing, check that all units are in the following conditions:
D All units operate normally.
D No alarm is issued.
D The emergency stop state is not present.
1.10.11.7 The multi axes synchronous function and the electronic cam function can
Use with the multi axes be used together with the inter–unit data sharing function.
synchronous function In one Power Mate i–H unit, multiaxis synchronous control can be
and the electronic cam performed for up to eight axes, and electronic cam control can be
function performed for up to four axes. With the inter–unit data sharing function,
multiaxis synchronous control can be performed for up to 128 axes, and
electronic cam control can be performed for up to 64 axes.
For example, while electronic cam operation is performed in the same unit
as the master unit, electronic cam operation can also be performed for the
slave units with the master device of the master unit set as the parent axis.
Multiaxis synchronous operation can be performed for the master unit
while electronic cam operation can be performed for the slave units.
Alternatively, electronic cam operation can be performed for the master
unit while multiaxis synchronous operation can be performed for the
slave units.
304
B–63173EN–1/02 1. AXIS CONTROL
1.10.11.8 The following presents an example where the electronic cam function and
Example for electronic the inter–unit data sharing function are used together to perform
electronic cam control for five axes in two Power Mate i–H units.
cam operation is
performed for both the Assume that electronic cam operation is performed for axes (Y, Z) of the
master unit and slave master unit and axes (Y, Z) of the slave unit with the cam shaft axis (parent
unit axis) set to a separate absolute position detector (X–axis) in the master
unit.
Also assume that the cam shaft (X–axis) is used as the master device to
share positional information of the cam shaft axis between the two units.
X Master device
Y Z
Y Z
Electronic cam
Electronic cam
Parameter Slave
Function Usage Master unit
No. unit 1
305
1. AXIS CONTROL B–63173EN–1/02
Parameter Slave
Function Usage Master unit
No. unit 1
1.10.11.9 The following presents a more complicated example where the master
Example of electronic unit performs electronic cam operation with three axes that use a
hypothetical axis as the master device, and the slave unit performs
cam (master unit) and
multiaxis synchronization for eight axes that use the hypothetical axis
multiaxis (master device) of the master unit as the parent axis.
synchronization (slave
unit)
A X Y X Y Z U V W A B
306
B–63173EN–1/02 1. AXIS CONTROL
307
1. AXIS CONTROL B–63173EN–1/02
1 Turn on power.
2 Erase alarm.
3 Turn on power.
4 Erase alarm.
If alarm 5276, ”Alarm issued in
slave unit”, is issued, erase all
alarms in the slave unit, confirm
activation, then release the
alarm.
5 Start electronic cam operation.
6 Start electronic cam operation.
7 Start cam shaft operation.
Step 5 causes the follow–up axes in the slave unit to wait for cam shaft
operation.
Step 6 causes the follow–up axes in the master unit to wait for cam shaft
operation.
Step 7 starts the operation of the follow–up axes in all units.
1.10.11.11
Parameters related to the
electronic cam function 8084 Axis type of cam shaft
308
B–63173EN–1/02 1. AXIS CONTROL
1.10.11.12
Others
WARNING
1 When the master device is a separate position detector and
an operation synchronized with this device is being
performed (the multi axes synchronous function or the
electronic cam function), G92 must not be specified for the
master device.
2 When the master device is a pacemaker and an operation
synchronized with this device is being performed (the multi
axes synchronous function or the electronic cam function),
the pacemaker reset signal must not be input.
CAUTION
1 Operations such as change of parameter settings, change
of the synchronization mode, change of the machine lock
state, execution of G92 for the master device, and input of
the pacemaker reset signal must be performed when the
master device is in a stationary state.
2 Do not use the device input function for the master device.
3 Even when a power failure, an emergency stop, or the
issuance of a system alarm or an alarm occurs in the master
unit, there may be no alarm issued in slaves.
1.10.11.13 The following lists the alarms related to the multi axes synchronous
Alarms function and the inter–unit data sharing function:
309
1. AXIS CONTROL B–63173EN–1/02
310
B–63173EN–1/02 1. AXIS CONTROL
1.10.12
Notes and Limitations
CAUTION
Do not use the device input function for the master device.
NOTE
1 When the settings of parameters Nos. 8396 and 8397 are
changed from valid values to invalid values, communication
is performed with the previous valid settings assumed.
When the power is then turned off and on again, the
parameter settings are regarded as invalid, and
communication is not performed.
2 When an abrupt speed change is made in the master axis,
a synchronization error may occur temporarily between
units.
311
1. AXIS CONTROL B–63173EN–1/02
1.10.13
Pacemaker Function
Increment On Off
Decrement Off On
Off
On On
Stop
Off Off
Counter reset –– –– On
312
B–63173EN–1/02 1. AXIS CONTROL
Reference
Pacemaker
1.10.13.3
Parameters #7 #6 #5 #4 #3 #2 #1 #0
8280 PACEM
313
1. AXIS CONTROL B–63173EN–1/02
CAUTION
1 Make sure that the pacemaker counter parameter (No.
8281) and the pacemaker count incremental parameter
(No. 8283) have the following relationship:
Pacemaker counter (No. 8281) >
40.8 pacemaker incremental (No. 8283)
If the above relationship is not satisfied, alarm 5279 (invalid
pacemaker value) is issued, and the pacemaker does not
operate.
2 After a parameter related to the pacemaker has been
changed, input the pacemaker reset signal before starting
the pacemaker.
3 This pacemaker is intended to provide a reference pace and
may have a slight error in time. (The increment and
decrement timings of the pacemaker vary among the Power
Mate units.)
314
B–63173EN–1/02 1. AXIS CONTROL
1.10.13.4
Signals
Pacemaker count–up
signal
PCMP1 <G245#0> [Type] Input signal
[Function] When this signal is turned on, the pacemaker counter counts in the
positive direction at a rate specified in parameter No. 8283.
Pacemaker count–down
signal
PCMM1 <G245#1> [Type] Input signal
[Function] When this signal is turned on, the pacemaker counter counts in the
negative direction at a rate specified in parameter No. 8283.
Pacemaker override
signal
PCMVx <G013> [Type] Input signal
[Function] When this signal is turned on, the pacemaker override value is applied.
A value from 0 to 255% can be specified in 1% steps.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G245 PCMP1
G245 PCMM1
G245 PCMR1
315
1. AXIS CONTROL B–63173EN–1/02
1.10.13.5 D When a small value is set as the pacemaker count incremental value,
Notes application of a pacemaker override can cause a count error.
D The pacemaker continues counting even when an emergency stop or
a reset occurs.
D The pacemaker count timing varies among Power Mate i–H units.
Therefore, even when counting is performed in more than one Power
Mate i–H unit with the same setting and at the same timing, the counter
value may vary among the units.
CAUTION
When a pacemaker is used as the parent axis, the
pacemaker reset signal must not be turned on during
execution of a synchronization command.
1.10.14
Device Input Function
1.10.14.1 Use of this function allows pulses to be added to an axis manually through
Overview a device during automatic operation.
Amount of
movement in Amount of
synchronous movement by
operation device (manual)
(automatic)
Output to
servo motor
316
B–63173EN–1/02 1. AXIS CONTROL
At the end of this program, the position on the X–axis has been shifted
by 30.007.
The machine coordinate value is updated also by the amount of the
manual correction. The absolute coordinate value is changed only by the
amount of movement made by automatic operation.
Absolute coordinate on the X–axis: 30.00
Machine coordinate on the X–axis: 30.007
1.10.14.2
Parameters 8290 Device number
2nd axis 2
3rd axis 3
4th axis 4
5th axis 5
6th axis 6
7th axis 7
8th axis 8
317
1. AXIS CONTROL B–63173EN–1/02
Pulse
Pulse input
ÅÅ
through device
Limit
ÅÅ
ÅÅ
Pulses in the negative direction are also limited to the parameter setting.
For example, suppose that –150 pulses are input through the device when
100 is set in this parameter. In this case, pulse output is performed twice;
output of –100 pulses and output of –50 pulses are performed separately.
318
B–63173EN–1/02 1. AXIS CONTROL
1.10.14.3
Signals #7 #6 #5 #4 #3 #2 #1 #0
G455 DVIEN8 DVIEN7 DVIEN6 DVIEN5 DVIEN4 DVIEN3 DVIEN2 DVIEN1
#7 #6 #5 #4 #3 #2 #1 #0
G450 +STEP8 +STEP7 +STEP6 +STEP5 +STEP4 +STEP3 +STEP2 +STEP1
1.10.14.4 D This function is independent of the existing step feed, handle interrupt,
Notes and other functions.
Accordingly, the operation of this function and the operation of an
existing function may overlap, so care should be taken. For example,
when a step signal and a device step signal are input in the step mode,
both signals become valid.
D The amount of movement made by this function is reflected in the
machine coordinates. It is not reflected in the absolute coordinates and
relative coordinates, however.
D The unit is the least input increment.
D In the emergency stop state, the reset state, and the alarm state, pulses
are not input by this function.
CAUTION
1 Do not use this function for the axis of a separate position
detector.
2 Do not use this function for the master device of the
inter–unit data sharing function.
319
1. AXIS CONTROL B–63173EN–1/02
1.10.15
Hypothetical Axis
1.10.15.2 When child axes are disconnected from their parent axis and stopped
Use example while the synchronization relationship among the child axes is
maintained, a hypothetical axis can be used.
Parent
axis Without the hypothetical axis, a synchronization
disconnect signal must be provided for each child axis,
Synchronization so it is impossible to disconnect synchronization with the
disconnect signal parent axis while maintaining the synchronization
relationship.
Hypo-
thetical In a configuration as shown in the figure to the left, the
axis hypothetical axis can be stopped independently of the
parent axis by using the synchronization disconnect
signal transferred between the parent axis and the
hypothetical axis. This allows the child axes to be
stopped while synchronization among the child axes is
Child Child Child maintained.
axis 1 axis 2 axis 3
1.10.15.3 Set –100 in parameter No. 1023 for an axis to be used as a hypothetical
Setting axis.
Like normal axes, this axis can be specified in G codes, jog feed, PMC
axis control, and so forth.
NOTE
1 One controlled axis is required for one hypothetical axis.
For example, if one hypothetical axis is used when there are
eight controlled axes, seven servo motor axes can be
controlled.
2 Hypothetical axes are not included in the number of the
axes controlled by an axis control card. For a system using
four servo motor axes and two hypothetical axes, for
example, select a four–axis control card.
320
B–63173EN–1/02 1. AXIS CONTROL
1.10.15.4
Parameters 1023 Servo axis number of each axis
NOTE
1 This parameter requires a power–off operation for the
setting to become effective.
2 Do not set all axes as hypothetical axis.
1.10.15.5 In the emergency stop state, coordinate indication may become unstable.
Notes
321
1. AXIS CONTROL B–63173EN–1/02
NOTE
With this method, there is a synchronization error in portions
where operation is performed at speeds other than V.
When the speed of the parent axis changes, use of the follow–up type
acceleration/deceleration function allows two values including the
position and speed to be followed up without special calculations. For
details, see the description of the follow–up type acceleration/
deceleration function.
Let’s consider an example where the X–axis follows up the Y–axis at a
1 to 2 ratio.
In this case, the X–axis is synchronized with the Y–axis.
A movement on the Y–axis is made continuously. In the middle of the
Y–axis movement, the X–axis starts synchronization.
Suppose that the Y–axis movement is made at a speed of 9000000
pulses/min.
Since the synchronization block specifies a 1 to 2 ratio as the speed ratio
of X to Y, X–axis speed v = 9000000 1/2 = 4500000 pulses/min.
Suppose that the acceleration/deceleration time is 100 ms.
Bit 0 of parameter No. 1610 = 1, bit 1 = 0 (cutting feed linear
acceleration/deceleration)
Parameter No. 1622 = 100 (time constant)
Then, V and a are obtained as follows:
V = v/1000 = 4500000/1000 = 4500
a = 100
The delay amount on the X–axis when compared with the case where
acceleration/deceleration is not applied is obtained by substituting the
above V and a values in equation 1 on the previous page as follows:
S = {(100–8) – (100 mod 8)} 4500/120
= 3300 Delay by 3300 pulses
S is equivalent to the area of S in Fig. 1.10.16.
O0001:
G28 X0 Y0;
G92 X0 Y0;
G90 X(A)
M55;
#100 = 100;
WHILE {#100 GT 0} DO 1;
G145 G91 G01 X1000. R200.;
#100 = #100–1;
ENDW;
M02;
322
B–63173EN–1/02 1. AXIS CONTROL
If the above are set, 3300, which is the value of S, is substituted in (α).
When O0001 is executed, the normal positional relationship is
maintained in the portion of synchronous operation, which is the portion
where an X–axis movement is made at a speed of 9000000 pulses/min
(portion (b) in Fig. 1.10.16).
X–axis without
acceleration/
deceleration
T0 Te Time
Y Y
Advance Advance
direction direction
l=S 0<l<S
Y Y
Advance Advance
direction direction
0<l<S l=S
Y
Advance
direction
l=0
323
1. AXIS CONTROL B–63173EN–1/02
1.10.17
Troubleshooting in
Multiaxis Synchronous
control
Problem Cause and action
A child axis in a slave unit is not synchronized with the Check diagnosis B73 to see whether the inter–unit data sharing
parent axis in the master unit. function is operating.
If the inter–unit data sharing function operates normally, data in
diagnosis 873 of the master unit and slave unit is counted up
properly. If the function does not operate normally, values are
counted up in irregular steps.
The cause may be that JD41A of the CRT link adapter on the
master unit side and JD41B of the CRT link adapter on the
slave unit side are not connected, or that the cable used is not a
multiaxis synchronization cable (JD41, drawing edition:
2042–T207 #L10R03).
Alarm 5277 (communication error in synchronization If alarm 5277 is issued in the master unit at power–up, an alarm
line) occurs in the inter–unit data sharing function. may have been issued in a slave unit. In this case, a reset
operation erases alarm 5277 and indicates alarm 5276.
Alarm 5276 (alarm in a slave unit) is issued in the If an alarm has been issued in a slave unit, release the alarm,
master unit. then reset the master unit.
Alarm 5269 (failure in acquiring information of an An alarm may have been issued in the master unit. In this
external axis) is issued in a slave unit. case, release the alarm in the slave unit, then release the alarm
in the master unit.
When an attempt is made to register a cam figure If part program storage is insufficient when cam figure data of
created on a PC in the NC via RS232–C, alarm 10 an electronic cam is registered, this alarm may be issued.
(illegal G code specified) is issued. Decrease the cam figure data.
When an attempt is made to register a cam figure Even when the cam shaft is the parent axis of the master unit,
created on a PC in the NC via RS232–C, alarm 5246 values must be set in parameter Nos. 8086 and 8087.
(illegal electronic cam parameter) is issued. After the registration of cam figure data of an electronic cam, if
any one of parameter Nos. 8086 and 8087 is not set, an alarm
is issued when the electronic cam starts.
If both parameters are set or are set to 0, the alarm is not
issued.
The inter–unit data sharing function does not perform Check diagnosis 873 to see whether count–up operation is
phase synchronization in a slave unit. performed properly. If the count–up operation is performed in
irregular steps, check for any alarm in the master unit, and
release the alarm.
In the inter–unit data sharing function, when a If the multiaxis synchronization command is correct, an alarm
multiaxis synchronization command is executed for a may have been issued in the master unit.
slave unit with an axis in the master unit being used as
the parent axis, alarm 5263 (synchronization command
specification error) is issued.
324
B–63173EN–1/02 1. AXIS CONTROL
When multiaxis synchronization commands are Use of block overlap may be set. (Bits 2 and 4 of parameter
specified successively, extra pulses are generated No. 1601)
between two adjacent blocks. (Overlap does not As mentioned in notes on multiaxis synchronization, if use of
function.) block overlap is set, this problem occurs in multiaxis
Example: synchronous operation.
G145 G91 G01 X600.R360.;
G145 G91 G01 X600.R360.;
G145 G91 G01 X600.R360.;
In the above example, this problem occurs at two
places.
When a PMC axis control command is specified If bit 7 (NAH) of parameter No. 1819 is set to 0, processing for
immediately after power–up or after completion of delaying axis start is enabled.
automatic operation, EGEN is not inverted immediately When PMC axis control is used, the problem can be solved by
after EBUSY is inverted. In the second and setting bit 7 (NAH) of parameter No. 1819 to 1.
subsequent operations, EBUSY and EGEN are
inverted at the same time.
Example:
Although EBUSY is inverted with the start point
synchronization command immediately before the start
point, inversion of EGEN is delayed, and it cannot be
performed in time for start point synchronization. In the
second start point synchronization operation, a
movement is made twice; that is, a movement for the
previous operation and a movement for the current
operation are made.
When start point synchronization is specified If bit 0 (NCNT) of parameter No. 8385 is set to 0, when a
successively, the start position for the latter start point second start point synchronization command is specified before
synchronization specification may be ignored, and the previous start point synchronization operation ends, overlap
synchronous operation may be performed occurs, and the latter start point synchronization command
continuously. (The latter start point synchronization performs the same operation as mechanical synchronization.
command performs the same operation as mechanical If bit 0 (NCNT) of parameter No. 8385 is set to 1, even when
synchronization.) start point synchronization commands are specified
successively, the start of synchronization can be awaited
without overlap until a specified start point is reached.
325
1. AXIS CONTROL B–63173EN–1/02
1.11
RATE CHANGE
FUNCTION
General When the external signal is input, the cutting feed rate of G31 and G01
is changed to the value which is set by a parameter.
Program example (mm input)
Program: Parameters:
G31 X100.0 F20.0 ; EXFP1 = 6 ( 6.0 mm/min)
EXFP2 = 10 (10.0 mm/min)
EXFP3 = 16 ( 16.0 mm/min)
When the rate change signals EXF3, EXF2, and EXF1 are turned on in
that order during executing the above program, feed rate is changed as
follows;
f mm/min
EXF3 ON
20.0 EXF2 ON
16.0 EXF1 ON
10.0 SKIP ON by
SKIP signal
6.0
x mm
0 100.0
326
B–63173EN–1/02 1. AXIS CONTROL
Signal
#7 #6 #5 #4 #3 #2 #1 #0
X0000 SKIP EXF3 *DEC *ESP SKIP4 EXF2 EXF1
327
1. AXIS CONTROL B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
X0000 SKIP#1 EXF3#1 *DEC#1 *ESP#1 SKIP4#1 EXF2#1 EXF1#1
#1 or #2 means the signal for the first path or the second path, respectively.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1405 EDCHG
1481 EXFP1
1482 EXFP2
1483 EXFP3
1484 EXFP4
1485 EXFP5
EXFP1 to EXFP5 Rate for each feed rate change signal EXF1–5.
Limit of data
Data unit
IS–A, IS–B IS–C
mm (input) 1 mm/min 6–15000 6–12000
Inch (input) 0.1 inch/min 6–600 6–4800
Rotation axis 1 deg/min 6–15000 6–12000
#7 #6 #5 #4 #3 #2 #1 #0
6200 SFK SK0 GSK
328
B–63173EN–1/02 1. AXIS CONTROL
SKF Dry run, override, and automatic acceleration/deceleration for G31 skip
command is
0 : Disabled
1 : Enabled
#7 #6 #5 #4 #3 #2 #1 #0
6202 1S4 1S3 1S2 1S1
Command G31
Input G31P1 G31P2 G31P3 G31P4
signal G04Q1 G04Q2 G04Q3 G04Q4
Override Manual rate override signals (*JV0–*JV15) are effective during ’feedrate
change’.
he following table shows the effective override signals before/after the
feedrate change function is executed.
When the rate change signal is off When the signal is on
329
1. AXIS CONTROL B–63173EN–1/02
NOTES 1) EXF4 and EXF5 are available in case the address X0011 exists.
They can not be used in the following case.
S The case Built–in I/O is used (That is, parameter No.3008#3(BIO)
=1)
S The case X0011 is not assigned to I/O
2) When this function is used, a high–speed interlock(*RILK) and a
multiskip(SKIP2, SKIP3) function are not available. (Those signals
are overlapped.)
3) The order of priority of the signals EXF1–EXF5 is as follows:
EXF1, EXF2, EXF3, EXF4, EXF5
For example, if both EXF2 and EXF4 turn to 1 simultaneously, EXF2
is effective and EXF4 is not. And when all the signals of EXF1–EXF5
are returned into 0, the feed rate becomes the originally commanded
cutting feed rate.
4) For the details of the skip function, refer to the item of that function
in CONNECTION MANUAL(FUNCTION).
5) The acceleration/deceleration type in changing the feedrate depends
on the setting about cutting feed acceleration/deceleration.
330
B–63173EN–1/02 1. AXIS CONTROL
1.12
TORQUE LIMIT
FUNCTION
Selecting a torque With the torque control function, a torque limit can be set using three
control method methods:
1: Torque control based on parameter input
2: Torque control based on DI signal input
3: Torque control based on input from the PMC
See Table 1.12.1(a) for information about about which torque control
method is used.
A torque control method can be selected separately for the each axis.
n : 1 or 8
(1) Position and alarm check when a torque limit is applied
An excessive position error and stop/move error can be ignored by
setting parameter TIP, TAL (No. 1803#0, #1) only when a torque limit
is applied.
Torque Control Function (1) Condition for activating this function
Based on Parameter This function is activated when a value other than 0 is set in parameter
TRQLTn (No. 1855) (parameter for setting a torque limit).
Input
NOTE
When 0 is specified in parameter No. 1855, the torque
control function based on parameter input is disabled.
331
1. AXIS CONTROL B–63173EN–1/02
· · · · · · · · ·
254 Ę Ę Ę Ę Ę Ę Ę
255 Ę Ę Ę Ę Ę Ę Ę Ę
332
B–63173EN–1/02 1. AXIS CONTROL
NOTE
The torque control function based on input from the PMC is
disabled when either the torque control function based on
parameter input or the torque control function based on DI
signal input is enabled.
Signal
TRQ1E
[Operation] When the signal becomes 1, the control unit enables DI–based torque
control for the selected axis.
333
1. AXIS CONTROL B–63173EN–1/02
TRQ10
A torque limit value is set up as listed in Table 17.1 (b).
[Operation] When the signal becomes 1, the control unit enables DI–based torque
control for the selected axis.
Signal address
<Torque limit enable signal>
#7 #6 #5 #4 #3 #2 #1 #0
G216 TRQ8E TRQ7E TRQ6E TRQ5E TRQ4E TRQ3E TRQ2E TRQ1E
334
B–63173EN–1/02 1. AXIS CONTROL
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1803 TQA TQI
Reference Item
FANUC PMC B–61863E Writing of torque limit data to
PROGRAMMING digital servo
MANUAL (LADDER
LANGUAGE)
335
1. AXIS CONTROL B–63173EN–1/02
1.13
EXTERNAL PULSE
INPUT FUNCTION
General
This function is responsible for instigating motion along an arbitrary
axis in phase with an external pulse signal entered from the machine.
Enter an external pulse signal via the position coder interface.
Position coder
336
B–63173EN–1/02 1. AXIS CONTROL
NOTE
1 Machine lock, interlock, and overtravel are valid for axis
movement based on external pulses.
2 For external pulse–based axis movement, acceleration/
deceleration must be an exponential type, and the time
constant must be specified using parameter No. 1624.
3 If the external pulse input function is used, it is impossible
to specify feed per revolution.
4 If the external pulse input interface selection signal, EPCON
(bit 6 of G066), is 1, it is impossible to use manual handle
feed.
Pulse input The maximum allowable high frequency is 100 kHz. (Note, however, that
this frequency is multiplied by 4 in the Power Mate. This is because a
rising edge of each of the A–phase signal and B–phase signal is regarded
as consisting of one pulse, so that four pulses are received during one
cycle of the A–phase or B–phase signal.)
PA PA
*PA *PA
PB PB
*PB *PB
TP TP TP TP TP TP TP TP
337
1. AXIS CONTROL B–63173EN–1/02
PB
– pulse
Fig.1.13(b) Sequence
Signal
338
B–63173EN–1/02 1. AXIS CONTROL
*1 Scale factors m and n are specified using parameter Nos. 7113 and
7114.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G018 HS1D HS1C HS1B HS1A
G066 EPCON
339
1. AXIS CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
7670 EXH
7681 Setting 1 of the ratio of an axis move amount to external pulses (M)
7682 Setting 2 of the ratio of an axis move amount to external pulses (N)
#7 #6 #5 #4 #3 #2 #1 #0
7701 SM3 SM2 SM1
Number of
SM3 SM2 SM1
sampling operations
0 0 0 4
0 0 1 1
0 1 0 2
0 1 1 8
1 0 0 16
1 0 1 4
1 1 0 4
1 1 1 4
7710 Setting of an axis number for movement along an axis by external pulses
340
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
341
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.1
EMERGENCY STOP
General If you press Emergency Stop button on the machine operator’s panel, the
machine movement stops in a moment.
Red
EMERGENCY STOP
Signal
Emergency stop
*ESP<X000#4, X1000#4,
G008#4>
[Classification] Input signal
[Function] Outputting an emergency stop signal stops the machine instantly.
[Operation] When the emergency stop signal *ESP turns to “0”, the emergency stop
is applied to the machine and the CNC is reset. This signal is controlled
by the B contacts of a pushbutton switch. The emergency stop signal turns
the servo ready signal (SA) to “0”.
Overtravel detection by this CNC is handled by the stored stroke check
function, and a limit switch for normal overtravel detection is not needed.
To prevent the machine from moving beyond the software limit through
servo feedback error, always install a stroke end limit switch (shown in
Fig. 2.1 (b) as follows).
CAUTION
Bit 3 (BIO) of parameter No. 3008 is used to specify whether
the emergency stop signal is to be supplied from the built–in
I/O card (bit 4 of X1000) or an I/O unit supporting the FANUC
I/O Link (bit 4 of X000).
342
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Relay power
Emergency stop temporary release
supply
EMG
SK
Spark killer
The distance from the position where the dynamic brake is applied to that
where the tool stops moving is given in the “AC Servo Motor
Descriptions.”
WARNING
Software limit setting point and operating point of limit switch
for emergency stop
The stop point by the software limit goes beyond the setting
point by as much as the following distance.
R (mm)
7,500
R: Rapid traverse rate (mm/min)
The actual stopping point may exceed the position set by a
parameter (Nos.1320 and 1321) by as much as R/7500
(mm). Set the limit switch for emergency stop including the
allowance for the above value.
ÄÄÄÄ
R
7,500
ÄÄÄÄ
ÄÄÄÄ
The machine stops in this Set the limit switch for emergency stop in
range. this range.
343
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
X000 *ESP
#7 #6 #5 #4 #3 #2 #1 #0
X001 *ESP#2
#7 #6 #5 #4 #3 #2 #1 #0
X1000 *ESP
#7 #6 #5 #4 #3 #2 #1 #0
X1001 *ESP#2
#7 #6 #5 #4 #3 #2 #1 #0
G008 *ESP
#7 #6 #5 #4 #3 #2 #1 #0
F001 MA
Reference item
FANUC AC SERVO MOTOR αi/βi series B–65262EN
DESCRIPTIONS
344
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
2.2
CNC READY SIGNAL
General When the CNC is turned on and becomes ready for operation, the CNC
ready signal is set to 1.
Signal
60 to 100 msec
Servo ready
signal (SA)
Brake on
Overload
Reset
Reset Emergency stop
1 to 2 seconds About 1 second
345
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F000 SA
#7 #6 #5 #4 #3 #2 #1 #0
F001 MA
346
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
2.3
OVERTRAVEL
CHECK
2.3.1
Overtravel Signal
General When the tool tries to move beyond the stroke end set by the machine tool
limit switch, the tool decelerates and stops because of working the limit
switch and an OVER TRAVEL is displayed.
Signal
Overtravel signal
*+L1 to *+L8<G114>
*–L1 to *–L8<G116>
[Classification] Input signal
[Function] Indicates that the control axis has reached its stroke limit. There are
signals for every direction in every control axis. The +/– in the signal
name indicates the direction and the number corresponds to the control
axis.
+ L 1
347
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Command pulse
deceleration
V
ÄÄÄÄ
ÄÄÄ
Servo system delay
ÄÄÄÄ
ÄÄÄ
ÄÄÄÄ
ÄÄÄ
VR
t
ÄÄÄÄ
ÄÄÄ
*+La limit switch t1 t2 TR
TR 1
L1=VR(t1+t2+ +TS) · [mm or inch]
2 60000
L1:Deceleration distance
VR: Rapid traverse speed (mm/min or inch/min)
t1: Limit switch signal delay time (from limit switch operation to *+La
signal turn off (ms))
t2: Receiver delay time 30ms
TR: Rapid traverse acceleration/deceleration time constant (ms)
TS: Servo system time constant (ms)
NOTE
Servo system time constant TS is 33 msec when the servo
unit is adjusted to the standard setting.
(ii)Cutting feed
ÄÄÄÄ
V Servo system delay
ÄÄÄÄ
ÄÄÄÄ
VC
ÄÄÄÄ
t1 t2
*+La limit switch
TR 1
L2=VC(t1+t2+ +TS) · [mm or inch]
2 60000
L2:Deceleration distance
Vc: Maximum feedrate (mm/min or inch/min)
t1, t2, Ts: Same as (i).
348
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
D Releasing overtravel Press the reset button to reset the alarm after moving the tool to the safety
direction by manual operation.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G114 *+L8 *+L7 *+L6 *+L5 *+L4 *+L3 *+L2 *+L1
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3004 OTH
WARNING
For safety, usually set 0 to check the overtravel signal.
349
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.3.2
Stored Stroke Check 1
General When the tool tries to exceed a stored stroke check, an alarm is displayed
and the tool is decelerated and stopped.
When the tool enters a forbidden area and an alarm is generated, the tool
can be moved in the reverse direction from which the tool came.
Parameters (Nos. 1320, 1321) set boundary. Outside the area of the set
checks is a forbidden area. The machine tool builder usually sets this area
as the maximum stroke.
Signal
350
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G007 RLSOT
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1300 BFA LZR
NOTE
When the absolute–position detector is being used, and the
reference position is already set at power–on, the stored
stroke check is checked immediately after the power is
turned on, regardless of the setting of this bit.
1320 Coordinate value I of stored stroke check 1 in the positive direction on each axis
1321 Coordinate value I of stored stroke check 1 in the negative direction each axis
351
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
WARNING
When the parameters are set as follows, the stroke
becomes infinite:
parameter No. 1320 < parameter No. 1321
For movement along the axis for which infinite stroke is set,
only incremental commands are available. If an absolute
command is issued for this axis, the absolute register may
overflow, and normal movement will not result.
Caution
CAUTION
In setting a forbidden area, if two points to be set are the
same, all area is forbidden in check 1.
Note
NOTE
1 Parameter LZR (bit 6 of No. 1300) selects whether each
check becomes effective after the power is turned on and
manual reference position return or automatic reference
position return by G28 has been performed or immediately
after the power is turned on.
2 For the Power Mate i–D(2–path control), set a forbidden
area for each path.
3 Parameter BFA (bit 7 of No. 1300) selects whether an alarm
is displayed immediately before the tool enters the
forbidden area or immediately after the tool has entered the
forbidden area.
Reference item
OPERATOR’S MANUAL V.6.2 Stroke check
(B–63174EN)
352
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
2.4
ALARM SIGNAL
General When an alarm is triggered in the CNC, the alarm is indicated on the
screen, and the alarm signal is set to 1.
If the voltage level of the memory backup battery falls to below a specified
level while the CNC is turned off, the battery alarm signal is set to 1.
Signal
Alarm signal
AL<F001#0>
[Classification] Output signal
[Function] The alarm signal reports that the CNC is in an alarm state.
There are the following alarms. The following alarms are issued:
(a) TH alarm
(b) TV alarm
(c) P/S alarm
(d) Overtravel alarm
(e) Overheat alarm
(f) Servo alarm
(g) APC alarm
(h) SPC alarm
(i) Rigid tapping alarm
(j) Spindle alarm
[Output condition] The alarm signal is set to 1 when:
– The CNC is placed in the alarm state.
The alarm signal is set to 0 when:
– The alarm has been released by resetting the CNC.
353
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F001 BAL AL
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3111 NPA
354
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
2.5
INTERLOCK
General This signal disables machine movement along axes. When this signal is
input during movement along axes, the tool movement is decelerated,
then stopped.
Signal
Command read
Axis move
*IT
355
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Command read
MF/SF/TF
FIN
*IT
NOTE
The overtravel amount of the motor after turning *IT or
*RILK to “0” is represented by the following formula.
1 Tc Ts A
Qmax =Fm @ × ( + + )
60 1000 1000 1000
Where
Qmax : Overtravel quantity (mm or inch)
Fm : Feedrate (mm/min or inch/min)
Tc : Cutting time constant (ms)
Ts : Servo time constant (Ts = 33ms normally)
A : Processing time of CNC
Standard interlock signal *IT : A=50ms
High–spped interlock signal *RILK : A=20ms
356
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
X0000 *RILK#1
X0001 *RILK#2
X1000 *RILK#1
X1001 *RILK#2
#7 #6 #5 #4 #3 #2 #1 #0
G008 *IT
357
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3003 DIT ITX HITL ITL
358
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
2.6
MODE SELECTION
General The mode select signal is a code signal consisting of the three bits MD1,
MD2, and MD4. The seven modes -- memory edit (EDIT), AUTO
operation (AUTO), manual data input (MDI), manual handle/step feed
(HANDLE/STEP), jog feed (JOG), TEACH IN STEP/HANDLE,
TEACH IN JOG/HANDLE -- can be selected. And in addition, DNC
operation mode can be selected by combining the (AUTO) mode setting
and the DNCI signal. Manual reference position return mode can be
selected by combining the manual continuous feed (JOG) mode setting
and the ZRN signal.
The currently selected operation mode can be posted by outputting the
operation mode check signal.
Signal
359
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Signal status
Mode
MD4 MD2 MD1 DNCI ZRN
360
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G043 ZRN DNCI MD4 MD2 MD1
#7 #6 #5 #4 #3 #2 #1 #0
F003 MTCHIN MEDT MAUT MRMT MMDI MJ MSTP
F004 MZRN
Note
NOTE
Precautions on modes and mode switching
1 In the MDI mode, the STL signal turns to “0” and the CNC
stops at the end of execution of the commands input from
the MDI panel, but the SPL signal does not turn to “1”.
Therefore, another command can be input from the manual
data input unit under this state.
2 Manual operation in jog feed mode
Both jog feed and manual handle feed are possible. Jog
feed and manual handle feed cannot, however, be
performed simultaneously. Manual handle feed can be
performed when the tool is not being moved by means
of jog feed.
3 Manual operation in manual handle/step feed mode and
TEACH IN STEP/HANDLE mode
Both manual handle feed and incremental feed are
possible. Manual handle feed and incremental feed
cannot, however, be performed simultaneously. Manual
handle feed can be performed when the tool is not being
moved by means of incremental feed.
4 Manual operation in TEACH IN JOG/HANDLE mode
1) When bit 1 (THD) of parameter No. 7100 is set to 0
Only jog feed is possible.
2) When bit1 (THD) of parameter No. 7100 is det to 1
Both jog feed and manual handle feed are possible. Jog
feed and manual handle feed cannot, however, be
performed simultaneously. Manual handle feed can be
performed when the tool is not being moved by means
of jog feed.
361
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
NOTE
5 During operation in automatic operation mode (AUTO, RMT,
or MDI), specifying switching to another automatic
operation mode (AUTO, RMT, or MDI) or memory editing
mode (EDIT) first places the CNC in the automatic operation
stop state after executing the command of the current block,
after which the mode is switched. At this time, signal STL
is set to 0. Signal SPL is not, however, set to 1. (Fig. 2.6
(a), (b))
AUTO mode
Mode select signal state
MDI mode
Operation
MDI mode
Mode select signal state
AUTO mode
Operation
AUTO opera-
Executing command tion possible in
in MDI mode this range
STL
362
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
NOTE
6 When the manual handle/step feed mode or TEACH IN
STEP/HANDLE mode is selected while the CNC is
operating in the AUTO, RMT, or MDI mode, the automatic
or MDI operation stops, the STL signal turns to “0”, the SPL
signal simultaneously turns to “1”, and the CNC enters the
manual handle/step feed mode or TEACH IN STEP/
HANDLE mode. Manual handle feed or incremental feed by
axis direction select signal is possible under this state.
Since the AUTO, RMT, or MDI mode commands are held,
operation can be restarted by the cycle start signal by
selecting the AUTO, RMT, or MDI mode. However, if
operation was stopped by switching to the manual
handle/step feed mode or TEACH IN STEP/HANDLE mode
during manual data input or automatic operation, it can be
restarted only by the mode in use before the operation was
stopped (Fig. 2.6 (c)).
AUTO/MDI mode
Mode select signal state
Manual handle/step
feed or TEACH IN
STEP/HANDLE mode
Manual handle
/step feed en-
abled
STL
SPL
ST
Cycle start signal
363
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
NOTE
7 When the JOG or TEACH IN JOG/HANDLE mode is
selected during RMT, AUTO or MDI mode operation,
operation stops, the STL signal turns to “0”, the SPL signal
simultaneously turns to “1”, and the CNC enters the JOG or
TEACH IN JOG/HANDLE mode. Jog feed by feed axis
direction select signal is possible under this state.
Operation can be restarted by returning to the original state,
as described for HANDLE/STEP or TEACH IN STEP/
HANDLE mode (Fig. 2.6 (d)). When the mode is switched
to the JOG or TEACH IN JOG/HANDLE mode during
manual handle feed or step feed operation, the CNC
ignores the manual handle feed or step feed command and
jog feed becomes effective. If a feed axis direction select
signal turns to “1” before the JOG or TEACH IN JOG/
HANDLE mode is selected, that signal is ignored. The feed
axis select signal is selected by turning the necessary feed
axis direction signal to “1” after turning all the feed axis
direction select signals to “0” (Fig. 2.6 (e)).
Manual handle feed by jog feed mode is possible.
It is possible to perform handle feed in TEACH IN JOG/
HANDLE mode by parameter THD no.7100#1. For details,
refer to Note (2), (4).
AUTO/MDI mode
Operation in the
AUTO mode or MDI
mode
Jog feed
enabled
STL
SPL
100ms or more
AUTO/MDI/HADLE/
Mode select signal state STEP mode/TEACH IN
STEP/HANDLE mode
Jog or TEACH IN
JOG/HANDLE
Feed axis
direction select
signal
364
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
NOTE
8 The mode switching operation is summarized in the time
chart below (Fig. 2.6 (f)).
M M M M
D D D
H / S or
J End of opera-
End of operation tion
Memory read AUTO AUTO Memory read
operation MDI command MDI command
operation operation operation
ST ST ST ST ST ST ST
*SP
Reference item
CONNECTION MANUAL 4.1 Manual Reference Position Return
(This manual)
365
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.7
PATH SELECTION/
DISPLAY OF
OPTIONAL PATH
NAMES (Power Mate
i–D(TWO–PATH
CONTROL))
Signal
Path display
confirmation signal
PATHO <F254#7>
[Classification] Output signal
[Function] Informs that which screen, 1st path screen or 2nd path screen, is displayed
on the CRT/MDI.
[Output condition] This signal turns ”0”,
D when path 1 screen is displayed.
This signal turns ”1”,
D when path 2 screen is displayed.
366
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G063 PATHS
#7 #6 #5 #4 #3 #2 #1 #0
F254 PATHO
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8100 RST
NOTE
1 This parameter is dedicated to the Power Mate i–D
(two–path control).
2 Specify these parameters for each series.
3 For characters and codes, see the correspondence table in
12.1.10 software operator’s panel.
4 When codes are 0, PATH1 or PATH2 is displayed.
367
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.8
STATUS OUTPUT
SIGNAL
General The table below lists the status output signals for notifying the state of the
CNC. See the sections listed in the table for details of each signal.
Signal name Symbol Reference section
Alarm signal AL 2.4
Signal
CAUTION
This signal is not output in the feed hold state.
NOTE
This signal is output even when the feedrate override is 0%,
or during interlock.
368
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F002 CUT
369
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.9
VRDY OFF ALARM
IGNORE SIGNAL
General The German VDE safety standard requires that the motor be deactivated
when the safety guard is opened. By using the VRDY OFF alarm ignore
signal, however, the CNC can be restarted without resetting, even if the
safety guard has been opened.
Signal
370
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G066 IGNVRY
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1804 SAK
401 SERVO ALARM: n–TH The n–th axis (axis 1–8) servo amplifi-
AXIS VRDY OFF er READY signal (DRDY) went off.
Caution
CAUTION
1 When the control enters NOT READY status due to
emergency stop or a servo alarm and then the control is
reset, reset processing is not terminated until the VRDY
OFF alarm ignore signal is set to 0.
2 When the VRDY OFF alarm ignore signal is set to 1 and the
servo amplifier ready signal is set to off, the motor is freed
from the drive, but follow up is not performed. To perform
follow up, set the servo off signal to 1.
Note
NOTE
While the VRDY OFF alarm ignore signal is set to 1, and a
servo alarm other than alarm No. 401 occurs, the control
unit detects the alarm.
371
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.10
ABNORMAL LOAD
DETECTION
General Machine collision, defective, and damaged cutters cause a large load
torque on the servo and spindle motors, compared with normal rapid
traverse or cutting feed. This function detects a load torque on the motors
and sends it as an estimated load torque to the PMC via the CNC. If the
detected load is abnormally great compared with the value specified in the
parameter, the function stops the servo motor as early as possible or
reverses the motor by an appropriate value specified in a parameter, in
order to minimize a possible damage to the machine.
372
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
NOTE
1 A parameter is used to switch between the abnormal load
detection alarm function and the abnormal load detection
group function. It is impossible to use both the functions
simultaneously.
2 Only the Power Mate i–D has the functions related to the
spindle.
3 The spindle motor cannot be reversed.
Axis stopping distance The axis for which the stopping distance shortening–mode stop signal has
been input, the axis on which an abnormal load has been detected, and the
axes that are placed in the same group as the axis of interest when the load
detection group function is used are stopped at a shorter distance
(stopping distance shortening mode), compared with an ordinary
decelerate–and–halt command.
Speed of an axis on
which an abnormal load
was detected
Speed of 0
Speed of 0
Fig 2.10 (a) Time that elapses before an axis stops since the detection of an abnormal load or the input of the
stopping distance shortening–mode axis stop
373
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
D Parameter setting The following flowcharts explain how to specify parameters for the
abnormal load detection function.
(1) Servo axis
Abnormal load detection
function is available.
<Adjustment>
(2) Spindle
Abnormal load detection
function is available.
Specify parameter Nos. 4247, 4248, 4249, and 4250, and reset parameter No.
4341 to 0.
374
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Signal
Stopping distance
shortening–mode stop
signal
RSTPn <G247#0 to #7>
[Classification] Input signal
[Function] This signal uses the stopping distance shortening function for the servo
motor to stop the axis corresponding to the PMC signal bit number. (Bit
number + 1 = axis number)
[Operation] 1 When this signal is turned on, its rising edge is captured to bring the
servo motor to an immediate stop in the stopping distance shortening
mode (to enable this signal, specify parameter RSPE (bit 3 of
parameter No. 1807) = 1 and parameter ANA (bit 5 of parameter No.
1804) = 1). Any axes for which the same group number as for the axis
of interest has been specified using parameter No. 1881 and all axes
for which the parameter is 0 are also stopped in the stopping distance
shortening mode and internally interlocked. These axes are stopped
independently of CNC commands. So a difference occurs between the
actual motor positions and their coordinates held in the CNC. This
difference is accumulated as a servo error amount.
2 When resuming operation, input a servo–off signal for triggering
follow–up to eliminate the difference mentioned above. The servo–off
signal must be input for all axes in the same group as the axis of interest
(including those in group No. 0). Before inputting the servo–off
signal, set up the following conditions: Follow–up signal *FLWU (bit
5 of G007) = 0 and parameter FUPx (bit 0 of parameter No. 1819) =
0
3 Once the servo–off signal has been input, the in–position signal INPx
is turned on when the servo error amount value becomes smaller than
the value specified as an effective area for in–position check specified
in parameter No. 1826.
4 After making sure that the in–position signal for every axis that is in
the same group as the axis of interest is on, perform reset (using ERS
or the <RESET> key).
NOTE
If an abnormal load is detected on a PMC controlled axis or
if an axis group for which the stopping distance
shortening–mode stop signal has been input contains a
PMC controlled axis, all axes in the group to which the
related PMC axis belongs are interlocked.
375
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Axis stop signal Only the axis on which the abnormal load
RSTPx or abnormal (Input) was detected can be reversed.
load detection
ABTDx (Output)
(F0184)
Servo–off (Input)
SVFx
Fig. 2.10 (b) Timing chart for the abnormal load detection group and stopping distance shortening–mode stop
functions
376
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
NOTE
1 Input the servo–off signal under the following conditions: Follow–up signal *FLWU (bit 5 of
G007) = 0 and parameter FUPx (bit 0 of parameter No. 1819) = 0
2 Input the servo–off signal for every axis belonging to the same group that contains the axis on
which an abnormal load was detected as well as for the axes for which parameter No. 1881 is
0.
3 If an abnormal load was detection on the PMC axis or if the PMC axis belongs to the group that
contains the axis on which an abnormal load was detected, all axes belonging to the group to
which the PMC axis belongs are interlocked.
Example.
S If an abnormal load is detected on the sixth axis, the following axes are stopped.
Second axis (because it belongs to the same group as the sixth axis)
Fourth axis (stopped and interlocked if an abnormal load is detected on any axis because
its group number is 0)
Sixth axis (axis on which an abnormal load is assumed to be detected)
Seventh axis (stopped and interlocked if an abnormal load is detected on any axis because
its group number is 0)
The following axes are interlocked.
Second axis (because it belongs to the same group as the sixth group)
Fourth axis (stopped and interlocked if an abnormal load is detected on any axis because
its group number is 0)
Fifth axis (because the seventh axis (group A) is interlocked)
Sixth axis (axis on which an abnormal load is assumed to be detected)
Seventh axis (stopped and interlocked if an abnormal load is detected on any axis because
its group number is 0)
Eighth axis (because the sixth axis (group B) is interlocked)
4 The DO (bits 1 and 2 of F0090) is output immediately when an abnormal load is detected on
the spindle (spindle mode). Parameter No. 1880 becomes invalid.
5 The servo axis is not stopped when an abnormal load is detected on the spindle (spindle mode).
Stop it if necessary, using a ladder program.
6 If an abnormal load is detected on an axis, the abnormal load detection group is disabled after
the stopping distance shortening–mode stop signal is input for the axis but before the
interlocked state is exited. In addition, the stopping distance shortening–mode stop signal is
disabled for the axis on which the abnormal load has been detected and kept disabled until the
interlocked state is exited.
377
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Servo axis f — f —
Rigid tapping f — — f
Abnormal load–detected
axis output signal
ABTDn <F184#0 to #7>
[Classification] Output signal
[Function] Informs the PMC only of the axis on which an abnormal load was
detected.
[Output condition] This signal becomes ”1” if:
S An abnormal load is detected on the servo axis, or
S The stopping distance shortening–mode stop signal is input for the
servo axis (the above signal is released at reset).
The signal becomes ”0” if:
S No abnormal load is detected.
378
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G247 RSRP7 RSTP6 RSTP5 RSTP4 RSTP3 RSTP2 RSTP1 RSTP0
#7 #6 #5 #4 #3 #2 #1 #0
F090 ABTSP1 ABTQSV
#7 #6 #5 #4 #3 #2 #1 #0
1804 ANA
#7 #6 #5 #4 #3 #2 #1 #0
1807 RSPE
NOTE
When specifying parameter RSPE (bit 3 of parameter No.
1807) = 1, be sure to specify parameter ANA (bit 5 of
parameter No. 1804) = 1.
379
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
1881 Group number used when the stopping distance shortening–mode stop signal is input
NOTE
1 If this parameter is reset, it is necessary to turn the power
off and on again.
2 The group number specified using this parameter is the
same as the ”group number used when an abnormal load
is detected” of the abnormal load detection group function.
The group number specified for each axis when the
stopping distance shortening–mode stop function is
executed must match the group number specified when the
abnormal load detection group function is used.
#7 #6 #5 #4 #3 #2 #1 #0
2015 TDOUT
380
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
#7 #6 #5 #4 #3 #2 #1 #0
2016 ABNT
381
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
When this parameter is set to 0, the motor stops immediately upon the
detection of abnormal load.
#7 #6 #5 #4 #3 #2 #1 #0
4015 SPLDMT
4247 Magnetic flux compensation time constant for spindle load torque monitor
382
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
409 Servo alarm: Abnormal load An abnormal load was detected on a servo
detected on axis n motor. To release the alarm, use RESET.
(2) Spindle
Number Message Description
383
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2
(Completion code)
(Not to be set)
4
(Data length)
(Not to be set)
6 (Data number)
0
8 (M = 1 to n: Specifies separately
(Data attribute) for each axis whether
data for it is to be
M read; n is an axis
(M = 1 to n or –1) number.
M = –1: Specifies that data for
10
(Data area) all axes are to be
read.
(Not to be set)
42
[Completion code]
384
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Top address + 0
(Function code)
211
2
(Completion code)
?
(Refer to the above description
about the completion code.)
4 (Data length)
L
(L = 2*n, where n is the num-
ber of specified axes)
6 (Data number)
0
8 (Data attribute)
M
(M: Data at input) Description of value
10 Load torque for the specified Signed binary format (negative val-
axis (2 bytes) ue in two’s complement)
Description of value
10 Load torque for the first axis Signed binary format (negative val-
(2 bytes) ue in two’s complement)
385
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
(2) Spindle
[Input data structure]
2
(Completion code)
(Not to be set)
4
(Data length)
(Not to be set)
6 (Data number)
1
(M = 1 to n: Specifies separately
8
(Data attribute) for each axis whether
data for it is to be
M read; n is an axis
(M = 1 to n or –1) number.
M = –1: Specifies that data for
10 all axes are to be
(Data area)
read.
(Not to be set)
42
[Completion code]
386
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Top address + 0
(Function code)
211
2
(Completion code)
?
(Refer to the above description
about the completion code.)
4 (Data length)
L
(L = 2*n, where n is the num-
ber of specified axes)
6 (Data number)
1
8 (Data attribute)
M
(M: Data at input) Description of value
10 Load torque for the specified Signed binary format (negative val-
axis (2 bytes) ue in two’s complement)
387
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.11
ALARM
CLASSIFICATION
SIGNALS
General These signals are used to identify alarms that occur in the Power Mate
CNC.
Signal
388
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
389
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F250 ALSV ALOH ALOT ALPS ALPS3 ALPS2 ALPS1
#7 #6 #5 #4 #3 #2 #1 #0
F251 ALPS4 ALSPD ALAPC
Reference item
OPERATOR’S MANUAL Appendix G Alarm list
(B–63174EN)
390
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
2.12
APC ALARM
CLASSIFICATION
SIGNALS
General These signals are used to identify APC (absolute position detector) alarms
that occur in the Power Mate.
Signal
APC communication
error signal APCMn
<F236#0 to F243#0>
[Classification] Output signal
[Function] This signal indicates that APC communication error (alarm 301) has
occurred.
APCM1
391
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
392
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
393
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F236 APBL1 APBV1 APBZ1 APPS1 APPE1 APFE1 APOV1 APCM1
#7 #6 #5 #4 #3 #2 #1 #0
F237 APBL2 APBV2 APBZ2 APPS2 APPE2 APFE2 APOV2 APCM2
#7 #6 #5 #4 #3 #2 #1 #0
F238 APBL3 APBV3 APBZ3 APPS3 APPE3 APFE3 APOV3 APCM3
#7 #6 #5 #4 #3 #2 #1 #0
F239 APBL4 APBV4 APBZ4 APPS4 APPE4 APFE4 APOV4 APCM4
#7 #6 #5 #4 #3 #2 #1 #0
F240 APBL5 APBV5 APBZ5 APPS5 APPE5 APFE5 APOV5 APCM5
#7 #6 #5 #4 #3 #2 #1 #0
F241 APBL6 APBV6 APBZ6 APPS6 APPE6 APFE6 APOV6 APCM6
#7 #6 #5 #4 #3 #2 #1 #0
F242 APBL7 APBV7 APBZ7 APPS7 APPE7 APFE7 APOV7 APCM7
#7 #6 #5 #4 #3 #2 #1 #0
F243 APBL8 APBV8 APBZ8 APPS8 APPE8 APFE8 APOV8 APCM8
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1815 APCx
394
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Reference item
OPERATOR’S MANUAL Appendix G Alarm list
(B–63174EN)
395
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.13
DISPLAY OF ALARMS
FROM PMC (INPUT)
PAL0 TO PAL6, PALM
Alarms in the 3000 bracket can be generated from PMC to Power Mate.
<G225>
[Signal] PAL0–PAL6 <G225#0 to #6.>
[Function] Alarm number specification signal
Values in excess of 3000 among binary numbers displayed by PAL0 to
PAL6 become alarm numbers.
NOTE
When an alarm has been generated from PMC the 2 bits of
the alarm classification signals ALPS and ALOT [2.11]
become 1.
396
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
2.14 This signal indicates whether the current amount of positional deviation
has exceeded the corresponding check value specified in parameter No.
SERVO POSITION 1872.
DEVIATION MONITOR
SIGNAL
General This signal indicates that the current amount of positional deviation has
exceeded the corresponding check value specified in parameter No. 1872.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F222 SVER8 SVER7 SVER6 SVER5 SVER4 SVER3 SVER2 SVER1
Parameter
1872 Servo positional deviation check value
397
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.15
TEMPORARY
INTERRUPT
DETECTION SIGNAL
General If the ladder program has been designed to set this signal to 1 when
automatic operation is started, checking the state of this signal will reveal
whether a temporary interrupt has occurred during automatic operation
even if there is no alarm display; in this example, if the signal is 0, it means
that a temporary interrupt has occurred.
Signal
Temporary interrupt
detection signal ACT
<G212#7>
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G212 ACT
398
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
2.16
V–READY WATING
SIGNAL
General If a function that disables an MCC–off servo alarm is in use, this signal
indicates that the MCC is being awaited to become on.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F209 WVRDY
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1803 NVY
401 SERVO ALARM: n–TH The n–th axis (axis 1–8) servo amplifier
AXIS VRDY OFF READY signal (DRDY) went off.
Refer to procedure of trouble shooting.
399
2. PREPARATIONS FOR OPERATION B–63173EN–1/02
2.17
TROUBLE
PREDICTION SIGNAL
Overview If the thermal simulation data of the servo axis becomes larger than the
specified value, the trouble prediction signal TDSMLx (F298.0 to
F298.7) is output. The parameter TRSx (No. 8853) is used to specify
whether to predict trouble.
If the disturbance load torque value of the servo axis becomes larger than
the specified value, the trouble prediction signal TDFTRx (F299.0 to
F299.7) is output. The parameter FINx (No. 8854) is used to specify
whether to predict trouble.
This signal requires the trouble diagnosis function.
Signal
Thermal simulation
trouble prediction signal
TDSML1 to TDSML8
<F0298> [Classification] Output signal
[Output condition] This signal is kept to be ”1” while the thermal simulation data of the
corresponding servo axis is higher than the trouble prediction level.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F298 TDSML8 TDSML7 TDSML6 TDSML5 TDSML4 TDSML3 TDSML2 TDSML1
400
B–63173EN–1/02 2. PREPARATIONS FOR OPERATION
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8853 TRS8 TRS7 TRS6 TRS5 TRS4 TRS3 TRS2 TRS1
#7 #6 #5 #4 #3 #2 #1 #0
8854 FIN8 FIN7 FIN6 FIN5 FIN4 FIN3 FIN2 FIN1
8861 Trouble prediction level for the disturbance load torque value
Reference item
Maintenance Manual 1.15 Failure Diagnosis
(B–63175EN)
401
3. MANUAL OPERATION B–63173EN–1/02
3 MANUAL OPERATION
402
B–63173EN–1/02 3. MANUAL OPERATION
3.1
JOG FEED/
STEP FEED
General
D Jog feed In the jog feed mode, turning a feed axis and direction selection signal to
“1” on the machine operator’s panel continuously moves the tool along
the selected axis in the selected direction.
Usually, this continuous movement can be performed on only one axis at
a time. Setting bit 0 of parameter No. 1002 appropriately enables the
continuous movement to be performed on two axes of the Power Mate i–D
or three axes of the Power Mate i–H at a time. (For Power Mate i–D
two–path control, however, the continuous movement can be performed
on only one axis on each path at a time.)
D Step feed In the manual handle/step feed mode, turning a feed axis and direction
selection signal to “1” on the machine operator’s panel moves the tool one
step along the selected axis in the selected direction. The minimum
distance the tool is moved is the least input increment. Each step can be
10, 100, or 1000 times the least input increment.
Signal The following signals determine the way in which jog feed or step feed
is executed.
Selection Jog feed Step feed
403
3. MANUAL OPERATION B–63173EN–1/02
The only difference between jog feed and step feed is the method of
selecting the feed distance. In jog feed, the tool continues to be fed while
the following signals selecting the feed axis and direction are “1”: +J1,
–J1, +J2, –J2, +J3, –J3, etc. In step feed, the tool is fed by one step.
The distance of the step is selected by the manual handle feed move
distance select signal MP1 an d MP2.
For the signals selecting the mode, see Section 2.6, “Mode Selection
Signals.” For the manual handle feed selection signals, MP1 and MP2 of
selection of the move amount, see 3.2 “Manual handle feed.” For rapid
traverse override signals ROV1 and ROV2, see Section 7.1.5.1, “Feedrate
Override Signals.”
Other signals are described below.
[Operation] When the signal is high, the control unit operates as described below.
D When jog feed or step feed is allowed, the control unit moves the
specified axis in the specified direction.
D In jog feed, the control unit continues to feed the axis while the signal
is “1”.
Jog mode
(or Teach in jog/handle mode)
+J1
D In step feed, the control unit feeds the specified axis by the step
distance which is specified by the manual handle feed move distance
selection signal MP1, MP2. Then the control unit stops it. Even if the
signal is set to “0” while the axis is being fed, the control unit does not
stop feeding it.
To feed the axis again, set the signal to “0”, then set it to “1” again.
404
B–63173EN–1/02 3. MANUAL OPERATION
NOTE
1 If both the positive direction and negative direction signals
of the same axis are simultaneously set to “1”, neither the
positive direction nor the negative direction is selected. The
control unit assumes that both these signals are set to “0”.
2 If the feed axis and direction selection signals are set to “1”
before the jog feed mode or manual handle/step feed mode
is selected, these signals are invalidated. After the jog feed
mode or manual handle/step feed mode is selected, set
these signal to “0”, then set them to “1” again.
Jog feed mode
or manual handle/step
feed mode
+J1
3 If the control unit is reset while the feed axis and direction
selection signals are set to “1” or if a feed axis and direction
signal turns to “1” while the control unit is in the reset state,
the signal cannot be validated by releasing the reset state.
After the reset state is released, set these signals to “0”,
then set them to “1” again.
Reset
+J1
Manual Feedrate
Override Signal
*JV0 – *JV15
<G010, G011> [Classification] Input signal
[Function] Selects a feedrate in jog feed or step feed. These signals are sixteen binary
code signals, which correspond to the override values as follows:
405
3. MANUAL OPERATION B–63173EN–1/02
ȍ|2
15
1
Override value (%) = 0.01% Vi |
i+0
where
Vi = 0 when the *JVi signal is “1”
Vi = 1 when the *JVi signal is “0”
The override value is assumed to be zero when all of the signals, (*JV0
to *JV15) are set to “1” or “0”. When this occurs, the feed is stopped.
The override value can be specified in the range of 0% to 655.34% in units
of 0.01%. Some examples are listed below.
*JV0 – *JV15 Override value
12 8 4 0 (%)
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0.01
1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0.10
1 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 1.00
1 1 1 1 1 1 0 0 0 0 0 1 0 1 1 1 10.00
1 1 0 1 1 0 0 0 1 1 1 0 1 1 1 1 100.00
0 1 1 0 0 0 1 1 1 0 1 1 1 1 1 1 400.00
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 655.34
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[Operation] If rapid traverse selection signal RT is “0” during jog feed or step feed,
the manual feedrate specified by the parameter (No. 1423) is overridden
by the value specified by the JVi signal.
NOTE
The JVi signals also serve as the override signals during dry
run in automatic operation mode.
406
B–63173EN–1/02 3. MANUAL OPERATION
RT
Rapid traverse
rate
WARNING
After the power is turned on, the stroke limit function does
not work until the reference position return is completed.
During this period, the control unit ignores the RT signal, if
it is set to “1”, and keeps moving the tool at a feedrate
selected by the manual feedrate override signal. A
parameter RPD (No. 1401#0) can be specified so that the
rapid traverse is validated before the reference position
return is completed.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G010 *JV7 *JV6 *JV5 *JV4 *JV3 *JV2 *JV1 *JV0
G019 RT
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1002 JAX
407
3. MANUAL OPERATION B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
1401 RPD
1423 Feedrate in manual continuous feed (jog feed) for each axis
Set the rate of manual rapid traverse when the rapid traverse override is
100% for each axis.
NOTE
If 0 is set, the rate set in parameter No. 1420 is assumed.
#7 #6 #5 #4 #3 #2 #1 #0
1610 JGLx
408
B–63173EN–1/02 3. MANUAL OPERATION
Note
NOTE
Both manual handle feed and step feed are enabled in the
manual handle/step feed mode.
Reference item
OPERATOR’S MANUAL V.3.2 JOG FEED
(B–63174EN)
V.3.3 INCREMENTAL FEED
409
3. MANUAL OPERATION B–63173EN–1/02
3.2
MANUAL HANDLE
FEED
General In the manual handle feed mode, the tool can be minutely moved by
rotating the manual pulse generator. Select the axis along which the tool
is to be moved with the handle feed axis selection signal.
The minimum distance the tool is moved when the manual pulse
generator is rotated by one graduation is equal to the least input increment.
Or the distance the tool is moved when the manual pulse generator is
rotated by one graduation can be magnified by 10 times or by one of the
two magnifications specified by parameters (Nos. 7113 and 7114).
The handle magnifications can be selected by the manual handle feed
move distance selection signal.
D Availability of manual The manual handle feed is enabled in the JOG feed mode.
handle feed in Jog feed Both manual handle feed and step feed are enabled in the manual
mode handle/step feed mode.
D Availability of manual The manual handle feed is enabled in the TEACH IN JOG/HANDLE
handle feed in TEACH IN mode.
JOG/HANDLE mode
D A command to the MPG If bit 4 of parameter No. 7100 (HPF) = 0, setting parameter No. 7117
exceeding rapid traverse appropriately enables the following:
rate SET VALUE 0: The feedrate is clamped at the rapid traverse rate
and generated pulses exceeding the rapid traverse rate are
ignored.(The distance the tool is moved may
not match the graduations on the manual pulse generator.)
Other than 0: The feedrate is clamped at the rapid traverse rate and
generated pulses exceeding the rapid traverse rate are not
ignored but accumulated in the CNC.
(No longer rotating the handle does not immediately stop
the tool. The tool is moved by the pulses accumulated in the
CNC before it stops.)
If bit 4 of parameter No. 7100 (HPF) = 1, the feedrate is clamped at the
rapid traverse rate, and the handle pulses that exceed the rapid traverse rate
is stored within the CNC rather than being ignored.
(After the manual pulse generator stops rotating, the axis moves through
the distance/angle corresponding to the pulses stored in the CNC before
it stops.)
410
B–63173EN–1/02 3. MANUAL OPERATION
Signal
411
3. MANUAL OPERATION B–63173EN–1/02
*1 Scale factors m and n are specified using parameters Nos. 7113 and
7114.
WARNING
Because the least input increment is used as the units for
manual handle and step feed, the same value represents a
different distance depending on whether the metric or inch
input system is used.
NOTE
See Section 3.3, “Manual Handle Interrupt” for manual
handle interrupts, and Section 3.1, “Jog Feed/Step Feed”
for step feed.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G018 HS2D HS2C HS2B HS2A HS1D HS1C HS1B HS1A
412
B–63173EN–1/02 3. MANUAL OPERATION
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
7100 HPF THD
#7 #6 #5 #4 #3 #2 #1 #0
7101 HSL IOL
IOL
413
3. MANUAL OPERATION B–63173EN–1/02
7117 Allowable number of pulses that can be accumulated during manual handle feed
Warning
WARNING
Rotating the handle quickly with a large magnification such
as x100 moves the tool too fast or the tool may not stop
immediately after the handle is no longer rotated or the
distance the tool moves may not match the graduations on
the manual pulse generator. The feedrate is clamped at the
rapid traverse rate.
Caution
CAUTION
Rotate the manual pulse generator at a rate of five rotations
per second or lower.
414
B–63173EN–1/02 3. MANUAL OPERATION
Reference item
OPERATOR’S MANUAL V.3.4 MANUAL HANDLE FEED
(B–63174EN)
415
3. MANUAL OPERATION B–63173EN–1/02
3.3
MANUAL HANDLE
INTERRUPTION
General Rotating the manual pulse generator during automatic operation can
increase the distance traveled by the amount corresponding to the handle
feed. The axis to which the handle interrupt is applied is selected using
the manual handle interrupt axis select signal.
The minimum travel distance per graduation is the least command
increment. The minimum travel distance can be increased by tenfold or
by two scale factors (parameters Nos. 7113 and 7114). Each scale factor
can be selected using the manual handle travel distance select signal
(Section 3.2, ”Manual Handle Feed”).
Signal
The correspondence between the code signals and the selected feed axis
is similar to the correspondence with the manual handle feed axis select
signals. See Section 3.2, “Manual Handle Feed.”
416
B–63173EN–1/02 3. MANUAL OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G041 HS2ID HS2IC HS2IB HS2IA HS1ID HS1IC HS1IB HS1IA
Warning
WARNING
The travel distance by handle interruption is determined
according to the amount by which the manual pulse
generator is turned and the handle feed magnification (x1,
x10, xM, xN).
Since this movement is not accelerated or decelerated, it is
very dangerous to use a large magnification value for
handle interruption.
Note
NOTE
1 No handle interrupt can be used in manual operation mode
(for example, job feed mode, manual handle/step feed
mode and TEACH IN STEP/HANDLE mode).
2 Handle interruption is disabled when the machine is locked
or interlocked.
Reference item
OPERATOR’S MANUAL V.4.4 MANUAL HANDLE INTERRUPTION
(B–63174EN)
417
3. MANUAL OPERATION B–63173EN–1/02
3.4
RETURN SIGNAL
General If the jog feed (JOG) mode is selected, and a return signal (RTN1n,
RTN2n, or RTN3n) is set to 1, rapid traverse occurs to the reference
position specified by the return signal. If the signal becomes 0 during
rapid traverse, axis movement is decelerated to a stop. When the reference
position is reached, axis movement is stopped completely, and the
reference position return completion output signal (ZPn, ZP2n, or ZP3n)
signal is set to 1.
Before starting to use this function, it is necessary to set up the origin; a
reference position return should be made previously.
Signal
Return Signal
RTN1n <G206>
RTN2n <G207>
RTN3n <G208>
[Classification] Input signal
[Function] This signal enables the jog feed (JOG) mode to select an axis to be
returned to a reference position, and also select the corresponding
reference position number (1 to 3).
RTN1 1
418
B–63173EN–1/02 3. MANUAL OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G206 RTN18 RTN17 RTN16 RTN15 RTN14 RTN13 RTN12 RTN11
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1201 ZPI ZPR
NOTE
When this parameter is set, power must be turned off before
operation is continued.
Coordinate value of the second reference position on each axis in the machine
1241
coordinate system
Coordinate value of the third reference position on each axis in the machine coor-
1242
dinate system
419
3. MANUAL OPERATION B–63173EN–1/02
Coordinate value of the reference position used when automatic coordinate sys-
1250
tem setting is performed
Coordinate value of the reference position on each axis used for setting a coordi-
1251 nate system automatically when input is performed in inches
NOTE
This parameter is valid when bit 1 (ZPI) in parameter No.
1201 is set to 1.
420
B–63173EN–1/02 3. MANUAL OPERATION
#7 #6 #5 #4 #3 #2 #1 #0
1404 DLF
NOTE
This parameter selects a feedrate for reference position
return performed without dogs. This parameter also selects
a feedrate when manual reference position return is
performed according to bit 7 (SJZ) of parameter No.0002
using rapid traverse without deceleration dogs after a
reference position is set.
Set the rapid traverse rate when the rapid traverse override is 100% for
each axis.
NOTE
If 0 is set, the rate set in parameter No. 1420 is assumed.
421
3. MANUAL OPERATION B–63173EN–1/02
Reference item
OPERATOR’S MANUAL II.6 REFERENCE POSITIONE
(B–63174EN)
422
B–63173EN–1/02 4. REFERENCE POSITION RETURN
423
4. REFERENCE POSITION RETURN B–63173EN–1/02
4.1
MANUAL
REFERENCE
POSITION RETURN
General The tool is moved in the direction specified in parameter ZMI (bit 5 of No.
1006) for each axis by turning the feed axis and direction select signal to
“1” in the manual reference position return mode, and is returned to the
reference position.
D Automatic setting of Bit 0 of parameter No. 1201 (ZPR) can be set to automatically determine
coordinate system the coordinate system at manual reference position return. Parameter No.
1250 can be set to determine the workpiece coordinate system by
assigning, upon the completion of reference position return, the value set
in a parameter to a reference point on the tool holder or the tip position
of the reference tool.
The following signals relate with the manual reference position return:
Basic Procedure for (1) Select the JOG mode or TEACH IN JOG/HANDLE mode, and set the
Manual Reference manual reference position return selection signal ZRN to “1”.
Position Return (2) Feed a target axis toward the reference position by making an
appropriate feed axis and direction selection signal (+J1, –J1, +J2,
–J2,…) “1”.
(3) While the feed axis and direction selection signal is “1”, rapid traverse
takes place along that axis. Although the rapid traverse override
signals (ROV1, ROV2) are valid, the override is generally set to
100%.
424
B–63173EN–1/02 4. REFERENCE POSITION RETURN
If the feed axis direction selection signal (+J1, –J1, +J2, –J2,…) turns to
“0” between step (2) and (5) , the tool is stopped at once, and reference
position return is assumed to be canceled. If the signal turn to “1” again,
operation resumes from step (3) (rapid traverse).
The timing charts for the basic procedures are given below.
ZRN
+J1
*DEC1
Grid ................ . . . . .
ZP1
ZRF1
Feedrate
425
4. REFERENCE POSITION RETURN B–63173EN–1/02
Installation conditions When installing the deceleration limit switch for manual reference
for deceleration limit position return, ensure that following conditions are satisfied:
switch Deceleration limit Deceleration limit
operation position release position Reference position
LDW LDA
*DEC1
Grid
. . . . . . . . . . .
Feedrate
Servo position error and To perform manual reference position return when the reference position
one–rotation signal has not yet been established, the tool must be fed, in manual reference
position return mode, in the reference position return direction at a speed
so that the servo position error exceeds the value set in parameter No.
1836. At this time, the tool must cross the grid line corresponding to a
one–rotation signal from the position detector.
The servo position error is calculated from the following formula:
426
B–63173EN–1/02 4. REFERENCE POSITION RETURN
By reversing the formula above, the following formula gives the feedrate
F needed to set the servo position error to 128 when the servo loop gain
G is 30 s–1 and the detection unit U is 1 mm:
128 60 30
F= 1000
= 230 [mm/min]
Therefore, when the servo loop gain is 30 s–1, the detection unit is 1 mm,
and parameter No. 1836 is set to 128, the tool must be fed in the reference
position return direction at a speed of at least 230 mm/min before manual
reference position return.
Grid shift The grid can be shifted by the distance set in parameter No. 1850, thus
shifting the reference position. The amount of the grid shift that can be
specified is not larger than "half the reference counter capacity
(parameter No. 1821), that is, the grid interval.
Signal
Manual reference
position return selection
signal ZRN <G043#7>
[Classification] Input signal
[Function] This signal selects manual reference position return. Manual reference
position return is a kind of jog feed. Therefor, to select manual reference
position return, it is required that the jog feed mode be selected and that
the manual reference position return selection signal be set to “1”.
[Operation] When the manual reference position return selection signal is set to “1”,
the control unit becomes as described below.
D If jog feed mode is not selected, the control unit ignores the manual
reference position return selection signal.
D If jog feed mode is selected, manual reference position return is
enabled. In this case, manual reference position return selection
check signal MZRN turns to “1”.
NOTE
If the ZRN status changes from “0” to “1” or “1” to “0” during
jog feed, the feedrate is decelerated to 0. Then, to make
reference position return or jog feed, turn feed axis and
direction selection signal to “0” then set it to “1”.
427
4. REFERENCE POSITION RETURN B–63173EN–1/02
Manual reference
position return selection
check signal MZRN
<F004#5>
[Classification] Output signal
[Function] This signal reports that manual reference position return has been selected
once.
[Output condition] This signal turns to “1” when:
⋅ Manual reference position return has been selected.
The signal turns to “0” when:
⋅ The selection of manual reference position return has terminated.
Feed Axis and Direction For details about this signal, see 3.1, “Feed Axis and Direction Selection
Selection Signal Signal”. Here, only notes on use of reference position return are given.
NOTE
The direction of reference position return is predetermined
for each axis by parameter ZMI (No. 1006#5). If the tool is
fed in the opposite direction to the predetermined direction
in manual reference position return, the deceleration signal
for reference position return turns to “0”, and the tool is
returned to the point at which the deceleration signal turns
to “1” again (that is, the point where the deceleration limit
switch would be encountered if the tool were fed in the
predetermined direction). Then reference position return is
performed automatically in the predetermined direction.
ZRN
–J1
*DEC1
Grid ................ . . . . .
ZP1
ZRF1
Feedrate
FL rate
Rapid
traverse
Rapid traverse rate rate
428
B–63173EN–1/02 4. REFERENCE POSITION RETURN
NOTE
When reference position return is selected, an axis whose
reference position return end signal is already “1” or an axis
whose reference position return end signal was set “1” upon
completion of reference position return is locked, and
movement along that axis is disabled while the reference
position return selection signal (ZRN) is “1”. To perform
movement along such an axis, ZRN must be set “0”, and the
feed axis and direction selection signal must be set “0” then
set “1” again.
Reference position
return deceleration
signals
(Power Mate i–D)
*DEC1<X000#5> or
<X1000#5>
(Power Mate i–H)
*DEC1 to *DEC8 <X002>
or <X1002>
(Power Mate i–D2)
*DEC #1<X000#5>
or <X1000#5>
*DEC2 #2<X001#5>
or <X1001#5>
[Classification] Input signal
[Function] These signals decelerate the feedrate for manual reference position return
so that the reference position is approached at a low feedrate.
The deceleration signals are provided for axes in a one–to–one correspon-
dence. A number appended to a deceleration signal represents a con-
trolled axis number.
*DEC 1
1 : Reference position return deceleration signal for the first axis
2 : Reference position return deceleration signal for the second axis
3 : Reference position return deceleration signal for the third axis
:
:
[Operation] For the operation of the control unit in response to the deceleration signal,
see the description of the basic procedure for manual reference position
return.
429
4. REFERENCE POSITION RETURN B–63173EN–1/02
Reference position
return end signals ZP1 to
ZP8 <F094>
[Classification] Output signal
[Function] These signals report that the tool is at the refernce position on a controlled
axis.
These siganls are provided for axes in a one–to–one corespondence.
A number appended to a signal represents a controlled axis number.
ZP 1
1 : Reference position return end signal for the first axis
2 : Reference position return end signal for the second axis
3 : Reference position return end signal for the third axis
:
:
Reference position
establishment signal
ZRF1 to ZRF8<F120>
[Classification] Output signal
[Function] Notify the system that the reference position has been established.
A reference position establishment signal is provided for each axis. The
number appended to each signal name indicates the number of the
controlled axis.
ZRF 1
1 : 1st–axis reference position establishment signal
2 : 2nd–axis reference position establishment signal
3 : 3rd–axis reference position establishment signal
:
:
430
B–63173EN–1/02 4. REFERENCE POSITION RETURN
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G043 ZRN
#7 #6 #5 #4 #3 #2 #1 #0
F004 MZRN
X001 *DEC2
X1000 *DEC1
X1001 *DEC2
X001 *DEC#2
X1000 *DEC#1
X1001 *DEC#2
NOTE
Bit 3 (BIO) of parameter 3008 specifies whether X000... or
X1000... is to be used as the reference position return
deceleration signal.
431
4. REFERENCE POSITION RETURN B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1002 JAX
#7 #6 #5 #4 #3 #2 #1 #0
1005 ZRNx
#7 #6 #5 #4 #3 #2 #1 #0
1006 ZMIx
NOTE
When this parameter is changed, turn off the power before
continuing operation.
#7 #6 #5 #4 #3 #2 #1 #0
1201 ZPI ZPR
NOTE
When an absolute position detector is used, set this
parameter to 1.
432
B–63173EN–1/02 4. REFERENCE POSITION RETURN
1240 Coordinate value of the reference position on each axis in the machine
coordinate system
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
1250 Coordinate value of the reference position on each axis used for setting a
coordinate system automatically
1251 Coordinate value of the reference position on each axis used for setting a
coordinate system automatically when input is performed in inches
433
4. REFERENCE POSITION RETURN B–63173EN–1/02
NOTE
This parameter is valid when ZPI in parameter 1201#1 is set
to 1.
#7 #6 #5 #4 #3 #2 #1 #0
1300 LZR
Set feedrate (FL rate) after deceleration when the reference position return
is performed for each axis.
Grid interval = the amount of travel per rotation of the pulse coder
NOTE
When this parameter has been set, the power must be
turned off before operation is continued.
434
B–63173EN–1/02 4. REFERENCE POSITION RETURN
WARNING
When bit 0 of parameter No. 2000 is set to 1, a value ten
times greater than the value set in this parameter is used to
make the check. Usually, set the parameter with 12 or 13.
Example:When the value 10 is set in this parameter, and bit
0 of parameter No. 2000 is set to 1, reference
position return operation is enabled when a servo
error of 100 or more occurs.
NOTE
When this parameter has been set, the power must be
turned off before operation is continued.
#7 #6 #5 #4 #3 #2 #1 #0
3003 DEC
435
4. REFERENCE POSITION RETURN B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
3005 BDE
NOTE
If this parameter specifies that an X address be not used,
the X address can be used for any purpose other than would
be specified by the parameter.
Reference item
OPERATOR’S MANUAL V.3.1 MANUAL REFERENCE
(B–63174EN) POSITION RETURN
436
B–63173EN–1/02 4. REFERENCE POSITION RETURN
4.2
SETTING THE
REFERENCE
POSITION WITHOUT
DOGS
General This function moves the tool near around the reference position set for
each axis in the manual continuous feed mode. Then it sets the reference
position in the reference position return mode without the deceleration
signal for reference position return by turning the feed axis and direction
select signal to “1”. With this function, the machine reference position can
be set at a given position without installing the limit switch for
deceleration for reference position return.
Basic Procedure for Setting (1) Feed the tool, along the axis for which the reference position is to be
the Reference Position set, by manual continuous feed in the reference position return
Without Dogs direction. Stop the tool near the reference position, but do not exceed
the reference position.
(2) Enter manual reference position return mode, then set 1 for the feed
axis direction selection signal (for the positive or negative direction)
for the axis or reference position setting signal without DOG.
(3) The CNC positions the tool to the nearest grid line (based on
one–rotation signals from the position detector) in the reference
position return direction specified with bit 5 (ZMIx) of parameter No.
1006. The point to which the tool is thus positioned becomes the
reference position.
(4) The CNC checks that the tool is positioned to within the in–position
area, then sets the completion signal for reference position return and
the reference position establishment signal to 1.
The timing chart for the basic elements constituting steps (2) to (4) is
shown below.
437
4. REFERENCE POSITION RETURN B–63173EN–1/02
Manual reference
position return
mode
Grid . . . . . .
ZP1
ZRF1
Feedrate
FL rate
The following figure shows the positional relation between the reference
position and the point to which the tool is positioned by manual
continuous feed.
– direction + direction
Grid A Position B
after jog feed
A Reference position for reference position return in the negative direction
B Reference position for reference position return in the positive direction
Servo position error and To set the reference position without dogs, when the reference position
one–rotation signal has not yet been established, the tool must be fed, in manual continuous
feed mode, in the reference position return direction at such a speed that
the servo position error exceeds the value set in parameter No. 1836. The
tool must cross the grid line corresponding to a one–rotation signal from
the position detector.
Grid shift To shift the reference position, the grid can be shifted by the distance set
in parameter No. 1850. The amount of the grid shift that can be specified
is not larger than half the reference counter capacity (parameter No. 1821).
Reference position It is possible to keep resetting a new grid point as a reference position,
resetting operation with the above mentioned method, when the set reference position is
different from the true reference position. After setting the reference
position using the method given in (a), when the ZRn signal is turned ON,
it moves at a constant low speed to the next grid point and that point is
set as the new reference position. This operation can be repeated over
again allowing the true reference position to be set while changing it 1 grid
at a time.
438
B–63173EN–1/02 4. REFERENCE POSITION RETURN
JOG mode
MD4, MD2, MD1
ZRN
(Note1)
+Jn/–Jn or ZRn +X
+Jn/–Jn or ZRn ZRn (Note2) ZRn (Note2)
FL FL FL
Feedrate
Position
detector grid
1st reference position
setting by method 1.
ZPX
1st reference position Next reference position True reference position
NOTE
1 The 1st reference position setting can use any signal from
+Jn, –Jn, ZRn.
2 The axis is momery moved by one grid even if ZRn signal
is ON for a ling time.
Reference position When the feed axis and direction selection signal is set to 1 in manual
return reference position return mode after the reference position has been
established, the tool is positioned to the reference position regardless of
the direction specified with the feed axis and direction selection signal.
The completion signal for reference position return is then set to 1.
Signal
Manual reference
position return selection
signal ZRN <G043#7>
[Classification] Input signal
[Function] This signal selects manual reference position return. Manual reference
position return is a kind of jog feed. Therefor, to select manual reference
position return, it is required that the jog mode be selected and that the
manual reference position return selection signal be set to “1”.
[Operation] When the manual reference position return selection signal is set to “1”,
the control unit becomes as described below.
439
4. REFERENCE POSITION RETURN B–63173EN–1/02
D If jog feed mode is not selected, the control unit ignores the manual
reference position return selection signal.
D If jog feed mode is selected, manual reference position return is
enabled. In this case, manual reference position return selection
check signal MZRN turns to “1”.
NOTE
If the ZRN status changes from “0” to “1” or “1” to “0” during
jog feed, the feedrate is decelerated to 0. Then, to make
reference position return or jog feed, turn feed axis and
direction selection signal to “0” then set it to “1”.
Manual reference
position return selection
check signal MZRN
<F004#5>
[Classification] Output signal
[Function] This signal reports that manual reference position return has been selected
once.
[Output condition] This signal turns to “1” when:
⋅ Manual reference position return has been selected.
The signal turns to “0” when:
⋅ The selection of manual reference position return has terminated.
[Operation] When the signal becomes 1, the control unit behaves as follows:
– If no reference position has been set up
The current position of the selected axis is set up as the reference
position, provided that reference position setting is possible.
440
B–63173EN–1/02 4. REFERENCE POSITION RETURN
Reference position
without dogs setting
signal ZRn <G210>
[Classification] Input signal
[Function] This signal selects an axis for which a reference position is to be set up
without dogs in the manual reference position return mode.
ZR1
1 : Reference position without dogs for 1st axis
2 : Reference position without dogs for 2nd axis
:
:
[Operation] When the signal becomes 1, the control unit behaves as follows:
The current position of the selected axis is set up as the reference position,
provided that reference position setting is possible.
Reference position
return end signals ZP1 to
ZP8 <F094>
[Classification] Output signal
[Function] These signals report that the tool is at the refernce position on a controlled
axis.
These siganls are provided for axes in a one–to–one corespondence.
A number appended to a signal represents a controlled axis number.
ZP 1
1 : Reference position return end signal for the first axis
2 : Reference position return end signal for the second axis
3 : Reference position return end signal for the third axis
:
:
441
4. REFERENCE POSITION RETURN B–63173EN–1/02
Reference position
establishment signal
ZRF1 to ZRF8<F120>
[Classification] Output signal
[Function] Notify the system that the reference position has been established.
A reference position establishment signal is provided for each axis. The
number appended to each signal name indicates the number of the
controlled axis.
ZRF 1
1 : 1st–axis reference position establishment signal
2 : 2nd–axis reference position establishment signal
3 : 3rd–axis reference position establishment signal
:
:
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G043 ZRN
#7 #6 #5 #4 #3 #2 #1 #0
G100 +J8 +J7 +J6 +J5 +J4 +J3 +J2 +J1
#7 #6 #5 #4 #3 #2 #1 #0
G102 -J8 -J7 -J6 -J5 -J4 -J3 -J2 -J1
#7 #6 #5 #4 #3 #2 #1 #0
G210 ZR8 ZR7 ZR6 ZR5 ZR4 ZR3 ZR2 ZR1
#7 #6 #5 #4 #3 #2 #1 #0
F004 MZRN
#7 #6 #5 #4 #3 #2 #1 #0
F094 ZP8 ZP7 ZP6 ZP5 ZP4 ZP3 ZP2 ZP1
#7 #6 #5 #4 #3 #2 #1 #0
F120 ZRF8 ZRF7 ZRF6 ZRF5 ZRF4 ZRF3 ZRF2 ZRF1
442
B–63173EN–1/02 4. REFERENCE POSITION RETURN
4.3
REFERENCE
POSITION RETURN
General The G28 command positions the tool to the reference position, via the
specified intermediate point, along the specified axis, then sets the
completion signal for reference position return (see Section 4.1) to 1.
The reference position must be set in parameter No. 1240 with the
coordinates specified in the machine coordinate system, before issuing
the G28 command.
The tool moves to the intermediate point or reference position at the rapid
traverse rate.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1006 ZMIx
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
1240 Coordinate value of the reference position on each axis in the machine
coordinate system
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
443
4. REFERENCE POSITION RETURN B–63173EN–1/02
Caution
CAUTION
1 The tool is moved from the intermediate point in a sequence
similar to manual reference position return, if the G28
command is issued in the following cases:
· When the reference position has not yet been
established
· When the input increment (millimeter/inch) is changed at
a position other than the reference position
In these cases, the tool leaves the intermediate point in the
reference position return direction specified with bit 5 (ZMIx)
of parameter No. 1006. The intermediate point must
therefore be specified at a position from which reference
position return is possible.
2 If the G28 command is issued in the machine lock status,
the completion signal for reference position return is not set
to 1.
3 If millimeter input is selected for an inch–system machine,
the completion signal for reference position return may be
set to 1, even when the programmed tool position deviates
from the reference position by the least input increment.
This is because the least input increment is smaller than the
least command increment for the machine.
Reference item
OPERATOR’S MANUAL II.6 REFERENCE POSITION
(B–63174EN)
444
B–63173EN–1/02 4. REFERENCE POSITION RETURN
4.4
2ND OR 3RD
REFERENCE
POSITION RETURN
General The G30 command positions the tool to the 2nd or 3rd reference position,
via the specified intermediate point, along the specified axis. Then, it sets
the completion signal for 2nd or 3rd reference position return to 1.
The 2nd or 3rd reference position must be set in parameter No. 1241 or
1242 with coordinates in the machine coordinate system, before issuing
the G30 command.
The tool moves to the intermediate point or 2nd or 3rd reference position
at the rapid traverse rate.
Return to the 2nd, 3rd, or 4th reference position can be performed only
after the reference position has been established.
Signal
Second reference
position return end
signals ZP21 to ZP28
<F096>
Third reference position
return end signals ZP31
to ZP38 <F098>
445
4. REFERENCE POSITION RETURN B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F096 ZP28 ZP27 ZP26 ZP25 ZP24 ZP23 ZP22 ZP21
Parameter
1241 Coordinate value of the second reference position on each axis
in the machine coordinate system
046 ILLEGAL REFERENCE RE- Other than P2 and P3 are commanded for
TURN COMMAND 2nd or 3rd reference position return com-
mand.
Correct program.
Caution
CAUTION
1 If the G30 command is issued in machine lock status, the
completion signal for 2nd or 3rd reference position return is
not set to 1.
2 If millimeter input is selected for an inch–system machine,
the completion signal for 2nd or 3rd reference position
return may be set to 1, even when the programmed tool
position deviates from the 2nd or 3rd reference position by
the least input increment. This is because the least input
increment is smaller than the least command increment for
the machine.
446
B–63173EN–1/02 4. REFERENCE POSITION RETURN
Reference item
OPERATOR’S MANUAL II.6 REFERENCE POSITION
(B–63174EN)
447
4. REFERENCE POSITION RETURN B–63173EN–1/02
4.5
REFERENCE
POSITION SETTING
WITH MECHANICAL
STOPPER
General This function automates the procedure of butting the tool against a
mechanical stopper on an axis to set a reference position. The purpose of
this function is to eliminate the variations in reference position setting that
arise depending on the operator, and to minimize work required to make
fine adjustments after reference position setting.
Select the axis for which the reference position is to be set, then perform
cycle start. Then, the following operations are performed automatically:
1. The torque (force) of the selected axis is reduced to make the butting
feedrate constant, and the tool is butted against the mechanical stopper.
Then, the tool is withdrawn a parameter–set distance from the
mechanical stopper.
2. Again, the torque (force) of the selected axis is reduced, and the tool
is butted against the mechanical stopper. Then, the tool is withdrawn
a parameter–set distance from the mechanical stopper.
3. The withdrawal point on the axis is set as the reference position.
448
B–63173EN–1/02 4. REFERENCE POSITION RETURN
Cycle operation When no reference position has been set (APZx, bit 4 of parameter No.
1815, is 0), operations (A) to (E), below, are performed automatically to
set a reference position.
Mechanical
stopper
Current position
(A)The tool is moved along a specified axis with a limited torque until
it butts against the mechanical stopper.
The tool is moved in the direction specified with ZMIx (bit 5 of
parameter No. 1006), at the feedrate specified with parameter No.
7183, at the torque specified with parameter No. 7186 (until the
tool strikes the mechanical stopper).
Mechanical
stopper
(B)After the tool strikes the mechanical stopper, the tool is withdrawn
in the direction opposite to the butting direction, along the axis for
a parameter–set distance.
The tool is moved in the direction opposite to that specified with
ZMIx (bit 5 of parameter No. 1006), at the feedrate specified with
parameter No. 7185, for the distance specified with parameter No.
7181.
Mechanical
stopper
(C)Operations (D) and (E) are performed from the withdrawal point,
such that the tool is butted against the mechanical stopper at a
constant feedrate in reference position setting.
(D)The tool moves along the specified axis at a specified torque until
it butts against the mechanical stopper.
449
4. REFERENCE POSITION RETURN B–63173EN–1/02
Mechanical
stopper
(E)After the tool strikes the mechanical stopper end on the axis, the
tool is withdrawn in the direction opposite to the butting direction,
along the axis for a parameter–set distance.
The tool is moved in the direction opposite to that specified with
ZMIx (bit 5 of parameter No. 1006), at the feedrate specified with
parameter No. 7185, for the distance specified with parameter No.
7182.
Reference position
Mechanical
stopper
For parameter Nos. 7183 and 7184, set the feedrates at which the
tool is moved toward the mechanical stopper with a limited torque,
considering the machine accuracy.
After the tool strikes the mechanical stopper, and the tool is
withdrawn the distance specified with parameter No. 7182, the
withdrawal point is set as the reference position on the specified
axis. Then, the reference position return end signal and reference
position establishment signal are set to 1.
After reference position return has been completed, alarm PS000
is issued. Turn the power off then back on before continuing
operation.
After the reference When the reference position has already been set (when APZx, bit 4 of
position is set parameter No. 1815, is 1), performing reference position setting with
mechanical stopper causes the tool to be positioned to the reference
position at the rapid traverse rate without the cycle operation. Upon the
completion of positioning, the reference position return end signal is set
to 1.
450
B–63173EN–1/02 4. REFERENCE POSITION RETURN
Cycle operation
N%
Torque limit 100% 100%
Butting direction
Axis feedrate
Withdrawal
direction
Torque limit reach signals for
reference position setting with
mechanical stopper
CLRCH1 to CLRCH8
N%: Torque limit (%) specified with parameter No. 7186 (%)
Signal
451
4. REFERENCE POSITION RETURN B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F180 CLRCH8 CLRCH7 CLRCH6 CLRCH5 CLRCH4 CLRCH3 CLRCH2 CLRCH1
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1006 ZMIx
NOTE
When this parameter is changed, turn off the power before
continuing operation.
7181 First withdrawal distance in reference position setting with mechanical stopper
NOTE
Set the same direction as the direction set for ZMIx, bit 5 of
parameter No. 1006. If the opposite direction is set, the
cycle operation will not start.
7182 Second withdrawal distance in reference position setting with mechanical stopper
452
B–63173EN–1/02 4. REFERENCE POSITION RETURN
NOTE
Set the same direction as the direction set for ZMIx, bit 5 of
parameter No. 1006. If the opposite direction is set, the
cycle operation will not start.
7183 First butting feedrate in reference position setting with mechanical stopper
7184 Second butting feedrate in reference position setting with mechanical stopper
7185 Withdrawal feedrate (common to the first and second butting operations)
in reference position setting with mechanical stopper)
453
4. REFERENCE POSITION RETURN B–63173EN–1/02
7186 Torque limit value in reference position setting with mechanical stopper
NOTE
When 0 is set in this parameter, 100% is assumed.
Note
NOTE
This function is supported only when an absolute–position
detector is installed.
454
B–63173EN–1/02 4. REFERENCE POSITION RETURN
4.6
LINEAR SCALE WITH
ABSOLUTE
ADDRESSING
REFERENCE MARKS
General The linear scale with absolute addressing reference marks has reference
marks (one–rotation signals) at intervals that change at a constant rate.
By determining the reference mark interval, the corresponding absolute
position can be deduced. The CNC makes a small movement along an
axis to measure the one–rotation signal interval, then calculates the
absolute position. The reference position can be established without
performing positioning to the reference position.
8.0 42.0 8.2 41.8 8.4 41.6 8.6 41.4
Reference marks
Fig. 4.6 (a) Sample linear scale with absolute addressing reference marks
Basic procedure for (1) Select JOG mode, then set manual reference position return selection
establishing the signal ZRN to 1.
reference position (2) Set the feed axis direction selection signal (+J1, –J1, +J2, –J2, etc.),
corresponding to the axis for which the reference position is to be
established, to 1, then feed the tool along that axis.
(3) The tool is fed along the selected axis at the reference position return
FL feedrate (parameter No. 1425).
(4) Upon the detection of a reference mark sent from the linear scale, the
tool is stopped briefly, then fed again at the reference position return
FL feedrate.
(5) Step (4) is repeated until three or four reference marks are detected.
Then, the absolute position is calculated and the reference position
established signal (ZRF1, ZRF2, ZRF3, etc.) is set to 1.
If the feed axis direction selection signal (+J1, –J1, +J2, –J2, etc.) is set
to 0 at any point in steps (2) to (5), feed does not stop and establishment
of the reference position is continued.
A time chart for the above basic procedure is shown below.
455
4. REFERENCE POSITION RETURN B–63173EN–1/02
JOG
ZRN
+J1
Reference mark
ZRF1
Feedrate
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1815 DCLx OPTx
#7 #6 #5 #4 #3 #2 #1 #0
1802 DC4
456
B–63173EN–1/02 4. REFERENCE POSITION RETURN
1882 Intervals of mark 2 of the linear scale with absolute addressing reference marks.
1883 Distance between the reference position and the origin of the linear scale with
absolute addressing reference marks
Usually, the origin is an imaginary point which does not physically exist
(see the figure below).
If the reference position exists in the positive direction as viewed from the
scale origin, specify a positive value for this parameter.
If the reference position exists in the negative direction as viewed from
the scale origin, specify a negative value for this parameter.
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Mark 1=Mark 2 Mark 1 Mark 2 Mark 1 Mark 2
PRM.1821
PRM.1882
PRM.1883
457
4. REFERENCE POSITION RETURN B–63173EN–1/02
458
B–63173EN–1/02 4. REFERENCE POSITION RETURN
Caution
CAUTION
1 In the following cases, the machine moves to the reference position without establishing the
reference position as described above:
S Axial movement is performed in ZRN mode when the reference position has already been
established.
S Automatic reference position return (G28) is specified when the reference position has
already been established.
2 Axial movement is continued until three or four reference marks are detected. If the
establishment of the reference position is started at a point near the end of the scale, therefore,
axial movement does not stop until overtravel occurs. Start establishing the reference position
at a point sufficiently distant from the end of the scale.
459
4. REFERENCE POSITION RETURN B–63173EN–1/02
Note
NOTE
1 If automatic reference position return (G28) is specified
when the reference position has not been established, the
reference position is first established as described above,
after which the machine is positioned to the reference
position.
2 A P/S alarm (No. 090) occurs in the following case:
S The actual reference mark interval differs from that
specified with the parameter.
3 This function cannot be used for axes that are subjected to
any of the following functions:
S Simple synchronous control
4 This function is invalid if any of the following conditions are
satisfied:
S Either parameter No. 1821 (mark 1 interval) or No. 1882
(mark 2 interval) is set to 0.
S Parameters No. 1821 and No. 1882 are set to the same
value.
S The value of parameter No. 1821 is more than twice as
large as that of parameter No. 1882, or vice versa.
460
B–63173EN–1/02 4. REFERENCE POSITION RETURN
4.7
REFERENCE
POSITION EXTERNAL
SETTING
Signal
[Operation] If this signal becomes 1, the control unit sets up the reference position for
the selected axis, provided that reference position setting is possible.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G211 ZPEXT8 ZPEXT7 ZPEXT6 ZPEXT5 ZPEXT4 ZPEXT3 ZPEXT2 ZPEXT1
461
4. REFERENCE POSITION RETURN B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1009 ZEXx
NOTE
1 The reference position external setting signal is effective,
when the manual continuous feed mode (JOG) has been
selected, and the ZRN signal is “1.”
2 When this function is used to set the absolute pulse coder
to the origin, be sure to set the emergency stop signal
(*ESP) to “1.”
3 After the reference position has been set up for the absolute
pulse coder using this function, turn the power off and on
again.
4 If an absolute pulse coder is in use, the reference position
is set up even if the reference position external setting signal
is set to 1 during axis movement. In this case, however,
setting up the reference position does not stop axis
movement. If an incremental pulse coder is in use, make
sure that axis movement is not in progress. Otherwise,
alarm 093 will occur.
Reference item
OPERATOR’S MANUAL V.3 MANUAL OPERATION
(B–63174EN)
462
B–63173EN–1/02 5. AUTOMATIC OPERATION
5 AUTOMATIC OPERATION
463
5. AUTOMATIC OPERATION B–63173EN–1/02
5.1
CYCLE START/FEED
HOLD
General
D Start of automatic When automatic operation start signal ST is set to 1 then 0 in which
operation (cycle start) memory (AUTO) mode, DNC operation mode (RMT), or manual data
input (MDI) mode, the CNC enters the automatic operation start state then
starts operating.
464
B–63173EN–1/02 5. AUTOMATIC OPERATION
D Halt of automatic When the feed hold signal *SP is set to 0 during automatic operation, the
operation (feed hold) CNC enters the feed hold state and stops operation. At the same time,
cycle start lamp signal STL is set to 0 and feed hold lamp signal SPL is
set to 1. Re–setting signal *SP to 1 in itself will not restart automatic
operation. To restart automatic operation, first set signal *SP to 1, then
set signal ST to 1 and then to 0.
STL STL
SPL
*SP *SP
465
5. AUTOMATIC OPERATION B–63173EN–1/02
Signal
Start
⋅⋅⋅
Automatic operation
Automatic operation
signal [Classification] Output signal
OP <F000#7>
[Function] Notifies the PMC that automatic operation is in progress.
[Output condition] This signal is set to 1 or 0, according to the state of the CNC, as listed in
Table 5.1.
466
B–63173EN–1/02 5. AUTOMATIC OPERATION
Reset state 0 0 0
NOTE
If the sequence number search is performed through MDI
panel during Memory mode (AUTO), the signal OP turns to
“1”.
467
5. AUTOMATIC OPERATION B–63173EN–1/02
D Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G007 ST
G008 *SP
#7 #6 #5 #4 #3 #2 #1 #0
F000 OP STL SPL
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3005 SON
Reference item
OPERATOR’S MANUAL V.4.1 AUTO OPERATION
(B–63174EN)
V.4.2 MDI OPERATION
468
B–63173EN–1/02 5. AUTOMATIC OPERATION
5.2
RESET AND REWIND
General The CNC is reset and enters the reset state in the following cases:
1. When the emergency stop signal (*ESP) is set to 0
2. When the external reset signal (ERS) is set to 1
3. When the reset and rewind signal (RRW) is set to 1
4. When <RESET> key on the MDI is pressed
When the CNC is reset, the resetting signal (RST) is output to the PMC.
The resetting signal (RST) is set to 0 when the resetting signal output
time, set with parameter No. 3017, has elapsed after the above conditions
have been released.
RST signal output time = Treset (Reset processing time) + (parameter
setting value) 16 msec.
Reset ON
Reset Pro-
cessing
RST signal
Treset (Parameter
setting value)
16 msec
CAUTION
Treset requires at least 16 msec. This time will be longer on
optional configurations.
CAUTION
*1 When the emergency stop signal (*ESP) is set to 0, the tool
is stopped by an emergency stop.
Bit 6 (CLR) of parameter No. 3402 is used to select whether the CNC
internal data (such as modal G codes) is cleared or reset when the
CNC is reset. Refer to the Appendix E, ”Status when turning on
power, when cleared, and when reset” in the Operator’s manual for
the state of the internal data when cleared or reset.
469
5. AUTOMATIC OPERATION B–63173EN–1/02
D Reset & Rewind When the reset & rewind signal (RRW) is set to 1, reset is performed and
the following rewinding operation is also performed.
The head of the selected main program is searched for. Setting RWM, bit
2 of parameter No. 3001, determines whether the rewinding–in–progress
signal is output.
When RWM is set to 1:
The rewinding–in–progress signal is output. It is set to 1, then set to 0
after about 100 ms. Since searching for the main program in memory
takes little time, when the rewinding–in–progress signal (RWD) is set to
0, the main program has already been searched for.
Signal
470
B–63173EN–1/02 5. AUTOMATIC OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G008 ERS RRW
#7 #6 #5 #4 #3 #2 #1 #0
F000 RWD
F001 RST
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3001 RWM
471
5. AUTOMATIC OPERATION B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
3203 MCL
#7 #6 #5 #4 #3 #2 #1 #0
3402 CLR
#7 #6 #5 #4 #3 #2 #1 #0
6001 CLV CCV
Reference item
OPERATOR’S MANUAL APPEN- STATUS WHEN TURNING POWER
(B–63174EN) DIX E ON, WHEN CLEAR AND WHEN RE-
SET
472
B–63173EN–1/02 5. AUTOMATIC OPERATION
5.3.1
Machine Lock
General The change of the position display can be monitored without moving the
machine.
When all–axis machine lock signal MLK, or each–axis machine lock
signals MLK1 to MLK8 are set to 1, output pulses (move commands) to
the servo motors are stopped in manual or automatic operation. The
commands are distributed, however, updating the absolute and relative
coordinates. The operator can therefore check if the commands are
correct by monitoring the position display.
Signal
MLK 1
1. Machine lock for the 1st axis
2. Machine lock for the 2nd axis
3. Machine lock for the 3rd axis
L
[Operation] When these signals are set to 1, pulses (move commands) are not output
to the servo motors for the corresponding axes (1st to 8th) in manual or
automatic operation.
473
5. AUTOMATIC OPERATION B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G044 MLK
F004 MMLK
474
B–63173EN–1/02 5. AUTOMATIC OPERATION
Note
NOTE
1 Automatic operation in the machine lock state (M, S,
and T commands)
Machine lock applies only to move commands along
controlled axes. Updating modal G codes or setting a
coordinate system is performed normally. M, S, and T (2nd
auxilialy function) commands are also performed normally.
2 Reference position return in the machine lock state
(G27, G28, and G30)
When the reference position return command (G28), or 2nd
to 3rd reference position return command (G30), is
executed for an axis in the machine lock state, distribution
and position updating are performed. The tool, however, is
not returned to the reference position. The reference
position return completion signals (ZP1 to ZP3) are not
output.
The reference position return check command (G27) is
ignored in the machine lock state.
3 Turning on/off the machine lock signal during
movement along an axis
When the machine lock signal for an axis is set to 1 during
movement along the axis that is not in the machine lock
state, the axis is immediately placed in the machine lock
state and output pulses (move commands) to the servo
motor are stopped. The tool is decelerated and stopped
with the automatic acceleration/deceleration function.
On the other hand, when the machine lock signal for an axis
is set to 0 during distribution of the move command along
the axis in the machine lock state, pulse (move command)
output for the axis is immediately restarted. The tool is
accelerated with the automatic acceleration/deceleration
function.
Reference item
OPERATOR’S MANUAL V.5.1 MACHINE LOCK AND
(B–63174EN) AUXILIARY FUNCTION LOCK
475
5. AUTOMATIC OPERATION B–63173EN–1/02
5.3.2
Dry Run
General Dry run is valid only for automatic operation.
The tool is moved at a constant feedrate(*1) regardless of the feedrate
specified in the program. This function is used, for example, to check the
movement of the tool without a workpiece.
CAUTION
This feedrate depends on the specified parameters, the
manual rapid traverse switching signal (RT), manual
feedrate override signals (*JV0 to *JV15), and whether the
command block specifies rapid traverse or cutting feed, as
listed in the table below.
Signal
CAUTION
When the dry run signal is changed from 0 to 1 or 1 to 0
during the movement of the tool, the feedrate of the tool is
first decelerated to 0 before being accelerated to the
specified feedrate.
476
B–63173EN–1/02 5. AUTOMATIC OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G046 DRN
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1401 RDR TDR
RDR
Set the dry run rate when the manual feedrate is overridden by 100%.
477
5. AUTOMATIC OPERATION B–63173EN–1/02
NOTE
To specify the maximum cutting feedrate for each axis, use
parameter No. 1430 instead.
NOTE
1 This parameter is effective only in linear and circular
interpolation. In polar coordinate, the maximum feedrate for
all axes specified in parameter No.1422 is effective.
2 If the setting for each axis is 0, the maximum feedrate
specified in parameter No.1422 is applied to all axes and the
feedrate is clamped at the maximum feedrate.
Reference item
OPERATOR’S MANUAL V.5.4 Dry run
(B–63174EN)
478
B–63173EN–1/02 5. AUTOMATIC OPERATION
5.3.3
Single Block
SBM = 0: Operation does not stop in the custom macro statements but
stops once the next NC command has been executed.
When the CNC is in the automatic operation stop state during single block
operation, the mode can be changed to manual data input (MDI), manual
handle/step feed (STEP), or jog feed (JOG), by using the mode select
signals (MD1, MD2, and MD4).
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G046 SBK
479
5. AUTOMATIC OPERATION B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6000 SBM
Caution
CAUTION
Operation in canned cycle
When the SBK signal turns to “1” during canned cycle
operation, the operation stops at each positioning,
approach, drilling and retreat instead of the end of the block.
The SPL signal turns to “1” while the STL signal turns to “0”,
showing that the end of the block has not been reached.
When the execution of one block is completed, the STL and
SPL signals turn to “0” and the operation is stopped.
Reference item
OPERATOR’S MANUAL V.5.5 Single block
(B–63174EN)
480
B–63173EN–1/02 5. AUTOMATIC OPERATION
5.4
MANUAL ABSOLUTE
ON/OFF
General This function selects whether the movement of the tool with manual
operation (such as jog feed and manual handle/step feed) is counted for
calculating the current position in the workpiece coordinate system. A
check signal is also output to indicate whether the manual absolute
function in the CNC is turned on or off.
When manual absolute When manual operation interrupts during automatic operation:
turns on (manual i) At the end of the block where manual operation interrupts, the tool
absolute signal *ABSM position moves in parallel by the manual move amount, regardless of
=0) the absolute or incremental command.
ii) In subsequent blocks, the parallel-moved tool position remains
unchanged until an absolute command block appears. Therefore, if all
blocks are programmed by incremental commands, the tool keeps the
parallel-moved position until machining ends.
In case of incremental commands
Manual
intervention
End
point
CAUTION
If the machining end position has shifted by the manual
move amount because all blocks are programmed by
incremental commands only, the present position is
displayed shifted by the manual move amount.
When manual absolute The manual move amount is not counted to the present position on the
turns off (manual workpiece coordinate system. The present position display on the CRT
absolute signal includes the manual move amount. The display is reset to the initial value
*ABSM=1) (before manual operation) when the control is reset, or when operation in
the automatic operation mode AUTO, RMT, or MDI is started after the
manual operation.
481
5. AUTOMATIC OPERATION B–63173EN–1/02
Manual in-
tervention
End
Programmed tool path point
The present position display at the finish of the operation shows an end
point value on the program as if manual intervention had not been
executed. However, the tool position moves in parallel.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G006 *ABSM
Reference item
OPERATOR’S MANUAL V.3.5 Manual absolute ON/OFF
(B–63174EN)
482
B–63173EN–1/02 5. AUTOMATIC OPERATION
5.5
OPTIONAL BLOCK
SKIP
NOTE
Number 1 for /1 can be omitted. However, when two or more
optional block skip switches are used in one block, number
1 for /1 cannot be omitted.
(Example)
//3 N123 X100. Y200. ; — Invalid
/1 /3 N123 X100. Y200. ;— Valid
The following figures show the relationship between the timing, when
optional block skip signals (BDT1 to BDT9) are set to 1, and the ignored
information:
1. When BDTn is set to 1 before the CNC starts reading a block
containing /n, the block is ignored.
BDTn ”1”
”0”
ÄÄÄÄ
Reading by CNC ³ ...; /n N123 X100. Y200. ; N234
....
Ignored
483
5. AUTOMATIC OPERATION B–63173EN–1/02
Not ignored
ÄÄÄÄ
...; /n N123 X100. Y200. ; N234 ....
Ignored
4. When two or more optional block skip switches are specified in a block
and BDTn, corresponding to one of them, is set to 1, the block is
ignored.
BDT3 ”1”
”0”
Reading by CNC ³
ÄÄÄÄ
...;/1 /3 /5 N123 X100. Y200. ; N234
ÄÄÄÄ
....
Ignored
Signal
484
B–63173EN–1/02 5. AUTOMATIC OPERATION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G044 BDT1
Note
NOTE
1 This function is ignored when programs are loaded into
memory. Blocks containing /n are also stored in memory,
regardless of how the optional block skip signal is set.
Programs stored in memory can be output, regardless of
how the optional block skip signals are set.
Optional block skip is effective even during sequence
number search operation.
2 Position of a slash
A slash (/) must be specified at the head of a block. If a slash
is placed elsewhere, the information from the slash to
immediately before the EOB code is ignored.
3 TV and TH check
When an optional block skip signal is “1”. TH and TV checks
are made for the skipped portions in the same way as when
the optional block skip switch is “0”.
Reference item
OPERATOR’S MANUAL II.11.2 Program section configuration
(B–63174EN)
485
5. AUTOMATIC OPERATION B–63173EN–1/02
5.6
EXACT STOP
D Exact stop (G09) The tool is decelerated in a block specifying G09, and an in–position
check (*1) is performed. When the feed motor falls in–position, the tool
is moved by the next block. This function may be used to produce a sharp
edge at the corner of a workpiece.
*1 The term in–position indicates that the servo motor reaches in a range
of positions specified by a parameter. See Section 7.2.6.1 and 7.2.6.2
for details.
(Example) Tool paths from block (1) to block (2)
Y
(2) In–position check
486
B–63173EN–1/02 5. AUTOMATIC OPERATION
5.7
DNC OPERATION
(Power Mate i–D
(1–PATH CONTROL)
General By starting automatic operation during the DNC operation mode (RMT),
it is possible to perform machining (DNC operation) while a program is
being read in via the reader/puncher interface.
To use the DNC operation function, it is necessary to set the parameters
related to the reader/puncher interface in advance.
Signal
487
5. AUTOMATIC OPERATION B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G043 DNCI
#7 #6 #5 #4 #3 #2 #1 #0
F003 MRMT
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0100 ND3
NOTE
In general, reading is performed more efficiently when
ND3=1. This specification reduces the number of buffering
interruptions caused by reading of a series of blocks
specifying short movements. This reduces the cycle time.
Reference item
OPERATOR’S MANUAL V.4.3 DNC OPERATION
(B–63174EN)
488
B–63173EN–1/02 6. INTERPOLATION FUNCTION
6 INTERPOLATION FUNCTION
489
6. INTERPOLATION FUNCTION B–63173EN–1/02
6.1
POSITIONING
General The G00 command moves a tool to the position in the workpiece system
specified with an absolute or an incremental command at a rapid traverse
rate.
In the absolute command, coordinate value of the end point is
programmed.
In the incremental command the distance the tool moves is programmed.
The tool path is determined by selecting one of the following with
parameter LRP (No. 1401#1):
D Linear interpolation type positioning
The tool moves at an appropriate speed so that positioning can be
performed in the shortest time without the speed exceeding the rapid
traverse rate for each axis.
D Non–linear interpolation type positioning
Positioning is performed with each axis independently at the rapid
traverse rate. Generally, the tool path is not a straight line.
The rapid traverse rate in the G00 command is set to the parameter
No.1420 for each axis independently by the machine tool builder. In the
positioning mode actuated by G00, the tool is accelerated to a
predetermined speed at the start of a block and is decelerated at the end
of a block. Execution proceeds to the next block after confirming the
in–position.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1401 LRP
Set the rapid traverse rate when the rapid traverse override is 100% for
each axis.
490
B–63173EN–1/02 6. INTERPOLATION FUNCTION
Note
NOTE
The rapid traverse rate cannot be specified in the address
F.
Reference item
OPERATOR’S MANUAL II.4.1 POSITIONING (G00)
(B–63174EN)
491
6. INTERPOLATION FUNCTION B–63173EN–1/02
6.2
LINEAR
INTERPOLATION
L + Ǹa 2 ) b2 ) g2
The feedrate of the rotary axis is commanded in the unit of deg/min (if the
feedrate is 12 deg/min, F12.0 is commanded).
When the straight line axis α(such as X, Y, or Z) and the rotating axisβ
(such as A, B, or C) are linearly interpolated, the feed rate is that in which
the tangential feed rate in the α and β cartesian coordinate system is
commanded by F(mm/min).
β–axis feedrate is obtained ; at first, the time required for distribution is
calculated by using the above fromula, then the β –axis feedrate unit is
changed to deg/min.
A calculation example is as follows.
(Example)
G91 G01 X20.0B40.0 F300.0 ;
This changes the unit of the C axis from 40.0 deg to 40mm with metric
input. The time required for distribution is calculated as follows:
Ǹ20 2 ) 40 2
F 0.14907 (min)
300
The feed rate for the C axis is
40 F 268.3 degńmin
0.14907
In simultaneous 3 axes control, the feed rate is calculated the same way
as in 2 axes control.
492
B–63173EN–1/02 6. INTERPOLATION FUNCTION
Parameter
1411 Cutting feedrate when the power is turned on
NOTE
To specify the maximum cutting feedrate for each axis, use
parameter No. 1430 instead. (M series)
493
6. INTERPOLATION FUNCTION B–63173EN–1/02
NOTE
1 This parameter is effective only in linear and circular
interpolation. In polar coordinate interpolation, the
maximum feedrate for all axes specified in parameter No.
1422 is effective.
2 If the setting for each axis is 0, the maximum feedrate
specified in parameter No. 1422 is applied to all axes and
the feedrate is clamped at the maximum feedrate.
#7 #6 #5 #4 #3 #2 #1 #0
3402 G01
Reference item
OPERATOR’S MANUAL II.4.2 LINEAR INTERPOLATION (G01)
(B–63174EN)
494
B–63173EN–1/02 6. INTERPOLATION FUNCTION
6.3
CIRCULAR
INTERPOLATION
General The command below can move a tool along a circular arc in the defined
plane.
“Clockwise”(G02) and “counterclockwise”(G03) on the XpYp plane
(ZpXp plane or YpZp plane) are defined when the XpYp plane is viewed
in the positive–to–negative direction of the Zp axis (Yp axis or Xp axis,
respectively) in the Cartesian coordinate system. See the figure below.
Yp Xp Zp
I0, J0, and K0 can be omitted. When Xp, Yp , and Zp are omitted (the end
point is the same as the start point) and the center is specified with I, J,
and K, a 360_ arc (circle) is specified.
G02 I; Command for a circle
If the difference between the radius at the start point and that at the
end point exceeds the value in a parameter (No.3410), an alarm (No.020)
occurs.
495
6. INTERPOLATION FUNCTION B–63173EN–1/02
The distance between an arc and the center of a circle that contains the arc
can be specified using the radius, R, of the circle instead of I, J, and K.
In this case, one arc is less than 180_, and the other is more than 180_ are
considered.
Specify an arc more than 180_ with a negative radius value commanded.
If Xp, Yp, and Zp are all omitted, if the end point is located at the same
position as the start point and when R is used, an arc of 0°is programmed.
G02R_ ; (The tool does not move.)
(Example)
For arc (1) (less than 180_)
G91 G02 X60.0 Y20.0 R50.0 F300.0 ;
For arc (2) (greater than 180_)
G91 G02 X60.0 Y20.0 R–50.0 F300.0 ;
(2)
r=50mm
End point
(1)
Parameter
1022 Setting of each axis in the basic coordinate system
NOTE
When this parameter is set, power must be turned off before
operation is continued.
496
B–63173EN–1/02 6. INTERPOLATION FUNCTION
Only one axis can be set for each of the three basic axes X, Y, and Z, but
two or more parallel axes can be set.
Set value Meaning
0 Neither the basic three axes nor a parallel axis
#7 #6 #5 #4 #3 #2 #1 #0
3402 G19 G18
NOTE
When the set value is 0, the difference of radii is not
checked.
497
6. INTERPOLATION FUNCTION B–63173EN–1/02
Note
NOTE
1 If I, J, K, and R addresses are specified simultaneously, the
arc specified by address R takes precedence and the other
are ignored.
2 If an axis not comprising the specified plane is commanded,
an alarm (No.028) is displayed.
Reference item
OPERATOR’S MANUAL II.4.3 CIRCULAR INTERPOLATION
(B–63174EN) (G02,G03)
498
B–63173EN–1/02 6. INTERPOLATION FUNCTION
6.4
POLAR COORDINATE
INTERPOLATION
Explanation G12.1 starts the polar coordinate interpolation mode and selects a polar
coordinate interpolation plane (Fig. 6.4). Polar coordinate interpolation
is performed on this plane.
D Polar coordinate
interpolation plane Rotary axis (hypothetical axis)
(unit:mm or inch)
Linear axis
(unit:mm or inch)
Parameter
1422 Maximum cutting feedrate for all axes
NOTE
To specify the maximum cutting feedrate for each axis, use
parameter No. 1430 instead.
499
6. INTERPOLATION FUNCTION B–63173EN–1/02
This parameter sets the upper limit of the cutting feedrate that is effective
during polar coordinate interpolation. If a feedrate greater than the
maximum feedrate is specified during polar coordinate interpolation, it
is clamped to the feedrate specified by the parameter. When the setting is
0, the feedrate during polar coordinate interpolation is clamped to the
maximum cutting feedrate usually specified with parameter No. 1422.
145 ILLEGAL CONDITIONS The conditions are incorrect when the polar
IN POLAR COORDINATE coordinate interpolation starts or it is can-
INTERPOLATION celed.
An error is found in the plane selection.
Parameters No. 5460 and No. 5461 are in-
correctly specified.
Modify the value of program or parameter.
Reference item
OPERATOR’S MANUAL II.4.6 Polar Coordinate Interpolation
(B–63174EN)
500
B–63173EN–1/02 6. INTERPOLATION FUNCTION
6.5
HELICAL
INTERPOLATION
(Power Mate i–H)
The command method is to simply add one or two move command axes
which is not circular interpolation axes. An F command specifies a
feedrate along a circular arc. Therefore, the feedrate of the linear axis is
as follows:
Length of linear axis
F×
Length of circular arc
Determine the feedrate so that the linear axis feedrate does not exceed any
of the various limit values.
Tool path
X Y
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1404 HFC
501
6. INTERPOLATION FUNCTION B–63173EN–1/02
Alarm and message If more than two axes are specified together with the two axes for circular
interpolation in a block specifying a helical interpolation operation, P/S
alarm No. 232 is issued.
No. Message Description
Reference item
OPERATOR’S MANUAL II.4.7 Helical Interpolation
(B–63174EN)
502
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
503
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
7.1 The feed functions control the feedrate of the tool. The following two feed
functions are available:
FEEDRATE
CONTROL 1. Rapid traverse
When the positioning command (G00) is specified, the tool moves at
a rapid traverse rate set in the CNC (parameter No. 1420).
2. Cutting feed
The tool moves at a programmed cutting feedrate.
Override can be applied to a rapid traverse rate or cutting feedrate using
the override signal.
7.1.1
Rapid Traverse Rate
General The positioning command (G00) positions the tool by rapid traverse.
G00 IP_ ;
In rapid traverse, the next block is executed after the specified rate
becomes 0 and the servo motor reaches a certain range set by the
parameter (No.1826) (in–position check).
A rapid traverse rate is set for each axis by parameter No. 1420, so no rapid
traverse rate need be programmed.
The following overrides can be applied to a rapid traverse rate with the
rapid traverse override signal:F0, 25, 50, 100%
F0: Allows a fixed feedrate to be set for each axis by parameter No. 1421.
In addition, the use of the 1% rapid traverse override selection signal
enables a rapid traverse override of between 0% and 100% to be applied
in 1% steps.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1401 RDR RFO LRP
504
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Set the rapid traverse rate when the rapid traverse override is 100% for
each axis.
Set the rate of manual rapid traverse for each axis when the rapid traverse
override is 100% for each axis.
NOTE
If 0 is set, the rate set in parameter No. 1420 is assumed.
Reference item
OPERATOR’S MANUAL II.5.2 Rapid traverse
(B–63174EN)
505
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
7.1.2
Cutting Feedrate
Clamp
General A common upper limit can be set on the cutting feedrate along each axis
with parameter No. 1422. If an actual cutting feedrate (with an override
applied) exceeds a specified upper limit, it is clamped to the upper limit.
The upper limit can be set on the cutting feedrate for each axis with
parameter No. 1430.
Parameter
1422 Maximum cutting feedrate for all axes
NOTE
To specify the maximum cutting feedrate for each axis, use
parameter No. 1430 instead.
506
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
NOTE
1 This parameter is effective only in linear and circular
interpolation. In polar coordinate interpolation, the
maximum feedrate for all axes specified in parameter No.
1422 is effective.
2 If the setting for each axis is 0, the maximum feedrate
specified in parameter No. 1422 is applied to all axes and
the feedrate is clamped at the maximum feedrate.
Warning
WARNING
CNC calculation may involve a feedrate error of "2% with
respect to a specified value. However, this is not true for
acceleration/deceleration. To be more specific, this error is
calculated with respect to a measurement on the time the
tool takes to move 500 mm or more during the steady state:
Reference item
OPERATOR’S MANUAL II.5.3 Cutting Feed
(B–63014EN)
507
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
7.1.3
Feed Per Minute
General
D Feed per minute (G94) After specifying G94 (in the feed per minute mode), the amount of feed
of the tool per minute is to be directly specified by setting a number after
F. G94 is a modal code. Once a G94 is specified, it is valid until G95 (feed
per revolution) is specified. At power–on, the feed per minute mode is
set.
An override from 0% to 254% (in 1% steps) can be applied to feed per
minute with the feedrate override signal.
Feed amount per minute
(mm/min or inch/min)
Tool
Workpiece
Table
Format
G94; G code for feed per minute (Group 05)
F_; Feed rate (mm/min or inch/min)
Reference item
OPERATOR’S MANUAL II.5.3 Cutting feed
(B–63174EN)
508
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
7.1.4
Feed Per Revolution/
Manual Feed Per
Revolution
General
D Feed per revolution After specifying G95 (in the feed per revolution mode), the amount of
feed of the tool per spindle revolution is to be directly specified by setting
a number after F. G95 is a modal code. Once a G95 is specified, it is valid
until G94 (feed per minute) is specified.
An override of between 0 and 254% (in steps of 1%) can be applied to feed
per rotation, using the feedrate override signals (*FV0 to *FV7). (See
Subsection 7.1.7.2.)
[T series]
F Feed amount per spindle revolution
(mm/rev or inch/rev)
Caution
CAUTION
1 When the speed of the spindle is low, feedrate fluctuation
may occur. The slower the spindle rotates, the more
frequently feedrate fluctuation occurs.
2 When specifying G95 and an F feedrate command in the
same block, place the F command after G95. Otherwise, it
is likely that feed per revolution may not be performed
correctly.
Reference item
OPERATOR’S MANUAL II.5.3 Cutting feed
(B–63174EN)
509
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
7.1.5
Override
7.1.5.1
Rapid traverse override
General An override of four steps (F0, 25%, 50%, and 100%) can be applied to the
rapid traverse rate. F0 is set by a parameter (No. 1421).
Also, 1% rapid traverse override select signal allows rapid traverse
override every 1% in the range of 0 to 100%.
ÇÇ
ÇÇ ÇÇ
ÇÇ ÇÇ
Rapid traverse Override 5m/min
rate10m/min 50%
D Feedrate Actual feedrate is obtained by multiplying the rapid traverse rate preset
by parameter No.1420 by the override value determined by this signal,
whether in automatic or manual operation (including manual reference
position return).
D F0 rate For F0 value, an absolute value is set by parameter No.1421 within a range
of 0 to rapid traverse rate (for each axis).
D 1% step rapid traverse 1% step rapid traverse override selection signal HROV determines
override selection signal whether rapid traverse override specified with rapid traverse override
signals ROV1 and ROV2 is used or 1% step rapid traverse override is
used.
When signal HROV is 0, override is applied to the rapid traverse rate
using signals ROV1 and ROV2.
When signal HROV is 1, ROV1 and ROV2 are ignored, 1% step rapid
traverse override signals *HROV0 to *HROV6 being used to override the
rapid traverse rate.
D PMC axis control These 1% step rapid traverse override signals are also effective to the rapid
traverse rate for the PMC axis. When rapid traverse override is applied
to the PMC axis (using signals ROV1E and ROV2E) with the setting of
the OVE bit (bit 2 of parameter No. 8001) independently of the CNC, the
1% step rapid traverse override signals are ineffective.
510
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Signal
511
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G014 ROV2 ROV1
Parameter
1421 F0 rate of rapid traverse override for each axis
Set the F0 rate of the rapid traverse override for each axis.
#7 #6 #5 #4 #3 #2 #1 #0
8001 OVE
Reference item
OPERATOR’S MANUAL III.5.3 Rapid traverse override
(B–63174EN)
512
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
7.1.5.2
Feedrate override
Workpiece
Signal
When all signals are “0”, they are regarded as overriding 0% in the same
way as when all signals are “1” .
Thus, the override is selectable in steps over a range of 0 to 254%.
513
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G012 *FV7 *FV6 *FV5 *FV4 *FV3 *FV2 *FV1 *FV0
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1401 RFO
#7 #6 #5 #4 #3 #2 #1 #0
3002 IOV
IOV Specifies which logic type (negative or positive logic) to use for the
feedrate and rapid traverse rate signals, as follows:
0 : Negative logic
1 : Positive logic
Reference item
OPERATOR’S MANUAL II.5.3 Cutting feed
(B–63174EN)
514
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
7.1.5.3
Override cancel
General The override cancel signal fixes the feedrate override to 100%.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G006 OVC
515
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
7.1.6
Feed Stop Function
General During axis motion, the feed stop function checks a position deviation
amount at all times. When the amount exceeds the “feed stop position
deviation amount” set by the parameter (No. 1832), the function suspends
pulse distribution and acceleration/deceleration control during such a
period of time, and terminates the move command for the positioning
control circuit. Thus the function can minimize an overshoot that may
occur with a large servo motor in rapid traverse acceleration operation.
Speed
Specified speed
Actual speed
Time
Feed stop
Parameter
1832 Feed stop positioning deviation for each axis
516
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
7.1.7
Advanced Preview
Feed–Forward Control
General This function is designed for high–speed and high–precision axis motion.
With this function, the delay due to acceleration/deceleration and the
delay in the servo system which increase as the feedrate becomes higher
can be suppressed.
The tool can then follow specified values accurately and the errors of tool
path can be reduced.
This function becomes effective when advanced preview feed–forward
control mode is entered by G08P1 command.
D Available function In advanced preview feed–forward control mode, the ”linear acceleration/
deceleration before interpolation for cutting feed” becomes automatically
effective. For details on the function, see another section.
Signal
Advanced preview
feed–forward control
mode signal
G08MD<F066#0>
[Classification] Output signal
[Function] Informs it is in the advanced preview feed–forward control mode
[Output condition] The signal is ”1” in the following case:
⋅ It is in the advanced preview feed–forward control mode.
The signal is ”0” in the following case:
⋅ It is not in the advanced preview feed–forward control mode.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F066 G08MD
517
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Parameter
1431 Maximum cutting feedrate for all axes in the advanced preview feed–forward
control mode
Specify the maximum cutting feedrate for all axes in the advanced
preview feed–forward control mode.
A feedrate in the tangential direction is clamped in cutting feed so that it
does not exceed the feedrate specified in this parameter.
WARNING
In a mode other than the advanced preview feed–forward
control mode, the maximum cutting feedrate specified in
parameter No.1422 or No.1430 is applied and the feedrate
is clamped at the maximum feedrate.
NOTE
To specify the maximum cutting feedrate for each axis, use
parameter No.1432 instead.
1432 Maximum cutting feedrate for each axis in the advanced preview feed–forward control
mode
Specify the maximum cutting feedrate for each axis in the advanced
preview feed–forward control mode.
A feedrate for each axis is clamped during cutting feed so that it does not
exceed the maximum cutting feedrate specified for each axis.
WARNING
In a mode other than the advanced preview feed–forward
control mode, the maximum cutting feedrate specified in
parameter No.1422 or No.1430 is applied and the feedrate
is clamped at the maximum feedrate.
518
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
NOTE
1 This parameter is effective only in linear and circular
interpolation. In polar coordinate, the maximum feedrate for
all axes specified in parameter No.1431 is effective.
2 If a setting for each axis is 0, the maximum feedrate
specified in parameter No.1431 is applied to all axes and the
feedrate is clamped at the maximum feedrate.
#7 #6 #5 #4 #3 #2 #1 #0
1602 LS2 FWB
F2 F2
Type B
F1 F1
N1 N2 Time N1 N2 Time
To change the feedrate from F3 to F2, it is necessary to start reducing the feedrate at point 1.
519
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
1762 Exponential acceleration/deceleration time constant for cutting feedin the advanced
preview feed–forward control mode
1768 Time constant for linear acceleration/deceleration during cutting feedin the
advanced preview feed–forward control mode
520
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Speed
Parameter 1
(No.1770)
Time
Parameter 2 (No.1771)
NOTE
When 0 is set in parameter No.1770 or parameter No.1771,
linear acceleration/deceleration before interpolation is
disabled.
NOTE
1 When 0 is set in parameter No.1770 or parameter No.1771,
linear acceleration/deceleration before interpolation is
disabled.
2 In parameters No.1770 and No.1771, set values that satisfy
the following: (Parameter No.1770)/(Parameter No.1771)
w5
521
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
WARNING
The control described above is applicable only to stored
stroke check 1.
NOTE
1 When 0 is set in this parameter, the control described above
is not executed.
2 Use type–B linear acceleration/deceleration before
interpolation (by setting bit 0 (FWB) of parameter No.1602
to 1).
Parameters for advanced (Parameters for the cutting feed acceleration/deceleration before
preview feed–forward interpolation)
control mode and normal
Parameter No.
mode
Parameter description Advanced preview
Normal mode feed–forwardcontrol
mode
Acceleration/deceleration
FWB(1602#0) FWB(1602#0)
type ( type A / type B )
522
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Note
NOTE
1 In the advanced preview feed–forward control mode, the
functions listed below cannot be specified. To specify these
functions, it is necessary to cancel the advanced preview
feed–forward control mode. After the desired function is
completed, then set advanced preview feed–forward
control mode again.
S Rigid tapping function S Feed per revolution
S Handle interruption S Simple synchronous control
S Polar coordinate interpolation function S Feed stop
S High–speed skip function
S Constant surface speed control
S Interrupt type custom macro
S Small–hole peck drilling cycle
S G28 (low–speed reference position return)
S Skip cutting S Electronic CAM
2 Advanced preview feed–forward control is not available in
the high response mode.
3 In addition to the parameters described here, the
parameters about servo motor should be set. For details,
refer to the parameter manual about servo motor.
Reference item
OPERATOR’S MANUAL II.16.4 Advanced preview feed–forward
(B–63174EN) control (G08)
523
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
7.1.8
Positioning by Optimal
Acceleration
Function description When rapid traverse is specified in a block during automatic operation,
positioning by optimal acceleration can change the rapid traverse rate,
time constant, and loop gain according to the distance traveled by the
block. So, it is possible to shorten the time required to perform
positioning and in–position check; hence a shortened cycle time. This
function is optional.
Explanation:
Generally, a motor speed–torque Torque
characteristic is as shown at the right.
The torque is low when the motor
speed is high. Moving the axis at high
speed, therefore, requires using a
large time constant. To the contrary,
moving the axis at low speed enables
a high torque to be generated, and Speed
therefore, it is possible to use a small
time constant. (Reducing the time
constant can shorten the time required
to perform positioning.)
Conventionally, it has been impossible to specify more than
one rapid traverse rate or time constant. Using this new
function, however, enables more than one rapid traverse rate
to be set up. It also makes it possible to set up as short a time
constant as possible within the torque range available with the
specified rapid traverse rate. With the new function, therefore,
it is possible to shorten the cycle time.
524
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Feedrate
Block
N70
700 Block
N60
600 Block
N50
500 Block
N40
400 Block
N30
300 Block
N20
200 Block
N10
100
Time
D Valid commands This function is valid not only for the G00 command but also for all
operations that involve rapid traverse during automatic operation, such as
canned cycle (for the Power Mate i–D only) and automatic reference
position return.
If an attempt is made to specify the automatic reference position return
(G28) when no origin has been established, however, this function
becomes invalid, and the feedrate, time constant, and loop gain specified,
respectively, in parameter Nos. 1420, 1620, and 1825 are used.
525
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
D Cutting feed This function is invalid for cutting feed. (In this case, the loop gain
specified in parameter No. 1825 is used.)
D Manual intervention If rapid traverse is suspended by feed hold or mode change–over during
automatic operation and then intervened manually, the loop gain is
changed to the value set in parameter No. 1825. When the program is
restarted, the rest of the suspended block is executed with the loop gain
used in manual operation. One of the values specified in parameters Nos.
6181 to 6187 becomes valid in the subsequent blocks.
D PMC axis control Specifying bit 1 of parameter No. 6131 (EOA) = 1 enables this function
for motion under PMC axis control. It is unusable for an improved
version of PMC axis control, however. (Specify bit 7 of parameter No.
8003 = 0.)
D Rapid traverse overlap When this function is enabled, rapid traverse overlap (bit 4 of parameter
No. 1601 (RTO)) is enabled only if the same axis is not specified in two
blocks.
Example)
With the following commands, overlap takes place.
G00 G91 X10.;
Z10.;
Feedrate
X Y
Time
(The figure applies when parameter No. 1722 (overlap deceleration ratio)
= 100)
With the following commands, in which the same axis is specified in two
blocks, no overlap takes place.
G00 G91 X10.;
X10.;
Feedrate
X X
Time
526
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Rapid
traverse
rate
D Simple synchronous When using this function together with simple synchronous control,
control enable the function for both master and slave axes (bit 0 of parameter No.
6131 (OADE) = 1) and set each of the feedrate, time constant, and loop
gain to the same value for both master and slave axes.
D Linear interpolation–type The feedrate rate, time constant, and loop gain are changed even when
rapid traverse linear interpolation–type rapid traverse is used (bit 1 of parameter No.
1401 (LRP) = 1). However, it is not necessarily true that each axis moves
at the feedrate specified in parameters (Nos. 6161 to 6167), because the
feedrate of each axis is determined in such a way that the motion path
becomes linear.
D High response function This function is disabled during the execution of the high response
function.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6131 EOA OAD
527
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
NOTE
If this parameter is re–set, it is necessary to turn the power
off and on again.
#7 #6 #5 #4 #3 #2 #1 #0
6132 ILG
528
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
529
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
530
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
531
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
WARNING
Never re–set these parameters (as well as the other
parameters) during axis motion. Re–setting parameter No.
1825, in particular, during axis motion cause the servo loop
gain to be changed to a value specified in parameter No.
1825, leading to a mechanical shock to the machine, even
when positioning by optimal acceleration is enabled.
Re–setting other parameters may also cause the feedrate
to be changed momentarily, leading to a mechanical shock
to the machine.
532
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
7.2
ACCELERATION/
DECELERATION
CONTROL
7.2.1
Automatic
Acceleration/
Deceleration
General
T R : Acceleration/
deceleration time
constant for rapid
traverse rate
0 Time
TR TR
Cutting feedrate
FC FC : Cutting feedrate
T C : Acceleration/
deceleration time
constant for a cutting
feedrate
0 Time
TC TC
533
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Acceleration/
deceleraton Servo control
Pulse control
CNC distribution
command (interpolation) Acceleraton/
deceleration Servo control
control
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1610 JGLx CTBx CTLx
NOTE
To use bell–shaped acceleration/deceleration after
interpolation, set this parameter to 0 and select the
acceleration/deceleration using CTBx, bit 1 of parameter
No. 1610.
Parameter
Acceleration/deceleration
CTBx CTLx
0 0 Exponential acceleration/deceleration
1 0 Bell–shaped acceleration/decelera-
tion after interpolation
534
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
1620 Time constant used for linear acceleration/deceleration in rapid traverse for each
axis or time constant T1 used for bell–shaped acceleration/deceleration in rapid
traverse for each axis
1 to 2 0 – 32000
3 to 4 0 – 16000
5 to 8 0 – 8000
535
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
536
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
1722 Rapid traverse feedrate reduction ratio for overlapping rapid traverse blocks
NOTE
The parameter No. 1722 is effective when parameter No.
1601 #4 (RTO) is set to 1.
Example
Fh: Rapid traverse feedrate
X–axis feedrate α: Setting of parameter No. 1722 (feedrate reduction ratio)
Fd: Feedrate where deceleration is terminated: = Fh×α/ 100
N1 G00 X- - ; N2 G00 X- - ;
537
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
7.2.2
Rapid Traverse
Bell–shaped
Acceleration/
Deceleration
General Rapid traverse bell–shaped acceleration/deceleration smoothly increases
or decreases the rapid traverse rate, reducing the stress and strain imposed
on the machine due to the variation in the acceleration with changes in the
feedrate. As the time constant for bell–shaped acceleration/deceleration
can be smaller than that for linear acceleration/deceleration, the time
needed for acceleration/deceleration can be reduced.
Feedrate Feedrate
0
Time Time
Acceleration Acceleration
0
Time Time
This function is enabled when the time constants for rapid traverse
bell–shaped acceleration/deceleration T1 and T2 are specified in
parameter Nos. 1620 and 1621, respectively.
538
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Speed
Speed
Rapid
traverse rate T1: Set a time constant used for lin-
ear acceleration/deceleration
T2: Set a time for rounding.
Total time=T1 + T2
Time for linear=T1 – T2
Time for rounding part=T2
TIme
T2/2 T1 T2/2
T2
Set a time when rapid traverse override is 100% . When it is less than
100%, the total time is reduced (constant acceleration method).
Value of T1 is determined from motor torque. Set a value of T2 to 24 ms
or 32 ms.
Parameter
1620 Time constant used for linear acceleration/deceleration in rapid traverse for each
axis or time constant T1 used for bell–shaped acceleration/deceleration in rapid
traverse for each axis
539
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
NOTE
1 Set parameter No. 1620 to time constant T1 used for
bell–shaped acceleration/deceleration in rapid traverse,
and set this parameter to time constant T2.
For details of time constants T1 and T2, see the description
of General of this section.
2 When this parameter is set to 0, linear acceleration/
deceleration is applied in rapid traverse. The setting in
parameter No. 1620 is used as a time constant in linear
acceleration/deceleration.
Reference item
CONNECTION MANUAL 7.2.1 AutomaticAcceleration/Deceleration
(This manual)
540
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
7.2.3
Linear Acceleration/
Deceleration after
Cutting Feed
Interpolation
Feedrate Feedrate
Acceleration/
⇒ deceleration ⇒
circuit
Time Time
t t
Feedrate Feedrate
Acceleration/
⇒ deceleration ⇒
circuit
Time Time
t t
t : Time
constant
541
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1610 JGLx CTLx
0 0 Exponential acceleration/deceleration
1 to 2 0 – 32000
3 to 4 0 – 16000
5 to 8 0 – 8000
542
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
543
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Note
NOTE
1 If linear acceleration/deceleration after interpolation for
cutting feed is enabled, linear acceleration/deceleration is
executed during cutting feed and during a dry run. Linear
acceleration/deceleration can also be executed during jog
feed if the JGL bit (bit 4 of parameter No. 1610) is specified
accordingly.
2 In circular interpolation especially when circular cutting is
executed at high speed, the actual path of the accelerated
or decelerated tool deviates from the specified arc in the
direction of the radius.
Y
Dr Specified path
Dr :Maximum radius error (mm)
Actual path
v :Feedrate (mm/s)
r :Radius of arc (mm)
T1 :Acceleration/deceleration time constant (s)
r T2 :Time constant of servo loop (s)
(Reciprocal of position loop gain)
X
1 T 2+ v2
1 T 2)
Dr=( 1 2 …Exponential acceleration/deceleration
2 2 r
1 1 v2
Dr=( T12+ T22 ) …Linear acceleration/deceleration or bell
24 2 r
shaped acceleration /deceleration
after interpolation
544
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
7.2.4
Bell–shaped
Acceleration/Deceleration
after Cutting Feed
Interpolation
Acceleration/
deceleration
function
Time Time
T T
T:Time Constant
545
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1610 JGLx CTBx CTLx
NOTE
To use bell–shaped acceleration/deceleration after
interpolation, set this parameter to 0 and select the
acceleration/deceleration using CTBx, bit 1 of parameter
No. 1610.
Parameter
Acceleration/deceleration
CTBx CTLx
0 0 Exponential acceleration/deceleration
546
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
1 to 2 0 – 32000
3 to 4 0 – 16000
5 to 8 0 – 8000
Speed
Cutting
T : Total time. It is constant irrespective of
feedrate
feedrate. (Time constant is constant).
The curve corresponds to that T1 = T/2 and T2
= T/2 set in parameter No. 1620 and 1621.
No linear part exists.
Time
T
547
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Note
NOTE
1 Bell–shaped acceleration/deceleration is executed during
cutting feed and during a dry run. Bell–shaped
acceleration/deceleration can also be executed during jog
feed if the JGL bit (bit 4 of parameter No. 1610) is specified
accordingly.
2 In circular interpolation, the actual tool path after
acceleration/deceleration deviates from the programmed
arc in the radial direction. To overcome this radial deviation,
see the note on linear acceleration/deceleration after
interpolation for cutting feed in Subsection 7.2.3.
3 Bell–shaped acceleration/deceleration can be executed
both for cutting feed and for jog feed along a PMC axis. The
time constant for acceleration/deceleration for jog feed is
the same as that for cutting feed. In jog feed along the PMC
axis, the time constant for cutting feed is used instead of that
for jog feed.
548
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
7.2.5
Linear Acceleration/
Deceleration before
Cutting Feed
Interpolation
F Linear accel-
eration/decel-
Feedrate eration before
command interpolation
F: Value of feedrate command
Speed
F
Time
F2 F2
F1 Time F1 Time
N1 N2 N1 N2
549
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Parameter
1630 Parameter 1 for setting an acceleration for linear acceleration/deceleration
before interpolation (maximum machining feedrate during linear
acceleration/decelerationbeforeinterpolation)
550
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
parameter No. 1631, set a time used to reach the maximum machining fee-
drate.
Feedrate
Time
Parameter 2
NOTE
When 0 is set in parameter No. 1630 or parameter No. 1631,
linear acceleration/deceleration before interpolation is
disabled.
NOTE
1 When 0 is set in parameter No. 1630 or parameter No. 1631,
linear acceleration/deceleration before interpolation is
disabled.
2 In parameter Nos. 1630 and 1631, set values that satisfy the
following:
Parameter No. 1630
y5
Parameter No. 1631
551
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
WARNING
The control described above is applicable only to stored
stroke limit 1.
NOTE
1 When 0 is set in this parameter, the control described above
is not exercised.
2 Use type–B linear acceleration/deceleration before
interpolation (by setting bit 0 (FWB) of parameter No. 1602
to 1).
552
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Note
NOTE
1 If a block without a move command is found during
acceleration/deceleration before interpolation, the
movement is decelerated and temporarily stopped in the
previous block.
2 If a one–shot G code is specified during acceleration/
deceleration before interpolation, the movement is
decelerated and temporarily stopped in the previous block.
3 If an M, S, or T code is specified in a block containing a move
command during acceleration/deceleration before
interpolation, the movement is decelerated and temporarily
stopped in that block.
4 Even during acceleration/deceleration before interpolation,
the block of G31 (skip function) is not subjected to
acceleration/deceleration.
5 Even during acceleration/deceleration before interpolation,
acceleration/deceleration after interpolation can be
executed. So that acceleration/deceleration is executed
only before interpolation, set the time constant for
acceleration/deceleration after interpolation to zero.
553
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
7.2.6
Corner Control
7.2.6.1
In–position check
General Whether the position of the servo motor is within a specified range is
checked.
If the in–position check function is enabled, the CNC checks the position
during deceleration. If the position is found to exceed the specified range,
the CNC does not execute the next block.
NOTE
The purpose of in–position check is to check that the servo
motor has reached within a specified range (specified with
parameter No. 1826).
Signal
In–position signals
INP1 to INP8 <F104>
[Classification] Output signal
[Function] These signals indicate that the control axes are set to the in-position
condition.
They are provided for each control axis, and the number in the signal name
corresponds to the control axis number.
I N P 1
1 . . . . In–position signal for the 1st axis
: :
: :
554
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Signal address
.
#7 #6 #5 #4 #3 #2 #1 #0
F104 INP8 INP7 INP6 INP5 INP4 INP3 INP2 INP1
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1601 NCI
Note
NOTE
1 The in–position signals may turn to “1” even during the
movement if the axis is fed at very low speed.
2 The in–position check function is enabled, at the interface
between two cutting blocks, in the following cases:
When the exact stop command (G09) is specified
7.2.6.2
In–position check
independently of
feed/rapid traverse
General If separate in–position check for cutting feed and rapid traverse is
executed, a small in–position check range can be specified between those
cutting feed blocks that require a high degree of precision. A large
in–position check range can be specified between those rapid traverse
blocks that require quick positioning.
555
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1601 NCI
#7 #6 #5 #4 #3 #2 #1 #0
1801 CIN CCI
0 1
556
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Note
NOTE
If the NCI bit (bit 5 of parameter No. 1601) is set to 1, so that
position check is not performed during deceleration, this
function is invalid. The system starts execution of the next
block as soon as deceleration has been completed, without
checking whether the servo position error is within the
specified range.
557
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
7.2.7
Axis Status Signals
General This signal indicates the operation status of an axis being controlled by
the Power Mate.
Signal
Acceleration/
deceleration signals
SUPn <F220>
[Classification] Output signal
[Function] This signal indicates that pulses (specified pulses) are left in the
acceleration/deceleration control section.
SUP1
1: Acceleration/deceleration signal for 1st axis.
2: Acceleration/deceleration signal for 2nd axis.
: :
: :
558
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
1. Distribution pulse
INPn
IPLn
SUPn
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F220 SUP8 SUP7 SUP6 SUP5 SUP4 SUP3 SUP2 SUP1
#7 #6 #5 #4 #3 #2 #1 #0
F221 IPL8 IPL7 IPL6 IPL5 IPL4 IPL3 IPL2 IPL1
559
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1610 JGLx CTBx CTLx
NOTE
To use bell–shaped acceleration/deceleration after
interpolation, set this parameter to 0 and select the
acceleration/deceleration using CTBx, bit 1 of parameter
No.1610.
Parameter
Acceleration/deceleration
CTBx CTLx
0 0 Exponential acceleration/deceleration
0 1 Linear acceleration/deceleration after interpolation
1 0 Bell–shaped acceleration/deceleration after interpolation
560
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
1620 Time constant used for linear acceleration/deceleration in rapid traverse for each
axis or time constant T1 used for bell–shaped acceleration/deceleration in rapid
traverse for each axis
TIme
T2/2 T1 T2/2
T2
Set the value when the rapid traverse rate is 100%. If it is under 100%, the
total time is reduced. (Constant acceleration method)
The value of T1 is determined from the torque of motor. Usually set the
value of T2 to 24 ms ir 32 ms.
561
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
NOTE
1 Set parameter No.1620 to time constant T1 used for
bell–shaped acceleration/deceleration in rapid traverse,
and set this parameter to time constant T2.
For details of time constants T1 and T2, see the description
of parameter No.1620.
2 When this parameter is set to 0, linear acceleration/
deceleration is applied in rapid traverse. (The setting in
parameter No.1620 is used as a time constant in linear
acceleration/deceleration.)
1 to 2 0 – 32000
3 to 4 0 – 16000
5 to 8 0 – 8000
562
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
Time
T
NOTE
Except for special applications, this parameter must be set
to 0 for all axes. If a value other than 0 is specified, proper
straight lines and arcs cannot be obtained.
563
7. FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL B–63173EN–1/02
Reference item
CONNECTION MANUAL 7 FEEDRATE CONTROL/ ACCELERA-
(This manual) TION AND DECELERATION CON-
TROL
7.2.8
Feed Forward in Rapid
Traverse
General Feed–forward control can be performed even during rapid traverse. In
this case, the servo position error is reduced, thus reducing the time
required for positioning to within the specified range.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1800 FFR
Reference item For details of this function, refer to the “FANUC SERVO MOTOR ai
series Maintenance Manual (B–65285EN).”
564
7. FEEDRATE CONTROL/ACCELERATION
B–63173EN–1/02 AND DECELERATION CONTROL
7.2.9
Expansion of time
constant
General In case that controlled axes are 1~4, the maximum of time constants, such
as exponential, bell–shaped or linear acceleration/deceleration after
interpolation in cutting feed and in jog feed, can be expanded.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1605 TCE
1 to 2 0 – 32000
3 to 4 0 – 16000
5 to 8 0 – 8000
1 to 2 0 – 4000
3 to 4 0 – 2000
5 to 8 0 – 1000
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
565
8. AUXILIARY FUNCTION B–63173EN–1/02
8 AUXILIARY FUNCTION
566
B–63173EN–1/02 8. AUXILIARY FUNCTION
8.1
AUXILIARY
FUNCTION
General
D Auxiliary Function (M When a numeral of up to 8 digits is specified following address M, code
code) signal and a strobe signal are sent to the machine. The machine uses these
signals to turn on or off its functions.
Usually, only one M code can be specified in one block. Generally, only
one M code can be used in one block. Up to three M codes in total can
be specified in the Power Mate i–D, while up to five M codes in total can
be specified in the Power Mate i–H. (see 8.3 “Multiple M code per
Block”)
Also, parameter No. 3030 can specify the maximum digits and if a
specified value exceeds the maximum digits, an alarm may be issued.
Basic procedure The following signals are used with these functions. (For details of the
spindle–speed function and tool function, see Chapters 9 and 10.)
Output signal Input signal
Program
Function
address Distribution end Completion
Code signal Strobe signal
signal signal
Each function uses different program addresses and different signals, but
they all input and output signals in the same way, as described below. (A
sample procedure for the auxiliary function is described below. The
procedures for the spindle–speed function and tool function are obtained
simply by substituting S or T in place of M.)
(1) Suppose that Mxxx is specified in a program.
For xxx, the number of specifiable digits is specified in parameters
Nos. 3030 to 3032 for each function. If more digits than the specified
value are specified, an alarm occurs.
(2) Code signal M00 to M31 is sent. After period TMF, specified in
parameter No. 3010 (standard value: 16 msec), strobe signal MF is set
to 1. The code signal is the binary representation of the programmed
value xxx. If the move, dwell, spindle–speed, or another function is
specified at the same time as the auxiliary function, the execution of
the other function is started when the code signal of the auxiliary
function is sent.
(3) When the strobe signal is set to 1, the PMC reads the code signal and
performs the corresponding operation.
(4) To execute an operation after the completion of the move, dwell or
other function specified in the block, wait until distribution end signal
DEN is set to 1.
567
8. AUXILIARY FUNCTION B–63173EN–1/02
(5) Upon completion of the operation, the PMC sets completion signal
FIN to 1. The completion signal is used by the auxiliary function,
spindle–speed function, tool function and other functions. If any of
these functions are executed simultaneously, the completion signal
must be set to 1 upon completion of all the functions.
(6) If the completion signal remains set to 1 for longer than period TFIN,
specified in parameter No. 3011 (standard value: 16 msec), the CNC
sets the strobe signal to 0 and reports that the completion signal has
been received.
(7) When the strobe signal is set to 0, set the completion signal to 0 in the
PMC.
(8) When the completion signal is set to 0, the CNC sets all code signals
to 0 and completes all sequences of the auxiliary function.(*1)
(9) Once all other commands in the same block have been completed, the
CNC executes the next block.
*1 When the spindle–speed function or tool function is executed, the code
signal is maintained until a new code for the corresponding function
is specified.
The timing diagram is shown below:
TMF TFIN
568
B–63173EN–1/02 8. AUXILIARY FUNCTION
TMF TFIN
TMF TFIN
Signal
Auxiliary function
code signals
M00 to M31 <F010 to
F013>
Auxiliary function
strobe signal
MF <F007#0> [Classification] Output signal
569
8. AUXILIARY FUNCTION B–63173EN–1/02
NOTE
1 The following auxiliary functions are only processed
internally by the control unit; they are not subject to output
even when specified:
· M98, M99
· M code that calls a sub program (parameter No. 6071 to
6079)
· M code that calls a custom macro (parameter No. 6080
to 6089)
2 Decode signals as well as the code signals and strobe
signal are output for the auxiliary functions listed below.
M00, M01, M02, M30
Decode M signals
DM00 <F009#7>,
DM01 <F009#6>,
DM02 <F009#5>,
DM30 <F009#4>
[Classification] Output signal
[Function] These signals report particular auxiliary functions are specified. The
auxiliary functions in a command program correspond to output signals
as indicated below.
Command program Output signal
M00 DM00
M01 DM01
M02 DM02
M30 DM30
570
B–63173EN–1/02 8. AUXILIARY FUNCTION
Spindle–speed code
signals S00 to S31
<F022–F025>
Spindle–speed strobe
signal SF <F007#2>
WARNING
Only one end signal is used for all functions above. The end
signal must go “1” after all functions are completed.
571
8. AUXILIARY FUNCTION B–63173EN–1/02
NOTE
A parameter NCI (No.1601#5) can specify, whether to only
check if an acceleration/deceleration delay is eliminated, or
to also check if a servo delay (error) has been reduced to
within a certain range.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G004 FIN
#7 #6 #5 #4 #3 #2 #1 #0
F001 DEN
F007 TF SF MF
572
B–63173EN–1/02 8. AUXILIARY FUNCTION
Parameter
Time lag in strobe signals MF, SF, and TF
3010
Time lag in strobe signals MF and TF
M, S, T code
Delay time
NOTE
The time is counted in units of 8 ms. If the set value is not
a multiple of eight, it is raised to the next multiple of eight.
Example : When 30 is set, 32 ms is assumed.
When 32 is set, 32 ms is assumed.
When 100 is set, 104 ms is assumed.
M, S, T code
MF, SF, TF
signal
FIN sigal
573
8. AUXILIARY FUNCTION B–63173EN–1/02
NOTE
The time is counted in units of 8 ms. If the set value is not
a multiple of eight, it is raised to the next multiple of eight.
Example: When 30 is set, 32 ms is assumed.
NOTE
Up to 5 digits can be specified in the S code
#7 #6 #5 #4 #3 #2 #1 #0
3401 DPI
#7 #6 #5 #4 #3 #2 #1 #0
3404 M02 M30
574
B–63173EN–1/02 8. AUXILIARY FUNCTION
L L
575
8. AUXILIARY FUNCTION B–63173EN–1/02
Note
NOTE
1 When a move command and auxiliary function are specified
in the same block, the commands are executed in one of the
following two ways:
i) Simultaneous execution of the move command and
auxiliary function commands.
ii) Executing auxiliary function commands upon completion
of move command execution.
The selection of either sequence depends on the
sequence of PMC.
2 The block following M00, M01, M02 and M30, is not read
into the input buffer register, if present. Similarly, ten M
codes which do not buffer can be set by parameters (No.
3411 to 3420).
3 For M00 and M01 only, auxiliary function code signal,
auxiliary function strobe signal, and M decode signals are
sent; the control of program stop and optional stop shall be
designed on the PMC side.
4 When the automatic operation is stopped by M02 or M30,
it is necessary to send the external reset signal from the
machine side to the CNC, instead of the FIN signal, When
the external reset signal is returned against the M02 or M30,
the control returns to the top of the program recently
executed and enters the reset state. When the FIN signal
is returned, the control returns to the beginning of the
program recently executed and executes it from the top.
Reference item
OPERATOR’S MANUAL II.10.1 Auxiliary function (M code)
(B–63174EN)
576
B–63173EN–1/02 8. AUXILIARY FUNCTION
8.2
AUXILIARY
FUNCTION LOCK
General Inhibits execution of a specified M, S, and T function.
That is, code signals and strobe signals are not issued.
This function is used to check a program.
Signal
WARNING
Even when this signal is “1”, spindle analog output or
spindle serial output is executed.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G005 AFL
Reference item
OPERATOR’S MANUAL V.5.1 Machine lock and auxiliary function
(B–63174EN) lock
577
8. AUXILIARY FUNCTION B–63173EN–1/02
8.3
MULTIPLE M
COMMANDS IN A
SINGLE BLOCK
General So far, one block has been able to contain only one M code. However, this
function allows up to five M codes to be contained in a block in case of
Power Mate i–H, and up to three M codes in case of Power Mate i–D.
Up to five M codes (three, in case of Power Mate i–D) specified in a block
are simultaneously output to the machine. This means that a shorter cycle
time can be realized in machining as compared with the conventional
method of a single M command in a single block.
Basic procedure The following is the procedure in case five M codes are specified in a
block in Power Mate i–H. Note that only up to three M codes can be
specified in a block in Power Mate i–D.
(1) Assume that ”Maa Mbb Mcc Mdd Mee ;” was commanded by the
program.
(2) The first M command(Maa) sends the code signals M00 to M31. The
strobe signal MF is set to ”1” after a time TMF set by the parameter
No.3010(Standard setting:16 msec).
The second M command(Mbb) sends the code signals M200–M215,
the third M command(Mcc) sends the code signals M300–M315, the
fourth M command (Mdd) sends the code signals M400–M415, the
fifth M command(Mee) sends the code signals M500–M515, and the
strobe signals MF, MF2, MF3, MF4, and MF5 are set to ”1”
respectively.
Furthermore, the five code signals are sent simultaneously.
The strobe signals MF, MF2, MF3, MF4, and MF5 become ”1” at the
same time.
The code signal is a binary notation of the program command aa, bb,
cc, dd, and ee.
(3) On the PMC side, the code signals corresponding to the respective
strobe signals are read when the strobe signals become ”1”, and the
appropriate operations are performed.
(4) When the operation of all M commands ends on the PMC side, the end
signal (FIN) is set to ”1”.
578
B–63173EN–1/02 8. AUXILIARY FUNCTION
(5) When the end signal stays ”1” for a time (TFIN) set by the parameter
No.3011 (Standard: 16 msec), all strobe signals(MF, MF2, MF3,
MF4, and MF5) are set to ”0” at the same time and the reception of the
end signal is reported.
(6) On the PMC side, when MF, MF2, MF3, MF4, and MF5 are set to ”0”,
the end signal is set to ”0”.
A time chart for this procedure is shown below:
Mcommand(MaaMbbMccMddMee;)
Maa
The 1st M code signal M00–M31
Strobe signal MF
PMC side operation
Mee
The 5th M code signal M500–M515
Strobe signal MF5
PMC side operation
Signal
579
8. AUXILIARY FUNCTION B–63173EN–1/02
M, S, T function end
signal
FIN <G004#3>
[Classification] Input signal
[Function] Indicates that the M function, S function and T function have been
completed.
[Operation] For the operations and procedures of the control unit when this signal
turns to ”1”, see the description of ”Basic procedure”.
580
B–63173EN–1/02 8. AUXILIARY FUNCTION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G004 MFIN5 MFIN4 MFIN3 MFIN2 FIN
G005 MFIN
#7 #6 #5 #4 #3 #2 #1 #0
F007 MF
#7 #6 #5 #4 #3 #2 #1 #0
F010 M07 M06 M05 M04 M03 M02 M01 M00
581
8. AUXILIARY FUNCTION B–63173EN–1/02
8.4
HIGH–SPEED M/S/T
INTERFACE
582
B–63173EN–1/02 8. AUXILIARY FUNCTION
Next block
Code signal
Mxx Myy
Strobe signal MF
Auxiliary function
completion signal MFIN
Next block
Code signal
Mxx Myy
Strobe signal MF
Signal
Auxiliary function
completion signal
MFIN <G005#0>
[Classification] Input signal
[Function] Reports that the execution of a auxiliary function using the high–speed
M/S/T interface is completed.
[Operation] For the operation and aprocedure of the contol unit when this signal turns
to “1” and “0”, see the description of “Basic procedure” above.
583
8. AUXILIARY FUNCTION B–63173EN–1/02
Spindle function
completion signal
SFIN <G005#2>
[Classification] Input signal
[Function] Reports that the execution of a spindle speed function using the
high–speed M/S/T interface is completed.
[Operation] For the operation and procedure of the control unit when this signal turns
to “1” and “0”, see the description of “Basic procedure” above.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G004 MFIN5 MFIN4 MFIN3 MFIN2
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3001 MHI
MHI Exchange of strobe and completion signals for the M, S, and T codes
0 : Normal
1 : High–speed
584
B–63173EN–1/02 8. AUXILIARY FUNCTION
Note
NOTE
1 The strobe signals MF, SF, and TF are “0” when the power
is turned on.
2 When the control unit is reset, MF, SF, and TF are set to “0”.
Reference item
OPERATOR’S MANUAL II.10.1 AUXILIARY FUNCTION
(B–63174EN)
II.10.2 MULTIPLE M COMMANDS IN A
BLOCK
585
8. AUXILIARY FUNCTION B–63173EN–1/02
8.5
WAITING FUNCTION
General This function allows for easier waiting for other machines and peripheral
equipment through the specially prepared M code.
When the waiting M code is specified, the corresponding waiting signal
is output. The block waits for the start of operation until the
corresponding wait completion signal is input.
Format
N___M8ffG___X___F___ ;
M8ff : Waiting M code (M801–M815)
Basic procedure
Table 8.5 Waiting M Code and Input and Output Signal
M801 0 0 0 1 X X X 1
M802 0 0 1 0 X X 1 X
M803 0 0 1 1 X X 1 1
M804 0 1 0 0 X 1 X X
M805 0 1 0 1 X 1 X 1
M806 0 1 1 0 X 1 1 X
M807 0 1 1 1 X 1 1 1
M808 1 0 0 0 1 X X X
M809 1 0 0 1 1 X X 1
M810 1 0 1 0 1 X 1 X
M811 1 0 1 1 1 X 1 1
M812 1 1 0 0 1 1 X X
M813 1 1 0 1 1 1 X 1
M814 1 1 1 0 1 1 1 X
M815 1 1 1 1 1 1 1 1
X : either 0 or 1 is acceptable
1 When the waiting M code (M8ff) is specified, the block which
includes a waiting M code becomes in the state of waiting for the
execution of axis moving. And the output signals (waiting signals),
WAT1 to WAT4, become ”1” as shown in the Table 1.
Also, the diagnostic number 008 is ON in the self–diagnostic screen
during waiting.
586
B–63173EN–1/02 8. AUXILIARY FUNCTION
2 Other machines and peripheral equipment move during waiting for the
execution of axis moving.
3 After the motions of other machines and peripheral equipment are
completed, turn the corresponding complete input signals (waiting
complete signals) into ”1” as shown in the Table 8.5.
4 Then all the output signals (waiting signals), WAT1 to WAT4, become
”0”, and the block which includes a waiting M code begins to execute
the axis moving.
Also, the diagnostic number 008 becomes OFF.
Fig. 8.5(a) shows the time chart.
Execution of the
previous block Axis movement Axis movement
command execution command
Execution of the waiting executing
block including
waiting M code
À Ã
Output signal
(WAT1–WAT4)
Notes
D In case the When the waiting M code is specified and the corresponding complete
corresponding complete input signal condition is already satisfied, the axis movement command
input signals have been is executed without delay, just the same as if the waiting signal M code
already ON command had not been issued. In this case, the output signal (WAT1 –
WAT4) is never turned ON. (See Fig. 8.5(b).)
Execution of the
previous block Axis movement
command
Execution of the executing
block including
waiting M code
Output signal
(WAT1–WAT4) (Not output)
587
8. AUXILIARY FUNCTION B–63173EN–1/02
D In case the waiting M When the waiting M code commands are carried out by continuous
codes are specified in blocks, if the latter block execution starts before the complete input
continuous blocks signals of the former block become ”0”, the complete input signals may
be regarded as the signals of the latter block. In this case, the axis
movement in the latter block is executed without delay as mentioned
above. To avoid the situation, select the combination of M codes in which
the waiting complete signals of the former block are not recognized as
those of the latter block.
Below are the three types of examples that the waiting M codes are
specified in continuous two blocks.
(1) The case that the latter block is executed after the complete input
signals in the former block become ”0”
Suppose that M803 is specified in the former block and M801 in the
latter block. As shown in Fig. 8.5(c), the waiting of M801 is executed
if the complete input signals of M803 are ”0” when the execution of
the former block is completed.
Output
signals
WAT1
WAT2
Complete
input signals
WFN1
WFN2
Fig. 8.5(c) The case that the latter block is executed after the complete
input signals in the former block become ”0”
588
B–63173EN–1/02 8. AUXILIARY FUNCTION
(2) The case that the latter block is executed before the complete input
signals in the former block become ”0” and the waiting of the latter
block is not executed
Suppose that M803 is specified in the former block and M801 in the
latter block. As shown in Fig. 8.5(d), the waiting of M801 is not
executed if the complete input signals of M803 are ”1” when the
execution of the former block is completed.
Complete
input signals
WFN1
WFN2
Fig. 8.5(d) The case that the latter block is executed before the
complete input signals in the former block become ”0” and
the waiting of the latter block is not executed
589
8. AUXILIARY FUNCTION B–63173EN–1/02
(3) The case that the latter block is executed before the complete input
signals in the former block become ”0” but the waiting of the latter
block is executed
Suppose that M803 is specified in the former block and M812 in the
latter block. As shown in Fig. 8.5(e), the waiting of M812 is executed
even if the complete input signals of M803, WFN1 and WFN2 are ”1”
when the execution of the former block is completed, because the
complete input signals of M812, WFN3 and WFN4 are ”0”.
Axis movement
Execution of Waiting executing
the block
with M803
Axis movement
Waiting executing
Exection of
the block
with M812
Output
signals
WAT1
WAT2
WAT3
WAT4
Complete
input signals
WFN1
WFN2
WFN3
WFN4
Fig. 8.5(e) The case that the latter block is executed before the
complete input signals in the former block become ”0”
but the waiting of the latter block is executed
Signal
Waiting signal
WAT1–WAT4
<F209#0–#3>
[Classification] Output signal
[Function] Indicate that the waiting M codes have been issued.
[Output condition] These signals are output in the way shown in Table 8.5 according to the
commanded M codes.
590
B–63173EN–1/02 8. AUXILIARY FUNCTION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G214 WFN4 WFN3 WFN2 WFN1
#7 #6 #5 #4 #3 #2 #1 #0
F209 WAT4 WAT3 WAT2 WAT1
591
8. AUXILIARY FUNCTION B–63173EN–1/02
NOTE
a indicates A, B, C, D, E, F, G or H.
Explanations In multipath mode, an M code is output through the PMC axis control
interface.
Each path has its own interface area and 8 interface areas at maximum are
prepared.
The M code specified for each path is output to the address corresponding
to the smallest–numbered axis for that path (see the example below).
592
B–63173EN–1/02 8. AUXILIARY FUNCTION
Examples)
In the 4–axes system that consists of the X–axis as 1st axis, Y–axis as
2nd axis, Z–axis as 3rd axis and U–axis as 4th axis, when multipath
control is applied, the M code for each path is output as follows:
G130 P1 X1 Y1; The X–axis (1st axis) and Y–axis (2nd axis) are
. assigned to path 1.
M10 ; The M code for 1st path is output to the addresses
. for 1st axis
G130 P2 Z1 U1; The Z–axis (3rd axis) and U–axis (4th axis) are
. assigned to 2nd path.
M20; The M code for 2nd path is output to theaddresses
for Z–axis (3rd axis) which is the 1st axis of 2nd
path.
Note
NOTE
In the multipath mode there are following limitation for
M–code function.
S The range of M–code value is 0 to 255.
S The M–code function cannot be used together with other
command. It must be specified alone in a single block.
S The Auxiliary function lock signal ”AFL” is not available.
S The control of wait for the auxiliary function end signal by
#3003 is not available.
S The decode M–code signal of DM00/DM01/DM02/DM30
is not available. When the M00,M01,M02,M30 is
commanded, only the binary code is output like other
M–code.
S The high speed M interface signal is available by setting
’1’ to the parameter No.3001#7.
593
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
594
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
9.1
SPINDLE SPEED
FUNCTION
(S CODE OUTPUT)
General When up to five digits are specified after address S, code and strobe
signals are sent out and used to control the spindle speed. The code
signals are retained until another S code is issued.
One S code is used for each block. Parameter No. 3031 can be used to
specify the maximum number of digits. If a number greater than the
maximum number is specified, an alarm can be raised.
Parameter
3031 Allowable number of digits for the S code
Note
NOTE
1 When a move command and miscellaneous function are
specified in the same block, the commands are executed in
one of the following two ways:
i) Simultaneous execution of the move command and
miscellaneous function commands.
ii) Executing miscellaneous function commands upon
completion of move command execution.
The selection of either sequence depends on the PMC
processing sequence.
2 For S code output when the spindle serial output/spindle
analog output is used, refer to section 9.3.
595
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
9.2
SPINDLE SERIAL
OUTPUT/SPINDLE
ANALOG OUTPUT
General There are two types of spindle motor control interfaces, spindle serial
output and spindle analog output.
The spindle serial output interface can control one serial spindle. The
spindle analog output interface can control one analog spindle.
The following table lists spindle serial output and spindle analog output
functions.
Function
Rigid tapping
Spindle control unit functions (Note), such as spindle orientation, spindle out-
put switching, spindle switching, and etc.
NOTE
These functions belong to the spindle control unit. They
cannot be used unless the spindle control unit supports
those functions.
The signals and parameters for spindle speed control are common to both
spindle serial output and spindle analog output. (See Section 9.3.)
The table below lists the differences related to direct control of the spindle
control unit.
596
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
These addresses are on the CNC. Actually, however, they are input/output
signals for the spindle control unit for the serial spindle.
Signal address
D For 1st SERIAL SPINDLE
#7 #6 #5 #4 #3 #2 #1 #0
G070 MRDYA ORCMA SFRA SRVA CTH1A CTH2A TLMHA TLMLA
#7 #6 #5 #4 #3 #2 #1 #0
F045 ORARA TLMA LDT2A LDT1A SARA SDTA SSTA ALMA
F048
597
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Parameter
D Connection of serial
spindle control unit #7 #6 #5 #4 #3 #2 #1 #0
3701 ISI
NOTE
This parameter is enabled only when the serial spindle
interface option is provided. The parameter is used when
the CNC is started after serial spindle interface control is
temporarily disabled during startup adjustment of the CNC.
This bit should normally set to be 0.
598
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
749 S–SPINDLE LSI ERROR Acommunication error occurred for the serial
spindle. The cause may be noises, discon-
nection of an optical cable or the interruption
of the power to the spindle amplifier.
(Note) Unlike alarm No. 750, this alarm oc-
curs when a serial communication alarm is
detected after the spindle amplifier is normal-
ly activated.
750 SPINDLE SERIAL LINK This alarm is generated when the spindle
ERROR control unit is not ready for starting correctly
when the power is turned on in the system
with the serial spindle.
The three reasons can be considered as fol-
lows:
1) An improperly connected optic cable, or
the spindle control unit’s power is OFF.
2) When the NC power was turned on under
alarm conditions other than SU–01 or
AL–24 which are shown on the LED dis-
play of the spindle control unit.
In this case, turn the spindle amplifier
power off once and perform startup
again.
3) Other reasons (improper combination of
hardware)
Note) This alarm does not occur after the
system including the spindle control
unit is activated.
See diagnostic display No. 409 for details.
751 SPINDLE ALARM DETECT This alarm indicates the NC that an alarm is
(AL–XX) generatedin the spindle control unit of the se-
rial spindle. The alarm is displayed in form
AL–XX (XX is a number). Refer to the manu-
als for serial spindle. The alarm number XX
is the number indicated on the spindle ampli-
fier. The CNC holds this number and displays
on the screen.
752 SPINDLE MODE CHANGE This alarm is generated if the system does
ERROR not properly terminate a mode change. The
modes include the rigid tapping and spindle
control modes. The alarm is activated if the
spindle control unit does not respond correct-
ly to the mode change command issued by
the CNC.
599
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
DIAGNOSIS SCREEN
D Information on spindle
control #7 #6 #5 #4 #3 #2 #1 #0
400 SAI SSR POS SIC
401 Alarm condition for the serial spindle unit for the spindle (AL–??)
D Communication error on
spindle serial output #7 #6 #5 #4 #3 #2 #1 #0
interface 408 SSA SCA CME CER SNE FRE CRE
600
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
To display the load and speed meter readings, the following parameters
must be specified correctly.
Maximum motor speed: Parameter No. 4020 (main) and 4196 (sub)
Load meter reading at maximum output:
Parameter No. 4127 (main) and 4276 (sub)
NOTE
The spindle switch function is used for main/sub switching.
Select main if the spindle switch function is not used.
601
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
9.3
SPINDLE SPEED
CONTROL
General This section describes spindle speed control. It also explains the position
coder and the spindle speed arrival signal (SAR).
602
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
⋅ Determine the output. ← Output specification by the PMC ←From the PMC
(Selected by the SIND signal) (set to R12I to R01I)
⋅ Determination of output polarity ← Polarity specification by the PMC ←From the PMC
(Selected by the SSIN signal) (set to SGN)
603
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
D S command The S command specifies the spindle speed entered from machining
programs, etc. for the CNC.
For constant surface speed control (during G96 mode), the CNC converts
the specified surface speed to the spindle speed.
With bit 4 (GTT) of parameter No. 3706 = 0 without the constant surface
speed control option, the CNC specifies the gear stage for the desired
spindle speed to the PMC according to parameter No. 3741, 3742, and
3743, and the S command.
(GR3O, GR2O, GR1O <F034#2, #1, #0>)
D S code/SF signal output With the spindle serial output or spindle analog output option, the spindle
control function in the CNC converts the S command value to the output
value for the spindle motor. For correspondence to gear change and
constant surface speed control, the S code/SF signals output is different
as follows in case of the spindle serial output and spindle analog output
are not used.
Outputs the S code.
The SF signal is output only when the CNC directs the PMC to change
the gear.
If you use the S code for processing in the PMC ladder, you must specify
parameters related to parameter No. 3705.
D Spindle stop signal This signal sets the S command value in the CNC to 0. If the CNC has
(*SSTP) the spindle output specified (see descriptions on the SIND signal), this
signal sets the speed command for the spindle to 0.
Even if the function of the spindle stop signal is not used, the signal must
be set to logical 1 for the CNC to perform spindle speed control.
D Spindle orientation If the spindle orientation signal is logical 1 and the spindle stop signal is
signal (SOR) logical 0, the spindle rotates in the direction specified by bit 5 (ORM) of
parameter No. 3706 at a constant speed specified by parameter No. 3732.
Because the spindle rotates at a constant speed regardless of the gear
stage, this signal can be used to rotate the spindle to drive the stopper or
pin during mechanical spindle positioning.
Specifying bit 1 (GST) of parameter No. 3705 causes the spindle motor
to rotate at constant speed. This function can be used for gear shifting
because it maintains a constant speed of the gear change mechanism.
D Gear shift signal (*GST) When spindle orientation is in progress, setting this signal to 1 keeps the
gear shift mechanism at a constant rotation speed, so the signal can be
used for gear shifting. This signal implements a function equivalent to
that of the GST parameter (bit 1 of parameter No. 3705). It is valid if GST
is 0.
D Spindle speed override This signal specifies an override of 0% to 254% for the specified S value
signal (SOV00 to SOV07) for spindle control.
However, the spindle speed override function is disabled when the CNC
is in the following state:
604
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
When the spindle speed control is performed but the spindle speed
override is not used, set the override value to 100%.
D Processing for gear Although the S command contains the spindle speed, the object that is
changing actually controlled is the spindle motor. Therefore, the CNC must have
some provision to detect the gear stage between the speed and spindle
motor.
M type
The CNC selects a gear stage according to the range of speed for each gear
stage previously specified in a parameter, as directed by the S command,
and informs the PMC of the selected gear stage (one of the three gear
stages ) using the gear select signal output (GR3O, GR2O, GR1O).
Also, the CNC outputs the spindle speed based on the selected gear stage
(output as the gear select signal).
T type
The gear stage (one of the four gear stages ) being currently used by the
machine is input in response to the gear select signal inputs (GR1, GR2).
The CNC outputs the spindle speed that corresponds to the gear stage
input.
D Selection of gear change Poower Mate i system can be use either M or tyoe.
system M type ← Without constant surface speed control option, and bit 4
(GTT) of parameter No. 3706 = 0
T type ← With constant surface speed control, or bit 4 (GTT) of
parameter No. 3706 = 1
D Details of M type By specifying from S0 to S99999 in memory or MDI operation, the CNC
(Output of GR1O, GR2O, outputs a command corresponding to the spindle speed. There is a
GR3O) two-speed (GR1O and GR2O) or three-speed range (GR1O, GR2O,
GR3O), set by parameter Nos. 3741-3743, and the gear selection signal
is output simultaneously. When the gear selection signal is changed, the
SF signal is output at the same time (parameter SFA no. 3705#6).
The meaning of the gear signals is shown below:
Gear 2–stage Gear 3–state Remarks
GR1O Low Low
Low: Low Gear
GR2O High Middle Middle: Middle Gear
High: High Gear
GR3O High
605
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
10V
Upper limit of
spindle speed
(Vc)
GR2O (GR3O)
GR1O (GR2O)
(GR1O)
C
Spindle speed
A B command
(S code input)
· Constant Vmin; for lower limit of spindle speed (parameter No. 3735)
606
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
NOTE
If a specified voltage of 10 V is already higher than the
acceptable input voltage for the spindle drive system,
calculate the spindle speed that corresponds to 10 V using
a proportional calculation method and use it instead. Now,
in response to the specified S code, the speed command
and gear select commands (G3O, G2O, G1O) are output to
the spindle motor as shown in Fig. 9.3. (a).
10V
Upper limit
voltage of
spindle GR1O
motor speed
(Vc)
GR2O
Spindle speed
command
(S code input)
D A E B C
D : Gear shift point (parameter No. 3761) for low/high speed change (or low/medium speed change) (set by
parameter as min–1 value) during tapping.
E : Gear shift point (parameter No. 3762) (3-stage gear) for medium/high speed change (set by parameter as
min–1 value) during tapping.
Fig. 9.3 (b) S code input and output voltage (in tapping)
607
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
10V
VC
VH
GR3O
VL
GR1O GR2O
Spindle speed
command
A B C (S code input)
Vmin Vmaxl Vmaxh Vmax
A× A× B× C×
4095 4095 4095 4095
VC: Voltage corresponding to the upper limit of output value to spindle motor.
VH: Voltage corresponding to the upper limit of output value to spindle motor with high-speed gears (medium
speed gear for 3-stage gear)
VL: Voltage corresponding to the upper limit of output value to spindle motor at low-speed gear
608
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
CAUTION
1 In a tapping cycle when parameter SGT (No. 3705 #3 ) is
set, the gears are changed over at the gear changing point
for tapping. (See Item ”Gear change point during tapping
cycle mode (G84, G74)”.)
2 For this function (parameter SGB=1 (No. 3705#2)), when
only one-stage gear is used, the voltage corresponding to
the upper limit value to the spindle motor is calculated using
Vmaxl, and when 2-stage gear is used, it is calculated
according to Vmaxh. Therefore, when SGB is 1, set Vmaxl
when only one-stage gear is used, Vmaxl and Vmaxh when
2-stage gear is used.
D Time chart When S code is commanded, the I/O signal time chart is :
D When Gear select signal does not change
S code read
To next block
Spindle speed
command output
VH
VL
0V
Fig. 9.3 (d) Time chart when gear select signal does not change
In this case, the SF signal is not output and the CNC advances to the next
block automatically after the next spindle speed command is output.
609
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
S code read
To next block
FIN
TMF
TFIN
Fig. 9.3 (e) Time chart when gear select signal changes
In this case, the gear select signal is output; after elapse of the time
constant set by parameter (TMF), the SF signal is output. After another
TMF elapse, the spindle speed command is output. On the PMC side,
change the gears by this signal, and return the FIN signal after the end of
gear change. The time chart for SF and FIN signals is the same as in S
code output.TMF, set by parameter No. 3010, is common to M, S and T
functions.
Moreover, specifying bit 6 (SFA) of parameter No. 3705 can specify that
the SF signal be output even if no gear change is used.
D Details of T type To perform the T type gear changing, the maximum spindle speed for each
(Input of GR1, GR2) gear select signal issued from the PMC side must be set by parameters
Nos. 3741-3744.
The gear select signal is a 2 bit code signal (GR1, GR2). The relationship
between the signal and gear number is :
Parameter No. for max.
GR1 GR2 Gear No.
spindle speed
0 0 1 No. 3741
1 0 2 No. 3742
0 1 3 No. 3743
1 1 4 No. 3744
610
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
In addition, for the speed command output to the spindle motor, analog
voltages 0 to 10 V for analog spindle control correspond to digital data
0 to 16383 for serial spindle control. However, it might be easier if you
consider them code signals from 0 to 4095 for convenience sake without
distinguishing between serial and analog spindles.
Assume that gear switching is two stage switching. If the spindle speed
with the output voltage 10 V is 1000 min–1 for the low speed gear (G1)
and 2000 min–1 for the high speed gear (G2), set these speeds by the
parameter No. 3741, 3742. In this case, the analog voltage has the linear
relationship shown below.
N
2000min–1 When gear
2 selected
When gear
1000min–1 1 selected
600min–1
Volt
0 V2 V1 10
See Section 9.4 for operations during the constant surface speed control
mode (G96).
In addition, parameter No. 3772 (upper limit to the spindle speed) can
specify speed clamping for all gear positions.
611
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
D-A SVC
Speed
converter control
D Determination of output Using the above processing for gear change, the CNC calculates the speed
R12O–R01O (Output) command output to the spindle motor that is necessary to obtain the
R12I–R01I (Input) specified spindle speed with the gear.
SIND (Input)
For either serial spindle or analog spindle control, the calculation results
are output as the S12 bit code signal from 0 to 4095 to the PMC.
After the calculation results are received, the SIND signal <G033#7>
determines which is to be used, the speed command output calculated by
the CNC or the data specified in the PMC. Thus speed command output
control for the spindle motor is determined. (See also Section 15.4.)
D Determination of output The speed command output to the spindle motor is determined as
polarity SSIN/SGN (Input) described above, but the actually used output polarity is determined by the
CNC as follows:
⋅ If bit 7 (TCW) of parameter No. 3706 = 0
→ Determined according to bit 6 (CWM) of parameter No. 3706
⋅ If bit 7 (TCW) of parameter No. 3706 = 1
→ Determined according to bit 6 (CWM) of parameter No. 3706 and
M03/M04 given to the CNC
After that, the SSIN signal <G033#6> determines which is to be used, the
output polarity calculated by the CNC or the polarity specified in the
PMC. In this way, the output polarity of the speed command output to
the spindle motor is determined. (See also Section 15.4.)
612
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Keep in mind the following: Even with bit 7 (TCW) of parameter No.
3706 = 1, the CNC cannot determine the output polarity if it has not issued
M03/M04, and therefore, actual output does not work even if the speed
command output has been specified.
D Command output to According to the speed command output and the polarity determined so
spindle far, the command is sent to the spindle control unit as follows:
D Requirement of output After power is switched on, a nonzero command is output to the spindle
only when the following conditions are met: A nonzero spindle speed
command is specified, and the output polarity is determined.
With bit 7 (TCW) of parameter No. 3706 = 1, no command output is sent
to the spindle, because the output polarity is not determined until an
M03/M04 is issued.
D Requirement to stop The command output to the spindle is reset to 0 when a command to
output specify so (such as *SSTP = 0 or S0 command) is issued.
M05, emergency stop, or reset does not cause the CNC to reset the
command output to the spindle to 0.
D Spindle enable signal Another output related to spindle control is the spindle enable signal
ENB <F001#4> ENB.
The ENB signal is logical 1 when a nonzero command output is sent to
the spindle. If the command is logical 0, the ENB signal becomes logical
0.
When the analog spindle is being used, an offset voltage in the spindle
motor speed amplifier may cause the spindle motor to rotate at low speed
even if the command output (in this case, analog voltage) to the spindle
is zero. The ENB signal can be used to stop the motor in such a case.
D Gain and offset The analog spindle may require gain and offset voltage adjustment
depending on the spindle motor speed amplifier being used.
613
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Control unit
max+10V SVC
SVC Spindle speed
2mA analog voltage Name Connector/Pin
ES
Output ES output SVC JA8A/7
impedance
100Ω ES JA8A/5
ENB1
ENB Enable signal
ENB1 JA8A/8
ENB2
ENB2 JA8A/9
WARNING
Since the output voltage is a weak signal, do not relay it
through contacts.
D Position coder feedback The position coder is necessary for feed per revolution.
signal
The position coder detects the actual spindle speed.
When using a gear between the spindle and position coder, specify the
gear ratio in bits 1 and 0 (PG2, PG1) of parameter No. 3706.
See Section 9.5 for position coder connection for rigid tapping.
D Speed arrival signal The spindle speed arrival signal SAR is an input signal used as a condition
(SAR) to cause the CNC to start cutting feed. This signal is used generally when
cutting feed should be started after the spindle reaches the specified speed.
In this case, a sensor is used to check the spindle speed. The detected
speed is sent to the CNC via the PMC.
When the above operation is performed using the PMC ladder regularly,
however, cutting feed may be started based on the SAR signal indicating
the previous spindle state (spindle speed before change), if the spindle
speed change command and the cutting feed command are issued at the
same time.
To avoid the above problem, monitoring the SAR signal can be deferred
for a time specified by parameter No. 3740 after the S command or cutting
feed command was issued.
When using the SAR signal, set bit 0 (SAR) of parameter No. 3708 to 1.
614
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Signal
S××××
Input command M03 M05 M04 S0
Auxiliary function
processing
“1”
Spindle stop signal “0”
*SSTP
Command output to
the spindle 0
The above time chart is an example. Actually, the time chart should meet
the specification of the spindle control unit.
· When this signal is not used, always set the signal to “1”.
· M03, M04, M05 are not processed inside the CNC.
Spindle orientation
signal SOR <G029#5>
[Classification] Input signal
[Function] The spindle or the spindle motor is rotated at a constant speed.
[Operation] When the spindle orientation signal turns to “1” and the spindle stop
signal *SSTP turns to “0”, a spindle speed command which lets the
spindle rotate at the constant speed set by parameter No. 3732 is output.
The enable signal ENB also turns to “1”. This signal is disabled when the
spindle stop signal is “1”.
When the spindle speed for orientation is set by parameter GST (No.
3705#1)=0 and the SOR signal is input, the CNC outputs the spindle
speed command corresponding to the speed set to parameter 3732 with
an output polarity set by parameter ORM (No. 3706#5), but the gear select
signal does not change. For example, if the SOR signal is turned to “1”
with high gear selected, and the speed set to parameter No. 3732 is in the
615
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
low gear range, the gear select signal does not change and the command
output is calculated and output to obtain the set speed at high gear.
When the spindle motor speed is set by parameter GST (No. 3705#1)=1,
the command output is output regardless of gear select signal. When the
spindle motor speed is set, it is used for gear shift.
Example of usage is shown below:
Input command
M19 M03
Auxiliary function
processing
Stop command Orientation
detection
Spindle stop signal
*SSTP
Command output to 0
the spindle
Enable signal
ENB
Spindle speed
0
min–1
RL: Constant speed set by parameter No. 3732
616
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
617
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
CAUTION
According to the conditions of item d above, note that if the
circuit is so designed that SAR is turned to “0”
simultaneously with the output of an S code and the change
of spindle speed is gated with DEN signal, the operation will
stop. That is, the spindle speed does not reach the
commanded speed because the CNC is waiting for the DEN
signal and distribution is not started because the CNC is
waiting for the SAR signal.
618
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
4095
0
16383 (Digital data) ← Serial spindle
0 10V (Analog voltage) ← Analog spindle
This signal converts the spindle speed command value calculated by the
spindle control function of the CNC to data from 0 to 4095 (for both serial
and analog spindle control) and outputs the result. Note that the
conversion result is not the actual output value. (See Section 15.4.)
Other signals
Spindle speed function See Sections 9.1 and 15.4 for these signals.
code signal S00 to S31
<F025 to F022> (Output)
Spindle speed function
strobe signal
SF<F007#2> (Output)
Signal address
G028 GR2 GR1
#7 #6 #5 #4 #3 #2 #1 #0
F001 ENB
F007 SF
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3705 SFA NSF SGT SGB GST ESF
NOTE
In the following cases, SF is not output:
(1)For an S command used to specify maximum spindle
speed clamping (G92S–––;) in constant surface speed
control mode
(2)When bit 5 (NSF) of parameter No. 3705 is set to 1
620
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
#7 #6 #5 #4 #3 #2 #1 #0
3706 TCW CWM ORM GTT PG2 PG1
621
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
NOTE
1 Type M:
The gear selection signal is not entered. In response to an
S command, the CNC selects a gear according to the speed
range of each gear specified beforehand in parameters.
Then the CNC reports the selection of a gear by outputting
the gear selection signal. The spindle speed corresponding
to the gear selected by the gear selection signal is output.
Type T:
The gear selection signal is entered. The spindle speed
corresponding to the gear selected by this signal is output.
2 When the constant surface speed control option is selected,
type T is selected, regardless of whether this parameter is
specified.
3 When type T spindle gear switching is selected, the
following parameters have no effect:
No. 3705#2 SGB, No. 3751, No. 3752, No. 3705#3 SGT,
No. 3761, No. 3762, No. 3705#6 SFA, No. 3735, No. 3736
However, parameter No. 3744 is valid.
Data used for adjusting the gain of the analog output of spindle speed
3730
622
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
(5) After setting the parameter, specify the spindle speed so that the analog
output of the spindle speed is the maximum voltage. Confirm that the
output voltage is 10V.
NOTE
This parameter needs not to be set for serial spindles.
Compensation value for the offset voltage of the analog output of the spindle
3731 speed
NOTE
This parameter need not to be set for serial spindles.
The spindle speed during spindle orientation or the spindle motor speed during
3732 spindle gear shift
623
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
624
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
625
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Spindle speed
Gear 1 Gear 2 Gear 3 command
max. max. max (S command)
speed speed speed
parameter parameter parameter
No. 3741 No. 3742 No. 3743
626
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
627
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
WARNING
1 When 0 is set in this parameter, the speed of the spindle is
not clamped.
2 When spindle speed command control is applied using the
PMC, this parameter has no effect, and the spindle speed
is not clamped.
NOTE
1 This parameter is valid when the constant surface speed
control option is selected.
2 When the constant surface speed control option is selected,
the spindle speed is clamped at the maximum speed,
regardless of whether the G96 mode or G97 mode is
specified.
Caution
CAUTION
This section mentioned a spindle speed control that should
be prepared on the CNC side. But it is also necessary to
design the signals to the spindle control unit.
Consult the manual of the spindle control unit used and take
necessary actions on the spindle control unit.
628
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
9.4
CONSTANT
SURFACE SPEED
CONTROL
General With the spindle serial output or analog output function, specifying the
surface speed (m/min or feet/min) directly in an S command makes it
possible to change the spindle output continuously so as to maintain a
constant surface speed at a programmed point. (For the rapid traverse
command, however, the surface speed for the end point is output at the
beginning of rapid traverse.)
Spindle speed N
r
1 0 2
0 1 3
1 1 4
Example of Spindle Assume that gear switching is two stage switching. If the spindle speed
Analog Output with the output 10 V is 1000 min–1 for the low speed gear (G1) and 2000
min–1 for the high speed gear (G2), set these speeds to the parameter No.
3741, 3742, respectively. In this case, the spindle output has the linear
relationship shown below:
629
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
N
2000min–1 G2
When gear
2 selected
G1
1000min–1 When gear
1 selected
600min–1
Spindle output
(Volt)
0 V2 V1 10
(i) G96
10S
V=
2πrR
R: Spindle speed (min–1) at 10V output voltage (that is , spindle speed set
by parameters No. 3741 to No. 3744)
S: Surface speed (m/min) specified by S command
r: Radius value in the X-axis direction (m)
(ii)G97
10N
V=
R
R: Spindle speed at 10V output voltage (min–1)
N: Spindle speed given by S command (min–1)
Spindle Serial Output The output to the spindle in spindle serial output is a digital data.
Therefore assume the following relation for calculation:
Spindle analog output (voltage) 10V = Spindle serial output
(digital data) 4095.
The above calculation becomes as follows:
(i) G96
4095S
D=
2πrR
630
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
(ii)G97
4095N
D=
R
R: Spindle speed at maximum spindle motor speed (min–1)
N: Spindle speed given by S command (min–1)
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F002 CSS
631
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Parameter
Maximum spindle speed for gear 1
3741
NOTE
When 0 is set, constant surface speed control is always
applied to the X–axis. In this case, specifying P in a G96
block has no effect on the constant surface speed control.
632
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
NOTE
1 This parameter is valid when the constant surface speed
control option is selected.
2 When the constant surface speed control option is selected,
the spindle speed is clamped at the maximum speed,
regardless of whether the G96 mode or G97 mode is
specified.
Caution
CAUTION
1 If the spindle speed corresponding to the calculated surface
speed exceeds the speed specified in the spindle speed
clamp command (G92S_) during the G96 mode, the actual
spindle speed is clamped at the value specified in the
spindle speed clamp command.
If the specified spindle speed is lower than the value
specified in parameter No. 3771, the actual spindle speed
is clamped at the specified speed.
2 If the constant surface speed control function is provided for
a machining center system, it affects gear change under
normal spindle control. (See Section 9.3.)
633
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Reference item
OPERATOR’S MANUAL III.1.3 CONSTANT SURFACE SPEED
(B–63174EN) CONTROL (G96, G97)
634
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
9.5
RIGID TAPPING
CAUTION
When M–type gear selection is used, the maximum spindle
speed for rigid tapping (specified with parameters No. 5241
to 5243) must also be set for parameter No. 5243 regardless
of the number of gear steps. (For a system having a single
gear step, set the same value as that of parameter No. 5241
for parameter No. 5243. For a system having two gear
steps, set the same value as that of parameter No. 5242 for
parameter No. 5243.)
The descriptions given in this section (such as spindle gear switching and
M–type/T–type) are based on the explanation given in Section 9.3. Refer
to Section 9.3 as necessary.
635
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
9.5.2 As shown in the figure below a gear can be inserted between the spindle
Connection Among and spindle motor, and between the spindle and position coder.
Spindle, Spindle Motor,
and Position Coder
Spindle control
1024 p/rev
(1) Gear between spindle Up to three gear stages can be provided between the spindle and the
and spindle motor spindle motor. The gear ratio is arbitrary. The spindle move distance per
spindle motor rotation is different, based on the gear ratio. The speed
command to the spindle motor must be adjusted. See (2), below, for addi-
tional information regarding a spindle motor incorporating a position
coder.
(2) Gear between spindle The position coder is used to detect the position of the spindle.
and position coder The gear ratio for the spindle and position coder is specified in the parame-
ter sets No. 5221 to No. 5223 and No. 5231 to No. 5233, or parameter set
PG1 and PG2 No. 3706 #0, #1. Which parameter set to use is specified
by parameter VGR No. 5200 #1.
S Arbitrary gear ratio This is used if the gear ratio for the spindle motor and position coder
(VGR=1) (built-in or separate) is not 1:1, 1:2, 1:4, or 1:8, set VGR to 1 and set the
gear ratio using parameter No. 5221 to 5223.
When position coder is mounted on a spindle, the gear ratio for the spindle
motor and position coder cannot be changed by shifting the spindle motor
and spindle gears. Parameters No. 5221 to 5223 must all specify the same
value for the teeth of the individual spindle gears. Parameters No. 5231
to 5233 must all specify the same value for the teeth of individual position
coder gears.
The 1024 or 512 pulses/rev position coder is built into the spindle motor.
For the 512 pulses/rev version, specify double the number of teeth on each
gear for the position coder. (Double the number of teeth need not be
specified for the serial spindle.)
636
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Example)
Set value
NOTE
Double value setting is not required for serial spindle.
637
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
S Gear ratio is 1:1, 1:2, 1:4, If the gear ratio is either 1:1, 1:2, 1:4, and 1:8, it is set using parameters
1:8 (VGR=0) PG1 and PG2 (No. 3706 #0, #1). This applies if the position coder is
mounted in a spindle or built into a spindle motor when only one stage
gear is provided. .
Parameter Gear ratio
Detection unit
PG2 PG1 Spindle Position coder
0 0 1 1 360/4096=0.08789 deg
0 1 1 2 360/4096 2=0.17578
deg
1 0 1 4 360/4096 4=0.35156
deg
1 1 1 8 360/4096 8=0.70313
deg
The spindle motor building in the 512 pulses/rev position coder uses the
values set forth in the following table. A serial spindle does not require
double-value setting; use the same values as for the spindle motor
building in the 1024 pulses/rev position coder.
Gear ratio Parameter Gear ratio
Detection
of spindle
Spindle unit
Built–in Spindle PG2 PG1 to position
motor (deg)
position coder
coder 1 1 0 1 1:2 0.17578
512p/rev
2 1 1 0 1:4 0.35156
4 1 1 0 1:8 0.70313
(3) Rigid tapping and If the M type gear selection method is selected, the CNC determines
machines with whether gears need changing using the gear change specification
multiple gears mentioned in section 9.3. If the gears need to be changed, the CNC
generates the S function code read signal SF (F007#2) and gear selection
signals GR1O, GR2O, and GR3O (F034#0-#2) to notify the PMC.
Change gears using the PMC, based on these signals.
If the T type gear selection method is selected, the CNC does not process
gear changes. When the CNC has the S function code, it outputs signal
SF and S function code signals S00 to S31 (F022#0-F025#7) to the PMC.
(However, parameter No. 3705 and its related parameters need to be set
for S code and SF signal output). Using the PMC, determine whether
gears need changing, and make the change if needed. Input gear selection
signals GR1 and GR2 <G028#1,#2> for the selected gear, and notify the
CNC of them.
To perform rigid tapping with the serial spindle, enter the clutch/gear
selection signals CTH1 and CTH2 (G070#3,#2) from the PMC. Notify
the serial spindle control unit of these signals via the CNC, irrespective
of the gear selection method.
638
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Changing gears during rigid tapping requires a different process from that
for gear changes during normal machining. As described above, changing
gears conforms to the gear change specifications mentioned in section 9.3
when the M type gear selection method has been selected. With the T type
gear selection method, changing gears conforms to the logic programmed
in the PMC.
Regardless of the option’s selection, if the range in which the spindle
speed specified by the S function code does not correspond to the
currently selected gear, the gears are changed.
The following tables list the spindle speed ranges for each gear during
normal machining (assuming no machine restrictions) and rigid tapping:
Spindle speed range (normal machining)
Gear
Lower limit Upper limit
Low– 1 revolution Maximum low–speed gear speed =
speed Maximum spindle motor speed L%
gear Low–speed gear ratio
Medium Maximum low–speed Maximum medium–speed gear speed =
speed gear speed + 1 revo- Maximum spindle motor speed L%
gear lution Medium speed gear ratio
High– Maximum medium– Maximum high–speed gear speed =
speed speed gear speed +1 Maximum spindle motor speed L%
gear revolution High–speed gear ratio
NOTE
This table shows an example of three gears. L% indicates
a spindle motor protection constant (up to 100). L can be
specified for each gear using method B for changing in M
type gear selection method (bit 2 (SGB) of parameter No.
3705 =1).
639
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
NOTE
This table show an example of three gears. For the basic
spindle motor speed, refer to the spindle motor description
manual. “+α” means that the spindle motor speed may
slightly exceed the basic spindle motor speed.
If the M type gear selection method is used, use gear change method B
(bit 3 (SGT) of parameter No. 3705 = 1) in the tapping cycle to specify
the following:
The table above shows the maximum low-speed gear speed during rigid
tapping for low-/medium-speed gear change position D (parameter No.
3761).
The table above shows the maximum medium-speed gear speed during
rigid tapping for medium-/high-speed gear change position E (parameter
No. 3762).
If the T type gear selection method is used, add the rigid tapping logic to
the logic programmed in the PMC.
See Section 9.3, “Spindle Control” for details of the spindle gear change
specifications.
The loop gain can be specified for each gear. Specify “0” for parameter
No. 5280 and specify loop gains for each gear for parameter Nos. 5281
to 5283. Unless “0” is specified for parameter No. 5280, the loop gains
for each gear are disabled, and the loop gain common to all gears, the
value of parameter No. 5280, is enabled.
Specify the time constant and the maximum spindle speed for each gear.
Use parameters Nos. 5261 to 5263 to specify the time constant.
Use parameters Nos. 5241 to 5243 to specify the maximum spindle speed.
For M type gear selection method, set the maximum spindle speed to
parameter No. 5243, irrespective of the number of gear stages used.
Setting bit 2 (TDR) of parameter No. 5201 to “1” enables setting of the
extraction time constant for each gear set. Specify the extraction time
constant for each gear in parameter Nos. 5271 to 5273.
If bit 1 (VGR) of parameter No. 5200 is set to “1”, the gear ratio for the
spindle and position coder can be set to anywhere between 1:32767 and
32767:1 in one-increment units for three gear sets. However 1:8 to 8:1
is the recommended value.
640
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
9.5.3
Rigid Tapping
Specification
D Feed rate In rigid tapping mode, the tapping axis is fed at a rate specified by F; the
spindle speed is S 360(deg/min). Override is invalid for both of them.
An override of up to 200% can be applied to withdrawal operations by
setting bit 4 (DOV) of parameter No. 5200 to “1”, and setting an
appropriate override value in parameter RGOVR of No. 5211. The time
constant for withdrawal operations can be modified by bit 2 (TDR) of
parameter No. 5201; when it is set to “1”, the values in parameter Nos.
5271 to 5273 are used as the time constant for withdrawal.
D Acceleration and Linear acceleration/deceleration is valid for rigid tapping.
deceleration
D Override Override is invalid for rigid tapping. Fixed override can be applied to
withdrawal operations by setting bit 4 (DOV) of parameters No. 5200 or
RGOVR of No. 5211.
D Dry run Dry run is valid for G84 (G74). When the dry run is applied to the tapping
axis speed of G84 (G74), tapping is performed. The spindle speed will
match the dry run speed.
D Machine lock Machine lock is valid for G84 (G74).
When G84 (G74) is executed with the machine locked, however the
tapping axis and the spindle do not move.
D Reset When the reset operation is performed during rigid tapping, the mode is
reset. The spindle motor goes to the ordinary mode, but G84 (G74) mode
is not reset.
D Feed hold, interlock, and The feed hold, interlock, and single block functions are effective for G84
single block (G74).
The feed hold and single block functions in rigid tapping mode can be
valid by setting bit 6 (FHD) of parameter No. 5200 to “1”.
As with the machine lock signal, the feed hold and single block functions
are also effective for the spindle indirectly, through tapping axis
operations.
D Operation mode G84 (G74) can be executed only in the AUTO and MDI modes.
D Manual feed Rigid tapping cannot be performed in the manual feed mode.
D Backlash compensation In rigid tapping mode, the backlash is compensated for the lost motion at
forward and reverse spindle rotations. Set it using parameter No. 5321.
The backlash compensation is normally made for the tapping axis.
641
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
9.5.4
Signal
9.5.4.1
Signals for the rigid
tapping function
Spindle rotation
direction signals
RGSPM, RGSPP
<F065#1, #0>
[Classification] Output signal
[Function] During rigid tapping, these signals notify the PMC of whether the spindle
is rotating in the forward or reverse direction.
During rigid tapping, the spindle is:
RGSPP 1 : Rotating in the forward direction (CW).
0 : Not rotating in the forward direction.
RGSPM 1 : Rotating in the reverse direction (CCW).
0 : Not rotating in the reverse direction.
[Output condition] These signals are output when the spindle is rotating in rigid tapping
mode. This means that, even in rigid tapping mode, these signals are not
output, for example, when the spindle is being positioned to a hole
position, or a dwell operation is in progress at the bottom of a hole or at
an R point.
These signals are not output in the feed hold state or single block stop
state. When the spindle is placed in the interlock stop state, machine lock
state, or Z–axis ignore state, however, the spindle is not regarded as
having stopped; these signals are output.
These signals are valid only in rigid tapping mode. In normal spindle
control, these signals are not output; both RGSPP and RGSPM are set to
“0”.
642
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Rigid tapping
in–progress signal
RTAP<F076#3>
[Classification] Output signal
[Function] This signal notifies the PMC that rigid tapping mode is set.
RTAP 1 : Rigid tapping mode is currently set.
0 : Rigid tapping mode is not currently set.
By latching M29, the PMC knows that rigid tapping mode has been
specified, and thus performs the required processing on the PMC side.
This signal can substitute for the latching of M29. Even in this case,
however, FIN for M29 cannot be omitted.
9.5.4.2
Signals related to S code
output
Spindle–speed function
code signals
(binary output)
S00 to S31
<F022 to F025>
Spindle–speed function
strobe signal
SF<F007#2>
[Classification] Output signal
[Function] These signals send S codes specified for the CNC, in binary format, to the
PMC.
[Output condition] When an S code is specified, the specified value is output, in binary
format, with the signals. Upon the completion of output, the SF signal
is set to “1”.
Before rigid tapping can be performed, however, parameter setting is
required to output these signals, as described below.
SF output depends on the gear selection method, as described below.
[1] M–type gear selection method
SF output depends on bit 6 (SFA) of parameter No. 3705.
643
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
NOTE
1 The timing charts, given later, give examples of gear
switching by setting the parameters as follows:
SFA = 0, NSF = 0
2 When the constant surface speed control function is being
used, an S code (specifying a surface speed) used for
constant surface control (G96) is output. Such an S code
can be distinguished from an S code used for specifying a
rotation speed. One method is to use, for example, the
constant surface speed control in–progress signal (F002#2)
for the processing performed on the PMC side. Another
method is to mask the S code and SF signal, output by
setting bit 0 (ESF) of parameter No. 3705.
9.5.4.3
Signals related to gear
switching
644
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
9.5.4.4
Signal addresses
#7 #6 #5 #4 #3 #2 #1 #0
G028 GR2 GR1
G061 RGTAP
#7 #6 #5 #4 #3 #2 #1 #0
F001 ENB
F007 SF
F076 RTAP
9.5.4.5 The following describes some notes in designing the interface with the
Notes on interface with PMC.
the PMC
Rigid tapping mode The PMC must manage rigid tapping mode as follows: rigid tapping
management and ENB mode is set using M29, and is canceled upon the issue of a reset or at the
falling edge of the spindle enable signal ENB in rigid tapping mode. ENB
is used during rigid tapping in this way, so the spindle stop signal *SSTP
must not be set to “0”.
However, *SSTP and SOR may be used for gear switching. To do so,
ensure that the PMC does not cancel rigid tapping mode on a falling edge
of ENB while *SSTP is “0”. Rigid tapping mode may be set on a rising
edge of the RTAP signal instead of by using M29, and canceled on a
falling edge of the RTAP signal instead of the ENB signal.
645
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Controlling spindle When the SIND signal is set to “1”, spindle output is controlled by the
output by the PMC signals (SSIN, SGN, R1I to R12I) output from the PMC.
At this time, the effect of ENB is as described above. In addition, when
rigid tapping mode is canceled in a block containing G80;, the momentary
rotation of the spindle, caused by a delay in the PMC processing, can
result. Accordingly, the PMC’s control over spindle output must be
disabled in rigid tapping mode by setting SIND to “0”.
T–type gear selection When T–type gear selection is used, the PMC must determine whether
method gear switching is to be performed, and subsequently perform gear
switching as required. For this purpose, each time a spindle–speed
function code is specified, the spindle–speed function code read signal
(SF) and spindle–speed function code signals (S00 to S31) must be output
to the PMC. The required parameter settings are described below.
Set bit 5 (NSF) of parameter No. 3705 to 0 to output SF.
Gear switching timing In general, a block containing M29 (miscellaneous function for
preparation for rigid tapping) specifies S****, S**** being output when
a block containing G84 (G74) is executed. This means that gear switching
is performed in the block specifying G84 (G74).
When rigid tapping mode M29 (miscellaneous function for preparation for rigid tapping) and S****
is specified specify rigid tapping mode. When M29 is accepted by the PMC, the
following processing must be performed:
D Stop the spindle when it is rotating.
D Check that the spindle has stopped completely, then set the rigid
tapping signal RGTAP <G061#0> to on.
D Activate the spindle motor. Activate the motor so that a positive speed
command rotates the spindle in the forward direction (CCW when
viewed from the – side of the tapping axis).
D Return FIN at least 250 ms after activation.
NOTE
The condition “at least 250 ms after activation” results from
there being no way of checking the completion of spindle
motor activation. Therefore, this wait period serves as an
alternative. The time required for activation to be completed
varies with the spindle motor and amplifier. Therefore, this
value of 250 ms is given as a guideline only.
In an M29 block, S**** is not executed, merely being read in. S**** is
executed in a G84 block. Spindle output is equivalent to the specification
of S0.
The timing chart is shown in the chart indicating the execution of G84
(G74).
Execution of G84 (G74) When M29S****; is specified, S**** is read in, spindle output being
equivalent to the specification of S0;. S**** is output when G84 (G74)
is executed. Thus, the processing described below is performed.
646
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
D When M–type gear When using a machine that features multiple gear stages for use with the
selection is used spindle motor and spindle, and S**** is outside the previously selected
gear range, the spindle–speed function strobe signal SF <F007#2> and
gear selection signals (output) GR3O, GR2O, GR1O <F034#2, #1, #0>
are output to the PMC.
At this time, perform gear switching at the PMC.
D When T–type gear The spindle–speed function strobe signal SF <F007#2> and
selection is used spindle–speed function code signals S00 to S31 <F022 to F025> are
output to the PMC. (However, parameter setting is required to enable
output of the S codes and SF signal. See the description of each bit of
parameter No. 3705.)
From GR2 and GR1, the CNC determines which gear is selected.
Up to three gear stages are supported for the first spindle, and up to two
gear stages for the second spindle. (The gear selection for the second
spindle is notified to the CNC by the signal GR21 <G029#0>)
647
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
9.5.5 The timing chart for rigid tapping specification depends on the method
Timing Charts for Rigid used to specify rigid tapping mode, the gear selection method (M–type or
T–type), and whether to perform gear switching.
Tapping Specification
From the table, find the appropriate timing chart (Fig. 9.5.5.1 (a) to Fig.
9.5.5.3 (d)) and apply the information it contains as necessary.
Specification method
Gear
selection
Gear By parameter setting,
method M29 and G84 (G74) are
switching M29 is specified before G84 (G74) is specified as
M–type specified in the same
G84 (G74). a G code for rigid
T–type block.
tapping.
Not performed Fig. 9.5.5.1 (a) Fig. 9.5.5.2 (a) Fig. 9.5.5.3 (a)
M–type
Performed Fig. 9.5.5.1 (b) Fig. 9.5.5.2 (b) Fig. 9.5.5.3 (b)
Not performed Fig. 9.5.5.1 (c) Fig. 9.5.5.2 (c) Fig. 9.5.5.3 (c)
T–type
Performed Fig. 9.5.5.1 (d) Fig. 9.5.5.2 (d) Fig. 9.5.5.3 (d)
NOTE
For more information about the M/T type gear selection
method, see Section 9.3 SPINDLE CONTROL. Note the
following:
M–type when constant surface speed control is not being
used and bit 4 (GTT) of parameter No. 3706 is
set to 0
T–type when constant surface speed control is being
used, or bit 4 (GTT) of parameter No. 3706 is set to
1
648
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
9.5.5.1
When M29 is specified before G84 (G74)
M type gear selection method
M29
RTAP
First block Second block
G84 (G74)
ENB
To be masked to the second
block
Spindle
output
SF
GR1O
GR2O
GR3O
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Excitation
SFR
Position loop
649
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
M29
RTAP
First block Second block
G84 (G74)
ENB
To be masked to the
second block
Spindle *Gear
output change
motion
SF
GR1O
GR2O
GR3O
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Gear change
Excitation SFR
Position loop
Note This time chart show an example where the gear has shifted from low to middle gear. One of the gear select signals (GR1O,
GR2O, GR3O) has turned from “1” to “0”, and one of the two remaining signals has turned from “0” to “1”. This changes
the gear.
Fig. 9.5.5.1 (b) When gear change is performed (from low to middle gear)
650
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
M29
RTAP
First bllock Second block
G84 (G74)
ENB
To be masked to the second block
Spindle
output
SF
S code
output
GR1
GR2
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Excitation SFR
Position loop
651
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
M29
RTAP
First block Second block
G84 (G74)
ENB
To be masked to the
second block
Spindle *Gear
output change
motion
SF
S code output
GR1
GR2
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Gear change
Excitation SFR
Position loop
Note This time chart shows an example where the gear has changed from low to middle gear. The PMC selects a required gear
through an S code output and selects the gear using the GR1 and GR2 signals to inform CNC of the selected gear.
652
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
9.5.5.2
M29 and G84 (G74) are specified in the same block
M type gear selection
M29
RTAP
First block Second block
G84 (G74)
ENB
To be masked to the second block
Spindle
output
SF
GR1O
GR2O
GR3O
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Excitation SFR
Position
loop
653
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
M29
RTAP
First block Second block
G84 (G74)
ENB
To be masked to the
second block
Spindle
output
SF
GR1O
GR2O
GR3O
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Gear change
Excitation SFR
Position loop
Note This time chart shows an example where the gear has shifted from middle high gear. One of the gear select signals (GR1O,
GR2O, GR3O) has turned from “1” to “0”, and one of the two remaining signals has tuned from “0” to “1”. This changes
the gear.
654
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
M29
RTAP
First block Second block
G84 (G74)
ENB
To be masked to the
second block
Spindle
output
SF
S code
output
GR1
GR2
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Excitation SFR
Position loop
655
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
M29
RTAP
First block Second block
G84 (G74)
ENB
To be masked to the
second block
Spindle
outpout
SF
S code output
GR1
GR2
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Gear change
Excitation SFR
Position loop
Note This time chart shows an example where the gear has changed from middle to high gear. The PMC selects a required gear
through an S code output and selects the gear using the GR1 and GR2 signals to inform CNC of the selected gear.
656
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
9.5.5.3
Specifying G84 (G74) for rigid tapping by parameters
M type gear selection
M29
RTAP
First block Second block
ENB
To be masked to the
second block
Spindle
output
SF
GR1O
GR2O
GR3O
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Excitaiton SFR
Position loop
657
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
M29
RTAP
First block Second block
ENB
To be masked to the
second block
Spindle
output
SF
GR1O
GR2O
GR3O
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Gear change
Excitation SFR
Position loop
Note This time chart shows an example where the gear has shifted from high to low gear. One of the gear select signals (GR1O,
GR2O, GR3O) has turned from “1” to “0”, and one of the two remaining signals has turned from “0” to “1”. This changes
the gear.
Fig. 9.5.5.3 (b) When gear change is performed (high to low gear)
658
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
M29
RTAP
First block Second block
ENB
To be masked to the second block
Spindle
outoput
SF
S code
output
GR1
GR2
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Excitation SFR
Position loop
659
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
M29
RTAP
First blcok Second block
ENB
To be masked to the
second blcok
Spindle
output
SF
S code
output
GR1
GR2
*SSTP
SOR
RGTAP 250ms
or more
FIN
Rotation
Gear change
Excitation SFR
Position loop
Note This time chart shows an example where the gear has changed from high to low gear. The PMC selects a required gear
through an S code output and inputs the selected gear using the GR1 and GR2 signals to inform CNC of the selected gear.
660
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
9.5.5.4 When rigid tapping is completed, the mode is canceled if a G code (such
Timing to cancel rigid as G80, canned cycle G code, or Group 01 G code) is issued.
The spindle output is produced in the same way as executing S0. Cancel
tapping mode
the PMC rigid tapping mode at the falling edge of the ENB signal by
de-energizing the spindle; then turn off the rigid tapping mode signal. The
system goes to the next block after confirming that the signal is off.
When gear change is performed using *SSTP and SOR, the ENB signal
can be either “1” or “0”. Do not cancel the PMC’s rigid tapping mode at
the falling edge of the ENB signal under these circumstances. The
position loop is also canceled.
When the CNC is reset, the PMC’s rigid tapping mode must be canceled.
When CRG (parameter No. 5200#2) is “1”, the system goes directly to the
next block without checking that the rigid tapping signal is “0”. Set CRG
to “1” for systems in which the rigid tapping signal is always “1”.
G80
(or G code of group 01)
RTAP
ENB
Spindle output
RGTAP
Rotation
Excitation
Position loop
661
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
WARNING
1 If rigid tapping mode is canceled by a Group 01 G code,
such as G00 or G01, the block containing the G code is
executed at the same time the ENB signal is turned to “0”.
Therefore, if a block contains an M code for controlling the
spindle, an error may occur during processing in the PMC.
2 When CRG (Parameter No. 5200#2) is 1, if the next block
contains an M code for controlling the spindle, an error may
occur during processing in the PMC, when:
⋅ Rigid tapping mode is canceled by issuing G80
⋅ Rigid tapping mode is canceled by issuing a Group 01 G
code , such as G00 or G01
NOTE
Rigid tapping mode is canceled as described above
regardless of the gear selection method of M–type or
T–type.
9.5.6
Retraction for Rigid
Tapping
Retract
completion
R point point
Center of
rigid tap-
ping
Z point
662
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
M29 command
Spindle excitation
Retract movement
663
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
In the reset state, setting rigid tapping retraction start signal RTNT to “1”
in JOG mode causes the rigid tapping M command to be output. For rigid
tapping retraction, specify neither gear switching nor orientation. Spindle
function strobe signal SF is also output if no S command has been
specified after power–on.
Spindle excitation
Retract movement
When rigid tapping retract is stopped, spindle enable signal ENB is set to
“0”, in the same way as for ordinary rigid tapping. Therefore, perform the
sequence for canceling rigid tapping. The CNC also automatically enters
the reset state when rigid tapping retract is stopped.
Signal
664
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G212 RTNT
#7 #6 #5 #4 #3 #2 #1 #0
F209 RTPT
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1602 G8S
NOTE
FAD(Fine acceleration/deceleration) cannot be applied for
spindle axes. When the advanced preview control is applied
for serial spindle, it is necessary to cancel the FAD(Fine
acceleration/deceleration) for servo axis.
#7 #6 #5 #4 #3 #2 #1 #0
5200 DOV
665
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
5203 RFF
Operation 1 Operation 1
Feedforward:Invalid Feedforward:Effect
Fine acc/dec:Invalid Fine acc/dec:Effect
f Z point f Z point
Operation 4 Operation 4
In–position width:Parameter No.5300 In–position width:Parameter No.5300
In case of the parameter No.5203#2(RFF)=0 In case of the parameter No.5203#2(RFF)=1
666
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
NOTE
This parameter is enabled only when the parameter used to
enable tool extraction (DOV: bit 4 of No. 5200) is set to 1.
Caution
CAUTION
1 If rigid tapping is stopped as a result of an emergency stop,
the position on the rigid tapping axis is maintained but the
spindle position is lost. In such a case, therefore, the
positional relationship between the spindle and rigid
tapping axis is not guaranteed when operation is resumed.
2 Rigid tapping retraction is performed based on the rigid
tapping axis commands accumulated for rigid tapping. If
rigid tapping is stopped as a result of an emergency stop,
therefore, rigid tapping retraction may fail to draw the rigid
tapping tool completely out of the workpiece.
3 During rigid tapping retraction, switching the mode to
manual mode stops rigid tapping retraction.
4 For rigid tapping retraction, the CNC internally activates a
return program. Rigid tapping retraction may, therefore,
cause some G codes or M/F/S codes to be overwritten
(G80/G84/G74, G94/G95, G30).
667
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Note
NOTE
1 Before making a rigid tapping return, make sure that the
machine has been reset and is in the JOG mode.
2 The machining data for rigid tapping retraction is maintained
until a rigid tapping command is subsequently specified,
even while the power is turned off. rigid tapping retraction
can, therefore, be specified even if the power has been
turned off after rigid tapping.
3 Rigid tapping retraction is not performed if the input
increments (inches or mm) selected when rigid tapping
return is specified differ from those selected when the
machining data for rigid tapping retraction was stored.
Reference item
OPERATOR’S MANUAL III.2.2 RIGID TAPPING
(B–63174EN)
9.5.7
Retraction for Tapping
Initial point
Retract
completion
R point point
Center of
tapping
Z point
668
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
M05
command
MF
FIN
M04 or
M03 command
S command
SF
Spindle speed
(min–1)
Retract movement
Tapping retraction
completion signal RTNT
669
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
D Description about the 1 After a reset has been performed, setting the tap return signal (RTNT)
timing chart to 1 in the JOG mode causes M05 to be output.
Do not attempt to perform gear shift and orientation during a tap
return.
2 After the spindle has stopped, returning FIN causes M03 (M04) and
the same S command as for when tapping is discontinued to be output.
3 Once the spindle has started, returning FIN triggers tap returning.
4 After tap returning is completed, M05 and S0 are output, and the tap
return completion signal (RTPT) becomes 1.
5 Returning FIN triggers a reset.
NOTE
If bit 6 (SFA) of parameter No. 3705 is 0, SF will not be output
unless a gear shift occurs.
Signal
Tapping retraction
completion signal RTPT
<F209#5> [Classification] Output signal
[Function] Notifies the completion of tapping retraction.
[Output condition] This signal is set to “1” in the following case:
S Tapping retraction has been completed.
This signal is set to “0” in the following case:
S Tapping retraction start signal has been set to “0”.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G212 RTNT
#7 #6 #5 #4 #3 #2 #1 #0
F209 RTPT
670
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Caution
CAUTION
1 If tapping is stopped as a result of an emergency stop, the
position on the tapping axis is maintained but the spindle
position is lost. In such a case, therefore, the positional
relationship between the spindle and tapping axis is not
guaranteed when operation is resumed.
2 Tapping retraction is performed based on the tapping axis
commands accumulated for tapping. If tapping is stopped
as a result of an emergency stop, therefore, tapping
retraction may fail to draw the tapping tool completely out of
the workpiece.
3 During tapping retraction, switching the mode to manual
mode stops tapping retraction.
4 For tapping retraction, the CNC internally activates a return
program. tapping retraction may, therefore, cause some G
codes or M/F/S codes to be overwritten (G80/G84/G74,
G94/G95, G30).
Note
NOTE
1 Before making a rigid tapping return, make sure that the
machine has been reset and is in the JOG mode.
2 The machining data for tapping retraction is maintained until
a tapping command is subsequently specified, even while
the power is turned off. Tapping retraction can, therefore,
be specified even if the power has been turned off after
tapping.
3 Tapping retraction is not performed if the input increments
(inches or mm) selected when tapping return is specified
differ from those selected when the machining data for
tapping retraction was stored.
Reference item
OPERATOR’S MANUAL III.2.1 CANNED CYCLE
(B–63174EN)
671
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
9.5.8
#7 #6 #5 #4 #3 #2 #1 #0
Parameter 1602 G8S
NOTE
FAD (Fine acceleration/deceleration) cannot be applied for
spindle axes. When the advanced preview control is applied
for serial spindle, it is necessary to cancel the FAD(Fine
acceleration/deceleration) for servo axis.
#7 #6 #5 #4 #3 #2 #1 #0
SFA NSF SGT SGB GST ESF
3705
NOTE
In the following cases, SF is not output:
· For an S command used to specify maximum spindle
speed clamping (G92S–––;) in constant surface speed
control mode
· When bit 5 (NSF) of parameter No. 3705 is set to 1
672
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
#7 #6 #5 #4 #3 #2 #1 #0
3706 TCW CWM ORM GTT PG2 PG1
1 0 0 Magnification =
2 0 1 Number of spindle revolutions
4 1 0 Number of position coder revolutions
8 1 1
NOTE
1 Type M:
The gear selection signal is not entered. In response to an
S command, the CNC selects a gear according to the speed
range of each gear specified beforehand in a parameter.
Then the CNC reports the selection of a gear by outputting
the gear selection signal. The spindle speed corresponding
to the gear selected by the gear selection signal is output.
Type T:
The gear selection signal is entered. The spindle speed
corresponding to the gear selected by this signal is output.
2 When the constant surface speed control option is selected,
type T is selected, regardless of whether this parameter is
specified.
673
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
ORM The polarity of the voltage used for spindle orientation is:
0 : Positive
1 : Negative
TCW,CWM The polarity of the voltage used for spindle speed output is listed below.
0:
1:
674
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Spindle motor
max. clamp speed
(Parameter No. 3736)
Spindle motor
min. clamp speed
(Parameter No. 3735) Spindle speed
command
Max. speed Max. speed Max. speed (S command)
at gear1 at gear2 at gear3
parameter parameter parameter
No. 3741 No. 3742 No. 3743
#7 #6 #5 #4 #3 #2 #1 #0
5101 M5B M5T RD2 RD1 FXY
M5T When a spindle rotates from the forward to the reverse direction and vice
versa in tapping cycles G84 and G74 for M series, befor M04 or M03 is
output:
0 : Outputs M05
1 : Not output M05
675
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
FHD PCP DOV CRG VGR G84
5200
#7 #6 #5 #4 #3 #2 #1 #0
5201 TDR
676
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
#7 #6 #5 #4 #3 #2 #1 #0
5203 RFF
Operation 1 Operation 1
Feedforward:Invalid Feedforward:Effect
Fine acc/dec:Invalid Fine acc/dec:Effect
f Z point f Z point
Operation 4 Operation 4
In–position width:Parameter No.5300 In–position width:Parameter No.5300
In case of the parameter No.5203#2(RFF)=0 In case of the parameter No.5203#2(RFF)=1
NOTE
The M code is judged to be 29 (M29) when “0” is set.
677
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
NOTE
The override value is valid when DOV in parameter No.
5200#4 is “1”.
When bit PCP in parameter No. 5200 is 0 When bit PCP in parameter No. 5200 is 1
(High–speed peck tapping cycle) (Peck tapping cycle)
q : Cutting q : Cutting
d : Return d : Clearance
ÄÄ R
ÄÄ R
ÄÄ ÄÄ
q point q point
ÄÄ ÄÄ
d d
ÄÄq
d
ÄÄ q
d
ÄÄ ÄÄ
ÄÄ
q q
Z Z
point point
678
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
NOTE
This parameter is valid when VGR, #1 of parameter No.
5200, is “1”.
Set the same value to parameter Nos. 5221 to 5223 when
the spindle has a position coder.
NOTE
This parameter is valid when VGR, #1 of parameter No.
5200, is “1”.
Set the same value to parameter Nos. 5231 to 5233 when
the spindle has a position coder.
A spindle motor incorporating the position coder uses a
position coder with 2048 pulses per revolution. In this case,
set the value that is two times as many as the actual number
of gear teeth (because of conversion to 4096 pulses per
revolution).
679
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
NOTE
In a system having one–stage gear, set the same value as
parameter No. 5241 to parameter No. 5243. In a system
having two–stage gear, set the same value as parameter
No. 5242 to parameter No. 5243. If it is not set as such, P/S
alarm no. 200 will be informed.
Linear acceleration/deceleration time constant for the spindle and tapping axis
5261 (first–stage gear)
Linear acceleration/deceleration time constant for the spindle and tapping axis
5262 (second–stage gear)
Linear acceleration/deceleration time constant for the spindle and tapping axis
5263 (third–stage gear)
680
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Time constant for the spindle and tapping axis in extraction operation (first–stage gear)
5271
Time constant for the spindle and tapping axis in extraction operation
5272 (second–stage gear)
Time constant for the spindle and tapping axis in extraction operation (third–stage gear)
5273
NOTE
The time constant is valid when TDR, #2 of parameter No.
5201, is “1”.
Position control loop gain for the spindle and tapping axis in rigid tapping
5280 (common to all gears)
NOTE
To change the loop gain for every gear, set this parameter
value to “0” and set the loop gain for every gear to parameter
Nos. 5281 through 5283. If this parameter value is not “0”,
the loop gain for every gear is invalidated. This parameter
then becomes a loop gain that is used in common for all
gears.
681
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Position control loop gain for the spindle and tapping axis in rigid tapping
5281 (first–stage gear)
Position control loop gain for the spindle and tapping axis in rigid tapping
5282 (second–stage gear)
Position control loop gain for the spindle and tapping axis in rigid tapping
5283
(third–stage gear)
NOTE
To set the loop gain for every gear, set parameter No. 5280
to “0”.
682
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Spindle loop gain multiplier in the rigid tapping mode (for gear 1)
5291
Spindle loop gain multiplier in the rigid tapping mode (for gear 2)
5292
Spindle loop gain multiplier in the rigid tapping mode (for gear 3)
5293
NOTE
These parameters are used for analog spindles.
E
Loop gain multiplier = 2048 a 1000
L
where;
E: Voltage in the velocity command at 1000 min–1
L: Rotation angle of the spindle per one rotation of the
spindle motor
a: Unit used for the detection
683
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Example)
NOTE
When the position coder which is built in a spindle motor
sends 512 pulses per rotation, the unit used for the
detection, α, is La/2048.
684
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
CAUTION
The broad in–position width deteriorates the screw
precision.
Positional deviation limit imposed during tapping axis movement in rigid tapping
5310
WARNING
The setting value is represented in a 10–times unit when a
high–resolution transducer is used.
685
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
Example)
NOTE
The detection unit is α=La/2048 when the position coder
built–in spindle motor uses a position coder of 512 pulses
per revolution.
Positional deviation limit imposed while the tapping axis is stopped in rigid tapping
5312
686
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Positional deviation limit imposed while the spindle is stopped in rigid tapping
5313
9.5.9
Alarm and Message Number Message Description
687
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
410 SERVO ALARM: n–TH The position deviation value when the
AXIS – EXCESS ERROR n–th axis (axis 1–2 of rigid tapping axis)
stops is larger than the set value.
Note) Limit value must be set to param-
eter No.5312 for each axis.
411 SERVO ALARM: n–TH The position deviation value when the
AXIS – EXCESS ERROR n–th axis (axis 1–2 of rigid tapping axis)
moves is larger than the set value.
Note) Limit value must be set to param-
eter No. 5310 or 5314 for each axis.
413 SERVO ALARM: n–th The contents of the error register for the
AXIS – LSI OVERFLOW n–th axis (axis 1–2 of rigid tapping axis)
are beyond the range of –231 to 231.
This error usually occurs as the result of
an improperly set parameters.
740 RIGID TAP ALARM; EX- Position deviation value of spindle at
CESS ERROR move exceeded a set value during
rigid tapping.
742 RIGID TAP ALARM; LSI LSI overflow has occurred on the
OVER FLOW spindle side during rigid tapping.
9.5.10
Notes
NOTES ON SPINDLES
CAUTION
1 When using an analog spindle, set the spindle speed offset
value parameter (No. 3731) accurately. For the standard
system, a value within –8191 to 8191 must be specified in
this parameter. To perform rigid tapping, a value within
–1023 to 1023 must be specified.
If the spindle speed offset is set inaccurately, the spindle is
stopped and placed in in–position wait state when tapping
is started.
In rigid tapping with a serial spindle, no setting is required
for parameter No. 3731. Be sure to set 0.
2 When the synchronous feed functions is enabled, the actual
spindle speed during rigid tapping is indicated correctly.
When an arbitrary gear ratio is used (by setting bit 1 (VGR)
of parameter No. 5200 to 1), however, the actual spindle
speed will not be indicated correctly in normal spindle mode.
688
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
NOTE
1 A spindle pitch error is not compensated for in rigid tapping
mode. Drift compensation is not made with an analog
spindle.
2 The maximum number of pulses that can be distributed to
the spindle is:
⋅ 32,767 pulses per 8 msec for a serial spindle
⋅ 4,096 pulses per 8 msec for an analog spindle
(This information is displayed by selecting No. 451 on the
diagnosis screen.)
These values vary with the position coder gear ratio setting
and rigid tapping specification. If a value greater than the
maximum allowable number is specified, P/S alarm No. 202
is issued.
Notes on using
functions such as the
spindle positioning CAUTION
When the spindle orientation function is to be used at the
function at the same
same time
time
The spindle orientation function positions the spindle by
using sensors and the PMC, without being directly
controlled by the CNC.
The CNC has no direct control over this processing, instead
following the specifications of the spindle orientation
function being used.
Position control loop In rigid tapping, the loop gain of the tapping axis is switched so that the
gain switching and serial loop gains for position control of the tapping axis and spindle match each
spindle parameters other.
Accordingly, to perform rigid tapping with a serial spindle, the loop gain
for position control of the spindle must be set in the serial spindle
parameters used for rigid tapping.
The parameters indicated below are the major serial spindle parameters
required for the setting and adjustment needed to use a serial spindle.
689
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
4044 Proportional gain of the velocity loop in servo mode (gear 1, gear 2)
[Unit of data]
[Valid data range] 0 to 32767
Set a proportional gain for the velocity loop in a servo mode (such as rigid
tapping mode).
4052 Integral gain of the velocity loop in the servo mode (gear 1, gear 2)
[Unit of data]
[Valid data range] 0 to 32767
Set an integral gain of the velocity loop in a servo mode (such as rigid
tapping mode).
690
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
CAUTION
Set a loop gain for spindle position control in rigid tapping
using a serial spindle. In these parameters, basically, set
the same values as those set in parameters Nos. 5280 and
5281 to 5283 (loop gains for position control of the tapping
axis).
Which serial spindle parameter (i.e., loop gain) is actually
used to operate the spindle depends on the serial spindle
clutch/gear selection signals CTH1 and CTH2 (G070#3, #2.
Accordingly, which parameter is to be used must be
determined by considering the gear switching and PMC
software.
The table below indicates the relationship between the spindle gear
selection signals and selected gear numbers.
CTH1 CTH2 Gear selected Parameter No. to be used
0 0 HIGH 4065
4044 4052
0 1 MEDIUM HIGH 4066
9.5.11
Reference Item OPERATOR’S MANUAL III.2.2 RIGID TAPPING
(B–63174EN)
691
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
9.6
RIGID THREADING
FOR CHASER TOOL
Outline The threading cycle using a chaser tool performs cutting from point R to
the end point in the rigid mode and returns to the initial point by rapid
traverse. At the same time, this cycle controls the opening and losing of
a chaser tool.
Format
M29S ;
G78
XxRrQqFf;
G79
G80;
G78: Forward threading cycle
G79: Reverse threading cycle
G80: Canned cycle cancel
X: End point of threading
r: Start point of threading
q: Specification of a chaser open control position by
distance from point X
f: Cutting feedrate (mm/min or inch/min)
Explanation 1 The rigid mode is set by specifying ”M29 S_;” before a G78/G79
block. At the same time, the chaser is closed by turning off the chaser
open signal (CTOPN).
2 G78/G79 operation
Initial point
Å
À
Ä
Point R
Á
Ã
Â
Q
Point X
692
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
#7 #6 #5 #4 #3 #2 #1 #0
G212 CTCHK
#7 #6 #5 #4 #3 #2 #1 #0
G061 RGTAP
#7 #6 #5 #4 #3 #2 #1 #0
F209 CTOPN
693
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
9.7
SPINDLE
ORIENTATION
General This function stops the spindle at a specified position. The spindle can
be stopped in either of the following two ways.
· The spindle is mechanically stopped by using stoppers.
· The spindle is stopped by applying a function of the spindle control
unit.
Mechanical stop To mechanically stop the spindle by using, for example, a stopper, rotate
the spindle at a constant low speed and drive a stopper or pin into the
spindle. The spindle can be rotated at a constant speed by applying either
of the following methods.
· Spindle orientation signal (See 9.3, “Spindle Control.”)
· Spindle output control by the PMC (See 15.4.)
Using the spindle Some spindle control units can position the spindle motor by using
control unit sensors and position coders. The CNC itself does not control positioning
by using these units.
Serial spindle orientation In serial spindle orientation by a position coder, the stop position is
by a position coder specified either by a parameter or by the PMC (spindle orientation
function with the stop position externally set).
Signal
Spindle orientation
signals with the stop
position externally set
SHA00 to SHA11
<G078, G079>
[Classification] Input signal
[Function] This command is used for specifying a stop position with an absolute
position within one rotation in the following equation:
360 n
= ȍ (2i Pi)
4096 i=0
where
Pi = 0 when SHAi = 0
Pi = 1 when SHAi = 1
694
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G078 SHA07 SHA06 SHA05 SHA04 SHA03 SHA02 SHA01 SHA00
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
OR1
3702
Caution
CAUTION
1 To perform spindle orientation by using the spindle control
unit, the signals of the spindle control unit must be used.
To perform serial spindle orientation by using a position
coder (to perform serial spindle orientation with the stop
position set externally), the serial spindle control unit signals
must be used.
2 When the spindle orientation function of stop position
external setting type is used, the stop position parameters
in spindle orientation with a position coder (No. 4031 and
4204) are invalid.
Reference item
FANUC SERVO Position coder method spindle orientation
AMPLIFIER αi/βi series Magnetic sensor method spindle orientation
DESCRIPTIONS
(B–65272EN)
695
9. SPINDLE SPEED FUNCTION (Power Mate i–D) B–63173EN–1/02
9.8
SPINDLE OUTPUT
SWITCHING
General Spindle output switching switches between the two windings, one for low
speed and the other for high speed, incorporated into the special spindle
motors. This ensures that the spindle motor demonstrates stable output
characteristics over a wide range.
Since spindle output switching is a function of the spindle control unit,
see also the manual for the spindle control unit being used.
This section describes the relationship between spindle output switching
and the spindle control function in the CNC.
Operation of To switch the spindle output characteristics, the windings are usually
output–switchable switched using a relay. Prior to the completion of winding switching, the
spindle motor spindle rotates free from drive.
Output switching changes the relationship between a speed command,
issued from the CNC to the spindle, and the output characteristics of the
spindle motor. However, the relationship between the speed command
and spindle motor speed is not changed.
Output switching timing During actual machining, the spindle is usually controlled in the
following way.
(1) Constant spindle speed during cutting, such as milling
(2) Continuously changing spindle speed during cutting, such as in
constant surface speed control
(3) Controlling the position loop including the spindle motor during rigid
tapping, etc.
For applications such as those in (1), we recommend switching the output
characteristics for low speed and high speed by using the spindle motor
speed detection signal of the spindle control unit.
For applications such as those described in (2) and (3), the spindle shall
not rotate with no drive applied during cutting or positioning. It is
necessary for the output characteristics to be switched appropriately
before machining or for output switching to be masked by using a PMC
ladder sequence.
Output switching and Spindle output switching ensures that the spindle motor demonstrates
gear switching stable characteristics over a wide range, and eliminates the mechanical
spindle gear switching mechanism.
In creating a PMC ladder sequence for output switching, however, using
the gear switching of the CNC’s spindle control function (see 9.3) may
facilitate programming.
Note the following points when using gear switching for CNC spindle
control for output switching with a machine tool having no mechanical
gear switching mechanism.
696
B–63173EN–1/02 9. SPINDLE SPEED FUNCTION (Power Mate i–D)
D When gear selection output signals, GR2O and GR1O <F034 #0, #1>,
are used (in which constant surface speed control is not provided and
GTT, bit 4 of parameter No. 3706, is set to 0)
Set two gears, which are almost the same.
(Example: Value of parameter No. 3741 = value of parameter No.
3742 – 1, value of No. 3742 = Maximum spindle speed)
When parameter No. 3741 is equal to parameter No. 3742, the CNC
judges that one gear is used, and does not output the GR2O signal.
D The parameters related to gear switching points, SGT, bit 3 of
parameter No. 3705, and SGB, bit 2 of parameter No. 3761, parameter
Nos. 3761 and 3751 can be used.
D In usual spindle control, depending on the speed at switching points,
the speed specified by the spindle speed command may differ slightly
from the actual speed in the area where the maximum spindle speed
is set to the maximum speed "1. (This is because the spindle motor
speed, specified by the speed command, is calculated based on the
settings of parameter Nos. 3741 to 3744.)
This does not apply to rigid tapping. (Because the machine tool is
controlled using the feedback signal from the detector in the position
loop.)
D When gear selection input signals, GR1 and GR2 <G028 #1, #2>, are
used (in which constant surface speed control is provided or GTT, bit
4 of parameter No. 3706, is set to 1)
Parameter settings are read according to the input signal information.
Unlike the GR2O and GR1O signals, these signals do not require
special parameter settings.
Example) When parameters Nos. 3741 and 3742 are set to the maximum
spindle speed.
Create a PMC sequence that specifies the following.
For gear 1, set GR1 and GR2 to 0.
For gear 2, set GR2 to 0 and set GR1 to 1.
The PMC must determine the switching timing on the basis of some
information.
Reference item
CONNECTION MANUAL 9.3 Spindle control
(This manual) 9.5 Rigid tapping
697
10. TOOL FUNCTIONS B–63173EN–1/02
10 TOOL FUNCTIONS
698
B–63173EN–1/02 10. TOOL FUNCTIONS
10.1
TOOL FUNCTION
General Selection of tools can be done by commanding tool numbers with up to
an 8-digit numeral after address T.
When a T code is specified, the code signal and strobe signal correspond-
ing to the specified tool number are issued. The machine selects a tool
according to the issued signals. The code signal is held until another T
code is specified.
Parameter
3032 Allowable number of digits for the T code
Note
NOTE
When a move command and a tool function are specified in
the same block, the commands are executed in one of the
following two ways:
(i) Simultaneous execution of the move command and tool
function commands.
(ii) Executing tool function commands upon completion of
move command execution.
The selection of either (i) or (ii) depends on the sequence
program of PMC.
Reference item
OPERATOR’S MANUAL II.9.1 TOOL SELECTION FUNCTION
(B–63174EN)
699
10. TOOL FUNCTIONS B–63173EN–1/02
10.2
TOOL COMPENSATION VALUE/
TOOL COMPENSATION NUMBER/
TOOL COMPENSATION MEMORY
General
ÇÇ
Standard position
Tool com-
ÇÇ
ÇÇ
pensation
value
ÇÇ
Fig. 10.2(a) Tool compensation value
Tool compensation values can be entered into CNC memory from the
MDI panel or from a program.
A tool compensation value is selected from the CNC memory when the
corresponding code is specified after address H in a program.
The value is used for tool length compensation.
D Range of tool Tool offset amount range which can be set is as follows:
compensation value
Tool compensation
Increment system
Metric input Inch input
IS-A "999.99mm "99.999inch
IS-B "999.999mm "99.9999inch
IS-C "999.9999mm "99.99999inch
D Tool compensation The memory can hold 99 sets of tool compensation values.
number
TOO MANY DIGITS The input value exceeds the permitted number of
digits.
700
B–63173EN–1/02 10. TOOL FUNCTIONS
Reference item
OPERATOR’S MANUAL II 12.2 TOOL COMPENSATION VALUES,
(B–63174EN) NUMBER OF COMPENSATION VAL-
UES, AND ENTERING VALUES
FROM THE PROGRAM (G10)
701
11. PROGRAM COMMAND B–63173EN–1/02
11 PROGRAM COMMAND
702
B–63173EN–1/02 11. PROGRAM COMMAND
11.1
DECIMAL POINT
PROGRAMMING/
POCKET
CALCULATOR
TYPE DECIMAL
POINT
PROGRAMMING
General Numerical values can be entered with a decimal point. A decimal point
can be used when entering a distance, time, or speed. Decimal points can
be specified with the following addresses:
X, Y, Z, U, V, W, A, B, C, I, J, K, Q, R, F
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3401 DPI
703
11. PROGRAM COMMAND B–63173EN–1/02
Reference item
OPERATOR’S MANUAL II.8.3 Decimal point programming
(B–63174EN)
704
B–63173EN–1/02 11. PROGRAM COMMAND
11.2
PROGRAM
CONFIGURATION
Components Descriptions
Leader section
M30 ;
% Tape end
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0100 CTV
705
11. PROGRAM COMMAND B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
3201 NPE N99
#7 #6 #5 #4 #3 #2 #1 #0
3404 EOR
Reference item
OPERATOR’S MANUAL II.11 Program Configuration
(B–63174EN)
706
B–63173EN–1/02 11. PROGRAM COMMAND
11.3
CUSTOM MACRO
11.3.1
Custom Macro
General Although subprograms are useful for repeating the same operation, the
custom macro function also allows use of variables, arithmetic and logic
operations, and conditional branches for easy development of general
programs such as pocketing and user–defined canned cycles. A
machining program can call a custom macro with a simple command, just
like a subprogram.
O0001 ; O9010 ;
: #1=#18/2 ;
: G01 G42 X#1 Y#1 F300 ;
: G02 X#1 Y–#1 R#1 ;
G65 P9010 R50.0 L2 ; :
: :
: :
M30 ; M99 ;
r β
α
Bolt hole circles as shown in the above figure can be made easily.
Once a custom macro body for the bolt hole circle is programmed and
registered, the CNC can operate as if it has the bolt hole circle cutting
function.
Programmers can use the bolt hole circle function by using the following
command only:
(Example of calling bolt hole circle)
G65 P p R r A α Bβ K k ;
707
11. PROGRAM COMMAND B–63173EN–1/02
Signal
ȍ{#[1100 ) i]
15
ȍ{2
30
*2: Variable value #1133, #1033, #1035 + i
Vi}–2 31 V 31
i+0
Where Vi=0 when Ul0i, Ul1i, Ul2i, Ul3i (i;0 to 31) is ”0”,
Vi=1 when Ul0i, Ul1i, Ul2i, Ul3i (i;0 to 31) is ”1”
Note) When a paramter No.6001#0(MIF) is set 1, input signal to extend is
effective by using PMC–SB6.
708
B–63173EN–1/02 11. PROGRAM COMMAND
ȍ{#[1100 ) i]
15
ȍ{2
30
*2 Variable value #1132, #1133, #1134, #1135 + i
V i}–2 31 V31
i+0
Where Vi=0 when UO0i, UO1i, UO2i, UO3i (i;0 to 31) is ”0”,
Vi=1 when UO0i, UO1i, UO2i, UO3i (i;0 to 31) is ”1”
709
11. PROGRAM COMMAND B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G054 UI007 UI006 UI005 UI004 UI003 UI002 UI001 UI000
710
B–63173EN–1/02 11. PROGRAM COMMAND
#7 #6 #5 #4 #3 #2 #1 #0
F284 UO307 UO306 UO305 UO304 UO303 UO302 UO301 UO300
Parameter
D Other settings
#7 #6 #5 #4 #3 #2 #1 #0
6001 CLV CCV TCS CRO PV5 PRT MIF
711
11. PROGRAM COMMAND B–63173EN–1/02
6011 =7 =6 =5 =4 =3 =2 =1 =0
6012 #7 #6 #5 #4 #3 #2 #1 #0
6013 [7 [6 [5 [4 [3 [2 [1 [0
6014 ]7 ]6 ]5 ]4 ]3 ]2 ]1 ]0
712
B–63173EN–1/02 11. PROGRAM COMMAND
6051 G code that calls the custom macro of program number 9011
6052 G code that calls the custom macro of program number 9012
6053 G code that calls the custom macro of program number 9013
6054 G code that calls the custom macro of program number 9014
6055 G code that calls the custom macro of program number 9015
6056 G code that calls the custom macro of program number 9016
6057 G code that calls the custom macro of program number 9017
6058 G code that calls the custom macro of program number 9018
6059 G code that calls the custom macro of program number 9019
NOTE
Setting value 0 is invalid. No custom macro can be called
by G00.
713
11. PROGRAM COMMAND B–63173EN–1/02
NOTE
Setting value 0 is invalid. No custom macro can be called
by M00.
6081 M code that calls the custom macro of program number 9021
6082 M code that calls the custom macro of program number 9022
6083 M code that calls the custom macro of program number 9023
6084 M code that calls the custom macro of program number 9024
6085 M code that calls the custom macro of program number 9025
6086 M code that calls the custom macro of program number 9026
6087 M code that calls the custom macro of program number 9027
6088 M code that calls the custom macro of program number 9028
6089 M code that calls the custom macro of program number 9029
NOTE
Setting value 0 is invalid. No custom macro can be called
by M00.
6091 ASCII code that calls the subprogram of program number 9005
NOTE
Set 0 when no subprogram is called
714
B–63173EN–1/02 11. PROGRAM COMMAND
715
11. PROGRAM COMMAND B–63173EN–1/02
Caution
CAUTION
Machine tool builders: You are requested to attach your
custom macro program tape or program list to the CNC unit
without fail.
If it is necessary to replace part program storage memory
due to a failure, FANUC servicemen or end user in charge
of maintenance should know the contents of your custom
macro for the purpose of repairing the trouble immediately.
Reference item
OPERATOR’S MANUAL II.13 Custom macro
(B–63174EN)
716
B–63173EN–1/02 11. PROGRAM COMMAND
11.3.2
Interruption Type
Custom Macro
Use of the interruption type custom macro function allows the user to call
a program during execution of an arbitrary block of another program.
This allows programs to be operated to match situations which vary from
time to time.
M96
Pxxxx;
Interrupt
signal O xxxx;
(UINT)*
Interrupt
signal
(UINT)*
M99 (Pffff);
Nffff;
M97 Interrupt
; signal
(UINT)*
717
11. PROGRAM COMMAND B–63173EN–1/02
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G053 UNIT
Parameter
718
B–63173EN–1/02 11. PROGRAM COMMAND
NOTE
These parameters can be used when MPR, #4 of parameter
No. 6003, is 1. M96 is used as a valid M code and M97 is
used as an invalid M code when MPR is 0, irrespective of the
state of this parameter.
Reference item
OPERATOR’S MANUAL II.13.11 Interruption type custom macro
(B–63174EN)
719
11. PROGRAM COMMAND B–63173EN–1/02
11.4
CANNED CYCLE
(Power Mate i–D)
General Canned cycles make it easier for the programmer to create programs.
With a canned cycle, a frequently–used machining operation can be
specified in a single block with a G function; without canned cycles,
normally more than one block is required. In addition, the use of canned
cycles can shorten the program to save memory.
Operation 1
Initial level
Operation 2 Operation 6
Point R level
Operation 5
Operation 3
Rapid traverse
Operation 4
Feed
720
B–63173EN–1/02 11. PROGRAM COMMAND
SPINDLE CONTROL In some canned cycles, a spindle command to rotate the spindle in reverse
direction may be output.
721
11. PROGRAM COMMAND B–63173EN–1/02
X, Y
Z
Z
Z
Dwell Dwell
(Note) (Note)
Note) It is possible to not output M05 M03 M05 M04
M05 code by using parame-
ter M5T (No. 5101#6). MF MF MF MF Next block
X, Y X or Y
Z
Z
Dwell
(Note)
M05 M19 M03
MF MF Return to ini- MF
Note) It is possible to not output tial level
M05 code by using parame-
ter M5B (No. 5101#7).
FIN FIN FIN
Next block
D G84 (tapping cycle)
X, Y
Z
Z
Dwell Dwell
(Note) (Note)
722
B–63173EN–1/02 11. PROGRAM COMMAND
X, Y
M05 M03
MF MF
FIN FIN
Next block
X or Y X or Y
X, Y
X or Y
Z
Z
Dwell
(Note 2)
(Note 2)
M05 M19
M03 M05 M19 M03
MF MF MF MF MF MF
D G88 (Boring cycle) (Note 1) Back boring cycle is not used in G99 mode but in
G98 mode.
X, Y
Z
Dwell Z
M05 M03
MF MF
Return to initial level
FIN FIN
723
11. PROGRAM COMMAND B–63173EN–1/02
Tapping signal During a tapping cycle, the tapping signal is output. The tapping signal
is also output while the G code of the tapping cycle is valid.
Feed hold When the feed hold key is pressed during tapping, the movement is not
stopped immediately but the movement is stopped when the tool is
returned to level R.
Dry run The TDR bit (bit 5 of parameter No. 1401) specifies whether dry run is
valid during tapping.
Signal
Tapping signal
TAP <F001#5>
[Classification] Output signal
[Function] Reports that the system is in tapping mode.
[Output condition] The signal is set to 1 when:
– The system is in tapping cycle mode.
G74, G84
The signal is set to 0 when:
– The system is not tapping mode.
– A reset or emergency stop is specified.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F001 TAP
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
M5B M5T RD2 RD1 FXY
5101
724
B–63173EN–1/02 11. PROGRAM COMMAND
RD2, RD1 Set the axis and direction in which the tool in drilling canned cycle G76 or
G87 is got free. RD2 and RD1 are set as shown below by plane selection.
RD2 RD1 G17 G18 G19
0 0 +X +Z +Y
0 1 –X –Z –Y
1 0 +Y +X +Z
1 1 –Y –X –Z
M5T When a spindle rotates from the forward to the reverse direction and vice
versa in tapping cycles G84 and G74, before M04 or M03 is output:
0 : Outputs M05
1 : Not output M05
M5B In drilling canned cycles G76 and G87:
0 : Outputs M05 before an oriented spindle stops
1 : Not output M05 before an oriented spindle stops
G73
q : Depth of cut
d : Return value
R point
q
d
q
d
Z point
725
11. PROGRAM COMMAND B–63173EN–1/02
G83
q : Depth of cut
d : Clearance value
R point
q
d
q
d
Z point
Note
NOTE
A parameter FXY (No. 5101#0) can be set to the 1st axis
always used as the drilling axis.
Reference item
OPERATOR’S MANUAL III.2.1 Canned cycle
(B–63174EN)
726
B–63173EN–1/02 11. PROGRAM COMMAND
11.5
MACRO COMPILER/
MACRO EXECUTOR
General There are two types of NC programs; those which, once created, are
scarcely changed, and those which are changed for each machining type.
The former are programs created by the custom macro, and the latter are
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
stored in the FLASH ROM module, and be executed.
Features
(1) Since the program is stored after converted to an execute-form
program, the execution speed is high. The machining time is then
reduced, and the precision is improved.
(2) Since the program is stored in FLASH ROM, there is no problem of
battery extinction or custom macro destruction by error operation.
The reliability is improved.
(3) Since the stored program is not displayed on a program screen, the
know-how of the machine tool builder is protected.
(4) Since the custom macro is stored in FLASH ROM, the program edit
memory can be used efficiently.
(5) The user can call the macro easily without knowing the stored
program. A custom macro can be created and executed in the program
edit memory as usual.
(6) 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.
Reference item
Macro compiler/executer programming manual (B–62093E–1)
727
11. PROGRAM COMMAND B–63173EN–1/02
11.6
C EXECUTOR
11.6.1 FANUC Power Mate i–MODEL D/H C Executor enables to add the
General machine tool builder’s original screen into FANUC Power Mate and to
customize screen displaying and operation interface of CNC software. It
is possible to replace arbitrary screens of CNC with user application’s
screen. The user application program about screen displaying and
operation interface is developed using general C language just like
ordinary PC’s application program developing. The executable file that
is developed by the Machine Tool Builder is built in CNC unit. The user
program that is compiled on PC is stored in flash ROM of CNC unit, and
it is read into CNC’s memory by CNC’s start up procedure, then, executed
on the C executor.
728
B–63173EN–1/02 11. PROGRAM COMMAND
Parameters Symbols
CM1 CRT_USR_AUX
CM2 CRT_USR_MCR
CM3 CRT_USR_MENU
11.6.3
Parameter #7 #6 #5 #4 #3 #2 #1 #0
3195 RENM1 CHGCS
RENM1 When the ”GRPH” is selected as the key to switch to the application
screen of FANUC PICTURE, the key top display is
0 : ”GRPH”.
1 : ”OPER”.
729
11. PROGRAM COMMAND B–63173EN–1/02
NOTE
Set ”0” to the parameter No. 3195#0 when the CRT/MDI or
separated type MDI is used.
And, set the following screen number when the screen
switching to FANUC PICTURE screen is operated by the
”CUST/GRPH” key of CRT/MDI or separated type MDI.
Symbol Soft key number
CRT_USR_AUX 0x0105 USER (small key)–AUX
CRT_USR_MCR 0x0205 USER (small key)–MACRO
CRT_USR_MENU 0x0305 USER (small key)–MENU
#7 #6 #5 #4 #3 #2 #1 #0
8650 CNA RSK
NOTE
The change of the set data becomes effective after the next
power on.
#7 #6 #5 #4 #3 #2 #1 #0
8653 CM3 CM2 CM1
730
B–63173EN–1/02 11. PROGRAM COMMAND
CM3 When the [CUSTOM/GRAPH] key is pushed, the user screen that was
defined as CRT_USR_MENU
0 : Is not displayed.
1 : Is displayed.
Symbols in a source file set which user screen is displayed. The following
table shows relation between symbols and parameters.
Parameter Symbol
CM1 CRT_USR_AUX
CM2 CRT_USR_MCR
CM3 CRT_USR_MENU
NOTE
1 If you have Macro Executor option, these parameters are
invalid.
2 If virtual keys of the LCD unit with a touch panel are used,
whether the [CUST] key or [GRPH] key of the virtual MDI
unit is used can be selected at the time of switching to the
FANUC PICTURE screen by setting bit 0 of parameter No.
3195.
NOTE
When this value is changed, the contents of variable areas
and a SRAM Disk are initialized. The change of the set data
becomes effective after the next power on.
731
11. PROGRAM COMMAND B–63173EN–1/02
NOTE
When this value is changed, a SRAM Disk is initialized. The
change of the set data becomes effective after the next
power on.
NOTE
The change of the set data becomes effective after the next
power on.
732
B–63173EN–1/02 11. PROGRAM COMMAND
The table below indicates the values that can be set with the options of the
C executor and FANUC PICTURE.
C executor with an added C executor with an added Touch panel control (FANUC
Setting C executor
program size of 1 MB program size of 2 MB PICTURE)
16 f
32 f f
48 f f
96 f
96 f f
112 f f f
128 f f f
NOTE
D After this parameter has been set, the power must be turned
off then back on for the setting to become effective.
D The actually usable size is limited by the DRAM size and
installed options.
11.6.4
Reference item FILE NAME
733
12. DISPLAY/SET/EDIT B–63173EN–1/02
12 DISPLAY/SET/EDIT
734
B–63173EN–1/02 12. DISPLAY/SET/EDIT
12.1
DISPLAY/SET
12.1.1
Clock Function
Variable Function
number
#3011 This variable can be used to read the current date (year/month/
day). Year/month/day information is converted to an apparent
decimal number. For example, Janualy 23, 2005 is represented
as 20050123.
#3012 This variable can be used to read the current time (hours/min-
utes/seconds). Hours/minutes/seconds information is con-
verted to an apparent decimal number. For example, 34 minutes
and 56 seconds after 3 p.m. is represented as 153456.
Reference item
OPERATOR’S MANUAL V.11.4.4 Displaying and Setting Run
(B–63174EN) Time,Parts Count, and Time
735
12. DISPLAY/SET/EDIT B–63173EN–1/02
12.1.2
Displaying Operation
History
General This function displays a history of the key and signal operations, performed by
the CNC operator, upon the occurrence of a failure or CNC alarm. The history
can also be displayed for previously generated CNC alarms.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3106 OHS OHD
#7 #6 #5 #4 #3 #2 #1 #0
3112 OPH
NOTE
To put this parameter setting in effect, switch the power off
then back on again.
736
B–63173EN–1/02 12. DISPLAY/SET/EDIT
Note
NOTE
1 While the operation history screen is displayed, history data
is not recorded.
2 When the duration of the on/off state of an input signal is 16
msec or shorter, that state is not recorded in the history. In
addition, note that some signals are not recorded in the
history.
3 Once the memory area becomes full, the oldest data is
deleted to allow new data to be recorded. The memory area
can store information corresponding to approximately 8000
key strokes.
4 Recorded history data is held in memory even after the
power is turned off. Note, however, that the history data is
erased by performing an entire–memory clear operation.
5 For the operation history function, sampling is disabled
when bit 7 (OHS) of parameter No. 3106 is set to 1.
6 Be careful to set the date and time correctly.
When the time is recorded at regular intervals, but no data
is recorded within a defined period, the time for that period
is not recorded.
737
12. DISPLAY/SET/EDIT B–63173EN–1/02
12.1.3
Help Function
General The help function displays on the screen detailed information about
alarms issued in the CNC and about CNC operations. The following
information is displayed.
D Detailed information of When the CNC is operated incorrectly or an erroneous machining
alarms program is executed, the CNC enters the alram state. The help screen
displays detailed information about the alarm that has been issued and
how to reset it. The detailed information is displayed only for a limited
number of P/S alarms. These alarms are often misunderstood and are
rather difficult to understand.
D Operation method If you are not sure about a CNC operation, refer to the help screen for
information about each operation.
D Parameter table When setting or referring to a system parameter, if you are not sure of the
number of the parameter, the help screen displays a list of parameter Nos.
for each function.
Note
NOTE
The user cannot switch the screen display from the PMC
screen or CUSTOM screen to the help screen.
Reference item
OPERATOR’S MANUAL V.12 HELP FUNCTION
(B–63174EN)
12.1.4
Displaying Alarm
History
General Up to 25 of the most recent CNC alarms are stored and displayed on the
screen.
The following information items are displayed.
(1) The date the alarm was issued
(2) Alarm No.
(3) Alarm message (some contains no message)
Reference item
OPERATOR’S MANUAL V.7.2 ALARM HISTORY DISPLAY
(B–63174EN)
738
B–63173EN–1/02 12. DISPLAY/SET/EDIT
12.1.5
Servo Tuning Screen
General On the servo tuning screen, parameters required for basic adjustment of
the servo motor and statuses being monitored are listed for each axis.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3111 SVS
Reference item
MAINTENANCE MANUAL 5.2 Servo Tuning Screen
(B–63175EN)
12.1.6
Spindle Setting and
Tuning Screen
(Power Mate i–D only)
General On the spindle setting and tuning screen, parameters required for basic
adjustment of the serial spindle and statuses being monitored are listed.
The screen is only for the main spindle connected to the first amplifier.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3111 SVP SPS
Reference item
MAINTENANCE MANUAL 6.4 Spindle setting and tuning screen
(B–63175EN)
739
12. DISPLAY/SET/EDIT B–63173EN–1/02
12.1.7
Self–diagnosis
General When a breakdown occurs, in order to quickly determine the cause, the
following should be done.
There are times when it appears that a breakdown has occurred even when
the breakdown has not actually occurred. For example, when the
machinery ceases to operate because it is waiting for an external signal.
In this case, the condition of the interface between the CNC and PMC, or
between the CNC and the machinery, and the conditions within the CNC
need to be investigated.
Reference item
OPERATOR’S MANUAL V.7.3 CHECKING BY SELF–DIAGNOSTIC
(B–63174EN) SCREEN
740
B–63173EN–1/02 12. DISPLAY/SET/EDIT
12.1.8
Display of Hardware
and Software
Configuration
General The required hardware/software configuration for CNC maintenance can
be displayed on the screen.
Reference item
MAINTENANCE MANUAL 1.3 System Configuration Screen
(B–63175EN)
741
12. DISPLAY/SET/EDIT B–63173EN–1/02
12.1.9
Run Hour and Parts
Count Display
General This function displays the integrated power–on time, the integrated cycle
operation time, the integrated cutting time and timer (started by an input
signal from PMC) on the screen. The integrated cycle operation time, the
integrated cutting time 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 machined on the screen. Each time M02, M30 or a parameter set
M code is executed, the count of the total number of parts machined and
the number of parts machined 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 machined 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 machined using MDI.
Signal
742
B–63173EN–1/02 12. DISPLAY/SET/EDIT
General–purpose
integrating meter start
signal
TMRON <G053#0>
[Classification] Input signal
[Function] The CNC has an integrating meter which is started by an input signal from
the PMC, as well as integrating meters for counting the automatic
operation time and counting cutting time. The count for this integrating
meter can be displayed on the screen. The count can be preset by MDI
operation.
[Operation] When the signal is set to 1, the integrating meter starts counting.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G053 TMRON
#7 #6 #5 #4 #3 #2 #1 #0
F062 PRTSF
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6700 NCT PCM
6710 M code that counts the total number of machined parts and the number of
machined parts
NOTE
Set value 0 is invalid (the number of parts is not counted for
M00). Data 98 and 99 cannot be set.
743
12. DISPLAY/SET/EDIT B–63173EN–1/02
NOTE
When bit 0 (PCM) of parameter No. 6700 is set to 1, the
number of parts is not counted with M02 and M30.
NOTE
When bit 0 (PCM) of parameter No. 6700 is set to 1, the
number of parts is not counted with M02 and M30.
744
B–63173EN–1/02 12. DISPLAY/SET/EDIT
745
12. DISPLAY/SET/EDIT B–63173EN–1/02
Reference item
OPERATOR’S MANUAL V.11.4.4 Displaying and Setting Run
(B–63174EN) Time,Parts Count, and Time
746
B–63173EN–1/02 12. DISPLAY/SET/EDIT
12.1.10
Software Operator’s
Panel
General The software operator’s panel function replaces part of the control
switches on the machine operator’s panel with soft switches which can be
turned on or off using the MDI of the control unit.
The control switches for the functions listed in the following table can be
replaced with soft switches. Also available are eight general–purpose soft
switches which can be used additionally by the machine tool builder.
These eight general–purpose soft switches can be optionally named by the
machine tool builder. For control switches in groups 1 to 7, parameter
(No.7200) can be used to select whether the control switches on the
machine operator’s panel or soft switches on the MDI of the control unit
are used for each group.
Group1 :Mode selection
Group2 :Selection of jog feed axis, manual rapid traverse
Group3 :Selection of manual pulse generator feed axis, selection of
manual pulse magnification
Group4 :Jog feedrate override, feedrate override, rapid traverse
override
Group5 :Optional block skip, single block, machine lock, dry run
Group6 :Protect key
Group7 :Feed hold
Group8 :General purpose
The states of all soft switches are informed to the PMC by output signals.
Based on these output signals, the PMC should turn “1” or “0” input
signals related to soft switch functions. In other words, turning “1” the
soft switch assigned to single block operation, for example, does not
cause the control unit to select single block operation internally. Single
block operation is selected when the PMC turns to “1” the input signal for
single block operation, instead.
747
12. DISPLAY/SET/EDIT B–63173EN–1/02
Signal
Group Function Output signal Related input signal
1 Mode selection MD1O <F073#0> MD1
MD2O <F073#1> MD2
MD4O <F073#2> MD4
ZRNO <F073#4> ZRN
748
B–63173EN–1/02 12. DISPLAY/SET/EDIT
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F072 OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0
F074
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
7200 OP7 OP6 OP5 OP4 OP3 OP2 OP1
749
12. DISPLAY/SET/EDIT B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
7202 NS0 NS2
7210 PLSKY1
7211 MNSKY1
7212 PLSKY2
7213 MNSKY2
7214 PLSKY3
750
B–63173EN–1/02 12. DISPLAY/SET/EDIT
7215 MNSKY3
7216 PLSKY4
7217 MNSKY4
Example
These names are set using character codes that are displayed in parameter
Nos. 7220 to 7283.
751
12. DISPLAY/SET/EDIT B–63173EN–1/02
752
B–63173EN–1/02 12. DISPLAY/SET/EDIT
NOTE
The “dakuten” and “han dakuten” in Katakana also correspond to one character.
753
12. DISPLAY/SET/EDIT B–63173EN–1/02
The kanji and hiragana below take up the equivalent of two alphanumeric
characters.
Example To display the character ” ” (character code 002006) as the first character
on the software operator’s panel general switch top line, specify the
following parameters as stated:
Parameter No. 7220 = 2, Parameter No. 7221 = 6
754
B–63173EN–1/02 12. DISPLAY/SET/EDIT
755
12. DISPLAY/SET/EDIT B–63173EN–1/02
756
B–63173EN–1/02 12. DISPLAY/SET/EDIT
757
12. DISPLAY/SET/EDIT B–63173EN–1/02
758
B–63173EN–1/02 12. DISPLAY/SET/EDIT
Note
NOTE
1 Only the modes shown below can be selected by soft
switches. When the mode for DNC operation is to be
equipped, for example, all control switches for mode
selection should be on the machine operator’s panel or a
general–purpose soft switch should be used to select the
mode for DNC operation.
Soft switches available for mode selection
⋅ Manual data input
⋅ Automatic operation
⋅ Memory edit
⋅ Manual handle / step feed
⋅ Jog feed
⋅ Manual reference position return
2 Only one soft switch is available for protection key. Four
input signals are available for protection key (KEY1, KEY2,
KEY3 and KEY4). Generally, four input signals are
simultaneously turned to “1” or “0” according to the state of
the soft switch for protection keys.
3 When the soft switch for feed hold is turned on, output signal
*SPO is turned to “0”. At this time, the PMC turns feed hold
signal *SP to “0”.
In contrast to the above, when the soft switch for feed hold
is turned off, output signal *SPO is turned ”1” and the PMC
turns signal *SP to “1”. For soft switches other than general
soft switches, when an output signal informing the state of
a soft switch is turned to “1”, the corresponding input signal
is turned to “1”.
759
12. DISPLAY/SET/EDIT B–63173EN–1/02
NOTE
4 The following table lists the override values which can be
selected by soft switches for jog feedrate.
15 12 8 4 0 Override
± ± ± ± ± values (%)
bit
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 0.1
2 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 0.14
3 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 0.2
4 1 1 1 1 1 1 1 1 1 1 1 0 0 1 0 0 0.27
5 1 1 1 1 1 1 1 1 1 1 0 1 1 0 1 0 0.37
6 1 1 1 1 1 1 1 1 1 1 0 0 1 0 1 1 0.52
7 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 0.72
8 1 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 1.0
9 1 1 1 1 1 1 1 1 0 1 1 1 0 0 1 1 1.4
10 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 1 2.0
11 1 1 1 1 1 1 1 0 1 1 1 1 0 0 0 1 2.7
12 1 1 1 1 1 1 1 0 1 0 0 0 1 1 0 1 3.7
13 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 5.2
14 1 1 1 1 1 1 0 1 0 0 1 0 1 1 1 1 7.2
15 1 1 1 1 1 1 0 0 0 0 0 1 0 1 1 1 10.0
16 1 1 1 1 1 0 1 0 1 0 0 0 0 1 1 1 14.0
17 1 1 1 1 1 0 0 0 0 0 1 0 1 1 1 1 20.0
18 1 1 1 1 0 1 0 1 0 1 1 1 0 0 1 1 27.0
19 1 1 1 1 0 0 0 1 1 0 0 0 1 0 1 1 37.0
20 1 1 1 0 1 0 1 1 1 0 1 0 1 1 1 1 52.0
21 1 1 1 0 0 0 1 1 1 1 0 1 1 1 1 1 72.0
22 1 1 0 1 1 0 0 0 1 1 1 0 1 1 1 1 100.0
23 1 1 0 0 1 0 0 1 0 1 0 0 1 1 1 1 140.0
24 1 0 1 1 0 0 0 1 1 1 0 1 1 1 1 1 200.0
760
B–63173EN–1/02 12. DISPLAY/SET/EDIT
NOTE
5 The following table lists the override values which can be
selected by soft switches for feedrate override.
0 1 1 1 1 1 1 1 1 0
1 1 1 1 1 0 1 0 1 10
2 1 1 1 0 1 0 1 1 20
3 1 1 1 0 0 0 0 1 30
4 1 1 0 1 0 1 1 1 40
5 1 1 0 0 1 1 0 1 50
6 1 1 0 0 0 0 1 1 60
7 1 0 1 1 1 0 0 1 70
8 1 0 1 0 1 1 1 1 80
9 1 0 1 0 0 1 0 1 90
10 1 0 0 1 1 0 1 1 100
11 1 0 0 1 0 0 0 1 110
12 1 0 0 0 0 1 1 1 120
13 0 1 1 1 1 1 0 1 130
14 0 1 1 1 0 0 1 1 140
15 0 1 1 0 1 0 0 1 150
16 0 1 0 1 1 1 1 1 160
17 0 1 0 1 0 1 0 1 170
18 0 1 0 0 1 0 1 1 180
19 0 1 0 0 0 0 0 1 190
20 0 0 1 0 0 1 1 1 200
Reference item
761
12. DISPLAY/SET/EDIT B–63173EN–1/02
12.1.11
Multi–language Display
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3102 SPN HNG ITA FRN GRM JPN
NOTE
When this parameter is set, turn off the power once.
Languages other than Japanese and English are optional.
762
B–63173EN–1/02 12. DISPLAY/SET/EDIT
12.1.12
Periodic Maintenance
Screen
General The periodic maintenance screen shows the current statuses of those
consumables that require periodic replacement (backup battery, LCD
backlight, touch pad, etc.). An item whose service life has expired is
indicated by the machine run time or the like.
[ ][ ][ ][ CAN ][ EXEC ]
763
12. DISPLAY/SET/EDIT B–63173EN–1/02
(1)Consumables names
The names of consumables to be subjected to periodic maintenance are
set up here. They can be registered using either the corresponding
menu or MDI keys.
1) Menu–based setup
1 To display the setting menu, place the cursor on the desired
item, and press the [ENTRY] soft key. There are two types of
setup menus: machine consumables menu and CNC
consumables menu.
2 Pressing the [MACHIN] or [NC] soft key displays a menu that
contains typical machine or CNC model names.
3 Place the cursor on the registered item and press the [SELECT]
soft key. Now press the [EXEC] soft key to return to the status
screen where the selected item name is set up.
4 Pressing the [CAN] soft key restores the previous screen.
5 Pressing the [MAINTE] soft key displays the status screen
again.
On the machine consumables screen, item names can be registered
according to the procedure below.
(a) Program–based registration
An item name can be registered by executing a program in the
following format.
Format
G10 L61 Px [n]
P : Registration number
n : Item name
[Alphanumeric character]
NOTE
1 The asterisk (*) is used as a control code, so it cannot be
used in the item name. Likewise, square brackets “[” and
“]” and parentheses “(” and “)” must be excluded from the
item name.
2 If a null item name is selected on the machine consumables
screen, the warning message “EDIT REJECTED” will
appear. If a null item name is selected on the NC
consumables screen, a blank will be set up.
To delete a registered item name, place the cursor on it, and press the
[CLEAR] soft key, then the [EXEC] soft key.
764
B–63173EN–1/02 12. DISPLAY/SET/EDIT
[ ][ ][ ][ CAN ][ EXEC ]
[ ][ READ ][ PUNCH ][ ][ ]
[ ][ ][ ][ CAN ][ EXEC ]
765
12. DISPLAY/SET/EDIT B–63173EN–1/02
[ SELECT ][ ][ ][ ][ ]
[ ][ ][ ][ CAN ][ EXEC ]
NOTE
On the CNC consumables screen, it is impossible to
register, delete, input, and output item names.
2) MDI–based setup
An item name can be registered by first keying in data in the
following format, then pressing the [INPUT] soft key (or the INPUT
NOTE
The asterisk (*) is used as a control code, so it cannot be
used in the item name. Likewise, square brackets “[” and
“]” and parentheses “(” and “)” must be excluded from the
item name.
To delete a registered item name, place the cursor on it, and press
the [CLEAR] soft key, then the [EXEC] soft key.
When an item name is deleted, the related service life, remaining
lifetime, and count type are also deleted.
(2) Remaining lifetime
The remaining lifetime of an item is the time allowed before it must
be replaced. It is displayed in a count–down format. Count–down
continues even after the service life has expired.
766
B–63173EN–1/02 12. DISPLAY/SET/EDIT
NOTE
No setup can be made on the status screen. Setup is
possible only on the setting screen.
D Setting screen displays On the setting screen, it is possible to specify the service life, remaining
and settings lifetime, and count type for each registered item. It also displays the same
count status as displayed on the status screen.
[ ][ READ ][ PUNCH ][ ][ ]
[ ][ ][ ][ CAN ][ EXEC ]
767
12. DISPLAY/SET/EDIT B–63173EN–1/02
NOTE
1 If an attempt is made to enter data for an item number for
which no item name has been registered, the warning
message “EDIT REJECTED” appears.
2 If an attempt is made to enter data that does not fall in the
valid data range, the warning message “DATA IS OUT OF
RANGE” appears.
3 If an attempt is made to enter data that would set the service
life or remaining lifetime below 0, they will be clamped to 0.
4 If the [CLEAR] or [TYPE] soft key is pressed, the warning
message “EDIT REJECTED” appears.
NOTE
1 If an attempt is made to enter data for an item number for
which no item name or service life has been registered, the
warning message “EDIT REJECTED” appears.
2 If an attempt is made to enter data that does not fall in the
valid data range, the warning message “DATA IS OUT OF
RANGE” appears.
3 If an attempt is made to enter data that would set the
remaining lifetime below 0, it will be clamped to 0.
4 If the [TYPE] soft key is pressed, the warning message
“EDIT REJECTED” appears.
768
B–63173EN–1/02 12. DISPLAY/SET/EDIT
NOTE
1 If an attempt is made to enter data for an item number for
which no item name or service life has been registered, the
warning message “EDIT REJECTED” appears.
2 Neither the [INPUT] nor [+INPUT] soft key does not
function.
3 Nonstop counting will have an error of 24 hours in a leap
year.
Inputting and outputting The registered data related to the service life of consumables can be output
the registered data to an external unit, using the [PUNCH] soft key. Similarly, data can be
input from an external unit for registration, using the [READ] soft key.
These input/output operations can be performed on the status, setting, and
menu (machine consumables only) screens.
EDIT *** ***** *** **** 19:27:05
[ ][ READ ][ PUNCH ][ ][ ]
[ ][ ][ ][ CAN ][ EXEC ]
D Data output In EDIT mode, pressing the [PUNCH] soft key causes registered data to
be output in the following formats.
f Status and setting screens
Format
G10 L60 P01 Aa Rr [n] Qq ;
G10 L60 P02 Aa Rr [n] Qq ;
G10 L60 P03 Aa Rr [n] Qq ;
:
769
12. DISPLAY/SET/EDIT B–63173EN–1/02
Format
G10 L61 P01 [n] ;
G10 L61 P02 [n] ;
G10 L61 P03 [n] ;
:
a : Service life
r : Remaining lifetime
n : Item name
[Alphanumeric character]
q : Count type
0 = No counting.
1 = Nonstop counting.
2 = Counting continues as long as the power is on.
3 = Counting continues throughout run time.
4 = Counting continues throughout cutting time.
D Data input In EDIT mode, pressing the [READ] soft key causes input data to be
registered according to a specified format (G10). Registration is possible
even if the format (G10) is already in program memory.
NOTE
Registration may not be performed correctly unless the
input format (G10) matches the output format.
12.1.13
Key Codes for T Series
General Key codes(M or T) can be switched to fit the key code of CRT/MDI by
parameter. When CRT/MDI is used commonly by Power Mate i and
another kinds of CNC, MDI key can be continued to be used.
CRT/MDI
FS18i-TA Power Mate i
770
B–63173EN–1/02 12. DISPLAY/SET/EDIT
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3119 TKY
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
12.1.14
Display of Parameter
Set Supporting Screen
Function
General In the parameter set supporting screen, the CNC parameters necessary for
the system start–up are grouped, and the relating parameters are gathered
in one screen. As the necessary CNC parameters can be set at a time,
machine start–up becomes more easily. And the servo tuning screen and
spindle tuning screen are displayed simply, then it is possible to adjust
smoothly.
This function can not be used with DPL/MDI or DPL/MDI operating
package.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3195 CPR
Reference item
MAINTENANCE MANUAL 1.4 Display of parameter set supporting
(B–63175EN) screen function
771
12. DISPLAY/SET/EDIT B–63173EN–1/02
12.2
EDIT
12.2.1
Part Program Storage
Length
Reference item
OPERATOR’S MANUAL V.11.3.1 Displaying Memory Used and a List of
(B–63174EN) Programs
12.2.2
No. of Registered
Programs
Reference item
OPERATOR’S MANUAL V.11.3.1 Displaying Memory Used and a List of
(B–63174EN) Programs
772
B–63173EN–1/02 12. DISPLAY/SET/EDIT
12.2.3
Memory Protection Key
General A key called the data protection key is used to prevent part programs,
offset values, parameters, and setting data from being registered,
modified, or deleted erroneously.
And the setting of the ”Parameter Write(enable)” that was set on the
SETTING screen can be set with the key operation, when the parameter
PKEYP (3292#7) is set to ”1”.
Signal
Memory protection
signal
KEY1 to KEY4
<G46#3 to #6>
[Classification] Input signal
[Function] Enables the changing of the memory contents from the MDI panel. Four
signals are provided. The operations that can be performed on the contents
of memory by each signal vary depending on the setting of bit 7(KEY)
of the parameter No.3290.
When KEY = 0
KEY1: Enables the input of tool compensation.
KEY2: Enables the input of the setting data and macro variables.
KEY3: Enables program loading and editing.
KEY4: Enables PMC data.(counter data tables)
When KEY = 1
KEY1: Enables program loading and editing, as well as the input of
PMC parameters.
KEY2 to KEY4: Not used.
[Operation] When a signal is set to ”0”, the associated operations are disabled.
When a signal is set to ”1”, the associated operations are enabled.
KEYP
<G46#0> [Classification] Input signal
[Function] Enables the changing of the CNC parameter with MDI panel.
This signal can be used only when the parameter PKEYP(3292#7) is set
to 1.
[Operation] When this signal is set to ”0”, the input operation of the CNC parameter
is disabled.
When this signal is set to ”1”, the input operation of the CNC parameter
is enabled.
773
12. DISPLAY/SET/EDIT B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G046 KEY4 KEY3 KEY2 KEY1 KEYP
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3290 KEY
NOTE
The functions of the signals depend on whether KEY = 0 or
KEY = 1.
#7 #6 #5 #4 #3 #2 #1 #0
3239 PKEYP
Reference item
OPERATOR’S MANUAL V.11 SETTING AND DISPLAYING
(B–63174EN) DATA
Note When the parameter PKEYP (3292#7) is set to ”1”, the setting of
”Parameter Write(enable)” on the SETTING screen is disabled.
774
B–63173EN–1/02 12. DISPLAY/SET/EDIT
12.2.4
Background Editing
NOTE
Alarm in background edit is displayed in the key input line
of the background edit screen instead of the ordinary alarm
screen and is resettable by any of the MDI key operation.
Reference item
OPERATOR’S MANUAL V.9.8 BACKGROUND EDITING
(B–63174EN)
775
12. DISPLAY/SET/EDIT B–63173EN–1/02
12.2.5
Playback
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
7100 THD
Reference item
OPERATOR’S MANUAL V.10.3 CREATING PROGRAMS IN TEACH
(B–63174EN) IN MODE
776
B–63173EN–1/02 12. DISPLAY/SET/EDIT
12.2.6
Function of Teach–in
for Four Axes (Power
Mate i–H)
Signal
KEXC
[Classification] Input signal
[Function] This signal gives the command of input or delete operation.
[Operation] This signal is set from ”0” to ”1” or ”1” to ”0”, the input or delete
operation is performed.
KDEL
[Classification] Input signal
[Function] This signal gives the command of the Block delete operation that is
pointed by the cursor.
[Operation] When this signal is set to ”1” and the signal of KEXC is set from ”0” to
”1” or ”1” to ”0”, the block that is pointed by the cursor is deleted. But
the block that contains O (program) number can not be deleted.
777
12. DISPLAY/SET/EDIT B–63173EN–1/02
KUP
[Classification] Input signal
[Function] This signal gives the command of moving of the cursor position to the top
of the previous block.
[Operation] When this signal is set to ”1” and the signal of KEXC is set from ”0” to
”1” or ”1” to ”0”, the cursor position is move to the top of the previous
block.
KG04
[Classification] Input signal
[Function] This signal gives the command of input the G04 code.
[Operation] When this signal is set to ”1” and the signal of KEXC is set from ”0” to
”1” or ”1” to ”0”, the G04 code is input. And if the signal of KPAX is set
to ”1” at a same time, the P code is input, too.
KG01
[Classification] Input signal
[Function] This signal gives the command of input the G01 code.
[Operation] When this signal is set to ”1” and the signal of KEXC is set from ”0” to
”1” or ”1” to ”0”, the G01 code is input with axis address.
KG00
[Classification] Input signal
[Function] This signal gives the command of input the G00 code.
[Operation] When this signal is set to ”1” and the signal of KEXC is set from ”0” to
”1” or ”1” to ”0”, the G00 code is input with axis address.
KPAX
[Classification] Input signal
[Function] This signal gives the command of input the axis address or P code.
[Operation] When this signal is set to ”1” and the signal of KEXC is set from ”0” to
”1” or ”1” to ”0”, the axis address or P code is input. When the signal of
G04 is set to ”1” at the same time, P code is input. And when the signal
of G04 is set to ”0”, the axis address that is selected by parameter is input.
778
B–63173EN–1/02 12. DISPLAY/SET/EDIT
KF
[Classification] Input signal
[Function] This signal gives the command of input the F code with axis address.
[Operation] When this signal is set to ”1” and the signal of KEXC is set from ”0” to
”1” or ”1” to ”0”, the F code is input with axis address.
KENB
[Classification] Output signal
[Function] Operation complete signal
[Output condition] The input operation is performed by judging the exclusive OR of input
command KEXC, input from PMC, and input command operation
complete KENB, output from CNC.
In other word, when the KEXC and KENB signals differ in their logic,
the CNC performed input operation. Once input has been completed, the
CNC inverts the KENB signal to match its logic with that of the KEXC
signal.
In the PMC, on the other hand, new operation cannot be performed while
the KEXC and KENB signals differ in their logic.
#7 #6 #5 #4 #3 #2 #1 #0
G0215 KEXC KDEL KUP KG04 KG01 KG00 KPAX KF
#7 #6 #5 #4 #3 #2 #1 #0
F0253 KENB
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3137 TIN
#7 #6 #5 #4 #3 #2 #1 #0
3138 TKA8 TKA7 TKA6 TKA5 TKA4 TKA3 TKA2 TKA1
NOTE
When the axes are selected more than 5 axes, the 4 axes
are effective from low number.
779
12. DISPLAY/SET/EDIT B–63173EN–1/02
3139 P code value using the function of teach in 4 axes at a same time
CAUTION
1 Don’t change the parameter while operation.
The parameter change should be performed at the status
of emergency stop.
2 The value of F code that is input at the same time is input
from the parameter No.1411 (Cutting feedrate in the
automatic mode at power on).
3 The value of P code is input from the parameter No.8731 (P
code value using the function of teach in 4 axes at a same
time).
4 When the signal of KG04 is set to ”1”, the other G code and
F code cannot be input.
5 When the signal of KDEL or KUP is set to ”1”, the other G
code, F code, and address of axis cannot be input.
6 When the signals of KDEL and KUP are set to ”1” at a same
time, the operation is ignored.
7 Set the signals of KG04,KPAX,KG01,KG00,KF,KDEL,UP at
the same time or before of operation of KEXC signal.
8 The KENB signal of default value at the power on is zero.
It cannot be preset by reset.
9 When the cursor is placed at the top of sub–program, it
cannot be back to the main program by KUP signal.
10 When the only KEXC signal is invert, ”;” code is input.
780
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
13 INPUT/OUTPUT OF DATA
781
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
13.1
READER/PUNCHER
INTERFACE
782
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
#7 #6 #5 #4 #3 #2 #1 #0
0000 ISO TVC
783
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
1 The input/output device used can be selected also on the
setting screen. Using the setting screen is a more common
method for selecting the device.
2 The specified data, such as a baud rate and the number of
stop bits, of an input/output device connected to a specific
channel must be set in parameters for that channel in
advance.
I/O CHANNEL=0 and I/O CHANNEL=1 both refer to
channel 1. For each, parameters to set the baud rate, the
number of stop bits, and other data are provided separately.
3 JD42 are the connectors on the PCB.
784
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
This CNC
Channel 1 Channel 2
RS–232–C
JD42
ÂÂÂÂÂÂÂÂÂÂÂ
Reader/puncher Reader/puncher
I/ O CHANNEL=0 I/ O CHANNEL=2
or
I/ O CHANNEL=1
785
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
When input/output devices other than the FANUC PPR are
used, set NFD to 1.
Set the number specified for the input/output device used when the I/O
CHANNEL is set to 0, with one of the set values listed in Table 13.1 (a).
Table 13.1 (a)
4 Not used
6 FANUC PPR
FANUC SYSTEM P-MODEL G, FANUC SYSTEM P-MODEL H
Set baud rate of the input/output device used when the I/O CHANNEL
is set to 0, with a set value in Table 13.1 (b).
Table 13.1 (b)
786
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
These parameters are used when I/O CHANNEL is set to 1. The meanings
of the bits are the same as for parameter No. 0101.
0112 Number specified for the input/output device (when I/O CHANNEL is set to 1)
Set the number specified for the input/output device used when the I/O
CHANNEL is set to 1, with one of the set values listed in Table 13.1 (a).
Set the baud rate of the input/output device used when I/O CHANNEL
is set to 1, with a value in Table 13.1 (b).
(4) Parameters for channel 2 (I/O CHANNEL=2)
#7 #6 #5 #4 #3 #2 #1 #0
0121 NFD ASI SB2
These parameters are used when I/O CHANNEL is set to 2. The meanings
of the bits are the same as for parameter No. 0101.
0122 Number specified for the input/output device (when I/O CHANNEL is set to 2)
Set the number specified for the input/output device used when I/O
CHANNEL is set to 2, with a value in Table 13.1 (a).
NOTE
Channel 2 is provided with no control line. It cannot be used
for input/output units that require a control line (such as
FANUC Handy File and FANUC Floppy Cassette Adaptor).
Set the baud rate of the input/output device used when I/O CHANNEL
is set to 2, with a value in Table 13.1 (b).
787
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
Reference item
OPERATOR’S MANUAL V.8 DATA INPUT/OUTPUT
(B–63174EN)
788
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
13.2
EXTERNAL I/O
DEVICE CONTROL
Outline The data exchanging with other device can be commanded by the PMC
signal. This function is activated as an operation in background editing.
Input/output data are as follows.
S NC part program
S Parameters
S Macro variables
S Diagnostic data (only output)
S PMC data
I/O device to exchange data can be selected among the following four
channels.
(1) Memory card slot on the cabinet of Power Mate i
(2) Memory card slot on the display unit with touch screen made by
FANUC.
(3) RS–232–C (only the first channel)
(4) FANUC I/O Link
The relation among data and devices are shown in the following figure.
Macro variables
Diagnostic data
PMC data
(4) FANUC I/O Link
Handy file
Program storage area of
Master unit of I/O Link
(Power Mate i
or
FS16i etc.)
789
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
The specification of ”External I/O Device Control” is
enhanced to treat a memory card. With this enhancement,
the specification of ”the output file name” and ”Channel
selection signal” is also changed to more general.
There are two types of controlling ways in ”External I/O
Device Control”. One is the former way that is selected when
the parameter No.8761#0(EIB) is set to ”0”. Another is the
way, applicable to a memory card, that is selected when the
parameter No.8761#0(EIB) is set to ”1”. This method is
called the enhanced way.
As for the specifications, there is difference between two
ways. For more details, refer to the chapter ”Summery of
difference between the enhanced way and the former way”.
D Basic procedure of data The procedure to input/output the data through the following channels is
input/output described here. Set the parameter No.8761#0(EIB) to 1 and select the
enhanced way.
(1) Via the memory card slot on the cabinet of Power Mate i.
(2) Via the memory card slot on the display unit with touch screen made
by FANUC.
(3) Via RS–232–C (only the first channel)(Only in case the data is part
program, the operation is possible even if the parameter
No.8761#0(EIB)=0)
The input/output operation via (4) FANUC I/O Link belongs to the other
function, ”Data input/output via I/O Link”. In this case, refer to the
following chapter for the procedure.
13.3 Data input/output via I/O Link (Master)
790
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
1) Turn the program selection signal ”EPRG” to ”1” and turn the other
selection signals to ”0”.
2) Specify an input channel by the following way.
[In case of the enhanced way]
Specify an output channel by the external I/O device control
channel selection signal, ”EXIO1 and EXIO2”. When
RS–232–C is selected, set the value 0 or 1 to the parameter
No.20. Set the parameters of reader/puncher interface
corresponding to the selected RS–232–C channel.
[In case of the former way]
Registration and collation can not be performed via the memory
card slot but via RS–232–C. Set the value 0 or 1 to the parameter
No.20. And set the parameters of reader/puncher interface
corresponding to the selected RS–232–C channel. Also, turn
the FANUC I/O Link signal, ”IOLINK”, to ”0”.
791
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
(2) Inputting/outputting Be sure to select the enhanced way by setting the parameter
parameters No.8761#0(EIB)=1.
(a) Inputting parameters
1) Turn the parameter selection signal ”EPARM” to ”1” and turn the
other selection signals to ”0”.
2) Set the setting parameter ”PWE”(Parameter write enable) to ”1”.
3) Specify an input channel by the external I/O device control channel
selection signal, ”EXIO1 and EXIO2”. When RS–232–C is
selected, set the value 0 or 1 to the parameter No.20. Set the
parameters of reader/puncher interface corresponding to the
selected RS–232–C channel.
4) Prepare an input file in the external device.
The data format in the file must base on ”the format of the
parameter data” described later.
5) Specify the input file by the following.
When the file is input from a handy–file via RS–232–C, perform
heading file operation in the handy–file side.
When the file is input from a memory card, specify the input file
name by the external I/O device control file name selection signal,
”FLN00–FLN15”.
6) After the mode other than MDI mode is selected, input of
parameters is started by turning on the external I/O device control
external read start signal, ”EXRD”.
(b) Outputting parameters
1) Turn the parameter selection signal ”EPARM” to ”1” and turn the
other selection signals to ”0”.
2) Specify an output channel by the external I/O device control
channel selection signal, ”EXIO1 and EXIO2”. When RS–232–C
is selected, set the value 0 or 1 to the parameter No.20. Set the
parameters of reader/puncher interface corresponding to the
selected RS–232–C channel.
3) Specify the output file name by the external I/O device control file
name selection signal, ”FLN00–FLN15”.
4) After the mode other than MDI mode is selected, output of
parameters is started by turning on the external I/O device control
external punch start signal, ”EXWT”
792
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
(3) Inputting/outputting Be sure to select the enhanced way by setting the parameter
macro variables No.8761#0(EIB)=1.
(a) Inputting macro variables
1) Turn the macro variable selection signal ”EVAR” to ”1” and turn
the other selection signals to ”0”.
2) Specify an input channel by the external I/O device control channel
selection signal, ”EXIO1 and EXIO2”. When RS–232–C is
selected, set the value 0 or 1 to the parameter No.20. Set the
parameters of reader/puncher interface corresponding to the
selected RS–232–C channel.
3) Prepare an input file in the external device.
The data format in the file must meet with ”the format of the macro
variable data” described later.
4) Specify the input file by the following.
When the file is input from a handy–file via RS–232–C, perform
heading file operation in the handy–file side.
When the file is input from a memory card, specify the input file
name by the external I/O device control file name selection signal,
”FLN00–FLN15”.
5) Turn the memory protect key ”KEY2” to 1 only in case the
parameter No.3290#7(KEY)=0.
6) After the mode other than MDI mode is selected, input of macro
variables is started by turning on the external I/O device control
external read start signal, ”EXRD”.
(b) Outputting macro variables
1) Turn the macro variable selection signal ”EVAR” to ”1” and turn
the other selection signals to ”0”.
2) Set the parameter No.0000#1 (ISO) to ”1” and the parameter
6001#2 (VFP) to ”1”.
3) Specify an input channel by the external I/O device control channel
selection signal, ”EXIO1 and EXIO2”. When RS–232–C is
selected, set the value 0 or 1 to the parameter No.20. Set the
parameters of reader/puncher interface corresponding to the
selected RS–232–C channel.
4) Specify the output file name by the external I/O device control file
name selection signal, ”FLN00–FLN15”.
5) Set the start number of macro variable to be output by setting the
external punch start signal, ”EDG00 to EDG15”.
6) Set the number of macro variables to be output by setting the
external punch total number signal, ”EDN00 to EDN15”.
7) After the mode other than MDI mode is selected, output of macro
variables is started by turning on the external I/O device control
external punch start signal, ”EXWT”.
793
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
(4) Outputting diagnosis Be sure to select the enhanced way by setting the parameter
data No.8761#0(EIB)=1.
1) Turn the diagnosis data selection signal ”EDGN” to ”1” and turn the
other selection signals to ”0”.
2) Specify an input channel by the external I/O device control channel
selection signal, ”EXIO1 and EXIO2”. When RS–232–C is selected,
set the value 0 or 1 to the parameter No.20. Set the parameters of
reader/puncher interface corresponding to the selected RS–232–C
channel.
3) Specify the output file name by the external I/O device control file
name selection signal, ”FLN00–FLN15”.
4) Set the start number of diagnosis data to be output by setting the
external punch start signal, ”EDG00 to EDG15”.
5) Set the number of diagnosis data to be output by setting the external
punch total number signal, ”EDN00 to EDN15”.
6) After the mode other than MDI mode is selected, output of diagnosis
data is started by turning on the external I/O device control external
punch start signal, ”EXWT”.
NOTE
Character data are not output.
Diagnosis data can not be input.
(5) Inputting/outputting Be sure to select the enhanced way by setting the parameter
PMC data No.8761#0(EIB)=1.
(a) Inputting PMC data
1) Turn the PMC data selection signal ”EPMC” to ”1” and turn the
other selection signals to ”0”.
2) Specify an input channel by the external I/O device control channel
selection signal, ”EXIO1 and EXIO2”. When RS–232–C is
selected, set the value 0 or 1 to the parameter No.20. Set the
parameters of reader/puncher interface corresponding to the
selected RS–232–C channel.
3) Prepare an input file in the external device.
The data format in the file must meet with ”the format of the PMC
data” described later.
4) Specify the input file by the following.
When the file is input from a handy–file via RS–232–C, perform
heading file operation in the handy–file side.
When the file is input from a memory card, specify the input file
name by the external I/O device control file name selection signal,
”FLN00–FLN15”.
5) After the mode other than MDI mode is selected, input of PMC data
is started by turning on the external I/O device control external read
start signal, ”EXRD”.
794
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
Only the data table (D0000–D7999) and the internal relay
(R0000–R2999) of the PMC data can be input.
795
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
796
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
797
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
D Summary of the former Major difference between two ways are the following 5 points.
way and the enhanced 1. Whether each data can be input/output through memory card slot or
way not
2. Whether data input/output through RS–232–C is only program or not
3. Whether a file name can be specified or not, when data is input/output
through RS–232–C or memory card slot.
4. Whether each data can be input/output through FANUC I/O Link or
not
5. Whether data selection signal is separated into two signals, EDGN and
EPMC, or only EDGN, when diagnosis data or PMC data is
input/output.
798
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
RS–232–C,
Program EPRG IOLNK ALL.PRO
I/O Link
Former way
Parameter EPARM I/O Link IOLNK –
(Parameter
Macro variable EVAR I/O Link IOLNK –
No.8761#0 (EIB)
= 0) Diagnosis EDGN I/O Link IOLNK –
RS–232–C, EXIO2,
Program EPRG PRG@****.DAT
Memory card slot EXIO1
RS–232–C, EXIO2,
Parameter EPARM PRM@****.DAT
Enhanced way Memory card slot EXIO1
RS–232–C, EXIO2,
(Parameter Macro variable EVAR MCR@****.DAT
Memory card slot EXIO1
No.8761#0 (EIB)
= 1) RS–232–C, EXIO2,
Diagnosis EDGN DGN@****.DAT
Memory card slot EXIO1
RS–232–C, EXIO2,
PMC data EPMC PMC@****.DAT
Memory card slot EXIO1
*1 When diagnosis data or PMC data is output in the enhanced way, the
header, ”(DGN)” or ”(PMC)”, is output at the top of data.
*2 This file name is used when data are input/output through RS–232–C
or memory card slot. The part of **** is decided by the I/O device
external control file name selection signals FLN000 to FLN015. But,
when data are input through RS–232–C from a Handy–File, the file
that is selected on a Handy–File is input and the file specified here is
not input.
799
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
D Relation between ”I/O The following chart shows the relation between ”I/O device external
device external control control I/O” and ”Data input/output via I/O Link”.
I/O” and ”Data
input/output via I/O Link”
Slave Master
Program storage
3 Data input/output 1 Data input/output
via I/O Link (Slave) via I/O Link (Master)
IOLNK=1
2 Data input/output via
I/O device external control Store the
I/O Link-B (Master)
slave data
as NC
Sharing Slave program
Data signals data
Program Parameter Macro
I/O device external control
variable Diagnosis
PMC data NC
program
RS-232-C RS-232-C
Handy Handy
File File
Data
Handy
Program Parameter Macro File
variable Diagnosis
PMC data
800
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
The feature of ”Data input/output via I/O Link” functions are as follows.
1) Data input/output via I/O Link (Master)
This function is executed when an operator operates a soft–key.
2) Data input/output via I/O Link – B (Master)
In this function, ”Data input/output via I/O Link (Master)” is
controlled by PMC ladder. And an operation is executed in the
background editing mode. A part of signals of this function are shared
with I/O device external control.
”Master function” manages the data of the slave, Power Mate, by using
a program storage area of the master.
3) Data input/output via I/O Link (Slave)
This function inputs/outputs the data of the slave, Power Mate,
from/to the master via I/O Link
The ways of start and data selection for each function are summarized in
the following tables.
Function Way of input/output start Way of data selection Necessary condition
3) Data input/output func- Signal (EXRD,EXWT) Signal (EPRG etc.) IOLS=0, IOLNK=1,
tion via I/O Link (Slave) Parameter No. 8761#0=0
4) External I/O device con- Signal (EXRD,EXWT) Signal (EPRG etc.) IOLS=0,
trol (via RS–232–C or In case Parameter No.
memory card slot) 8761#0=0, IOLNK=0,
In case Parameter No.
8761#0=1, Specify a channel by
EXIO1,EXIO2
Signal
801
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
S In case program input, whether registration or collation
depends on the memory protect key KEY3<G046#5>
(when the parameter N0.3290#7=0) or KEY1<G046#3>
(when the parameter No.3290#7=1).
S While data are reading/punching, ”Read/punch busy signal
(RPBSY)” is turned to ”1”.
S External read start signal (EXRD) is ignored, while
background editing operation is executed or Back ground
editing signal (BGACT) is turned to 1.
S Input operation is interrupted, when reset is activated or
External read punch stop signal (EXSTP) is turned to 1.
S External read start signal(EXRD) is ignored, while data
input/output operation or DNC operation is executing in
foreground editing.
S There is other conditions to execute program registration/
collation. For instance, program registration/collation can
not be executed while the program with the same program
number is executing in foreground editing.
802
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
803
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
S While data are punching, ”Read/punch busy signal
(RPBSY)” is turned to ”1”.
S External punch start signal (EXWT) is ignored, while
background editing operation is executed or Back ground
editing signal (BGACT) is turned to 1.
S Output operation is interrupted, when reset is activated or
External read punch stop signal (EXSTP) is turned to 1.
S External punch start signal(EXWT) is ignored, while data
input/output operation or DNC operation is executing in
foreground editing.
S There is other conditions to execute program output. For
instance, program output can not be executed, while the
program is executing in foreground editing, or when the
program is protected by the parameter No.3202#0 (NE8) or
#4 (NE9).
0 0 RS–232–C
804
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
When RS–232–C is selected, set the value 0 or 1 to the
parameter No.20. Then, the parameters, that are related
with reader/puncher interface, should be set in accordance
with the above value.
The ”****” part in the above table is replaced with the decimal number
that is converted from the binary data given by the External I/O Device
Control File Name Selection Signal.
Ex.: In case that EPRG is turned on
FLN15–FLN08=00100110
FLN07–FLN00=10010100
When punch operation is executed in the above signal setting, the
file, ”[email protected]”, is created and a program is output into the
file because binary number ”0010011010010100” is equivalent to
decimal number ”9876”.
805
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
1 When all File Name Selection Signals are turned off or the
set value is greater than 9998 in decimal number, data
cannot be output and warning is given.
2 When data input operation from a Handy–File via
RS–232–C is executed, the file selected in the Handy–File
is input regardless of the status of File Name Selection
Signals.
806
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
1 The PMC address that can be output is as follows:
G0000–0255 F0000–0255 Y0000–0127
Y1000–1063 X0000–0127 X1000–1063
A0000–0024 R0000–2999 R9000–9199
T0000–0079 K0000–0019 C0000–0079
D0000–7999
2 The PMC data address that can be input is as follows:
R0000–2999 D0000–7999
3 When PMC data is output, it is necessary to set the External
Punch Start Data Number Signal (EDG00 – EDG15) in
accordance with the start address of data. Also, it is
necessary to set the External Punch Total Data Number
Signal (EDN00 – EDN15) in accordance with the total
number of PMC output data.
Program Selection
Signal
EPRG
<G251#4>
[Classification] Input signal
[Function] When this signal becomes logical ”1”, the CNC operates as follows:
Select program as the input/output data of ”External I/O Device Control”.
NOTE
1 In case data input, collation of program is executed, when
the parameter No.3290#7(KEY)=0 and memory protect key
(KEY3)=0, or the parameter No.3290#7(KEY)=1 and
memory protect key (KEY1)=0. In other case, registration of
program is executed.
2 In case data input, it can be selected by the parameter
No.3201#1(RAL) whether all programs in the file are
registered at a time or only the first program.
All programs can be deleted before registration by the
parameter No.3201#0(RDL). But the programs protected
by the parameter No.3202#0(NE8) and #4(NE9) can not be
deleted.
3 In case output data, all program other than protected by the
parameter are output.
807
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
1 In case input of macro variable, it is necessary to set the
memory protect key (KEY2) to 1, only when the parameter
No.3290#7(KEY)=0.
2 The data that are output in the parameter
N0.0000#1(ISO)=1 and No.6001#2(VFP)=1 can be read.
3 When macro variable is output, it is necessary to set the
start data number to the External Punch Start Data Number
Signal (EDG00 – EDG15). Also it is necessary to set the
total data number to the External Punch Total Data Number
Signal (EDN00 – EDN 15).
But, punching operation is not executed when the start data
number specified with EDG00 – EDG15 is out of the range
from 100 to 199 or from 500 to 699. Also punching operation
is not executed when the total number specified with EDN00
– EDN15 is 0.
Parameter Selection
Signal
EPARM
<G251#6>
[Classification] Input signal
[Function] When this signal becomes logical ”1”, the CNC operates as follows:
Select parameter as the input/output data of ”External I/O Device
Control”.
NOTE
1 In case input, set the setting parameter PWE (parameter
write enable) to 1.
2 In case output, all parameters are output.
808
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
1 The character type data cannot be output.
2 When diagnosis data or PMC data is output, it is necessary
to set the start data number to the External Punch Start Data
Number Signal (EDG00 – EDG15). Also it is necessary to
set the total data number to the External Punch Total Data
Number Signal (EDN00 – EDN 15).
3 Diagnosis data cannot be input.
809
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
External Read/Punch
Busy Signal
RPBSY
<F053#2>
[Classification] Output signal
[Function] This signal indicates that input/output of data triggered by the external
read or punch start signal is under way.
[Output condition] This signal becomes logical 1, when:
S The external read or punch start signal triggers input/output of data
This signal becomes logical 0, when:
S Input/output operation triggered by the external read or punch start
signal ends either normally or abnormally (reset or requested by the
external read/punch stop signal EXSTP ).
810
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
External Read/Punch
Alarm Signal
RPALM
<F053#3>
[Classification] Output signal
[Function] This signal indicates that an alarm condition has occurred during
input/output operation triggered by the external read or punch start signal.
[Output condition] This signal becomes to 1, when:
S An alarm condition occurs during input/output operation triggered by
the external read or punch start signal.
This signal becomes logical 0, when:
S The system is reset, or the external read/punch stop signal EXSTP is
input.
EXRD
EXSTP
PRBSY
BGEACT
Read start Read end Read start Read interruption Read start
EXWT
EXSTP
PRBSY
BGEACT
Punch start Punch end Punch start Punch interruption Punch start
EXRD or EXWT
RPALM
PRBSY
BGEACT
Read/punch start Read/punch interruption Read start
811
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
Background Editing
Signal
BGEACT <F053#4>
[Classification] Output signal
[Function] This signal indicates that the background edit function is operating. When
the status of this signal is 0, input/output operation triggered by the
external I/O device control can be started.
[Output condition] This signal becomes logical 1 when:
S The [BG EDIT] soft key is pressed to put the CNC in the background
edit mode.
S The MDI mode is selected.
S The external read or punch start signal starts input/output operation.
This signal becomes logical 0 when:
S The [BG EDIT] soft key is pressed to terminate the background edit
mode.
S The CNC shifts from the MDI mode to another mode.
S Input/output operation triggered by the external read or punch start
signal ends either normally or abnormally (reset or requested by the
external read/punch stop signal EXSTP.
Signal Address
#7 #6 #5 #4 #3 #2 #1 #0
G058 EXWT EXSTP EXRD
#7 #6 #5 #4 #3 #2 #1 #0
F053 BGEACT RPALM RPBSY
812
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0000 ISO
#7 #6 #5 #4 #3 #2 #1 #0
3201 NPE N99 REP RAL RDL
813
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
3202 NE9 NE8
814
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
#7 #6 #5 #4 #3 #2 #1 #0
3290 KEY
NOTE
The functions of the signals depend on whether KEY=0 or
KEY=1.
When KEY=0:
S KEY1: Enables a tool offset value and a work–piece
zero offset value to be input
S KEY2: Enables setting data and macro variables to
be input
S KEY3: Enables program registration and editing.
S KEY4: Enables PMC data (counter and data table) to
be input
When KEY=1:
S KEY1: Enables program registration and editing, and
enables PMC parameter input.
S KEY2 to KEY4: Not used.
815
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
6001 VFP
NOTE
The feature of each format is as follows:
[In case VFP=0]
The value of variable is output in the following
<expression>.
#500=32000*65536/4194304
When macro variable is output by a soft key operation,
select this format.
The data output in this format can be restored to
macro variable by the following way.
1 Input the data as a program.
2 Execute the program in the automatic
operation. Then the input values are reflected to
macro variables.
[In case VFP=1]
The value is output in the format ”P# Macro variable
number Q# Value of variable” as follows:
P#500 Q00500.000
When macro variable is output by External I/O Device
Control Function, select this format.
The data output in this format can be restored to
macro variable, when the data are input by External
I/O Device control Function.
#7 #6 #5 #4 #3 #2 #1 #0
8761 EIB
NOTE
Set this bit to 0, when ”Data input/output function via I/O Link
(Master)” or ”Data input/output function via I/O Link (Slave)”
is applied.
816
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
Reference item
OPERATOR’S MANUAL V.8.4 PROGRAM INPUT/OUTPUT
(B–63174EN)
817
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
13.3
DATA INPUT/OUTPUT
FUNCTIONS BASED
ON THE I/O LINK
(MASTER)
Outline The data input/output functions based on the I/O Link transfer data
between one master Power Mate i–D/H unit and up to 16 slave Power
Mate units through the FANUC I/O Link.
Master
818
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
Between the master and the slave of a selected group, data can be
transferred. When the ordinary data input/output function based on the
I/O Link is used, a group is selected by setting a setting parameter. When
data input/output function B based on the I/O Link is used, a group is
selected by using a DI signal.
Data cannot be transferred to and from multiple groups at a time.
For details of the FANUC I/O Link, refer to ”FANUC PMC Programming
Manual”. For details of the external I/O device control function, see
Section 13.2, ”External I/O Device Control”.
For details of signals used with a slave, see Section 13.2, ”External I/O
Device Control” and Section 13.4, ”Data Input/Output Functions Based
on the I/O Link (Slave)” when the slave is a Power Mate i–D/H. In other
cases, refer to the descriptions of external I/O device control in the
connection manual of each model. (In handling slave signals, note that
data ”input” viewed from the master is data ”output” when viewed from
the slave and that data ”output” viewed from the master is data ”input”
when viewed from the slave.)
D Basic procedure of data The basic procedure for data input/output is described below. Before
input/output input/output operation can be started, ladder creation and I/O Link
assignment must be performed. For details, see ”PMC function
instruction”, ”Slave state signals”, and ”Slave control signals” described
later.
NOTE
When using data input/output function B based on the I/O
Link, be sure to set bit 0 (EIB) of parameter No. 8761 to 0
(to use the conventional specifications of external I/O
device control).
819
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
No program with an arbitrary number registered in a slave
may be input. When bit 1 (RAL) of parameter No. 3201 is
set to 0, all programs are input. When that bit is set to 1, the
first program only is input.
820
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
S This operation creates a new program in the master, and the
parameter data of a slave is written there. The expression
”Parameter input” does not mean that master parameter
data and slave parameter data are made identical.
S For details (data format) of programs registered in the
master, see Section 13.2, ”External I/O Device Control”.
821
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
S This operation replaces the parameter data of a slave with
the data written in the master program area. This does not
mean that the parameter data of a slave and the parameter
data of the master are made identical.
S The contents of a program registered in the master must be
written in the format defined for parameter data. For details
of the format, see Section 13.2, ”External I/O Device
Control”.
4) Press address O.
5) Key in a desired program number ”(value set in parameter
No. 8760) + n 10” (with n representing a slave group
number).
6) Press the [(OPRT)] soft key, the continuous menu key
( ), the [PUNCH] soft key, then the [EXEC] soft key.
The parameter data is output to the slave.
S Procedure used with data input/output function B based on the
I/O Link
1) With the PMC function instruction WINDW, set a desired
program number ”(value set in parameter No. 8760) + n
10” (with n representing a slave group number).
2) Specify a slave group number with the group number
specification signals SRLNI0 to SRLNI3.
3) Select the I/O Link by setting the I/O Link specification
signal IOLS to 1.
4) Set the external punch start signal EXWT to 1. The
parameter data is output to the slave.
822
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
S This operation creates a new program in the master, and the
macro variable data of a slave is written there. The
expression ”Macro variable input” does not mean that
master macro variable values and slave macro variable
values are made identical.
S For details (data format) of programs registered in the
master, see Section 13.2, ”External I/O Device Control”.
823
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
S This operation replaces the macro variable values of a slave
with the data written in the master program area. This does
not mean that the macro variable values of a slave and the
macro variable values of the master are made identical.
S The contents of a program registered in the master must be
written in the format defined for macro variable data. For
details of the format, see Section 13.2, ”External I/O Device
Control”.
S When outputting macro variables, be sure to use the ISO
code by setting the setting parameter or bit 1 (ISO) of
parameter No. 0000 to 1. If the EIA code is used for output,
the BP/S alarm (No. 001) is issued on the slave, and the P/S
alarm (No. 086) is issued on the master.
824
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
S This operation creates a new program in the master, and the
diagnostic (PMC) data of a slave is written there. The
expression ”Diagnostic (PMC) data input” does not mean
that the master diagnostic (PMC) state and slave diagnostic
(PMC) state are made identical.
S For details (data format) of programs registered in the
master, see Section 13.2, ”External I/O Device Control”.
825
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
S This operation replaces the PMC signal values of a slave
with the data written in the master program area. This does
not mean that the PMC signal state of a slave and the PMC
signal state of the master are made identical.
S The contents of a program registered in the master must be
written in the format defined for PMC data. For details of the
format, see Section 13.2, ”External I/O Device Control”.
S Diagnostic data cannot be output to a slave. Moreover,
some PMC data cannot be output to a slave. For details,
see Section 13.2, ”External I/O Device Control”.
826
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
The addresses of the slave DI signals EDG00 to EDG15
and EDN00 to EDN15 depend on the model as indicated in
the table below.
Be careful not to make a mistake when inputting macro
variable data and diagnostic (PMC) data. If an incorrect
number or the incorrect number of data items is set, external
I/O device control on slaves is not started.
Signal name Power Mate A/B/C/E Power Mate D/H/iD/iH
EDG00–EDG07 G100.0–G100.7 G252.0–G252.7
EDG08–EDG15 G101.0–G101.7 G253.0–G253.7
EDN00–EDN07 G102.0–G102.7 G254.0–G254.7
EDN08–EDN15 G103.0–G103.7 G255.0–G255.7
For details of setting, see Section 13.2, ”External I/O Device
Control” when the slave is a Power Mate i–D/H. In other
cases, refer to the description of external I/O device control
in the connection manual of each model.
D Stopping input/output Input/output processing can be stopped forcibly by using one of the two
methods described below.
(1) Stop using a reset
Input/output processing can be stopped by a reset.
In this case, however, the slave read/write stop signal ESTPIO is not
output. So, input/output operation being performed by the slave is not
stopped. To stop the input/output operation of a slave, create a ladder
so that the slave read/write stop signal ESTPIO is set to 1 at the time
of reset.
(2) Stop using the external read/punch stop signal EXSTP (only when
data input/output function B based on the I/O Link is used)
Input/output processing is stopped by setting the external read/punch
stop signal EXSTP to 1. In this case, slave read/write stop signal
ESTPIO is output, so that all processing is terminated after checking
the completion of input/output operation of the slave. See the timing
chart indicated in ”(2) When an alarm is issued on the master side” in
”Timing charts of DI/DO signals” described later.
D PMC function instruction The PMC function instruction WINDW is used to set a program number
to be used with data input/output function B based on the I/O Link.
[Details of data]
This instruction is a window function for specifying a program number
to be used for program input/output using the external I/O device control
function via the I/O Link.
827
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
Top address + 0
(Function code)
194
+2
(Completion code)
–
(Setting not needed)
+4
(Data length)
2
+6
(Data number)
0
+8
(Data attitude)
0
+ 10
(Data)
Program number
Top address + 0
(Function code)
194
+2
(Completion code)
?
(See the completion code
described later.)
+4
(Data length)
2
(Data at input time)
+6
(Data number)
0
(Data at input time)
+8
(Data attitude)
0
(Data at input time)
+ 10
(Data)
Program number
(Data at input time)
828
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
[Completion code]
0: Normal termination
5: Data other than 1 to 9999 and –9999 was specified.
The data length, data number, and data attitude are not checked.
For details of the PMC function instruction, refer to ”FANUC PMC
Programming Manual”. (This function is described in ”Program number
specification for the I/O Link”.)
D Slave state signals When the data input/output functions based on the I/O Link are used, the
(input) state signals of a specified slave must be posted to the master. Ensure that
those signals are input to the master through the path indicated below.
Master Slave
BGION 3)
BGIALM
BGEN
For the functions of the slave state signals, see the descriptions of signals.
For the signals on the slave side, see the descriptions of external I/O
device control.
829
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
D Slave control signals When the data input/output functions based on the I/O Link are used,
(output) slave control signals must be output by the master to exercise external I/O
device control on a specified slave. Ensure that those signals are input to
the slave through the path indicated below.
Master Slave
2)
For the functions of the slave control signals, see the descriptions of
signals.
For the signals on the slave side, see the descriptions of external I/O
device control.
D Timing charts of DI/DO The timing charts of DI/DO signals applicable when data input/output
signals function B based on the I/O Link is used are provided below.
When the ordinary data input/output function based on the I/O Link is
used, <1> to <4> in the figures represent input/output operations using
the MDI unit.
(1) When input/output operates normally
*1) Set a program number with the PMC function instruction
(WINDW).
*2) With the group number specification signals SRLNI0 to
SRLNI3, specify the group number of a slave that performs
input/output operation.
*3) Set the I/O Link specification signal IOLS to 1.
*4) To perform input operation, set the external read start signal
EXRD to 1.
To perform output operation, set the external punch start signal
EXWT to 1.
5) Master processing outputs the slave I/O Link selection signal
IOLNKM and the group number output signals SRLNO0 to
SRLNO3.
6) Make a preparation for data input/output based on the I/O Link,
if necessary.
830
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
*7) Upon completion of the processing of 6), set the I/O Link check
signal IOLACK to 1. The master waits until the I/O Link check
signal IOLACK is set to 1.
8) Master processing outputs the slave external read/write start
signal ERDIO/EWTIO and the slave input/output data selection
signals EPRGM, EVARM, EPARMM, and EDGNM.
9) The master waits for the start of the external I/O device control
function of the slave.
(The master waits until the external I/O device control function
of the slave starts.)
10) Master processing executes data input/output through the I/O
Link.
11) Upon completion of data input/output, the master sets the slave
external read/write start signal and slave input/output data
selection signals to 0.
12) The master waits for the completion of operation of the external
I/O device control function of the slave.
The master waits until the external I/O device control function of
the slave is terminated or stopped.
13) Upon completion of the external I/O device control function of
the slave, the Power Mate read/write in–progress signal is set to
0.
14) The master sets the slave I/O Link selection signal IOLNKM to
0.
*15) The I/O Link specification signal IOLS and the I/O Link check
signal IOLACK are set to 0.
NOTE
The operations marked with * are performed by a ladder.
The other operations are performed by the NC.
831
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
6) 9) 10) 12)
1)
Program No.
(Input)
2)
3) 15)
I/O Link specification signal IOLS
(Input)
4)
External read/punch signal
EXRD/EXWT (Input)
5) 14)
Slave I/O Link selection signal
IOLNKM (Output)
11)
Read/punch in–progress signal
RPBSY (Output)
11)
Background in–use signal
BGEACT (Output)
7)
I/O Link check signal IOLACK
(Input)
8) 11)
Slave external read/write start
signal ERDIO/EWTIO
(Output)
8) 11)
Slave input/output data selection
signals EPRGM, EVARM,
EPARMM, and EDGNM (Output)
13)
Power Mate read/write in–progress
signal BGION (Input)
832
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
The operations marked with * are performed by a ladder.
The other operations are performed by the NC.
833
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
6) 9) 10) 12)
1)
Program No.
(Input)
2)
Group number specification signal
SRLNIx (Input)
3) 15)
I/O Link specification signal IOLS
(Input)
4)
External read/punch signal
EXRD/EXWT (Input)
5) 14)
Slave I/O Link selection signal
IOLNKM (Output)
5)
Group number output signal
SRLNOx (Output)
11)
Read/punch in–progress signal
RPBSY (Output)
11)
Background in–use signal BGEACT
(Output)
15)
7)
I/O Link check signal IOLACK
(Input)
8) 11)
Slave external read/write start signal
ERDIO/EWTIO (Output)
8) 11)
Slave input/output data selection
signals EPRGM, EVARM, EPARMM,
and EDGNM (Output)
11) 14)
Slave read/write stop signal ESTPIO
(Output)
11)
Read/punch alarm signal RPALM
(Output)
13)
Power Mate read/write in–progress
signal BGION (Input)
834
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
The operations marked with * are performed by a ladder.
The other operations are performed by the NC.
835
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
6) 9) 10)
1)
Program No.
(Input)
2)
Group number specification
signal SRLNIx (Input)
3)
I/O Link specification signal IOLS 13)
(Input)
4)
External read/punch signal
EXRD/EXWT (Input)
5)
Slave I/O Link selection signal
IOLNKM (Output)
5)
Group number output signal
SRLNOx (Output)
11)
Power Mate read/write alarm
signal BGIALM (Input)
11)
Power Mate read/write in–progress
signal BGION (Input) 11)
Power Mate background in–use
signal BGEN (Input)
836
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
D Troubleshooting The data input/output functions based on the FANUC I/O Link are
implemented by many different elements such as a ladder, I/O Link
assignment, master parameters, and slave parameters. So, a trouble can
occur, for example, at start–up time.
As reference information, the table below indicates trouble symptoms,
causes, and actions to be taken.
Symptom Cause/action
When an attempt is made to output The I/O Link check signal IOLACK is
data to a slave, the following occurs: not set to 1.
Master: ”OUTPUT” continues The cause may be a ladder error or
blinking. I/O assignment error.
Slave: No response is made. (*)
837
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
Symptom Cause/action
When an attempt is made to input The start number and the number of
macro variables or diagnostic (PMC) transfer data items are not set cor-
data from a slave, the following oc- rectly in the slave DI signals EDG00
curs: to EDG15 and EDN00 to EDN15.
Master: ”LSK” continues blinking. Example)
Slave: No response is made. 1 The set information is not trans-
(*) ferred to EDG00 to EDG15 and
EDN00 to EDN15 for a ladder er-
ror or I/O assignment error.
2 A nonexistent number or the in-
correct number of data items is
specified.
CAUTION
When a symptom marked with (*) occurs, the internal
processing of the master is waiting for a condition to be met.
In this state, the screen is not updated. So, note that the
states of signals cannot be checked on a real–time basis on
a screen such as the PMC diagnosis screen.
838
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
Signal
839
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
S When the Power Mate i–D/H is not used as the master for
the data input/output functions based on the I/O Link, be
sure to set the I/O Link specification signal (IOLS) of the
Power Mate i–D/H to 0. If IOLS is set to 1, data input/output
through RS–232–C cannot be performed with the external
I/O device control function. (This is because master
processing is performed.)
S The I/O Link specification signal IOLS is not used with the
ordinary data input/output function based on the I/O Link.
840
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
Group number
specification signals
SRLNI0 to SRLNI3
<G091#0 to #3>
[Classification] Input signal
[Function] These signals specify a group number for the Power Mate that functions
as a slave when data input/output function B based on the I/O Link
(master) is used.
[Operation] With four binary code signals, a group number is specified for the Power
Mate used as a slave.
NOTE
The group number specification signals SRLNI0 to SRLNI3
are not used with the ordinary data input/output function
based on the I/O Link.
841
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
842
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
843
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
Slave parameter
selection signal
EPARMM <F177#6>
[Classification] Output signal
[Function] This signal notifies the slave that input/output data consists of parameters.
[Output condition] This signal is set to 1 in the following case:
S When input/output data consists of parameters and data input/output
operation is started
This signal is set to 0 in the following case:
S When data input/output operation ends
This signal is one of the slave control signals, and the signal on the slave
side is EPARM <G251#6/G98#6>. (The address of the first half is for the
Power Mate D/H/iD/iH, and the address of the second half is for other
models.)
Create a ladder so that when this signal is set to 1, the EPARM
<G251#6/G98#6> signal of the slave is set to 1 via the I/O Link.
844
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
845
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
846
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
NOTE
S In the case of program input, which of registration and
collation to perform depends on the memory protection key
KEY3 <G046#5> (when bit 7 of parameter No. 3290 = 0) or
KEY1 <G046#3> (when bit 7 of parameter No. 3290 = 1).
S During data input operation, the read/punch in–progress
signal RPBSY is set to 1.
S If the background in–use signal BGEACT is set to 1, for
example, during background editing or in the MDI mode, the
external read start signal EXRD is ignored.
S When a reset is applied or the external read/punch stop
signal EXSTP is set to 1 during data input, input operation
is stopped.
S If the RS–232–C interface is already used in the foreground
(for example, during DNC operation or data input/output
operation using the [READ] or [PUNCH] soft key in the
editing mode), the external read start signal EXRD is
ignored.
S To enable program registration/collation, an additional
condition must be satisfied. For example, no program that
has the same number as a program to be
registered/collated must be under execution in the
foreground.
847
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
(b) Slave via the I/O Link (data input/output functions based on the I/O
Link (slave)) (Bit 0 of parameter No. 8761 = 0, IOLNK <G251#0> =
1, IOLS <G92#1> = 0)
S In all modes except the MDI mode, programs, macro variables,
parameters, or diagnostic (PMC) data is output to the program area
of a unit (such as the Power Mate i–D/H and FS16(i)/18(i)/21(i))
used as the master via the I/O Link by using the background editing
function.
Create a ladder so that this signal is turned on when the slave
external write start signal EWTIO of the master is on.
Which data to output is determined by the setting of each of the data
selection signals EPRG <G251#4>, EVAR <G251#5>, EPARM
<G251#6>, and EDGN <G251#7>.
(c) Master via the I/O Link (data input/output function B based on the I/O
Link (master)) (Bit 0 of parameter No. 8761 = 0, IOLS <G92#1> = 1)
S In all modes except the MDI mode, programs, or macro variables,
parameters, or PMC data stored in the program area is output to the
Power Mate used as a slave via the I/O Link by using the
background editing function.
Which data to output is determined by the program number set with
the PMC function instruction WINDW.
NOTE
S During output operation, the read/punch in–progress signal
RPBSY is set to 1.
S If the background in–use signal BGEACT is set to 1, for
example, during background editing or in the MDI mode, the
external punch start signal EXWT is ignored.
S When a reset is applied or the external read/punch stop
signal EXSTP is set to 1 during data output, output
operation is stopped.
S If the RS–232–C interface is already used in the foreground
(for example, during DNC operation or program input
operation in the editing mode), the external punch start
signal EXWT is ignored.
S To enable program output operation, an additional condition
must be satisfied. For example, those programs that are
being executed or are protected with the bits 0 and 4 (NE8
and NE9) of parameter No. 3202 cannot be output.
848
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
Read/punch in–progress
signal
RPBSY <F053#2>
[Classification] Output signal
[Function] This signal posts that data is being input/output with the external read start
signal or external punch start signal.
[Output condition] This signal is set to 1 in the following case:
S When input/output operation is started with the external read start
signal or external punch start signal
This signal is set to 0 in the following case:
S When data input/output operation started with the external read start
signal or external punch start signal ends
This signal is set to 0 when data input/output operation is stopped
normally and also when data input/output operation is stopped
forcibly with a reset or the external read/punch stop signal EXSTP.
849
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
EXRD
EXSTP
PRBSY
BGEACT
Read Read Read Read Read
start end start interrupt start
EXWT
EXSTP
PRBSY
BGEACT
Punch Punch Punch Punch Punch
start end start interrupt start
EXRD or EXWT
RPALM
PRBSY
BGEACT
Read/punch Read/punch Read start
start interrupt
Background in–use
signal
BGEACT <F053#4>
[Classification] Output signal
[Function] This signal posts that the background editing function is operating.
[Output condition] This signal is set to 1 in the following cases:
S When the background editing mode is set with the [BG EDIT] soft key
S When the MDI mode is selected
S When data input/output operation is started with the external read start
signal or external punch start signal
This signal is set to 0 in the following cases:
S When the background editing mode is terminated with the [BG END]
soft key
S When the mode is switched from the MDI mode to another mode
S When data input/output operation started with the external read start
signal or external punch start signal is stopped
This signal is set to 0 when the background editing function is stopped
normally and also when the background editing function is stopped
forcibly with a reset or the external read/punch stop signal EXSTP.
850
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
Signal Address
#7 #6 #5 #4 #3 #2 #1 #0
G058 EXWT EXSTP EXRD
#7 #6 #5 #4 #3 #2 #1 #0
G091 SRLNI3 SRLNI1 SRLNI1 SRLNI0
#7 #6 #5 #4 #3 #2 #1 #0
G092 BGEN BGIALM BGION IOLS IOLACK
#7 #6 #5 #4 #3 #2 #1 #0
F053 BGEACT RPALM RPBSY
#7 #6 #5 #4 #3 #2 #1 #0
F177 EDGNM EPARMM EVARM EPRGM EWTIO ESPTIO ERDIO IOLNKM
#7 #6 #5 #4 #3 #2 #1 #0
F178 SRLNO3 SRLNO2 SRLNO1 SRLNO0
Parameter
0200 I/O device selection
20 Group 0
21 Group 1
22 Group 2 Data is transferred to and from the Power Mate of
group n (n = 0 to 15) via the FANUC I/O Link.
34 Group 14
35 Group 15
851
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
NOTE
1 An I/O device can be selected on the setting screen as well, and the setting screen is usually
used for selection.
2 To transfer data to and from an external I/O device by using an I/O device interface (RS–232–C
serial port), the specifications (baud rate, the number of stop bits, and so forth) of the connected
I/O device need to be set in the parameters corresponding to the interface. (Refer to Section
4.2 in the parameter manual (B–63180EN).)
Each of I/O CHANNEL = 0 and I/O CHANNEL = 1 represents an I/O device connected to
RS–232–C serial port 1, but parameters for setting a baud rate, the number of stop bits, and
so forth are provided separately for each.
Mother board
I/O CHANNEL=0, 1
RS–232–C serial port 1/2 RS–232–C I/O device
R232 (JD42) (Channel 1)
I/O CHANNEL=2
RS–232–C I/O device
(Channel 2)
3 An I/O device interface may be referred to as a reader/puncher interface. RS–232–C serial port
1 and RS–232–C serial port 2 may be referred to as channel 1 and channel 2, respectively.
4 Channel 2 has no control line, so that the Handy file and floppy cassette cannot be connected.
8760 Number of a program with which slave data is registered (data input/output func-
tions based on the I/O Link)
852
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
#7 #6 #5 #4 #3 #2 #1 #0
8761 EIB
NOTE
Set this bit to 0 when using data input/output function B
based on the I/O Link (master) and the data input/output
functions based on the I/O Link (slave).
853
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
854
B–63173EN–1/02 13. INPUT/OUTPUT OF DATA
13.4
DATA INPUT/OUTPUT
FUNCTIONS BASED
ON THE I/O LINK
(SLAVE)
Outline Via the FANUC I/O Link, NC programs, parameters, macro variables,
diagnostic data, or PMC data can be transferred between a unit used as the
master and a Power Mate i–D/H unit. (Diagnostic data is output only.)
The method of data input/output control depends on the function of the
master of the FANUC I/O Link. The data input/output functions based
on the I/O Link cannot be used in combination with an I/O Link master
unit that does not have the function.
The Power Mate–A/B/C/D/E/F/H cannot function as the master of the
functions. When the Power Mate i–D/H is used as the master, see Section
13.3, ”Data Input/Output Functions Based On the I/O Link (Master)”, for
details of the functions.
Signal Only a particularly important signal is described below. For other signals,
see Section 13.2, ”External I/O Device Control”.
Signal Address
#7 #6 #5 #4 #3 #2 #1 #0
G251 IOLNK
855
13. INPUT/OUTPUT OF DATA B–63173EN–1/02
Parameter Only particularly important parameters are described below. For other
parameters, see Section 13.2, ”External I/O Device Control”.
#7 #6 #5 #4 #3 #2 #1 #0
8761 EIB
NOTE
Set this bit to 0 when using data input/output function B
based on the I/O Link (master) and the data input/output
functions based on the I/O Link (slave).
856
B–63173EN–1/02 14. MEASUREMENT
14 MEASUREMENT
857
14. MEASUREMENT B–63173EN–1/02
14.1
TOOL LENGTH
MEASUREMENT
General
The value displayed as a relative position can be set in the offset memory
as an offset value by a soft key.
Call offset value display screen on the CRT. Relative positions are also
displayed on this screen. Then select the reference tool and set it at the
fixed point on the machine by manual operation. Reset the displayed
relative position to zero. Set the tool for measurement at the same fixed
point on the machine by manual operation. The relative position display
at this point shows difference between the reference tool and the tool
measured and the relative position display value is then set as offset
amounts.
ÄÄ ÄÄ
ÄÄ ÄÄ
ÄÄ ÄÄ
Reference tool
ÄÄ
ÄÄ This difference
is set as offset
amount
Fixed point
Reference Item
OPERATOR’S MANUAL V.11.4.2 Tool Length Measurement
(B–63174EN)
858
B–63173EN–1/02 14. MEASUREMENT
14.2
SKIP FUNCTION
14.2.1
Skip Function
General Linear interpolation can be commanded by specifying axial move
following the G31 command, like G01. If an external skip signal is input
during the execution of this command, execution of the command is
interrupted and the next block is executed.
The skip function is used when the end of machining is not programmed
but specified with a signal from the machine, for example, in grinding. It
is used also for measuring the dimensions of a workpiece.
The coordinate values when the skip signal is turned on can be used in a
custom macro because they are stored in the custom macro system
variable #5061 to #5068, as follows:
#5061 Fisrt axis coordinate value
#5062 Second axis coordinate value
#5063 3rd axis coordinate value
:
:
#5068 8th axis coordinate value
Signal
Skip Signal
SKIP
D <X000#7> or
<X1000#7> on Power
Mate i–H and on
1–path control and
path 1 side of 2–path
control of the Power
Mate i–D
D <X001#7> or
<X1001#7> on path 2
side of 2–path control
of the Power Mate i–D
SKIPP <G006#6>
[Classification] Input signal
[Function] This signal terminates skip cutting. That is, the position where a skip
signal turns to “1” in a block containing G31 is stored in a custom macro
variable, and the move command of the block is terminated at the same
time.
[Operation] When a skip signal turns to “1”, the control unit works as described below.
· When a block contains a skip cutting command G31, the control unit
reads and stores the current position of the specified axis at that time.
The control unit stops the axis, then cancels the remaining distance that
the block was supposed to be moved.
859
14. MEASUREMENT B–63173EN–1/02
· The skip signal is monitored not for a rising edge, but for its state. So,
if a skip signal continues to be “1”, a skip condition is assumed to be
satisfied immediately when the next skip cutting is specified.
NOTE
1 The skip signal width requires at least 10 msec.
2 The CNC directly reads the skip signal SKIP<X000#7,
X001#7> or <X1000#7, X1001#7> from the machine tool;
the PMC no longer requires to process the signal.
3 If the skip function G31 is not used, the PMC can use the
signal terminal SKIP<X000#7, X001#7> or <X1000#7,
X1001#7> corresponding to the skip signal as a general
purpose input signal.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G006 SKIPP
#7 #6 #5 #4 #3 #2 #1 #0
X1001 SKIP IGP
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6200 SKF SK0 GSK
860
B–63173EN–1/02 14. MEASUREMENT
SKF Dry run, override, and automatic acceleration/deceleration for G31 skip
command
0 : Disabled
1 : Enabled
#7 #6 #5 #4 #3 #2 #1 #0
6202 1S1
Warning
WARNING
Disable feedrate override, dry run, and automatic
acceleration/deceleration (enabled with parameter No.
6200#7 SKF=1) when the feedrate per minute is specified,
allowing for reducing an error in the position of the tool when
a skip signal is input. These functions are enabled when the
feedrate per rotation is specified.
Note
NOTE
1 The G31 block is always set to G01 mode. The feedrate is
specified by an F code.
2 When the measuring motion is made by utilizing the skip
signal, program a constant feedrate; otherwise, if the
feedrate changes, the measuring error will be noticeable.
With a constant feedrate, the maximum measuring error can
be calculated as follows:
ERRmax = Fm × 1 × 4
60 1000
ERRmax : Maximum measuring error (mm or inch)
Fm : Measuring feedrate (mm/min or inch/min)
3 Overtravel amount Qmax after skip signal has been turned
to “1” is calculated by the following:
Qmax = Fm × 1 × 1
(20#1 + Tc + Ts)
60 1000
Qmax : Overtravel amount (mm or inch)
Fm : Feedrate (mm/min or inch/min)
Tc : Cutting time constant (ms)
Ts : Servo time constant (ms) (1 loop gain)
#1 : The value becomes 28 when the skip signal SKIPP
<G006#6> is used. (Also it changes according to
the processing time of ladder program).
861
14. MEASUREMENT B–63173EN–1/02
Reference item
OPERATOR’S MANUAL II.4.14 SKIP FUNCTION(G31)
(B–63174EN)
14.2.2
Multi–step Skip
Signal
Skip signal
SKIP, SKIP2 to SKIP4
D <X0000#0, #1, #2, #7>
or <X1000#0, #1, #2,
#7> Power Mate i–H
and 1–path control
and path 1 side of
2–path control of the
Power Mate i–D
D <X0001#0, #1, #2, #7>
or <X1001#0, #1, #2,
#7> Path 2 side of
2–path control of the
Power Mate i–D SKIPP
<G006#6>
[Classification] Input signal
[Function] These signals terminate skip cutting. That is, the position where a skip
signal turns to “1” in a command program block containing G31P1 (or
G31), G31P2, or G31P3, G31P4 is stored in a custom macro variable, and
the move command of the block is terminated at the same time.
Furthermore, in a block containing G04, G04Q1, G04Q2, G04Q3 or
G04Q4, the dwell command of the block is terminated.
862
B–63173EN–1/02 14. MEASUREMENT
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
X001 SKIP SKIP4 SKIP3 SKIP2
#7 #6 #5 #4 #3 #2 #1 #0
X1001 SKIP SKIP4 SKIP3 SKIP2
863
14. MEASUREMENT B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6202 1S4 1S3 1S2 1S1
#7 #6 #5 #4 #3 #2 #1 #0
6209 DSK
864
B–63173EN–1/02 14. MEASUREMENT
Note
NOTE
The skip cutting commands G31 P1, G31 P2, G31 P3, and
G31 P4 are all identical, except that they correspond to
different skip signals. The tool moves along the specified
axis until the SKIP signal is set to “1” or the end point of the
specified movement is reached, while performing linear
interpolation. The feedrate is specified in the program. G31
is the same as G31 P1.
Dwell commands G04, G04 Q1, G04 Q2, G04 Q3, and G04
Q4 are also identical, except that they correspond to
different skip signals.
Reference item
OPERATOR’S MANUAL II.4.5 Multi–step Skip (G31)
(B–63174EN)
14.2.3
High–Speed Skip
Function
General The skip function can be performed by using a high–speed skip signal
(DI30 – DI37: connected directly to the CNC; not via the PMC) instead
of an ordinary skip signal (SKIP1 – SKIP4). In this case, up to eight
signals can be input. This high–speed skip signal input function allows
high precision measurement.
Acceleration/ According to this skip function, CNC can memorize the ”current
Deceleration and Servo position” of the axis at the moment when a skip signal is input. However,
Delay Compensation the ”current position” includes a delay in the servo system. In other words,
(Type A/B) the ”current position” deviates by the distance corresponding to the servo
delay from the actual tool position. This deviation can be estimated from
the following error in the servo system and the number of remaining
pulses caused by the acceleration/ deceleration. Taking this deviation into
account eliminates the necessity to include the servo delay in a
measurement error.
The deviation of the ”current position” can be compensated for by either
of the following two types, using parameter SEA (bit 0 of parameter No.
6201) or parameter SEB (bit 1 of parameter No. 6201).
(1) Type A: The deviation is estimated from the cutting time constant and
the servo time constant (loop gain).
(2) Type B: The deviation is assumed to be a sum of the following error
and the number of remaining pulses caused by the acceleration/
deceleration when the skip signal is turned on.
865
14. MEASUREMENT B–63173EN–1/02
High–speed
skip signal
Pnc
Q P
NOTE
In case of type A (parameter SEA (bit 0 of No. 6201)=1), the
skip signal must be turned on when the axis moves at
constant feedrate.
866
B–63173EN–1/02 14. MEASUREMENT
Movement between this After the in–position check is done between the block of this command
command and and the former/latter block, the next block is started.
former/latter block
Speed
This command
Latter block
Time
Time
In–position check
Signal
867
14. MEASUREMENT B–63173EN–1/02
[Operation] When a skip signal turns to ”1”, the control unit functions as described
below.
· When a block contains a G code for skip cutting (from G31, G31P1 to
P8), and the skip signal is made applicable to the command by
parameter setting, the control unit reads and stores the current position
of the specified axis at that time. The control unit stops the axis, and then
cancels the remaining distance that the block was supposed to be
moved.
· When a block contains a G04, or G04Q1 to Q8 for dwell, and the skip
signal is made applicable to the command by parameter setting, the
control unit stops dwell operation, and cancels any remaining dwell
time.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
X1003 DI37 DI36 DI35 DI34 DI33 DI32 DI31 DI30
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6200 SRE SLS
NOTE
The following parameters must be set, if the above
parameter is set to ”1” and the high–speed skip signals are
available.
No.8731, 8732, 8733
SRE In case the status trigger method for high–speed skip signals is selected
(bit 6 of No.6209 = 0) :
0 : The signal is considered to be input at the status ”1”.
1 : The signal is considered to be input at the status ”0”.
NOTE
The skip signals (SKIP, SKIP2 – SKIP4) are available
irrespective of whether this parameter is set. If the
parameter IGX (bit 4 of No.6201) is set to 1, these signals
are not available.
868
B–63173EN–1/02 14. MEASUREMENT
#7 #6 #5 #4 #3 #2 #1 #0
6201 IGX SEB SEA
SEA When a high–speed skip signal turns on while the skip function is used,
acceleration/deceleration and servo delay are:
0 : Ignored.
1 : Considered and compensated (type A).
SEB When a high–speed skip signal turns on while the skip function is used,
acceleration/deceleration and servo delay are:
0 : Ignored.
1 : Considered and compensated (type B).
IGX When the high–speed skip function is used, SKIP, SKIP2 to SKIP4, and
SKIPP(G006#6) are:
0 : Enabled as skip signals.
1 : Disabled as skip signals.
#7 #6 #5 #4 #3 #2 #1 #0
6202 1S8 1S7 1S6 1S5 1S4 1S3 1S2 1S1
869
14. MEASUREMENT B–63173EN–1/02
SKIP/DI30 1S1 2S1 3S1 4S1 5S1 6S1 7S1 8S1 DS1
SKIP2/DI31 1S2 2S2 3S2 4S2 5S2 6S2 7S2 8S2 DS2
SKIP3/DI32 1S3 2S3 3S3 4S3 5S3 6S3 7S3 8S3 DS3
SKIP4/DI33 1S4 2S4 3S4 4S4 5S4 6S4 7S4 8S4 DS4
DI34 1S5 2S5 3S5 4S5 5S5 6S5 7S5 8S5 DS5
Di35 1S6 2S6 3S6 4S6 5S6 6S6 7S6 8S6 DS6
DI36 1S7 2S7 3S7 4S7 5S7 6S7 7S7 8S7 DS7
DI37 1S8 2S8 3S8 4S8 5S8 6S8 7S8 8S8 DS8
#7 #6 #5 #4 #3 #2 #1 #0
6209 SEDG
#7 #6 #5 #4 #3 #2 #1 #0
8731
EPMC7 EPMC6 EPMC5 EPMC4 EPMC3 EPMC2 EPMC1 EPMC0
NOTE
This parameter must be set to 0, when the above functions
are not used.
870
B–63173EN–1/02 14. MEASUREMENT
#7 #6 #5 #4 #3 #2 #1 #0
8732 UPEG7 UPEG6 UPEG5 UPEG4 UPEG3 UPEG2 UPEG1 UPEG0
#7 #6 #5 #4 #3 #2 #1 #0
8733 DWEG7 DWEG6 DWEG5 DWEG4 DWEG3 DWEG2 DWEG1 DWEG0
871
14. MEASUREMENT B–63173EN–1/02
14.2.4
High–Speed Skip
Function (with
Traveling Distance
from Skip Signal)
General In the G31 block specifying the traveling distance R from skip signal, if
the high–speed skip signal is input during execution of this block, the
control unit stops the axis after moving the specified traveling distance
from skip signal and then cancels the remaining distance that the block
was supposed to be moved.
Basic operations
Speed
Traveling distance
R from skip signal
Time
Skip signal input
CAUTION
Please input the skip signal while the axis speed is constant.
NOTE
1 Dry run, override, and automatic acceleration/deceleration
for G31 skip command are always enabled irrespective of
whether parameter SKF (bit 7 of No.6200) is set.
2 Acceleration/deceleration before interpolation can not be
applied to this block.
872
B–63173EN–1/02 14. MEASUREMENT
In case the axis can not One of the following actions are done when the movement can not be
be decelerated and decelerated and stopped within the specified traveling distance from skip
stopped within the signal.
specified traveling (1) In case the parameter SKR (bit 7 of No.6209)=0 (the axis comes back
distance from skip signal to the stop position after the axis passes by the stop position):
because the distance is
too short High–speed skip Temporal stop position
signal input
Reversal action
Specified traveling
distance from skip
signal Distance to
decelerate
High–speed skip
signal input
Start position Stop position
Specified traveling
distance from skip Distance to
signal decelerate
Movement between the The in–position check and the accelerating/decelerating completion
block with this command check between blocks are not done, when both this block and the next
and the next block block are commanded the cutting feed.
But the next block is read after the skip signal is input. So, the axis
decelerates between blocks for a time, if the traveling distance from skip
signal is short.
873
14. MEASUREMENT B–63173EN–1/02
(1) When the traveling distance from skip signal is long enough to
decelerate.
Time
Time
The valid area for skip In the block of this command, the valid area for skip signal is shown
signal below.
(a) In case the axis stops at the start point of the block with this command.
Speed
Specified travel-
ing distance R
from skip signal
Time
T T Time
NOTE
1 T is the time constant of the acceleration/deceleration.
2 The servo delay is not considered in above figure.
3 The skip signal is not valid during decelerating.
874
B–63173EN–1/02 14. MEASUREMENT
(b) In case the axis does not stop between the former block and the block
of G31.
Speed
Specified traveling
distance R from
skip signal
Time
T T
NOTE
1 T is the time constant of the acceleration/deceleration.
2 The servo delay is not considered in above figure.
3 The skip signal is not valid during decelerating.
CAUTION
When the skip signal inputs at the period of A in above
figure, the measurement position may be out of the area of
this command.
875
14. MEASUREMENT B–63173EN–1/02
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
X1003 DI37 DI36 DI35 DI34 DI33 DI32 DI31 DI30
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6200 SRE SLS
876
B–63173EN–1/02 14. MEASUREMENT
NOTE
The following parameters must be set, if the above
parameter is set to ”1” and the high–speed skip signals are
available.
No.8731, 8732, 8733
SRE In case the status trigger method for high–speed skip signals is selected
(bit6 of No.6209 = 0) :
0 : The signal is considered to be input at the status ”1”.
1 : The signal is considered to be input at the status ”0”.
NOTE
The skip signals (SKIP, SKIP2 – SKIP4) are available
irrespective of whether this parameter is set. If the
parameter IGX (bit 4 of No.6201) is set to 1, these signals
are not available.
#7 #6 #5 #4 #3 #2 #1 #0
6201 IGX
#7 #6 #5 #4 #3 #2 #1 #0
6202 1S8 1S7 1S6 1S5 1S4 1S3 1S2 1S1
877
14. MEASUREMENT B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
6209 SKRT SEDG
878
B–63173EN–1/02 14. MEASUREMENT
#7 #6 #5 #4 #3 #2 #1 #0
8731
EPMC7 EPMC6 EPMC5 EPMC4 EPMC3 EPMC2 EPMC1 EPMC0
NOTE
This parameter must be set to 0, when the above functions
are not used.
#7 #6 #5 #4 #3 #2 #1 #0
8732 UPEG7 UPEG6 UPEG5 UPEG4 UPEG3 UPEG2 UPEG1 UPEG0
#7 #6 #5 #4 #3 #2 #1 #0
8733 DWEG7 DWEG6 DWEG5 DWEG4 DWEG3 DWEG2 DWEG1 DWEG0
879
14. MEASUREMENT B–63173EN–1/02
Caution
CAUTION
1 The traveling distance R from skip signal is specified the
distance that is traveled along a tangent, when two or more
axes are specified in this block.
2 The axis passes by the specified end–position by the
traveling distance from skip signal, if the skip signal is not
input for the block of G31.
3 In case of rotary axis, please set feed rate of the axis less
than n 2500deg/min (n: moving amount per one rotation).
4 When the shorter route control for the rotary axis, that is
enabled the roll–over function, is selected, the direction of
axis movement is the same as the direction specified when
the traveling distance from skip signal is not given.
5 Please input a skip signal at intervals of 16 msec or more.
880
B–63173EN–1/02 14. MEASUREMENT
14.3
MEASURING
FUNCTION BY USING
HIGH–SPEED SKIP
SIGNAL (Power Mate
i–H)
D Buffers (System Eight ring buffers are prepared to keep measured data, and each of them
variables) can hold 100 points of data (system variables: #9000–#9799). By the
parameter No.6220–No.6227 and No.6230–No6237, you can select
which ring buffer is used to store measured data into. Number of data that
is stored in a ring buffer depends on the parameter No.6210–No.6217.
The initial data of the system variables can be set by user (default is 0).
D Write pointer of ring The system variables 9800–9814 are assigned for a write pointer of ring
buffer buffer. The initial value of the write pointer can be set by user (please
confirm that measuring signal is off when this value will be set).
881
14. MEASUREMENT B–63173EN–1/02
Signal
Measuring signal
MEAS0–MEAS7
<G244#0–#7>
[Classification] Input signal
[Function] These signals enable to use this measuring function.
[Operation] While a measuring signal is ”1”, the workpiece coordinate values or the
interval can be measured by using high–speed skip signals.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
X1003 DI37 DI36 DI35 DI34 DI33 DI32 DI31 DI30
#7 #6 #5 #4 #3 #2 #1 #0
G244 MEAS7 MEAS6 MEAS5 MEAS4 MEAS3 MEAS2 MEAS1 MEAS0
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8732 UPEG7 UPEG6 UPEG5 UPEG4 UPEG3 UPEG2 UPEG1 UPEG0
NOTE
1 After setting this parameter, turn the power off then on again
so that the setting will take effect.
2 The same signal cannot be used by both the high–speed
skip measurement function and the interrupt type PMC
function.
882
B–63173EN–1/02 14. MEASUREMENT
#7 #6 #5 #4 #3 #2 #1 #0
8733 DWEG7 DWEG6 DWEG5 DWEG4 DWEG3 DWEG2 DWEG1 DWEG0
NOTE
1 After setting this parameter, turn the power off then on again
so that the setting will take effect.
2 The same signal cannot be used by both the high–speed
skip measurement function and the interrupt type PMC
function.
#7 #6 #5 #4 #3 #2 #1 #0
6218 DIS7 DIS6 DIS5 DIS4 DIS3 DIS2 DIS1 DIS0
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
883
14. MEASUREMENT B–63173EN–1/02
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
884
B–63173EN–1/02 14. MEASUREMENT
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
885
14. MEASUREMENT B–63173EN–1/02
NOTE
After setting this parameter, turn the power off then on again
so that the setting will take effect.
Write pointer
Variable No. Function (initial value is set by user, default is 0)
NOTE
Measuring function is ineffective when data was set out of
range.
Reading/Writing of The measured data and the write pointers can be read by using PMC
measured data by PMC function command WINDR, and written by using WINDW, from the
PMC ladder.
886
B–63173EN–1/02 14. MEASUREMENT
Reading a measured
data (high–speed type)
[Description] The system variables relating to measuring function can be read.
(1) System variables #9000–#9799
Measured data can be read. Data type is DWORD.
(2) System variables #9800 or later
Buffer pointer can be read. Data type is WORD.
[Input data structure]
Top address +0
(Function code)
400
2
(Completion code)
–
(Need not to be set)
4 (Data length)
–
(Need not to be set)
6
(Data number)
N
(N: System variable number)
8
(Data attribute)
–
(Need not to be set)
10
(Data area)
–
(Need not to be set)
887
14. MEASUREMENT B–63173EN–1/02
Top address +0
(Function code)
400
2 (Completion code)
?
(See the explanation of the
completion codes.)
4 (Data length) L=2: WORD type
L L=4: DWORD type
(L: data length of system
variables by byte unit)
6
(Data number)
N
(N: input data)
8
(Data attribute)
888
B–63173EN–1/02 14. MEASUREMENT
Top address +0
(Function code)
401
2
(Completion code)
–
(Need not to be set)
8
(Data attribute)
889
14. MEASUREMENT B–63173EN–1/02
Top address +0
(Function code)
401
2 (Completion code)
?
(See the explanation of the
completion codes.)
4 (Data length)
L
(L: input data)
6
(Data number)
N
(N: input data)
8
(Data attribute)
10
(Data area)
–
(Need not to be set)
Example The following is a sample program in case that X–axis makes one rotation
while Y–axis is moved for an interval of markers (A). The intervals are
measured by using this function and a sensor.
Y–axis
890
B–63173EN–1/02 14. MEASUREMENT
Motions
S Y–axis is moved at constant velocity by using PMC axis control, and
so on.
(If velocity is not constant, measuring accuracy goes down.)
S X–axis is controlled in order to makes one rotation while Y–axis
moved an interval of marker by using multi–axes synchronous
function.
S This motion stops, when input signal for custom macro (#1000) UI000
(G54.0) is 1.
X–axis and first marker are at synchronized position like above figure
when this application is started. This time, an interval between first
marker and second is already measured, and this measured data(A) is in
first buffer(#9000).
Above figure shows a situation that this application just starting.
And then,
1. Put the multi–axes synchronous command.
2. Start to move Y–axis
3. X–axis makes one rotation while Y–axis is moved for a measured
interval between markers.
4. Measure next interval between markers.
5. Continue motions of 3 and 4.
Notes
S Consider not to put a command of X axis motion before an interval of
marker is measured
S Two or more buffers are needed. This sample uses two buffers.
S In case of using two buffers, set interval(B) between sensor and
synchronized position longer than interval(A), and shorter than
interval(A) 2.
S Make sure that the write pointer of buffer(#9800 or later) go a step in
order to put command after the measuring.
891
14. MEASUREMENT B–63173EN–1/02
O0001;
N10 #100 =9000; First buffer is #9000
N20 #101 =0; Initialize a variable number for storing write pointer
N30 WHILE[#1000 =0] DO1; Continue while G54.0 is 0
N40IF[#101 EQ #9800] GOTO 100; If measuring isn’t finished, do nothing
N50 G145 G91 G01 X360. R#[#100]; If measuring is finished, put a command of multi–axes
synchronous.
N60 #100 =#100+1; Increment buffer pointer.
N70 #101 =#9800; Store the write pointer.
N80 IF[#100 LT 9002] GOTO 100 If last buffer, return to first buffer.
N90 #100 =9000;
N100 END1; Go to N30.
N110 M02;
NOTE
S Plural number of signals can not be assigned to one axis,
when a transfer distance is measured. Please assign one
signal to one axis in such situation. Plural number of signal
can be assigned to one axis, when a work piece coordinate
value is measured.
S If consecutive measuring is carried out with using one
signal, please set an interval of signal inputs more than
16msec.
S If measuring carried out in rotary axis, please set feed rate
of measured axis less than n 2500deg/min (n: amount of
a shift per one rotation)
S Measuring signal must be off, when write–pointer is going
to be changed.
S This function can not be used with high response function
and look–ahead feed– forward control function.
S Measuring signal must be off, when parameter is going to
be changed, weather they are related with this function or
not. Measuring can not be done correctly, if parameters are
changed while measuring signal is on.
892
B–63173EN–1/02 15. PMC CONTROL FUNCTION
893
15. PMC CONTROL FUNCTION B–63173EN–1/02
15.1
PMC AXIS
CONTROL
General The PMC can directly control any given axis, independently of the CNC.
In other words, moving the tool along axes that are not controlled by the
CNC is possible by entering commands, such as those specifying moving
distance and feedrate, from the PMC. This enables the control of turrets,
pallets, index tables and other peripheral devices using any given axes of
the CNC.
894
B–63173EN–1/02 15. PMC CONTROL FUNCTION
PMC CNC
DI/ DO
Commands from path 1 Group A α axis control
In the following description, input/output signals from the four paths are
called group A (path 1), group B (path 2), group C (path 3), group D (path
4), group E (path 5), group F (path 6), group G (path 7), and group H (path
8), respectively.
The name of an input/output signal used for PMC axis control always
contains a lowercase “g”, as in EBUFg. However, there is no such signal
as EBUFg. The actual signal names represented by EBUFg are EBUFA,
EBUFB, EBUFC, EBUFD, EBUFE, EBUFF, EBUFG, and EBUFH,
which respectively correspond to signals of group A (path 1), group B
(path 2), group C (path 3), group D (path 4), group E (path 5), group F
(path 6), group G (path 7), and group H (path 8).
Basic procedure (1) In parameter No. 8010, specify which DI/DO signal group (A, B, C,
or D) is to be used for PMC axis control on a per–axis basis.
When using the same group for simultaneously controlling two or
more axes, check that the settings of the parameters related to
feedrate (rapid traverse rate, acceleration/deceleration time
constant, linear axis/rotation axis, etc.) are identical for each axis to
be controlled.
(2) To enable direct PMC axis control, set each control axis selection
signal (EAX1 to EAX8), that corresponds to an axis to be controlled,
to 1.
(3) Determine the operation.
The axis control command signals (EC0g to EC6g) specify the type
of operation. The axis control feedrate signals (EIF0g to EIF15g)
specify the feedrate. The axis control data signals (EID0g to
EID31g) specify the moving distance and other data.
895
15. PMC CONTROL FUNCTION B–63173EN–1/02
~ ~
Block n
896
B–63173EN–1/02 15. PMC CONTROL FUNCTION
EBUFg
(Input)
(1) (2) (3) (4) (5)
EBSYg
(Output)
The buffer is full.
(1), (2), (3), (4), (5) : A new block cannot be issued during these
intervals (while EBUFg and EBSYg are in different logical states).
D The status of the CNC buffer can be determined by the exclusive OR
of axis control command read signal EBUFg, input from the PMC, and
axis control command read completion signal EBSYg, output from the
CNC.
EBUFg Exclusive
ø OR CNC buffer status
EBSYg (XOR)
0 1
The previous block has already been read into the
ø ø 0
CNC buffer. The PMC can issue the next block.
0 1
897
15. PMC CONTROL FUNCTION B–63173EN–1/02
(5) Repeat steps (3) and (4) until all the blocks have been issued.
When the final block has been issued, set control axis selection
signals EAX1 to EAX8 to “0”. Before setting these signals to “0”,
however, check that the blocks stored in the CNC’s input, waiting,
and executing buffers have all been executed. Setting the signals to
“0” while a block is being executed, or while a block remains in any
of these buffers, results in the issue of a P/S alarm. This alarm
suspends the current block execution and invalidates the blocks
stored in the input and waiting buffers.
To ensure no block is being executed, or that there are no blocks
remaining in the input or waiting buffer, check that control axis
selection status signal *EAXSL is set to “0”.
For those axes that are always subject to PMC control, such as those
controlling turrets, pallets, and ATCs, ensure that the EAX1 to
EAX8 signals are always set to “1”. There is no need to set these
signals to “0” after issuing commands from the PMC to the CNC.
When all command blocks have been executed (there are no blocks
remaining to be executed), the CNC automatically stops execution.
(6) When control axis selection signals EAX1 to EAX8 are set “1” to
“0”, control is returned to the CNC.
Signal
Signal list
No. Symbol Signal name
898
B–63173EN–1/02 15. PMC CONTROL FUNCTION
899
15. PMC CONTROL FUNCTION B–63173EN–1/02
Signal Detail
NOTE
After setting control axis selection signals EAX1 to EAX8 to
1, it takes at least 8 msec before the PMC can issue
commands to the CNC.
900
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Axis control
command
Operation
(hexadecimal
code)
Dwell
04h
Performs the same operation as G04, used by the CNC.
901
15. PMC CONTROL FUNCTION B–63173EN–1/02
Axis control
command
Operation
(hexadecimal
code)
Torque control
11h
Continuous feed under torque control
Auxiliary function
12h Performs the same function as the auxiliary function (M func-
tion), used by the CNC.
Rapid traverse rate When using the rapid traverse command (EC0g to EC6g: 00h), the
feedrate can be specified in either the same parameter as that used by the
CNC (No. 1420) or the PMC’s axis interface feedrate signals EIF0g to
EIF15g. This can be set with RPD, bit 0 of parameter No. 8002.
Reference without dogs The reference position return command (EC0g to EC6g: 05h) enables the
position return following operation: When DLZ, bit 1 of parameter No. 1002, specifying
reference position return without dogs for all axes, or DLZx, bit 1 of
parameter No. 1005, specifying reference position return without dogs for
each axis, is valid and the tool has not been returned to the reference
position since the power was turned on, move each axis in the direction
specified by the continuous feed command (EC0g to EC6g: 06h)
(position the tool to a point near the reference position) and issue the
reference position return command (EC0g to EC6g: 05h). This returns
the tool to the reference position (positions the tool to the grid nearest the
current position) without using the deceleration signal for reference
position return.
Note that, when positioning the tool to a point near the reference position,
the tool must be moved in the direction of reference position return at such
a speed that the servo position error exceeds the value of parameter No.
1836.
902
B–63173EN–1/02 15. PMC CONTROL FUNCTION
First reference position When using the 1st reference position return command (EC0g to EC6g:
return for an incomplete 07h), if DLZ, bit 1 of parameter No. 1002, specifying reference position
reference position return return without dogs for all axes, or DLZx, bit 1 of parameter No. 1005,
without dogs specifying reference position return without dogs on a per–axis basis is
valid and the tool has not been returned to the reference position since the
power was turned on, issuing the 1st reference position return command
(EC0g to EC6g: 07h) results in the issue of a P/S alarm (No. 090).
Continuous feed As in the case of cutting feed for CNC control, bits 0 and 1 of parameter
No. 1610 can be used to select a type of acceleration/deceleration for
continuous feed (EC0g to EC6g: 06h): linear–shaped, bell–shaped, or
exponential. Set the time constant to parameter No. 1622.
1st to 3rd reference When using the 1st to 3rd reference position return commands (EC0g to
position return EC6g: 07h to 0Ah), the feedrate can be specified using RPD, bit 0 of
parameter No. 8002, in the same manner as when using the rapid traverse
command (EC0g to EC6g: 00h).
Note that, in the case of the 1st reference position return, if the tool has
not been manually returned to the reference position after the power was
turned on, the feedrate specified by parameter No. 1424 applies.
External pulse When using the external pulse synchronization commands (EC0g to
synchronization EC6g: 0Bh, 0Dh to 0Eh), the tool moves backwards if the external pulse
has a negative value. When a manual handle interrupt is executed for the
axis to which the external pulse is being applied, the moving distance is
the sum of the external pulse and the interrupt pulse.
Display of remaining When using the continuous feed command (EC0g to EC6g: 06h) and the
distance external pulse synchronization command (EC0g to EC6g: 0Bh, 0Dh to
0Eh), the displayed remaining distance is always “0”.
Speed command When the speed command (EC0g to EC6g: 10h) is used, specify the axis
to be controlled as a rotation axis in ROTX, bit 0 of parameter No.1006.
903
15. PMC CONTROL FUNCTION B–63173EN–1/02
CAUTION
The update speed of the coordinates (followup speed) has
an upper limit (120,000deg/min if the parameter
No.1901#7=0, or 240,000deg/min if the parameter
No.1901#7=1). Because of it, if the following relation is not
satisfied, the servo positioning deviation increases as the
axis moves, and then the alarm of an excessive error
occurs. So be sure to set the parameters and execute
speed command so that the following relation may be
satisfied.
P (rotation per minute) DMR
(least command increment)
CMR
<240000 (in case parameter No.1901#7=1. If parameter
No.1907#7=0, the left side must be less than
120000.)
P is the number of pulses per rotation of the pulse coder.
DMR is detection multiplier (which is set by parameter
No.1816) or flexible feed gear (which is set by parameters
No.2084 and No.2085).
CMR is command multiplier (which is set by parameter
No.1820).
In case DMR, CMR and the least command increment must
not be set freely, the limitation is imposed to the rotation
speed.
In case it is necessary to rotate the motor at very high speed,
although the situation can be unsuitable for position
controlling, determine the rotation speed first and then
adjust DMR, CMR and the least command increment so
that the above relation may be satisfied.
904
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Machine coordinate The machine coordinate system selection command (EC0g to EC6g:
system selection 20h) performs absolute positioning to move the tool in rapid traverse to
a specified position on the machine coordinate system. This command
is used to move the tool to a position specifically defined for the machine,
such as the tool exchange position.
For a rotation axis, short cut rotation can also be specified. Cancel tool
length compensation.
The machine coordinate system must be set before attempting to use this
command. After turning on the power, return the tool to the reference
position either manually or by using G28. When an absolute position
detector is provided, returning the tool to the reference position is not
necessary because the tool position will be stored in memory.
Torque control command When torque control is selected (EC0g to EC6g: 11h), the PMC
controlled axis can be subjected to torque control instead of position
control. In the torque control mode, the servo motor outputs the torque
specified by the NC.
(1) Switching from position control to torque control
a. Setting a torque control axis
Set the axis to be subjected to torque control in the TRQMx bit (bit
7 of parameter No. 2007). Set the torque control axis also in
parameter No. 2105 of torque constant. The motor–specific
standard value is automatically set in this parameter when the
power is turned on with the DGPR bit (bit 1 of parameter No. 2000)
set to 0.
b. Position management in torque control mode
In torque control mode, whether to perform follow–up can be
selected by setting the TQF bit (bit 4 of parameter No. 1803).
When follow–up is not performed, an integrated travel value (error
count) exceeding the value of parameter No. 1885 causes servo
alarm 423 to be issued. When torque control is switched to position
control, follow–up is always performed, even if follow–up
suppression is selected.
905
15. PMC CONTROL FUNCTION B–63173EN–1/02
The CNC manages the position even in torque control mode. After
torque control is switched to position control, no reference position
return is necessary.
c. Traveling direction and speed in torque control mode
In torque control mode, the torque specified by the axis control data
signal is output. While there is no target of torque generation or
while the output torque falls below the specified torque, the
traveling direction is determined by the plus or minus sign added
to the torque data, as in position control. When the traveling speed
exceeds the specified speed, servo alarm 422 is issued.
d. Timing of switching to torque control
A mode is switched to torque control mode after the position error
enters the effective range (in–position state).
(2) Switching from torque control to position control
(canceling torque control mode)
Torque control mode is canceled when any of the following conditions
is satisfied:
1) The reset signal ECLRg is brought to “1”.
2) A servo alarm is issued.
3) An OT alarm is issued on the torque control axis.
4) An emergency stop occurs.
5) The servo motor is turned off by the servo off signal ESOFg.
a. Timing for canceling torque control
When torque control by the PMC controlled axis is canceled,
follow–up may or may not be performed, depending on the setting
in the TRF bit (bit 4 of parameter No. 1803). If follow–up is
suppressed, the torque control mode signal TRQMx immediately
goes “0” when a cause to cancel torque control is detected. Then,
position control mode is selected. The execution terminates when
the position error enters the effective range. If follow–up is
performed, the torque control mode signal TRQMx goes “0” when
a cause to cancel torque control is detected. Then, follow–up starts.
When the position error falls below or equals to the cancel limit
value specified in parameter No. 1886, position control mode is
selected. The execution terminates when the position error enters
the effective range.
b. Command after torque control mode is canceled
When torque control mode is canceled, normal position control
mode is selected. In torque control mode, the position is managed,
and the machine coordinates are not displaced. The workpiece
coordinates, however, are shifted from the machine coordinates.
The shift must be canceled by specifying the command for setting
the workpiece coordinate system or the like.
906
B–63173EN–1/02 15. PMC CONTROL FUNCTION
CAUTION
1 If the torque control axis may be moved in torque control
mode, the follow–up parameter TRF (bit 4 of parameter No.
1803) must be set to “1”.
2 If torque control mode is canceled while the torque control
axis is moving, the return to position control mode causes
a mechanical impact. A faster movement causes a greater
impact. To cancel torque control mode, decelerate or stop
the movement in advance.
3 When specifying the torque control command after a
manual reference position return is completed, set the feed
direction selection signal to “0” in advance. Alternatively,
select a mode other than manual reference position return
mode in advance.
4 In torque control mode, never detach a controlled axis by
the controlled axis detach signal DTCHx or by a setting
parameter.
In cutting feed by PMC axis control, this function specifies the cutting
feedrate by the amount of time required for movement of one block.
The function makes it easy to use multiple PMC control axes to make
movement as linear interpolation.
Since this function cannot perform strict linear interpolation, however, it
cannot be kept for cutting or other high precision use.
NOTE
This function is optional.
The following table shows the correspondence between the axis control
commands and their data:
Command block
Axis control code
Operation Command data
signal EC0g to EC6g
Rapid traverse 00h Total moving distance
EID0g to EID31g
Rapid traverse rate
EIF0g to EIF15g
907
15. PMC CONTROL FUNCTION B–63173EN–1/02
908
B–63173EN–1/02 15. PMC CONTROL FUNCTION
[Valid data range] Specify data within the range given in the following table.
Data range
Unit
IS-B IS-C
909
15. PMC CONTROL FUNCTION B–63173EN–1/02
CAUTION
1 When “0” is specified, the CNC continues to perform
buffering without moving the tool. In such a case, release
the buffering by issuing reset signal ECLRg.
2 Cutting feedrate clamp is disabled.
1 1
0.01 0.0001 0.01
0 0
0 1 0.1 0.001 0.1
1 0 1 0.01 1
WARNING
1 The value of parameter No. 8022 is used as the upper limit
for clamping the feedrate.
2 Override for the feedrate is effective. Dry run is invalid.
CAUTION
The specified feedrate can be magnified by 1, 10, or 100 by
setting bits 6 (FR1) and 7 (FR2) of parameter No. 8002
accordingly.
910
B–63173EN–1/02 15. PMC CONTROL FUNCTION
As commands for (9) to (11) are executed without buffering, axis control
command read completion signal EBSYg usually need not be checked.
CAUTION
The pulse weight is clamped according to the value set for
parameter No. 1424 (parameter for the manual rapid
traverse rate for each axis).
911
15. PMC CONTROL FUNCTION B–63173EN–1/02
CAUTION
The maximum feedrate depends on whether override is
applied or canceled. The following table lists the maximum
feedrate when override is canceled.
IS–B IS–C
Metric input Inch input Metric input Inch input
Magni- 65535mm/min 655.35 6553mm/min 65.53inch/min
fied by 1 inch/min
NOTE
The actual speed may not be displayed correctly,
depending on the feedrate.
NOTE
The servo motor speed may contain a slight error, as
follows:
Gears
Speed command
Amplifier Motor
Axis
Detector ↑
(a)
912
B–63173EN–1/02 15. PMC CONTROL FUNCTION
(a) The speed command for PMC axis control requires specification
of the servo motor speed, not the feedrate along an axis. To
specify a feedrate along the axis when gears are used to link the
servo motor and axis, the feedrate must be converted to a rotation
speed of the servo motor speed. As the motor speed must be
specified with an integer, the converted speed is subject to a
round–off error.
NOTE
In speed command mode, the speed after
acceleration/deceleration is specified to the servo control
unit. The loop gain for position control is invalid.
1 to 32767 min–1
NOTE
The data units will be cm/min when a linear motor is being
used.
913
15. PMC CONTROL FUNCTION B–63173EN–1/02
1 to 9999999 ms
NOTE
When the increment system IS–C is used, the least input
increment for the dwell time can be set to 0.1 ms, according
to the setting of bit 1 (DWE) of parameter No. 8002.
914
B–63173EN–1/02 15. PMC CONTROL FUNCTION
NOTE
The data units will be 0.001 N when a linear motor is being
used.
915
15. PMC CONTROL FUNCTION B–63173EN–1/02
[Valid data range] The amount incremental movement in the axis input unit system is
specified in binary format.
Data unit
Unit
IS–B IS–C
916
B–63173EN–1/02 15. PMC CONTROL FUNCTION
10 Axis control
temporary stop signal
ESTPg
917
15. PMC CONTROL FUNCTION B–63173EN–1/02
|← More than →|
ESBKg 8 msec
(input)
[1] [2] [3]
Command
block
(input)
EBUFg
(input)
EBSYg
(output)
The buffer is full.
Waiting buffer
[1] [2]
Executing
buffer [1]
Beginning of execution
13 Auxiliary function
code signals
EM11g to EM48g
14 Auxiliary function
strobe signal EMFg
918
B–63173EN–1/02 15. PMC CONTROL FUNCTION
15 Auxiliary function
completion signal
EFINg
[Classification] Input signal
[Function] When an auxiliary function command (EC0g to EC6g: 12h) is issued by
the PMC, the auxiliary function code is specified in a byte (using signals
EID0g to EID7g) or two bytes (using signals EID0g to EID15g),
depending on the setting of bit 6 (AUX) of parameter No. 8001.
The CNC sends the auxiliary function code specified in signals EID0g to
EID7g and EID8g to EID15g to auxiliary function code signals EM11g
to EM28g and EM31g to EM48g and awaits auxiliary function
completion signal EFINg. When the auxiliary function completion signal
EFINg is returned, the CNC starts executing the next block.
The timings for sending the auxiliary function code signals and auxiliary
function strobe signal, as well as for receiving the auxiliary function
completion signal, are the same as those for the auxiliary functions (M
functions) under the control of the CNC. See “Auxiliary function
executing signal” for details.
16 Servo–off signal
ESOFg
[Classification] Input signal
[Function] When this signal is set to “1”, the servo motor for the corresponding
PMC–controlled axis is turned off (servo–off state).
When this signal is set to “0”, the servo motor is turned on.
When a torque control command (EC0g to EC6g: 11h) is specified,
entering the servo–off state cancels torque control mode, but the torque
control state remains set. In such a case, set reset signal ECLRg to “1”.
919
15. PMC CONTROL FUNCTION B–63173EN–1/02
17 Buffering disable
signal EMBUFg
[Classification] Input signal
[Function] When this signal is set to “1”, commands from the PMC are not read while
the executing, waiting, or input buffer contains a block. If this signal is
set to “1” when any of these buffers contain a block, that block is executed
but subsequent commands are read only when the buffers are all empty.
To discriminate the buffering disabled condition, the CNC outputs the
axis control command read completion signal (EBSYg) only when a
command is read when all buffers are empty.
The timing chart for the command operation is shown below.
EMBUFg
(input)
[1] [2]
Command
block
(input)
EBUFg
(input)
Command
disabled
EBSYg
(output)
Input buffer
Waiting buffer
920
B–63173EN–1/02 15. PMC CONTROL FUNCTION
19 In–position signal
EINPg
[Classification] Output signal
[Function] This signal is set to “1” when the corresponding PMC–controlled axis is
in the in–position state.
When the tool is decelerated, in–position check is performed to disable
the next command until the tool enters the in–position area. The
in–position check, however, can be skipped using bit 6 (NCI) of
parameter No. 8004 to reduce the cycle time.
NOTE
When the axis fed at a very low speed, in –position signal
might turn “1”.
921
15. PMC CONTROL FUNCTION B–63173EN–1/02
20 Following zero
checking signal
ECKZg
922
B–63173EN–1/02 15. PMC CONTROL FUNCTION
NOTE
This signal is set to “0” when distribution for the axis is
completed (the signal is set to “0” during deceleration).
23 Auxiliary function
executing signal
EDENg
EM11g to EM48g
(output)
TMF
EMFg
(output)
TFIN
EFINg
(input)
EDENg
(output)
TMF and TFIN are set with parameters No. 3010 and 3011.
923
15. PMC CONTROL FUNCTION B–63173EN–1/02
24 Negative–direction
overtravel signal
EOTNg
25 Positive–direction
overtravel signal
EOTPg
[Classification] Output signal
[Function] These signals are set to “1” when an overtravel alarm is detected. When
the stroke limit in the negative direction is exceeded, signal EOTNg is set
to “1”. When the stroke limit in the positive direction is exceeded, signal
EOTPg is set to “1”. Simultaneously, alarm signal EIALg is set to “1”.
These signals are set to “0” when the overtravel alarm is released and reset
signal ECLRg is set to “1”. See “Alarm signal EIALg” for details of how
to release an overtravel alarm.
26 Feedrate override
signals
*FV0E to *FV7E(Note 1)
*FV0Eg to *FV7Eg
ȍ |2
7
Override value + i
Vi|%
i+0
924
B–63173EN–1/02 15. PMC CONTROL FUNCTION
27 Override cancellation
signal
OVCE(Note 2)
OVCEg
[Classification] Input signal
[Function] When the override signal for PMC axis control is enabled independently
of the CNC axis control by setting bit 2(OVE) of parameter No.8001, the
cutting feed override is fixed to 100% by setting this signal to ”1”. This
signal does not affect the rapid traverse override.
When bit 0(IOVC) of parameter No. 8009 is set to ”0”, the signal of
OVCE is effective. When bit 0(IOVC) of parameter No. 8009 is set to ”1”,
the signal of OVCEg is effective and override cancellation is effective for
each group independently.
(Note2) When bit 0(IOVC) of parameter No. 8009 is set to ”1”, the signal
of OVCE is used for the signal of group A.
28 Rapid traverse
override signals
ROV1E and ROV2E
0 0 100%
0 1 50%
1 0 25%
1 1 F0
925
15. PMC CONTROL FUNCTION B–63173EN–1/02
When manual rapid traverse selection signal RTE is set to “1” during dry
run, the tool moves at the rapid traverse rate for rapid traverse and at the
maximum jog feedrate for cutting feed. When the signal is set to “0”, the
tool moves at the jog feedrate. When dry run signal DRNE is set to “0”,
the specified rapid traverse rate or cutting feedrate is restored.
* Can also be set to the rapid traverse rate with bit 3 (RDE) of parameter
No. 8001.
31 Override 0% signal
EOV0
[Classification] Output signal
[Function] This signal is set to “1” when the feedrate override is 0%.
33 Distribution
completion signals
EADEN1 to EADEN8
926
B–63173EN–1/02 15. PMC CONTROL FUNCTION
35 Controlling signals
EACNT1 to EACNT8
36 Accumulated zero
check signal ELCKZg
927
15. PMC CONTROL FUNCTION B–63173EN–1/02
Signal address
MT→CNC
ADDRESS
#7 #6 #5 #4 #3 #2 #1 #0
X000 SKIP ESKIP
#7 #6 #5 #4 #3 #2 #1 #0
X1000 SKIP ESKIP
PMC→CNC
ADDRESS
#7 #6 #5 #4 #3 #2 #1 #0
G142 EBUFA ECLRA ESTPA ESOFA ESBKA EMBUFA ELCKZA EFINA
G150 OVCE
928
B–63173EN–1/02 15. PMC CONTROL FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
G154 EBUFB ECLRB ESTPB ESOFB ESBKB EMBUFB ELCKZB EFINB
G162 OVCEB
#7 #6 #5 #4 #3 #2 #1 #0
G166 EBUFC ECLRC ESTPC ESOFC ESBKC EMBUFC ELCKZC EFINC
G174 OVCEC
929
15. PMC CONTROL FUNCTION B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G178 EBUFD ECLRD ESTPD ESOFD ESBKD EMBUFD ELCKZD EFIND
G186 OVCED
#7 #6 #5 #4 #3 #2 #1 #0
G464 EBUFE ECLRE ESTPE ESOFE ESBKE EMBUFE ELCKZE EFINE
G472 OVCEE
930
B–63173EN–1/02 15. PMC CONTROL FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
G476 EBUFF ECLRF ESTPF ESOFF ESBKF EMBUFF ELCKZF EFINF
G484 OVCFF
#7 #6 #5 #4 #3 #2 #1 #0
G488 EBUFG ECLRG ESTPG ESOFG ESBKG EMBUFG ELCKZG EFING
G496 OVCFG
931
15. PMC CONTROL FUNCTION B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G500 EBUFH ECLRH ESTPH ESOFH ESBKH EMBUFH ELCKZH EFINH
G508 OVCFH
CNC→PMC
ADDRESS
#7 #6 #5 #4 #3 #2 #1 #0
F112 EADEN8 EADEN7 EADEN6 EADEN5 EADEN4 EADEN3 EADEN2 EADEN1
#7 #6 #5 #4 #3 #2 #1 #0
F130 EBSYA EOTNA EOTPA EGENA EDENA EIALA ECKZA EINPA
#7 #6 #5 #4 #3 #2 #1 #0
F133 EBSYB EOTNB EOTPB EGENB EDENB EIALB ECKZB EINPB
For
group B F134 EABUFB EMFB
932
B–63173EN–1/02 15. PMC CONTROL FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
F136 EBSYC EOTNC EOTPC EGENC EDENC EIALC ECKZC EINPC
#7 #6 #5 #4 #3 #2 #1 #0
F139 EBSYD EOTND EOTPD EGEND EDEND EIALD ECKZD EINPD
#7 #6 #5 #4 #3 #2 #1 #0
F500 EBSYE EOTNE EOTPE EGENE EDENE EIALE ECKZE EINPE
#7 #6 #5 #4 #3 #2 #1 #0
F503 EBSYF EOTNF EOTPF EGENF EDENF EIALF ECKZF EINPF
#7 #6 #5 #4 #3 #2 #1 #0
F506 EBSYG EOTNG EOTPG EGENG EDENG EIALG ECKZG EINPG
#7 #6 #5 #4 #3 #2 #1 #0
F509 EBSYH EOTNH EOTPH EGENH EDENH EIALH ECKZH EINPH
933
15. PMC CONTROL FUNCTION B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
Group A F142 EM48A EM44A EM42A EM41A EM38A EM34A EM32A EM31A
#7 #6 #5 #4 #3 #2 #1 #0
Group B F145 EM48B EM44B EM42B EM41B EM38B EM34B EM32B EM31B
#7 #6 #5 #4 #3 #2 #1 #0
Group C F148 EM48C EM44C EM42C EM41C EM38C EM34C EM32C EM31C
#7 #6 #5 #4 #3 #2 #1 #0
Group D F151 EM48D EM44D EM42D EM41D EM38D EM34D EM32D EM31D
#7 #6 #5 #4 #3 #2 #1 #0
Group E F488 EM48E EM44E EM42E EM41E EM38E EM34E EM32E EM31E
#7 #6 #5 #4 #3 #2 #1 #0
Group F F491 EM48F EM44F EM42F EM41F EM38F EM34F EM32F EM31F
#7 #6 #5 #4 #3 #2 #1 #0
Group G F494 EM48G EM44G EM42G EM41G EM38G EM34G EM32G EM31G
#7 #6 #5 #4 #3 #2 #1 #0
Group H F497 EM48H EM44H EM42H EM41H EM38H EM34H EM32H EM31H
#7 #6 #5 #4 #3 #2 #1 #0
F182 EACNT8 EACNT7 EACNT6 EACNT5 EACNT4 EACNT3 EACNT2 EACNT1
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1803 TRF
NOTE
This parameter is valid when the TRF (bit 4 of parameter No.
1803) is set to 0.
934
B–63173EN–1/02 15. PMC CONTROL FUNCTION
NOTE
This parameter is valid when the TRF (bit 4 of parameter
1803) is held 0.
#7 #6 #5 #4 #3 #2 #1 #0
2000 DGPRx
#7 #6 #5 #4 #3 #2 #1 #0
2007 TRQx
NOTE
When a linear motor is used, the units of data are 0.001
N/(torque command).
935
15. PMC CONTROL FUNCTION B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
3105 PCF
NOTE
This parameter is valid when the same axis is controlled
alternately by the CNC and PMC.
#7 #6 #5 #4 #3 #2 #1 #0
8001 SKE AUX NCC RDE OVE MLE
NOTE
Each–axis machine lock signals MLK1 to MLK8 are always
valid, regardless of the setting of this parameter.
OVE Signals related to dry run and override used in PMC axis control
0: Same signals as those used for the CNC
(1) Feedrate override signals *FV0 to *FV7
(2) Override cancellation signal OVC
(3) Rapid traverse override signals ROV1 and ROV2
(4) Dry run signal DRN
(5) Rapid traverse selection signal RT
1: Signals specific to the PMC
(1) Feedrate override signals *FV0E to *FV7E
(2) Override cancellation signal OVCE
(3) Rapid traverse override signals ROV1E and ROV2E
(4) Dry run signal DRNE
(5) Rapid traverse selection signal RTE
RDE Whether dry run is valid for rapid traverse in PMC axis control
0 : Invalid
1 : Valid
NCC When a travel command is issued for a PMC–controlled axis (selected by
a controlled–axis selection signal) according to the program:
0 : P/S alarm 139 is issued while the PMC controls the axis with an axis
control command. While the PMC does not control the axis, a CNC
command is enabled.
1 : P/S alarm 139 is issued unconditionally.
936
B–63173EN–1/02 15. PMC CONTROL FUNCTION
AUX The number of bytes for the code of an auxiliary function (12H) command
to be output is
0 : 1 byte type (0 to 255)
1 : 2 bytes type (0 to 65535)
SKE Skip signal during axis control by the PMC
0 : Uses the same signal SKIP as CNC.
1 : Uses dedicated axis control signal ESKIP used by the PMC.
#7 #6 #5 #4 #3 #2 #1 #0
8002 FR2 FR1 PF2 PF1 F10 SUE DWE RPD
PF1, PF2 Set the the feedrate unit of feed per minute in PMC axis control
PF2 PF1 Feedrate unit
0 0 1/1
0 1 1/10
1 0 1/100
1 1 1/1000
FR1, FR2 Set the feedrate unit for feed per rotation for an axis controlled by the
PMC.
0 0
0.0001 mm/rev 0.000001 inch/rev
1 1
937
15. PMC CONTROL FUNCTION B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
8003 PIM
NOTE
When this parameter is set, the power must be turned off
then back on again to make the setting effective.
#7 #6 #5 #4 #3 #2 #1 #0
8004 NCI DSL NMT CMV
938
B–63173EN–1/02 15. PMC CONTROL FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
8005 DRR R10
#7 #6 #5 #4 #3 #2 #1 #0
8006 EDI
NOTE
When bit 7 of parameter No. 8003 is set to 1, the interlock
signal for each PCM axis control axis direction is invalid.
CAUTION
The interlock signal for each PCM axis control axis direction
is invalid for the following commands.
(1)Dwell: Command code (04H)
(2)Auxiliary function: (12H)
#7 #6 #5 #4 #3 #2 #1 #0
8009 INOV IOVC
NOTE
When parameter No. 8009#0(IOVC) or 8009#1(INOV) is
set to 0, each signal of override cancel and feedrate
override can be selected to use same signals used for the
CNC or signals specific to the PMC by setting of parameter
No. 8001#2(OVE).
939
15. PMC CONTROL FUNCTION B–63173EN–1/02
8010 Selection of the DI/DO group for each axis controlled by the PMC
NOTE
If another value is specified, the axis is not PMC–controlled.
8022 Maximum feedrate for feed per rotation along a PMC–controlled axis
NOTE
The maximum feedrate set to first axis is valid to all axes.
The data of after second axis are invalid.
8028 Linear acceleration/deceleration time constant for jog feed specified by the speed
command for each PMC–controlled axis, or bell–shaped acceleration/deceleration
time constant for jog feed specified by the speed command for each PMC–
controlled axis T1
940
B–63173EN–1/02 15. PMC CONTROL FUNCTION
NOTE
If 0s are specified to both the parameter No.8028 and
No.8029, the system does not control the
acceleration/deceleration.
8029 bell–shaped acceleration/deceleration time constant for jog feed specified by the
speed command for each PMC–controlled axis T2
941
15. PMC CONTROL FUNCTION B–63173EN–1/02
Alarm and message A servo alarm or overtravel alarm for a PMC–controlled axis is detected
in the same way as an alarm for a CNC–controlled axis.
If an alarm occurs, the alarm is handled by applying the normal procedure,
alarm signal EIALg being set to “1” to inform the PMC of the alarm.
(If an overtravel alarm occurs, either negative overtravel signal EOTNg
or positive overtravel signal EOTPg is also set to “1”.)
If the PMC issues a command for a CNC–controlled axis, a P/S alarm No.
130 occurs.
Commands issued by the PMC are effective if the axis is in feed hold or
single block stop mode. The command results in the issue of an alarm if
cutting feed is executed with an override of 0%, or if the interlock is
enabled.
If the CNC issues a command for a PMC–controlled axis, a P/S alarm No.
130 occurs.
If the PMC issues a movement command for an axis in the plane of polar
coordinate interpolation in polar coordinate interpolation mode (G12.1),
a P/S alarm No. 130 occurs.
(1) P/S Alarm
Number Message Description
942
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Warning
WARNING
1 The mode selection, CNC reset, and other CNC statuses
have no effect.
2 Feed hold, single block stop, reset, or interlock of one or all
axes, performed by the CNC, does not affect a
PMC–controlled axis. Similar control is possible by using
the equivalent signals issued from the PMC.
3 The mirror image functions (setting, parameter, input signal)
are disabled.
Caution
CAUTION
1 Emergency stop or machine lock is enabled. Machine lock
can be disabled if the MLE bit (bit 0 of parameter No. 8001)
is specified accordingly. However, machine lock for an
individual axis is always enabled.
2 In consecutive cutting feed blocks, deceleration is not
applied between blocks (however, acceleration/
deceleration is applied when a specified federate is
changed) and the controller proceeds to the next block
without waiting for the in–position check status. In other
blocks, deceleration is applied at the end point of a block,
and after the completion of deceleration, the controller waits
until the in–position check status is entered, and then
executes the next block. When NCI (bit 6 of parameter
No.8004) is set to 1, the next block can also be started
without performing in–position check for each block.
3 Commands for a linear axis that is controlled solely by the
PMC (not used as an axis controlled by the CNC) are not
affected by inch/metric input if the PIM bit (bit 0 of parameter
No. 8003) is specified accordingly. The current position
display, also, is not affected by inch/metric input.
4 For a PMC–controlled axis, manual absolute mode is
always set. If the PMC starts control of an axis after manual
intervention (manual continuous feed, manual handle feed,
etc.) is performed during automatic operation while manual
absolute mode is not set (*ABSM is set to 1), manual
absolute mode is set.
5 Under PMC axis control, all commands are handled as axis
commands. Even for the miscellaneous function, the
position check is effective.
943
15. PMC CONTROL FUNCTION B–63173EN–1/02
Note
NOTE
1 The actual speed excluding the effect of the movement
along a PMC–controlled axis can be displayed if the PCF bit
(bit 1 of parameter No. 3105) is specified.
2 If an absolute pulse coder is used, a specified reference
position is retained in memory, even after the power is
turned off.
3 The individual output of the auxiliary function is provided by
adding a signal for individual output. The timing diagram of
controlling and specifying the auxiliary function is not
changed. The normal specifications of the auxiliary
functions for PMC axis control function are applied.
15.1.1
PMC Axis Indirect
Specification
Command
Overview The DI/DO area of each group is restricted in conventional PMC axis
control, so it was impossible to support a command with much command
data.
Using the PMC axis indirect specification command to extend the
argument area, it is possible to support a PMC axis control command with
much command data.
The PMC axis indirect specification command references the specified
address and executes the operation specified in the destination
subcommand.
The indirect specification command itself indicates the address at which
a subcommand is placed. An example of using a DI signal in group A to
execute the subcommand placed in the area beginning with D1000 is
shown below.
944
B–63173EN–1/02 15. PMC CONTROL FUNCTION
D1000
G142 Subcommand
Indirect command
Example)
Control command: 34 Multiaxis synchro-
nization mechanism
synchronization
First character: ”D” Multiaxis synchro-
nization start point
First number: 100 synchronization
Specification feed
for each accelera-
tion/deceleration
DI area of conventional
PMC axis control
(Fixed address and size) Area in which a subcommand
is placed
(Arbitrary address and size)
945
15. PMC CONTROL FUNCTION B–63173EN–1/02
Command block
CAUTION
Using the specified subcommand address for other usage
such as for a device net, I/O, a link may cause a malfunction.
This is very dangerous, so be sure to prevent the address
ranges from overlapping one another.
The subcommand data length is the sum of 4 bytes for the sub command
number and data length and the number of bytes for command data.
946
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Subcommand
Function name
number
Subcommand numbers
Command data for Command data for each function specified by a subcommand number is
subcommands summarized below. For details on each function, refer to the
specifications such as the technical report, operator’s manual, or
connection manual of each function.
947
15. PMC CONTROL FUNCTION B–63173EN–1/02
Example of use The following describes an example of the start point synchronization
command in multiaxis synchronization.
Assumed operations:
D The local axis starts synchronization when the parent axis reaches
100.000.
D After starting synchronization, the local axis moves 12.000 while the
parent axis moves 5.555.
Area used:
D The group of PMC axis control used for subcommands is group A.
D The PMC area used for subcommands occupies 16 bytes beginning
with D2000.
948
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Indirect command
Data
––
G142 200(Indirect command)
G143 68 (44h) (’D’)
G146 2000 (Address)
Subcommand
Data
D2000 02(02h) (Subcommand number)
D2002 16(10h) (Data length)
D2004 12000 (Amount of local axis movement)
D2008 5555 (Amount of parent axis movement)
D2012 100000 (Start position)
949
15. PMC CONTROL FUNCTION B–63173EN–1/02
15.1.2
High–Speed Skip
Function (with
Traveling Distance
from Skip Signal) in
PMC Axis Control
General In case high–speed skip function (with traveling distance from skip
signal) in PMC axis control, if an external skip signal is input during the
execution of the skip command that is specified the moving distance and
the over traveling distance after detecting the skip signal, the execution
of the command is interrupted after moving the specified over traveling
distance from the position at the skip signal input.
Basic operations
Speed
Over traveling
distance
Time
Skip signal input
CAUTION
Please input the skip signal while the axis speed is constant.
950
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Format High–speed skip function (with traveling distance from skip signal) in
PMC axis is specified by the PMC axis indirect command. As for detail
of the PMC axis indirect command, refer to the section of the ”1.10.9
PMC axis indirect command”.
Format in the PMC axis indirect command
Address which is specified
in the offset 04h data of Contents
indirect command
D Selected high–speed Specify which skip signals are enabled when skip command is issued with
skip signal (1byte) this function. (Set each bit for skip signal to ”1”.) The following shows
the correspondence between the bits and the enabled skip signals.
Bit 0 –––– DI30
Bit 1 –––– DI31
Bit 2 –––– DI32
Bit 3 –––– DI33
Bit 4 –––– DI34
Bit 5 –––– DI35
Bit 6 –––– DI36
Bit 7 –––– DI37
D Feedrate (4byte) These signals are used to specify, in binary format, the feedrate along an
axis.
[Unit of data] Data unit
Unit
IS–A IS–B IS–C
Metric
10 1 0.1 mm/min
Linear machine
axis Inch
0.1 0.01 0.001 inch/min
machine
Rotation axis 10 1 0.1 deg/min
951
15. PMC CONTROL FUNCTION B–63173EN–1/02
CAUTION
1 When ”0” is specified, the CNC cannot move the tool even
after buffering the command. In such a case, release the
buffering by issuing the reset signal ECLRg.
2 Cutting feedrate clamp function is disabled during high
speed skip function.
3 Specify the feedrate within the above valid data range.
D Moving distance (4byte) These signals are used to specify, in binary format, the incremental
moving distance, according to the input increment used for the axis.
[Unit of data] IS–A IS–B IS–C Unit
Metric input mm
0.01 0.001 0.0001
Degree input deg
Inch machine 0.001 0.0001 0.00001 inch
NOTE
The moving distance equals the sum of the moving distance
and the over traveling distance, if the skip signal is not input
during the execution of the high speed skip command (with
traveling distance from skip signal).
D Traveling distance over These signals are used to specify, in binary format, the traveling distance
the skip signal (4byte) over the skip signal.
[Unit of data] IS–A IS–B IS–C Unit
Metric input mm
0.01 0.001 0.0001
Degree input deg
Inch machine 0.001 0.0001 0.00001 inch
NOTE
Set ”0” or over to this value.
952
B–63173EN–1/02 15. PMC CONTROL FUNCTION
In case the axis can not One of the following actions are done when the movement can not be
be decelerated and decelerated and stopped within the specified traveling distance from skip
stopped within the signal.
specified traveling (1) In case the parameter SKR (No.6209#7)=0 (the axis comes back to the
distance from skip signal stop position after the axis passes by the stop position):
because the distance is
too short High–speed skip Temporal stop position
signal input
Reversal action
Specified traveling
distance from skip
signal Distance to
decelerate
High–speed skip
signal input
Start position Stop position
Specified traveling
distance from skip Distance to
signal decelerate
Movement between the The in–position check and the accelerating/decelerating completion
block with this command check between blocks are not done, when both this block and the next
and the next block block have the cutting feed command and the next block is input to the
buffer before starting deceleration.
But, when the parameter SKR (No.6209#7) is ”0”, the next block is read
after the skip signal is input. So the axis stops between blocks in a
moment, if the traveling distance from skip signal is too short or the skip
signal is not input
953
15. PMC CONTROL FUNCTION B–63173EN–1/02
(1) When the traveling distance from skip signal is long enough to
decelerate.
Time
Speed
Time
The valid area for skip In the block of this command, the valid area for skip signal is shown
signal below.
(a) In case the axis stops at the start point of the block with this command.
Speed
Specified travel-
ing distance
from skip signal
This command
T T Time
NOTE
1 T is the time constant of the acceleration/deceleration.
2 The servo delay is not considered in above figure.
3 The skip signal is not valid during decelerating, even if the
specified traveling distance from skip is short.
954
B–63173EN–1/02 15. PMC CONTROL FUNCTION
(b) When the axis does not stop between the former block and the block
of this command
Speed
Specified traveling
distance from
skip signal
Time
T T
NOTE
1 T is the time constant of the acceleration/deceleration.
2 The servo delay is not considered in above figure.
3 The skip signal is not valid during deceleration, even if the
specified traveling distance from skip signal is short.
CAUTION
When the skip signal inputs at the period of A in above
figure, the measurement position may be out of the area of
this command.
Signal
955
15. PMC CONTROL FUNCTION B–63173EN–1/02
[Operation] When a skip signal turns to ”1”, the control unit functions as described
below.
When a block has high–speed skip command (with traveling distance
from skip signal), and the high skip signal is effective to this block by the
specified data, the control unit reads and stores the current position of the
specified axis at that time. The control unit stops the axis after moving the
specified traveling distance from skip signal and then cancels the
remaining distance that the block was supposed to be moved.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
X1003 DI37 DI36 DI35 DI34 DI33 DI32 DI31 DI30
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6200 SRE SLS
NOTE
The following parameters must be set, if the above
parameter is set to ”1” and the high–speed skip signals are
available.
No.8731, 8732, 8733
SRE In case the status trigger method for high–speed skip signals is selected
(No.6209 #6 = 0) :
0 : The signal is considered to be input at the status ”1”.
1 : The signal is considered to be input at the status ”0”.
#7 #6 #5 #4 #3 #2 #1 #0
6209 SKRT SEDG
956
B–63173EN–1/02 15. PMC CONTROL FUNCTION
SKRT In case the traveling distance from skip signal in the high–speed skip is
short,
0 : The axis comes back to the stopped position after the axis passes by
the stopped position once.
1 : The axis stops at the position where the axis can stop.
#7 #6 #5 #4 #3 #2 #1 #0
8731 EPMC7 EPMC6 EPMC5 EPMC4 EPMC3 EPMC2 EPMC1 EPMC0
NOTE
This parameter must be set to 0, when the above functions
are not used.
#7 #6 #5 #4 #3 #2 #1 #0
8732 UPEG7 UPEG6 UPEG5 UPEG4 UPEG3 UPEG2 UPEG1 UPEG0
#7 #6 #5 #4 #3 #2 #1 #0
8733 DWED7 DWED6 DWED5 DWED4 DWED3 DWED2 DWED1 DWED0
957
15. PMC CONTROL FUNCTION B–63173EN–1/02
Caution
CAUTION
1 This command must not be given for the PMC axis control
group, in which two or more axes are simultaneously
controlled.
2 The axis passes by the specified end–position by the
traveling distance from skip signal, if the skip signal is not
input during the execution of this command.
3 In case of rotary axis, please set feed rate of the axis less
than n 2500deg/min (n: moving amount per one rotation).
4 Please input a skip signal at intervals of 16 msec or more.
958
B–63173EN–1/02 15. PMC CONTROL FUNCTION
15.1.3
PMC Axis Control
Acceleration/
Deceleration
Specification Feed
Overview In cutting feed, rapid traverse, or continuous feed by PMC axis control,
the acceleration and deceleration can be separately specified by a ladder.
1) Cutting feed and rapid traverse
To specify the acceleration and deceleration separately when the
movement distance is fixed, use cutting feed or rapid traverse.
* An in–position check is performed before and after (both the start time
and the end time) a rapid traverse block.
959
15. PMC CONTROL FUNCTION B–63173EN–1/02
2) Continuous feed
To make a deceleration stop after signal input when the movement
distance is not determined, use continuous feed.
Trigger signal
Continuous feed
v Trigger signal
Continuous feed
Cutting feed
t
This can be used to perform the following operation.
A) When a deceleration stop at the specified position is made after the signal is
input for a turning rotation axis
Trigger signal
Continuous feed
Cutting feed
B) When the operation speed is changed each time the signal is input
Trigger signal
Trigger signal
960
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Acceleration Deceleration
2000 (speed) 1500 200000 1000
(amount of movement)
961
15. PMC CONTROL FUNCTION B–63173EN–1/02
Command block
962
B–63173EN–1/02 15. PMC CONTROL FUNCTION
When [6: Continuous feed] was specified, set the movement direction
as [9) Axis control data]. Specify 0 for the + direction or –1
for the – direction. (Actually, decision is made by checking
either 0 or 1 is the value of least significant bit #31.)
4) In–position check (2 bytes)
In–position check is:
0: Disabled (not performed).
1: Enabled (performed).
This setting is valid only when rapid traverse is specified.
For a block for which an in–position check is enabled in rapid traverse,
proceeding to the next block is made after confirmation of entry into
the in–position width upon completion of a deceleration stop.
When an in–position check is disabled, movement to the next block
is immediately performed without performing an in–position check
after deceleration.
Rapid Rapid
traverse, traverse,
cutting feed, cutting feed,
Rapid or Rapid or
traverse continuous traverse continuous
feed feed
5) Feedrate (4 bytes)
Specify the feedrate of an axis in binary.
[Unit of data] Data unit
Unit
IS–A IS–B IS–C
Metric
10 1 0.1 mm/min
Linear input
axis Inch
0.1 0.01 0.01 inch/min
input
Rotation axis 10 1 0.1 deg/min
963
15. PMC CONTROL FUNCTION B–63173EN–1/02
CAUTION
1 When 0 is specified, no axis operation is performed with
buffering made. In this case, clear the state with reset signal
ECLRg.
2 Cutting feed speed clamping is disabled.
3 Specification must fall within the data range in the table.
6) Acceleration (4 bytes)
Specify the acceleration.
An acceleration can be specified in units of 1 mm/sec2, but only the
values equal to or greater than 8 mm/sec2 or equal to or less than –8
mm/sec2 are valid.
When a value between –7 mm/sec2 and 7 mm/sec2 is specified, the
acceleration is assumed to be 0.
The allowable range is between –99999999 to 99999999 mm/sec2.
7) Deceleration (4 bytes)
Specify the deceleration.
A deceleration can be specified in units of 1 mm/sec2, but only the
values equal to or greater than 8 mm/sec2 or equal to or less than –8
mm/sec2 are valid.
When a value between –7 mm/sec2 and 7 mm/sec2 is specified, the
deceleration is assumed to be 0.
The allowable range is between –99999999 to 99999999 mm/sec2.
NOTE
When a value that results in 0 is set as the acceleration or
deceleration, acceleration or deceleration is not applied.
964
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Deceleration
Continuous feed
Current block
Next block
Trigger signal
Deceleration
Current block
Next block
965
15. PMC CONTROL FUNCTION B–63173EN–1/02
[ About movement of the next block when coordinates are specified for
a rotation axis
When the stop position is specified by its coordinates, an immediate
stop may occur during deceleration (as indicated by the dotted lines in
the following figure).
For a rotation axis, however, when the deceleration distance is
insufficient, it continues rotating until the deceleration distance is
satisfied, as shown in the bold lines.
X X+360
[ When two contiguous blocks flip one another relative to the horizontal
axis, overlapping is not performed. Each movement operation is
performed independently.
Cutting feed
or
continuous feed
Cutting feed
or
continuous feed
Rapid traverse,
cutting feed,
or
Rapid traverse continuous feed
966
B–63173EN–1/02 15. PMC CONTROL FUNCTION
CAUTION
1 When other than the PMC axis acceleration/deceleration
specification feed block is specified next, overlapping is not
performed.
2 For the override signal, FEED OVERRIDE is enabled in any
command.
3 When making speed changes by an override or pausing an
axis by ESTP, set ADOV (bit 4 of parameter No. 8003) to 1.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8003 ADOV
#7 #6 #5 #4 #3 #2 #1 #0
8007 PAI
967
15. PMC CONTROL FUNCTION B–63173EN–1/02
NOTE
1 Select the linear–shaped acceleration/deceleration as the
acceleration/deceleration type with bit 0 (CTLx) of
parameter No. 1610 set to 1 and bit 1 (CTBx) of parameter
No. 1610 set to 0.
2 If acceleration/deceleration by a command is applied when
linear–shaped acceleration/deceleration after interpolation
is valid (bit 6 of parameter No. 8007 is 1), bell–shaped
acceleration/deceleration is assumed..
3 The feed override signal common to the CNC side is valid
as the override signal when bit 2 (OVE) of parameter No.
8001 is 0. When OVE is 1, the feed override signals (*FV0E
to *FV7E) specific to PMC axis control are valid. When bit
1 (INOV) of parameter No. 8009 is 1, the feed override
signal (*FV0Eg to *FV7Eg) for each group are valid.
4 To enable the feed forward function, set bit 4 of parameter
No. 8004 to 1 and bit 3 of parameter No. 8004 to 0.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G453 EADCJH EADCHG EADCJF EADCJE EADCJD EADCJC EADCJB EADCJA
968
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Acceleration Deceleration
5000 (speed) 100 200000 50
(amount of movement)
[ Even when two successive commands are present, set the acceleration
to other than 0.
969
15. PMC CONTROL FUNCTION B–63173EN–1/02
V
Deceleration
40
Acceleration Deceleration
2000 (Speed) Amount of movement 40
50
500000
Trigger signal
970
B–63173EN–1/02 15. PMC CONTROL FUNCTION
15.2
EXTERNAL DATA
INPUT
General The following signals are used to send data from the PMC to the CNC.
Signal name Signal code
ED0 to 15
EA0 to 6
0 ms or
32 ms or more more
ESTB
EREND
971
15. PMC CONTROL FUNCTION B–63173EN–1/02
E ED15 to ED0
SEEE EEEE
No. Item
TAAA AAAA
15141312 1110 9 8 7 6 5 4 3 2 1 0
B65 4 321 0
1) External Program A program number (1 to 9999) is specified from the outside and is selected
Number Search in the CNC memory.
For machines that can load several kinds of workpieces, this function can
automatically select for execution the program corresponding to a
specific workpiece.
Data for the external program number search is accepted regardless of the
mode, but the search execution can be made only in the reset state in
AUTO mode.
The ESEND signal switches from “0” to “1” at the end of the external
program number search. This signal does not turn to “0” unless the cycle
start or reset signal is input, or another search is made. Use ESEND to
make a cycle start signal after the search.
NOTE
1 The external program number search is valid when
parameter ESR (No. 6300#4)=1.
2 The reset state is when the automatic operation lamp is off.
If the start button is pushed in the cycle operation stop or
hold state, search execution starts from the actual position
indicated by the pointer.
3 When there is not a program stored in memory
corresponding to the set program number, P/S alarm No. 59
will be activated.
4 Program search is not made if the program number is set to
“0”. When the start button is pushed, execution starts from
the position indicated by the pointer, instead.
Signals
972
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Search completion
signal for external data
input ESEND <F060#1>
[Classification] Output signal
[Function] The signal reports that program number search, specified by external data
input, has been completed.
[Output condition] The signal is set to “1” when:
· The program number search specified by external data input is
completed.
The signal is set to “0” when:
· An automatic operation is started.
· A reset occurs.
973
15. PMC CONTROL FUNCTION B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G000 ED7 ED6 ED5 ED4 ED3 ED2 ED1 ED0
#7 #6 #5 #4 #3 #2 #1 #0
F060 ESEND EREND
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3202 PSR
#7 #6 #5 #4 #3 #2 #1 #0
6300 ESR
974
B–63173EN–1/02 15. PMC CONTROL FUNCTION
15.3
EXTERNAL
WORKPIECE
NUMBER SEARCH
General When several part programs are stored in program storage memory, a
program can be searched with the workpiece number search signals PN0
to PN7 from the machine side.
When the cycle operation is actuated in the memory operation mode under
reset status, the workpiece number (program number) specified by PN0
to PN7 is searched and executed from the beginning.
Signal
Workpiece Number
Search Signal PN0, PN1,
PN2, PN3, PN4, PN5,
PN6, PN7 <G009#0 to #7>
0 0 0 0 0 0 0 0 00
0 0 0 0 0 0 0 1 01
0 0 0 0 0 0 1 0 02
0 0 0 0 0 0 1 1 03
0 0 0 0 0 1 0 0 04
0 0 0 0 0 1 0 1 05
0 0 0 0 0 1 1 0 06
0 0 0 0 0 1 1 1 07
0 0 0 0 1 0 0 0 08
0 0 0 0 1 0 0 1 09
0 0 0 0 1 0 1 0 10
0 0 0 0 1 0 1 1 11
0 0 0 0 1 1 0 0 12
0 0 0 0 1 1 0 1 13
0 0 0 0 1 1 1 0 14
0 0 0 0 1 1 1 1 15
975
15. PMC CONTROL FUNCTION B–63173EN–1/02
0 0 0 1 0 0 0 0 16
0 0 0 1 0 0 0 1 17
0 0 0 1 0 0 1 0 18
0 0 0 1 0 0 1 1 19
0 0 0 1 0 1 0 0 20
0 0 0 1 0 1 0 1 21
0 0 0 1 0 1 1 0 22
0 0 0 1 0 1 1 1 23
0 0 0 1 1 0 0 0 24
0 0 0 1 1 0 0 1 25
0 0 0 1 1 0 1 0 26
0 0 0 1 1 0 1 1 27
0 0 0 1 1 1 0 0 28
0 0 0 1 1 1 0 1 29
0 0 0 1 1 1 1 0 30
0 0 0 1 1 1 1 1 31
: :
: :
1 1 1 1 1 1 1 0 254
1 1 1 1 1 1 1 1 255
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G009 PN7 PN6 PN5 PN4 PN3 PN2 PN1 PN0
976
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Note
NOTE
1 This function can be used only in memory operation. It
cannot be used during DNC operation and MDI operation.
2 Select the program number from O001 to O255.
3 Program numbers from O001 to O255 can be used.
However, programs corresponding to all the program
numbers do not have to be stored in memory.
4 When a program corresponding to the specified program
number is not stored in memory, an alarm (No. 059) is
activated when the start button is pressed.
5 Program search is performed only when the start button is
pressed in the reset state. When the CNC is in the
automatic operation stop state (single block stop, etc.) or
pause state (feedhold stop, etc.), program search is not
performed even if the start button is pressed and execution
is started from the point specified by the present execution
pointer.
6 When the start button is pressed with all PN0 to PN7 are “0”,
program search is not performed but execution is started
from the point specified by the present execution pointer.
To restart operation from the start of a program which
cannot be searched by this function, perform the usual
program number search operation (MDI panel operation),
turn all the PN0 to PN7 to “0” and press the start button
977
15. PMC CONTROL FUNCTION B–63173EN–1/02
15.4
SPINDLE OUTPUT
CONTROL BY THE
PMC (Power Mate i–D)
General The PMC can control the speed and polarity of each spindle motor,
connected by the optional spindle serial output/spindle analog output
function.
This section describes how to use the PMC to control spindle rotation and
provides example applications.
Specifying the spindle The PMC can be used to specify the spindle motor speed upon executing
motor speed the following:
⋅ Switching the controller from the CNC to the PMC, by issuing an SIND
signal
⋅ Setting the spindle motor speed data, calculated by the PMC, in spindle
control signal R01I to R12I
When controlled by the PMC, the spindle motor speed is not affected by
any signal (for example, the spindle speed override signal) or parameter
setting (for example, the maximum speed clamp parameter) related to the
spindle speed command of the CNC spindle control function.
The spindle motor speed data is obtained from the following expression.
Its value can range from 0 to 4095:
978
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Specifying the output The PMC can specify the spindle motor output polarity when the
polarity for the spindle following are executed:
motor ⋅ Switching the controller from the CNC to the PMC, by issuing an SSIN
signal
⋅ Specifying the output polarity to the SGN signal
S–code and SF signals To control the spindle, the PMC may require to read the S value specified
by the CNC.
If the spindle serial output/spindle analog control function is added (if the
PMC can control the spindle), the S–code signals <F022 to F025> and SF
signal <F007, #2> can be output only when many conditions, determined
by the CNC spindle control, are satisfied. In some cases, the signals
cannot be used under standard conditions.
Specify the related bits of parameter No. 3705 according to the desired
application, then use the S–code and SF signals.
Twelve code signals Twelve code signals corresponding to S value R01O to R12O <F036, #0
corresponding to the S to F037, #3> are output to the first spindle motor. The output data is
value (output) calculated from the results of the CNC spindle control. (See Section 9.3.)
The SIND signal determines whether the speed output command, issued
to the spindle motor, is obtained from the twelve code signals
corresponding to the S value, or from the R01I to R12I signals calculated
and specified by the PMC.
The use of this signal may simplify PMC ladder processing used to enable
PMC spindle control.
Signal
979
15. PMC CONTROL FUNCTION B–63173EN–1/02
D Details of the signals D Signal used to select the spindle motor speed command SIND
→ The above signal is used to select whether the spindle motor speed is
controlled by the CNC or PMC.
1: The spindle motor is controlled according to speed commands
(R01I to R12I) issued by the PMC.
0: The spindle motor is controlled according to speed commands
issued by the CNC. The spindle speed specified with the S
command is output.
D Signals used to input the spindle motor speed command issued by the
PMC R01Ix to R12Ix
→ If the PMC is being used to control the spindle motor speed command,
specify, in binary format, the value obtained using the following
expression.
Spindle motor speed
Value to be specified = 4095
Maximum spindle motor speed
Maximum
spindle motor
speed
D Signal used to select the polarity of the spindle motor speed command,
SSIN
→ The above signal selects whether the output polarity of the spindle
motor speed command is controlled by the CNC or PMC.
1 : The spindle motor is controlled according to the polarity command
(SGN) issued by the PMC.
0 : The CNC controls the polarity. The polarity is determined by the
TCW and CWM bits (bits 7 and 6 of parameter No. 3706) and the
M03 or M04 command.
D Signal used to specify the polarity of the spindle motor selected by the
PMC, SGN
→ If the PMC is used to control the output polarity of the spindle motor
speed command, specify the polarity with this signal.
1 : The output polarity of the spindle is negative.
0 : The output polarity of the spindle is positive.
980
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Code signal
4095
981
15. PMC CONTROL FUNCTION B–63173EN–1/02
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
3705 SFA NSF EVS ESF
NOTE
In the following cases, SF is not output:
(1) For an S command used to specify maximum spindle
speed clamping (G92S–––;) in constant surface speed
control mode
(2) When bit 5 (NSF) of parameter No. 3705 is set to 1
Note
NOTE
1 If the spindle fails to move after the PMC issues the spindle
motor speed command, check the following:
M03/M04 is not specified when the CNC is being used to
control the output polarity.
→ If the TCW bit, bit 7 of parameter No. 3706, is set to 1, the
M03/M04 command issued to the CNC changes the
output polarity for the spindle motor. If no M03/M04
command is specified after the CNC is turned on, the
specified speed output is not sent to the spindle motor
because the output polarity has not been determined.
2 The SF signal indicates that output of the S code to the PMC
has been completed. The signal does not indicate the end
of the command for specifying the spindle speed.
982
B–63173EN–1/02 15. PMC CONTROL FUNCTION
15.5
EXTERNAL KEY
INPUT
General MDI key codes can be sent from the PMC to CNC by means of interface
signals. This allows the CNC to be controlled in the same way as when
the operator performs MDI key operation.
Control is realized by exchanging the following interface signals between
the PMC and CNC:
(START)
no
< EKSET = EKENB > 2) Check whether a key code can be set.
yes
< INHKY = 0 > no
yes
3) When a key code can be set:
Set key code (1) Set the key code to be input.
(2) Invert the (EKSET) signal to instruct the CNC to
read the key code.
Invert EKSET
yes
6) Release external key input control mode.
Set ENBKY = 0
(END)
983
15. PMC CONTROL FUNCTION B–63173EN–1/02
NOTE
Read processing is controlled by exclusive–ORing (XOR)
the key code read signal (EKSET) with the read completion
signal (EKENB). When the EKSET and EKENB signals
differ in their logic, the CNC reads the input key code. Once
reading has been completed, the CNC inverts the EKENB
signal to match its logic with that of the EKSET signal.
In the PMC, on the other hand, a new key code cannot be
set while the EKSET and EKENB signals differ in their logic.
Signals
984
B–63173EN–1/02 15. PMC CONTROL FUNCTION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G066 EKSET ENBKY
#7 #6 #5 #4 #3 #2 #1 #0
F053 EKENB PRGDPL INHKY
985
15. PMC CONTROL FUNCTION B–63173EN–1/02
NOTE
1 0EDH is assigned to
GRAPH/CUSTOM .
2 Handling of the soft keys
[F0] to [F4], [FR], and [FL] in the key code table are the key
codes for the soft keys. They are associated with the MDI
keys as shown below.
[ ] [ ] [ ] [ ] [ ]
986
B–63173EN–1/02 15. PMC CONTROL FUNCTION
0 Space 0 @ P
1 1 A Q
2 2 B R
3 # 3 C S
4 4 D T
5 5 E U
6 & 6 F V
7 7 G W
8 ( 8 H X
9 ) 9 I Y
A ; * J Z
(EOB)
B + K [
C , L
D – = M ]
E . N
F / ? O
987
15. PMC CONTROL FUNCTION B–63173EN–1/02
0 RESET [F0]
(Note2)
1 [F1]
(Note2)
2 [F2]
(Note2)
3 [F3]
(Note2)
4 INSERT [F4]
(Note2)
5 DELETE
6 CAN ALTER
9 Cursor PROG
←
OFFSET
A Cursor HELP SET-
↓ TING
B Cursor SYSTEM
↑
C MES-
SAEG
D GRAPH
(CUSTOM)
E PAGE [FR]
↓ (Note2)
F PAGE [FL]
↑ (Note2)
988
B–63173EN–1/02 16 HANDY OPERATOR’S PANEL
Handy Operator’s Panel The handy Operator’s Panel supports two control modes:
modes MDI and machine operation modes. The modes are toggled by pressing
the M–OPE/MDI key.
– MDI mode
In this mode, the Handy Operator’s Panel can be used as a display unit
similarly to the CRT/MDI. The function indicated in the lower row
on the key top of each key is valid in this mode. No key function can
be redefined.
– Machine operation mode
This mode allows the user to create a manipulation system freely. In
this mode, the user can define the function of each key using the C
executor or Ladder (use of Ladder to define key functions requires an
external key input function).
NOTE
Do not confuse this MDI mode with the MDI mode selected
by a mode selection signal (MD1, MD2, or MD4).
989
16. HANDY OPERATOR’S PANEL B–63173EN–1/02
Restrictions When the handy operator’s panel is being used, some restrictions are
imposed on the Power Mate functions, as described below.
(1) Japanese and Korean cannot be displayed.
(2) The help function cannot be used.
(3) The following PMC–related functions cannot be used:
D Dynamic ladder diagram display/editing
D Ladder title editing
D Symbol data display and the forced input/output function in
PMCDGN signal status display
D PMC trace display
D Memory display
D Waveform display function
D System parameter display/setting
(4) The characters that can be used with the macro executor are limited.
With the macro executor, only the following characters can be used.
1. Standard characters
Alphabetic characters (uppercase and lowercase), numbers, kana
characters, blanks, plus sign, minus sign, decimal point, equal
sign, comma, ruled lines, etc.
The internal codes of the usable characters are 0020 to 00DF, and
2F61 to 2F6B.
2. Triple–size characters
Alphabetic characters, numbers, blanks, minus sign, decimal
point
The internal codes of the usable characters are 0020, 002D, 002E,
0030 to 0039, and 0041 to 005A.
(5) The characters that can be used with the C executor are limited. With
the C executor, only the following characters can be used.
1. JIS codes: 0020 to 004F, 0061 to 007A, 00A0 to 00DF
2. Single–byte character code table
Graphic character set#1 ––ESC(1 → 00C5 to 00CF
Standard character set ––ESC(4 → 0020 to 004F
0061 to 007A
00A0 to 00DF
Large character set ––ESC(6 → 002D, 002E
003D to 0039
0041 to 005A
3. FANUC character code table
0020 to 005F, 00A0 to 00DF, 0100 to 01E1, 01E4 to 01EE
(6) The handy operator’s panel cannot be used together with the
CRT/MDI unit; the separate CRT unit cannot be used together with
the separate MDI unit; the separate PDP unit cannot be used together
with the separate MDI unit; the separate LCD unit cannot be used
together with the separate MDI unit or touch panel manufactured by
FANUC. Switching using a switch unit is not possible.
(7) The name of a general switch on the software operator’s panel, a
pattern name in pattern data input, a variable name, and an item name
on the periodical maintenance screen can include the following
characters.
990
B–63173EN–1/02 16 HANDY OPERATOR’S PANEL
Signal
991
16. HANDY OPERATOR’S PANEL B–63173EN–1/02
NOTE
SWn becomes 0 if the connection cable is detached.
992
B–63173EN–1/02 16 HANDY OPERATOR’S PANEL
NOTE
The two LEDs below indicate whether machine operation
mode is selected, and whether MDI mode is selected.
These LEDs cannot be turned on and off by a ladder
program.
M–OPE turned on: Machine operation mode is selected.
M–OPE turned off: Machine operation mode is not
selected.
MDI turned on: MDI mode is selected.
MDI turned off: MDI mode is not selected.
993
16. HANDY OPERATOR’S PANEL B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G0204 LED08 LED07 LED06 LED05 LED04 LED03 LED02 LED01
G0205 LED09
#7 #6 #5 #4 #3 #2 #1 #0
F0168 SW8 SW7 SW6 SW5 SW4 SW3 SW2 SW1
994
B–63173EN–1/02 16 HANDY OPERATOR’S PANEL
995
16. HANDY OPERATOR’S PANEL B–63173EN–1/02
996
B–63173EN–1/02 16 HANDY OPERATOR’S PANEL
G205 (LED09)
G205 (LED09)
997
16. HANDY OPERATOR’S PANEL B–63173EN–1/02
Reference item
CONNECTION MANUAL 7.11 CONNECTION TO THE HANDY OP-
(HARDWARE) ERATOR’S PANEL
(B–63174EN)
998
B–63173EN–1/02 17. ANALOG INPUT
17 ANALOG INPUT
999
17. ANALOG INPUT B–63173EN–1/02
17.1
ANALOG INPUT
FUNCTION
Outline By this function, the analog input(–10V to 10V) can be converted into
digital data so that PMC can perform various kind of control with it.
Power Mate
F206
JD47 A/D converter PMC F207
Input Output
[Sample application]
D The PMC can get the angle of a volume control on an operator panel
by converting its analog data to digital data. The velocity of a servo
motor and spindle motor can be changed by using a volume control.
D In a winding machine, the tension of wire can be controlled by reading
and converting the analog value from a torque sensor.
1000
B–63173EN–1/02 17. ANALOG INPUT
Signal
1 1 1 0 0 0 1 0 0 1 0 0 0 1 0 0
E 2 4 4
10V
-7612 F-9.29V
213
[Operation] When analog voltage is given from an external device, the value that is
converted into digital data is output to the signal F206 to F207.
1001
17. ANALOG INPUT B–63173EN–1/02
Signal
#7 #6 #5 #4 #3 #2 #1 #0
F206 AD05 AD04 AD03 AD02 AD01 AD00 0 0
#7 #6 #5 #4 #3 #2 #1 #0
F207 ADSGN AD12 AD11 AD10 AD09 AD08 AD07 AD06
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8705 ADCV
5120 A/D ALARM : NON A/D Although the parameter to specify the
MODULE analog input module is on, the analog
input module is not installed.
5121 A/D ALARM : A/D MOD- Fault in the A/D converter.Replace the
ULE module.
1002
B–63173EN–1/02 18. FANUC I/O LINK FUNCTION
Overview I/O Link is a serial interface for transferring I/O signals (bit data) at high
speed between the CNC and units such as an I/O Unit–A and a Power
Mate. The Power Mate has one master channel and one slave channel of
I/O Link.
When a Power Mate, an I/O Link b, an I/O card, and an I/O unit are used
as I/O devices of the Power Mate, I/O assignment is required when a
ladder program is created.
Note) The formal name of the I/O Link b is the FANUC SERVO MOTOR
b series I/O Link Option.
Configuration
I/O Unit-A
Group #15
1003
18. FANUC I/O LINK FUNCTION B–63173EN–1/02
I/O data transfer I/O Link has 1024 input signals and 1024 output signals when viewed
from the master. These 1024 input signals and 1024 output signals are
assigned to the slaves to transfer I/O data between the master and the
slaves periodically.
Master Slave #0
Output
Each slave occupies a defined number of input and output signals and can
use them unless the total numbers of input signals and output signals
occupied by all slaves of one I/O Link exceed the following:
Number of input signals: 1024, number of output signals: 1024
The number of occupied I/O signals may differ from the number of actual
I/O signals.
Slave type Number of actual I/O signals Number of occupied I/O signals Remarks
I/O card D 48 32 64 32
1004
B–63173EN–1/02 18. FANUC I/O LINK FUNCTION
Connection
ÂÂÂÂ
ÂÂÂÂ
Slave
Master I/O Unit-A I/O Unit-A
10m
CNC Group #0
Power Mate
10m
2m
Optical adapter
Optical adapter
2m
Group #2
10m
Group #3
Group #15
When an I/O card or an I/O unit is used as an I/O device of the Power Mate,
the Power Mate functions as the master unit, and the I/O card or the I/O
unit functions as a slave unit.
1005
18. FANUC I/O LINK FUNCTION B–63173EN–1/02
Specifications
Item Specification Remarks
Setting Information about slaves connected to I/O Link is set on the setting screen
when a ladder program for the master unit is created.
(a) Setting of module names
When a Power Mate is used as a slave
FS04A For DI/DO = 32/32
FS08A For DI/DO = 64/64
OC02I For DI = 128
OC02O For DO = 128
OC03I For DI = 256
OC03O For DO = 256
When the I/O card D (48/32) is used as a slave
DI side /6 Assumed to be equivalent to DI = 64
DO side /4 DO = 32
When the I/O card E (96/64) is used as a slave
DI side CN01I Assumed to be equivalent to DI = 128
DO side CN01O DO = 64
When the I/O Link β is used as a slave
DI side OC02I
DO side OC02O
For the built–in I/O card, no special setting is required. (The built–in I/O
card is not included in I/O Link.)
(b) Base and slot setting
The following settings are common to the Power Mate and I/O cards:
Base: 0
Slot: 1
The above is set on the master unit side.
1006
B–63173EN–1/02 18. FANUC I/O LINK FUNCTION
I/O Link master area Within the ranges from X000 to X127 and from Y000 to Y127, up to 1024
input signals and up to 1024 output signals can be used.
I/O Link slave area The following slave areas are used:
For 32/32 signals: X1020 to X1023, Y1020 to Y1023
For 64/64 signals: X1020 to X1027, Y1020 to Y1027
For 128/128 signals: X1020 to X1035, Y1020 to Y1035
For 256/256 signals: X1020 to X1051, Y1020 to Y1051
NOTE
The DI/DO addresses on the host side are determined
according to address assignment in the PMC.
Data I/O function via Part programs, parameters, macro variables, and PMC data can be input
FANUC I/O Link (input) and output between a device functioning as the master and the Power
IOLNK <G251#0> Mate via FANUC I/O Link.
The IOLNK signal <G251#0> selects RS–232–C or FANUC I/O Link to
input or output part programs, parameters, macro variables, and PMC
data.
IOLNK: 0 Uses RS–232–C.
1 Uses FANUC I/O Link.
1) The method of data I/O control is determined entirely according to the
function used on the master side of FANUC I/O Link. Therefore, if
the master device of I/O Link does not have the function, the data I/O
function cannot be used.
The Power Mate–D/E/F/H cannot be used as the master of this
function.
2) Data that can be input and output is the same as I/O data transferred
via RS–232–C.
3) For data output, ISO or EIA code is set by using setting parameter ISO.
Setting parameter ISO 1: ISO code output
0: EIA code output
4) When data is input, which code is used, ISO or EIA code, is
determined automatically.
5) The I/O data format is the same as the I/O data format used in
RS–232–C.
6) The I/O conditions are the same as the I/O conditions in RS–232–C.
The baud rate and stop bit settings are unnecessary, however.
1007
19. TWO–PATH CONTROL (Power Mate i–D) B–63173EN–1/02
1008
B–63173EN–1/02 19. TWO–PATH CONTROL (Power Mate i–D)
19.1 Two path control of the Power Mate i–D allows two independent one–axis
machines to be controlled by one Power Mate i–D unit. I/O signals
OVERVIEW exchanged with the PMC ladder program are provided for each path, so
the two paths, each having one axis, can operate independently of each
other and can perform entirely different types of machining at the same
time. Data including programs, macro variables, parameters, and offsets
is prepared for each path separately.
Because of the feature of two paths, the following operations are possible:
1 By using a serial spindle for each path, different programs are executed
for the individual paths to perform two types of machining at the same
time.
1009
19. TWO–PATH CONTROL (Power Mate i–D) B–63173EN–1/02
When data is displayed and set, the screen display is changed between the
paths by using an input signal or by performing key operations on the
display unit.
When a CRT/MDI or FANUC touch panel is used, by parameter setting,
the path of which data is currently displayed on the screen can be
identified by the subscript of axis names on a position display screen or
by the path name.
Path 1 G0000 to
programs, G0511 Manual handle in path 2
macro
Path 1 variables, ąą←
parameters,
offsets, etc. F0000 to I/O machine operator’s panel
F0511
X0000
ąą → Ladder to X0128 FSSB
program Servo
G1000 to Servo motor
Path 2 X1000A amplifier
G1511 in path 1
programs, to 1003 1
macro
variables, ąą←
Path 2 parameters, Servo Servo motor
offsets, etc. F1000 to amplifier in path 2
F1511 2
ąą →
Spindle
Spindle motor
amplifier
in path 1
1
Spindle
Spindle motor
Outline of 2 path control system configuration amplifier
in path 2
2
1010
B–63173EN–1/02 19. TWO–PATH CONTROL (Power Mate i–D)
19.2 The Power Mate i–D gives the user a choice of either 1 path control or 2
path control.
SPECIFYING 2 PATH Select the path control method by following the procedure explained
CONTROL below. The path control method is factory–set to 1 path control.
Information about which control method is currently selected is stored in
the battery–backed–up SRAM. So, this information is kept unchanged
even when the power is turned off. The operation described below is
performed only when path control is selected.
D When a FANUC touch While touching the upper right corner on the screen, turn on the power.
panel is used The IPL screen is displayed.
Control selection Operation
KEY1: 2→[SELECT]→[YES]
1 path → 2 path
KEY2; S→[SELECT]→[YES]→[EXIT]
KEY1: 2→[SELECT]→[YES]
2 path → 1 path
KEY2; S→[SELECT]→[YES]→[EXIT]
KEY CODE1: 2
1 path → 2 path
KEY CODE2: S
KEY CODE1: 2
2 path → 1 path
KEY CODE2: S
1011
19. TWO–PATH CONTROL (Power Mate i–D) B–63173EN–1/02
NOTE
D When the above operation is performed, CNC data such as
offsets and macro variables stored in the
battery–backed–up memory (SRAM) is all cleared. The
parameters are reset to factory–set values. So,
parameters, offsets, macro variables, and other CNC data
must be set again.
D The path selection operation is required just once when
path control switching is performed. This operation need
not be performed each time the power is turned on.
D If a path control switching operation from one path to one
path or from two paths to two paths is performed, e.g.,
turning on the power while holding down the <1> and <S>
keys in the one–path state, or turning on the power while
holding down the <2> and <S> keys in the two–path state,
the SRAM data is also all cleared.
D An operation to entirely erase memory resets the path
selection data to the state where one path is selected.
D This path selection operation does not clear optional
parameters.
1012
B–63173EN–1/02 19. TWO–PATH CONTROL (Power Mate i–D)
19.3 When a display unit such as a CRT/MDI is used, the screen display can
be switched between path 1 and path 2. For the path selected for display,
TWO–PATH DISPLAY data such as programs, parameters, and macro variables can be set and
input/output via the reader/puncher interface and other interfaces.
19.3.1 There are two methods for switching between the paths as follows:
Path Display Switching
19.3.1.1 The following signal can be used to switch the screen display between the
Switching by input paths:
signal
#7 #6 #5 #4 #3 #2 #1 #0
G063 PATHS
19.3.1.2 The screen display can be switched between the paths by pressing the <H>
Switching between the and <1> keys or the <H> and <2> keys at the same time.
paths by key input on Switching
Display unit Operation
the display unit between paths
1013
19. TWO–PATH CONTROL (Power Mate i–D) B–63173EN–1/02
19.3.2 The following output signal notifies the PMC ladder program of the path
Path Select Signal of which data is currently displayed:
#7 #6 #5 #4 #3 #2 #1 #0
F254 PATHO
19.3.3 A subscript can be set for axis names by setting a character code in the
Subscript of Axis Names parameter shown below. When character code 0 is set, 1 for path 1 and
2 for path 2 are displayed as subscripts.
1014
B–63173EN–1/02 19. TWO–PATH CONTROL (Power Mate i–D)
19.3.4 A name can be set for each path by setting character codes in the following
Path Name parameters:
19.3.5 When the DPL/MDI operation package is installed, the number of the
currently selected path is indicated as shown in the figure below. No
Path Number When the
parameter setting is required to display path numbers.
DPL/MDI Operation
Package is Used as the
Display Unit
1015
19. TWO–PATH CONTROL (Power Mate i–D) B–63173EN–1/02
19.4 The following lists the key operations at power–on that are specific to 2
path control.
KEY OPERATIONS AT
CRT/MDI
POWER–ON
Function Operation
Clear parameters and offset data for Turn on power while holding down
path 1 <1> and <RESET>.
Clear parameters and offset data for Turn on power while holding down
path 2 <2> and <RESET>.
KEY1: 1→[SELECT]→[YES]
Clear programs for path 1
KEY2: DEL→[SELECT]→[YES]→[EXIT]
KEY1: 2→[SELECT]→[YES]
Clear programs for path 2
KEY2: DEL→[SELECT]→[YES]→[EXIT]
KEY CODE1: 1
Clear parameters and offset data for path 1
KEY CODE2: DGNS PARM
KEY CODE1: 2
Clear parameters and offset data for path 2
KEY CODE2: DGNS PARM
KEY CODE1: 2
Clear programs for path 1
KEY CODE2: DELT
1016
B–63173EN–1/02 19. TWO–PATH CONTROL (Power Mate i–D)
Function Operation
KEY CODE1: 2
Clear programs for path 2
KEY CODE2: DELT
KEY CODE1: 7
Clear all data for both paths
KEY CODE2: 9
NOTE
When all data for both paths has been cleared, the system
is started with 1 path control.
1017
19. TWO–PATH CONTROL (Power Mate i–D) B–63173EN–1/02
19.5 This section explains the specification items different from the
specifications for 1 path control.
DETAIL
SPECIFICATIONS
19.5.1.1 In 2 path control, manual setting 1 and manual setting 2 of the FSSB
FSSB setting setting methods (see Subsection 1.4.3, ”FSSB Setting”) can be used.
Automatic setting cannot be used.
D Manual setting 1
1 In parameter No. 1023, set 1 for path 1, and set 2 for path 2.
2 For both paths, set 0 in all of bits 0 and 1 of parameter No 1902,
and parameters Nos. 1910 through 1919.
3 Turn the power off then back on.
D Manual setting 2
The pulse module and FSSB I/O module settings are made on the
path–1 side. These settings cannot be made on the path–2 side.
1 In parameter No. 1023, set 1 for path 1, and set 2 for path 2.
2 Set 1 in bit 0 of parameter No. 1902 for both paths.
3 Set parameter Nos. 1905, 1910 through 1919, 1936, and 1937 for
path 1. (See Subsection 1.4.3, ”FSSB Setting”.)
4 Set 40 in all of parameter Nos. 1910 through 1919 for path 2.
5 Turn the power off then back on.
19.5.2
Spindle
Serial
Power Mate JA11 Serial Spindle1#1 Spindle for
path 1
Spindle for
Serial Spindle1#2 path 2
1018
B–63173EN–1/02 19. TWO–PATH CONTROL (Power Mate i–D)
VCMD1
Power Mate
JA11 Analog Spindle1#1 Spindle for
VCMD2 path 1
Spindle for
Analog Spindle1#2
path 2
Manual handle
Manual handle 2
for path 2
System configuration when manual handles are used via the main board
1019
19. TWO–PATH CONTROL (Power Mate i–D) B–63173EN–1/02
Manual handle
Manual handle 1 for path 1
Manual handle
Manual handle 2
for path 2
#7 #6 #5 #4 #3 #2 #1 #0
7101 HSL
HSL Feed operations by the manual pulse generators are performed in 2 path
control as follows:
0 : The first manual pulse generator is used for the axis of path 1, and the
second manual pulse generator is used for the axis of path 2.
1 : The axis is selected by the manual handle feed axis select signal.
1020
B–63173EN–1/02 19. TWO–PATH CONTROL (Power Mate i–D)
19.6 The following shows the signal interface between the Power Mate and a
machine when 2 path control is used:
DI/DO SIGNALS
CNC MT
PMC
(Power Mate i-D) (machine)
G000 or X000 or
later later
Path 1 F000 or X1000 or
later later
G1000 or
later Y000 or
later
Path 2 F1000 or
later Y1000 or
later
19.6.1 Which I/O signals are to be used as direct signals can be selected by bit
Direct DI Signals 3 of parameter No. 3008.
(MT to CNC)
1021
19. TWO–PATH CONTROL (Power Mate i–D) B–63173EN–1/02
19.6.2 The G/F addresses for path 2 are obtained by adding 1000 to each address
Interface Signals for path 1. (The addresses for path 1 are G0000 to G0511 and F0000 to
F0511, and the addresses for path 2 are G1000 to G1511 and F1000 to
between the CNC and F1511.)
PMC (PMC → CNC, The G63#0 (PATH) signal (path switch signal) and the F254#7 (PATHO)
CNC → PMC) signal (path select output signal) are present for path 1 only. (See
Subsection 2.2.1.)
19.6.3 An emergency stop can be applied to each path by setting the following
Emergency Stop parameters:
#7 #6 #5 #4 #3 #2 #1 #0
1803 EEP
#7 #6 #5 #4 #3 #2 #1 #0
8100 NWR
NOTE
1 To apply an emergency stop to the individual paths, set both
of the above parameter bits (bit 3 of parameter No. 1803 and
bit 7 of parameter No. 8100) to 1.
2 When an emergency stop is to be applied to the individual
paths, a servo amplifier is required for each path. When a
two–axis amplifier is used for both paths, it is impossible to
apply an emergency stop to the individual paths.
1022
B–63173EN–1/02 19. TWO–PATH CONTROL (Power Mate i–D)
19.7 D Programs, parameters, offsets, and macro variables are present for
each path except some data items.
OTHERS
D Ladder programs and PMC parameters are used commonly to both
paths. The PMC screen is displayed and manipulated in path 1 only.
D The maintenance information screen is displayed in path 1 only.
D The analog input function can be used for just one signal in path 1.
D On the coordinate display screen in the shared display mode on the
CRT, coordinates in both paths are displayed.
19.8 D In the selection of the program number digits (bit 6 of parameter No.
3230), when a parameter of either of the paths is changed, the
NOTES programs for both paths are erased. In addition, it is impossible to
select different numbers of digits for the individual paths. The same
number of digits applies to the two paths. For example, when the
parameter for path 2 is changed from 4–digit O numbers to 8–digit O
numbers, not only program numbers for path 2 but also program
numbers for path 1 are set to 8–digit O numbers.
D Optional parameters are set for path 1 only. For path 2, the same
parameter settings as path 1 are assumed.
1023
20. SCREEN STATE SIGNALS (OUTPUT)
DPL0. DPL1, DPL2 <F254#0–#2> B–63173EN–1/02
0 0 0 Position display
0 0 1 Program
0 1 0 Offset/Macro variable/Setting
0 1 1 Parameter/Diagnose/Pitch error
1 0 0 Alarm/Message
1024
B–63173EN–1/02 21. PMC KEY DATA REFERENCE FUNCTION (OUTPUT)
The DPL/MDI and DPL/MDI Package key input status is output to the
PMC
(Note) When three keys or more are pushed at the same time, the key
data cannot be correctly read.
Signal name key Signal name key Signal name key Signal name key
1025
22. POLE POSITION DETECTION FUNCTION B–63173EN–1/02
Overview When the pole position of a servo motor and the phase of its position
detector is not adjusted, the torque of the servo motor cannot be controlled
normally irrespective of a kind of motor, such as a rotation motor or a
linear motor. This function measures a lag of phase and can adjust it to
output the normal torque.
NOTE
S This function cannot be applied to the axis that external
force always influences, such as a gravity axis.
S This function cannot be applied under the condition that the
axis cannot move by some reason, such as mechanically
locked axis.
Details When a relation between the pole position and a position detector is
unknown irrespective of rotation motor or linear motor, this function
detects the relation to drive a servo motor normally. When the pole
position detection request signal (RPREQx) is turned to ”1”, CNC starts
to detect the pole position and the pole position detection signal
(RPDETx) turns to ”1”. After several seconds, the pole position detection
will finish and the pole position detection completion signal (RPFINx)
will turn to ”1”. If the motor can not move for mechanical reason and the
pole position can not be detected, the servo alarm 454 (ILLEGAL
ROTOR POS DETECT) occurs.
S The pole position detection is effective for the axis whose parameter
No.2213#7 is ”1”. The pole position detection request signal for the
axis whose parameter No.2213#7 is ”0” is neglected.
S CNC does not control the motor and performs follow–up during
detecting pole position.
S Do not execute the pole position detection during servo–off state, and
do not execute servo–off during the pole position detection.
S Once the pole position detection starts, it continues even if the pole
position detection request signal (RPREQx) turns to ”0”.
S The pole position detection stops by reset. If you want to restart the
pole position detection, turn the pole position detection request
(RPREQx) signal to ”0” once, and turn it to ”1” again after that.
S After the pole position detection has finished once, the pole position
detection can not be executed once more unless the CNC is powered
off. When the absolute encoder is used and you want to detect the pole
position again, execute it after you set the parameter No.2139 (AMR
offset) to ”0” and CNC is powered off.
1026
B–63173EN–1/02 22. POLE POSITION DETECTION FUNCTION
S The servo alarm 454 (ILLEGAL ROTOR POS DETECT) can not be
released by reset. Please power the CNC off and on to release the servo
alarm 454 (ILLEGAL ROTOR POS DETECT).
S When the absolute encoder is used, set the parameter No.2229#0
(ABSEN) to ”1”. In this case, the result of pole position detection is
memorized to the parameter No.2139 (AMR offset) after the pole
position detection is completed. After this, it is unnecessary to execute
the pole position detection every power on.
S When the incremental encoder is used too with No.2229#0
(ABSEN)=1, the result of pole positon detection is memorized to
No.2139 (AMR offset) after the pole position detection is completed
and one rotation signal in encoder is caught. This suppresses change
of the torque constant by the variation in pole position detection.
NOTE
S When the incremental encoder is used, the result of pole
positon detection is memorized just after one rotation signal
in encoder is caught. Accordingly, even if the pole position
detection is executed, the result of pole position detection
is not memorized when the power is turned off before one
rotation signal in encoder is caught.
S When the incremental encoder is used, the result of pole
position detection memorized in the parameter No.2139
(AMR offset) is effective in servo control after one rotation
signal in encoder is caught. Accordingly, the torque
constant may be changed by the variation in pole position
detection until one rotation signal in encorder is caught.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2213 OCM
#7 #6 #5 #4 #3 #2 #1 #0
2229 ABSEN
1027
22. POLE POSITION DETECTION FUNCTION B–63173EN–1/02
NOTE
S This parameter is available with the servo software 90B0/04
series or later.
S In case of the application of absolute encoder, please set
this parameter to ”1”. The result of pole position detection
is memorized to the parameter No.2139 (AMR offset) and
it is unnecessary to execute pole position detection every
power on. In case this parameter is set to ”0”, it is necessary
to execute pole position detection every power on.
S In case of the application of incremental encoder, it is
necessary to execute pole position detection every power
on. In case this parameter is set to ”1”, the result of pole
position detection is memorized to the parameter No.2139
(AMR offset). It is possible to suppress the change of the
torque constant by the variation of pole position detection
because the memorized result of pole positon deteciton is
used when the pole positon detection is executed in the next
power on.
But the result of pole position detection is memorized just
after one rotation signal is caught. Accordingly, in case the
power is turned off before one rotation signal is caught, the
result of pole position detection is not memorized.
And, the result of pole position detection memorized in the
parameter No.2139 (AMR offset) is effective in servo control
after one rotation signal in encoder is caught. Accordingly,
the torque constant may be changed by the variation in pole
position detection before one rotation signal is caught.
CAUTION
After the pole position was detected, never change this
value. However if it is necessary to adjust and to change this
value, power must be off after modification.
1028
B–63173EN–1/02 22. POLE POSITION DETECTION FUNCTION
Signal
1029
22. POLE POSITION DETECTION FUNCTION B–63173EN–1/02
RPREQ
RPDET
RPFIN
NOTE
S In case of the application of absolute encoder, the
parameter No.2229#0 is set to ”1” and the pole position
detection is executed once, after the pole position detection
is completed, this signal can keep the condition of ”1” even
if the power is turned off and on. If the parameter No.2139
is set to ”0” and the power is turned off and on, this signal
becomes ”0”.
S In case of the application of incremental encoder, the pole
postion detection completion signal don’t become ”0”
unless the power is turned off.
1030
B–63173EN–1/02 22. POLE POSITION DETECTION FUNCTION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G135 RPREQ8 RPREQ7 RPREQ6 RPREQ5 RPREQ4 RPREQ3 RPREQ2 RPREQ1
#7 #6 #5 #4 #3 #2 #1 #0
F158 RPDET8 RPDET7 RPDET6 RPDET5 RPDET4 RPDET3 RPDET2 RPDET1
1031
23. ACTUAL POSITION READING FUNCTION
WITH ABSOLUTE–POSITION DETECTOR B–63173EN–1/02
1032
23. ACTUAL POSITION READING FUNCTION
B–63173EN–1/02 WITH ABSOLUTE–POSITION DETECTOR
NOTE
1 When this function is used, be sure to use the
absolute–position detector, and set APC (bit 5 of parameter
No. 1815) to 1. The reference position must be established
in advance. If these conditions are not satisfied and this
function is used, coordinates are conventional machine
coordinates, instead of values output from the
absolute–position detector.
2 When this function is used with a ladder program, there may
be a delay time shown below at the maximum. Create an
application in consideration of the following delay time:
Maximum delay time = 1.25 ms + (ladder program scan
cycle)
3 This function requires an axis control card C (servo
software: 90B0 series).
4 When a high–response option is enabled, this function can
be applied to up to four axes.
If bit 4 of parameter No. 2224 is set to 1 for five or more axes,
actual position reading is applied to the last four axes and
conventional machine coordinates are used for the
previous axis or axes.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1806 APCD
NOTE
To enable the new setting of this parameter, the power must
be turned off and back on.
1033
23. ACTUAL POSITION READING FUNCTION
WITH ABSOLUTE–POSITION DETECTOR B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
2224 SPDO
NOTE
1 To enable the new setting of this parameter, the power must
be turned off and back on.
2 Set the bit to 1 only for an axis for which to use the actual
position reading function with the absolute–position
detector.
3 When a high–response function option is enabled, this
function can be applied to up to four axes.
If the bit is set to 1 for five or more axes, this function is
applied to the last four axes.
NOTE
This function is enabled for the PMC functions, PMC
window function, and FOCAS1 window functions listed
below.
PMC window
S Reading the machine position (machine coordinates)
of a controlled axis (function code: 28)
PMC function
S PSGNL (positional signal output)
S PSGN2 (positional signal output 2)
FOCAS1 window
S cnc_machine
S cnc_rdposition
Values are provided as before for the coordinate display and
output (such as screen display data and system variable
values) used in functions other than above.
1034
23. ACTUAL POSITION READING FUNCTION
B–63173EN–1/02 WITH ABSOLUTE–POSITION DETECTOR
CAUTION
S If the absolute–position detector is not used, conventional
coordinates are output even when the settings (bit 5 of
parameter No. 1806 and bit 4 of parameter No. 2224) are
made to use the function.
S When bit 5 of parameter No. 1806 is set to 1, set bit 4 of
parameter No. 2224 to 1 for an axis for which to use this
function. If bit 4 of parameter No. 2224 is 0, machine
coordinates to be read are conventional values.
S When the rotary axis is set (bit 0 of parameter No. 1006 is
1), be sure to set parameter No. 1260 (travel distance per
rotation of the rotary axis). If the setting is 0, operation
cannot be assured.
S The rotary axis of type B is not supported. Be sure to set bit
1 of parameter No. 1006 to 0.
1035
24. SETTING MANUAL PULSE GENERATORS ON
HANDY MACHINE OPERATOR’S PANELS B–63173EN–1/02
Overview To use the manual pulse generators mounted on handy machine operator’s
panels, it is necessary to allocate PMC modules and set CNC parameters,
as in the case of the manual pulse generators connected via the I/O Link.
Up to three manual pulse generators can be used, and the manual handle
feed axis selection signals (HS1A to HS1D, HS2A to HS2D, and HS3A
to HS3D) are used to select which manual pulse generator moves which
axis.
There are two methods of associating addresses with modules for the
manual pulse generators: method A, which is suitable for three or fewer
manual pulse generators, and method B, which enables any manual
settings and is thus applicable even to four or more manual pulse
generators.
Method A
This method automatically determines associations with manual pulse
generators based on allocation of the connected modules and PMC.
For the modules capable of manual pulse generator connection that are
connected to the I/O Link, the manual pulse generators are
automatically allocated to the modules in ascending order of their
group numbers.
This method is the easiest to use for making settings when there are
three or fewer modules capable of manual pulse generator connection.
Method B
This method enables the allocation of any manual pulse generator to
any X signal address.
Each manual pulse generator can be allocated to a module with any
group number by setting the relevant parameters. Therefore, use
method B when there are four or more modules capable of manual
pulse generator connection.
1036
24. SETTING MANUAL PULSE GENERATORS ON
B–63173EN–1/02 HANDY MACHINE OPERATOR’S PANELS
Explanation When there are four or more modules capable of manual pulse
generator connection
Method A causes a problem in a case as shown below because no more
than three manual pulse generators can be connected.
When method A is used for the above example, three manual pulse
generators are allocated to groups #0 to #2, even if the generators are not
actually connected. The manual pulse generator on the handy machine
operator’s panel in group #3 cannot be used.
When the manual pulse generators are connected to the I/O Link, modules
capable of manual pulse generator connection (such as connector panel
I/O modules, operator’s panel I/O modules, and machine operator’s
panels) are used. The number of manual pulse generators that can be
connected to each module is determined by the module name and
module–specific ID used during allocation.
For example, up to three manual pulse generators can be connected to
each connector panel I/O module. In the above example, the allocation
name is CM13I (allocation name for one manual pulse generator), and one
manual pulse generator can be connected. Also, one manual pulse
generator can be connected to the handy machine operator’s panel. (For
details of allocation, refer to Chapter 3, ”How to Allocate Addresses,” in
”FANUC PMC Ladder Language Programming Manual” (B–61863E).)
In the above example with three connector panel I/O modules and one
handy machine operator’s panel, a total of four manual pulse generators
can be connected. When method A is used, however, only the three
manual pulse generators with lower group numbers can be used.
1037
24. SETTING MANUAL PULSE GENERATORS ON
HANDY MACHINE OPERATOR’S PANELS B–63173EN–1/02
How to make settings when there are four or more modules capable
of manual pulse generator connection
In contrast, when method B is used, each manual pulse generator can be
connected to any X signal. Setting parameters No. 7120 to No. 7122
enables the use of the manual pulse generators connected to any groups.
Power
Mate i
For example, when the first to third manual pulse generators are allocated
to addresses using parameters No. 7120 to No. 7122 as shown above, the
handy machine operator’s panel corresponding to the fourth manual pulse
generator can be used.
When any of parameters No. 7120 to No. 7122 is changed, a power–down
request of alarm No. 0 is issued. This alarm can be avoided using HDXDS
(bit 4 of parameter No. 7105).
Note that because there is a danger if an incorrect setting change is made,
it is recommendable to allow alarm No. 000 to be issued.
1038
24. SETTING MANUAL PULSE GENERATORS ON
B–63173EN–1/02 HANDY MACHINE OPERATOR’S PANELS
How to make settings when there are four or more modules capable
of manual pulse generator connection
In a long line of machines, such as a car assembly line, four or more
interface units for handy machine operator’s panels may be provided, and
the connection of one handy machine operator’s panel may be switched
to any of the interface units.
In this case, set HDXDS (bit 4 of parameter No. 7105) to 1 so that alarm
No. 0 is not issued even when any of parameters No. 7120 to No. 7122
is rewritten.
Power
Mate i
Handy
Switched by parameter
machine
No. 7120.
operator’s
panel
1st manual
pulse
generator
1039
24. SETTING MANUAL PULSE GENERATORS ON
HANDY MACHINE OPERATOR’S PANELS B–63173EN–1/02
NOTE
Of parameters No. 7120 to No. 7122, only the parameters
for the handy machine operator’s panels that should be
detached and reattached must be rewritten with correct
address values.
If the X address parameter of a group for which an manual
pulse generator connected to the I/O Link has been set is
inadvertently rewritten, or if an incorrect value is set for the
X address to which the handy machine operator’s panel is
to be connected, abrupt axis movement occurs by a
difference between the old and new X address values.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
7105 HDS HXS
NOTE
This parameter’s HDS is valid only when method B is
selected by HXS (bit 1 of the parameter).
1040
24. SETTING MANUAL PULSE GENERATORS ON
B–63173EN–1/02 HANDY MACHINE OPERATOR’S PANELS
NOTE
1 A PMC X address to which a manual pulse generator is to
be allocated is obtained by adding the start address of an
I/O Link connection group and an offset address from the
start of the group. The offset address depends on a unit
connected to the I/O Link. Refer to the relevant hardware
connection manual.
2 If an address to which a manual pulse generator cannot be
allocated is set, it is impossible to make axis motion with the
manual pulse generator.
1041
25. PULSE SIGNAL OUTPUT FUNCTION
(Power Mate i–H) B–63173EN–1/02
1042
25. PULSE SIGNAL OUTPUT FUNCTION
B–63173EN–1/02 (Power Mate i–H)
25.1 The pulse signal output function of the FANUC Power Mate i–MODEL
H (hereafter referred to as Power Mate i) is used to output pulse signals
OVERVIEW switched on and off at intervals of 2 to 99999998 ms, to one specified bit
of a built–in I/O (Y1000 to Y1002). The Power Mate i processes ladder
programs and axis movement commands at regular intervals, and pulses
are output in synchronization with the intervals. The output pulse signals
can be used to provide synchronous control over an external unit and the
Power Mate i.
Simple wiring enables interruption type ladder programs to be started at
pulse intervals, so that the ladder programs can be executed at intervals
of a minimum of 2 ms.
1043
25. PULSE SIGNAL OUTPUT FUNCTION
B–63173EN–1/02 (Power Mate i–H)
25.2.2 When the value of parameter No. 3036 is changed, there is no need to turn
Changing Pulse Signal the power off and back on to enable the new setting; once the current
interval of the old setting has completed, signals are output at intervals of
Output Intervals the new setting.
[Example] Fig. 25.2.2 below shows how signals are output when the
interval setting of 200 ms is changed to 2 ms.
The parameter value is changed at this After the 200–ms interval has completed, 2–ms
point in time. intervals start.
ON
OFF
Time
Switching period 200 ms Switching Switching
period period
2 ms 2 ms
25.2.3 When hard–wiring is in place to use pulse signals output to a built–in I/O
Example as signals to be input to the interruption type PMC function, it is possible
to implement a ladder program with a scan time at intervals of a minimum
of 2 ms.
Example) To implement a ladder program with a scan time at 2–ms
intervals by enabling the Y1001.0 output to be input to
X1003.0 and used with the interruption type PMC function
1) Set parameter No. 3034 to 1001 and parameter No. 3035 to 0 so that
the output address and bit of the pulse signal output function are
specified as Y1001.0.
2) Set parameter No. 3036 to 2 so that the output switching period of
the pulse signal output function is specified as 2 ms.
3) Make settings so that the interruption type PMC function is used
and interruptions are effected at both rising and falling edges.
When X1003.0 is used, set bit 0 of parameter No. 8731 to 1, bit 0
of parameter No. 8732 to 1, and bit 0 of parameter No. 8733 to 1.
4) To supply the 24–V power to DO points, run wiring between DOC
(CB156A06) and +24E (CB156A01).
This wiring enables up to eight DO points to be driven.
5) Run wiring between Y1001.0 (CB155A15) and X1003.0
(CB156A07).
NOTE
For an explanation of wiring for other addresses, refer to
”Connection Manual (Hardware).”
1045
26. CNC SCREEN DISPLAY FUNCTION B–63173EN–1/02
1048
B–63173EN–1/02 26. CNC SCREEN DISPLAY FUNCTION
26.1 For the FANUC Power Mate i–MODEL D/H (hereafter referred to as
Power Mate i), the following describes the limitations on the one–screen
OVERVIEW display of the CNC screen display function, as well as the operation of and
limitations on the dual–screen display.
For a detailed explanation of the CNC screen display function, refer to
”FANUC Open CNC (CNC Screen Display Function) Operator’s
Manual” (B–63164EN).
26.2.1 1 Only 9–inch images for the CRT/MDI or LCD/MDI unit are
displayed.
Limitations
2 The screen size is fixed at 640 480 dots, regardless of the resolution
of the personal computer monitor.
3 Boot screens cannot be displayed.
4 When the LCD unit with a touch panel is used, virtual keys cannot be
displayed. The color display is provided on the personal computer
even when the LCD unit with a 9.5–inch monochrome touch panel is
used.
NOTE
S On the one–screen display, screens created with the macro
executor and those created with the C language executor
(including FANUC PICTURE screens) cannot be displayed.
To display these screens, use a Fast Ethernet board, and
set bit 7 of parameter No.3206 to 1 to select the dual–screen
display.
1049
26. CNC SCREEN DISPLAY FUNCTION B–63173EN–1/02
26.3 The CNC screen display function can be used to display CNC screens on
both personal computer and CNC. Key input is enabled on either personal
DUAL–SCREEN computer or CNC.
DISPLAY If the personal computer hangs up for some reason, a DI signal can be used
to end the dual–screen display of the CNC screen display function.
26.3.1 When NS2 (bit 7 of parameter No. 3206) is set to 1, the CNC screen
Operation display function is used to display CNC screens on both personal
computer and CNC.
26.3.2 For key input, either personal computer keyboard or CNC MDI keys can
Selecting Key Control be selected.
Key control is selected using the DI signal CNCKY (G0295#7).
Setting CNCKY (G0295#7) to 1 enables the CNC MDI keys; setting the
signal to 0 enables the keys on the personal computer.
When the CNC has the LCD unit with a touch panel and S2K (bit 5 of
parameter No. 3206) is set to 1, key control can be switched by pressing
the upper left corner of the screen.
The MDI keys are enabled when the upper left corner of the screen on the
LCD unit with a touch panel is pressed; the personal computer keys are
enabled when the upper left corner of the CNC screen display on the
personal computer is clicked.
The DO signal CNCKYO (F0295#7) can be used to check whether key
control is selected for the personal computer or CNC.
26.3.3 If the personal computer hangs up for some reason while the CNC screen
End Request with DI display function is being performed for the dual–screen display, a DI
signal can be used to make an end request from the CNC.
Signal Setting C2SEND (G0295#6) to 1 makes a request to end the dual–screen
display of the CNC screen display function. The results of the end request
are output to the DO signals C2SENE and C2SENO (F0295#5 and
F0295#6).
1050
B–63173EN–1/02 26. CNC SCREEN DISPLAY FUNCTION
26.3.5
#7 #6 #5 #4 #3 #2 #1 #0
Parameters
3103 NCSNC
NOTE
S When the setting is 1 and a C language executor screen is
displayed, the message ”CNC rejected activation of CNC
screen display function” appears in response to an attempt
to start the function, or the message ”Switch display from
C–EXE screen to another” appears in response to an
attempt to end the function, in a popup window on the
personal computer.
S When the setting is 0 but the function cannot be started or
ended, the programs for screens created with the C
language executor must be recompiled using the
FANUC–supplied library supporting the CNC screen display
function.
1051
26. CNC SCREEN DISPLAY FUNCTION B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
3206 NS2 S2K
NOTE
S When the setting is 0, the one–screen display is provided.
S To display screens for the macro executor or C language
executor, set the bit to 1.
S2K On the dual–screen display of the CNC screen display function, key
control is switched by:
0 : Using a DI signal (G0295#7).
1 : Pressing the upper left corner of the screen.
(The LCD unit with a touch panel is required.)
NOTE
S When the setting is 0, G0295 is valid only for the PMC–SB6.
The signal cannot be used with the PMC–SB5.
26.3.6
Signals
1052
B–63173EN–1/02 26. CNC SCREEN DISPLAY FUNCTION
1053
26. CNC SCREEN DISPLAY FUNCTION B–63173EN–1/02
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G295 CNCKY C2SEND
1054
27. THIRD–PARTY TOUCH PANEL
B–63173EN–1/02 CONNECTION FUNCTION
1055
27. THIRD–PARTY TOUCH PANEL
CONNECTION FUNCTION B–63173EN–1/02
NOTE
The third–party touch panel connection function cannot be
used simultaneously with a handy operator’s panel or
DPL/MDI unit.
1056
27. THIRD–PARTY TOUCH PANEL
B–63173EN–1/02 CONNECTION FUNCTION
27.2
DETAILS
27.2.2 The power must be turned on to the Power Mate i before to the touch
Power–on Priority panel. Depending on the touch panel types, it may be possible to set a time
from when the power is turned on until the touch panel is started. Set the
time so that the Power Mate i is started before the touch panel.
Starting the Power Mate i involves the time until the power–on reset
completes.
PMC–SB5 PMC–SB6
C Counter C0 to C79
CAUTION
Do not write to the X address because such operation may
pose a danger.
1057
27. THIRD–PARTY TOUCH PANEL
CONNECTION FUNCTION B–63173EN–1/02
27.2.4 1. The handy operator’s panel and touch panel cannot be used
Notes on Making simultaneously.
Note that because of the rotary switch and LED settings on the Power
Connections Mate i, the touch panel cannot be used when the handy operator’s panel
is selected.
2. The DPL/MDI unit and third–party touch panel cannot be used
simultaneously.
Note that, while the Power Mate i is powered on, the DPL/MDI unit
can be used by replacing the touch panel with the DPL/MDI unit;
however, the third–party touch panel cannot be used only by replacing
the DPL/MDI unit with the touch panel. (The power to the Power
Mate i must be turned off and back on.)
27.3
#7 #6 #5 #4 #3 #2 #1 #0
PARAMETER 3119 TPA
NOTE
The values below are automatically set for the Power Mate
i interface data.
Set the same values for the third–party touch panel.
S Baud rate: 19200 bps
S Stop bit: one bit
S Parity check: even parity
1058
APPENDIX
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
1061
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
A.1
LIST OF ADDRESSES
A.1.1 The address relationships between the Power Mate i–D/H and PMC
Power Matei–MODEL interface signals are shown below.
D/H List of Addresses
CNC PMC MT
X000 or later/
G000 or later
X1000 or later
The details of the Power Mate i–D/H and PMC interface signal addresses
are listed below. In the list, #D represents signals dedicated to the Power
Mate i–D, while #H represents those dedicated to the Power Mate i–H.
The address of the PMC corresponding to IEC1131–3 is presented
together (Example 1).
Example 1:
#7 #6 #2 #1 #0
G005 AFL SFIN#D MFIN
1062
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
MT → PMC
X0001 *DEC2
X1001 *DEC2
X1001 *DEC2
1063
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
NOTE
Use BIO (bit 3 of parameter No. 3008) to set whether to use
signals of X0000 to X0003 or signals of X1000 to X1003.
1064
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
PMC → CNC
Address Bit No.
#7 #6 #5 #4 #3 #2 #1 #0
G000 ED7 ED6 ED5 ED4 ED3 ED2 ED1 ED0
G003
G015
G016
G017
G020
G021
G022
G023
G024
G025
G026
G027
1065
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G030 SOV7#D SOV6#D SOV5#D SOV4#D SOV3#D SOV2#D SOV1#D SOV0#D
G031
G034
G035
G036
G037
G038
G039
G040
G047
G048
G049
G050
G051
G052
G059
1066
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
G060
G061 RGTAP#D
G062
G063 PATHS#D
G064
G065
G067
G068
G069
G074
G075
G076
G077
G080
G081
G082
G083
G084
G085
G086
G087
G088
G089
1067
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G090
G093
G094
G095
G097
G099
G101
G103
G104
G105
G107
G109
G111
G113
G115
G117
G118
G119
1068
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
G120
G121
G122
G123
G125
G127
G128
G129
G131
G133
G137
G139
G141
1069
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G150 DRNE RTE OVCE ROV2E ROV1E
G152
G153
G162
G163
G164
G165
G174
G175
G176
G177
1070
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
G180 EIF7D#H EIF6D#H EIF5D#H EIF4D#H EIF3D#H EIF2D#H EIF1D#H EIF0D#H
G186
G187
G188
G189
G190
G191
G193
G194
G195
G196
G197
G198
G199
G200
G201
G202
G203
G209
1071
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G210 ZR8#H ZR7#H ZR6#H ZR5#H ZR4#H ZR3#H ZR2 ZR1
G213
G234
G235
G236
G237
1072
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
G240
G241
G242
G243
G246
G256
G257
G258
G259
G260
G261
G262
G263
G264
G265
G268
G269
1073
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G270
G271
G272
G273
G274
G275
G288
G289
G290
G291
G292
G293
G294
G295
G296
G297
G298
G299
1074
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
G300
G301
G302
G303
G304
G305
G306
G307
G308
G309
G310
G311
G312
G313
G314
G315
G316
G317
G318
G319
G320
G321
G322
G323
G324
G325
G326
G327
G328
G329
1075
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G330
G331
G332
G333
G334
G335
G336
G337
G338
G339
G340
G341
G342
G343
G344
G345
G346
G347
G348
G349
G350
G351
G352
G353
G354
G355
G356
G357
G358
G359
1076
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
G360
G361
G362
G363
G364
G365
G366
G367
G368
G369
G370
G371
G372
G373
G374
G375
G376
G377
G378
G379
G380
G381
G382
G383
G384
G385
G386
G387
G388
G389
1077
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G390
G391
G392
G393
G394
G395
G396
G397
G398
G399
G400
G401
G402
G403
G404
G405
G406
G407
G408
G409
G410
G411
G412
G413
G414
G415
G416
G417
G418
G419
1078
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
G420
G421
G422
G423
G424
G425
G426
G427
G428
G429
G430
G431
G432
G433
G434
G435
G436
G437
G438
G439
G440
G441
G442
G443
G444
G445
G446
G447
G448
G449
1079
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G450 +STEP8#H +STEP7#H +STEP6#H +STEP5#H +STEP4#H +STEP3#H +STEP2#H +STEP1#H
G453
G454
G459
G460
G461
G472
G473
G474
G475
1080
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
G480 EID7F#H EID6F#H EID5F#H EID4F#H EID3F#H EID2F#H EID1F#H EID0F#H
G484
G485
G486
G487
G496
G497
G498
G499
G508
G509
1081
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
G510
G511
1082
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
CNC → PMC
Address Bit No.
#7 #6 #5 #4 #3 #2 #1 #0
F000 OP SA STL SPL RWD
F004 MZRN
F005
F006
F007 TF SF#D MF
1083
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
F030
F031
F032
F033
F035
F038
F039
F040
F041
F042
F043
F044
F048
F049
F050
F051
F052
1084
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
F060 ESEND EREND
F061
F062 PRTSF
F063
F064
F066 G08MD
F067
F068
F069
F074
F082 ITPS
F083
F084
F085
F086
F087
F088
F089
1085
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
F090 ABTSP1#D ABTQSV
F091
F092
F093
F095
F097
F099
F100
F101
F103
F105
F107
F109
F111
F112
F113
F115
F116
F117
F118
F119
1086
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
F120 ZRF8#H ZRF7#H ZRF6#H ZRF5#H ZRF4#H ZRF3#H ZRF2 ZRF1
F121
F122
F123
F124
F125
F126
F127
F128
F143
F144
F146
F147
F149
1087
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
F150
F152
F153
F154
F155
F156
F157
F160
F161
F162
F163
F164
F165
F166
F167
F176
F179
1088
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
F180 CLRCH8#HCLRCH7#HCLRCH6#HCLRCH5#HCLRCH4#HCLRCH3#H CLRCH2 CLRCH1
F181
F183
F185
F186
F187
F188
F189
F191
F192
F193
F194
F195
F196
F197
F198
F199
F200
F201
F202
F203
F204
F205
1089
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
F210 K7 K6 K5 K4 K3 K2 K1 K0
F215 KK KJ KI KE KD KC KB KA
F217 KX KR KG KN KO
F219
F225
F226
F227
F232
F233
F234
F235
1090
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
F240 APBL5#H APBV5#H APBZ5#H APPS5#H APPE5#H APFE5#H APOV5#H APCM5#H
F244
F245
F246
F247
F249
F252
F253 KENB#H
F254 PATHO
F255
F256
F257
F258
F259
F260
F261
F262
F263
F264
F265
F266
F267
F268
F269
1091
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
F270
F271
F272
F273
F274
F275
F278
F279
F288
F289
F290
F291
F292
F293
F294
F295
F296
F297
F300
1092
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
F301
F302
F303
F304
F305
F306
F307
F308
F309
F310
F311
F312
F313
F314
F315
F316
F317
F318
F319
F320
F321
F322
F323
F324
F325
F326
F327
F328
F329
F330
F331
1093
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
F332
F333
F334
F335
F336
F337
F338
F339
F340
F341
F342
F343
F344
F345
F346
F347
F348
F349
F350
F351
F352
F353
F354
F355
F356
F357
F358
F359
F360
F361
F362
1094
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
F363
F364
F365
F366
F367
F368
F369
F370
F371
F372
F373
F374
F375
F376
F377
F378
F379
F380
F381
F382
F383
F384
F385
F386
F387
F388
F389
F390
F391
F392
F393
1095
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
F394
F395
F396
F397
F398
F399
F400
F401
F402
F403
F404
F405
F406
F407
F408
F409
F410
F411
F412
F413
F414
F415
F416
F417
F418
F419
F420
F421
F422
F423
F424
1096
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
F425
F426
F427
F428
F429
F430
F431
F432
F433
F434
F435
F436
F437
F438
F439
F440
F441
F442
F443
F444
F445
F446
F447
F448
F449
F450
F451
F452
F453
F454
F455
1097
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
#7 #6 #5 #4 #3 #2 #1 #0
F456
F457
F458
F459
F460
F461
F462
F463
F464
F465
F466
F467
F468
F469
F470
F471
F472
F473
F474
F475
F476
F477
F478
F479
F483
F485
F486
1098
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
#7 #6 #5 #4 #3 #2 #1 #0
F487
F489
F490
F492
F493
F495
F496
F498
F499
1099
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
A.2
SIGNAL SUMMARY
A.2.1
Signal Summary f : Available
– : Unavailable
(In Order of Functions)
Function Signal name Symbol Address PM i–D PM i–H Item
F206#2 to
Analog input Analog input signals AD00 to ADSGN f f 21.1
F207#7
1100
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Spindle unexpected
disturbance torque detection ABTSP1 F090#1 f –
Unexpected
signal
disturbance torque 2.10
detection Unexpected disturbance
torque detection axis output ABTD1 to ABTD8 F184 f f
signals
1101
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
*IT G008#0 f f
F236#1 to
APC over time error signal APOV1 to APOV8 f f
F243#1
F236#2 to
APC framing error signal APFE1 to APFE8 f f
F243#2
F236#3 to
APC parity error signal APPE1 to APPE8 f f
F243#3
APC alarm
2.12
classification signal F236#4 to
APC pulse miss error signal APPS1 to APPS8 f f
F243#4
CON-
NEC-
TION
MANU-
FSSB I/O module FSSB I/O module start signal ITPS F082#0 f f
AL
(HARD-
WARE)
6.12
1102
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Optional block skip Optional block skip signals BDT1 to BDT9 G044#0, G045 f f 5.5
1103
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
1104
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
High–response mode
HMDO F228#0 – f
in–progress signal
HPST00 to
Motion program start signals G228 to G231 – f
HPST31
SKIPP1 to
Skip signals G266 to G267 – f
SKIPP16
1105
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Servo position
Servo position deviation
deviation monitor SVER1 to SVER8 F222 f f 2.13
monitor signal
signal
Servo off
Servo off signals SVF1 to SVF8 G126 f f 1.2.8
(mechanical handle)
Acceleration/deceleration
SUP1 to SUP8 F220 f f
signals
Axis status signals 7.2.7
Distributing signals IPL1 to IPL8 F221 f f
1106
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
1107
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Incremental command
externally set orientation INCMDA G072#5 f –
signals (serial spindle)
Orientation completion
ORARA F045#7 f –
signals (serial spindle)
1108
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
F036#0 to
S12–bit code signals R01O to R12O f –
F037#3
1109
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
X000#5 f –
*DEC1
X1000#5 f –
X001#5 f –
Manual reference Reference position return
*DEC2 4.1
position return deceleration signal X1001#5 f –
X002 – f
*DEC1 to *DEC8
X1002 – f
Reference position
ZRF1 to ZRF8 F120 f f
establishment signal
1110
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
X000#7 f f
SKIP
Skip function Skip signals X1000#7 f f 14.2.1
SKIPP G006#6 f f
EXF1 X000#0
EXF2 X000#1
Rate change Rate change signals EXF3 X000#6 f f 1.11
EXF4 X011#4
EXF5 X011#5
1111
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
X000#7 f f
SKIP
X1000#7 f f
X000#0 to #2 f f
SKIP2 to SKIP4
X1000#0 to #2 f f
1112
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
1113
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Reference position
ZRF1 to ZRF8 F120 f f
establishment signal
CON-
NEC-
TION
Built–in I/O overcurrent alarm DVALM0 to F248#0 to MANU-
Built–in I/O f f
signals (Y1000 to Y1002) DVALM2 F248#2 AL
(HARD-
WARE)
6.4
1114
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
1115
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
EBUFA G142#7 f f
EBUFB G154#7 f f
EBUFC G166#7 – f
EBUFD G178#7 – f
Axis control command read
signals (PMC axis control) EBUFE G464#7 – f
EBUFF G476#7 – f
EBUFG G488#7 – f
EBUFH G500#7 – f
EBSYA F130#7 f f
EBSYB F133#7 f f
EBSYC F136#7 – f
EBSYF F503#7 – f
EBSYG F506#7 – f
EBSYH F509#7 – f
PMC axis control 15.1
ECLRA G142#6 f f
ECLRB G154#6 f f
ECLRC G166#6 – f
ECLRD G178#6 – f
Reset signals (PMC axis
control) ECLRE G464#6 – f
ECLRF G476#6 – f
ECLRG G488#6 – f
ECLRH G500#6 – f
ESTPA G142#5 f f
ESTPB G154#5 f f
ESTPC G166#5 – f
ESTPD G178#5 – f
Axis control temporary stop
signals (PMC axis control) ESTPE G464#5 – f
ESTPF G476#5 – f
ESTPG G488#5 – f
ESTPH G500#5 – f
1116
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
ESBKA G142#3 f f
ESBKB G154#3 f f
ESBKC G166#3 – f
ESBKD G178#3 – f
Block stop signals (PMC axis
control) ESBKE G464#3 – f
ESBKF G476#3 – f
ESBKG G488#3 – f
ESBKH G500#3 – f
EMSBKA G143#7 f f
EMSBKB G155#7 f f
EMSBKC G167#7 – f
EMSBKD G179#7 – f
Block stop disable signals
(PMC axis control) EMSBKE G465#7 – f
EMSBKF G477#7 – f
EMSBKG G489#7 – f
EMSBKH G501#7 – f
PMC axis control 15.1
EM11A to EM48A F132,F142 f f
EMFA F131#0 f f
EMFB F134#0 f f
EMFC F137#0 – f
EMFD F140#0 – f
Auxiliary function strobe
signals (PMC axis control) EMFE F501#0 – f
EMFF F504#0 – f
EMFG F507#0 – f
EMFH F510#0 – f
1117
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
EFINA G142#0 f f
EFINB G154#0 f f
EFINC G166#0 – f
EFIND G178#0 – f
Auxiliary function completion
signals (PMC axis control) EFINE G464#0 – f
EFINF G476#0 – f
EFING G488#0 – f
EFINH G500#0 – f
ESOFA G142#4 f f
ESOFB G154#4 f f
ESOFC G166#4 – f
ESOFD G178#4 – f
Servo off signals (PMC axis
control) ESOFE G464#4 – f
PMC axis control 15.1
ESOFF G476#4 – f
ESOFG G488#4 – f
ESOFH G500#4 – f
EMBUFA G142#2 f f
EMBUFB G154#2 f f
EMBUFC G166#2 – f
EMBUFD G178#2 – f
Buffering disable signals
(PMC axis control) EMBUFE G464#2 – f
EMBUFF G476#2 – f
EMBUFG G488#2 – f
EMBUFH G500#2 – f
1118
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
EINPA F130#0 f f
EINPB F133#0 f f
EINPC F136#0 – f
EINPD F139#0 – f
In–position signals (PMC axis
control) EINPE F500#0 – f
EINPF F503#0 – f
EINPG F506#0 – f
EINPH F509#0 – f
ECKZA F130#1 f f
ECKZB F133#1 f f
ECKZC F136#1 – f
ECKZD F139#1 – f
Following zero checking
signals (PMC axis control) ECKZE F500#1 – f
ECKZF F503#1 – f
ECKZG F506#1 – f
ECKZH F509#1 – f
PMC axis control 15.1
EIALA F130#2 f f
EIALB F133#2 f f
EIALC F136#2 – f
EIALD F139#2 – f
Alarm signals (PMC axis
control) EIALE F500#2 – f
EIALF F503#2 – f
EIALG F506#2 – f
EIALH F509#2 – f
EGENA F130#4 f f
EGENB F133#4 f f
EGENC F136#4 – f
EGEND F139#4 – f
Axis moving signals (PMC
axis control) EGENE F500#4 – f
EGENF F503#4 – f
EGENG F506#4 – f
EGENH F509#4 – f
1119
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
EDENA F130#3 f f
EDENB F133#3 f f
EDENC F136#3 – f
EDEND F139#3 – f
Auxiliary function executing
signals (PMC axis control) EDENE F500#3 – f
EDENF F503#3 – f
EDENG F506#3 – f
EDENH F509#3 – f
EOTNA F130#6 f f
EOTNB F133#6 f f
EOTNC F136#6 – f
EOTND F139#6 – f
Negative–direction overtravel
PMC axis control 15.1
signals (PMC axis control) EOTNE F500#6 – f
EOTNF F503#6 – f
EOTNG F506#6 – f
EOTNH F509#6 – f
EOTPA F130#5 f f
EOTPB F133#5 f f
EOTPC F136#5 – f
EOTPD F139#5 – f
Positive–direction overtravel
signals (PMC axis control) EOTPE F500#5 – f
EOTPF F503#5 – f
EOTPG F506#5 – f
EOTPH F509#5 – f
1120
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
*FV0EB to
G163 f f
*FV7EB
*FV0EC to
G175 – f
*FV7EC
*FV0ED to
G187 – f
*FV7ED
Feedrate override signals
(PMC axis control) *FV0EE to
G473 – f
*FV7EE
*FV0EF to
G485 – f
*FV7EF
*FV0EG to
G497 – f
*FV7EG
*FV0EH to
G509 – f
*FV7EH
OVCE G150#5 f f
OVCEB G162#5 f f
OVCEC G174#5 – f
PMC axis control 15.1
OVCED G186#5 – f
Override cancellation signal
(PMC axis control) OVCEE G472#5 – f
OVCEF G484#5 – f
OVCEG G496#5 – f
OVCEH G508#5 – f
ESKIP X000#3 f f
Skip signal (PMC axis
control) ESKIP X1000#3 f f
1121
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
EABUFA F131#1 f f
EABUFB F134#1 f f
EABUFC F137#1 – f
EABUFD F140#1 – f
Buffer full signals (PMC axis
control) EABUFE F501#1 – f
EABUFF F504#1 – f
EABUFG F507#1 – f
EABUFH F510#1 – f
ELCKZA G142#1 f f
ELCKZB G154#1 f f
ELCKZC G166#1 – f
ELCKZD G178#1 – f
Following zero checking
PMC axis control 15.1
signals (PMC axis control) ELCKZE G464#1 – f
ELCKZF G476#1 – f
ELCKZG G488#1 – f
ELCKZH G500#1 – f
+EDITA G462#0 f f
+EDITB G462#1 f f
+EDITC G462#2 – f
+EDITF G462#5 – f
+EDITG G462#6 – f
+EDITH G462#7 – f
1122
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
–EDITA G463#0 f f
–EDITB G463#1 f f
–EDITC G463#2 – f
–EDITF G463#5 – f
–EDITG G463#6 – f
–EDITH G463#7 – f
*ESP G008#4 f f
*ESP X1000#4 f f
V–READY waiting
V–READY waiting signal WVRDY F209#4 f f 2.16
signal
F070#0 to
Position switch Position switch signals PSW01 to PSW10 f f 1.2.9
F071#1
1123
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
DM00 F009#7 f f
DM01 F009#6 f f
Decode M signals
DM02 F009#5 f f
Auxiliary function
Auxiliary function lock signal AFL G005#6 f f 8.2
lock
Manual absolute
Manual absolute signal *ABSM G006#2 f f 5.4
on/off
Memory protection
Memory protection signals KEY1 to KEY4 G046#3 to #6 f f 12.2.3
key
MD1,MD2,MD4 G043#0 to #2 f f
ZRN G043#7 f f
1124
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
MMDI F003#3 f f
MAUT F003#5 f f
MRMT F003#4 f f
MEDT F003#6 f f
Mode selection Operation mode check signal 2.6
MSTP F003#1 f f
MJ F003#2 f f
MZRN F004#5 f f
MTCHIN F003#7 f f
RGSPP F065#0 f –
Spindle rotation direction
signals RGSPM F065#1 f – 9.5.4.1
Rigid tapping–in–progress
RTAP F076#3 f –
signal
Spindle–speed function
SF F007#2 f –
strobe signal
1125
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
A.2.2
List of Signals f : Available
– : Unavailable
(In Order of Symbols)
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
X000#5 f –
*DEC1 4.1
X1000#5 f –
X002 – f
*DEC1 to *DEC8 Reference position return deceleration signal 4.1
X1002 – f
X001#5 f –
*DEC2 4.1
X1001#5 f –
*ESP G008#4 f f
*ESP X1000#4 f f
*FV0EB to
G163 f f
*FV7EB
*FV0EC to
G175 – f
*FV7EC
*FV0ED to
G187 – f
*FV7ED
*FV0EF to
G485 – f
*FV7EF
*FV0EG to
G497 – f
*FV7EG
*FV0EH to
G509 – f
*FV7EH
1126
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
*FV0O to *FV7O Software operator’s panel signals (*FV0 to *FV7) F078 f f 12.1.10
*HROV0 to
1% step rapid traverse override signals G096#0 to #6 f f 7.1.5.1
*HROV6
*JV0O to *JV15O Software operator’s panel signals (*JV0 to *JV15) F079, F080 f f 12.1.10
X000#6 f f
*RILK Interlock signal for all axes 2.5
X1000#6 f f
+EDITB G462#1 f f
+EDITC G462#2 – f
+EDITD G462#3 – f
15.1
+EDITE G462#4 – f
+EDITF G462#5 – f
+EDITG G462#6 – f
+EDITH G462#7 – f
+J1 to +J8 Feed axis and direction selection signals G100 f f 3.1
F081#0,#2,#4,
+J1O to +J4O Software operator’s panel signals (+J1 to +J4) f f 12.1.10
#6
+MIT1 to +MIT8 Interlock signal for each axis and direction G132 f f 2.5
1127
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
–EDITA G463#0 f f
–EDITB G463#1 f f
–EDITC G463#2 – f
–EDITD G463#3 – f
Interlock negative–direction signal for each axis
15.1
–EDITE direction (PMC axis control) G463#4 – f
–EDITF G463#5 – f
–EDITG G463#6 – f
–EDITH G463#7 – f
–J1 to –J8 Feed axis and direction selection signals G102 f f 3.1
F081#1,#3,#5,
–J1O to –J4O Software operator’s panel signals (–J1 to –J4) f f 12.1.10
#7
–MIT1 to –MIT8 Interlock signal for each axis and direction G134 f f 2.5
F206#2 to
AD00 to ADSGN Analog input signals f f 21.1
F207#7
1128
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
F236#7 to
APBL1 to APBL8 APC battery low alarm 2 signal f f
F243#7
F236#6 to
APBV1 to APBV8 APC battery low alarm 1 signal f f
F243#6
F236#5 to
APBZ1 to APBZ8 APC battery voltage 0 error signal f f
F243#5
APCM1 to F236#0 to
APC communication error signal f f
APCM8 F243#0
2.12
F236#2 to
APFE1 to APFE8 APC framing error signal f f
F243#2
F236#1 to
APOV1 to APOV8 APC over time error signal f f
F243#1
F236#3 to
APPE1 to APPE8 APC parity error signal f f
F243#3
F236#4 to
APPS1 to APPS8 APC pulse miss error signal f f
F243#4
1129
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
14.1,
DI30 to DI37 High–speed skip signals X1003 f f 14.2,
14.3
DM00 F009#7 f f
DM01 F009#6 f f
Decode M signals 8.1
DM02 F009#5 f f
DM30 F009#4 f f
CON-
NEC-
TION
DVALM0 to Built–in I/O overcurrent alarm signals (Y1000 to F248#0 to MANU-
f f
DVALM2 Y1002) F248#2 AL
(HARD-
WARE)
6.4
EA0 to EA6 Address signals for external data input G002#0 to #6 f f 15.2
EABUFA F131#1 f f
EABUFB F134#1 f f
EABUFC F137#1 – f
EABUFD F140#1 – f
Buffer full signals (PMC axis control)
EABUFE F501#1 – f
15.1
EABUFF F504#1 – f
EABUFG F507#1 – f
EABUFH F510#1 – f
EACNT1 to
Controlling signals (PMC axis control) F182 f f
EACNT8
EADEN1 to
Distribution completion signals (PMC axis control) F112 f f 15.1
EADEN8
EAX1 to EAX8 Control axis selection signals (PMC axis control) G136 f f 15.1
1130
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
EBSYA F130#7 f f
EBSYB F133#7 f f
EBSYC F136#7 – f
EBSYD F139#7 – f
Axis control command read completion signals (PMC
15.1
EBSYE axis control) F500#7 – f
EBSYF F503#7 – f
EBSYG F506#7 – f
EBSYH F509#7 – f
EBUFA G142#7 f f
EBUFB G154#7 f f
EBUFC G166#7 – f
EBUFD G178#7 – f
Axis control command read signals (PMC axis
15.1
EBUFE control) G464#7 – f
EBUFF G476#7 – f
EBUFG G488#7 – f
EBUFH G500#7 – f
ECKZA F130#1 f f
ECKZB F133#1 f f
ECKZC F136#1 – f
ECKZD F139#1 – f
Following zero checking signals (PMC axis control) 15.1
ECKZE F500#1 – f
ECKZF F503#1 – f
ECKZG F506#1 – f
ECKZH F509#1 – f
1131
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
ECLRA G142#6 f f
ECLRB G154#6 f f
ECLRC G166#6 – f
ECLRD G178#6 – f
Reset signals (PMC axis control) 15.1
ECLRE G464#6 – f
ECLRF G476#6 – f
ECLRG G488#6 – f
ECLRH G500#6 – f
ECMCP1 to
Phase calibration completion signals F223#0 to #3 – f
ECMCP4
ED0 to ED15 Data signals for external data input G000,G001 f f 15.2
EDENA F130#3 f f
EDENB F133#3 f f
EDENC F136#3 – f
EDEND F139#3 – f
Auxiliary function executing signals (PMC axis
15.1
EDENE control) F500#3 – f
EDENF F503#3 – f
EDENG F506#3 – f
EDENH F509#3 – f
EDG00 to EDG15 External punch start data number signals G252 to G253 f f
EDN00 to EDN15 External punch total data number signals G254 to G255 f f
1132
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
EFINA G142#0 f f
EFINB G154#0 f f
EFINC G166#0 – f
EFIND G178#0 – f
Auxiliary function completion signals (PMC axis
15.1
EFINE control) G464#0 – f
EFINF G476#0 – f
EFING G488#0 – f
EFINH G500#0 – f
EGENA F130#4 f f
EGENB F133#4 f f
EGENC F136#4 – f
EGEND F139#4 – f
Axis moving signals (PMC axis control) 15.1
EGENE F500#4 – f
EGENF F503#4 – f
EGENG F506#4 – f
EGENH F509#4 – f
EIALA F130#2 f f
EIALB F133#2 f f
EIALC F136#2 – f
EIALD F139#2 – f
Alarm signals (PMC axis control) 15.1
EIALE F500#2 – f
EIALF F503#2 – f
EIALG F506#2 – f
EIALH F509#2 – f
1133
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
EINPA F130#0 f f
EINPB F133#0 f f
EINPC F136#0 – f
EINPD F139#0 – f
In–position signals (PMC axis control) 15.1
EINPE F500#0 – f
EINPF F503#0 – f
EINPG F506#0 – f
EINPH F509#0 – f
ELCAM1 to
CAM follower selection signals G238#0 to #3 – f 1.9
ELCAM4
ELCKZA G142#1 f f
ELCKZB G154#1 f f
ELCKZC G166#1 – f
ELCKZD G178#1 – f
Following zero checking signals (PMC axis control) 15.1
ELCKZE G464#1 – f
ELCKZF G476#1 – f
ELCKZG G488#1 – f
ELCKZH G500#1 – f
1134
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
EMBUFA G142#2 f f
EMBUFB G154#2 f f
EMBUFC G166#2 – f
EMBUFD G178#2 – f
Buffering disable signals (PMC axis control) 15.1
EMBUFE G464#2 – f
EMBUFF G476#2 – f
EMBUFG G488#2 – f
EMBUFH G500#2 – f
EMFA F131#0 f f
EMFB F134#0 f f
EMFC F137#0 – f
EMFD F140#0 – f
Auxiliary function strobe signals (PMC axis control) 15.1
EMFE F501#0 – f
EMFF F504#0 – f
EMFG F507#0 – f
EMFH F510#0 – f
EMSBKA G143#7 f f
EMSBKB G155#7 f f
EMSBKC G167#7 – f
EMSBKD G179#7 – f
Block stop disable signals (PMC axis control) 15.1
EMSBKE G465#7 – f
EMSBKF G477#7 – f
EMSBKG G489#7 – f
EMSBKH G501#7 – f
1135
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
ENBEX1 to
External device input signals G455 f f 1.11
ENBEX8
EOTNA F130#6 f f
EOTNB F133#6 f f
EOTNC F136#6 – f
EOTND F139#6 – f
Negative–direction overtravel signals (PMC axis
EOTNE control) F500#6 – f
EOTNF F503#6 – f
EOTNG F506#6 – f
EOTNH F509#6 – f
15.1
EOTPA F130#5 f f
EOTPB F133#5 f f
EOTPC F136#5 – f
EOTPD F139#5 – f
Positive–direction overtravel signals (PMC axis
EOTPE control) F500#5 – f
EOTPF F503#5 – f
EOTPG F506#5 – f
EOTPH F509#5 – f
EREND Read completion signal for external data input F060#0 f f 15.2
1136
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
ESBKA G142#3 f f
ESBKB G154#3 f f
ESBKC G166#3 – f
ESBKD G178#3 – f
Block stop signals (PMC axis control) 15.1
ESBKE G464#3 – f
ESBKF G476#3 – f
ESBKG G488#3 – f
ESBKH G500#3 – f
ESEND Search completion signal for external data input F060#1 f f 15.2
ESKIP X000#3 f f
Skip signal (PMC axis control) 15.1
ESKIP X1000#3 f f
ESOFA G142#4 f f
ESOFB G154#4 f f
ESOFC G166#4 – f
ESOFD G178#4 – f
Servo off signals (PMC axis control) 15.1
ESOFE G464#4 – f
ESOFF G476#4 – f
ESOFG G488#4 – f
ESOFH G500#4 – f
ESTPA G142#5 f f
ESTPB G154#5 f f
ESTPC G166#5 – f
ESTPD G178#5 – f
Axis control temporary stop signals (PMC axis
15.1
ESTPE control) G464#5 – f
ESTPF G476#5 – f
ESTPG G488#5 – f
ESTPH G500#5 – f
EXF1 X000#0
EXF2 X000#1
EXF3 Rate change signals X000#6 f f 1.11
EXF4 X011#4
EXF5 X011#5
1137
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
F248#5,
FANAL1, FANAL2 Fan alarm signals (for each fan) f f 2.4
F248#6
GR1O, GR2O,
Gear selection signals (output) F034#0 to #2 f – 9.3
GR3O
GR3O, GR2O,
Gear selection signals (output) F034#2, #1, #0 f – 9.5.4.3
GR1O
HALMM1 to 1.8
Motion program alarm signals (each M–code group) F481 – f
HALMM8
HERSM1 to
Motion program reset signals (each M–code group) G457 – f
HERSM8
HEX1 to HEX8 Motion program using signals (each axis) F229 – f 1.8
HEXM1 to
Motion program using signals (each M–code group) F480 – f
HEXM8
HMF1 to HMF8 Motion program auxiliary function strobe signals G484 – f 1.8
1138
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
HOVC1 to
Motion program override cancel signals G227 – f
HOVC8
1.8
HPST00 to
Motion program start signals G228 to G231 – f
HPST31
HRDYM1 to 1.8
Motion program ready signals (each M–code group) F482 – f
HRDYM8
HS1A to HS1D Manual handle feed axis selection signals G018#0 to #3 f f 3.2
HS2IA to HS2ID Manual handle interrupt axis selection signals G041#4 to #7 f f 3.3
HSBK1 to HSBK8 Motion program single block signals (each axis) G232 – f
IGVRY1 to 2.9
Each–axis VRDY off alarm ignore signal G192 f f
IGVRY8
1139
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
CON-
NEC-
TION
MANU-
ITPS FSSB I/O module start signal F082#0 f f
AL
(HARD-
WARE)
6.12
LED01 to LED09 Handy operator’s panel LED control signal G204, G205#0 f f 19
1140
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
MCFNA Power line switch completion signals (serial spindle) G071#3 f – 9.2
MDTCH1 to
Controlled axis detach status signals F110 f f 1.2.4
MDTCH8
1141
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
MP1, MP2 Manual handle feed movement value select signal G019#4, #5 f f 1.13
MPOFA Motor power cutoff command signals (serial spindle) G073#2 f – 9.2
1142
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
OVCE G150#5 f f
OVCEB G162#5 f f
OVCEC G174#5 – f
OVCED G186#5 – f
Override cancellation signal (PMC axis control) 15.1
OVCEE G472#5 – f
OVCEF G484#5 – f
OVCEG G496#5 – f
OVCEH G508#5 – f
F070#0 to
PSW01 to PSW10 Position switch signals f f 1.2.9
F071#1
G032#0 to
R01I to R12I Spindle motor speed command input signals f –
G033#3
15.4
F036#0 to
R01O to R12O Spindle motor speed command output signals f –
F037#3
F036#0 to
R01O to R12O S12–bit code signals f – 9.3
F037#3
RCHA Power line status check signals (serial spindle) G071#7 f – 9.2
1143
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
RGSPP F065#0 f –
Spindle rotation direction signals
RGSPM F065#1 f – 9.5.4.1
ROV1E,ROV2E Rapid traverse override signals (PMC axis control) G150#0,#1 f f 15.1
RPDET1 to
Pole position detection signals F158 f f
RPDET8
21
RPFIN1 to
Pole position detection completion signals F159 f f
RPFIN8
RPREQ1 to
Pole position detection request signals G135 f f 21
RPREQ8
RSTP0 to RSTP8 Quick stop type axis stop signals G247 f f 2.10
1144
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
S00 to S31 Spindle–speed function code signals (binary output) F022 to F025 f – 9.5.4.2
X000#7 f f
SKIP Skip signals 14.2.2
X1000#7 f f
X000#0 to #2 f f
SKIP2 to SKIP4 Skip signals 14.2.2
X1000#0 to #2 f f
SKIPP1 to
Skip signals G266 to G267 – f 1.8
SKIPP16
1145
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
SRLNI0 to
Group number specification signals G091#0 to #3 f f
SRLNI3
13.3
SRLNO0 to
Group number output signals F178#0 to #3 f f
SRLNO3
SW1 to SW61 Handy operator’s panel key output signal F168 to F175 f f 16
TDFTR1 to
Disturbance torque value trouble prediction signal F299 f f
TDFTR8
2.17
TDSML1 to
Thermal simulation trouble prediction signal F298 f f
TDSML8
TLMHA Torque limit command HIGH signals (serial spindle) G070#1 f – 9.2
TLMLA Torque limit command LOW signals (serial spindle) G070#0 f – 9.2
TRQM1 to
Torque control mode signal (PMC axis control) F190 f f 15.1
TRQM8
1146
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Symbol Signal name Address PM i–D PM i–H
ence
UI100 to UI131 Input signals for custom macro G276 to G279 f f 11.3.1
UO100 to UO131 Output signals for custom macro F056 to F059 f f 11.3.1
ZPEXT1 to
Signal for reference position external setting G211 f f 4.7
ZPEXT8
1147
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
A.2.3
List of Signals f : Available
– : Unavailable
(In Order of Addresses)
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
X000#0 EXF1
X000#1 EXF2
X000#6 Rate change signals EXF3 f f 1.11
X011#4 EXF4
X011#5 EXF5
14.1,
X1003 High–speed skip signals DI30 to DI37 f f 14.2,
14.3
G000,G001 Data signals for external data input ED0 to ED15 f f 15.2
1148
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
G019#4, #5 Manual handle feed movement value select signal MP1, MP2 f f 1.13
1149
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
G032#0 to
Spindle motor speed command input signals R01I to R12I f – 15.4
G033#3
G042#0 to #3 Manual handle interrupt axis selection signals HS3IA to HS2ID f f 3.3
1150
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
1151
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
SRLNI0 to
G091#0 to #3 Group number specification signals f f
SRLNI3
*HROV0 to
G096#0 to #6 1% step rapid traverse override signals f f 7.1.5.1
*HROV6
G100 Feed axis and direction selection signals +J1 to +J8 f f 3.1
G102 Feed axis and direction selection signals –J1 to –J8 f f 3.1
G108 Machine lock signal for each axis MLK1 to MLK8 f f 5.3.1
1152
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
RPREQ1 to
G135 Pole position detection request signals f f 21
RPREQ8
G136 Control axis selection signals (PMC axis control) EAX1 to EAX8 f f 15.1
G142#1 Following zero checking signals (PMC axis control) ELCKZA f f 15.1
G143#0 to #6 Axis control command signals (PMC axis control) EC0A to EC6A f f 15.1
G143#7 Block stop disable signals (PMC axis control) EMSBKA f f 15.1
G144,G145 Axis control feedrate signals (PMC axis control) EIF0A to EIF15A f f 15.1
G146 to G149 Axis control data signals (PMC axis control) EID0A to EID31A f f 15.1
G150#0,#1 Rapid traverse override signals (PMC axis control) ROV1E,ROV2E f f 15.1
G151 Feedrate override signals (PMC axis control) *FV0E to *FV7E f f 15.1
G154#1 Following zero checking signals (PMC axis control) ELCKZB f f 15.1
1153
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
G155#0 to #6 Axis control command signals (PMC axis control) EC0B to EC6B f f 15.1
G155#7 Block stop disable signals (PMC axis control) EMSBKB f f 15.1
G156,G157 Axis control feedrate signals (PMC axis control) EIF0B to EIF15B f f 15.1
G158 to G161 Axis control data signals (PMC axis control) EID0B to EID31B f f 15.1
*FV0EB to
G163 Feedrate override signals (PMC axis control) f f 15.1
*FV7EB
G166#1 Following zero checking signals (PMC axis control) ELCKZC – f 15.1
G167#0 to #6 Axis control command signals (PMC axis control) EC0C to EC6C – f 15.1
G167#7 Block stop disable signals (PMC axis control) EMSBKC – f 15.1
G168,G169 Axis control feedrate signals (PMC axis control) EIF0C to EIF15C – f 15.1
G170 to G173 Axis control data signals (PMC axis control) EID0C to EID31C – f 15.1
*FV0EC to
G175 Feedrate override signals (PMC axis control) – f 15.1
*FV7EC
G178#1 Following zero checking signals (PMC axis control) ELCKZD – f 15.1
1154
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
G179#0 to #6 Axis control command signals (PMC axis control) EC0D to EC6D – f 15.1
G179#7 Block stop disable signals (PMC axis control) EMSBKD – f 15.1
G180,G181 Axis control feedrate signals (PMC axis control) EIF0D to EIF15D – f 15.1
G182 to G185 Axis control data signals (PMC axis control) EID0D to EID31D – f 15.1
*FV0ED to
G187 Feedrate override signals (PMC axis control) – f 15.1
*FV7ED
IGVRY1 to
G192 Each–axis VRDY off alarm ignore signal f f 2.9
IGVRY8
G204, G205#0 Handy operator’s panel LED control signal LED01 to LED09 f f 19
G210 Reference position without dogs setting signal ZR1 to ZR8 f f 4.2
ZPEXT1 to
G211 Signal for reference position external setting f f 4.7
ZPEXT8
1155
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
HPST00 to
G228 to G231 Motion program start signals – f
HPST31
1.8
G232 Motion program single block signals (each axis) HSBK1 to HSBK8 – f
G233 Motion program reset signals (each axis) HERS1 to HERS8 – f 1.8
ELCAM1 to
G238#0 to #3 CAM follower selection signals – f 1.9
ELCAM4
14.1,
G244 Measuring signals MEAS0 to MEAS7 f f 14.2,
14.3
G247 Quick stop type axis stop signals RSTP0 to RSTP8 f f 2.10
G252 to G253 External punch start data number signals EDG00 to EDG15 f f
13.2
G254 to G255 External punch total data number signals EDN00 to EDN15 f f
1156
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
SKIPP1 to
G266 to G267 Skip signals – f 1.8
SKIPP16
G280 to G283 Input signals for custom macro UI200 to UI231 f f 11.3.1
ENBEX1 to
G455 External device input signals f f 1.11
ENBEX8
HERSM1 to
G457 Motion program reset signals (each M–code group) – f
HERSM8
1.8
G458 Motion program auxiliary function completion signals HFIN1 to HFIN8 – f
G462#0 +EDITA f f
G462#1 +EDITB f f
G462#2 +EDITC – f
G462#3 +EDITD – f
Interlock positive–direction signal for each axis
15.1
G462#4 direction (PMC axis control) +EDITE – f
G462#5 +EDITF – f
G462#6 +EDITG – f
G462#7 +EDITH – f
G463#0 –EDITA f f
G463#1 –EDITB f f
G463#2 –EDITC – f
G463#3 –EDITD – f
Interlock negative–direction signal for each axis
15.1
G463#4 direction (PMC axis control) –EDITE – f
G463#5 –EDITF – f
G463#6 –EDITG – f
G463#7 –EDITH – f
G464#1 Following zero checking signals (PMC axis control) ELCKZE – f 15.1
1157
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
G465#0 to #6 Axis control command signals (PMC axis control) EC0E to EC6E – f 15.1
G465#7 Block stop disable signals (PMC axis control) EMSBKE – f 15.1
G466,G467 Axis control feedrate signals (PMC axis control) EIF0E to EIF15E – f 15.1
G468 to G471 Axis control data signals (PMC axis control) EID0E to EID31E – f 15.1
*FV0EE to
G473 Feedrate override signals (PMC axis control) – f 15.1
*FV7EE
G476#1 Following zero checking signals (PMC axis control) ELCKZF – f 15.1
G477#0 to #6 Axis control command signals (PMC axis control) EC0F to EC6F – f 15.1
G477#7 Block stop disable signals (PMC axis control) EMSBKF – f 15.1
G478,G479 Axis control feedrate signals (PMC axis control) EIF0F to EIF15F – f 15.1
G480 to G483 Axis control data signals (PMC axis control) EID0F to EID31F – f 15.1
G484 Motion program auxiliary function strobe signals HMF1 to HMF8 – f 1.8
*FV0EF to
G485 Feedrate override signals (PMC axis control) – f 15.1
*FV7EF
G488#1 Following zero checking signals (PMC axis control) ELCKZG – f 15.1
1158
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
G489#0 to #6 Axis control command signals (PMC axis control) EC0G to EC6G – f 15.1
G489#7 Block stop disable signals (PMC axis control) EMSBKG – f 15.1
G490,G491 Axis control feedrate signals (PMC axis control) EIF0G to EIF15G – f 15.1
G492 to G495 Axis control data signals (PMC axis control) EID0G to EID31G – f 15.1
*FV0EG to
G497 Feedrate override signals (PMC axis control) – f 15.1
*FV7EG
G500#1 Following zero checking signals (PMC axis control) ELCKZH – f 15.1
G501#0 to #6 Axis control command signals (PMC axis control) EC0H to EC6H – f 15.1
G501#7 Block stop disable signals (PMC axis control) EMSBKH – f 15.1
G502,G503 Axis control feedrate signals (PMC axis control) EIF0H to EIF15H – f
15.1
G504 to G507 Axis control data signals (PMC axis control) EID0H to EID31H – f
*FV0EH to
G509 Feedrate override signals (PMC axis control) – f 15.1
*FV7EH
1159
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
1160
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
F022 to F025 Spindle–speed function code signals (binary output) S00 to S31 f – 9.5.4.2
GR1O, GR2O,
F034#0 to #2 Gear selection signals (output) f – 9.3
GR3O
GR3O, GR2O,
F034#2, #1, #0 Gear selection signals (output) f – 9.5.4.3
GR1O
F036#0 to
S12–bit code signals R01O to R12O f – 9.3
F037#3
F036#0 to
Spindle motor speed command output signals R01O to R12O f – 15.4
F037#3
1161
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
F054, F055 Output signals for custom macro UO000 to UO015 f f 11.3.1
F056 to F059 Output signals for custom macro UO100 to UO131 f f 11.3.1
F065#0 RGSPP f –
Spindle rotation direction signals 9.5.4.1
F065#1 RGSPM f –
F070#0 to
Position switch signals PSW01 to PSW10 f f 1.2.9
F071#1
1162
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
F078 Software operator’s panel signals (*FV0 to *FV7) *FV0O to *FV7O f f 12.1.10
F079, F080 Software operator’s panel signals (*JV0 to *JV15) *JV0O to *JV15O f f 12.1.10
F081#0,#2,#4,
Software operator’s panel signals (+J1 to +J4) +J1O to +J4O f f
#6
12.1.10
F081#1,#3,#5,
Software operator’s panel signals (–J1 to –J4) –J1O to –J4O f f
#7
CON-
NEC-
TION
MANU-
F082#0 FSSB I/O module start signal ITPS f f
AL
(HARD-
WARE)
6.12
1163
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
MDTCH1 to
F110 Controlled axis detach status signals f f 1.2.4
MDTCH8
EADEN1 to
F112 Distribution completion signals (PMC axis control) f f 15.1
EADEN8
F130#1 Following zero checking signals (PMC axis control) ECKZA f f 15.1
F131#0 Auxiliary function strobe signals (PMC axis control) EMFA f f 15.1
1164
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
F132,F142 Auxiliary function code signals (PMC axis control) EM11A to EM48A f f 15.1
F133#1 Following zero checking signals (PMC axis control) ECKZB f f 15.1
F134#0 Auxiliary function strobe signals (PMC axis control) EMFB f f 15.1
F135,F145 Auxiliary function code signals (PMC axis control) EM11B to EM48B f f 15.1
F136#1 Following zero checking signals (PMC axis control) ECKZC – f 15.1
F137#0 Auxiliary function strobe signals (PMC axis control) EMFC – f 15.1
F138,F148 Auxiliary function code signals (PMC axis control) EM11C to EM48C – f 15.1
F139#1 Following zero checking signals (PMC axis control) ECKZD – f 15.1
1165
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
F140#0 Auxiliary function strobe signals (PMC axis control) EMFD – f 15.1
F141,F151 Auxiliary function code signals (PMC axis control) EM11D to EM48D – f 15.1
RPDET1 to
F158 Pole position detection signals f f
RPDET8
21
RPFIN1 to
F159 Pole position detection completion signals f f
RPFIN8
F168 to F175 Handy operator’s panel key output signal SW1 to SW61 f f 19
SRLNO0 to
F178#0 to #3 Group number output signals f f 13.3
SRLNO3
EACNT1 to
F182 Controlling signals (PMC axis control) f f 15.1
EACNT8
1166
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
TRQM1 to
F190 Torque control mode signal (PMC axis control) f f 15.1
TRQM8
F206#2 to
Analog input signals AD00 to ADSGN f f 21.1
F207#7
ECMCP1 to
F223#0 to #3 Phase calibration completion signals – f 1.9
ECMCP4
F229 Motion program using signals (each axis) HEX1 to HEX8 – f 1.8
F230 Motion program alarm signals (each axis) HALM1 to HALM8 f f 1.8
F231 Motion program ready signals (each axis) HRDY1 to HRDY8 – f 1.8
F236#0 to
APC communication error signal APCM1 to APCM8 f f
F243#0
F236#1 to
APC over time error signal APOV1 to APOV8 f f
F243#1
F236#2 to
APC framing error signal APFE1 to APFE8 f f
F243#2
F236#3 to
APC parity error signal APPE1 to APPE8 f f
F243#3
2.12
F236#4 to
APC pulse miss error signal APPS1 to APPS8 f f
F243#4
F236#5 to
APC battery voltage 0 error signal APBZ1 to APBZ8 f f
F243#5
F236#6 to
APC battery low alarm 1 signal APBV1 to APBV8 f f
F243#6
F236#7 to
APC battery low alarm 2 signal APBL1 to APBL8 f f
F243#7
1167
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
CON-
NEC-
TION
F248#0 to Built–in I/O overcurrent alarm signals (Y1000 to DVALM0 to MANU-
f f
F248#2 Y1002) DVALM2 AL
(HARD-
WARE)
6.4
F248#5,
Fan alarm signals (for each fan) FANAL1, FANAL2 f f 2.4
F248#6
F280 to F283 Output signals for custom macro UO200 to UO231 f f 11.3.1
TDSML1 to
F298 Thermal simulation trouble prediction signal f f 2.17
TDSML8
TDFTR1 to
F299 Disturbance torque value trouble prediction signal f f 2.17
TDFTR8
F480 Motion program using signals (each M–code group) HEXM1 to HEXM8 – f 1.8
HALMM1 to
F481 Motion program alarm signals (each M–code group) – f 1.8
HALMM8
HRDYM1 to
F482 Motion program ready signals (each M–code group) – f 1.8
HRDYM8
F500#1 Following zero checking signals (PMC axis control) ECKZE – f 15.1
1168
B–63173EN–1/02 A. INTERFACE BETWEEN CNC AND PMC
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
F501#0 Auxiliary function strobe signals (PMC axis control) EMFE – f 15.1
F502,F488 Auxiliary function code signals (PMC axis control) EM11E to EM48E – f 15.1
F503#1 Following zero checking signals (PMC axis control) ECKZF – f 15.1
F504#0 Auxiliary function strobe signals (PMC axis control) EMFF – f 15.1
F505,F491 Auxiliary function code signals (PMC axis control) EM11F to EM48F – f 15.1
F506#1 Following zero checking signals (PMC axis control) ECKZG – f 15.1
1169
A. INTERFACE BETWEEN CNC AND PMC B–63173EN–1/02
Refer-
Address Signal name Symbol PM i–D PM i–H
ence
F507#0 Auxiliary function strobe signals (PMC axis control) EMFG – f 15.1
F508,F494 Auxiliary function code signals (PMC axis control) EM11G to EM48G – f 15.1
F510#0 Auxiliary function strobe signals (PMC axis control) EMFH – f 15.1
F511,F497 Auxiliary function code signals (PMC axis control) EM11H to EM48H – f 15.1
1170
B–63173EN–1/02 Index
ƠNumbersơ CNC ready signal, 345
CNC screen display function, 1048
2nd or 4th reference position return, 445
Combined use of the electronic CAM mode and simple
synchronous control in the electronic CAM function, 276
Command types, 286
ƠAơ Command types and specification methods, 286
About the pacemaker, 312 Commands using PMC axis control, 289
Acceleration/deceleration control in high response mode, 228 Connection among spindle, spindle motor, and position coder,
636
Actual position reading function with absolute–position
detector, 1032 Constant surface speed control, 629
Controlled axes, 2
Advanced preview feed–forward control, 517
Controlled axes detach, 11
Alams, 309
Corner control, 554
Alarm and diagnosis, 1047
Custom macro, 707
Alarm classification signals, 388
Custom macro in the high response mode, 192
Alarm signal, 353
Cutting feedrate clamp, 506
Alarms, 304
Cycle start/feed hold, 464
Analog input, 999
Analog input function, 1000
Analog spindle, 1019
APC alarm classification signals, 391
ƠDơ
Data input/output functions based on the I/O link (master), 818
Automatic acceleration/deceleration, 533
Data input/output functions based on the I/O link (slave), 855
Automatic operation, 463
Decimal point programming/pocket calculator type decimal
Auxiliary function, 566, 567 point programming, 703
Auxiliary function in high response mode, 176 Detail specifications, 1018
Auxiliary function lock, 577 Details, 1057
Available addresses, 1057 Device input function, 316
Available G code in high response mode, 148 DI/DO signals, 1021
Axis control, 1 Direct DI signals (MT to CNC), 1021
Axis status signals, 558 Direct signal output function in high response function, 182
Display of hardware and software configuration, 741
Display of parameter set supporting screen function, 771
ƠBơ Display/set, 735
Background editing, 775 Display/set/edit, 734
i–1
INDEX B–63173EN–1/02
Example of electronic cam (master unit) and multiaxis High–speed skip function (wirh traveling distance from skip
synchronization (slave unit), 306 signal), 872
Expansion of time constant, 565 High–speed skip function (with traveling distance from skip
signal) in PMC axis control, 950
External data input, 971
How to give a command, 208
External I/O device control, 789
Hypothetical axis, 320
External key input, 983
External Pulse Input Function, 336
External workpiece number search, 975
ƠIơ
In–position check, 554
In–position check independently of feed/rapid traverse, 555
ƠFơ Increment system, 5
FANUC I/O link function, 1003 Input/output of data, 781
Feed forward in rapid traverse, 564 Inter–unit data sharing function, 300
Feed per minute, 508 Interface between CNC and PMC, 1061
Feed per revolution/manual feed per revolution, 509 Interface signals between the CNC and PMC (PMC → CNC,
Feed stop function, 516 CNC → PMC), 1022
ƠKơ
ƠGơ Key codes for T series, 770
i–2
B–63173EN–1/02 INDEX
ƠOơ ƠRơ
One–screen display, 1049
Rapid traverse bell–shaped acceleration/deceleration, 538
Operation, 1050
Rapid traverse linear acceleration/deceleration, rapid traverse
Operation procedure, 308 bell–shaped acceleration/deceleration, 229
i–3
INDEX B–63173EN–1/02
Rigid threading for chaser tool, 692 Status output signal, 368
Run hour and parts count display, 742 Stored stroke check 1, 350
Straightness compensation B, 55
Sub–program call for high–speed response function, 207
i–4
B–63173EN–1/02 INDEX
Use with the multi axes synchronous function and the electronic
cam function, 304 ƠWơ
Waiting function, 586
i–5
!"#$%#$
--..)/0
)123 3 1 .() 45()) 3)
637 + 8
)1 /3 !+ 88!
.
-9 :(//6-( +)1
3-(
+ .
/ -(
+ (.;
6 1
(
.
+ 1) -( +
<( ./ -( + ;
. 3(. 3( -( + 3.6 -
.
/ -
/ 3(
.&
."+
=>'',?+ 8
3/
).+/3
6
-
&$ F(*+$GG%