Professional Documents
Culture Documents
Warning
Warning notices are used in this publication to emphasize that hazardous voltages, currents,
temperatures, or other conditions that could cause personal injury exist in this equipment or may
be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a
Warning notice is used.
Caution
Caution notices are used where equipment might be damaged if care is not taken.
Note
Notes merely call attention to information that is especially significant to understanding and
operating the equipment.
This document is based on information available at the time of its publication. While efforts
have been made to be accurate, the information contained herein does not purport to cover all
details or variations in hardware or software, nor to provide for every possible contingency in
connection with installation, operation, or maintenance. Features may be described herein which
are not present in all hardware and software systems. GE Fanuc Automation assumes no
obligation of notice to holders of this document with respect to changes subsequently made.
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-63323EN-1/03 TABLE OF CONTENTS (Volume 1 of 3)
1 AXIS CONTROL.....................................................................................1
1.1 NUMBER OF CONTROLLED AXES .............................................................2
1.2 SETTING EACH AXIS ...................................................................................3
1.2.1 Axis Name ............................................................................................................... 3
1.2.2 Increment System .................................................................................................... 6
1.2.3 Rotation Axis Specification................................................................................... 10
1.2.4 Controlled Axes Detach ........................................................................................ 14
1.2.5 Outputting the Movement State of an Axis ........................................................... 17
1.2.6 Mirror Image.......................................................................................................... 19
1.2.7 Follow-up............................................................................................................... 22
1.2.8 Servo Off (Mechanical handle) ............................................................................. 24
1.2.9 Position Switch...................................................................................................... 26
1.2.10 Vertical Axis Drop Prevention Function............................................................... 30
1.3 ERROR COMPENSATION..........................................................................32
1.3.1 Stored Pitch Error Compensation.......................................................................... 32
1.3.2 Backlash Compensation ........................................................................................ 44
1.3.3 Straightness Compensation.................................................................................... 52
1.3.4 Interpolated straightness compensation................................................................. 57
1.3.5 128 straightness compensation points ................................................................... 60
1.3.6 Interpolated pitch error compensation................................................................... 68
1.3.7 Cyclic second pitch error compensation................................................................ 70
1.3.8 Gradient Compensation ......................................................................................... 76
1.3.9 Bidirectional Pitch Error Compensation ............................................................... 79
1.3.10 Nano Interpolation Type Error Compensation ...................................................... 87
1.3.11 Smooth Backlash Compensation ........................................................................... 89
1.3.12 Addition of 5000 Pitch Error Compensation Points.............................................. 96
1.3.13 Thermal Growth Compensation along Tool Vector .............................................. 98
1.4 THREE-DIMENSIONAL ERROR COMPENSATION .................................111
1.5 SETTINGS RELATED TO SERVO CONTROLLED AXES........................118
1.5.1 Servo Parameter................................................................................................... 119
1.5.2 Absolute Position Detection ................................................................................ 131
1.5.3 FSSB Setting........................................................................................................ 134
1.6 SETTINGS RELATED TO COORDINATE SYSTEMS ..............................158
1.6.1 Machine Coordinate System................................................................................ 158
c-1
TABLE OF CONTENTS (Volume 1 of 3) B-63323EN-1/03
c-3
TABLE OF CONTENTS (Volume 1 of 3) B-63323EN-1/03
c-4
B-63323EN-1/03 TABLE OF CONTENTS (Volume 2 of 3)
c-5
TABLE OF CONTENTS (Volume 2 of 3) B-63323EN-1/03
c-6
B-63323EN-1/03 TABLE OF CONTENTS (Volume 2 of 3)
c-7
TABLE OF CONTENTS (Volume 3 of 3) B-63323EN-1/03
12 DISPLAY/SET/EDIT .........................................................................1175
12.1 DISPLEY/SET..........................................................................................1176
12.1.1 Clock Function .................................................................................................. 1176
12.1.2 Operation/Alarm History Screen ....................................................................... 1177
12.1.3 Alarm Display.................................................................................................... 1179
12.1.4 Operator Message Display................................................................................. 1181
12.1.5 Servo Adjustment Screen .................................................................................. 1182
12.1.6 Spindle Adjustment Screen ............................................................................... 1183
12.1.7 Waveform Diagnosis Display............................................................................ 1184
12.1.8 Self-diagnosis .................................................................................................... 1185
12.1.9 Hardware/Software System Configuration Screen............................................ 1186
12.1.10 Machined Part Count and Operation Time Display .......................................... 1187
12.1.11 Tool Path Drawing and Background Drawing .................................................. 1191
12.1.12 Operating Monitor Screen ................................................................................. 1193
12.1.13 Machining Time Stamp ..................................................................................... 1194
12.1.14 Menu Switches .................................................................................................. 1196
12.1.15 Software Operators Panel ................................................................................. 1197
12.1.16 National Language Display ............................................................................... 1206
12.1.17 Screen Clear Function and Automatic Screen Clear Function.......................... 1207
12.1.18 Touch Panel ....................................................................................................... 1210
12.1.19 Periodic Maintenance Screen ............................................................................ 1214
12.1.20 Maintenance Information Screen....................................................................... 1216
12.1.21 High-speed High-precision Machining Setting Screen ..................................... 1217
12.1.22 Pitch Error Compensation Screen ..................................................................... 1220
12.1.23 Power Mate CNC Manager Function ................................................................ 1222
12.1.24 DI/DO Monitor Function................................................................................... 1231
12.1.25 Brightness Adjustment Screen for Monochrome Display Unit with Graphic
Function ............................................................................................................. 1236
12.1.26 Fine Torque Sensing.......................................................................................... 1238
12.1.27 2-LCD-unit Connection Function...................................................................... 1243
12.1.28 Changing Blinking Displays in G05.1 Q1 Mode............................................... 1246
12.2 EDITING ..................................................................................................1249
12.2.1 Tape Length for Part Program Storage.............................................................. 1249
12.2.2 Number of Programs Stored .............................................................................. 1250
c-8
B-63323EN-1/03 TABLE OF CONTENTS (Volume 3 of 3)
A INTERFACE BETWEEN CNC AND PMC ........................................1401
A.1 ADDRESS LIST .......................................................................................1402
A.1.1 PMC to NC ........................................................................................................ 1402
A.1.2 CNC to PMC ..................................................................................................... 1423
A.2 SIGNAL LIST ...........................................................................................1444
A.2.1 Signal List (In Order of Symbol)....................................................................... 1444
A.2.2 Signal List (In Order of Address) ...................................................................... 1516
c-9
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
7 FEEDRATE CONTROL/ACCELERATION
AND DECELERATION CONTROL
- 615 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
The feed functions control the feedrate of the tool. The following two
feed
functions are available:
1. Rapid traverse
When the positioning command (G00) is specified, the tool moves
at a rapid traverse rate set in the CNC.
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.
- 616 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Overview
The positioning command (G00) positions the tool by rapid traverse.
G00 IP_ ;
G00 : G code (group 01) for positioning (rapid traverse)
IP_ ; Dimension word for the end point
With rapid traverse, the system waits for the specified feedrate to fall to
zero, then performs the in-position check set for parameter CIP (bit 0 of
No. 1000). The system then executes the next block.
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, F1, 50, 100%
F0 : Allows a fixed feedrate to be set for each axis by parameter
No. 1421.
F1 : Constant percentage, which can be set for parameter No.
1412.
By setting parameter ROV (bit 0 of No. 1402), a rapid traverse override
of 0 to 100% can be applied, in 1% steps.
(For an explanation of the rapid traverse override, see Section 7.1.7.1.)
Signal
- 617 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
NOTE
1 The rapid traverse in automatic operation includes all
rapid traverses in canned cycle positioning,
automatic reference point return, etc., as well as the
move command G00. The manual rapid traverse
also includes the rapid traverse in reference position
return.
2 Once rapid traverse has been selected, this signal
remains "1", including during a stop, until another
feedrate has been selected and movement is started.
3 If both automatic and manual operations are
performed at the same time, the value of this signal
depends on whether the feed in automatic operation
is rapid traverse; it does not depend on the feed in
manual operation.
- Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F001 RPD
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1000 CIP
- 618 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
1400 LRP RDR
//
"
'
"
"
*
"
'
"
) '
"
#7 #6 #5 #4 #3 #2 #1 #0
1401 RFO
6 /78
"
$
"
*
$ "
*
" 9
0: Stop.
1: Do not stop.
/ !3
:"
&5&5" $
&% (
"
"
! "3
;!""
$
/
"
"
$'! %(
%4
5<-0(
"
*
"
3
"
*
*
" )9
Reference item
Series15i/150i-MA Operators Manual II-5.2 Rapid traverse
(Programming)
(B-63324EN)
- 619 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Overview
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.
Set the clamp value in mm/min or inch/min.
Convert the feed per revolution into mm/min or inch/min, using the
following formula:
fm = frR
where fm: Feedrate per minute in mm/min or inch/min
fr: Rate of feed per revolution in mm/rev or inch/rev
R: Spindle speed in rpm (rev/min)
Parameter
1422 Maximum cutting feedrate for each axis
/ !3
:"
&5&5" $
&% (
"
"
! "3
;!""
$
/
"
"
$'! %(
%4
5<-0(
3$ "
3
Warning
WARNING
The arithmetic operation error of the CNC for the
value specified for a feedrate is 2%. This does not,
however, apply during acceleration/deceleration.
The above error is incurred when measuring the time
required for the tool to move a distance of 500 mm or
more after the stable state has been attained.
Reference item
Series15i/150i-MA Operators Manual II-5.3 Cutting feed
(Programming)
(B-63324EN)
- 620 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
General
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. G95 (bit 4 of parameter No.
2401) can be set to 0 to set feed per minute mode at power-on.
An override from 0% to 254% (in 1% steps) can be applied to feed per
minute using the feedrate override signal.
In addition, an override of 0 to 254% (in 1% steps) or of 0 to 655.35%
(in 0.01% steps) can be applied using the second feedrate override
signal.
(For an explanation of feedrate override, see Section 7.1.7.2.)
(For an explanation of second feedrate override, see Section 7.1.7.3.)
Tool
Workpiece
Table
CAUTION
No override can be used for any commands such as
for threading.
Format
Feed per minute
G94; G code for feed per minute (Group 05)
F_; Feed rate (mm/min or inch/min)
- 621 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2400 F41
) 70) "
7" %2=0" (
"
" !5
)&
) )&
" " !5 !&
NOTE
It is not effective if the increment system is IS-A.
#7 #6 #5 #4 #3 #2 #1 #0
2401 G95
Reference item
Series15i/150i-MA Operators Manual II-5.3 Cutting feed
(Programming)
(B-63324EN)
- 622 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Overview
- 623 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2405 RSO FPR
. /8
"! *
" '! "
"
"
%
*
$ "
7 "
7(' $ " "
" %2=>(
0: Disabled.
1: Enabled.
Caution
CAUTION
1 For feed per revolution, if the spindle speed is low,
the feedrate will be uneven. The lower the spindle
speed, the more uneven the feedrate.
2 Threading is performed according to the signal
returned from the position coder, even if the system
has been set up to use position-coder-less feed per
revolution.
In other words, position-coder-less feed per
revolution is not enabled for the threading
command.
3 When position-coder-less feed per revolution is
enabled, the following functions are also enabled:
- Feedrate override signal
- Spindle override signal
- Dry run signal
- Clamping of the maximum cutting feedrate on
each axis
- Dwell per revolution
Reference item
Series15i/150i-MA Operators Manual II-5.3 Cutting feed
(Programming)
(B-63324EN)
- 624 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
General
When a one-digit number from 1 to 9 is specified after F, the feedrate
set for that number in a parameter (Nos. 1451 to 1459) is used. When
F0 is specified, the rapid traverse rate is applied.
The feedrate corresponding to the number currently selected can be
increased or decreased by turning on the switch for changing F1-digit
feedrate on the machine operators panel, then by rotating the manual
pulse generator.
The increment/decrement, DF, in feedrate per scale of the manual pulse
generator is as follows:
F max
F =
100 X
Fmax : feedrate upper limit for F1-F4 set by parameter 1460, or
feedrate upper limit for F5-F9 set by parameter 1461
X : any value of 1-127 set by parameter 1450
The feedrate set or altered is kept even while the power is off.
Signal
- Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G005 F1D
- 625 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1406 F1O
7)8
'! "
*
" 5 " "
*
" 5
"*
" !!
"
7" "$
'
%7)7=(
NOTE
Rapid traverse override is enabled for the feedrate of F0,
regardless of the setting of this parameter.
1450 Resolution of the feedrate specified by the F code with a one-digit number
$
;!""
$
))-.
""
$ "
!! $
" $
"! 7"
"$'
"
73
7A iA)5- j
)B
- 626 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
1451 F1 feedrate
1452 F2 feedrate
1453 F3 feedrate
1454 F4 feedrate
1455 F5 feedrate
1456 F6 feedrate
1457 F7 feedrate
1458 F8 feedrate
1459 F9 feedrate
$
/ !
:"
&5&5" $
&% (
"
"
3
;!""
$
/
"
"
$'! %(
%4
5<-0(
"
$ " 7" "$'
7
%A)=( 4 "
$ "' !!
$
5
$ !$ $ "
- 627 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
/ !
:"
&5&5" $
&% (
"
"
3
;!""
$
/
"
"
$'! %(
%4
5<-0(
!
"
"' 7"
"$'
4 "
"'
$
!! $
5
!
"!
"
C
! "
7)70 "
/ !
:"
&5&5" $
&% (
"
"
3
;!""
$
/
"
"
$'! %(
%4
5<-0(
!
"
"' 7"
"$'
4 "
"'
$
!! $
5
!
"!
"
C
! "
7>7= "
Caution
CAUTION
When more than one handle is provided, the first handle
is always used.
Reference item
Series15i/150i-MA Operators Manual II-5.3 Cutting feed
(Programming)
(B-63324EN)
- 628 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Overview
Feedrate of the tool can be specified by the move distance of the block
and
inverse time (FRN).
- Linear interpolation iG01 j
FRN=1/Time(min)=Speed/Distance
Speed : mm/min (metric input)
inch/min (inch input)
Distance: mm (metric input)
inch (inch input)
- Circular interpolation (G02, G03)
FRN=1/Time(min)=Speed/Circular radius
Speed : mm/min (metric input)
inch/min (inch input)
Distance: mm (metric input)
inch (inch input)
NOTE
In circular interpolation, the distance is not an actual
distance of the block but the speed is calculated from
the circle radius.
Caution
CAUTION
1 When the cutter compensation function is used,
programmed commands are subject to
compensation before travel, so that the actual
feedrate may be different from the specified feedrate.
When the cutter compensation function is used,
inverse time mode must not be used.
2 When F0 is specified, the feedrate is equal to the
maximum cutting feedrate.
3 In inverse time mode, F codes are not regarded as
being modal and, therefore, an F command is
required for each block.
Reference item
Series15i/150i-MA Operators Manual II-5.3 Cutting feed
(Programming)
(B-63324EN)
- 629 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
7.1.7 Override
Overview
The rapid traverse rate can be overridden as follows:
F0, F1%, 50%, 100%
F0:Feedrate to be set for each axis (parameter No. 1421)
F1:Percentage (parameter No. 1412)
or, 0% to 100% (in steps of 1%) by setting bit 0 (ROV) of
parameter No. 1402
- 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).
- 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).
- F1%
Set F1, i.e., the feedrate override value, for parameter No. 1412, to a
value in the range of 0 to 100%.
- 630 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Signal
- Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G006 ROV2 ROV1
#7 #6 #5 #4 #3 #2 #1 #0
G040 P *RV6B *RV5B *RV4B *RV3B *RV2B *RV1B *RV0B
- 631 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1402 ROV
$
:"
9
;!""
$
)
$ *!
"
*
*
" 7)
/ !3
:"
&5&5" $
&% (
"
"
! "3
;!""
$
/
"
"
$'! %(
%4
5<-0(
7 "
3
"
*
*
"
Reference item
Series15i/150i-MA Operators Manual II-5.4.2 Rapid traverse override
(Programming)
(B-63324EN)
- 632 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
General
A programmed feedrate can be reduced or increased by a percentage
(%) selected by the override dial. This feature is used to check a
program.
For example, when a feedrate of 100 mm/min is specified in the
program, setting the override dial to 50% moves the tool at 50 mm/min.
Workpiece
Signal
- 633 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
- 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
6 /78
"
$
"
*
$ "
*
" 9
)
Reference item
Series15i/150i-MA Operators Manual II-5.4.1 Feed rate override
(Programming)
(B-63324EN)
- 634 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Overview
These signals override the cutting feedrate after the cutting feedrate has
been overridden by first override *FV0 to *FV7.
There are two types of second feedrate override:
- 0 to 254% (in 1-% steps)
- 0 to 655.34% (in 0.01-% steps)
Which of the above is to be used can be specified using parameter APO
(bit 0 of No. 1403).
Signal
- 635 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
- Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G013 *AFV7 *AFV6 *AFV5 *AFV4 *AFV3 *AFV2 *AFV1 *AFV0
#7 #6 #5 #4 #3 #2 #1 #0
G146 *AFV7B *AFV6B *AFV5B *AFV4B *AFV3B *AFV2B *AFV1B *AFV0B
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1400 AOV
> D8;
'! " "
*
"
'! " "
*
"
) @'! " "
*
"
#7 #6 #5 #4 #3 #2 #1 #0
1403 APO
D8 " "
*
" ! "
)9
) )9
E *
5'*!"! D8;%'>
+)0(
)
- 636 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Overview
The override cancel signal fixes the feedrate override to 100%.
Signal
- Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G004 OVC
- 637 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Overview
- Inner corner automatic override
When G62 is specified, and the tool path with cutter compensation
applied forms an inner corner, the feedrate is automatically overridden
at both ends of the corner.
There are four types of inner corners (Fig. 7.1.8 (a)).
2p178, in Fig. 7.1.8 (a). p is a value set with parameter No.
6611. When is approximately equal to p, the inner corner is
determined with an error of 0.001,or less.
NOTE
When the block before a corner is a start-up block, or
the block after a corner includes G41 or G42, the
feedrate is not overridden. The feedrate override
function is disabled when the offset value is 0.
- Override value
An override value is set with parameter No. 6612. An override value is
valid even for dry run and F1-digit feed specification.
In the feed per minute mode, the actual feedrate is as follows:
F (inner corner automatic override) (feedrate override)
- 638 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Programmed path
Rc
Cutter center
Rp path
NOTE
1 By setting parameter CAFC (bit 5 of No. 1402), the
circular cutting feedrate can be changed even when
an offset is applied externally.
2 This function is enabled in cutter compensation
mode, regardless of the setting of G62. By setting
parameter COV (bit 0 of No. 6600), the function can
be enabled in G62 mode only.
Caution
CAUTION
When circular cutting must be performed together
with automatic override for inner corners, the
feedrate of the tool is as follows:
F(Rc/Rp)(inner corner override)(feedrate
override)
- 639 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1402 CAFC
> D7
!
$ "
$
" "!
" "
!
0: Performed on the inner arc only.
1: Performed on the inner and outer arcs.
#7 #6 #5 #4 #3 #2 #1 #0
6600 COV
8;
!
$ "
$ *!"
0: Valid at all times.
1: Valid only in the automatic corner override (G62) mode.
6610 Minimum deceleration rate (MDR) for circular cutting feedrate change
$
:"
9
;!""
$
)
Set a minimum deceleration rate (MDR) for automatic corner override in circular
cutting feedrate change.
- 640 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
/ !
:"
" $
"
"
3
;!""
$
-).,
When p, the corner is assumed to be an inside corner.
When a corner is determined to be an inside corner, the feedrate is overridden within
the distance Le in the block before the corner and the distance Ls in the next block
from the corner intersection.
Le and Ls are set in parameter Nos. 6613 and 6614, respectively.
1 '
1
$
:"
9
;!""
$
))
$
/ !
:"
5%(
"
"
3
;!""
$
="$"%
"
"
$
'! %D((
%4
5=========<=========(
- 641 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
$
/ !
:"
5%(
"
"
3
;!""
$
="$"%
"
"
$
'! %D((
%4
5=========<=========(
Reference item
Series15i/150i-MA Operators Manual II-5.5.2 Automatic corner
(Programming) override
(B-63324EN)
- 642 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
General
These signals decelerate the feedrate of the control axes down to the
speed which has been set by parameter No. 1426 and 1427.
Signal
- Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G064 *-ED1 *+ED1
The above addresses are the signal addresses for the first axis.
For the signal addresses for the second axis and subsequent axes, see
the Appendix A.1.
- 643 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1005 EDM EDP
3
0 @ 7
35
3
!" !
$!
* "
*!""
$$ "
*!"
) ;!"
> @ 7
35
3
!" !
$!
$* "
*!""
$$ "
0: Invalid.
1: Valid.
/ !
:"
&5&5" $
&% (
"
"
3
;!""
$
/
"
"
$'! %(
%4
5<-0(
3
!" !
""
$$ ""
$$!
!%2(
1427 External deceleration rate for each axis during rapid traverse
/ !3
:"
&5&5" $
&% (
"
"
! "3
;!""
$
/
"
"
$'! %(
%4
5<-0(
C
3
!" !
"
"
"
*
- 644 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Overview
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
- 645 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
General
When cutting is performed at high speed for circular, helical, or spiral
interpolation, the actual tool path will vary slightly from that intended..
This error in circular interpolation can be approximated by the formula
given below:
Y
r : Error
Programmed r
path : Maximum radial error (mm)
v : Feedrate (mm/sec)
r : Arc radius (mm) 2
Actual path a : Acceleration (mm/sec )
T1 : Time constant (s) for
exponential acceleration /
deceleration of cutting feed
r (sec)
T2 : Time constant of the servo
0 X motor (sec)
2
12 2 v 1 2 2
r = ( T + T ) = (T + T ) a ................ (Equation 1)
2 1 2 r 2 1 2
When actual machining is performed, radius r of the arc to be machined
and permissible error Dr are given. Then, maximum allowable
acceleration a (mm/sec2) is determined from the above expression.
The function for clamping the feedrate by the acceleration
automatically clamps the feedrate of arc cutting to the value set in a
parameter. This function is effective when the specified feedrate may
cause the radial error for an arc with a programmed radius to exceed the
permissible degree of error.
When the permissible maximum acceleration for each axis is set for a
parameter, and the larger of the permissible maximum accelerations for
the two axes used for circular interpolation is assumed to be A, the
permissible maximum feedrate v at the radius r specified by the
program is
v = A r .............................................................. (Equation 2)
If the specified feedrate exceeds feedrate v, determined with equation 2,
the feedrate is automatically clamped to the determined feedrate.
- 646 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
NOTE
In fine HPCC mode, an optimum feedrate that
causes the accelerations on individual axes to fall
within the range of permissible acceleration is
calculated even if the permissible accelerations
specified for the axes are different.
In a mode other than fine HPCC mode (in normal
mode), the smaller of the permissible accelerations
on the two axes of circular interpolation is used. If
either of the values of the two interpolation axes is 0,
the non-zero value is used as the permissible
acceleration. If both values are 0, deceleration is
not performed.
If the radius of the arc is small, the calculated deceleration speed v may
become very small. To prevent the feedrate from becoming too low,
the minimum feedrate can be specified in a parameter. The following
parameters are used to specify the minimum feedrate:
In fine HPCC mode: Parameter 1483
In a mode other than fine HPCC mode (in normal mode): Parameter
1491
Explanations
- Linear acceleration/deceleration after interpolation in cutting feed
If the function for linear acceleration/deceleration in cutting feed is
applied, an error in circular cutting can be approximated using formula
3.
2
1 2 1 2 v 1 2 1 2
r = ( T + T ) = ( T + T ) a ...... (Formula 3)
24 1 2 2 r 24 1 2 2
Because the relationship of formula 2 holds, as indicated by formula 3,
deceleration by linear acceleration/deceleration after interpolation can
be based on the acceleration during circular interpolation.
- Actual error
Formulas 1 and 3 provide only the theoretical approximate errors
obtained by the CNC. Those values are not errors in actual machining.
The error in actual machining r all is given by the following formula:
r all =r NC +r machine................................... (Formula 4)
r machine : Error caused by the machine
r NC : Error resulting from acceleration/deceleration time constant
(T1) and servo motor time constant (T2)
This function keeps only the first term on the right side, which is the
error resulting from the acceleration/deceleration time constant (T1)
and servo motor time constant (T2), constant and is unrelated to the
error caused by the machine.
Formulas 1 and 3 are expressions of approximations. The precision of
the approximation decreases with a decrease in the radius of the arc.
Even if the speed is clamped to the maximum permissible speed v
obtained by formula 2, the error may not be permissible.
- 647 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Parameter
1483 Lower feedrate limit for the deceleration function based on the acceleration of
fine HPCC
!
" #
$
%&'()(&*+,(((()(
The deceleration function based on the acceleration of fine HPCC automatically
calculates the optimum feedrate according to the geometry.
Depending on the geometry, the calculated feedrate may become very low.
If this occurs, to prevent the feedrate from becoming too low, deceleration to a
feedrate below that specified for this parameter can be suppressed.
If, however, the override by the deceleration function based on the cutting load is
enabled, the feedrate may become lower than the lower feedrate limit.
The lower feedrate limit in deceleration based on the acceleration during circular
interpolation in a mode other than fine HPCC mode can be specified for parameter
No. 1491.
1491 Lower feedrate limit for the deceleration function based on the acceleration
during circular interpolation (for normal mode)
!
" #
$
%&'()(&*+,(((()(
The deceleration function based on the acceleration during circular interpolation
automatically calculates the optimum feedrate so that the acceleration resulting
from changes in the travel direction during circular interpolation does not exceed
the allowable acceleration specified for parameter No. 1665.
If the arc radius is very small, the calculated feedrate may become very low.
If this occurs, to prevent the feedrate from becoming too low, deceleration to a
feedrate lower than that specified for this parameter can be suppressed.
The lower feedrate limit for the deceleration function based on the acceleration in
fine HPCC mode can be specified for parameter No. 1483.
- 648 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
!
"
$
()(&*-((((()()$
()(&*-(((()(
Specify the allowable acceleration that may occur due to changes in the direction of
tool travel.
For an axis for which this parameter is set to 0, the deceleration function based on
the acceleration is disabled. If 0 is set for all axes, the feedrate is not determined
based on the acceleration.
In the 15B, the time for the maximum cutting rate (parameter No. 1422) was set
for parameter No. 1643 to set the allowable acceleration. In the 15i, on the other
hand, the acceleration is directly specified for this parameter.
- 649 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
!
"
$
()(&*-((((()()$
()(&*-(((()(
Specify the allowable acceleration in the deceleration function based on the
acceleration during circular interpolation for each axis.
The feedrate is controlled so that the acceleration resulting from changes in the
direction of travel during circular interpolation does not exceed the value of this
parameter.
For an axis for which 0 is set for this parameter, the acceleration function based on
the acceleration is disabled.
If different values are set for this parameter for different axes, the feedrate is
determined based on the lower acceleration of the specified two circular axes.
This parameter is effective when fine HPCC mode is not used (ordinary mode).
In fine HPCC mode, parameter No. 1663 is used.
The "deceleration function based on the acceleration during circular interpolation"
is equivalent to the "feedrate clamp with the arc radius" in the 15B.
In the 15B, the upper feedrate limit, lower feedrate limit, and arc radius were
specified for parameters Nos. 1490 to 1492. In the feedrate clamp based on the
acceleration in the 15i, the allowable acceleration is set for this parameter.
- 650 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
General
This function is provided to enable high-speed high-precision
machining with the FANUC Series 16i. With the FANUC Series 15i,
on the other hand, the look-ahead acceleration/deceleration before
interpolation function is used for high-speed high-precision machining,
instead of advanced preview control.
The look-ahead acceleration/deceleration before interpolation function
contains functions equivalent to the linear acceleration/deceleration
before interpolation function and the automatic corner deceleration
function contained in the advanced preview control.
Reference item
Series15i/150i-MA Operators Manual II-18.4 Look-ahead
(Programming) acceleration/deceleratio
(B-63324EN) n before interpolation
Series15i/150i- Connection Manual 7.2.2 Look-ahead
MODEL A (This manual) acceleration/deceleratio
n before interpolation
- 651 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
General
The output from the NC to the servo is usually in units of detection
units. This function allows output to the servo in units of thousandths
of detection units, thereby improving machining precision. This is
particularly effective for improving the surface roughness.
Note that the positioning precision depends on the machine conditions,
such as the resolution of the detector.
Note
NOTE
This function is most effective when the resolution
of the detector is higher than the detection units.
Even when the resolution of the detector is the
same as the detection units (in the case of a closed
loop, for example), it is effective if the feed forward
function is used.
Reference item
- 652 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
General
This function is designed to achieve high-speed, high-precision
machining with a program involving a sequence of very small straight
lines and NURBS curved lines, like those used for metal die machining.
This function can suppress the servo system delay and delay caused by
acceleration/deceleration that increase as a higher feedrate is used.
This function can be used to ensure that the tool strictly traces the
specified values, thus minimizing machining profile errors and
achieving high-speed, high-precision machining.
HPCC stands for high precision contour control. In fine HPCC mode,
acceleration/deceleration is performed more precisely than in the
conventional HPCC mode, resulting in an increase in the cutting speed.
Format
Thus, this function can be used to ensure that the tool strictly traces the
specified values, thus minimizing machining profile errors for higher-
speed, higher-precision machining.
- Functions enabled
In fine HPCC mode, the following functions are enabled:
(1) Linear acceleration/deceleration before interpolation or bell-
shaped acceleration/deceleration before interpolation
(2) Deceleration function based on feedrate differences at corners
(3) Advanced feed-forward function
(4) Nano interpolation
- 653 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
With the fine HPCC function, the additional functions listed below can
be used to achieve high-speed, high-precision machining for very small
straight lines and NURBS curved lines:
(1) Feedrate determination based on acceleration on each axis
(2) Deceleration function based on Z-axis fall angle
(3) Fifteen-block multi-buffer function
(The number of blocks can be optionally increased to a maximum
of 100 blocks.)
To enable this function, set the desired values for the following
parameters:
Parameter No. 1478:
Permissible feedrate difference used when the feedrate is to be
determined from the feedrate difference at a corner
Parameter No. 1663:
Permissible acceleration when the feedrate is to be determined
from the acceleration
For details, see the explanation of these parameters.
- 654 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
(Example)
N1
Specified
Y F
N2
X
N1 N2 N3 t
N3
(b) From the acceleration on each axis at the corners at the start and
end points of each block, the feedrate in the block is determined,
and deceleration is performed so that the feedrate in the block is
equal to or less than the determined feedrate.
(Example) N2N3
N1 N4
Specified
Y feedrate
N5
X N8 N6
N7 N1 N2 N3 N6 N7 N8 t
(c) During descent on the Z-axis, the cutting load increases, and
override is applied according to the Z-axis descent angle.
(Example)
Specified
Z N1 N2 feedrate
X
N3 N1 N2 N3 t
- 655 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Example of determining the feedrate from the feedrate difference on each axis
The feedrate at a corner is calculated from the feedrate difference on
each axis, as described below.
he tangent feedrate that does not cause the feedrate change on each axis
to exceed the permissible feedrate difference set for parameter No.
1478 is calculated, and deceleration at performed at the corner.
- Example
When the tool travel direction changes by 90 degrees from the X-axis
to the Y-axis, deceleration is performed as shown below, if the feedrate
is 1000 mm/min and the permissible feedrate difference is 500
mm/min.
N1
Tool path assumed if deceleration
is not performed at the corner
Feedrate
F1000
If deceleration is not
performed at the corner
Feedrate on the If deceleration is performed
X-axis at the corner
F500
Feedrate Time
F1000
Feedrate on the
Y-axis
F500
N2 Time
Feedrate
F1000
Tangent feedrate
F500
N1 N2 Time
Fig. 7.1.14 (b) Example of Determining the Feedrate from the Feedrate
Difference
- 656 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
NOTE
The method of deceleration with the feedrate
difference differs depending on the setting of
parameter FNW (bit 6 of No. 1517). For details,
refer to the section on " Look-ahead acceleration/
deceleration before interpolation " in this manual.
- 657 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
- Example
In the following example, the acceleration (gradient of the broken line
in the feedrate graph) at too large at corners N2 to N4 and N6 to N8 and,
therefore, deceleration is performed.
N8
N7 N9
N6
N5
Y
N1
X N4
N3
N2
X-axis
feedrate
Y-axis
feedrate
Tangent
feedrate
N1 N5 N9 N1 N5 N9
Fig. 7.1.14 (c) Example of Determining the Feedrate with the Acceleration
- 658 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
(Example) If a circular shape with a radius of 10 mm is specified with small line blocks
@ @ @Parameter FNW (bit 6 of No. 1517) = 0
@ @ @Permissible acceleration = 1000 mm/s2 (on all axes)
Tangent feedrate
F6000
Time
If "1" is set, the feedrate is determined with not only the condition that
the permissible acceleration on each axis is not exceeded but also the
condition that the deceleration feedrate is constant regardless of the
travel direction if the shape is the same.
If 1 is set for this parameter, the deceleration feedrate determined with
the feedrate difference or acceleration may be up to 30% lower than
that determined if 0 is set.
(Example) If a circular shape with a radius of 10 mm is specified with small line blocks
@ @ @Parameter FNW (bit 6 of No. 1517) = 1,
@ @ @radius = 10 mm, permissible acceleration = 1000 mm/s2 (on all axes)
Tangent feedrate
F6000
Time
NOTE
In circular interpolation, the tangent feedrate is
constant regardless of the setting of the parameter.
- 659 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
- 660 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
XY plane
30 Area1
90
60
Area4 45
Area3 Area2
CAUTION
1 The function for determining the feedrate with the
cutting feed is effective only when the tool is parallel
with the Z-axis. Thus, it may not be possible to apply
this function, depending on the structure of the
machine used.
2 In the function for determining the feedrate with the
cutting feed, the travel direction on the Z-axis is
determined with the appropriate NC command. If,
therefore, manual intervention is performed on the
Z-axis with manual absolute on, or if a mirror image is
applied on the Z-axis, the direction on the Z-axis
cannot be determined. When using the function for
determining the feedrate with the cutting load, do not
use these functions.
3 When performing three-dimensional coordinate
conversion, determine the descent angle on the Z-
axis using the converted coordinate system.
- 661 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
- 662 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Parameter
See also the explanation of those parameters for look-ahead
acceleration/deceleration before interpolation because this function
uses it.
1483 Lower feedrate limit for the deceleration function based on the acceleration
of fine HPCC
!
" #
$
%&'()(&*+,(((()(
.
"
/##
)
" 0
1)
0
" 1
" 1
"
)
1 0
0
"
"
"
" 1
1
)
. 1
"
/## "
2)-,3-)
NOTE
During involute interpolation, the lower feedrate limit for the
"acceleration clamp in the vicinity of the basic circle" of involute
interpolation automatic feedrate control is applied.
- 663 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
1517 FNW
'
!
"
$
()(&*-((((()()$
()(&*-(((()(
Specify the allowable acceleration that may occur due to changes in the direction of
tool travel.
For an axis for which this parameter is set to 0, the deceleration function based on
the acceleration is disabled. If 0 is set for all axes, the feedrate is not determined
based on the acceleration.
In the 15B, the time for the maximum cutting rate (parameter No. 1422) was set
for parameter No. 1643 to set the allowable acceleration. In the 15i, on the other
hand, the acceleration is directly specified for this parameter.
NOTE
During involute interpolation, the allowable acceleration for the
"acceleration clamp in the vicinity of the basic circle" of involute
interpolation automatic feedrate control is applied.
- 664 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
#7 #6 #5 #4 #3 #2 #1 #0
7565 NOF ZAG
%
'
%
!
" #
$
%&'()(&*+,(((()(
%
/##)
0
/##
0
)
$ (
)
- 665 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
7591 Override for area 2 in deceleration based on fine HPCC cutting load
7592 Override for area 3 in deceleration based on fine HPCC cutting load
7593 Override for area 4 in deceleration based on fine HPCC cutting load
%
@
!
-&-((
With the deceleration function based on fine HPCC cutting load, a specified
override can be applied according to the Z-axis falling angle.
A feedrate found from other conditions is multiplied by the override value of an
area to which the falling angle belongs. Note, however, that no parameter is
available for area 1, and an override of 100% is used at all times.
Area1 0 <30
Area2 30 <45
Area3 45 <60
Area4 60 90
Limitation
Because this function uses look-ahead acceleration/deceleration before
interpolation, see the section on look-ahead acceleration/deceleration
before interpolation for an explanation of the restrictions.
Reference item
Series15i/150i-MA Operators Manual II-18.5 Fine HPCC
(Programming) II-18.4 Look-ahead
(B-63324EN) acceleration/deceleratio
n before interpolation
Series15i/150i- Connection Manual 7.2.2 Look-ahead
MODEL A (This manual) acceleration/deceleratio
n before interpolation
- 666 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
General
The high-speed high-precision machining setting screen supports three
machining parameter sets (FINE, MEDIUM, and ROUGH). The
parameter set to use can be selected in MDI mode. Selecting one
parameter set causes the working parameters to be rewritten. If FINE is
selected, for example, the values of the finish machining parameters
listed below are set in the working parameters.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
8403 TSP
Alarm
Number Message Contents
PS0302 ILLEGAL DATA NUMBER The pattern program command for individual machining
types on the high-speed high-precision setting screen
contains an incorrect value for address R.
- 667 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
NOTE
Using this function causes the movement speed along
a virtual circle to be used as the specified speed.
This does not generally mean that a speed at a
cutting point becomes the specified speed.
Explanation
The following description exemplifies a machine having three linear
axes (X, Y, Z) and two rotation axes (B, C).
- 668 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
X , Y ,:Amount
Z :
of movement (mm
along each , inch
axis )
(mm,inch)
B, C :
: Amount of movement (deg)
along each axis (deg)
L, L : Distance :
F :
: Specified speed (mm/min,( mm / min, inch / min)
inch/min)
T,T :
- Usable functions
This function can be used with the following functions:
- Linear interpolation
- Dry run
- Tool length compensation for the specified direction (when parameter
FWR (bit 2 of parameter No. 7711) = 1)
- Look-ahead pre-interpolation acceleration/deceleration
Look-ahead pre-interpolation acceleration/deceleration is performed
for the movement speed along the virtual circle. Values specified in the
speed tolerance parameter (No. 1478) and maximum permissible
acceleration parameter (No. 1660) are represented in the measurement
unit set up for the rotation axis.
- Parameter setting
Set up the following parameters for the rotation axis that uses this
function.
- Parameter ROT (bit 0 of parameter No. 1006) = 1
- Parameter RFD (bit 1 of parameter No. 1010) = 1
- Parameter No. 2524 = virtual-circle radius
- 669 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Restrictions
- Unusable functions
This function cannot be used with the following functions:
- The following G functions in group 01
Positioning
Circular interpolation, helical interpolation, spiral interpolation,
and conical interpolation
Arc threading B
Involute interpolation
Exponential interpolation
Three-dimensional circular interpolation
Spline interpolation
NURBS interpolation
- Cylindrical interpolation
- Polar coordinate interpolation
- Normal-direction control
- Feed per rotation
- Inverse time feed
- Parallel-axis control and twin-table control
To use this function together with parallel-axis or twin-table control,
set parameter No. 2524 with the same value for the master and slave
axes.
Parameters
#7 #6 #5 #4 #3 #2 #1 #0
1010 RFD
'
4- 6 6
1=
0: Conventional method
1: Method of specifying the speed on a virtual circle for a rotation axis
- 670 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
2524 Virtual-circle radius in specifying the speed on a virtual circle for a rotation
axis
&"
!
(
3
0
A%
% ." ')A
6
%&'()(*333333)333
Specify the radius of a virtual circle for the method of specifying the speed on a
virtual circle for a rotation axis.
Specifying 0.0 in this parameter causes the rotation axis to be excluded from speed
calculation.
Reference item
FANUC Series Operators Manual U.5.3 Cutting Feed
15i/150i-MA (Programming)
(B-6332EN)
- 671 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Overview
When an area on the XY plane(*1) is specified in cutting mode in
automatic operation, the area override can be applied to a specified
feedrate(*2) if the tool is in the specified area.
To do this, set an area on the XY plane first by setting parameter Nos.
1280 to 1287.
Up to four areas can be set on the XY plane.
(For details on how to set areas, see the explanation of operation.)
When the tool is in an area set as mentioned above, the tool can be
moved at a feedrate resulting from the specified feedrate overriden by
the area override set in parameter No. 2060 to 2063.
For each of the four areas, a separate area override can be set.
NOTE
1 X and Y denote the two axes set to 1 and 2 in
parameter No. 1022, respectively.
2 (Specified feedrate) =
(Cutting feedrate specified with F in program)
(Feedrate override)
Area 1 Area 3
Area 2
Area 4
- 672 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Defining areas
- Up to four areas can be set. Well use area numbers to call these
areas area 1 to area 4.
- Each area is set as a quadrangle whose sides are parallel to the X-
and Y-axes.
Each area includes the border of the quadrangle.
- An area is defined by setting one of the two pairs of diagonal
vertexes of a quadrangle. (See Fig. 7.1.17(b).)
Either of the two vertex pairs may be used to determine a unique
quadrangle.
If two diagonal vertexes are at the same coordinates, the area is a
point.
- When two or more areas overlap each other, the area override for
the area with the smallest area number is used for the overlap
portion. (See Fig. 7.1.17(c).)
Y-axis
Y-axis
Area 4, area override 4
- 673 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Setting an area
There are three methods for setting an area, that is, for setting two diagonal
vertexes, as follows:
(1) Specify and write a parameter number in G10.
Press the [Setting] key several times to display the automatic feedrate
control: area setting screen.
(2) Enter the necessary data directly in MDI mode.
(3) Move the tool manually to a desired position, then press CRT/MDI soft
key [Area setting] to record the position.
Then, the coordinates of the current cursor position are changed.
Notes
NOTE
1 In cutting mode in automatic operation, a check is
made to see whether the tool has entered an area,
and the tool is moved at a feedrate multiplied by the
percentage set in parameter Nos. 2060 to 2063.
2 This function is disabled in the following modes:
Threading, Feed per revolution, Tapping
3 This function is also disabled when the X-axis and
Y-axis are used as axes subjected to the following:
PMC axis control, Chopping
4 The percentage of the cutting feedrate is obtained by
multiplying the normal feedrate override by the area
override of this function. If the multiplication result
exceeds 254%, it is clamped to 254%.
5 This function is disabled when the tool moves at a dry
run speed.
6 In three-dimensional coordinate conversion mode,
this function is valid for areas on the XY plane in the
machine coordinate system.
7 In synchronization control, areas are set for the
master axis. The area override of this function is
applied to all the synchronized axes.
- 674 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Parameters
1280 Coordinates of diagonal vertex 1 of area 1 in automatic feedrate control by
area
"
.
B 1 )
!
2
%
" 9)
6
%&'&333333)333*333333)333
The positions, in the machine coordinate system, of two diagonal vertexes of each
of areas 1 to 4 in automatic feedrate control by area are set.
- 675 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
@
!
(-+;
The area overrides for areas 1 to 4 in automatic feedrate control by area are set as
percentages. If 0 is set for an area, the setting for the area becomes invalid.
The area override is applied to the feedrate resulting from the override of a
specified feedrate.
- 676 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
General
Acceleration and deceleration is performed when starting and ending
movement, resulting in smooth start and stop. Automatic
acceleration/deceleration is also performed when feedrate changes, so
change in speed is also smoothly done. It is not necessary to take
acceleration/deceleration into consideration when programming.
- 677 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
- Jog feed
JGE(No.1600#5) Acceleration/deceleration type
Linear acceleration/deceleration (constant acceleration time)
0 Bell-shaped acceleration/deceleration (constant acceleration time) if the bell-shaped
acceleration/deceleration option is supported.
1 Exponential acceleration/deceleration (constant acceleration time)
C o n s ta n t a c c e le r a tio n
F e e d ra te C o n s ta n t a c c e le r a tio n t im e
T im e
- 678 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
- Linear acceleration/deceleration
With linear acceleration/deceleration, the time required for
acceleration/deceleration is the shortest, provided that the acceleration
is the same. Note, however, that if the acceleration is large (the time
constant is low), the stress and strain imposed on the machine system
may be considerable.
The time constant and FL feedrate for each feed is set in the following
parameters.
<Linear acceleration/deceleration>
Feedrate
Specified feedrate
- Bell-shaped acceleration/deceleration
With bell-shaped acceleration/deceleration, acceleration/deceleration
is smoothed to reduce the amount of stress and strain imposed on the
machine system when the acceleration is large.
The time constant and FL feedrate for each feed is set for the following
parameters.
- 679 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
T2 T
T T
T
Set time constants T1 and T2 for parameters. T::Time constant
(The acceleration in the straight-line portion 1 is made
constant from the rapid traverse feedrate (parameter
No. 1420) and the setting of T1).
- Exponential acceleration/deceleration
With exponential acceleration/deceleration, the acceleration/
deceleration delay is large. On large machines, however, the overshoot
can be reduced.
The time constant and FL feedrate for each feed is set for the following
parameters.
Feedrate
Specified feedrate
- 680 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1600 NEX JGE CTE REX
- 681 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
1620 Time constant (T) for linear acceleration/deceleration or time constant (T1)
for bell-shaped acceleration/deceleration for rapid traverse along each axis
(
;
<
(
#.
=
6
*$ %.,8
0 0
0
@ @ @Bell-shaped type
=
6 *$%.,8
0 0 0 0
0
0 0
- 682 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
;
)') (
6' 8
>
'
'
<
(
'
(7 6/8
6&' '
#)$#?,.$8
Specify the FL feedrate for linear or bell-shaped acceleration/deceleration or rapid
traverse along each axis.
Example: Linear type
=
6 *$%.,8
=:
0
0
NOTE
When the feedrate is decelerated to the value set in this
parameter at any point regardless of whether during a linear or
nonlinear feedrate increase, the tool moves at that feedrate for
the remaining distance then stops.
- 683 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
(
;
<
(
#.
For each axis, set the time constant used for acceleration/deceleration during
cutting feed.
The time constant is fixed irrespective of the feedrate (fixed time constant method).
NOTE
However, note that the valid range is 0 to 2000 when the bell-
shaped acceleration/deceleration option is provided.
Except in special cases, this time constant should be set to the
same value for all axes. When different values are specified,
the desired straight and curved lines will not be obtained.
;
)') (
6' 8
>
'
'
<
(
'
(7 6/8
6&' '
#)$#?,.$8
NOTE
Be sure to always set 0 in this parameter for all axes, except for a
special application. Otherwise, correct linear or circular figures
cannot be obtained.
- 684 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
(
;
<
(
#.
=
') '
(4( $
1625 FL feedrate for each axis for acceleration/deceleration during jog feed
;
)') (
6' 8
>
'
'
<
(
'
(7 6/8
6&' '
#)$#?,.$8
=
') ' =:
(4( $
(
;
<
(
#.
'
!'
$
0'
!' 7
*$%+68
%$
;
)') (
6' 8
>
'
'
<
(
'
(7 6/8
6&' '
#)$#?,.$8
' =:
!'
( '$
- 685 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
(
;
<
(
#%
0,7 #'
( '$ '
'
'
*$%+,60%8$
Note
NOTE
0 X
- 686 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
General
When acceleration/deceleration after interpolation is used,
acceleration/deceleration is applied to the interpolated data.
Consequently, the interpolated data is changed by acceleration/
deceleration. When acceleration/deceleration before interpolation is
used, however, acceleration/deceleration is applied to the feedrate data
before interpolation. Consequently, the interpolated data is not
changed by acceleration/deceleration. Accordingly, interpolation data
ensures that machining follows a specified line or curve at all times,
thus eliminating the machining profile errors that result from delays in
acceleration/deceleration.
High-precision machining using continuous minute line segments or
NURBS curve commands, such as metal die machining, additionally
requires the use of the fine HPCC function.
Format
G05.1 Q1 : Look-ahead acceleration/deceleration
before interpolation mode on
(The multi-buffer mode is also set to on.)
G05.1 Q0 : Look-ahead acceleration/deceleration
before interpolation mode off
(Multi-buffer mode is kept on.)
G05.1 P1 Q0 : Look-ahead acceleration/deceleration
before interpolation mode off
(Multi-buffer mode is set off.)
Specify only G05.1 in a single block.
Look-ahead acceleration/deceleration before
interpolation mode can be automatically turned on at
power-up and upon a reset if the MBF bit (bit 6 of
parameter 2401) is specified accordingly.
Valid functions
In look-ahead acceleration/deceleration before interpolation mode, the
following functions are valid:
(1) Linear acceleration/deceleration before interpolation or bell-
shaped acceleration/deceleration before interpolation
(2) Deceleration based on a feedrate difference at a corner
(3) Advance feed forward
(4) Nano interpolation
- 687 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Acceleration/deceleration types
There are two types of acceleration/deceleration, the linear
acceleration/deceleration type and the bell-shaped acceleration/
deceleration type. By setting a non-zero value for parameter No. 1656,
bell-shaped acceleration/deceleration is assumed. Bell-shaped
acceleration/deceleration produces smoother acceleration/
deceleration.
Feedrate
Programmed speed
Feedrate obtained by
F3 acceleration/deceleration
P1 before interpolation
F2
P2
F1 Time
N1 N2
- 688 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
- Example of acceleration
Acceleration is performed so that the feedrate specified for a block is
attained when the block is executed.
Feedrate
Programmed speed
Feedrate obtained by
F3 acceleration/deceleration
before interpolation
F2
F1 Time
N1 N2
- Setting an acceleration
A permissible acceleration for the linear acceleration/deceleration of
each axis is set in parameter 1660. Acceleration change time (B)
(period of transition from constant speed state (A) to constant
acceleration/deceleration state (C)) is set in parameter 1656 (common
to all axes). In the constant acceleration/deceleration state (C),
acceleration/deceleration is performed with the maximum tangential
acceleration not exceeding the permissible acceleration of each axis
specified in parameter 1660.
The acceleration change time specified in parameter 1656 is held
constant, regardless of the tangential acceleration.
Tangential feedrate
- 689 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
(Example)
X-axis permissible acceleration: 1000 mm/sec2
Y-axis permissible acceleration: 1200 mm/sec2
Acceleration change time: 20 msec
Program:
N1 G01 G91 X20. F6000 Move on the X-axis.
G04 X0.01
N2 Y20. Move on the Y-axis.
G04 X0.01
N3 X20. Y20. Move in the XY direction (at 45 degrees).
Tangent feedrate
20ms
2 2
1000 mm/sec 1200mm/sec 2
1414mm/sec
gradient gradient
gradient
- 690 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
- Acceleration
Acceleration is performed so that the feedrate programmed for a block
is attained at the beginning of the block.
Time
N1 N2 N3 N4 N5
- Deceleration
Deceleration starts in advance so that the feedrate programmed for a
block is attained at the beginning of the block.
Deceleration can be performed over several blocks.
Time
- 691 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Feedrate
Single-block command
B
A
Time
- 692 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Feedrate
Single-block command
A B
Time
Feedrate
Single-block command
Time
- 693 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Single-block command
Time
(3) Stopping a movement if the stop may continue over several blocks
Acceleration/deceleration is performed over several blocks to
decrease the feedrate to zero.
Feedrate
Single-block command
Time
- 694 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
(Example)
Program
N1 G01 G91 X100. F5000
N2 Y100.
N2
N1
- 695 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
(Example)
@If parameter FNW (bit 6 of No. 1517) = 0 and the
@permissible feedrate difference = 500 mm/min (on all axes)
Deceleration to
Deceleration to
354 mm/min
500 mm/min
If "1" is set, the feedrate is determined not only with the condition that
the permissible feedrate difference and permissible acceleration on
each axis are not exceeded, but also that the deceleration feedrate is
constant regardless of the travel direction if the shape is the same.
If 1 is set for this parameter, the deceleration feedrate determined with
the feedrate difference or acceleration may be up to 30% lower than
that determined if 0 is set.
(Example)
@If parameter FNW (bit 6 of No. 1517) = 1 and
@permissible feedrate difference = 500 mm/min (on all axes)
Deceleration to
Deceleration to
354 mm/min
354 mm/min
- 696 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Even when the feedrate is overridden, the resulting feedrate does not
exceed the maximum cutting feedrate (parameter No. 1422).
Restrictions
- 697 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
before interpolation mode, execute the desired function, then set look-
ahead acceleration/deceleration before interpolation mode again.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F159 ADMOD
- 698 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1403 OVR
1478 Allowable feedrate difference for corner deceleration based on the feedrate
difference
;
)') (
6' 8
>
'
'
<
(
'
(7 6/8
6&' '
#)$#?,.$8
When a function for determining the feedrate based on the corner feedrate
difference is used, if a change in a feedrate component on each axis at a boundary
between blocks is about to exceed the value set in this parameter,
acceleration/deceleration before interpolation is applied to reduce the feedrate to
the value obtained for that purpose. This reduces the impact on the machine
around corners and the machining error.
- 699 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
1517 FCC FNW
NOTE
When this parameter is set to 1, the precision of curve
interpolation such as circular and NURBS interpolation may
reduce.
(
;
<
(
#.
In the mode of look-ahead acceleration/deceleration before interpolation and in
fine HPCC mode, this parameter is used instead of the ordinary time constant
(parameter No. 1622).
Be sure to always set the same time constant in this parameter for all axes, except
for a special application. Otherwise, correct linear or circular figures cannot be
obtained.
- 700 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
(
;
<
(
#,
0'
'
'(
7 #'
7
6' @
'
'(
' 6B8'
6/8(
7 '
*$%++" '
68
' !((
8$
- 701 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
;
)' ) (
6' 8
>
'
'
<
(
'
(7 68
6&' ' '
)$#?%$$&' '
' ' )' )$#?%$8
Specify the maximum allowable acceleration of acceleration/deceleration before
interpolation for each axis.
If a value greater than 100000.0 is set, it is clamped to 100000.0.
If 0 is set, it is regarded to be 100000.0. If 0 is set for all axes, look-ahead
acceleration/deceleration before interpolation will not be performed.
If the allowable acceleration for one axis is twice as large as that for another or
more, the feedrate may temporarily reduce around corners where the direction to
travel changes suddenly.
#7 #6 #5 #4 #3 #2 #1 #0
2401 MBF
+ >=
' 7
!
'
$
0: Cancels the multibuffer mode.
1: Selects the multibuffer mode. (When the optional multibuffer 15-block/100-
block function is not provided, five buffer blocks are used for the look-ahead
operation.)
When the multibuffer mode is selected, look-ahead acceleration/deceleration before
interpolation is enabled at the same time.
If the fine HPCC option is provided, fine HPCC mode is enabled at the same time.
NOTE
This parameter becomes valid when the system is reset.
- 702 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Note
NOTE
1 If the permissible acceleration set for one axis is two
or more times greater than that set for another, the
feedrate may decrease temporarily at those corners
where the travel direction changes abruptly.
2 If the machine lock signal is turned on during travel in
look-ahead acceleration/deceleration before
interpolation mode, the machine enters the machine
lock state after the end of deceleration.
3 If there is a block with no travel or a one-shot G code
command such as G04 in look-ahead
acceleration/deceleration before interpolation mode,
deceleration is performed for a stop in the preceding
block.
4 If the dry run signal changes from "0" to "1" or from "1"
to "0" during travel on an axis,
acceleration/deceleration is performed to achieve
the prescribed feedrate without deceleration to
feedrate 0.
The function for deceleration with the feedrate
difference at a corner is effective even during dry
run.
Reference item
Series15i/150i-MA Operators Manual II-18.4 Look-ahead
(Programming) acceleration/deceleratio
(B-63324EN) n before interpolatin
Series15i/150i- Connection Manual 7.1.13 Nano interpolation
MODEL A (This manual)
- 703 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
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. 1000#0).
Signal
NOTE
1 Before and after a positioning block, the in-position
check is performed regardless of the setting of this
signal.
2 Generally, this signal is manipulated with the
appropriate auxiliary function so that whether to
perform the in-position check can be specified from
a program. Because, however, the state in which
this signal is "0" is equivalent to that in which a
program specifies G09 or G61, it is recommended
that these preparatory functions be applied except
where other reasons make their application
impossible.
- 704 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
In-position signals
INP1<F64#6>, INP2<F68#6>, ...
[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.
INPx
x : 1 - - - The 1st axis is set to the in-position condition.
2 - - - The 2nd axis is set to the in-position condition.
3 - - - The 3rd axis is set to the in-position condition.
: :
[Output condition] These signals turn to "1" in the following case :
- The acceleration/deceleration delay of the corresponding control
axis is zero and the servo error is within the specified allowance.
These signals turn to "0" in the following cases :
- The acceleration/deceleration delay of the corresponding control
axis is not zero.
- The servo error of the corresponding control axis exceeds the
specified allowance
NOTE
By setting parameter CIP (bit 0 of No. 1000), the
condition stating that the servo error must be within a
constant limit can be lifted.
- Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G008 *CSMZ
#7 #6 #5 #4 #3 #2 #1 #0
F064 INP1
The above addresses are the signal addresses for the first axis.
For the signal addresses for the second axis and subsequent axes, see
the Appendix A.1.
- 705 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1000 CSZ CIP
% /D !' '
7 ' #' @(6E/>D8$
0: Disable
1: Enable
(
;
<
(
#FFFFFFFF
'
'$
&' ' ' '
67 ( 8 '
)
'' '
' ' )')
$
Note
NOTE
The in-position signals may turn to "1" even during
the movement if the axis is fed at very low speed.
- 706 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
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 RFW
G =& !' '
7
!
(
$
" 7
!
$
%" 7
!
$
*
)
!
7 !' (
$ &' '
%)
!
7
(
$ 0'
'
)
('
(
(($
Reference item
For details of this function, refer to the "FANUC SERVO MOTOR
series Maintenance Manual (B-65165E)."
- 707 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
Description
- Acceleration/deceleration after interpolation to rapid traverse
- 708 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Restrictions
Parameters
#7 #6 #5 #4 #3 #2 #1 #0
1603 FRP
- 709 -
7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL B-63323EN-1/03
- 710 -
B-63323EN-1/03 7.FEEDRATE CONTROL/ACCELERATION AND DECELERATION CONTROL
Tangential feedrate
Maximum acceleration is
calculated automatically so that
maximum allowable acceleration
for each axis set in parameter No.
1671 is not exceeded.
Reference
FANUC Series Connection Manual 7.2.2 Look-ahead
15i/150i-MA (Function) acceleration/deceleration
(This manual) before interpolation
- 711 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
8 MISCELLANEOUS FUNCTION
- 712 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
General
- 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.)
Input
Output signal
Program signal
Function
address Code Strobe Distribution Completi
signal signal end signal on signal
Miscellaneous
M M00-M31 MF
function
Spindle-speed
S S00-S31 SF DEN
function FIN
IPEN
Tool function T T00-T31 TF
Secondary
B B00-B31 BF
auxiliary function
M command (independent)Mxxx
Code signals M00-M31
Strobe signals MF
PMC side action
End signal FIN
Distribution end signals DEN
TMF TFIN
- 714 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
TMF TFIN
TMF TFIN
- 715 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
Signal
Miscellaneous function code signals M00-M31 <F016-F019>
Miscellaneous function strobe signal MF <F008#0>
[Classification] Output signal
[Function] These signals report the specification of miscellaneous functions.
[Output condition] For the output conditions and procedure, see the description of "Basic
procedure" above.
NOTE
1 The following miscellaneous functions are only
processed internally by the control unit; they are not
subject to output even when specified:
- M98, M99, M198
- M code that calls a sub program (parameter No.
6071 to 6079)
- M code that calls a custom macro (parameter No.
6080 to 6089)
- M codes for turning on and off an interrupt macro
@(M96, M97, or parameter Nos. 7033 to 7034)
2 Decode signals as well as the code signals and
strobe signal are output for the miscellaneous
functions listed below.
M00, M01, M02, M30
- 716 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
CAUTION
1 Only one end signal is used for all functions above.
The end signal must go "1" after all functions are
completed.
2 In addition to the functions described above, this
completion signal can be used for the spindle-speed
function for canned cycles by parameter setting. For
details, see "Spindle-Speed Function for Canned
Cycles" in Section 9.5.
- 717 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
NOTE
1 A parameter CIP (No.1000#0) 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.
2 These signals are also output when the completion of
the spindle-speed function for a canned cycle is
being awaited.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G005 FIN
#7 #6 #5 #4 #3 #2 #1 #0
F001 IPEN DEN
F008 BF TF SF MF
- 718 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
Parameter
Specify the command address of the second miscellaneous function as A, B, C, U,
V, or W. However, any address already used as an axis name cannot also be used
as the command address of the second miscellaneous function.
Name A B C U V W
Setting 65 66 67 85 86 87
#7 #6 #5 #4 #3 #2 #1 #0
2003 BSN TSN SSN MSN
! "#$ $
"%& ' " ( )
0: Cannot be used
1: Can be used
* ! "#$ $
"%& ' " ( )
0: Cannot be used
1: Can be used
- 719 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
/(!
"
-+
Specify the time waited before the MF, SF, TF, or BF signal is sent after the M, S,
T, or B code is sent.
M, S, T, B code
Delay time
/(!
"
-+
Specify the minimum signal width at which the M, S, T, or B function completion
signal (FIN) is assumed to be valid.
M, S, T, B code
FIN signal
- 720 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
**
Specify the allowable number of digits in an M code.
**
Specify the allowable number of digits in an S code.
**
Specify the allowable number of digits in a T code.
**
Specify the allowable number of digits in a 2nd auxiliary function.
When 0 is set, the allowable number of digits is assumed 3.
To enable the input of the decimal point, the number of decimal places must be set
for parameter No. 2428. In this case, the allowable number of digits to be set for
this parameter must include the number of decimal places.
#7 #6 #5 #4 #3 #2 #1 #0
2400 M30
- 721 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
2403 M02
+ 2$ +"
"
(
(
(
0: M02 is only sent to the machine, and reset and rewind signal (RRW) is used for
program heading.
1: M02 is sent out to the machine, and a program heading is automatically
executed. Consequently, when completion signal FIN for M02 is returned
without reset or reset and rewind, the program is restarted from the beginning.
M code 1 which does not put the following block in the buffer register
2411
M code 2 which does not put the following block in the buffer register
2412
M code 3 which does not put the following block in the buffer register
2413
M code 4 which does not put the following block in the buffer register
2414
M code 5 which does not put the following block in the buffer register
2415
M code 6 which does not put the following block in the buffer register
2416
M code 7 which does not put the following block in the buffer register
2417
M code 8 which does not put the following block in the buffer register
2418
M code 9 which does not put the following block in the buffer register
2419
M code 10 which does not put the following block in the buffer register
2420
Set the number of decimal places of the 2nd auxiliary function.
If 0 is set, the decimal point cannot be input.
- 722 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
NOTE
M00, M01, M02, and M30 are treated as M codes
without buffering even if they are not contained in the
parameter limits. M98, M99, the M codes set for
parameters Nos. 7071 to 7089, and those defined by
parameters Nos. 7096, 7098, 7099, and 7101 are not
treated as M codes without buffering even if they are
contained in the parameter limits.
2454 Range of 2nd auxiliary function codes without buffering (1) (lower limit)
2455 Range of 2nd auxiliary function codes without buffering (1) (upper limit)
2456 Range of 2nd auxiliary function codes without buffering (2) (lower limit)
2457 Range of 2nd auxiliary function codes without buffering (2) (lower limit)
- 723 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
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
sequence of PMC.
2 When the 2nd auxiliary function is provided, the
address used for specifying the 2nd auxiliary
function (B or the address specified with parameter
No. 1030) cannot be used as an axis address.
3 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. 2411 to 2418).
4 For M00 and M01 only, miscellaneous 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.
5 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.
Reference item
Series15i/150i-MA Operators Manual II-11.1 Miscellaneous function
(Programming) (M function)
(B-63324EN) II-11.3 Second auxiliary
function
- 724 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
General
Inhibits execution of a specified M, S, T and B function.
That is, code signals and strobe signals are not issued.
This function is used to check a program.
Signal
Auxiliary function lock signal AFL<G004#0>
[Classification] Input signal
[Function] This signal selects auxiliary function lock. That is, this signal disables
the execution of specified M, S, T, and B functions.
[Operation] When this signal turns to "1", the control unit functions as described
below.
(1) The control unit does not execute M, S, T, and B functions
specified for memory operation, DNC operation, or MDI
operation. That is, the control unit stops the output of code signals
and strobe signals (MF, SF, TF, BF).
(2) If this signal turns to "1" after code signal output, the output
operation is executed in the ordinary manner until its completion
(that is, until the FIN signal is received, and the strobe signal turns
to "0").
(3) Among the miscellaneous functions, M00, M01, M02, and M30
are executed even when this signal is "1". All code signals, strobe
signals, decode signals are output in the ordinary manner.
(4) Among the miscellaneous functions, even when this signal is "1",
those functions (M98 and M99) that are executed in the control
unit without outputting their execution results are executed in the
ordinary manner.
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G004 AFL
#7 #6 #5 #4 #3 #2 #1 #0
F004 MAFL
Reference item
Series15i/150i-MA Operators Manual II-5.1 Machine lock and
(Operation) miscellaneous function
(B-63324EN-1)
- 725 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
General
So far, one block has been able to contain only one M code. However,
this function allows up to three M codes to be contained in one block.
Up to five M codes specified in a block are simultaneously output to the
machine.
This means that compared with the conventional method of a single M
command in a single block, a shorter cycle time can be realized in
machining.
For the first of the five M codes, the maximum allowable number of
digits can be specified in parameter No. 2030. A command longer than
the maximum allowable number of digits causes an alarm (PS0003).
The second to fifth M codes may each consist of up to four digits.
(Example)
One M command in a single block Multiple M commands in a single
block
M40; M40M50M60;
M50; G28G91X0Y0Z0;
M60; :
G28G91X0Y0Z0; :
: :
: :
: :
- Basic procedure
(1) Assume that "MaaMbbMcc;" was commanded by the program.
(2) For each M command, one of the code signals listed below is sent,
and after the time set by parameter No. 2010, TMF, elapses each
strobe signal is set to 1.
The code signals for the first to fifth M commands are sent at the
same time. Strobe signals MF, MF2, MF3, MF4, and MF5 are all
set to 1 at the same time.
The code signal is a binary notation of the program command aa,
bb and cc.
(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".
- 726 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
(5) When the completion signal stays "1" for a time (TFIN) set by
parameter No. 2011, all strobe signals (MF, MF2, MF3, MF4, and
MF5) are set to "0" at the same time and the reception of
completion signal is reported.
(6) On the PMC side, when MF, MF2, MF3, MF4, and MF5 are set to
"0", the completion signal is set to "0".
A time chart for this procedure is shown below:
M command MaaMbbMccMddMee
Code signal M00 to M31
Strobe signal MF
PMC side operation
Code signal M200 to M215
Strobe signal MF2
PMC side operation
Code signal M300 to M315
Strobe signal MF3
PMC side operation
Code signal M400 to M415
Strobe signal MF4
PMC side operation
Code signal M500 to M515
Strobe signal MF5
PMC side operation
End signalFIN
TMF TFIN
Signal
- 727 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F045 MF5 MF4 MF3 MF2
#7 #6 #5 #4 #3 #2 #1 #0
F144 M207 M206 M205 M204 M203 M202 M201 M200
#7 #6 #5 #4 #3 #2 #1 #0
F145 M215 M214 M213 M212 M211 M210 M209 M208
#7 #6 #5 #4 #3 #2 #1 #0
F146 M307 M306 M305 M304 M303 M302 M301 M300
#7 #6 #5 #4 #3 #2 #1 #0
F147 M315 M314 M313 M312 M311 M310 M309 M308
#7 #6 #5 #4 #3 #2 #1 #0
F148 M407 M406 M405 M404 M403 M402 M401 M400
#7 #6 #5 #4 #3 #2 #1 #0
F149 M415 M414 M413 M412 M411 M410 M409 M408
#7 #6 #5 #4 #3 #2 #1 #0
F150 M507 M506 M505 M504 M503 M502 M501 M500
#7 #6 #5 #4 #3 #2 #1 #0
F151 M515 M514 M513 M512 M511 M510 M509 M508
Caution
CAUTION
1 M00, M01, M02, M30, M98, M99, or M198 must not
be specified together with another M code.
2 Some M codes other than M00, M01, M02, M30,
M98, M99, and M198 cannot be specified together
with other M codes; each of those M codes must be
specified in a single block. Such M codes include
these which direct the CNC to perform internal
operations in addition to sending the M codes
themselves to the PMC.
To be specified, such M codes are M codes for calling
program numbers 9001 to 9009 and M codes for
disabling advance reading (buffering) of subsequent
blocks.
The M codes which can be specified in a single block
must be those which the CNC send only the M code
signals to the PMC side.
- 728 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
Note
NOTE
1 CNC allows up to three M codes to be specified in
one block. However, some M codes cannot be
specified at the same time due to mechanical
operation restrictions.
2 The 1st M code can be up to ten digits.
(The allowable number of digits is specified using
parameter No. 2030.) The 2nd to 5th M codes can
be of up to four digits.
Reference item
Series15i/150i-MA Operators Manual II-11.2 1-block multiple M code
(Programming) command
(B-63324EN)
- 729 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
General
To accelerate M/S/T/B function execution, the high-speed M/S/T/B
interface has simplified the transfer of the strobe and completion
signals of the M/S/T/B functions.
Whether to use the usual system or high-speed system for strobe signal
and completion signal handling can be specified by parameter MHI (No.
2004#0).
The description below uses the miscellaneous functions (M code
commands) as an example. The same description applies to the
spindle-speed function (S code), tool function (T code) and 2nd
auxiliary function (B code).
- Basic procedure
(1) Assume that the following program is given:
Mxx;
Myy;
(2) In response to an M command, the NC system sends out the code
signals M00 to M31.
The NC system inverts the logical level of the strobe signal MF,
that is, from "0"to "1", or from "1" to "0".
(3) The CNC system inverts the strobe signal, then when the logical
level of the auxiliary function completion signal MFIN becomes
the same as the strobe signal, the CNC assumes the completion of
PMC sequence.
With the usual method, the operation is assumed to be completed
when a falling edge ("1" to "0") of the M/S/T/B completion signal
FIN is received after a rising edge ("0" to "1") of the FIN signal is
detected. This new system, on the other hand, assumes the
operation has been completed upon detection of only one
transition of the completion signal.
In addition , the usual system uses only one completion signal
(FIN) common to the M/S/T/B functions. This new system uses a
different completion signal for each of the M, S, T, and B
functions; the completion signals for the M, S, T, and B functions
are MFIN, SFIN, TFIN, and BFIN, respectively. The Fig. 8.4 (a)
below shows the timing chart of these signals with the new system.
For comparison, Fig. 8.4 (b) shows the timing chart of the
conventional system.
- 730 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
Next block
Code signal
Mxx Myy
Strobe signal MF
Next block
Code signal
Mxx Myy
Strobe signal MF
Signal
- 731 -
8.MISCELLANEOUS FUNCTION B-63323EN-1/03
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G046 BFIN TFIN SFIN MFIN
#7 #6 #5 #4 #3 #2 #1 #0
G047 MFIN5 MFIN4 MFIN3 MFIN2
- 732 -
B-63323EN-1/03 8.MISCELLANEOUS FUNCTION
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2004 MHI
3 ,$ "
(' ( (""!(
$ 44,4(
( "
" $ 1
0: Normal system.
1: High-speed system.
Note
NOTE
1 The strobe signals MF, SF, TF, and BF are "0" when
the power is turned on.
2 When the control unit is reset, MF, SF, TF, and BF
are set to "0".
3 This function is not used for the FFIN and FIN
signals which are the completion signals for spindle
stop command signal SSP and reserve spindle
rotation command signal SSV for canned cycles.
These signals are transferred using the normal
method.
4 This function is not used for the FIN signal which is
the completion signal for the external operation
signal EF sent by G81 to specify an external
operation command. These signals are transferred
using the normal method.
Reference item
Series15i/150i- Connection Manual 8.1 Miscellaneous
MODEL A (This manual) function/second
auxiliary function
8.3 1-block multiple M code
command
11.7 External motion function
- 733 -
9.SPINDLE FUNCTION B-63323EN-1/03
9 SPINDLE FUNCTION
CAUTION
The signal notations used in this section are
explained below:
- 734 -
B-63323EN-1/03 9.SPINDLE FUNCTION
General
When up to ten digits are specified after address S, code and strobe
signals are sent out and used to control the spindle speed. The code
signals areretained until another S code is issued.
One S code is used for each block. Parameter No. 2031 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.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G005 FIN
F008 SF
F020 S7 S6 S5 S4 S3 S2 S1 S0
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2003 SSN
NOTE
To enable the use of a minus (-) in an S code, the allowable
number of digits in an S code must be nine or less.
- 735 -
9.SPINDLE FUNCTION B-63323EN-1/03
%
&'
%
"
'' '
% !
NOTE
To set the allowable number of digits in an S code to 10, the use
of a minus "-" in an S code must be disabled.
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:
(1) Simultaneous execution of the move command
and miscellaneous function commands.
(2) 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.
Reference item
Series15i/150i- Connection Manual 8.1 Miscelaneous
MODEL A (This manual) function/second
auxiliary function
- 736 -
B-63323EN-1/03 9.SPINDLE FUNCTION
General
There are two types of spindle motor control interfaces, spindle serial
output and spindle analog output.
The spindle serial output interface can control four serial spindles. The
spindle analog output interface can control one analog spindle.
- 737 -
9.SPINDLE FUNCTION B-63323EN-1/03
NOTE
1 Using parameter No. 5850, select the spindle to be
controlled. Each function controls a selected spindle.
2 These functions are provided by the spindle control
unit. Whether these functions are actually available
depends on whether the spindle control unit supports
these functions.
2. Setting
( '
''
Motor number 1
CNC
- 738 -
B-63323EN-1/03 9.SPINDLE FUNCTION
For each spindle, set the type of motor in bit 0 (A/S) of parameter
No. 5606, and the motor number in parameter No. 5841. Make the
settings in the order of the spindle numbers without inserting a
space. For any spindles that are not used, set their motor numbers
to 0.
5841 1 0 0 0
5841 1 2 3 4
5841 1 0 0 0
5841 1 2 3 0
- 739 -
9.SPINDLE FUNCTION B-63323EN-1/03
5841 1 3 0 0
CAUTION
Before rewriting this parameter during automatic
operation, always use the M code set in parameter
Nos. 2411 to 2420 which is used as a non-buffering
M code. Always rewrite the parameter in the non-
buffering state.
Spindle control unit for spindle serial Spindle control unit for spindle analog output
output interface interface
Parameters for the Specified as CNC parameters (3000 to Directly specified for the spindle control unit
spindle control unit 3393)
Used after being transferred to the spindle
control unit
Control signal for the Connected to the PMC via the CNC Connected to the PMC via an external contact
spindle control unit Addresses for the first spindle
G200 to 201
G226 to 229
F228 to 231
Addresses for the second spindle
G202 to 203
G234 to 237
F244 to 247
Addresses for the third spindle
G204 to 205
G210 to 213
F196 to 199
- 740 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Spindle control unit for spindle serial Spindle control unit for spindle analog output
output interface interface
Control signal for the Addresses for the third spindle Connected to the PMC via an external contact
spindle control unit G204 to 205
G210 to 213
F196 to 199
Spindle speed Digital data in a range from 0 to } Analog voltage from 0 to }10 V (excluding portion
command interface maximum spindle motor speed for offset voltage adjustment)
Position coder Connected to the CNC via the spindle Connected directly to the CNC
interface control unit
Signal
- 741 -
9.SPINDLE FUNCTION B-63323EN-1/03
'
''
M03 ;
G01 G95 F1. S1000 ; ................................Feed per revolution
G91 X100. ;
G94 S0 ;
M05 ;
G84.2 X10. Z-30. R-10. F100. S100 ;.......Rigid tapping
G80 ;
)'
''
G01 G95 F2. S2000 ; ................................Feed per revolution
G91 X200. ;
G94 S0 ;
M05 ;
G84.3 X10. Z-30. R-10. F200. S200 ;.......Rigid tapping
G80 ;
- 742 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Timing chart
M61 M62
M command
M61/M62
Strobe signal
MF
Spindle switch processing
Signal address
G201
F230
- 743 -
9.SPINDLE FUNCTION B-63323EN-1/03
G203
F246
G205
F198
- 744 -
B-63323EN-1/03 9.SPINDLE FUNCTION
G207
F214
Parameter
- Setting spindle motor and spindle number
#7 #6 #5 #4 #3 #2 #1 #0
5606 A/S
'
" *+
' ' %'
'' !
"# *' %'
#
''
%
'
&'
%
",
Set a motor number to be assigned to each spindle.
0: Uses no subsequent spindle numbers.
1: Uses the motor of motor number 1.
2: Uses the motor of motor number 2.
3: Uses the motor of motor number 3.
4: Uses the motor of motor number 4.
- 745 -
9.SPINDLE FUNCTION B-63323EN-1/03
5845 Suffix for serial spindle (main spindle) or analog spindle display
%
'
&'
%
"))
Set a suffix for spindle speed display on a screen such as the position display
screen.
%
'
&'
%
"))
-
' '
'
!
%
&'
%
",
Set a spindle number to be selected upon power-up/reset.
A selected spindle is used as:
- Spindle displayed on a screen such as the position display screen and program
check screen
- Spindle used for an S command, feed per revolution, constant surface speed
control, threading, canned cycles, rigid tapping, and spindle speed detection
NOTE
To rewrite this parameter during automatic operation, always use
a non-buffered M code set in parameter Nos. 2411 to 2420 so
that rewriting is performed in the non-buffering state.
- 746 -
B-63323EN-1/03 9.SPINDLE FUNCTION
5613 Compensation value for the offset voltage of the spindle speed analog
output
%
'
6
& '
&'
%
"),"),
Set the compensation value for the offset voltage of the spindle speed analog
output.
*:
; 0 : . ''
-' ' #
(1) Set the standard setting 0.
(2) Specify the spindle speed at which the spindle speed analog output becomes 0.
(3) Measure the output voltage.
(4) Set the value obtained from the following equation in the parameter.
- 747 -
9.SPINDLE FUNCTION B-63323EN-1/03
5614 Data for adjusting the gain of the spindle speed analog output
%
'
&'
%
4"")3"
:% % ' ' % !
*:
<0 : '' %
-' ' #
% 2""!
) ' ' ' %
= '% -9 "&!
/ <
= '% !
, ='
'' % >
!
10(V)
Setting 800
Measured voltage (V)
3 *
%
. ' %
' ' % = '% -9 . 0
= '% "&!
'
- 748 -
B-63323EN-1/03 9.SPINDLE FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
5607 PLD
'
%
'
&'
%
"/)454
Specify a motor model code when setting initial parameters for the serial spindle.
%
'
&'
%
"/)454
Specify a motor model code when setting initial parameters for the serial spindle.
- 749 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 750 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 751 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 752 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 753 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 754 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 755 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 756 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 757 -
9.SPINDLE FUNCTION B-63323EN-1/03
- For low-speed characteristics of the output switch function for the sub-spindle at
spindle switching
CNC Spindle Description
side side
3284 266 Motor voltage setting in normal rotation mode
3285 267 Motor voltage setting in servo mode
3286 268 Base speed for motor output specification
3287 269 Output limit for motor output specification
3288 270 Base speed
3289 271 Speed at which a decrease in magnetic flux begins
3290 272 Proportional gain data of current loop
3291 273 Integral gain data of current loop
3292 274 Velocity at which current loop integral gain is zero
3293 275 Velocity factor for integral gain of the current loop
3294 276 Current conversion constant
3295 277 Secondary current factor for activating current
3296 278 Expected-current constant
3297 279 Number of slip constant
3298 280 Compensation constant for high-speed-rotation slip
3299 281 Compensation constant for voltage applied to motor in the dead zone
3300 282 Compensation factor for electromotive force
3301 283 Compensation factor for phase of electromotive force
3302 284 Velocity factor to correct electromotive force
3303 285 Time constant for changing the torque
3304 286 Velocity at which maximum output limit is zero
3305 287 Secondary current factor for rigid tapping
3306 288 Compensation constant for phase of electromotive force at deceleration
3307 289 Regenerative power limit
3308 290 Voltage filter time constant for electromotive force correction
3309 291 Motor model code (sub-spindle)
292
3310 (NOTE Q)
293
294
3311 (NOTE Q)
295
3312 296 Width of the completion signal for orientation by position coder 2 (main spindle)
3313 297 Width of the completion signal for orientation by magnetic sensor 1 (main spindle)
3314 298 Width of the completion signal for orientation by magnetic sensor 2 (main spindle)
3315 299 Stop position shift in orientation by a magnetic sensor (main spindle)
3316 300 Width of the completion signal for orientation by position coder 2 (sub-spindle)
3317 301 Width of the completion signal for orientation by magnetic signal 1 (sub-spindle)
3318 302 Width of the completion signal for orientation by magnetic signal 2 (sub-spindle)
3319 303 Stop position shift in orientation by a magnetic sensor (sub-spindle)
3320 304 Spindle orientation deceleration constant (main spindle/high-speed gear)
3321 305 Spindle orientation deceleration constant (main spindle/medium high-speed gear)
3322 306 Spindle orientation deceleration constant (main spindle/medium low-speed
gear)
3323 307 Spindle orientation deceleration constant (main spindle/low-speed gear)
3324 308 Spindle orientation deceleration constant (sub-spindle/high-speed gear)
3325 309 Spindle orientation deceleration constant (sub-spindle/low-speed gear)
- 758 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 759 -
9.SPINDLE FUNCTION B-63323EN-1/03
- For expansion
CNC Spindle Description
side side
3352 Bit parameter (NOTE1)
336
3353 Bit parameter (NOTE1)
3354 337
3355 338
3356 339
3357 340
3358 341
3359 342
3360 343
3361 344
3362 345
3363 346
3364 347
3365 348
3366 349
3367 350
3368 351
3369 352
3370 353
3371 354
3372 355
3373 Bit parameter (NOTE1)
356
3374 Bit parameter (NOTE1)
3375 357
3376 358
3377 359
3378 360
3379 361
3380 362
3381 363
3382 364
3383 365
3384 366
3385 367
3386 368
3387 369
3388 370
3389 371
3390 372
3391 373
3392 374
3393 375
- 760 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Note 1)
The data list at the CNC side corresponds to that at the spindle side, as
follows:
CNC parameter numbers : Cn, Cn+1
Spindle parameter number : Sm
Sm Cn Cn+1
Note 2)
The data list at the CNS side corresponds to that at the spindle side, as
follows:
CNC parameter number : Cm
Spindle parameter numbers : Sn, Sn+1
Cm Sn Sn+1
- PS alarm
Number Message Contents
PS0223 ILLEGAL SPINDLE SELECT An attempt was made to execute an instruction that uses
the spindle although the spindle to be controlled has not
been set correctly.
- SP alarm
Number Message Contents
SP0001 SSPA:01 MOTOR OVERHEAT An alarm (AL-01) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0002 SSPA:02 EX DEVIATION SPEED An alarm (AL-02) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0003 SSPA:03 DC-LINK FUSE IS BROKEN An alarm (AL-03) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0004 SSPA:04 POWER SUPPLY ERROR An alarm (AL-04) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0005 SSPA:XX DECODED ALARM An alarm (AL-05) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0006 SSPA:XX DECODED ALARM An alarm (AL-06) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0007 SSPA:07 OVER SPEED An alarm (AL-07) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0008 SSPA:XX DECODED ALARM An alarm (AL-08) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0009 SSPA:09 OVERHEAT MAIN CIRCUIT An alarm (AL-09) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0010 SSPA:10 LOW VOLT INPUT POWER An alarm (AL-10) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
SP0011 SSPA:11 OVERVOLT POWER An alarm (AL-11) occurred on the spindle amplifier unit
CIRCUIT For details, refer to the Serial Spindle Users Manual.
SP0012 SSPA:12 OVERCURRENT POWER An alarm (AL-12) occurred on the spindle amplifier unit
CIRCUIT For details, refer to the Serial Spindle Users Manual.
SP0013 SSPA:13 CPU DATA MEMORY An alarm (AL-13) occurred on the spindle amplifier unit
FAULT For details, refer to the Serial Spindle Users Manual.
SP0014 SSPA:XX DECODED ALARM SP0014
An alarm (AL-14) occurred on the spindle amplifier unit
For details, refer to the Serial Spindle Users Manual.
- 761 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 762 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Alarms SP001 to SP099 are detected by control units for serial spindles.
For details of alarms with these numbers, refer to the following serial
spindle manuals:
- "FANUC Servo Amplifier series Descriptions (B-65162E)"
- "FANUC Servo Motor series Maintenance Manual
(B-65165E)"
- 763 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 764 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Reference item
Series15i/150i- Connection Manual 9.3 Spindle control
MODEL A (This manual)
FANUC SERVO AMPLIFIER series B-65162E
Descriptions
FANUC AC SPINDLE MOTOR series B-65160E
Parameter Manual
FANUC AC SPINDLE MOTOR series B-65152E
Descriptions
FANUC SERVO MOTOR series B-65165E
Maintenance Manual
- 765 -
9.SPINDLE FUNCTION B-63323EN-1/03
General
This section describes spindle speed control. It also explains the
position
coder.
- 766 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Analog spindle
Spindle voltage
output Spindle
motor
command Command voltage
calculation
M M03,M04,M05,M19 M code
command Orientation
S code
S Command spindle
$$ <$
- 767 -
9.SPINDLE FUNCTION B-63323EN-1/03
Serial spindle
Spindle status
Spindle voltage signal
Return pulse, calculation Spindle
one-rotation motor
signal command Command voltage
calculation
M M03,M04,M05,M19 M code
command
S code
S Command spindle
$$ <$
- 768 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- S command
The S command specifies the spindle speed entered from machining
programs, etc. for the CNC.
The CNC outputs the specified S command as an S code to the PMC as
is. If constant surface speed control is not performed, the CNC outputs
the specified value to the PMC as is. If constant surface speed control
is being performed, the CNC outputs the value obtained from constant
surface speed control to the PMC as the spindle speed command signal.
- M command
An M command, input from a machining program to the CNC,
specifies spindle control. The CNC outputs the specified M command
as an M code to the PMC as is.
- G92 S command
This command, input from a machining program and so forth to the
CNC, specifies a maximum spindle speed. The CNC outputs the
specified S command as the maximum spindle speed signal to the PMC
as is. Whether the S command specified together with G92 in the same
block is assumed to be a maximum spindle speed command is
determined by bit 6 (SMX) of parameter No. 2402.
- 769 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 770 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Control unit
CAUTION
Since the analog voltage is a very low-level signal, it
must not be connected via a contact.
- 771 -
9.SPINDLE FUNCTION B-63323EN-1/03
Signal
- 772 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 773 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 774 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 775 -
9.SPINDLE FUNCTION B-63323EN-1/03
Other signals
Signal address
F008 SF MF
F016 M7 M6 M5 M4 M3 M2 M1 M0
F020 S7 S6 S5 S4 S3 S2 S1 S0
F045 SRSRDY
- 776 -
B-63323EN-1/03 9.SPINDLE FUNCTION
F341 SRRDYA
- 777 -
9.SPINDLE FUNCTION B-63323EN-1/03
F342 SRRDYB
- 778 -
B-63323EN-1/03 9.SPINDLE FUNCTION
F343 SRRDYC
- 779 -
9.SPINDLE FUNCTION B-63323EN-1/03
F344 SRRDYD
Parameter
E Analog/serial spindle common setting
#7 #6 #5 #4 #3 #2 #1 #0
2204 NOS
- 780 -
B-63323EN-1/03 9.SPINDLE FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
2402 SMX
5 <A
' 0B1)B3"
B *
%' #
"# ; -' !
# ; -' ! '
!
#7 #6 #5 #4 #3 #2 #1 #0
5602 NAL
'
/ *8
''
' '
!
"# '!
# '!
&' "*8<
!32"4 "
(
.'
' '
%
! .
"'' -
!
5611 Number of samples of sampling data for obtaining the mean spindle speed
%
'
&'
%
",
; =' '%
' .
= ' .
% '
'
! ' '%
>
!
"# '
# )'
)# ,'
/# 2'
,# 5'
NOTE
Usually, set this parameter to 2.
- 781 -
9.SPINDLE FUNCTION B-63323EN-1/03
%
'
6
+"CC
&'
%
"/
Set the unit of output by the specified spindle speed signal, actual spindle speed
signal, and maximum spindle speed signal.
#7 #6 #5 #4 #3 #2 #1 #0
5807 ALM
" *8<
' '
---- '''
'
%
!
"# D' !
# %
!
(
. '
' '
%
!
.
"'' - !
%
'
6
&'
%
/)454
Set the number of pulses of the position coder.
5847 Number of teeth on the position coder gear in speed control (feed per
revolution, threading, and so forth)
%
'
&'
%
1111
Set the number of teeth on the position coder gear in speed control (feed per
revolution, threading, and so forth).
- 782 -
B-63323EN-1/03 9.SPINDLE FUNCTION
5848 Number of teeth on the spindle gear in speed control (feed per revolution,
threading, and so forth)
%
'
&'
%
1111
Set the number of teeth on the spindle gear in speed control (feed per revolution,
threading, and so forth).
%
&'
%
",
'
'
+
!
* ' ' #
' '
'
%
0
'
.
= ' .
'.
%. ' .
%%.'
NOTE
To rewrite this parameter during automatic operation, always use
a non-buffered M code set in parameter Nos. 2411 to 2420 so
that rewriting is performed in the non-buffering state.
- Analog spindle
#7 #6 #5 #4 #3 #2 #1 #0
5603 NDP
'
- 783 -
9.SPINDLE FUNCTION B-63323EN-1/03
5613 Compensation value for the offset voltage of the spindle speed analog
output
%
'
6
& '
&'
%
"),"),
Set the compensation value for the offset voltage of the spindle speed analog
output.
*:
; 0 : . ''
-' ' #
(1) Set the standard setting 0.
(2) Specify the spindle speed at which the spindle speed analog output
becomes 0.
(3) Measure the output voltage.
(4) Set the value obtained from the following equation in the
- 784 -
B-63323EN-1/03 9.SPINDLE FUNCTION
5614 Data for adjusting the gain of the spindle speed analog output
%
'
&'
%
4"")3"
Set data for adjusting the gain of the spindle speed analog output.
*:
<0 : '' %
-' ' #
(1) Set the standard setting to 800.
(2) Specify the spindle speed at which the spindle speed analog output voltage is
maximized (10 V).
(3) Measure the output voltage.
(4) Set the value obtained from the following equation in the
10(V)
Setting 800
Measured voltage (V)
parameter.
(5) After setting the parameter, specify the spindle speed again at which the
spindle speed analog output voltage is maximized, then check that the output
voltage is 10 V.
- Serial spindle
#7 #6 #5 #4 #3 #2 #1 #0
5820 ASD
'
, *
'
'' ''
0'
!
"# $''
0'
!
# $''
!
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.
- 785 -
9.SPINDLE FUNCTION B-63323EN-1/03
-PS alarm
Number Message Contents
PS0223 ILLEGAL SPINDLE SELECT An attempt was made to execute an instruction that uses
the spindle although the spindle to be controlled has not
been set correctly.
-SP alarm
Number Message Contents
SP0224 ILLEGAL SPINDLE-POSITION The spindle-position coder gear ratio was incorrect.
CODER GEAR RATIO
SP0233 POSITION CODER OVERFLOW The error counter/speed instruction value of the position
coder overflowed.
SP0240 DISCONNECT POSITION CODER The analog spindle position coder is broken.
SP0241 D/A CONVERTER ERROR The D/A converter for controlling analog spindles is
erroneous.
SP0975 ANALOG SPINDLE CONTROL An position coder error was detected on the analog spindle.
ERROR
Reference item
Series15i/150i- Connection Manual 8.1 Miscellaneous
MODEL A (This manual) function/second
auxiliary function
9.2 Spindle serial
output/analog output
FANUC SERVO AMPLIFIER series B-65162E
Descriptions
FANUC AC SPINDLE MOTOR series B-65160E
Parameter Manual
- 786 -
B-63323EN-1/03 9.SPINDLE FUNCTION
General
When a surface speed (m/min or feet/min) is specified after an S code,
the spindle speed is controlled to keep the surface speed constant,
regardless of the position of the tool.
Spindle speed N
r
- Position coderless feed per revolution and constant surface speed control
When a machine with no position coder is used, a feed per revolution is
enabled assuming the value indicated by the spindle speed command
signal RO0s to RO15s to be the spindle speed, even during constant
surface speed control.
- 787 -
9.SPINDLE FUNCTION B-63323EN-1/03
Signal
Spindle speed command signal RO0A-RO15A<F010,F011>:For 1st spindle
RO0B-RO15B<F320,F321>:For 2nd spindle
RO0C-RO15C<F326,F327>:For 3rd spindle
RO0D-RO15D<F332,F333>:For 4th spindle
[Classification] Output signal
[Function] Posts a specified spindle speed. When constant surface speed control is
being performed, the spindle speed resulting from constant surface
speed control is posted. This signal consists of 16 binary code output
signals. The spindle speed and signal are related as follows:
Speed {
15 i
i =0
} N
2 RO i s 10 min
1
Speed
15 i
i =0
{ }
N
2 MRi s 10 min
1
- 788 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F001 CSS
#7 #6 #5 #4 #3 #2 #1 #0
F010 RO7A RO6A RO5A RO4A RO3A RO2A RO1A RO0A
#7 #6 #5 #4 #3 #2 #1 #0
F011 RO15A RO14A RO13A RO12A RO11A RO10A RO09A RO08A
#7 #6 #5 #4 #3 #2 #1 #0
F014 MR7A MR6A MR5A MR4A MR3A MR2A MR1A MR0A
#7 #6 #5 #4 #3 #2 #1 #0
F015 MR15A MR14A MR13A MR12A MR11A MR10A MR09A MR08A
#7 #6 #5 #4 #3 #2 #1 #0
F320 RO7B RO6B RO5B RO4B RO3B RO2B RO1B RO0B
#7 #6 #5 #4 #3 #2 #1 #0
F321 RO15B RO14B RO13B RO12B RO11B RO10B RO09B RO08B
#7 #6 #5 #4 #3 #2 #1 #0
F324 MR7B MR6B MR5B MR4B MR3B MR2B MR1B MR0B
#7 #6 #5 #4 #3 #2 #1 #0
F325 MR15B MR14B MR13B MR12B MR11B MR10B MR09B MR08B
#7 #6 #5 #4 #3 #2 #1 #0
F326 RO7C RO6C RO5C RO4C RO3C RO2C RO1C RO0C
#7 #6 #5 #4 #3 #2 #1 #0
F327 RO15C RO14C RO13C RO12C RO11C RO10C RO09C RO08C
#7 #6 #5 #4 #3 #2 #1 #0
F330 MR7C MR6C MR5C MR4C MR3C MR2C MR1C MR0C
#7 #6 #5 #4 #3 #2 #1 #0
F331 MR15C MR14C MR13C MR12C MR11C MR10C MR09C MR08C
#7 #6 #5 #4 #3 #2 #1 #0
F332 RO7D RO6D RO5D RO4D RO3D RO2D RO1D RO0D
#7 #6 #5 #4 #3 #2 #1 #0
F333 RO15D RO14D RO13D RO12D RO11D RO10D RO09D RO08D
#7 #6 #5 #4 #3 #2 #1 #0
F336 MR7D MR6D MR5D MR4D MR3D MR2D MR1D MR0D
#7 #6 #5 #4 #3 #2 #1 #0
F337 MR15D MR14D MR13D MR12D MR11D MR10D MR09D MR08D
#7 #6 #5 #4 #3 #2 #1 #0
F341 CSSA
#7 #6 #5 #4 #3 #2 #1 #0
F342 CSSB
#7 #6 #5 #4 #3 #2 #1 #0
F343 CSSC
#7 #6 #5 #4 #3 #2 #1 #0
F344 CSSD
- 789 -
9.SPINDLE FUNCTION B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2402 SMX
!"
#$
%
0: The maximum spindle speed command is assumed.
1: The maximum spindle speed command is not assumed. (Spindle speed
command is assumed.)
#7 #6 #5 #4 #3 #2 #1 #0
2405 FPR
&' ( )
((
(
)
" ((
*
#( +
+
&( +
+
&$ ( +
+
" ,$-
0: Not used.
1: Used.
#7 #6 #5 #4 #3 #2 #1 #0
5602 RSC TLE TPE
- 790 -
B-63323EN-1/03 9.SPINDLE FUNCTION
#
6
#
5+.
Set a spindle number to be selected upon power-up/reset.
A selected spindle is used as:
- Spindle displayed on a screen such as the position display screen and program
check screen
- Spindle used for an S command, feed per revolution, constant surface speed
control, threading, canned cycles, rigid tapping, and spindle speed detection
NOTE
To rewrite this parameter during automatic operation, always use
a non-buffered M code set in parameter Nos. 2411 to 2420 so
that rewriting is performed in the non-buffering state.
#
7(
8985
6
#
5+:
Set the unit of output by the specified spindle speed signal, actual spindle speed
signal, and maximum spindle speed signal.
- 791 -
9.SPINDLE FUNCTION B-63323EN-1/03
#
6
#
5+22
Specify the ordinal number of an axis that is subject to constant surface speed
control. If an axis is specified in the program (G96P_), constant surface speed
control is applied to the axis.
If no axis is specified in the program (G96P_), or P0 is specified, constant surface
speed control is applied to the axis set in this parameter.
NOTE
If 0 is set, the P value programmed with G96P_ is ignored, and
constant surface speed control is always performed on the X-
axis.
- 792 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Note
NOTE
1 The S value specified in G96 mode is stored even
when G97 mode is set. The S value is restored
when G96 mode is set again.
G96 S50: 50 m/min or 50 feet/min
-1
G97 S1000: 1000 min
G96 X3000: 50 m/min or 50 feet/min
2 If S (min-1) is not specified in a G97 block upon
switching from G96 mode to G97 mode, the last
speed set in G96 mode is used as the S value for
G97 mode.
-1
N10 G97 S800: 800 min
N20 G96 S100: 100 m/min or 100 feet/min
N30 G97: X min-1
X is the speed in the block immediately before N30.
This means that, upon switching from G96 mode to
G97 mode, the spindle speed remains as is. When
the mode is first changed from G97 mode to G96
mode, S = 0 m/min is set if no S value (min-1) is
specified in the G96 block.
3 In the machine lock state, a constant surface speed
is calculated according to the change in program
coordinates even when the machine does not move.
4 Constant surface speed control is enabled even for
threading. If threading is performed in G96 mode,
however, the spindle speed changes, and the tool
feedrate also changes accordingly, resulting in a
change in the servo delay. This can result in an
incorrect thread pitch being created.
Reference item
Series15i/150i-MA Operators Manual II-9.2 Constant surface speed
(Programming) control
(B-63324EN)
- 793 -
9.SPINDLE FUNCTION B-63323EN-1/03
General
Based on a feedback signal from a position coder mounted on a spindle,
the CNC calculates the spindle speed and outputs it to the PMC.
When a serial spindle is used, the spindle speed can also be calculated
based on the speed monitor data of the spindle motor by setting bit 4
(ASD) of parameter No. 5820.
Signal
Actual spindle speed signal AR0A-AR15A<F012,F013>:for first spindle
AR0B-AR15B<F322,F323>:for second spindle
AR0C-AR15C<F328,F329>:for third spindle
AR0D-AR15D<F334,F335>:for fourth spindle
[Classification] Output signal
[Function] These 16-bit binary code signals output from the CNC to the PMC the
actual spindle speed obtained by feedback pulses from the position
coder mounted on the spindle. When a serial spindle is used, the
spindle speed can also be calculated based on the speed monitor data of
the spindle motor by setting bit 4 (ASD) of parameter No. 5820.
This signal consists of 16 binary code output signals. The actual
spindle speed and signal are related as follows:
{2 }
15
Speed i
ARi s 10 N min -1
i =0
Where, N is the value set in parameter No. 5612.
[Output condition] This signal is always output.
Signal address
- For first spindle
#7 #6 #5 #4 #3 #2 #1 #0
F012 AR7A AR6A AR5A AR4A AR3A AR2A AR1A AR0A
- 794 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Parameter
5612 Unit of spindle speed to be output by DO signals
#
7(
8985
6
#
5+:
Set the unit of output by the specified spindle speed signal, actual spindle speed
signal, and maximum spindle speed signal.
#7 #6 #5 #4 #3 #2 #1 #0
5820 ASD
. ; ( )
(
(
( (
(
-
0: Calculated from feedback pulses from the position coder.
1: Calculated from speed monitor data.
Note
NOTE
An absolute error of about 0.5 min-1 exists as a
measuring error.
Reference item
Series15i/150i- Connection Manual 9.2 Spindle serial
MODEL A (This manual) output/analog output
9.3 Spindle control
- 795 -
9.SPINDLE FUNCTION B-63323EN-1/03
General
This function positions the spindle using the spindle motor and position
coder.
- 796 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Spindle control
Spindle
Error Spindle motor
amplifier
counter
The least command increment (detection unit) for each gear ratio is set
as listed below.
Gear ratio between spindle and position coder Least command increment
(detection unit) deg
1:1 0.088 (1360/4096)
1:2 0.176 (2360/4096)
1:4 0.352 (4360/4096)
1:8 0.703 (8360/4096)
: :
1:N (N360/4096)
Setting example 1:
Servo axis: X, Y, Z
Spindle positioning axis: C (S1)
Number of spindles: 1
- 797 -
9.SPINDLE FUNCTION B-63323EN-1/03
Setting example 2:
Servo axis: X, Z
Spindle positioning axis: C (S1), B (S2)
Number of spindles: 2
- 798 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- Orientation speed
When an analog spindle is used, the tool moves at the rapid traverse
rate set in parameter No. 5977 until a speed that allows orientation is
reached. After a one-rotation signal is detected, spindle orientation is
performed at the FL feedrate set in parameter No. 5979.
* Speed allowing orientation
Set the speed so that the following condition is satisfied:
F P
1024 pulses
60 G 0.088
F : Feedrate (deg/min)
G : Position gain (1/sec)
P : Gear ratio between the spindle and position coder
If the above condition is not satisfied, a one-rotation signal cannot be
detected, so movement continues at the rapid traverse rate.
* FL feedrate
Set the FL feedrate so that the following condition is satisfied:
FL P
1024
( pulses )
60 G 0.088
FL : Feedrate (deg/min)
G : Position gain (1/sec)
P : Gear ratio between the spindle and position coder
If the above condition is not satisfied, an accurate stop position cannot
be detected, so orientation is performed again stating from the rapid
traverse operation.
- 799 -
9.SPINDLE FUNCTION B-63323EN-1/03
- Program origin
The orientation position is regarded as a program origin. It is possible
to modify the program origin using the coordinates system(G92).
Command system
The command system comes in two types: The first positions a semi-
fixed angle; the second positions an optional angle.
- 800 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Program origin
90
180
- 801 -
9.SPINDLE FUNCTION B-63323EN-1/03
Signal
- 802 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 803 -
9.SPINDLE FUNCTION B-63323EN-1/03
Other signals
Signal address
F008 MF
F016 M7 M6 M5 M4 M3 M2 M1 M0
F064 ZP1
The above addresses are the signal addresses for the first axis.
For the signal addresses for the second axis and subsequent axes, see
the Appendix A.1.
- 804 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Spindle orientation
To cancel spindle rotation mode then enter spindle positioning mode,
specify Mxx in a program.
xx must be set in parameter No. 5680 in advance. The sequence pattern
must be set in parameter No. 5895.
- 805 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 806 -
B-63323EN-1/03 9.SPINDLE FUNCTION
M COMMAND
Mxx
Strobe signal
MF
SPSTPs
servo-on
SUCLPs
Spindle unclamp
Spindle rotation
ZPj
SCLPs
*SECLPs
FIN
- 807 -
9.SPINDLE FUNCTION B-63323EN-1/03
M command
Mxx
Strobe signal
MF
servo-on
SUCLPs
*SEUCLs
Spindle rotation
ZPj
SCLPs
*SECLPs
FIN
- 808 -
B-63323EN-1/03 9.SPINDLE FUNCTION
M command
Mxx
Strobe signal
MF
SPSTPs
servo-on
SUCLPs
*SEUCLs
Spindle rotation
ZPj
SCLPs
*SECLPs
FIN
- 809 -
9.SPINDLE FUNCTION B-63323EN-1/03
M command
Mxx
Strobe signal
MF
SPSTPs
servo-on
Spindle rotation
ZPj
FIN
- 810 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Spindle positioning
In spindle positioning mode, positioning is performed using one of the
following two methods:
1) Semi-fixed angle positioning by specifying Myy
2) Arbitrary angle positioning by specifying an axis address
The above operations are the same except that, in arbitrary angle
positioning, there is no input/output signal transmission for
miscellaneous functions.
yy must be set in parameter Nos. 5896 and 5897 in advance. A
sequence pattern must be set in parameter No. 5895.
- 811 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 812 -
B-63323EN-1/03 9.SPINDLE FUNCTION
M command
Myy
Strobe signal
MF
servo-on
SUCLPs
*SEUCLs
Spindle rotation
SCLPs
*SECLPs
FIN
- 813 -
9.SPINDLE FUNCTION B-63323EN-1/03
M command
Myy
Strobe signal
MF
signal SPSTPs
servo-on
SUCLPs
*SEUCLs
Spindle rotation
SCLPs
*SECLPs
FIN
- 814 -
B-63323EN-1/03 9.SPINDLE FUNCTION
M command
Myy
Strobe signal
MF
servo-on
SUCLPs
*SEUCLs
Spindle rotation
SCLPs
*SECLPs
FIN
- 815 -
9.SPINDLE FUNCTION B-63323EN-1/03
M command
Myy
Strobe signal
MF
SPSTPs
servo-on
Spindle rotation
FIN
- 816 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 817 -
9.SPINDLE FUNCTION B-63323EN-1/03
M command
Mzz
Strobe signal
MF
servo-on
SUCLPs
*SEUCLs
FIN
- 818 -
B-63323EN-1/03 9.SPINDLE FUNCTION
M command
Mzz
Strobe signal
MF
servo-on
SUCLPs
*SEUCLs
FIN
- 819 -
9.SPINDLE FUNCTION B-63323EN-1/03
M command
Mzz
Strobe signal
MF
servo-on
FIN
CAUTION
The CNC performs servo-on/off control in position
control for an analog spindle by using the ENB1 and
ENB2 signals. Therefore, to perform the servo-on/off
control in spindle position control as shown in the
timing chart, the spindle control unit must turn motor
excitation on and off according to the ENB1 and
ENB2 signals.
Control unit
- 820 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Parameter
- Common to analog and serial spindles
#7 #6 #5 #4 #3 #2 #1 #0
1005 PLZ ALZ ZMG ZRN
!"#
$%
%
& &
&
%&
'& &$(&
&
&&)&
&
%
%
%
$
%*)
&
&
&+
0: Issue an alarm ("PS181 ZERO RETURN NOT FINISHED").
1: Do not issue an alarm but execute operation.
For the spindle positioning axis which does not need reference position return, set 1.
)
%$&5 &&
$%
&
&
&+
-
&$%
+)+6)&+
- 0$
+
!#/'
&
#&+7 /$% % &&
&+
.&
%&
&)/
+
- 821 -
9.SPINDLE FUNCTION B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
1006 DIA ROP ROS ROT
"68
$%
%
%2 %9
&&+
0: Axis requires inch/metric conversion (linear axis).
1: Axis does not require inch/metric conversion (rotation axis).
For the spinlde positioning axis, set 1.
If bit 5 (PDC) of parameter No. 1001 is 1, DIA has the following meaning:
The scale of the parameter, offset, and graphic screens is indicated using:
0: Radius specification
1: Diameter specification
For the spinlde positioning axis, set 0.
- 822 -
B-63323EN-1/03 9.SPINDLE FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
1012 ISE ISD ISC ISA
NOTE
After this parameter has been set, the power must be off turned off then
back on for the setting to become effective.
0
:
4
;
& %
4
;
:
0
(0
(
(:
(
(;
For the spindle positioning axis, reset ISA to ISE to 0, because the increment system
for it is IS-B.
- 823 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
<
) =>(?
The programmed axis name of each controlled axis is set according to the following
table:
NOTE
1 When the option for tool axis direction tool length compensation
is provided, always set the A, B, or C value.
2 When the axis name extension function (option) is used, the
following addresses can be used as axis names:
I 73
J 74
K 75
E 69
NOTE
After this parameter has been set, the power must be off turned off then
back on for the setting to become effective.
)
<
) (
Specify the number of the servo axis that corresponds to each control axis.
For the spindle positioning axis , set 0.
- 824 -
B-63323EN-1/03 9.SPINDLE FUNCTION
NOTE
After this parameter has been set, the power must be off turned off then
back on for the setting to become effective.
)
<
) (7
%
'
& % &
&/ &'
&$
%
#&+ 4+
% &
&&$% %
&&&
&)/'
)
%'&
%&
&'&
%
+
8%&&$)
&&-
(
&
%& &
&&$% %&
&)&
&'
&+
( 0) &
'&
&
&
&+
( 0&
&)
%'& '
+
( 0&
&)
' &
%& &
&
+
NOTE
Note that this parameter is changed when automatic setting is
performed on the FSSB setting screen.
- 825 -
9.SPINDLE FUNCTION B-63323EN-1/03
"
3
&
)
,
&
&
%
&
%
<
) &&
?)
&
&
&
%
)
'
C%
%
(/ + (D??????+???
Set the value of movement of one rotation of a rotary axis.
"
3
&
9/ %9/)9 %
,
&
&
%
&
%
<
) "
&
%
)
':
C%
%
(/ + (D7 +
%
& %&$%
& E+
1620 Time constant (T) for linear acceleration/deceleration or time constant (T1)
for bell-shaped acceleration/deceleration for rapid traverse along each axis
)
3
&
<
) (7
Specify the rapid traverse acceleration/deceleration time constant along each axis.
- 826 -
B-63323EN-1/03 9.SPINDLE FUNCTION
"
3
&
9/ %9/)9 %
,
&
&
%
&
%
<
) "
&
%
)
':
C%
%
(/ + (D??????+???
Specify the FL feedrate for linear or bell-shaped acceleration/deceleration or rapid
traverse along each axis.
NOTE
After this parameter has been set, the power must be off turned off then
back on for the setting to become effective.
)
3
&
+>
<
)
&?=
#7 #6 #5 #4 #3 #2 #1 #0
2203 MCN
- 827 -
9.SPINDLE FUNCTION B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
5605 IOR
)
<
) =(?B
, &&&
&&&
&)
NOTE
- When this parameter is set to 0, all spindle positioning functions
for the spindle are disabled.
- M00 to M05, M30, M98, and M99 cannot be set.
- No other M codes for the spindle positioning function can be
set at the same time.
- M codes used for other functions cannot be set at the same
time.
)
<
) =(?B
, && )
%&
&)&&
&
&)+
NOTE
- M00 to M05, M30, M98, and M99 cannot be set.
- No other M codes for the spindle positioning function can be
set at the same time.
- M codes used for other functions cannot be set at the same
time.
- 828 -
B-63323EN-1/03 9.SPINDLE FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
5809 IOE AIT
08
$%
%
&'&'('(
& 5&
&
&)+
- '+
- ;'+
)
3
&
&
<
) (4B=B
Set the number of pulses of the position coder.
5851 Number of teeth on the position coder gear in the servo mode (first stage)
)
<
) (4B=B
%'&
%&
%&
& &)
%&&
)
)/&
&)/&&
%
)+
5852 Number of teeth on the spindle gear in the servo mode (first stage)
)
<
) (4B=B
%'&
%&
%)
%&&)
)/&
&)/&&
%
)+
- 829 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
3
&
&
<
) (????(????
' 5% &
&
%&&)
)/
&
&)/&&
%
)+
5854 Number of teeth on the position coder gear in the servo mode (second stage)
)
<
) (4B=B
%'&
%&
%&
& &)
%&&
)
)/&
&)/&&
% &
)+
5855 Number of teeth on the spindle gear in the servo mode (second stage)
)
<
) (4B=B
%'&
%&
%)
%&&)
)/&
&)/&&
% &
)+
)
3
&
&
<
) (????(????
' 5% &
&
%&&)
)/
&
&)/&&
% &
)+
5857 Number of teeth on the position coder gear in the servo mode (third stage)
)
<
) (4B=B
%'&
%&
%&
& &)
%&&
)
)/&
&)/&&
%
%
)+
- 830 -
B-63323EN-1/03 9.SPINDLE FUNCTION
5858 Number of teeth on the spindle gear in the servo mode (third stage)
)
<
) (4B=B
%'&
%&
%)
%&&)
)/&
&)/&&
%
%
)+
)
3
&
&
<
) (????(????
' 5% &
&
%&&)
)/
&
&)/&&
%
%
)+
5860 Number of teeth on the position coder gear in the servo mode (fourth stage)
)
<
) (4B=B
%'&
%&
%&
& &)
%&&
)
)/&
&)/&&
%&
%
)+
5861 Number of teeth on the spindle gear in the servo mode (fourth stage)
)
<
) (4B=B
%'&
%&
%)
%&&)
)/&
&)/&&
%&
%
)+
)
3
&
&
<
) (????(????
' 5% &
&
%&&)
)/
&
&)/&&
%&
%
)+
- 831 -
9.SPINDLE FUNCTION B-63323EN-1/03
5863 Number of teeth on the position coder gear in the servo mode (fifth stage)
)
<
) (4B=B
%'&
%&
%&
& &)
%&&
)
)/&
&)/&&
%
%
)+
5864 Number of teeth on the spindle gear in the servo mode (fifth stage)
)
<
) (4B=B
%'&
%&
%)
%&&)
)/&
&)/&&
%
%
)+
)
3
&
&
<
) (????(????
' 5% &
&
%&&)
)/
&
&)/&&
%
%
)+
5866 Number of teeth on the position coder gear in the servo mode (sixth stage)
)
<
) (4B=B
%'&
%&
%&
& &)
%&&
)
)/&
&)/&&
%
%
)+
5867 Number of teeth on the spindle gear in the servo mode (sixth stage)
)
<
) (4B=B
%'&
%&
%)
%&&)
)/&
&)/&&
%
%
)+
- 832 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
3
&
&
<
) (????(????
' 5% &
&
%&&)
)/
&
&)/&&
%
%
)+
5869 Number of teeth on the position coder gear in the servo mode (seventh
stage)
)
<
) (4B=B
%'&
%&
%&
& &)
%&&
)
)/&
&)/&&
%
%
)+
5870 Number of teeth on the spindle gear in the servo mode (seventh stage)
)
<
) (4B=B
%'&
%&
%)
%&&)
)/&
&)/&&
%
%
)+
)
3
&
&
<
) (????(????
' 5% &
&
%&&)
)/
&
&)/&&
%
%
)+
5872 Number of teeth on the position coder gear in the servo mode (eighth stage)
)
<
) (4B=B
%'&
%&
%&
& &)
%&&
)
)/&
&)/&&
%)%
%
)+
- 833 -
9.SPINDLE FUNCTION B-63323EN-1/03
5873 Number of teeth on the spindle gear in the servo mode (eighth stage)
)
<
) (4B=B
%'&
%&
%)
%&&)
)/&
&)/&&
%)%
%
)+
)
3
&
&
<
) (????(????
' 5% &
&
%&&)
)/
&
&)/&&
%)%
%
)+
)
3
&
&
<
) (????????
%&&)
)/&
&)/
&&
%)&
& &+
5876 Positional deviation limit during movement in the servo mode using a
position coder
)
3
&
&
<
) (????????
&
&
&
)&
%&&
)
)/&
&)/&&
%)&
& &+
5877 Positional deviation limit during a stop in the servo mode using a position
coder
)
3
&
&
<
) (????????
Set a positional deviation limit during a stop in the servo mode (rigid tapping,
spindle positioning) using a position coder.
- 834 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
<
) (7
&
&2
&
%&
&)+
D
/
)9 )&
&
&
&
&+
D
/&
&2
%&
&
/& &
&&
%2 /&
&
&
&+
4 D
)
<
) =(?B
Set an M code (start) specifying the semi-fixed angular positioning of the spindle
positioning axis.
NOTE
- When specifying an M code for semi-fixed angular positioning,
use parameter No. 5896 and No. 5897.
- M00 through M05, M30, M98, and M99 cannot be used.
- No other M codes for the spindle positioning function can be set at
the same time.
- M codes used for other functions cannot be set at the same time.
- 835 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
<
) =(?B
, & )
%()&
&)&
%
&
&)+
NOTE
- When specifying an M code for semi-fixed angular positioning,
use parameter No. 5896 and No. 5897.
- M00 through M05, M30, M98, and M99 cannot be used.
- No other M codes for the spindle positioning function can be
set at the same time.
- M codes used for other functions cannot be set at the same
time.
M code +1 +2 +3 ...
Angular 2 3 4 ... (-+1)
displacement
6,
$%
%
%&
&)&
&
&
%
&&
&$%&)+
-
&
- ,
&
- 836 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
3
&
+ 9
<
) (????
&)&
&)
%&&)
)/
&
&)/&&
%+ 8%&
&)&
)&
&))
)+
)
<
) (4B=B
%&
&)
&
%&)&)
%
&&)
)/&
&)/&&
%+
&
&)
*:&'
&
%&&$)2
&-
2048000 360 PC E
GC =
PLS SP L
- #'&&
&
%&
& &9
- #'&)
%&
%
- #'&)
%&
%&
& &
-
&
)<&
)
%&
&
- 0)
&
%)&
&
&
&
;- .&
%&
&)
&)'&$/*:
&&$-
G7 ?=9
G
G
G+<
G4= )
- 837 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
3
&
<&
<
) (> (>
Set the drift compensation value of the analog spindle for gear 1 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
)
<
) (4B=B
Set the position gain multiplier of the analog spindle for gear 2 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
2048000 360 1 2.2
GC = = 1100
4096 1 360
Note)
On the assumption that the spindle motor used turns at 4500 rpm at 10 V, 2.2
V is required to turn the spindle motor at 1000 rpm.
- 838 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
3
&
<&
<
) (> (>
Set the drift compensation value of the analog spindle for gear 2 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
)
<
) (4B=B
Set the position gain multiplier of the analog spindle for gear 3 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
2048000 360 1 2.2
GC = = 1100
4096 1 360
Note)
On the assumption that the spindle motor used turns at 4500 rpm at 10 V, 2.2
V is required to turn the spindle motor at 1000 rpm.
- 839 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
3
&
<&
<
) (> (>
Set the drift compensation value of the analog spindle for gear 3 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
)
<
) (4B=B
Set the position gain multiplier of the analog spindle for gear 4 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
2048000 360 1 2.2
GC = = 1100
4096 1 360
Note)
On the assumption that the spindle motor used turns at 4500 rpm at 10 V, 2.2
V is required to turn the spindle motor at 1000 rpm.
- 840 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
3
&
<&
<
) (> (>
Set the drift compensation value of the analog spindle for gear 4 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
)
<
) (4B=B
Set the position gain multiplier of the analog spindle for gear 5 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
2048000 360 1 2.2
GC = = 1100
4096 1 360
Note)
On the assumption that the spindle motor used turns at 4500 rpm at 10 V, 2.2
V is required to turn the spindle motor at 1000 rpm.
- 841 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
3
&
<&
<
) (> (>
Set the drift compensation value of the analog spindle for gear 5 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
)
<
) (4B=B
Set the position gain multiplier of the analog spindle for gear 6 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
- 842 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
3
&
<&
<
) (> (>
Set the drift compensation value of the analog spindle for gear 6 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
)
<
) (4B=B
Set the position gain multiplier of the analog spindle for gear 7 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
- 843 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
3
&
<&
<
) (> (>
Set the drift compensation value of the analog spindle for gear 7 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
)
<
) (4B=B
Set the position gain multiplier of the analog spindle for gear 8 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
- 844 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
3
&
<&
<
) (> (>
Set the drift compensation value of the analog spindle for gear 8 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
"
3
&
)9
,
&
&
%
&
%
<
) "
&
%
)
':
C%
%
(/ + (D7 +
&&)&
&
%&&
)
)/&
&)/&&
%+
NOTE
Set a rapid traverse rate so that the quantity of errors is within a
range from 128 pulses to 1024 pulses.
)
3
&
<
) (7
&
&&)&
&
%&&
)
)/&
&)/&&
%+
- 845 -
9.SPINDLE FUNCTION B-63323EN-1/03
"
3
&
)9
,
&
&
%
&
%
<
) "
&
%
)
':
C%
%
(/ + (D7 +
.1
&&)&
&
%&&)
)/&
&)/&&
%+
NOTE
Set an FL feedrate rate so that the quantity of errors is within a
range from the effective area to 1024 pulses.
)
3
&
&
<
) ( 7( 7
)%
&
%&
&
&&
&&
%&)
%&&)
)/&
&)/&
&
%+
7
<6
&& &
&
&&)
)/
&
&)/&&
%
- 8%
&
% &
& &
& 5$$
&
%&
&&
+
- 8%
&
% &
& & 5$$&
%&
&&
+
NOTE
The orientation (reference position return) direction of
spindle positioning using a serial spindle depends on
the specification of this parameter.
- 846 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
3
&
+ 9
<
) (4B=B
%&&
&)&
%&
&&&
%%)%()
&&)
)/&
&)/&&
%+
)
3
&
+ 9
<
) (4B=B
%&&
&)&
%&
&&&
%&$()
&&)
)/&
&)/&&
%+
)
3
&
+ 9
<
) (4B=B
%
))&
%&
&&&
%%)%()&
&)
)/&
&)/&&
%+
)
3
&
+ 9
<
) (4B=B
%
))&
%&
&&&
%&$()&
&)
)/&
&)/&&
%+
- 847 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
3
&
,&
&&
&F
<
) (4B=B
)
&'
$
%&
&&
%%)%(
)+
%)&
%
&&)
&
%
%9))+
)
3
&
,&
&&
&F
<
) (4B=B
)
&'
$
%&
&&
%
%)%()+
%)&
%
&&)
&
%
%9))+
)
3
&
,&
&&
&F
<
) (4B=B
)
&'
$
%&
&&
%
&$()+
%)&
%
&&)
&
%
%9))+
)
3
&
,&
&&
&F
<
) (4B=B
)
&'
$
%&
&&
%&$(
)+
%)&
%
&&)
&
%
%9))+
- 848 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
3
&
+ 9
<
) (4B=B
%&
&)&
%%)%()&&)
)/
&
&)/&&
% %&H
& &
&&+
)
3
&
+ 9
<
) (4B=B
%&
&)&
%%)%()&&
)
)/&
&)/&&
% %&H
&
&
&&+
)
3
&
+ 9
<
) (4B=B
%&
&)&
%&$()&&)
)/&
&)/&&
% %&H
& &
&
&+
)
3
&
+ 9
<
) (4B=B
%&
&)&
%&$()&&)
)/
&
&)/&&
% %&H
& &
&&+
- 849 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
3
&
&
<
) (7 ?=
%
&%
% &
&&&)
)/
&
&)/&&
%+
- PS alarm
Number Message Contents
PS0181 ZERO RETURN NOT FINISHED A move instruction was issued to an axis in which the zero
return instruction was instructed once after the power was
turned ON.
Execute operation after zero return by manual operation or
the G28 code.
This alarm can be suppressed for the machine-locked axis
by setting parameter No. 1200#6 is set to "1".
PS0509 DUPLICATE M-CODE (SPOS AXIS A function to which the same code as this M code is set
ORIENTATION) exists.
(spindle positioning, orientation)
PS0510 DUPLICATE M-CODE (SPOS AXIS A function to which the same code as this M code is set
POSITIONING) exists.
(spindle positioning, positioning)
PS0511 DUPLICATE M-CODE (SPOS AXIS A function to which the same code as this M code is set
RELEASE) exists.
(spindle positioning, mode cancel)
PS0543 ILLEGAL GEAR SETTING The gear ratio between the spindle and position coder, or the
set position coder number of pulses is illegal in the spindle
position function and the rigid tapping function.
PS0548 ILLGAL AXIS MODE The spindle positioning axis/Cs contour control axis was
specified during switching of the controlled axis mode.
PS0551 DUPLICATE SPOS AXIS COMMAND Two or more axes were specified on a single spindle
positioning axis. (e.g. positioning by an M code or positioning
by an axis address)
PS0552 SPOS AXIS - OTHER AXIS SAME The spindle positioning axis and another axis are specified in
TIME the same block.
PS0553 SPOS AXIS ILLEGAL SEQUENCE Operation sequence pattern setting parameter No. 5895 for
NUMBER spindle positioning is out of range.
PS0555 SPOS AXIS DUPLICATE AXIS The spindle positioning instruction has been issued to a
COMMAND spindle that is currently moving or which the instructed
spindle positioning sequence has not completed.
- SP alarm
Number Message Contents
SP0224 ILLEGAL SPINDLE-POSITION The spindle-position coder gear ratio was incorrect.
CODER GEAR RATIO
SP0231 SPINDLE EXCESS ERROR The position deviation during spindle rotation was greater
(MOVING) than the value set in parameters.
SP0232 SPINDLE EXCESS ERROR (STOP) The position deviation during spindle stop was greater than
the value set in parameters.
SP0233 POSITION CODER OVERFLOW The error counter/speed instruction value of the position
coder overflowed.
SP0234 GRID SHIFT OVERFLOW Grid shift overflowed.
- 850 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Caution
CAUTION
1. During the operations required for spindle
positioning (operations for canceling spindle rotation
mode and entering spindle positioning mode,
operations for positioning the spindle in spindle
positioning mode, and operations for canceling the
spindle positioning mode then entering spindle
rotation mode), automatic operation stop signal *SP
is ignored. Even when the *SP signal is set to 0,
automatic operation is not halted until all the
sequence is completed.
2. Dry run and machine lock are disabled during
spindle positioning.
3. For M codes for the spindle positioning function,
auxiliary function lock is disabled.
4. The spindle positioning axis is handled as one of the
controlled axes. Therefore, signals related to
controlled axes (such as the overtravel signal) must
be set.
5. When using an analog spindle, set the drift
compensation parameters (parameter Nos. 5962 to
5976) accurately. If the drift compensation value is
not appropriate, the following phenomena may
occur during spindle orientation and spindle
positioning:
- The spindle is stopped in the in-position wait state.
- The spindle position is shifted (the spindle does
not reach a specified position or passes a
specified position).
6. For the spindle positioning axis, CMR = 1 and DMR
= 4 are always set.
- 851 -
9.SPINDLE FUNCTION B-63323EN-1/03
CAUTION
7. For the spindle positioning axis, set the following
parameters as axis attributes:
1 The increment system is IS-B (0.001 deg).
Bit 0 (ISA) of parameter No. 1012 = 0
Bit 1 (ISC) of parameter No. 1012 = 0
Bit 2 (ISD) of parameter No. 1012 = 0
Bit 3 (ISE) of parameter No. 1012 = 0
2 The grid method is used for reference position
return.
Bit 1 (ZMG) of parameter No. 1005 = 0
3 In automatic reference position return (G28),
return to the reference position is performed in
positioning (rapid traverse) mode.
Bit 2 (ALZ) of parameter No. 1005 = 04
When manual reference position return is
performed, the workpiece coordinate system is
always preset.
Bit 3 (PLZ) of parameter No. 1005 = 1
5 Axis not requiring inch/metric switching (rotation
axis)
Bit 0 (ROT) of parameter No. 1006 = 1
6 The machine coordinate system for stroke check
and automatic reference position return is of the
rotation axis type.
Bit 1 (ROS) of parameter No. 1006 = 1
7 The machine coordinate system for stored pitch
error compensation is of the rotation axis type.
Bit 2 (ROP) of parameter No. 1006 = 1
8 Travel distance on each axis is specified in radius
specification mode.
Bit 3 (DIA) of parameter No. 1006 = 0
9 Command multiply = 1
Parameter No. 1820 = 2
10 The machine position on the indicator is indicated
in degrees.
Bit 1 (MCN) of parameter No. 2203 = 1
11 The travel distance per rotation about the rotation
axis is 360 .
Parameter No. 1260 = 360000
- 852 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Note
NOTE
1. An M code related to spindle positioning must be
specified in a block containing no other commands.
In that block, no other commands may be specified.
2. An axis address for spindle positioning must be
specified in a block containing no other commands.
In the same block, no commands other than the
following may be specified:
G00, G90, G91, G92, G10
3. Spindle positioning cannot be performed manually.
4. Neither program restart nor block restart can be
performed for spindle positioning. Use MDI
commands.
5. For a spindle positioning axis, the stored stroke limit
check function is disabled.
6. A spindle positioning axis does not allow axis
removal.
7. The pitch error compensation function is disabled
with a serial spindle. For an analog spindle, the
stored pitch error compensation function only is
enabled.
8. When settings are made so that orientation
operation is omitted, the pitch error compensation
function is disabled. The reference position return
completion signal is not set to 1.
9. In orientation, a check for all-axes interlock/axis-by-
axis interlock is made only at the start of a block.
The input of the signal during block execution is
ignored.
Axis-by-axis interlock is enabled or disabled by bit 0
(AIT) of parameter No. 5809.
Caution
CAUTION
When the rigid tapping function is used together with
the spindle positioning function, rigid tapping mode
must not be specified in spindle indexing mode, and
spindle indexing must not be specified in rigid
tapping mode. (Positioning and rigid tapping for the
same spindle cannot be performed at the same
time.)
- 853 -
9.SPINDLE FUNCTION B-63323EN-1/03
Reference item
Series15i/150i- Connection Manual 8.1 Miscelaneous
MODEL A (This manual) function/second
auxiliary function
9.2 Spindle serial
output/analog output
9.3 Spindle control
FANUC SERVO AMPLIFIER series B-65162E
Descriptions
FANUC AC SPINDLE MOTOR series B-65160E
Parameter Manual
- 854 -
B-63323EN-1/03 9.SPINDLE FUNCTION
General
A spindle motor controlled by the spindle serial output function is
called a serial spindle.
For a serial spindle, positioning and interpolation with other servo axes
can be performed. In other words, linear interpolation, circular
interpolation, and so forth can be specified between the spindle and
servo axis.
Cs contour control can be applied simultaneously to up to four
spindles.
Limitation
- Increment system
Use the IS-B setting for the least input increment.
- Command multiplication
Set 2 (one time) for the command multiplication.
- Reference position return
Specify that the workpiece coordinate system is always preset at
manual reference position return.
Explanation
For a serial spindle, positioning and interpolation between another
servo axis and Cs contour control axis can be performed. In other
words, linear interpolation, circular interpolation, and so forth can be
specified between a Cs contour control axis and servo axis and between
Cs contour control axes.
Rotating a serial spindle with a velocity command is referred to as
spindle rotation control. Controlling the position of a spindle with a
move command is referred to as Cs contour control.
Switching between spindle rotation control and Cs contour control is
performed by the DI signal from the PMC.
Manual and automatic operation for Cs contour control axes are
performed in Cs contour control mode in the same way as for normal
servo axes.
(For an explanation of reference position return operation, see the
explanation of reference position return in this section.)
Command address
Any address can be selected for a Cs contour control move command.
The value set for parameter No. 1020 is used as the axis name.
- 856 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 857 -
9.SPINDLE FUNCTION B-63323EN-1/03
Signal
Cs contour control mode switching signalsSCNTR1, SCNTR2, SCNTR3, ... <G067#7, G071#7,
G075#7, ...>
[Classification] Input signal
[Function] These signals are used to switch between spindle rotation control mode
and Cs contour control mode.
These signals are provided for axes on a one-to-one correspondence. A
number appended to a signal name represents a controlled axis number.
Use the signal with the controlled axis number of a Cs contour control
axis.
SCNTRx : x:1 ... Cs contour control mode switching signal for the first axis
2 ... Cs contour control mode switching signal for the second axis
3 ... Cs contour control mode switching signal for the third axis
[Operation] When this signal is set to "0," spindle rotation mode is set. When it is
set to "1," Cs contour control mode is set. Before switching from Cs
contour control mode to spindle rotation control mode, confirm that the
move command for the spindle has terminated completely. The spindle
can be switched from spindle rotation control mode to Cs contour
control mode while it is rotating.
- 858 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Use the signal with the controlled axis number of a Cs contour control axis.
MSCNTRx
x: 1 ... Cs contour control mode switching confirmation signal
for the first axis
2 ... Cs contour control mode switching confirmation signal
for the second axis
3 ... Cs contour control mode switching confirmation signal
for the third axis
[Output condition] When Cs contour control mode is set, this signal is set to "1." When
spindle rotation control mode is set, the signal is set to "0."
Timing chart
SCNTR
MSCNTR
NOTE
1 Before the SCNTR signal is switched to the Cs
contour control side, gear switching required for Cs
contour control must be complete (mechanical
switching and CTH1A, CTH2A, ... input).
2 If the spindle motor is not ready to operate, a servo
alarm such as an excess error may occur (perform
required serial spindle control signal operations such
as SFRA and SRVA<G227#5 and #4> in advance).
- 859 -
9.SPINDLE FUNCTION B-63323EN-1/03
Serial spindle clutch/gear signals CTH1A, CTH2A<G227#3, #2>: for 1st spindle
CTH1B, CTH2B<G235#3, #2>: for 2nd spindle
CTH1C, CTH2C<G211#3, #2>: for 3rd spindle
CTH1D, CTH2D<G219#3, #2>: for 4th spindle
[Classification] Input signal
[Operation] When a serial spindle is used, this signal posts information about the
spindle gear being used to the CNC. The signal states and the
corresponding gear selection states are listed below.
These signals determine which parameter (such as the loop gain) for
each gear is to be used. Do not change these signals in Cs contour
control mode.
- 860 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G067 SCNTR1
F064 ZP1
F067 MSCNTR1
Parameter
Main related parameters are shown below.
In addition, parameters related to feedrates for axes,
acceleration/deceleration, display, and so forth are available.
#7 #6 #5 #4 #3 #2 #1 #0
1005 PLZ ALZ ZMG ZRN
!"#
$%
%
& &
&
%&
'& &$(&
&
&&)&
&
%
%
%
$
%*)
&
&
&+
0: Issue an alarm ("PS181 ZERO RETURN NOT FINISHED").
1: Do not issue an alarm but execute operation.
For the Cs contouring axis which does not need the reference position return, set 1.
- 861 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
%$&5 &&
$%
&
&
&+
0: Preset only when in reset state (e.g. OP signal is off).
1: Always preset.
See ZNP, bit 2 of parameter No. 2402, which is common to all axes.
For the Cs contouring axis, set 1.
#7 #6 #5 #4 #3 #2 #1 #0
1006 DIA ROP ROS ROT
"68
$%
%
%2 %9
&&+
0: Axis requires inch/metric conversion (linear axis).
1: Axis does not require inch/metric conversion (rotation axis).
For the Cs contouring axis, set 1.
If bit 5 (PDC) of parameter No. 1001 is 1, DIA has the following meaning:
The scale of the parameter, offset, and graphic screens is indicated using:
0: Radius specification
1: Diameter specification
For the Cs contouring axis, set 0.
- 862 -
B-63323EN-1/03 9.SPINDLE FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
1012 ISE ISD ISC ISA
0
:
4
;
& %
4
;
:
0
(0
(
(:
(
(;
8%: &
&)$
+
&/
0
&
;
- 863 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
<
) =>(?
The programmed axis name of each controlled axis is set according to the following
table:
NOTE
1 When the option for tool axis direction tool length compensation
is provided, always set the A, B, or C value.
2 When the axis name extension function (option) is used, the
following addresses can be used as axis names:
)
<
) (
Specify the number of the servo axis that corresponds to each control axis.
Normally, set each servo and control axis to the same numbers.
- 864 -
B-63323EN-1/03 9.SPINDLE FUNCTION
NOTE
After this parameter has been set, the power must be off turned off then
back on for the setting to become effective.
)
<
) I7
8%
/ &J
&$
%
#&+ 4/
&
%
'
& % &
&+ C% &
&
&''J
&: &
& &
&/
%'
%
%
%&
&'
%
+ 8%&&$)
&
&
%
)&
%
+
-For controlled axes not to be subjected to Cs contour control, the parameter must
be reset to 0.
-It is impossible to assign one spindle to more than one controlled axis.
-It is possible to set up as many Cs contour controlled axes as the number of
spindles.
-Axis assignment for Cs contour must begin at the largest axis number and proceed
sequentially to a lower axis number.
Example of setting 1) Servo axes: X, Y, Z
Cs contour controlled axis: C(S1)
Number of spindles: 1
Controlled Parameter Parameter Parameter
axis number 1020 1023 1028
1 @ 1 0
2 89 A 2 0
3 90 ! 3 0
4 67 ( C ) 0 1
Example of setting 2) Servo axes: X, Z
Cs contour controlled axes: C(S1), B(S2)
Number of spindles: 2
Controlled Parameter Parameter Parameter
axis number 1020 1023 1028
1 @ 1 0
2 90 ! 2 0
3 67 : 0 1
4 66 ( B ) 0 2
NOTE
Automatic setting on the FSSB setting screen affects this
parameter.
- 865 -
9.SPINDLE FUNCTION B-63323EN-1/03
"
3
&
)
,
&
&
%
&
%
<
) &&
?)
&
&
&
%
)
'
C%
%
(/ + (D??????+???
Set the value of movement of one rotation of a rotary axis.
"
3
&
9/ %9/)9 %
,
&
&
%
&
%
<
) "
&
%
)
':
C%
%
(/ + (D??????+???
%
& %&$%
& E+
1620 Time constant (T) for linear acceleration/deceleration or time constant (T1)
for bell-shaped acceleration/deceleration for rapid traverse along each axis
)
3
&
<
) (7
Specifies a rapid traverse acceleration/deceleration time constant for a Cs contour
controlled axis.
- 866 -
B-63323EN-1/03 9.SPINDLE FUNCTION
"
3
&
9/ %9/)9 %
,
&
&
%
&
%
<
) "
&
%
)
':
C%
%
(/ + (D??????+???
Specify the FL feedrate for linear or bell-shaped acceleration/deceleration or rapid
traverse along each axis.
NOTE
When the feedrate is decelerated to the value set in this parameter at
any point regardless of whether during a linear or nonlinear feedrate
increase, the tool moves at that feedrate for the remaining distance
then stops.
#7 #6 #5 #4 #3 #2 #1 #0
1804 CNT
)
3
&
+>
<
)
&?=
- 867 -
9.SPINDLE FUNCTION B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
2203 MCN
.&
%: &
&)/
+
#7 #6 #5 #4 #3 #2 #1 #0
3000 CSO
4 :
6
&& &
&
: &
& &
&&
- 8%
&
% &
& &
& 5$
$&
%&
&&
+
- 8%
&
% &
& & 5$$&
%&
&&
+
)
3
&
)
3
&
+ 9
<
) (4B=B
Set the proportional gain of the velocity loop in Cs contour control mode.
- 868 -
B-63323EN-1/03 9.SPINDLE FUNCTION
)
3
&
+ 9
<
) (4B=B
Set the integral gain of the velocity loop in the Cs contour control mode.
)
3
&
+ 9
<
) (4B=B
Set the position gain in Cs contour control mode.
)
3
&
)
3
&
- 869 -
9.SPINDLE FUNCTION B-63323EN-1/03
3105 Proportional gain data of the current loop in Cs contour control mode
3107 Integral gain data of the current loop in Cs contour control mode
)
3135 Grid shift in Cs contour control mode
)
3
&
&
<
) C
%D&&
&&/(4=
&4= $%
%
&
+
%)%
: &
& &
&&
&
%&(&
&)
&
% %H&&
+
3162 Integral gain of the velocity loop in Cs contour control cutting feed mode
(high-speed gear)
3163 Integral gain of the velocity loop in Cs contour control cutting feed mode
(low-speed gear)
)
#7 #6 #5 #4 #3 #2 #1 #0
5609 NGC
#*:
$%
%
%&
&)&
%: &
& &
&
: &
& &
&
&
&&
%&+
-
&
+
- #&
&
+
- 870 -
B-63323EN-1/03 9.SPINDLE FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
5821 STJ
8K
$%
&
&
)
%: &
& &
&
&
%
&
&+
- 0
&)
&
- 0
/)
&/&$%
%
&
&
)
&L +L
5843 Number of pulses of the position detector for a Cs contour control axis
NOTE
After this parameter has been set, the power must be off turned off then
back on for the setting to become effective.
)
3
&
&
<
) (??????
%'&&
%&
&
&&: &
& &
&
+
)
3
&
&
<
) (????????
: &
& &
&+
)
3
&
&
<
) (????????
&
&
&
)&
: &
&
&
&+
- 871 -
9.SPINDLE FUNCTION B-63323EN-1/03
)
3
&
&
<
) (????????
&
&
&
)
&: &
& &
&+
)
3
&
&
<
) (????????
&
&
&
)&(&: &
&
&
&+
Displaying the positional deviation and other data for a Cs contour control axis
The positional deviation and other data can be checked on the spindle
screen for monitoring the operation status.
For details, refer to "FANUC Series 15i/150i-MODEL A Maintenance
Manual" (B-63325EN).
- 872 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Caution
CAUTION
1 In Cs contour control mode, do not switch the spindle
gear. Switch the spindle gear in spindle rotation control
mode when required.
2 Straightness compensation and gradient
compensation
These functions are invalid for Cs contour control axes.
3 The following functions are not supported for Cs
contour control axes:
- Index table indexing
- Synchronization control
- Axis switching
- Axis control using the PMC
- Polar coordinate command
4 Removal of controlled axis in Cs contour control mode
When a Cs contour control axis is removed, the spindle
enters spindle rotation control mode. For this reason,
do not remove any controlled axis.
5 A parameter related to axis control such as the
acceleration/deceleration time constant for a Cs
contour control axis in Cs contour control mode does
not become valid immediately after it is changed. Such
a parameter becomes valid after Cs contour control
mode is canceled once, then set again.
6 When automatic setting of the position gain upon
switching to Cs contour control is set (NGC, bit 0 of
parameter No. 5609, is set to 0), parameter No. 3069 to
3072 for the loop gains corresponding to the selected
spindle gear do not become valid immediately after
being changed.
To validate these parameters, cancel the Cs contour
control mode once, then set the mode again. However,
when there are two or more Cs contour control axes,
the new values are compared during selection of the
minimum value among the selected position gains.
Reference item
FANUC SERVO AMPLIFIER series 11.6 Cs contour control
Descriptions (B-65162E)
FANUC AC SPINDLE MOTOR series 2.4 Cs contour control
Descriptions (B-65152E)
FANUC SERVO MOTOR series
Maintenance Manual (B-65165E)
- 873 -
9.SPINDLE FUNCTION B-63323EN-1/03
General
In tapping, the feed amount along the Z-axis per spindle rotation must
equal the thread pitch of the tapper. Therefore, the most desirable
tapping satisfies the following equation:
P = F/S
where, P: Thread pitch of the tapper (mm, inch)
F: Z-axis feedrate (mm/min, inch/min)
S: Spindle speed (rpm)
In the tapping cycle (G84) and reverse tapping cycle (G74), spindle
rotation and Z-axis feed are controlled independently. This means that
the above equation is not always satisfied. At the bottom of a hole, in
particular, spindle rotation and Z-axis feed both decelerate and stop,
then start moving and accelerate in the opposite direction. Since
spindle rotation and Z-axis feed accelerate/decelerate independently, it
is generally difficult to satisfy the above equation. For accurate
tapping, a spring is generally installed inside the holder of the tapper to
provide compensation.
With the rigid tapping cycle (G84.2) and reverse rigid tapping cycle
(G84.3), spindle rotation and Z-axis feed are controlled so that they are
always synchronized. In normal operation, the spindle rotation is
controlled to achieve the desired speed. In rigid tapping, on the other
hand, the spindle rotation is controlled considering the position also.
Spindle rotation and Z-axis feed are therefore controlled based on
two-axis linear interpolation. As a result, the equation P = F/S can also
be satisfied during deceleration and acceleration near the bottom of the
hole, thus enabling accurate tapping.
Use G84.2 for specifying the rigid tapping cycle, and G84.3 for the
reverse rigid tapping cycle.
The explanation given in this section assumes the tapping axis to be the
Z-axis. In actual operation, whether the tapping axis is always set to the
Z-axis or set to a programmed axis can be specified with bit 0 (FXY) of
parameter No. 6200.
- 874 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Spindle
control
- 875 -
9.SPINDLE FUNCTION B-63323EN-1/03
Spindle
motor
Note the following points when performing rigid tapping for a machine
having multiple gears.
Using the PMC, determine whether gears need changing, and make the
change if CNC of them.
To perform rigid tapping with the serial spindle, enter the clutch/gear
selection signals. Notify the serial spindle control unit of these signals
via the CNC.
Regardless of the options 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:
- 876 -
B-63323EN-1/03 9.SPINDLE FUNCTION
NOTE
This table shows an example of three gears. L%
indicates a spindle motor protection constant (up to
100).
Set the spindle speed range for each gear during rigid tapping as listed
in the table below.
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.
- 877 -
9.SPINDLE FUNCTION B-63323EN-1/03
- Feed rate
In rigid tapping mode, the tapping axis is fed at a rate specified by F;
the spindle speed is S times 360(deg/min). Override is invalid for both
of them.
The speed of extraction can be overridden by 1% to 200% depending
on the override value set in parameter No. 5883.
CAUTION
The thread pitch of the tapper must equal the pitch (F,
S) specified in a program. If they do not match, the
tool or workpiece may be damaged.
Acceleration/ Acceleration/
deceleration deceleration
time time
TC TC
S S command S S command
- 878 -
B-63323EN-1/03 9.SPINDLE FUNCTION
TC4 TC4
TC3 TC3
TC2 TC2
TC1 TC1
S1 S2 S3 S command S1 S2 S3 S command
rpm
4000
- 879 -
9.SPINDLE FUNCTION B-63323EN-1/03
- Override
Override is invalid for rigid tapping. Override (1 to 200%) can be
applied to withdrawal operations by setting parameter No. 5883.
- Dry run
Dry run is enabled. When dry run is applied to the feedrate of the
tapping axis, tapping is performed accordingly. Note that, as a higher
dry run feedrate is set, the spindle speed also becomes higher.
- Machine lock
Machine lock is enabled. When rigid tapping is executed in the
machine lock state, no movement is performed on the tapping axis.
Therefore, the spindle does not move.
- Interlock
Interlock is enabled.
Spindle stop
Initial level
Operation1
Operation6
Operation2
Spindle CW Spindle
P stop
Point R Point R level
Operation3 Operation5
: Rapid traverse
Point Z
P : Z axis feed
Operation4
Spindle stop Spindle CCW P : Dwell
- Reset
If a reset occurs during rigid tapping, rigid tapping mode is canceled,
and the spindle motor enters normal mode.
- Manual feed
Rigid tapping cannot be performed in the manual feed mode.
- 880 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- Backlash compensation
In rigid tapping mode, backlash compensation is performed to
compensate for lost motion upon forward and reverse spindle rotation.
Set the amount of backlash compensation in parameter Nos. 5853 to
5874. For the tapping axis, backlash compensation is always
performed.
- Orientation
When the orientation function is used, the orientation stop position can
be shifted using the grid shift function. For analog spindles, the
position can be shifted within a range of 180 degrees depending on the
setting made in parameter No. 5980. For serial spindles, the position
can be shifted within the range 0 to 360 degrees depending on the
setting made in parameter No. 3073.
- Orientation speed
When an analog spindle is used, movement is made at a rapid traverse
rate set in parameter No. 5977 until a speed that allows orientation is
reached. After a one-rotation signal is detected, orientation is
performed at the FL feedrate set in parameter No. 5979.
* Speed that allows orientation
Set the speed so that the following condition is satisfied:
F P
1024 pulses
60 G 0.088
F: Feedrate (deg/min)
G: Position gain (1/sec)
P: Gear ratio between the spindle and position coder
If the above condition is not satisfied, the one-rotation signal cannot be
detected, so the spindle continues moving at the rapid traverse rate.
* FL feedrate
Set the FL feedrate so that the following condition is satisfied:
FL: Feedrate (deg/min)
FL P
1024 Spindle effective area ( pulses)
60 G 0.088
G: Position gain (1/sec)
P: Gear ratio between the spindle and position coder
If the above condition is not satisfied, an accurate stop position cannot
be detected, so orientation is performed again starting from the rapid
traverse operation.
When a serial spindle is used, the orientation speed is determined by
the spindle.
When orientation is specified, a serial spindle stops immediately at the
orientation position; while an analog spindle first moves at a rapid
traverse rate then at the FL feedrate, then stops at the orientation
position. With serial spindles, therefore, the restriction imposed on the
lower limit of the rapid traverse rate setting to achieve the speed for
orientation, imposed when an analog spindle is used, is eliminated.
- 881 -
9.SPINDLE FUNCTION B-63323EN-1/03
Point I
G84.2 Change of the position gain for the
G80
/G84.3 tapping axis (Normal -> rigid tapping)
Change of the position gain for the
tapping axis (Rigid tapping -> normal)
Excessive error check by parameter
Point R No. 1828 (other than the tapping axis)
Excessive error check by parameter
No. 1828 (tapping axis)
Excessive error check by parameter
No. 1837 (tapping axis)
Point Z Point Z
- 882 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Command format
G84.2 X_ Y_ Z_ R_ P_ F_ L_ S_ ;
X_ Y_: Hole position data
Z_ : The distance from point R to the bottom of the hole and the position of
the bottom of the hole
R_ : The distance from the initial level to point R level
P_ : Dwell time at the bottom of the hole and at point R when a return is
made
F_ : Cutting feedrate
L_ : Number of repeats (Only for necessity of repeat)
S_ : Spindle speed
G84.2(G98) G84.2(G99)
Operation1
Operation6
Operation2 Spindle stop
Spindle CW
Spindle CW Spindle
P stop
Point R Point R level Point R Point R level
Operation3 Operation5
Point Z Point Z
P P
Operation4
Spindle stop Spindle CCW Spindle stop Spindle CCW
: Rapid traverse
: Z axis feed
P : Dwell
The rigid tapping mode cancel command is G80:. Rigid tapping cycle
mode is also canceled by issuing another canned cycle G code or group
01G code which cancels a tapping cycle. In addition, rigid tapping
mode is canceled by the input of a reset (by pressing the reset button or
by making an external reset).
The only difference between the rigid tapping cycle and the reverse
rigid tapping cycle (G84.3) is the direction of spindle rotation.
CAUTION
During cutting feed along the Z-axis, the feedrate
override is assumed to be 100%. However, the
extraction speed (operation 5) can be overridden by
1% to 200% depending on the setting made for
parameter No. 5883.
- 883 -
9.SPINDLE FUNCTION B-63323EN-1/03
G84.3 X_ Y_ Z_ R_ P_ F_ L_ S_ ;
X_ Y_: Hole position data
Z_ : The distance from point R to the bottom of the hole and the position of the bottom of the hole
R_ : The distance from the initial level to point R level
P_ : Dwell time at the bottom of the hole and at point R when return is made.
F_ : Cutting feedrate
L_ : Number of repeats (Only for necessity of repeat)
S_ : Spindle speed
G84.3(G98) G84.3(G99)
Operation3 Operation5
Point Z Point Z
P P
Spindle stop Spindle CW Spindle stop Spindle CW
Operation4
: Rapid traverse
: Z axis feed
P : Dwell
The rigid tapping mode cancel command is G80:. Rigid tapping cycle
mode is also canceled by issuing another canned cycle G code or group
01G code which cancels a tapping cycle. In addition, rigid tapping
mode is canceled by the input of a reset (by pressing the reset button or
by making an external reset).
The only difference between the rigid tapping cycle and the reverse
rigid tapping cycle (G84.2) is the direction of spindle rotation.
CAUTION
During cutting feed along the Z-axis, the feedrate
override is assumed to be 100%. However, the
extraction speed (operation 5) can be overridden by
1% to 200% depending on the setting made for
parameter No. 5883.
- 884 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- Orientation function
Operation 1 Operation 6
Spindle Spindle Spindle
Spindle orientation
orientation Operation 2 stop
Forward stop Forward
P spindle
spindle
rotation Point R R point level rotation Point R R point level
Operation 3 Operation 5
Point Z Point Z
P Reverse P Reverse
Spindle spindle Spindle spindle
stop Operation 4 rotation stop rotation
: Rapid traverse
: Z axis feed
P : Dwell
- 885 -
9.SPINDLE FUNCTION B-63323EN-1/03
CAUTION
1 The orientation function is enabled only when the
number of pulses from the position coder is 4096,
and the gear ratio between the spindle and position
coder is as follows:
n
1 : 2 (n: Integer not less than 0)
2 When a serial interface spindle is used, orientation is
performed in the direction set by bit 4 (SVO) of
parameter No. 3000, regardless of the sign specified
in I.
3 The orientation command is valid only when specified
in the first block that enters rigid tapping mode.
Orientation commands specified in the second and
subsequent blocks in rigid tapping mode are all
ignored.
- 886 -
B-63323EN-1/03 9.SPINDLE FUNCTION
d=retraction distance
Initial level
q (1) q (1)
(2) d (2) d
Point Z Point Z
: Rapid traverse
: Z axis feed
P : Dwell
Tapping a deep hole in rigid tapping mode may be difficult due to chips
sticking to the tool or increased cutting resistance. In such cases, the
peck rigid tapping cycle function can be specified. In this cycle, cutting
is performed several times from point R to point Z.
After positioning along the X-and Y-axes, rapid traverse is performed
to point R. From point R, cutting is performed with depth Q (depth of
cut for each cutting feed). Then, the tool is retracted by distance d set
in parameter No. 6221. The retraction can be overridden by the setting
made in parameter No. 5883. Once point Z has been reached, the
spindle is stopped, then rotated in the opposite direction for retraction.
(The only difference between G84.2 and G84.3 is the direction of
spindle rotation.)
- 887 -
9.SPINDLE FUNCTION B-63323EN-1/03
CAUTION
The peck rigid tapping cycle command is valid within
a block containing G84.2 (G84.3), or it is made valid
by specifying the Q command in rigid tapping or
reverse rigid tapping cycle mode.
Example:
To tap a tread with a lead of 1 mm at a spindle speed 1000 rpm in
feed-per-minute mode, specify the following (in feed-per-minute mode,
the thread lead is F/S):
G94 ; Feed-per-minute command
G00 X120.0 Y100.0 ; Positioning
G84.2 Z-100.0 R-20.0 F1000 S1000 ; Rigid tapping
To tap the same thread as mentioned above under the same condition in
feed-per-revolution mode, specify the following (in the feed-per-
revolution mode, the thread lead is F):
G95 ; Feed-per-revolution command
G00 X120.0 Y100.0 ; Positioning
G84.2 Z-100.0 R-20.0 F1 S1000 ; Rigid tapping
NOTE
1 In feed-per-revolution mode, distribution is performed
by conversion to a command for feed per minute. So,
strictly speaking, this mode is not feed per revolution
mode. If spindle rotation is stopped for some reason,
movement along the tapping axis (Z-axis) does not
stop.
- 888 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Signal
- 889 -
9.SPINDLE FUNCTION B-63323EN-1/03
G84.2(G98) G84.2(G99)
Operation1
Operation6
Operation2 Spindle stop
Spindle CCW
Spindle CCW Spindle
P stop
Point R Point R level Point R Point R level
Operation3 Operation5
: Rapid traverse
Point Z Point Z
: Z axis feed P P
Operation4
P : Dwell Spindle stop Spindle CCW Spindle stop Spindle CCW
G84.2(G98) G84.2(G99)
Operation1
Operation6
Operation2 Spindle stop
Spindle CCW
Spindle CCW Spindle
P stop
Point R Point R level Point R Point R level
Operation3 Operation5
: Rapid traverse
Point Z Point Z
: Z axis feed P P
Operation4
P : Dwell Spindle stop Spindle CCW Spindle stop Spindle CCW
- 890 -
B-63323EN-1/03 9.SPINDLE FUNCTION
CAUTION
Even when the status of the reverse spindle rotation
signal is changed in rigid tapping mode, the change is
ignored. To change the direction of the spindle
rotation, specify a cancel command (G80), change
the status of the reverse spindle rotation signal, then
specify the G84.2 or G84.3 command.
Example:
N09 G80 ;
N10 G91 G84.3 X10. Z10. R50. F100. S100 ;
N11 X20. Z-50. R-10. ;
N12 X30. Z-50. R-10. ;
:
:
N20 G80 ;
N21 G84.2 X10. Z-50. R-10. F100. S100 ;
N22 Z-100. ;
- 891 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 892 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Other signals
Signal address
G148 RSPR
F008 SF
F020 S7 S6 S5 S4 S3 S2 S1 S0
F040 RTAP
- 893 -
9.SPINDLE FUNCTION B-63323EN-1/03
Sequence(Time chart)
G84.2(G98) G84.2(G99)
Operation1
Operation6
Operation2 Spindle stop
Spindle CW
Spindle CW Spindle
P stop
Point R Point R level Point R Point R level
Operation3 Operation5
Point Z Point Z
P P
Operation4
Spindle stop Spindle CCW Spindle stop Spindle CCW
: Rapid traverse
: Z axis feed
P : Dwell
- 894 -
B-63323EN-1/03 9.SPINDLE FUNCTION
- 895 -
9.SPINDLE FUNCTION B-63323EN-1/03
of the Z-axis and spindle, the CNC sets the same position gain.
These values are set in parameters in advance.
7. Linear interpolation between the Z-axis and spindle is executed.
8. After dwell, if required, is performed at the bottom of the hole,
linear interpolation between the Z-axis and spindle is executed to
cause retraction from point Z to point R on the Z-axis while the
spindle is being rotated in the reverse direction. The Z-axis and
spindle movement directions are opposite to the directions of the
Z-axis and spindle movements made in 7.
9. After movement to point R along the Z-axis, the CNC restores the
original time constant for the Z-axis. The CNC also restores the
original position gain value for the Z-axis.
10. When initial point return (G98) is specified, movement to the
initial point on the Z-axis is made.
This completes all the operations. If G84.2 is also specified in the next
block, the above procedure is repeated. When the second and
subsequent G84.2 commands are executed, the control mode for the
spindle is already set to position control mode, so the control mode
change processing in 5 is not performed.
(1) A canned cycle other than G84.3 is specified. For example, G81
is specified.
(2) The hole machining canned cycle is canceled. That is, G80 is
specified, or a G code of group 01 such as G00, G01, or G02 is
specified.
NOTE
The reason why the spindle stop confirmation signal
SPSTP must be set to 1 after at least 400 msec in 3 is
to allow sufficient time for the spindle motor to be fully
excited. This is because there is no means of
confirming the completion of spindle motor excitation.
The time required for excitation varies depending on
the spindle motor and amplifier. As a guideline, 400
ms is assumed.
The timing chart for the procedure described above is shown below.
- 896 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Signal RTAP
Moving of the X
and Y axes, Moving
of the Z axis to R point
RI0s to RI12s
SFR
SRV
SST
(TLML)
(for analog amp.)
Signal SPSTPs
RSPP
RSPM
- 897 -
9.SPINDLE FUNCTION B-63323EN-1/03
Parameter
- Common to analog and serial spindles
1837 Positioning deviation limit while the tool is moving in the rigid tapping mode
!
"
#
$"
"
#
"
%
"
&
"
"
"
"%
'&
"
"
(#%
"
&
"&
"
"
"
"% )"
#
"$"
"
#
"
#
(
"
#
"
"%
#7 #6 #5 #4 #3 #2 #1 #0
5605 TSC TEL
*
.
1%
&
"
%
+ )!2 !$"
"
.
.3-
$
"
"
"
%
/ 3%
4%565&4%565&4%5656
/ !$
"
"!%
4%5656&4%57
" "4%5 7
- 898 -
B-63323EN-1/03 9.SPINDLE FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
5608 RSR
*
Type A: Command
G84.2 G84.3
Point R Positive direction Reverse rotation Normal rotation
point Z Negative direction Normal rotation Reverse rotation
Type B: Command
G84.2 G84.3
Point R Positive direction Normal rotation Reverse rotation
point Z Negative direction Normal rotation Reverse rotation
7
!
.
$"
.
"
0$
"(
0)!21
4%5;5
1%
- 899 -
9.SPINDLE FUNCTION B-63323EN-1/03
8
.&".&.0"
1
<
"
"
8
"
(021
0="
"
!*&%>7%1
!
3-
$"3-
"
0$
"(
0)!21
4%5;5
1%
- 900 -
B-63323EN-1/03 9.SPINDLE FUNCTION
96;6
Set a spindle speed when a fixed acceleration/deceleration time constant/FL
feedrate is used for the spindle and drilling axis in rigid tapping (with bit 2 (TSC) of
parameter No. 5602 set to 0).
When the type of acceleration/deceleration used for rigid tapping is linear
acceleration/deceleration (with bit 1 (TEL) of parameter No. 5605 set to 1), the
speed set in this parameter is increased or decreased for the time set in parameter
No. 5751.
Acceleration/dec Acceleration/dec
eleration time eleration time
TC TC
S S S S
command command
Relationship between S Relationship between S
command and actual command and actual
acceleration/deceleration acceleration/deceleration
time during linear time during exponential
acceleration/deceleration acceleration/deceleration
- 901 -
9.SPINDLE FUNCTION B-63323EN-1/03
5804 Allowable range for constant spindle speed signal output in exponential
acceleration/deceleration
The constant spindle speed signal is output when the difference in the number of
remaining pulses held in the acceleration/deceleration circuit between two adjacent
distribution periods (ITPs) is zero. In exponential acceleration/deceleration,
however, the difference in the number of remaining pulses between two adjacent
ITPs does not become zero even when a constant speed is kept. In this case, a
constant speed is assumed to be reached when the difference in the number of
remaining pulses is within the range specified in this parameter.
:
3
6 7
3 5
4
3
2 6
;
5
1 7
9
/ 4 (
)
- 902 -
B-63323EN-1/03 9.SPINDLE FUNCTION
96;6
Set the number of pulses of the position coder.
5851 Number of teeth on the position coder gear in the servo mode (first stage)
96;6
!
" (
"
"
"#
0
&
&
"10
1%
5852 Number of teeth on the spindle gear in the servo mode (first stage)
96;6
!
" (
"
"
"#0
&
&
"10
1%
!
(?"
"#0
&
&
"10
1%
5854 Number of teeth on the position coder gear in the servo mode (second stage)
96;6
!
" (
"
"
"#
0
&
&
"10
1%
- 903 -
9.SPINDLE FUNCTION B-63323EN-1/03
5855 Number of teeth on the spindle gear in the servo mode (second stage)
96;6
!
" (
"
"
"#0
&
&
"10
1%
!
(?"
"#0
&
&
"10
1%
5857 Number of teeth on the position coder gear in the servo mode (third stage)
96;6
!
" (
"
"
"#
0
&
&
"10
"
1%
5858 Number of teeth on the spindle gear in the servo mode (third stage)
96;6
!
" (
"
"
"#0
&
&
"10
"
1%
!
(?"
"#0
&
&
"10
"
1%
- 904 -
B-63323EN-1/03 9.SPINDLE FUNCTION
5860 Number of teeth on the position coder gear in the servo mode (fourth stage)
96;6
!
" (
"
"
"#
0
&
&
"10
"
1%
5861 Number of teeth on the spindle gear in the servo mode (fourth stage)
96;6
!
" (
"
"
"#0
&
&
"10
"
1%
!
(?"
"#0
&
&
"10
"
1%
5863 Number of teeth on the position coder gear in the servo mode (fifth stage)
96;6
!
" (
"
"
"#
0
&
&
"10
"
1%
5864 Number of teeth on the spindle gear in the servo mode (fifth stage)
96;6
!
" (
"
"
"#0
&
&
"10
"
1%
- 905 -
9.SPINDLE FUNCTION B-63323EN-1/03
!
(?"
"#0
&
&
"10
"
1%
5866 Number of teeth on the position coder gear in the servo mode (sixth stage)
96;6
!
" (
"
"
"#
0
&
&
"10
"
1%
5867 Number of teeth on the spindle gear in the servo mode (sixth stage)
96;6
!
" (
"
"
"#0
&
&
"10
"
1%
!
(?"
"#0
&
&
"10
"
1%
5869 Number of teeth on the position coder gear in the servo mode (seventh
stage)
96;6
!
" (
"
"
"#
0
&
&
"10#
"
1%
- 906 -
B-63323EN-1/03 9.SPINDLE FUNCTION
5870 Number of teeth on the spindle gear in the servo mode (seventh stage)
96;6
!
" (
"
"
"#0
&
&
"10#
"
1%
!
(?"
"#0
&
&
"10#
"
1%
5872 Number of teeth on the position coder gear in the servo mode (eighth stage)
96;6
!
" (
"
"
"#
0
&
&
"10"
"
1%
5873 Number of teeth on the spindle gear in the servo mode (eighth stage)
96;6
!
" (
"
"
"#0
&
&
"10"
"
1%
!
(?"
"#0
&
&
"10"
"
1%
- 907 -
9.SPINDLE FUNCTION B-63323EN-1/03
!
#
"#0
&
&
"1
%
- 908 -
B-63323EN-1/03 9.SPINDLE FUNCTION
5876 Positional deviation limit during movement in the servo mode using a
position coder
!
#
#
"#
0
&
&
"1
%
(Calculation example)
=6144
- 909 -
9.SPINDLE FUNCTION B-63323EN-1/03
5877 Positional deviation limit during a stop in the servo mode using a position
coder
!
#
"#0
&
1
%
@
!
#
(
?
% ="&
"
@ %
5884 Acceleration/deceleration time constant for drilling axis cutting feed in rigid
tapping (TC1)
7
!
.
"
$"
"
.
"
$
"
"!0(
0)!21
4%5;5
1%
5885 Cutting feed FL feedrate for the drilling axis in rigid tapping (FL1)
8
.&".&.0"
1
<
"
"
8
"
(021
0="
"
!*&%>7%1
!
3-
"
$"
"
.
"
$
"
"!0(
0)!21
4%5;5
1%
- 910 -
B-63323EN-1/03 9.SPINDLE FUNCTION
96;6
Set a spindle speed at the first stage when the acceleration/deceleration time
constant for the spindle and drilling axis in rigid tapping is switched according to
the S command (bit 1 (TSC) of parameter No. 5605 is set to 1).
5887 Cutting feed acceleration/deceleration time constant for the drilling axis in
rigid tapping (TC2)
7
!
.
"
$"
"
.
"
$
"
"!0(
0)!21
4%5;5
1%
5888 Cutting feed FL feedrate for the drilling axis in rigid tapping (FL2)
8
.&".&.0"
1
<
"
"
8
"
(021
0="
"
!*&%>7%1
!
3-
"
$"
"
.
"
$
"
"!0(
0)!21
4%5;5
1%
- 911 -
9.SPINDLE FUNCTION B-63323EN-1/03
96;6
Set a spindle speed at the second stage when the acceleration/deceleration time
constant for the spindle and drilling axis in rigid tapping is switched according to
the S command (bit 1 (TSC) of parameter No. 5605 is set to 1).
5890 Cutting feed acceleration/deceleration time constant for the drilling axis in
rigid tapping (TC3)
7
!
.
"
"
$"
"
.
"
$
"
"!0(
0)!21
4%5;5
1%
5891 Cutting feed FL feedrate for the drilling axis in rigid tapping (FL3)
8
.&".&.0"
1
<
"
"
8
"
(021
0="
"
!*&%>7%1
!
3-
"
"
$"
"
.
"
$
"
"!0(
0)!21
4%5;5
1%
- 912 -
B-63323EN-1/03 9.SPINDLE FUNCTION
96;6
Set a spindle speed at the third stage when the acceleration/deceleration time
constant for the spindle and drilling axis in rigid tapping is switched according to
the S command (bit 1 (TSC) of parameter No. 5605 is set to 1).
5893 Cutting feed acceleration/deceleration time constant for the drilling axis in
rigid tapping (TC4)
7
!
.
"
"
$"
"
.
"
$
"
"!0(
0)!21
4%5;5
1%
- 913 -
9.SPINDLE FUNCTION B-63323EN-1/03
5894 Cutting feed FL feedrate for the drilling axis in rigid tapping (FL4)
8
.&".&.0"
1
<
"
"
8
"
(021
0="
"
!*&%>7%1
Set an FL feedrate at the fourth stage when the acceleration/deceleration time
constant for the spindle and drilling axis in rigid tapping is switched according to
the S command (bit 1 (TSC) of parameter No. 5605 is set to 1).
Parameter Nos. 5884 to 5894 are used to change the cutting feed
acceleration/deceleration time constant/FL feedrate on the hole machining axis in
rigid tapping according to the S command. These parameters set the time constant
(TCx)/FL feedrate (FLx) at each level and the spindle speed (Sx) to set levels.
The following show the relationship between the S command and FL feedrate, the
relationship between the S command and actual acceleration/deceleration time in
linear acceleration/deceleration, and the relationship between the S command and
actual acceleration/deceleration time in exponential acceleration/deceleration:
- 914 -
B-63323EN-1/03 9.SPINDLE FUNCTION
TC4 TC4
TC3 TC3
TC2 TC2
TC1 TC1
S1 S2 S3 S S1 S2 S3 S command
command Relationship between S command and
Relationship between S command and actual acceleration/deceleration time
actual acceleration/deceleration time in exponential acceleration/deceleration
#7 #6 #5 #4 #3 #2 #1 #0
6200 FXY
*
#7 #6 #5 #4 #3 #2 #1 #0
6201 RFE RFA RES
*
"
"
%
- 915 -
9.SPINDLE FUNCTION B-63323EN-1/03
!
8
&"0
1
<
"
"
#
0
"
(0*11
0="
"
!*&%> % 1
!
?
%
%.
!
"#0
&
&
"1% )"
%
- 916 -
B-63323EN-1/03 9.SPINDLE FUNCTION
96;6
Set the position gain multiplier of the analog spindle for gear 1 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP =1
PC =1
E = 2.2 V
L = 360 deg
55
Set the drift compensation value of the analog spindle for gear 1 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
- 917 -
9.SPINDLE FUNCTION B-63323EN-1/03
96;6
Set the position gain multiplier of the analog spindle for gear 2 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
55
Set the drift compensation value of the analog spindle for gear 2 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
- 918 -
B-63323EN-1/03 9.SPINDLE FUNCTION
96;6
Set the position gain multiplier of the analog spindle for gear 3 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
2048000 360 1 2.2
GC = = 1100
4096 1 360
Note)
On the assumption that the spindle motor used turns at 4500 rpm at 10 V, 2.2
V is required to turn the spindle motor at 1000 rpm.
55
Set the drift compensation value of the analog spindle for gear 3 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
- 919 -
9.SPINDLE FUNCTION B-63323EN-1/03
96;6
Set the position gain multiplier of the analog spindle for gear 4 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
55
Set the drift compensation value of the analog spindle for gear 4 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
- 920 -
B-63323EN-1/03 9.SPINDLE FUNCTION
96;6
Set the position gain multiplier of the analog spindle for gear 5 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
55
Set the drift compensation value of the analog spindle for gear 5 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
- 921 -
9.SPINDLE FUNCTION B-63323EN-1/03
96;6
Set the position gain multiplier of the analog spindle for gear 6 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
55
Set the drift compensation value of the analog spindle for gear 6 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
- 922 -
B-63323EN-1/03 9.SPINDLE FUNCTION
96;6
Set the position gain multiplier of the analog spindle for gear 7 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
55
Set the drift compensation value of the analog spindle for gear 7 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
- 923 -
9.SPINDLE FUNCTION B-63323EN-1/03
96;6
Set the position gain multiplier of the analog spindle for gear 8 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Position gain multiplier GC is obtained from the following equation:
2048000 360 PC E
GC =
PLS SP L
PLS : Number of pulses output from the position coder (pulses/rev)
SP : Number of gear teeth on the spindle side
PC : Number of gear teeth on the position coder side
E : Specified voltage (V) for turning the spindle motor at 1000 rpm
L : Angular displacement of the spindle (degrees) per spindle motor rotation
Example: For the spindle motor and gear ratio given below, GC is calculated as
follows:
PLS = 4096 pulses/rev
SP = 1
PC = 1
E = 2.2 V
L = 360 deg
55
Set the drift compensation value of the analog spindle for gear 8 in the servo mode
(rigid tapping, spindle positioning, and so forth).
Drift compensation DC (a voltage equivalent to positional deviation) is obtained
from the following equation:
DC = 0.000000192 G GC ER
G : Position gain in servo mode (0.01/sec)
GC : Position gain multiplier
ER : Positional deviation (detection unit)
- 924 -
B-63323EN-1/03 9.SPINDLE FUNCTION
8
.
<
"
"
8
"
(021
0="
"
!*&%>7%1
!
#
"#
0
&
&
"1%
NOTE
Set a rapid traverse rate so that the quantity of errors is within a
range from 128 pulses to 1024 pulses.
7
!
"#
0
&
&
"1%
8
.
<
"
"
8
"
(021
0="
"
!*&%>7%1
!
3-
"#0
&
&
"1%
NOTE
Set an FL feedrate rate so that the quantity of errors is within a
range from the effective area to 1024 pulses.
- 925 -
9.SPINDLE FUNCTION B-63323EN-1/03
77
!
"
#
"
"
"#0
&
&
"1%
*
+7 !D
#0
&
&
"1
/ )"
"
?$0#$
"
1%
/ )"
"
?$0#$
"
1%
NOTE
The orientation (reference position return) direction of
spindle positioning using a serial spindle depends on
the specification of this parameter.
%.
96;6
Set the proportional gain of the velocity loop for the high-speed gear in the servo
mode (rigid tapping, spindle positioning, and so forth).
servo mode (rigid tapping, spindle positioning, and so forth).
- 926 -
B-63323EN-1/03 9.SPINDLE FUNCTION
%.
96;6
Set the proportional gain of the velocity loop for the low-speed gear in servo mode
(rigid tapping, spindle positioning, and so forth).
l gain of the velocity loop for the low-speed gear in
%.
96;6
Set the integral gain of the velocity loop for the high-speed gear in servo mode
(rigid tapping, spindle positioning, and so forth).
%.
96;6
Set the integral gain of the velocity loop for the low-speed gear in servo mode (rigid
tapping, spindle positioning, and so forth).
<
~
96;6
Set a gear ratio between the spindle and spindle motor for the high-speed gear.
Set the gear or clutch status corresponding to the clutch/gear signal.
- 927 -
9.SPINDLE FUNCTION B-63323EN-1/03
<
~
96;6
Set a gear ratio between the spindle and spindle motor for the medium high-speed
gear.
Set the gear or clutch status corresponding to the clutch/gear signal.
<
~
96;6
Set a gear ratio between the spindle and spindle motor for the medium low-speed
gear.
Set the gear or clutch status corresponding to the clutch/gear signal.
<
~
96;6
Set a gear ratio between the spindle and spindle motor for the low-speed gear.
Set the gear or clutch status corresponding to the clutch/gear signal.
%.
96;6
Set the position gain for the high-speed gear in servo mode (rigid tapping, spindle
positioning, and so forth) and synchronization control mode.
- 928 -
B-63323EN-1/03 9.SPINDLE FUNCTION
%.
96;6
Set the position gain for the medium high-speed gear in servo mode (rigid tapping,
spindle positioning, and so forth) and synchronization control mode.
%.
96;6
Set the position gain for the medium low-speed gear in servo mode (rigid tapping,
spindle positioning, and so forth) and synchronization control mode.
%.
96;6
Set the position gain for the low-speed gear in servo mode (rigid tapping, spindle
positioning, and so forth) and synchronization control mode.
7 ;
!
"
"
"
#0
&
&
"1%
- 929 -
9.SPINDLE FUNCTION B-63323EN-1/03
- 930 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Caution
NOTES ON SPINDLES
Caution
CAUTION
1 When an analog spindle is used, set drift
compensation parameters (parameter Nos. 5962 to
5976) accurately. If an inappropriate drift
compensation value is used, the following may
occur at point R and at the bottom of the hole:
- The spindle is stopped in the in-position wait
state.
- The spindle position is shifted (the spindle does
not reach the specified position or passes a
specified position).
Note
NOTE
1 In rigid tapping mode, pitch error compensation for
the spindle is not performed.
2 he 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
Notes on using functions such as the spindle positioning function at the same
time
Caution
CAUTION
1 When the spindle positioning function is to be used
at the same time When the spindle positioning
function is to be used together with rigid tapping,
rigid tapping mode must not be specified in spindle
indexing mode, and spindle indexing mode must not
be specified in rigid tapping mode. (Spindle
positioning and rigid tapping cannot be performed
simultaneously for a single spindle.)
2 When the Cs contour control function is also used
When the Cs contour control function with a serial
spindle is used together with rigid tapping, rigid
tapping mode must not be specified in Cs contour
control mode, and Cs contour control mode must not
be specified in rigid tapping mode. (Cs contour
control and rigid tapping cannot be performed with
the same spindle at the same time.)
- 931 -
9.SPINDLE FUNCTION B-63323EN-1/03
Analog spindle
GS4s GS2s GS1s Gear selected Parameter No. to be
used
0 0 0 Step 1 5961
0 0 1 Step 2 5963
0 1 0 Step 3 5965
0 1 1 Step 4 5967
5960
1 0 0 Step 5 5969
1 0 1 Step 6 5971
1 1 0 Step 7 5973
1 1 1 Step 8 5975
Serial spindle
CTH1s CTH2s Gear selected Parameter No. to be
used
0 0 Step 1 (High) 3065
3044 3052
0 1 Step 2 (Medium High) 3066
1 0 Step 3 (Medium Low) 3067
3045 3053
1 1 Step 4 (Low) 3068
- 932 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Reference item
Series15i/150i- Connection Manual 8.1 Miscellaneous
MODEL A (This manual) function/second
auxiliary function
9.2 Spindle serial
output/analog output
9.3 Spindle control
11.6 Canned cycle
FANCU SERVO AMPLIFIER series 11.4 Rigid tapping
Descriptions (B-65162E)
FANCU AC SPINDLE MOTOR series 2.3 Rigid tapping
Parameter Manual (B-65160E)
FANCU AC SPINDLE MOTOR series
Descriptions (B-65152E)
FANCU SERVO MOTOR series
Maintenance Manual (B-65165E)
- 933 -
9.SPINDLE FUNCTION B-63323EN-1/03
- Overview
- A parameter can be used to specify whether to perform spindle
orientation when rigid tapping is started.
- A parameter can be used to specify to check whether the specified
S command exceeds the maximum spindle rotation speed for an
individual gear.
- A diagnosis screen can be used to check a synchronization error
between the tapping axis and spindle.
- Parameters
#7 #6 #5 #4 #3 #2 #1 #0
5606 ORD ORN
NOTE
After this parameter has been set, the power must
be off turned off then back on for the setting to
become effective.
NOTE
When this parameter is 0, the direction of spindle
orientation is negative if a G84.2/G84.3 block
issues an I/O command (for specifying a
negative direction). When the parameter is 1,
the direction of spindle orientation is negative
also if a G84.2/G83.3 block issues an I/O
command (for specifying a positive direction).
- 934 -
B-63323EN-1/03 9.SPINDLE FUNCTION
NOTE
No check is made if all of values specified in
parameter Nos. 5711 to 5718 are 0.
- Alarm
Number Message Description
PS0544 S-CODE OVER MAX The S command has exceeded the maximum spindle
rotation speed.
- 935 -
9.SPINDLE FUNCTION B-63323EN-1/03
- Diagnostic data
)"
#
%
)"
?
#
"
%
)"
#
0
1
%
)"
?
#
0
1"
%
)"
#
#
#
%
)"
?
#
?
#
"
%
- 936 -
B-63323EN-1/03 9.SPINDLE FUNCTION
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.
Signal
{ 2 SH s} 4096
11
i 360
Stop position (degree) i
i=0
- 937 -
9.SPINDLE FUNCTION B-63323EN-1/03
Signal address
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
5609 MOM
- 938 -
B-63323EN-1/03 9.SPINDLE FUNCTION
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. 3031 and 3204) are invalid.
Note
NOTE
Spindle orientation with the spindle positioning
function differs from that described in this section.
For details, see "Spindle Positioning."
Reference item
Series15i/150i- Connection Manual 9.2 Spindle serial
MODEL A (This manual) output/analog output
9.3 Spindle control
FANCU SERVO AMPLIFIER series B-65162E
Descriptions
FANCU AC SPINDLE MOTOR series B-65160E
Parameter Manual
- 939 -
9.SPINDLE FUNCTION B-63323EN-1/03
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.
Reference item
Connection Manual 9.2 Spindle serial output/analog output
(This manual) 9.3 Spindle control
FANCU SERVO AMPLIFIER series B-65162E
Descriptions
FANCU AC SPINDLE MOTOR series B-65160E
Parameter Manual
- 940 -
B-63323EN-1/03 9.SPINDLE FUNCTION
General
If the actual spindle speed becomes lower or higher than that specified
because of the condition of the machine, an overheat alarm (SP0242) is
issued, and spindle speed fluctuation detection alarm signal SPAL is
output. This signal can be used to prevent the guide bushing from
burning out.
Sr = Sc * r / 100
Sr = Sc * r / 1000
Si: Permissible range of fluctuation that does not cause a spindle speed
fluctuation detection alarm to be output (address I command in a
G26 block or parameter (No. 5721) setting)
NOTE
Even when the conditions for issuing an alarm related to
spindle speed fluctuation detection have not been
satisfied in spindle speed detection enabled mode (G26),
a spindle speed fluctuation detection overheat alarm is
issued if:
- A spindle speed has been specified, and the actual
spindle speed remains at 0 min-1 for at least one second.
- 941 -
9.SPINDLE FUNCTION B-63323EN-1/03
8191
Spindle speed
0
Maximum spindle Maximum spindle Maximum spindle
speed (gear 1) speed (gear 2) speed (gear 3)
The following tables list the relationships among the spindle gear select
signals (GS1s to GS4s), serial spindle clutch/gear signals (CTH1s and
CTH2s), and maximum spindle speed parameters (Nos. 5621 to 5628).
1) Serial spindle
CTH1s CTH2s Maximum spindle speed parameter
0 0 No.5621
0 1 No.5622
1 0 No.5623
1 1 No.5624
2) Analog spindle
GS4s GS2s GS1s Maximum spindle speed parameter
0 0 0 No.5621
0 0 1 No.5622
0 1 0 No.5623
0 1 1 No.5624
1 0 0 No.5625
1 0 1 No.5626
1 1 0 No.5627
1 1 1 No.5628
- 942 -
B-63323EN-1/03 9.SPINDLE FUNCTION
NOTE
Even if a condition for starting spindle speed
fluctuation detection is satisfied, spindle speed
fluctuation detection is not started under any of the
following conditions.
1 The machine is in spindle speed fluctuation detection
disabled mode (G25).
-1
2 The specified spindle speed is 0 min .
3 A search due to program restart is under way.
- 943 -
9.SPINDLE FUNCTION B-63323EN-1/03
r
i q
Specified spindle
speed
r
q
Specified spindle i
speed
Time p
A check No check is
is made. made. A check is made.
Time
The specified spindle A check begins. Spindle speed fluctuation
speed is changed. detection alarm
- 944 -
B-63323EN-1/03 9.SPINDLE FUNCTION
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F042 SPALA
F338 SPALB
F339 SPALC
F340 SPALD
- 945 -
9.SPINDLE FUNCTION B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2409 G26
#4 G26 Specifies whether G25 or G26 mode is selected when the power is
switched on, or in a cleared condition, as follows:
0: G25 mode (spindle speed fluctuation detection disabled)
1: G26 mode (spindle speed fluctuation detection enabled)
- 946 -
B-63323EN-1/03 9.SPINDLE FUNCTION
5722 Time (p) allowed from when the specified spindle speed is
changed until spindle speed fluctuation detection begins
#7 #6 #5 #4 #3 #2 #1 #0
5808 FLR
#1 FLR Specifies the measurement unit for the permission ratio (q) and
fluctuation ratio (r) specified in spindle speed fluctuation detection
parameter Nos. 5701 and 5702, respectively, as follows:
0: 1% units
1: 0.1% units
- 947 -
9.SPINDLE FUNCTION B-63323EN-1/03
Note
NOTE
1 If a spindle speed fluctuation is detected, the message
"SP0242 OVERHEAT" is displayed on the alarm screen.
2 If the "SP0242 OVERHEAT" alarm occurs, automatic
operation is stopped within a single block.
3 If parameter G26 (bit 4 of parameter No. 2409) is 1, the
"SP0242 OVERHEAT" alarm recurs even after it is reset,
unless the cause is removed.
4 If all the spindle motor command voltage signals (RI0s to
RI12s) are 0, spindle speed fluctuation detection is not
performed.
5 In G25 and G26, do not specify addresses in an
unspecified format at the same time.
6 If the spindle is switched in G26 mode (spindle speed
fluctuation detection enabled), the spindle speed
fluctuation detection parameter for the selected spindle
becomes valid.
7 If the spindle is operating normally, spindle speed
fluctuation detection is performed.
- 948 -
B-63323EN-1/03 10.TOOL FUNCTION
10 TOOL FUNCTION
- 949 -
10.TOOL FUNCTION B-63323EN-1/03
General
A tool can be selected by specifying its tool number following address
T. The tool number consists of a numeric value of no more than 10
digits.
When a T code is specified, the code signal for a specified tool number
and strobe signal are sent. These are used for selecting a tool on the
machine side. This code signal is maintained until another T code is
specified.
Only one T code can be specified in one block. The maximum number
of digits can be specified in parameter No. 2032. If a command longer
than the maximum number of digits is specified, an alarm can be
issued.
Values that can be set as the allowable number of digits and the ranges
of valid settings are listed below. When the allowable number of digits
is set to 10, a negative value cannot be specified in the T code.
Table 10.1 Allowable Numbers of Digits in the T Code and Valid Setting Ranges
Allowable number of digits Negative value specification Range of valid settings
Parameter(No.2032) permitted/not permitted (bit 2
(TSN) of parameter No. 2003)
Disabled 0 to 9
1
Enabled -9 to 9
Disabled 0 to 99
2
Enabled -99 to 99
Disabled 0 to 999
3
Enabled -999 to 999
Disabled 0 to 9,999
4
Enabled -9,999 to 9,999
Disabled 0 to 99,999
5
Enabled -99,999 to 99,999
Disabled 0 to 999,999
6
Enabled -999,999 to 999,999
Disabled 0 to 9,999,999
7
Disabled -9,999,999 to 9,999,999
Disabled 0 to 99,999,999
8
Enabled -99,999,999 to 99,999,999
Disabled 0 to 999,999,999
9
Enabled -999,999,999 to 999,999,999
10 Disabled 0 to 4,294,967,295
- 950 -
B-63323EN-1/03 10.TOOL FUNCTION
Signal
See Section 8.1.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2003 TSN
! "
#$ %!
&$ %
NOTE
To enable the use of a minus (-) in a T code, the allowable
number of digits in an T code must be nine or less.
'
()
'
&&#
))!)
! '! "
NOTE
To set the allowable number of digits in a T code to 10, the use of
a minus "-" in a T code must be disabled.
Reference item
Series15i/150i-MA Operators Manual II-10.1 Tool selection command
(Programming)
(B-63324EN)
Series15i/150i- Connection Manual 8 Miscellaneous function
MODEL A (This manual)
- 951 -
10.TOOL FUNCTION B-63323EN-1/03
General
Tool compensation values include tool geometry compensation values
and tool wear compensation values.
Standard position
OFSG
OFSW
- 952 -
B-63323EN-1/03 10.TOOL FUNCTION
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6000 PNH EVO
# *(+
! ' ,)
' -)!.
!
/! !
-)!.!
"
#$ ()
' -)!.
!
/! "
&$ ()
' -)!.
"
- 954 -
B-63323EN-1/03 10.TOOL FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
6002 OFC OFA
#7 #6 #5 #4 #3 #2 #1 #0
6004 OFD
#7 #6 #5 #4 #3 #2 #1 #0
6007 OFE
The increment system and valid setting range of tool offsets are determined.
Metric input
OFE OFD OFC OFA Unit Geometric offset Wear
No.6007#0 No.6004#0 No.6002#1 No.6002#0 compensation
0 0 0 1 0.01 mm 9999.99 mm 9999.99 mm
0 0 0 0 0.001 mm 9999.999 mm 9999.999 mm
0 0 1 0 0.0001 mm 9999.9999 mm 9999.9999 mm
0 1 0 0 0.00001 mm 9999.99999 mm 9999.99999 mm
1 0 0 0 0.000001 mm 999.999999 mm 999.999999 mm
Inch input
OFE OFD OFC OFA Unit Geometric offset Wear
No.6007#0 No.6004#0 No.6002#1 No.6002#0 compensation
0 0 0 1 0.001 inch 999.999 inch 999.999 inch
0 0 0 0 0.0001 inch 999.9999 inch 999.9999 inch
0 0 1 0 0.00001 inch 999.99999 inch 999.99999 inch
0 1 0 0 0.000001 inch 999.999999 inch 999.999999 inch
1 0 0 0 0.0000001 inch 99.9999999 inch 99.9999999 inch
Reference item
Series15i/150i-MA Operators Manual II-14.6 Tool offset value
(Programming) II-14.7 Number of tool offset
(B-63324EN) value
II-14.8 Changing the number of
tool offset value
- 955 -
10.TOOL FUNCTION B-63323EN-1/03
Explanation of specification
The tool compensation value recorded in CNC offset memory can be
used as the diameter.
By setting bit 0 (ODI) of parameter No. 6008 to 1, you can use the tool
compensation value recorded in offset memory as the diameter of the
tool instead of the radius.
When 10.000 mm is recorded in offset memory, for example, actual
compensation is performed with the compensation value set to 5.000
mm.
When tool offset by tool number is valid, the set tool compensation
value can be treated similarly.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6008 ODI
- 956 -
B-63323EN-1/03 10.TOOL FUNCTION
General
Tools are grouped and the tool life (use count or use time) is
predetermined for each group. Each time a tool belonging to a group is
used, its life value is incremented. Once the predetermined tool life
value is reached, a new tool is automatically selected according to the
predefined tool order in the group. This allows continuous machining
as well as tool life management.
The tool life management data, including tool group numbers, tool life
values, and tool compensation codes, is stored in the CNC.
Tool life management data Machining program Machine and CNC operations
Tool group number 1 :
Machine CNC
: :
: Places a Automatically selects,
: Tool
Selected tool in from tool group m, a
Tool group number m selection Command for selecting
The wait state tool whose life has not
: tool group m
expired.
: :
Tool group number p : Attaches the tool Starts counting the life
Tool change command In the wait state of the tool attached to
(M06) To the spindle the spindle.l
: (tool change).
:
Fig. 10.3 (a) Tool life management data/ Machining program/Machine and CNC operations
- 957 -
10.TOOL FUNCTION B-63323EN-1/03
Table10.3 (a) The Max. number of groups and tools that can be registered
The Max. number of
The Max. number of The Max. number of
groups and tools
groups and tools groups and tools
without optional function
GS2 GS1 without optional function without optional function
of tool pairs of 512 tool pairs
(No. 7400#1) (No. 7400#0) of 1024 tool pairs
Number Number Number Number Number Number
of group of tool of group of tool of group of tool
0 0 16 16 64 32 128 32
0 1 32 8 128 16 256 16
1 0 64 4 256 8 512 8
1 1 128 2 512 4 1024 4
CAUTION
When bits 0 or 1 of parameter GS1,GS2 No.7400 is
changed, re-register tool life management data with
the G10L3 command (for registering and deleting
data for all groups).
Otherwise, new data pairs cannot be set.
- 958 -
B-63323EN-1/03 10.TOOL FUNCTION
NOTE
When codes specifying tool offset values are not
used, registration can be omitted.
NOTE
When a tool group number is specified and a new
tool is selected, the new tool selection signal is
output.
- 959 -
10.TOOL FUNCTION B-63323EN-1/03
- 960 -
B-63323EN-1/03 10.TOOL FUNCTION
Signal
- 961 -
10.TOOL FUNCTION B-63323EN-1/03
NOTE
Change the status of tool change reset signal
TLRST from 0 to 1 while the control unit is not being
reset (the RST signal is not 1), and the following
state is observed:
1) When bit 5 (TRS) of parameter No. 7401 = 0:
In the reset state (the OP signal is set to 0).
2) When bit 5 (TRS) of parameter No. 7401 = 1:
(1) In the reset state (the OP signal is set to 0).
(2) In the automatic operation stop state (STL and
SPL are set to 0, and OP is set to 1).
(3) In the automatic operation hold state (STL is
set to 0, and SPL is set to 1).
(Tool change reset signal TLRST is ignored in the
automatic operation stop state, automatic operation
hold state, and automatic operation start state (STL
is set to 1) during the execution of a data setting
command (G10L3).)
- 962 -
B-63323EN-1/03 10.TOOL FUNCTION
CAUTION
Set tool skip signal TLSKP to 1 when the control unit
is in the reset state or automatic operation stop
state. In other words, change the tool skip signal
status from 0 to 1 when automatic operation start
signal STL and automatic operation hold signal SPL
are both 0.
- 963 -
10.TOOL FUNCTION B-63323EN-1/03
T command
Strobe signal TF
New tool
select signal TLCHB
- 964 -
B-63323EN-1/03 10.TOOL FUNCTION
TL512 TL256 TL128 TL64 TL32 TL16 TL8 TL4 TL2 TL1 Tool grpup
number
0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 1 2
0 0 0 0 0 0 0 0 1 0 3
0 0 0 0 0 0 0 0 1 1 4
0 0 0 0 0 0 0 1 0 0 5
0 0 0 0 0 0 1 0 0 1 10
0 0 0 0 0 0 1 1 1 0 15
0 0 0 0 0 1 0 0 1 1 20
0 0 0 0 0 1 1 1 0 1 30
0 0 0 0 1 1 0 0 0 1 40
0 0 0 0 1 1 0 0 0 1 50
0 0 0 1 1 0 0 0 1 1 100
0 0 0 1 1 1 1 1 1 0 127
0 0 0 1 1 1 1 1 1 1 128
0 0 1 1 0 0 0 1 1 1 200
0 0 1 1 1 1 1 1 1 1 256
0 0 0 0 0 0 0 0 0 0 257
0 1 0 0 1 0 1 0 1 1 300
0 1 1 0 0 0 1 1 1 1 400
0 1 1 1 1 1 0 0 1 1 500
0 1 1 1 1 1 1 1 1 1 512
1 0 0 0 0 0 0 0 0 0 513
1 0 0 1 0 1 0 1 1 1 600
1 0 1 0 1 1 1 0 1 1 700
1 1 0 0 0 1 1 1 1 1 800
1 1 1 0 0 0 0 0 1 1 900
1 1 1 1 1 0 0 1 1 1 1000
1 1 1 1 1 1 1 1 1 1 1024
CAUTION
When there is no additional combination option,
TL64 to TL1 are valid. When 512 tool life
management combinations are added, TL256 to
TL1 are valid. When 1024 tool life management
combinations are added, TL512 to TL1 are valid.
- 965 -
10.TOOL FUNCTION B-63323EN-1/03
Where:
When *TLVi is 1, Vi = 0.
When *TLVi is 0, Vi = 1.
- 966 -
B-63323EN-1/03 10.TOOL FUNCTION
Strobe signal TF
Strobe signal MF
CAUTION
1 If a T command and tool change M code command
are specified in the same block, this signal is set to 0
when FIN for the tool change M code command in
the same block is set to 1.
2 The signal status is kept as is even when the tool
group life has been recovered or when the CNC is
reset.
- 967 -
10.TOOL FUNCTION B-63323EN-1/03
Output condition
Strobe signal MF
CAUTION
1 The signal status remains as is even when the tool
group service life has been zeroed or when the CNC
is reset.
2 Once the status of this signal changes from 1 to 0
after completion signal FIN for M06 is set to 1,
specifying a T command to select the same group
again does not set this signal to 1 if the tool data is
not yet updated by, for example, the tool change
reset signal (that is, if the tool life expired state is
maintained).
- 968 -
B-63323EN-1/03 10.TOOL FUNCTION
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G009 TLSKP TL64 TL32 TL16 TL08 TL04 TL02 TL01
G010 TLRST
G042 TL256
#7 #6 #5 #4 #3 #2 #1 #0
F007 TLCHB TLCHA
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
7400 TAD ABT SNG RAG LTM SIG GS2 GS1
# 0&
& 0 9!!! -
!'
! -
!!!)
'
!
!!)) ' !
'!
!))!') $
CAUTION
After changing the setting in this parameter, specify G10 L3; to
set data again.
- 969 -
10.TOOL FUNCTION B-63323EN-1/03
0
! '
!
!
!!).'
')"
#$ !! "
&$ "
NOTE
If no group number is specified using a signal, tool skip is
performed for the tool of the group currently used.
NOTE
After changing the setting of this parameter, reenter the data with
G10 L3;.
1 =90 !!)
'
! - ! !!)'
');=
"
#$ %)
- ! ! '
! ) ! '
!
-
"
&$ %)
- ! !))
'
'
!"
#$ . !!)! '
!!
) !
'
!
0!
!"@1##"
&$ '!
!!).')" !!). !4!
!)!
) "
@ 9
! )
!!
)!.) 4#2!!)
) "
#$ ! ! )
"
&$ )
#11#"
- 970 -
B-63323EN-1/03 10.TOOL FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
7401 TRU TRS LFV EMD CT2 CT1
# %&
& % 9!!)' !
'! !))!') $
*4
.A!
' -
!!)
) "
#$ ) -!!) "
&$ ) ) -
"
> = !!)'
');=,) =
! !&!
6 $
#$ C
+ !#"
&$ C
+ !#6 !!
!
! ; ;
!#6 + !&6!
!!
!) ; !#6 ; !
&" /! ,
6;=,) !!
!!
6!!
!) 6 !!
!
; !&
' '! 0&#;:
- !"
- 971 -
10.TOOL FUNCTION B-63323EN-1/03
2 =5 !! ) ' ) & ! )
!' ! ;4D&6 ) !
,)&
! B%+D#"
0: A cutting time less than 1 second is truncated, and is not counted.
1: A cutting time less than 1 second is rounded off to 1 second, and is counted.
NOTE
When the life count interval is 0.1 second (FCO = 1), a cutting
time less than 0.1 second is always rounded off to 0.1 second,
and is counted.
#7 #6 #5 #4 #3 #2 #1 #0
7403 FGL FCO
# B%+
) !
,)& ! !
#"& !
!!)) !' ! "
#$ & !
&$ #"& !
9!
'!
6 !!!)) ,) !!))
!
)E '!))!$
#B%+!
!"@1#: # &
; ,) ) !
)E ' & #"&
NOTE
After changing the setting of this parameter, reenter the data with
G10 L3;.
'
()
'
#FFFFFFFF
,) '
,)
! 6
,)
!
' ,)
! ,) !
! !!)'
!
!
!!)) ' "
- 972 -
B-63323EN-1/03 10.TOOL FUNCTION
'
()
'
B
!#
!'FFFFFFFF*-) '#&6#6:#6F36FF ))'4
!
C !!))
! !!)
6 !!)' ');%/9 !!)) !!
! !!)'
! -
! !! 4!
!
!!)) !'"
! !!)) ' '
!!
4
! !
!!)) !' ) !!)! ) !
-
! '
!" -4#2!
!!)) !
! "
C !!)) !!) 6
' 4! !
!!)) !' ! !
!
!" C #
6 4! !
!!)) !'! "
7443 H code for enabling tool length compensation specified by group number
'
()
'
#FFFF
6
6/! !
)'!!)) '! !
) ) '
!
" C #
6! ! ) /FF"
'
()
'
#FFFF
6
6! !
)'
! !
) ) '
!
" C #
6! ! ) FF"
- 973 -
10.TOOL FUNCTION B-63323EN-1/03
Reference item
Series15i/150i-MA Operators Manual II-10.2 Tool life management
(Programming)
(B-63324EN)
- 974 -
B-63323EN-1/03 10.TOOL FUNCTION
General
This function can be used by setting the difference between the tool
length assumed during programming and the actual tool length of the
tool used into the offset memory. It is possible to compensate the
difference without changing the program.
Specify the direction of offset with G43 or G44. Select a tool length
offset value from the offset memory by entering the corresponding
address and number (H code).
- 975 -
10.TOOL FUNCTION B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2401 G44 G43
!
"!
#
$%
- 976 -
B-63323EN-1/03 10.TOOL FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
2409 K43
& ' ( !
) *
)
+
%
,- .
%
/- 0
* %
#7 #6 #5 #4 #3 #2 #1 #0
6000 LXY EVO
, 123 ( !
!! ) *
) 4 5
+ !
4 5 !!
%
,- 2
) 4 5
+ ! %
/- 2
) 4 5!!
%
- 977 -
10.TOOL FUNCTION B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
6007 ZMV
This parameter is valid only when bit 4 (LXY) of parameter No. 6000 is set to 0.
ZMV and bit 0 (EVO) of parameter No. 6000 have the following relationship:
ZMV EVO Time when a new offset becomes
(No.6007#5) (No.6000#0) valid
| 0 New offset becomes valid in a block
specifying the next H code.
0 1 New offset becomes valid in a block
to be buffered next.
1 1 New offset becomes valid in a block
specifying the next Z-axis move
command or H code.
Reference item
Series15i/150i-MA Operators Manual II-14.1 Tool length
(Programming) compensation
(B-63324EN)
- 978 -
B-63323EN-1/03 10.TOOL FUNCTION
General
The programmed travel distance of the tool can be increased or
decreased by a specified tool offset value or by twice the offset value.
The tool offset function can also be applied to an additional axis.
Workpiece
- 979 -
10.TOOL FUNCTION B-63323EN-1/03
Table 10.4.2 (a) Increase and decrease of the tool travel distance
G code When a positive tool offset When a negative tool offset
value is specified value is specified
G45
Start position End position Start position End position
G46
Start position End position Start position End position
G47
Start position End position Start position End position
G48
Start position End position Start position End position
- 980 -
B-63323EN-1/03 10.TOOL FUNCTION
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6000 PCI PNH EVO
, 123 ( !
!! ) *
) 4 5
+ !
4 5 !!
%
,- 2
) 4 5
+ ! %
/- 2
) 4 5!!
%
/ 0+ ( !
!!
! !! "=>$
! )
+ "!
#
$%
,- ( ! ) %
/- ( ! )+ %
?
,%
Reference item
Series15i/150i-MA Operators Manual II-14.2 Tool offset
(Programming)
(B-63324EN)
- 981 -
10.TOOL FUNCTION B-63323EN-1/03
General
When the tool is moved, the tool path can be shifted by the radius of the
tool (Fig. 10.4.3(a)).
To make an offset as large as the radius of the tool, CNC first creates an
offset vector with a length equal to the radius of the tool (start-up).
The offset vector is perpendicular to the tool path. The tail of the
vector is on the workpiece side and the head positions to the center of
the tool.
If a linear interpolation or circular interpolation command is specified
after start-up, the tool path can be shifted by the length of the offset
vector during machining.
To return the tool to the start position at the end of machining, cancel
the cutter compensation mode.
Cutter
compensation
cancel
Start-up
- 982 -
B-63323EN-1/03 10.TOOL FUNCTION
- Start Up
When a cutter compensation command (G41 or G42, nonzero
dimension words in the offset plane, and D code other than D0) is
specified in the offset cancel mode, the CNC enters the offset mode.
Moving the tool with this command is called start-up.
Specify positioning (G00) or linear interpolation (G01) for start-up. If
circular interpolation (G02, G03) is specified, alarm PS070 occurs.
When reading a start-up block and subsequent blocks, the CNC first
reads the number of blocks specified in parameter No. 6009.
- Offset mode
In the offset mode, compensation is accomplished by positioning (G00),
linear interpolation (G01), or circular interpolation (G02, G03). If two
or more blocks that do not move the tool (miscellaneous function,
dwell, etc.) are processed in the offset mode, the tool will make either
an excessive or insufficient cut. If the offset plane is switched in the
offset mode, alarm PS0271 occurs and the tool is stopped.
- 983 -
10.TOOL FUNCTION B-63323EN-1/03
- Offset vector
The offset vector is the two dimensional vector that is equal to the
cutter compensation value assigned by D code. It is calculated inside
the control unit, and its direction is up-dated in accordance with the
progress of the tool in each block.
The offset vector is deleted by reset.
- 984 -
B-63323EN-1/03 10.TOOL FUNCTION
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6001 CNI CNC CSU
G41
Programmed path
N2
N1
path
Programmed
G41
N2 path
N1
- 985 -
10.TOOL FUNCTION B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
6003 CSC
#7 #6 #5 #4 #3 #2 #1 #0
6005 AIM
- 986 -
B-63323EN-1/03 10.TOOL FUNCTION
... ( !
!
%
,- 6
/- .
NOTE
Normally, this bit should be set to 0.
A 0; ! )*
)!
!
5* !!
,-
,- ;*
!
%
/- ;*
!
%
- 987 -
10.TOOL FUNCTION B-63323EN-1/03
( )
)
2
)
:>
( !
! 5
%
!* E
! !! 5
% !* E
)
> !
!!> 5 % ;
5
*
)"
!
$!
!
5
% *
5
F
)
5
)
E
%
- 988 -
B-63323EN-1/03 10.TOOL FUNCTION
6010 Limit for ignoring the small movement resulting from cutter compensation
( )
G
?!
"$
#!
!
!
4
2
)
)!!"
!
)
";$$
"<
(::%:H%$
When the tool moves around a corner in cutter compensation mode, the limit for
ignoring the small travel amount resulting from cutter compensation is set. This
limit eliminates the interruption of buffering caused by the small travel amount
generated at the corner and any change in feedrate due to the interruption.
If VxVlimit and VY
Vlimit, this vector is ignored.
V x
V Y
S
r
Programmed path
- 989 -
10.TOOL FUNCTION B-63323EN-1/03
Reference item
Series15i/150i-MA Operators Manual II-14.3 General of cutter
(Programming) compensation
(B-63324EN) II-14.4 Details of cutter
compensation
- 990 -
B-63323EN-1/03 10.TOOL FUNCTION
General
In cutter compensation, two-dimensional offset is performed for a
selected plane. In three-dimensional tool compensation, the tool can be
shifted three-dimensionally when a three-dimensional offset direction
is programmed.
Three-dimensional tool
compensation vector Tool center coordinate
value (x, y, z)
Z(K)
Y(J) X(I)
- 991 -
10.TOOL FUNCTION B-63323EN-1/03
Programmed path
Path after three-dimensional tool
compensation
Three-dimensional tool
compensation vector
G40
G41
- 992 -
B-63323EN-1/03 10.TOOL FUNCTION
- Specifying I, J, and K
Addresses I, J, and K must all be specified at startup to start three-
dimensional tool compensation. When even one of the three addresses
is omitted, two-dimensional cutter compensation is activated. When a
block specified in three-dimensional tool compensation mode contains
none of addresses I, J, and K, the same vector as that generated in the
previous block is generated at the end of the block.
N1 G41 X_ Y_ Z_ I_ J_
K_ D_
N2 X_ Y_ Z_ I_ K_ Vector calculation is
performed with the omitted J
value assumed to be the
value in N1.
N3 X_ Y_ Z_ I_ Vector calculation is
performed with the omitted J
value and K value assumed
to be the value in N1 and the
value in N2, respectively.
- 993 -
10.TOOL FUNCTION B-63323EN-1/03
NOTE
1 When bit 0 (ONI) of parameter No. 6029 is 1, the
functions using the I, J, and K commands listed
below must not be used in three-dimensional tool
compensation mode. Otherwise, the PS0282
alarm is issued.
Exponential interpolation (I, J, and K commands of
G02.3/G03.2)
Canned cycle shift amount (I and J commands of
G76 and G87)
Type 2 of tool center point control (I, J, and K
commands of G43.5)
Direction of rigid tapping orientation (I command of
G84.2/G84.3)
2 When bit 0 (ONI) of parameter No. 6029 is 1, the I,
J, and K commands must be specified using the
decimal point. If these commands are specified
without the decimal point, a PS0283 alarm is
issued.
3 When bit 0 (ONI) of parameter No. 6029 is 1, macro
variables cannot be used for the I, J, and K
commands.
- 994 -
B-63323EN-1/03 10.TOOL FUNCTION
Parameter
6011 Constant denominator for three-dimensional tool compensation or tool
length compensation in a specified direction
!
" #
$ %&%!!!!!!'!!!%(!!!!!!'!!!
) '
#7 #6 #5 #4 #3 #2 #1 #0
6029 ONI
&
NOTE
When this parameter is set to 1, the I, J, and K commands of
three-dimensional tool compensation must be specified using the
decimal point. If these commands are specified without the
decimal point, alarm PS0283 is issued.
- 995 -
10.TOOL FUNCTION B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
6030 OKI
3
&
Reference item
Series15i/150i-MA Operators Manual II-14.5 Three dimensional tool
(Programming) offset
(B-63324EN)
- 996 -
B-63323EN-1/03 10.TOOL FUNCTION
General
Cutter compensation data, tool length compensation data, and the tool
pot number can be set for a specific tool number (T code). Up to 300
sets of data can be set. If a certain tool number is specified, the pot
number corresponding to that tool number is output as a T code to the
PMC. If cutter compensation or tool length compensation is specified,
compensation is performed using the cutter compensation or tool
length compensation data set for the tool number.
Format
- Registration involving tool data deletion
Format Meaning of command
G10L70; G10L70:Starts the deletion of registered tool data and the
T-P-K-R-; registration of new tool data.
T-P-K-R-; T-:Tool number(0-99999999)
: P-:Pot number(0-9999)
T-P-K-R-; K-:Tool length offset(Caution)
G11; R-:Cutter compensation value(Caution)
M02(M30); G11:Ends the registration of setting data.
- 997 -
10.TOOL FUNCTION B-63323EN-1/03
CAUTION
The unit of data and valid data range of tool length
offsets and cutter compensation values depend on
the settings of bit 0 (OFA) of parameter No. 6002, bit
1 (OFC) of parameter No. 6002, bit 0 (OFD) of
parameter No. 6004, and bit 0 (OFE) of parameter
No. 6007.
Example:
- 998 -
B-63323EN-1/03 10.TOOL FUNCTION
Example F
Compensation based on tool data (when the M code for tool change is M06)
N11 T01 ; : The pot number, 10, corresponding to T01 is output as a code signal.
N12 M06 ; : The cutter compensation value and tool length compensation value
corresponding to T01 become valid.
N13 G43 _ _ _ ; : Tool length compensation is performed using the valid compensation
value (K11.0 of T01).
N14 T02 ; : The pot number, 20, corresponding to T02 is output as a code signal.
N15 G41 _ _ _ ; : Cutter compensation is performed using the valid compensation value
(R12.0 of T02).
N16 G40 G49 ;
N17 M06 ; : The cutter compensation value and tool length compensation value
corresponding to T02 become valid.
N18 G43 _ _ _ ; : Tool length compensation is performed using the valid compensation
value (K21.0 of T02).
NOTE
Use parameter No. 2429 to specify an M code for tool
change.
- 999 -
10.TOOL FUNCTION B-63323EN-1/03
- 1000 -
B-63323EN-1/03 10.TOOL FUNCTION
Example
N01 T10 ; : The tool pot number corresponding to T10 is output as a code signal.
N02 M06 T11 ; : The cutter compensation value and tool length compensation value
magazine.
The tool number specified in a block where M06 is specified specifies the number of the tool to
be returned to the magazine. Accordingly, the compensation values corresponding to the tool
number (T11) specified in the block where M06 is specified do not become valid for the next M
N01 T10 ; : The tool pot number corresponding to T10 is output as a code signal.
N02 M06 T11 ; : The cutter compensation value and tool length compensation value
N03 M06 T10 ; : The compensation values corresponding to T11 become valid, and the
N01 T10 M06 ; : The tool pot number corresponding to T10 is output as a code signal, and
N02 T11 M06 ; : The tool pot number corresponding to T11 is output as a code signal, and
- 1001 -
10.TOOL FUNCTION B-63323EN-1/03
- Notification output to the machine when tools having the same pot number are
specified
If there are two or more programmed tool numbers having the same pot
number, the pot number duplication signal (TDUP) is output to the
machine.
Example:
- T code handling with the program check screen and system variables
Using bit 4 (TLN) of parameter No. 2203, the user can select whether
to use a tool pot number or tool number as a T code to be displayed on
the program check screen and read by a system variable.
CAUTION
Relationship with compensation based on an H code or D code
Compensation can be performed by specifying an
offset number for tool offset with an H code/D code.
However, tool length compensation or cutter
compensation cannot be performed by specifying an
offset number with an H code/D code. If such an
attempt is made, a compensation value of 0 is
assumed. By setting bit 5 (NOT) of parameter No.
0011 to 1, however, tool length compensation or
cutter compensation can be performed by specifying
an offset number with an H code/D code. In such a
case, tool offset based on tool numbers (tool pot
number output, and compensation based on the
compensation value for a tool number) becomes
impossible. Set the parameter to the reset state.
- 1002 -
B-63323EN-1/03 10.TOOL FUNCTION
If tool offset based on tool numbers and tool life management are used
at the same time, rather than a programmed T code (group number), the
actually selected tool number (T code) belonging to that group acts as a
tool number (T code) command for tool offset based on tool numbers.
Example F
Program (the tool life management ignore number is 1000, and the M code for tool
change is 6.)
N1 T1005 ;
N2 M06 ;
(1) As T1005 is specified in N1, tool number 1 in tool life management group 05 is
selected. Then, in tool offsetting based on tool numbers, the pot number (100)
(2) As M06 is specified in N2, life count starts for the tool corresponding to tool
- 1003 -
10.TOOL FUNCTION B-63323EN-1/03
Signal
Duplicate pot number signal
TDUP<F044#6>
[Classification] Output signal
[Function] Notifies the machine that, in tool offset by tool number, a duplicate pot
number exists in the tool data for a specified tool.
[Output condition] This signal is output under the same conditions as those for the tool
function strobe signal (TF).
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F044 TDUP
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0011 NOT
&
- 1004 -
B-63323EN-1/03 10.TOOL FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
2203 TLN
3
&
+8 .9- .
: . "
1 )"
0: Pot numbers
1: Tool numbers
3
;*
!!!!!!!!
*7*<=*!>!!
" " ' *
?*?'
- 1005 -
10.TOOL FUNCTION B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
7401 CT2 CT1
3
&
+* @.7
+7 @.< #
1
" 2
#7 #6 #5 #4 #3 #2 #1 #0
7617 DNA
&
- 1006 -
B-63323EN-1/03 10.TOOL FUNCTION
Reference item
Series15i/150i-MA Operators Manual II-14.11.2 Tool offset by tool
(Programming) number
(B-63324EN)
- 1007 -
10.TOOL FUNCTION B-63323EN-1/03
General
When a five-axis machine that has two axes for rotating the tool is used,
tool length compensation can be performed in a specified tool axis
direction on a rotation axis. When a rotation axis is specified in tool
axis direction tool length compensation mode, tool length
compensation is applied in a specified tool axis direction on the
rotation axis by the compensation value specified in the H code. That
is, movement is made along the three linear axes (Xp, Yp, Zp).
Unless otherwise noted in the explanation of this function, the two
rotation axes are assumed to be the B-axis and C-axis.
B C
Z
Workpiece C
B
Y
- 1008 -
B-63323EN-1/03 10.TOOL FUNCTION
(1) A-axis and C-axis, with the tool axis on the Z-axis
A C
Workpiece C
A
Y
X
Vx = Lc * sin(a) * sin(c)
Vy = -Lc * sin(a) * cos(c)
Vz = Lc * cos(a)
- 1009 -
10.TOOL FUNCTION B-63323EN-1/03
(2) B-axis and C-axis, with the tool axis on the Z-axis
B C
Z
Workpiece C
B
Y
Vx = Lc * sin(b) * cos(c)
Vy = Lc * sin(b) * sin(c)
Vz = Lc * cos(b)
(3) A-axis and B-axis, with the tool axis on the X-axis
A
Workpiece
X
B
Y
Vx = Lc * cos(b)
Vy = Lc * sin(b) * sin(a)
Vz = -Lc * sin(b) * cos(a)
- 1010 -
B-63323EN-1/03 10.TOOL FUNCTION
(4) A-axis and B-axis, with the tool axis on the Z-axis, and the B-axis
used as the master
B X
Workpiece Y
Vx = Lc * cos(a) * sin(b)
Vy = -Lc * sin(a)
Vz = Lc * cos(a) * cos(b)
(5) A-axis and B-axis, with the tool axis on the Z-axis, and the A-axis
used as the master
Y
B
Workpiece
X
A
Vx = Lc * sin(b)
Vy = -Lc * sin(a) * cos(b)
Vz = Lc * cos(a) * cos(b)
- 1011 -
10.TOOL FUNCTION B-63323EN-1/03
Rotation center
Tool
length
- 1012 -
B-63323EN-1/03 10.TOOL FUNCTION
When rotation axis origin compensation and rotation offsetting are set
at the same time, both compensations are performed.
When the tool axis is on the Z-axis, and the rotation axes are the B-axis
and C-axis, compensation vector calculation is performed as follows:
Xp = Lc * sin(B-(Bz+Bo)) * cos(C-(Cz+Co))
Yp = Lc * sin(B-(Bz+Bo)) * sin(C-(Cz+Co))
Zp = Lc * cos(B-(Bz+Bo))
Bz,Cz :B-axis and C-axis origin compensation values
Bo,Co :B-axis and C-axis rotation axis offset values
NOTE
Even in three-dimensional handle feed/interrupt,
rotation axis origin compensation and rotation axis
offset can be used. Note, however, that a
compensation vector for tool axis direction tool length
compensation is calculated using absolute
coordinates, while machine coordinates are used for
three-dimensional handle feed/interrupt. This means
that, if there is a mismatch between the absolute
coordinates and machine coordinates, a different
compensation calculation result is produced by each
function. So, when using three-dimensional handle
feed/interrupt together with tool axis direction tool
length compensation, ensure that the machine
coordinates and absolute coordinates match.
Limitation
- 1013 -
10.TOOL FUNCTION B-63323EN-1/03
G53 Specified
point
G00
Specified
Workpiece coordinate point
system origin
Fig. 10.4.6 (c) Machine Coordinate System Positioning during Tool Axis
Direction Tool Length Compensation
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1014 RAP RAM
3
&
+* # 1
%
'
*2 - '
72 '
1
'
+7 #3 1
%
'
*2 ,'
72 3 ' .
'
- 1014 -
B-63323EN-1/03 10.TOOL FUNCTION
1029 Axis number of the linear axis to which a rotation axis belongs
3
*%
When a rotation axis turns about a linear axis, the linear axis is referred to as an axis
to which the rotation axis belongs, and is set using this parameter. For a rotation
axis that belongs to no linear axis, or for a linear axis, 0 is set.
Example:
Axis configuration: X, Y, Z, C, A
Linear axis: X, Y, Z
Rotation axis: A (turning about the X-axis), C (turning about the Z-axis)
In the above case, set the following:
#7 #6 #5 #4 #3 #2 #1 #0
2202 DTL
3
&
+< .9 1 "
@. ) "
6
'
*2 . ) '
72 . ) ' .
"
'
$
% ) "7'
- 1015 -
10.TOOL FUNCTION B-63323EN-1/03
3
7%=
Enter the tool axis direction when the two rotation axes are set at 0 degree.
Data Tool axis direction
1 X-axis
2 Y-axis
3 Z-axis
3
*%
$ ) "
" '
;
%
* '
3
!
" #
$ %&%!!!!!!'!!!%(!!!!!!'!!!
$
%
1 " @-@' .
" "
"7#3
-'7*78'
- 1016 -
B-63323EN-1/03 10.TOOL FUNCTION
3
!
" #
$ %&%!!!!!!'!!!%(!!!!!!'!!!
# "
%
) '
3
!
" #
$ %&%!!!!!!'!!!%(!!!!!!'!!!
1 %
'
7548 Tool holder offset for tool axis direction tool length compensation
3
!
" #
$ %&%!!!!!!'!!!%(!!!!!!'!!!
) ) %
1
'
- 1017 -
10.TOOL FUNCTION B-63323EN-1/03
Reference item
Series15i/150i-MA Operators Manual II-14.12 Tool axis direction tool
(Programming) length compensation
(B-63324EN)
- 1018 -
B-63323EN-1/03 10.TOOL FUNCTION
General
If the position of a workpiece is set as a reference fixture offset with
respect to the position of the rotary table, a fixture offset after rotation
of the rotary table can be automatically calculated from the angular
displacement of the rotary table, and the workpiece coordinate system
can be created accordingly. Once a reference fixture offset is set, the
workpiece coordinate system can be dynamically held for any position
of the rotary table. The sum of the fixture offset and the workpiece
origin offset determines the origin of the workpiece coordinate system.
Y
Y
Y
X
X
F0
F
0
X
Center of
rotation axis
C
- 1019 -
10.TOOL FUNCTION B-63323EN-1/03
- Setting data
(1) Groups of three parameters specifying a rotation axis and two
linear axes constituting a rotation plane
(parameters 6068 to 6076)
The first parameter of each group specifies the number of the
rotation axis, and the second and third parameters specify the
numbers of the linear axes. The order in which the two linear axes
are specified must be such that rotation in the positive direction
about the rotation axis agrees with the rotation from the positive
side of the first linear axis to the positive side of the second linear
axis.
Example) Let three axes X, Y, and Z of a four-axis machine form
a right-handed coordinate system and the remaining axis C
be such a rotation axis that the positive rotation about the
axis matches the counterclockwise rotation about the Z-axis
when the negative side of the Z-axis is viewed from the
positive side. Then, the three parameters specify the
following:
First parameter : 4 (C-axis)
Second parameter : 1 (X-axis)
Third parameter : 2 (Y-axis)
Up to three groups of parameters can be specified. In fixture
offset calculation, the data of the rotation axis of the first group is
calculated first. From the result, the data of the second and third
groups is calculated. If there are two or more rotation axes and if
a rotation plane varies with the rotation about another rotation
axis, the rotation plane with the relative rotation axis set to the 0
position should be specified.
(2) Reference angle of the rotation axis and corresponding reference
fixture offset
The position of the rotation axis (reference angle) and the
corresponding fixture offset (reference fixture offset) are
specified.
The data is specified on the fixture offset screen.
Up to eight pairs can be specified.
(3) Parameter for enabling or disabling fixture offset for each
axis(FAX bit (bit 0 of parameter 1007))
The bit is set to 1 for an axis for which fixture offset is enabled.
This setting is unnecessary for a rotation axis.
(4) Parameter specifying a fixture offset type
(FTP bit (bit 1 of parameter 6004))
This parameter specifies whether movement is made according to
a change in the vector of fixture offset (when movement is made
about the rotation axis by the G54.2 command or in G54.2 mode).
- 1020 -
B-63323EN-1/03 10.TOOL FUNCTION
NOTE
This operation requires the programmable data
input (G10) function.
NOTE
This operation requires the use of the custom macro
function.
NOTE
This operation requires the use of an NC window
and a custom macro function.
- 1021 -
10.TOOL FUNCTION B-63323EN-1/03
NOTE
This operation requires a reader/punch interface
and a programmable data input function.
NOTE
This operation requires the use of a reader/punch
interface and a programmable data input function.
Limitation
- 1022 -
B-63323EN-1/03 10.TOOL FUNCTION
- 1023 -
10.TOOL FUNCTION B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1007 FAX
3
&
+* ;#C 1 ) '
*2 )'
72 '
#7 #6 #5 #4 #3 #2 #1 #0
2409 KWZ
3
&
$ 1 1
'
#7 #6 #5 #4 #3 #2 #1 #0
6004 FTP
3
&
- 1024 -
B-63323EN-1/03 10.TOOL FUNCTION
3
*%
1
' . 1 1
" ) "
1 )
7 ) <'
1 " '
' .
'
F *
'
Reference item
Series15i/150i-MA Operators Manual II-14.13 Rotary table dynamic
(Programming) fixture offset
(B-63324EN)
- 1025 -
10.TOOL FUNCTION B-63323EN-1/03
General
The three-dimensional cutter compensation function is used with
machines that can control the direction of tool axis movement by using
rotation axes (such as the B- and C-axes). This function performs
cutter compensation by calculating a tool vector from the positions of
the rotation axes, then calculating a compensation vector in a plane
(compensation plane) that is perpendicular to the tool vector.
There are two types of cutter compensation: Tool side compensation
and leading edge compensation. Which is used depends on the type of
machining.
Tool center
path(after
compensation)
Z
Y
X
Compensation
Cutter
plane
compensation amount
Fig.10.4.8 (a) Tool side compensation
Tool vector
Tool used
Reference
tool
- 1026 -
B-63323EN-1/03 10.TOOL FUNCTION
Parameter
(1) Parameters setting the relationship between the rotation axis and rotation plane with which the tool is
controlled
(1) Relationship between the rotation axis and rotation plane Parameter iNo.6080 to 6089 j
(2) Direction of the tool axis Parameter iNo.6106 to 6107 j
(3) Reference angle for the rotation axis Parameter iNo.6104 to 6105 j
(2) Parameters for tool side compensation
Limit for ignoring the small movement Parameter iNo.6114 j
Interference check at compensation plane switching Parameter NIC iNo.0014#5 j
Parameter iNo.6261 j
(3) Parameter for leading edge offset
Angle variation range Parameter iNo.6115 j
(4) Parameters for cutter compensation
Single block stop in an internally generated block Parameter SBO iNo.0010#7 j
Displayed incremental and absolute positions not including the cutter Parameter DCR iNo.2202#3 j
compensation vector
Validating an offset change starting with the next buffered block Parameter EV0 iNo.6000#0 j
Startup B Parameter CSU iNo.6001#0 j
Making no interference check in the move direction Parameter CNC iNo.6001#1 j
Making no interference check Parameter CNI iNo.6001#6 j
Startup C Parameter CSC iNo.6003#7 j
Limit for ignoring the small movement Parameter iNo.6010 j
For parameters (4), see the section on cutter compensation.
- 1027 -
10.TOOL FUNCTION B-63323EN-1/03
6080 Rotation axis for three-dimensional cutter compensation and so forth (first
group)
6081 Linear axis 1 for three-dimensional cutter compensation and so forth (first
group)
6082 Linear axis 2 for three-dimensional cutter compensation and so forth (first
group)
6083 Linear axis 3 for three-dimensional cutter compensation and so forth (first
group)
!"
6084 Angle of inclination for the rotation axis for three-dimensional cutter
compensation and so forth (first group)
#
$
%
& '!!
(
)*%%%%%%"%%%+%%%%%%"%%%!
!"
- 1028 -
B-63323EN-1/03 10.TOOL FUNCTION
&
!"
- 1029 -
10.TOOL FUNCTION B-63323EN-1/03
6089 Angle of inclination for the rotation axis for three-dimensional cutter
compensation and so forth (second group)
#
$
%
& '!!
(
)*%%%%%%"%%%+%%%%%%"%%%!
Set the angle of rotation for the rotation axis to perform three-dimensional cutter
compensation/spindle unit compensation/inclined rotary head tool length
compensation (second group).
- These parameters set the relationship between the rotation axis and rotation
plane.
- Two groups can be set. Therefore, machines controlled with two rotation
axes are supported.
- In the calculation of the tool direction, calculation for the rotation axis of the
first group is made first, then based on the calculation result, calculation for the
rotation axis for the second group is made.
- When two rotation axes are used, the rotation plane may be changed by the
rotation of the other rotation axis. In this case, set the rotation plane obtained
when the rotation axis position is 0 degrees.
- When there is one rotation axis, set the rotation axis of the second group to 0.
- In general, the direction vector of a rotation axis has three direction components.
This function supports direction vectors with one direction component and two
direction components. In each case, set the following:
A) When the direction vecotor of a rotation axis has one direction component
(type A)
The rotation axis rotates about one of the basic three axes.
1) Set axis numbers for the rotation axis, linear axis 1, and linear axis 2.
2) Set the linear axis 3 and the angle of inclination to 0.
3) The rotation axis is defined as follows:
- 1030 -
B-63323EN-1/03 10.TOOL FUNCTION
1) Set axis numbers for the rotation axis, linear axis 1, and linear axis 2.
2) Set the linear axis 3 and the angle of inclination to 0.
3) The rotation axis is defined as follows:
-The rotation axis rotates about an axis that perpendicularly intersects
the plane formed by linear axis 1 and linear axis 2.
-When the rotation axis rotates from the positive direction of linear
axis 1 to the positive direction of linear axis 2, the rotation axis is
said to rotate in the positive direction.
Z
C Y
B) When the direction vector of a rotation axis has two direction components
(type B)
The rotation axis rotates about an axis that lies in a plane formed by any
two of the basic three axes.
1) Set axis numbers for the rotation axis, linear axis 1, linear axis 2, and
linear axis 3.
2) The linear axes 1, 2, and 3 form a right-handed coordinate system in
this order.
3) The angle of inclination is defined as follows:
-Rotation is performed in the plane formed by linear axes 3 and 1.
-When the rotation axis rotates from the positive direction of linear
axis 3 to the positive direction of linear axis 1, the angle of
inclination is positive.
-When the rotation axis and linear axis 3 match, the angle of
inclination is 0 degrees.
4) When the angle of inclination is 0 degrees, the rotation axis is defined
as follows:
-The rotation axis rotates about an axis that perpendicularly intersects
the plane formed by linear axes 1 and 2.
-When the rotation axis rotates from the positive direction of linear
axis 1 to the positive direction of linear axis 2, the rotation axis is
said to rotate in the positive direction.
Z
B
Y
: Angle of
inclination
X
- 1031 -
10.TOOL FUNCTION B-63323EN-1/03
Z
B
Y
: Angle of
inclination
X
6104 Reference angle for the rotation axis for three-dimensional cutter
compensation and so forth (first group)
6105 Reference angle for the rotation axis for three-dimensional cutter
compensation and so forth (second group)
#
$
%
& '!!
(
)*%%%%%%"%%%+%%%%%%"%%%!
"
,
-"./.-"./0! "
$* ""
- 1032 -
B-63323EN-1/03 10.TOOL FUNCTION
6106 Reference angle for the tool axis in the plane formed by linear axes 2 and 3
(RA)
6107 Reference angle for the tool axis in the plane formed by linear axes 3 and 1
(RB)
#
$
%
& '!!
(
)*%%%%%%"%%%+%%%%%%"%%%!
&
#'#)"
-"./../0
1
2
&
##!
3"
#4 #
&
5
3" (
2
5 2
3*
2 "
#4 #
&
3
/" (
2
3 2
/*
2 "
6
/*5*3
-".7/.73"
- 1033 -
10.TOOL FUNCTION B-63323EN-1/03
Linear axis 2
RA = 0.0
RB = 0.0
Linear axis 1
Linear axis 2
RA = 0.0
RB = 90.0
Linear axis 1
#
$
* !
%
& '!!
(
)*%%%%%%"%%%+%%%%%%"%%%!
(
*
&8 & &8222
,
2
" *&8
" $* 2 &
"/"
- 1034 -
B-63323EN-1/03 10.TOOL FUNCTION
#7 #6 #5 #4 #3 #2 #1 #0
0014 NIC
)
9: -; ,
8,
,
"
4
"
/4
"
#
$
%
& '!!
(
)*%%%%%%"%%%+%%%%%%"%%%!
A tool direction change is assumed when the angle difference between two tool
direction vectors in three-dimensional cutter compensation is equal to or greater
than the value set in this parameter.
When 0 is set, the specification of 45 degrees is assumed.
Let two tool direction vectors be Va and Vb. When the difference in angle is
degrees or more as shown in the figure below, the tool direction vector is
determined to have been changed.
Va
degrees
Vb
- 1035 -
10.TOOL FUNCTION B-63323EN-1/03
#
$
%
& '!!
(
)*%%%%%%"%%%+%%%%%%"%%%!
This parameter sets a variation range used to determine whether the included angle
between the tool direction vector (VT) and move direction vector (VM) is 0, 180,
or 90 during leading edge offsetting.
For example, let the included angle between VT and VM be (0180), and the
angle set in this parameter be . Then, is determined as follows:
When 0 =0
When (180-) 180 =180
When (90-) (90 { ) =90
Normally, set around 1.0 in this parameter.
- 1036 -
B-63323EN-1/03 10.TOOL FUNCTION
Reference item
Series15i/150i-MA Operators Manual II-14.14 Three dimensional tool
(Programming) offset
(B-63324EN)
- 1037 -
10.TOOL FUNCTION B-63323EN-1/03
Description
This function calculates a vector at the tool tip position for the three-
dimensional cutter compensation function as described below.
- 1038 -
B-63323EN-1/03 10.TOOL FUNCTION
Program-specified
point (pivot point)
Conventional 3D cutter
compensation vector
3D cutter compensation
vector according to this
specification Workpiece
- Cautions
CAUTION
1 This function is not effective for leading edge offset.
2 With a command for a rotation axis only, this function
does not calculate a cutter compensation vector.
3 This function cannot be used in three-dimensional
coordinate conversion mode.
4 The cautions for the three-dimensional cutter
compensation function also apply to this function.
- 1039 -
10.TOOL FUNCTION B-63323EN-1/03
Parameters
(1) Parameters defining the relationship between the rotation axis for controlling the tool and the rotation
plane
1. Relationship between rotation axis and rotation plane Parameters No. 6080 to 6089
2. Direction of the tool axis Parameters No. 6106 to 6107
3. Reference angle for the rotation axis Parameters No. 6104 to 6105
(2) Tool tip position support parameter
Distance from the program-specified point (pivot point) to the tool tip position Parameter No. 6130
(cutting point)
For details of (1), see the section on three-dimensional cutter
compensation.
6130 Distance from the program-specified point (pivot point) to the tool tip
position (cutting point)
#
$
* !
"
%
& '!!
(
)*%%%%%%"%%%+%%%%%%"%%%!
Set the distance from the program-specified point to the actual cutting point to
calculate a three-dimensional cutter compensation vector at the tool tip position.
Reference items
FANUC Series Connection Manual 10.4.8 Three-dimensional tool
15i/150i-MA iThis manual j compensation
- 1040 -
B-63323EN-1/03 10.TOOL FUNCTION
In a five-axis machine tool having three basic axes and two rotation
axes for turning the tool, tool length compensation can be applied in the
direction of the tool axis.
The tool axis direction is specified with I, J, and K; a move command
for the rotation axes is not specified directly. When I, J, and K are
specified in designation direction tool length compensation mode, the
following operation is performed automatically:
- The two rotation axes operate so that the tool axis is oriented in
the direction specified by I, J, and K. (This specifications manual
explains this operation.)
B C
Z
Workpiece C
B
Y
- 1041 -
10.TOOL FUNCTION B-63323EN-1/03
NOTE
1 The format of specified-direction tool length
compensation is the same as that for three-
dimensional tool compensation. When using
specified-direction tool length compensation, set bit
0 (DDT) of parameter No. 7711 to 1.
2 A three-dimensional space in which specified-
direction tool length compensation is to be
performed is determined by the axis addresses
specified in G41. If Xp, Yp, or Zp is not specified,
specified-direction tool length compensation is
performed along the X-axis, Y-axis, or Z-axis.
3 Specify I, J, and K in a G41 block at all times. If any
of I, J, or K is missing, ordinary tool length
compensation is performed.
4 Usually, specified-direction tool length
compensation is started by the G41 command.
When the G42 command is specified, compensation
is performed in the direction opposite to that of G41.
NOTE
A compensation vector can be cancelled by
specifying G40; only. In this case, no movement is
made on a rotation axis.
- 1042 -
B-63323EN-1/03 10.TOOL FUNCTION
(I , J , K )
All positions are represented by absolute
coordinates.
( X ,Y , Z )
I
x= X +l
I + J2 + K2
2
J
y =Y + l
I2 + J2 + K2
K
z=Z +l
I2 + J 2 + K2
I2 + J2
b = tan 1
K
J
c = tan 1
I
Fig. 10.4.9 (b) Expression for Compensation Calculation
Compensation vector
of the previous block
Programmed path
- 1043 -
10.TOOL FUNCTION B-63323EN-1/03
NOTE
1 In a block in which all of I, J, and K are omitted, the
compensation vector for the previous block is used.
2 If any one of I, J, or K is omitted, 0 is assumed in
place of the omitted value.
3 Shortcut control is exercised on the amount of
movement on a rotation axis so that 180 is not
exceeded.
- 1044 -
B-63323EN-1/03 10.TOOL FUNCTION
A C
Workpiece C
A
Y
X
I2 + J2
a = tan 1
K
I
c = tan 1
J
(2) When the rotation axes are the B- and C-axes, and the tool axis is
the Z-axis
B C
Z
Workpiece C
B
Y
I2 + J2
b = tan 1
K
J
c = tan 1
I
- 1045 -
10.TOOL FUNCTION B-63323EN-1/03
(3) When the rotation axes are the A- and B-axes, and the tool axis is
the X-axis
A
Workpiece
X
B
Y
J
a = tan 1
K
J 2 + K2
b = tan 1
I
(4) When the rotation axes are the A- and B-axes, and the tool axis is
the Z-axis (master axis: B-axis)
B X
Workpiece Y
J
a = tan 1
I + K2
2
I
b = tan 1
K
- 1046 -
B-63323EN-1/03 10.TOOL FUNCTION
(5) When the rotation axes are the A- and B-axes, and the tool axis is
the Z-axis (master axis: A-axis)
Y
B
Workpiece
X
A
J
a = tan 1
K
I
b = tan 1
J + K2
2
- 1047 -
10.TOOL FUNCTION B-63323EN-1/03
Limitation
- 1048 -
B-63323EN-1/03 10.TOOL FUNCTION
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1014 RAP RAM
)
9 #' ,
*
*
"
4 -
"
/4 $
"
,
"
9/ #' ,
*
*
"
4 <
"
/4
" 1
"
1029 Axis number of the linear axis to which a rotation axis belongs
When a rotation axis turns about a linear axis, the linear axis is referred to as an axis
to which the rotation axis belongs, and is set using this parameter. For a rotation
axis that belongs to no linear axis, or for a linear axis, 0 is set.
Example:
Axis configuration: X, Y, Z, C, A
Linear axis: X, Y, Z
Rotation axis: A (turning about the X-axis), C (turning about the Z-axis)
In the above case, set the following:
Axis name Setting
1 X 0
2 Y 0
3 Z 0
4 C 3
5 A 1
- 1049 -
10.TOOL FUNCTION B-63323EN-1/03
#
$
* !
%
& '!!
(
)*%%%%%%"%%%+%%%%%%"%%%!
2
"
/3
=
, ,
"
( 2
&
* &
"
>
* "
- 1050 -
B-63323EN-1/03 10.TOOL FUNCTION
Caution
CAUTION
Always set the following parameters to 1 for the
rotation axis for designation direction tool length
compensation:
Parameter ROT iNo.1006#0 j
Parameter ROL iNo.1009#2 j
Reference item
Series15i/150i-MA Operators Manual II-14.15 Designation direction
(Programming) tool length
(B-63324EN) compensation
- 1051 -
10.TOOL FUNCTION B-63323EN-1/03
On a five-axis machine having two rotation axes that turn a tool, tool
length compensation can be performed momentarily even in the middle
of a block.
This tool length compensation is classified into two types by the
difference in programming method. In the explanation of this function,
the two rotation axes are assumed to be the B- and C-axes.
(1) Type 1
The rotation axis position (B, C) is specified.
The CNC applies tool length compensation by the compensation
amount along the tool axis of which orientation is calculated from
the specified rotation axis position. This means that
compensation is performed by moving the three linear axes.
(2) Type 2
The tool axis orientation (I, J, K) is specified.
The CNC controls the two rotation axes so that the tool is oriented
as specified, and performs tool length compensation along the tool
axis by the compensation amount. This means that compensation
is performed by moving the two rotation axes and three linear
axes.
Tool center point control (type 1) differs from tool length
compensation along the tool axis as shown below:
Tool center point control (type 1)
The path of the tool tip center is linear as specified.
- 1052 -
B-63323EN-1/03 10.TOOL FUNCTION
NOTE
The length from the tool tip to tool pivot point must
equal the sum of the tool length compensation and
tool holder offset.
NOTES
1 The command format of tool center point control (type
2) is very different from the command format of
designation direction tool length compensation
(G41I_J_K_D_).
2 When I, J, and K are all omitted form a block, the
compensation vector in the previous block is used.
3 When any of I, J, and K is omitted, the omitted I, J, or K
is assumed to be 0.
4 Movement of the rotation axes is controlled by a
shortcut control so that the amount of movement
does not exceed 180.
NOTE
The command for canceling tool center point control
(type 2) differs from the command for canceling
designation direction tool length compensation
(G40).
- 1053 -
10.TOOL FUNCTION B-63323EN-1/03
Description
- Specification of tool center point control
The tool compensation vector changes in the following cases:
Type 1 : The offset value is changed, or the rotation axis position
(B, C) is specified.
Type 2 : The offset value is changed, or the tool axis orientation (I,
J, K) is specified
As the tool compensation vector changes, movement occurs along the
X-, Y-, and Z-axes by the amount of the change. The time at which the
tool compensation vector is calculated is as follows:
Tool center point control : Calculated momentarily even in the
middle of a block.
Tool length compensation along the tool axis : Calculated only at
the end point of a block.
Designation direction tool length compensation : Calculated only
at the end of a block
When only the rotation axis position is specified in tool center point
control (type 1) mode, and when only I, J, and K are specified in tool
center point control (type 2) mode, the tool tip center position remains
unchanged before and after the specification. (Also while the rotation
axes are being moved, the tool tip center does not move.)
- Inclination angle of the tool
For tool center point control (type 2), the inclination angle of the tool
can be specified with address Q of G43.5. The inclination angle of the
tool is the difference in the angle between the tool orientation specified
by (I, J, K) and the tool orientation set for actual machining.
If the tool orientation specified by (I, J, K) matches the tool orientation
set for actual machining, Q need not be specified.
Machining direction
Example: For machining with the tool tilted toward the machining
direction by 2 degrees, specify the following:
G43.5 I_ J_ K_ H_ Q2.0
- 1054 -
B-63323EN-1/03 10.TOOL FUNCTION
- Programmed point
In programming, the position of the tool tip center is specified.
Ball-end mill
Tool tip center
Programmed path
Flat-end mill
Tool tip center
Programmed path
Corner-radius-end mill
Tool tip center
Programmed path
- 1055 -
10.TOOL FUNCTION B-63323EN-1/03
- 1056 -
B-63323EN-1/03 10.TOOL FUNCTION
Restrictions
- Axis name extension
NOTE
When I, J, and K are used as axis names by axis
name extension, tool center point control (type 2)
cannot be used.
- Manual intervention
When manual intervention is made for a rotation axis with the manual
absolute switch set to off, the compensation vector is calculated using
the rotation axis position that was found just before the manual
intervention.
Example: When the manual absolute switch is turned off with B
positioned to 30.0, then a manual intervention by 1.0 degree is
made for the B-axis, the machine coordinate position of the B-axis
is 31.0. Then, starting automatic operation sets the absolute
coordinate position of the B-axis to 30.0. In tool center point
- 1057 -
10.TOOL FUNCTION B-63323EN-1/03
Example:
Interpolation path
In the above example, the feedrate is controlled so that the tool tip
center moves at a specified feedrate. As a result, a higher feedrate than
the specified feedrate is detected on the interpolation path. In such a
case, if look-ahead acceleration/deceleration before interpolation is
used, the feedrate is clamped so that the feedrate on the interpolation
path does not exceed the maximum cutting feedrate. If look-ahead
acceleration/deceleration before interpolation is not used, a higher
feedrate on the interpolation path than the maximum cutting feedrate
results in alarm OT0553.
- Functions resulting in the same operation as tool length compensation along the
tool axis
- Functions resulting in the same operation as tool length compensation in a
specified direction
When the following functions are used in tool center point control
mode, the same operation as tool length compensation along the tool
axis (type 1) or tool length compensation in a specified direction (type
2) results:
-Specification of an axis not related to tool center point control
-Skip function (G31 to G31.9)
-Unidirectional positioning (G60)
-The following G functions of group 01:
Circular interpolation, helical interpolation, spiral interpolation,
conical interpolation (G02, G03)
Circular threading B (G2.1, G3.1)
Involute interpolation (G2.2, G3.2)
Three-dimensional circular interpolation (G2.4, G3.4)
Threading (G33)
-Selection of a workpiece coordinate system (G54 to G59)
-Setting of a workpiece coordinate system (G92)
- 1058 -
B-63323EN-1/03 10.TOOL FUNCTION
- Unavailable functions 1
In tool center point control mode, the functions listed below cannot be
used.
If these functions are used, the compensation vector of the previous
block is used as is.
-The following G functions of group 01:
Exponential interpolation (G2.3, G3.3)
Spline interpolation (G6.1)
Smooth interpolation (G5.1Q2)
NURBS interpolation (G6.2)
-Cylindrical interpolation (G7.1)
-Polar coordinate interpolation (G12.1)
-Normal-direction control (G41.1, G42.1)
- Unavailable functions 2
In tool center point control mode, the functions listed below cannot be
used.
To use these functions, specify G49 to cancel tool center point control,
then specify these functions.
-Reference position return check (G27)
-Automatic reference position return command (G28, G29, G30)
-Positioning of the machine coordinate system (G53)
Parameters
The parameters used are the same as those for tool length compensation
along the tool axis and tool length compensation in a specified
direction.
- 1059 -
10.TOOL FUNCTION B-63323EN-1/03
Reference
FANUC Series Connection Manual 10.4.6 Tool length
15i/150i-MA (Function) compensation along tool
(B-63323EN-1) axis
10.4.9 Designation direction tool
length compensation
- 1060 -
B-63323EN-1/03 10.TOOL FUNCTION
Normally, the control point of tool length compensation along the tool
axis is the point of intersection of the centers of two rotation axes. The
machine coordinates also indicate this control point.
This section explains the compensation performed when the centers of
the two rotation axes do not intersect and also explains how to place the
control point at a convenient position on the machine.
Description
- Compensation of the rotation centers of two rotation axes
Compensation when the rotation centers of two rotation axes do not
match is performed.
The length from the tool mounting position to the first rotation axis
center is set as the tool holder offset value in parameter No. 7548.
The vector from the first rotation axis center to the second rotation axis
center is set as the rotation center compensation vector in parameter No.
7519. Since parameter No. 7519 is an axis type parameter, the
compensation amount for three axes (X, Y, and Z) can be set in this
parameter.
B axis center
Rotation center
compensation vector B
Tool holder
offset
A A axis Z
center
Tool length
X
compensation amount Y B
A
Workpiece
- 1061 -
10.TOOL FUNCTION B-63323EN-1/03
According to the machine type, set the values listed in the following
table:
Table 10.4.11 (a) Setting the Tool Holder Offset and Rotation Center
Compensation Vector
Machine type Tool holder offset Rotation center
Parameter No. 7548 compensation vector
Parameter No. 7519
(1) A- and C- axes. Tool Length from tool mounting Vector from A-axis center
axis is Z-axis. position to A-axis center to C-axis center
(2) B- and C-axes. Tool Length from tool mounting Vector from B-axis center
axis is Z-axis. position to B-axis center to C-axis center
(3) A- and B-axes. Tool Length from tool mounting Vector from B-axis center
axis is X-axis. position to B-axis center to A-axis center
(4) A- and B-axes. Tool Length from tool mounting Vector from A-axis center
axis is Z-axis. position to A-axis center to B-axis center
B-axis is master.
(5) A- and B-axes. Tool Length from tool mounting Vector from B-axis center
axis is Z-axis. position to B-axis center to A-axis center
A-axis is master.
NOTE
When using the spindle center compensation
described below, set the length from the tool
mounting position to the spindle center as the tool
holder offset.
- Spindle center compensation
Compensation of the spindle center is performed.
The amount of spindle center compensation is set in parameter No.
7520. Since parameter No. 7520 is an axis type parameter, the
compensation amount for three axes (X, Y, and Z) can be set in this
parameter.
- 1062 -
B-63323EN-1/03 10.TOOL FUNCTION
Tool length
compensation amount
Tool tip
(programmed point)
- 1063 -
10.TOOL FUNCTION B-63323EN-1/03
Ordinary tool length Tool length compensation along Tool length compensation along
compensation iG43 j tool axis (G43.1 j: tool axis iG43.1 jF
When tool is not tilted When tool is tilted
Control
point before
shift
Shift
vector
Control Control
point point
Tool length
compensation
vector
The method of shifting the control point can be selected using the
following parameters:
- 1064 -
B-63323EN-1/03 10.TOOL FUNCTION
- 1065 -
10.TOOL FUNCTION B-63323EN-1/03
Parameters
7519 Rotation center compensation vector in tool length compensation along tool
axis
# &
$
* !
1
? , "
-
& '!"!
>
)*%%%%%%"%%%+%%%%%%"%%%!
In the function for tool length compensation along the tool axis, set the vector from
the first rotation axis center to second rotation axis center.
7520 Spindle center compensation vector in tool length compensation along tool
axis
# &
$
* !
1
? , "
-
& '!"!
>
)*%%%%%%"%%%+%%%%%%"%%%!
In the function for tool length compensation along the tool axis, set the
compensation vector of the spindle center.
#7 #6 #5 #4 #3 #2 #1 #0
7540 SVC SBP
)
- 1066 -
B-63323EN-1/03 10.TOOL FUNCTION
9: ; *
4
0: Not shifted.
1: Shifted.
The shift method is specified with bit 4 (SBP) of parameter No. 7540.
7719 Rotation center compensation vector for head 2 in parallel axis control and
twin-table control
# &
$
* !
1
? , "
-
& '!"!
>
)*%%%%%%"%%%+%%%%%%"%%%!
In the function for tool length compensation along the tool axis, set the vector from
the first rotation axis center to second rotation axis center.
7738 Spindle center compensation vector for head 2 in parallel axis control and
twin-table control
# &
$
* !
1
? , "
-
& '!"!
>
)*%%%%%%"%%%+%%%%%%"%%%!
In the function for tool length compensation along the tool axis, set the spindle
center compensation vector.
- 1067 -
10.TOOL FUNCTION B-63323EN-1/03
# &
$
* !
1
? , "
-
& '!"!
>
)*%%%%%%"%%%+%%%%%%"%%%!
In the function for tool length compensation along the tool axis, set the control
point shift vector. This parameter is valid when bit 5 (SVC) of parameter No.
7540 is 1 and bit 4 (SBP) of parameter No. 7540 is 1.
7746 Shift vector of tool length compensation along tool axis for head 2 in parallel
axis control and twin-table control
# &
$
* !
1
? , "
-
& '!"!
>
)*%%%%%%"%%%+%%%%%%"%%%!
In the function for tool length compensation along the tool axis, set the control
point shift vector. This parameter is valid when bit 5 (SVC) of parameter No.
7540 is 1 and bit 4 (SBP) of parameter No. 7540 is 1.
Reference
FANUC Series Connection Manual 10.4.6 Tool length
15i/150i-MA (Function) compensation along tool
(B-63323EN-1) axis
10.4. Tool Center Point Control
- 1068 -
B-63323EN-1/03 10.TOOL FUNCTION
Compensation vector
Format
- Grinding wheel wear compensation (start of grinding wheel wear compensation)
G41 P_ D_ G
P_ : Number of compensation center position
P1 (Selection of first compensation center)
P2 (Selection of second compensation center)
P3 (Selection of third compensation center)
D_ : Non-zero offset number
- 1069 -
10.TOOL FUNCTION B-63323EN-1/03
Description
- Grinding wheel wear compensation (start of grinding wheel wear compensation)
Up to three compensation center positions can be set. Set the
coordinates (in the workpiece coordinate system) of these
compensation center positions in parameter Nos. 6050 to 6055.
With the Pn (n = 1, 2, or 3) command, select the number of a
compensation center position.
Example
G41 P1 G Selects the first compensation center.
D2 G Creates a compensation vector and performs movement.
NOTE
1 Specify the P_ command and G41 command at the
same time. If they are not specified at the same time,
or if a value other than 1 to 3 is specified in the P_
command, alarm PS618 is issued.
2 When the selected compensation center position
and absolute coordinate match on an axis, the
compensation vector component on that axis
becomes 0.
- Compensation plane
In grinding wheel wear compensation mode or compensation vector
maintenance mode, a compensation vector is always created for the
axes on the compensation plane determined by parameter Nos. 6056
and 6057.
If an axis on the compensation plane is changed in this mode, alarm
PS619 is issued in a block for obtaining the movement end position.
- Compensation vector
A compensation vector is created only on the plane (compensation
plane) of the axes (compensation axes) set in parameter Nos. 6056 and
6057.
On an extension of a straight line starting from the compensation center
and directed toward the command end position, a compensation vector
is created, where the length of the vector equals the offset value
specified by the offset number in a D code. (See Fig. 10.4.12 (a).)
If the offset value is negative, a compensation vector whose direction is
from the compensation center toward the command end position is
added to the command end position. (See Fig. 10.4.12(b).)
If the offset value is positive, a compensation vector whose direction is
from the command end position toward the compensation center is
added to the command end position. (See Fig. 10.4.12(c).)
The direction of the compensation vector can be changed by bit 3
(WCD) of parameter No. 6008.
- 1071 -
10.TOOL FUNCTION B-63323EN-1/03
CAUTION
The offset value is used as a radius. It can also be
used as a diameter by setting bit 0 (ODI) of
parameter No. 6008 to 1.
Compensation vector
Z
Y
Fig. 10.4.12 (b) Offset Value (-)
Compensation vector
Z
Y
Fig. 10.4.12 (c) Offset Value (+)
- 1072 -
B-63323EN-1/03 10.TOOL FUNCTION
Example 1
With the Y- and Z-axes set as the compensation axes,
a linear interpolation command is executed for the X-
and Y-axes.
Programmed path a->b Path after compensation a->b
Y a Y a
Vay Vay Va
a a
Vaz
Compensation
b center b
Vby Vby Vb
b Vbz
b
X Z
Example 2
With the Y- and Z- axes set as the compensation axes,
an arc command is executed for the X- and Y-axes.
Programmed path a->b Path after compensation a->b
Y a Y a
Vay Vay Va
a a
Compensa- Vaz
tion center
b b
Vby Vby Vb
b b Vbz
X Z
- 1073 -
10.TOOL FUNCTION B-63323EN-1/03
Compensation vector
Arc center
Tool center path
Compensation center
Programmed path
Fig. 10.4.12 (d) Arc Interpolation in Grinding Wheel Wear Compensation Mode
Also, for the value obtained after compensation, a check of the arc
radius error limit (parameter No. 2410) is made.
Maintained vector
Programmed path
- Exponential interpolation
When exponential interpolation is specified in grinding wheel wear
compensation mode, a compensation vector is created for each of the
points approximating a straight line in exponential interpolation.
- 1074 -
B-63323EN-1/03 10.TOOL FUNCTION
Restrictions
- Changing a compensation axis
Before changing a compensation axis, set compensation vector cancel
mode, or cancel grinding wheel wear compensation.
The commands listed below are invalid for the coordinates of the
compensation center of grinding wheel wear compensation. When
these commands are executed in grinding wheel wear compensation
mode, a compensation vector is created on an extension of the line
connecting the compensation center and the command end position of
the following functions:
- Scaling (G51)
- Coordinate system rotation (G68)
- 1075 -
10.TOOL FUNCTION B-63323EN-1/03
- 1076 -
B-63323EN-1/03 10.TOOL FUNCTION
Parameters
# &
$
* !
1
, "
-
& '!"!
>
)*%%%%%%"%%%+%%%%%%"%%%!
Set the coordinates (in the workpiece coordinate system) of a compensation center
in grinding wheel wear compensation.
6056 Axis number of the first axis of the compensation plane in grinding wheel
wear compensation
6057 Axis number of the second axis of the compensation plane in grinding wheel
wear compensation
/ &
Set the controlled-axis numbers of the first and second linear axes to which
grinding wheel wear compensation is applied.
NOTE
Before changing an axis of the compensation plane, set
compensation vector cancel mode, or cancel grinding wheel wear
compensation.
- 1077 -
10.TOOL FUNCTION B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
6008 WCD
)
93 (;
2
2
, ,
"
Compensation vector
Z
Compensation vector
Z
- 1078 -
B-63323EN-1/03 10.TOOL FUNCTION
- 1079 -
10.TOOL FUNCTION B-63323EN-1/03
For machines having a rotary table, such as that shown in the figure
below, cutter compensation can be performed.
C A
'
)
B C
A
B
Fig.10.4.13 (a) Machine having a rotary table
Format
- Startup (cutter compensation start)
G41.4 (or G42.4) IP_ D_ ;
G41.4: Cutter compensation, left (group 07)
G42.4: Cutter compensation, right (group 07)
IP_ : Value specified for moving an axis
D_ : Code specifying the cutter compensation amount
(1 to 3 digits)
- Cutter compensation cancellation
G40 IP_ ;
G40 : Cutter compensation cancellation (group 07)
IP_ : Value specified for axis moving
- Selection of an offset plane
Offset plane Plane selection IP_
command
XpYp G17 ; Xp_Yp_
ZpXp G18 ; Xp_Zp_
YpZp G19 ; Yp_Zp_
The selected plane, or two axes, must be included in the three linear
axes (parameters Nos. 6140 to 6142) handled by this function.
Select the plane vertical to the tool (XpYp plane in Fig.10.4.13 (a)).
- 1080 -
B-63323EN-1/03 10.TOOL FUNCTION
Description
- Cutter compensation
The cutter compensation for Rotary table basically performs operations
in conformance with cutter compensation. The operations different
from those of cutter compensation are described below. For a
description of the specifications and cautions not mentioned here, see
the description of cutter compensation.
- Startup
If the cutter compensation for Rotary table (G41.4 or G42.4, a
command with a dimension word other than 0 and a D code other than
D0 on the offset plane) is issued in offset cancellation mode, the CNC
enters offset mode.
Startup is specified with positioning (G00) or linear interpolation
(G01).
If circular interpolation (G02, G03) or involute interpolation (G02.2,
G03.2) is specified, alarm PS0270 is issued.
- Offset mode
In offset mode, compensation is performed for positioning (G00) and
linear interpolation (G01).
NOTE
In G41.4 or G42.4 mode, circular interpolation (G02,
G03) or involute interpolation (G02.2, G03.2) cannot
be specified.
- 1081 -
10.TOOL FUNCTION B-63323EN-1/03
Example
- Formulas
With the above settings, the cutter compensation vector at end point N2
in the following program is calculated as follows:
(1) Part program
A part program is created in the workpiece coordinate system.
G42.4 D1
N1 X x1 Y y1 Z z1 A a1 B b1
N2 X x 2 Y y 2 Z z2 A a2 B b2
N3 X x3 Y y 3 Z z3 A a3 B b3
(2) Definitions
P1 = ( x1 , y1 , z1 ) , P2 = ( x 2 , y 2 , z2 ) , P3 = ( x3 , y 3 , z3 )
P0 : Origin of the table coordinate system (parameter No. 6154)
(3) Calculation of the matrix for conversion from the workpiece
coordinate system to the table coordinate system
Reference angle conversion matrix
1 0 0 cos b0 0 sin b0
M 0 = 0 cos a0 sin a0 0 1 0
0 sin a0 cos a0 sin b0 0 cos b0
where a0 and b0 are the reference angles specified for
parameters Nos. 6150 and 6151.
P1 conversion matrix
1 0 0 cos b1 0 sin b1
M 1 = 0 cos a1 sin a1 0 1 0
0 sin a1 cos a1 sin b1 0 cos b1
P2 conversion matrix
- 1082 -
B-63323EN-1/03 10.TOOL FUNCTION
1 0 0 cos b2 0 sin b2
M 2 = 0 cos a 2 sin a2 0 1 0
0 sin a2 cos a2 sin b2 0 cos b2
P3 conversion matrix
1 0 0 cos b3 0 sin b3
M 3 = 0 cos a3 sin a3 0 1 0
0 sin a3 cos a3 sin b3 0 cos b3
P2=P2
P3
Y
P1
P3
Cutter
X
compensation
vector
Z
P1
Restrictions
- Interference check
In G41.4 or G42.4 mode, an interference check is performed using a
specified position in the workpiece coordinate system and a
compensation vector. The interference check avoidance function
cannot be used.
- Corner arc (G39)
In G41.4 or G42.4 mode, G39 cannot be specified. Specifying G39
causes alarm PS1062 to be issued.
- Manual intervention
In G41.4 or G42.4 mode, manual intervention must not be performed
on the rotation axis.
- 1083 -
10.TOOL FUNCTION B-63323EN-1/03
Parameters
6140 Axis number of linear axis 1 in the cutter compensation for Rotary table
6141 Axis number of linear axis 2 in the cutter compensation for Rotary table
6142 Axis number of linear axis 3 in the cutter compensation for Rotary table
/ &
Set the axis numbers of the three linear axes used for the cutter compensation for
Rotary table.
(The linear axes correspond to the coordinate axes in the workpiece coordinate
system.)
6143 Axis number of the rotation axis in the cutter compensation for Rotary table
(first set)
6144 Axis number of the linear axis corresponding to the rotation axis in the cutter
compensation for Rotary table (first set)
6145 Axis number of the rotation axis in the cutter compensation for Rotary table
(second set)
- 1084 -
B-63323EN-1/03 10.TOOL FUNCTION
6146 Axis number of the linear axis corresponding to the rotation axis in the cutter
compensation for Rotary table (second set)
2
>
/ &
Set the axis numbers of the rotation axes used for the cutter compensation for
Rotary table, as well as the axis numbers of the linear axes corresponding to the
rotation axes. Up to two sets can be set. The orientation of the rotation axis in
the first set depends on the angle of the rotation axis in the second set. If there is
only one rotation axis, set 0 for parameter No. 6145.
The axis numbers of the linear axes corresponding to the rotation axes indicate the
linear axes about which the rotation axes rotate. See the table below.
Linear axis about Value set for Rotation direction of the rotation Direction with an angular
which a rotation parameter No. axis displacement of 0
axis rotates 6144 or 6146
Linear axis 1 Axis number of Foward direction of linear axis 2 to Forward direction of linear axis
linear axis 1 forward direction of linear axis 3 2
Linear axis 2 Axis number of Foward direction of linear axis 3 to Forward direction of linear axis
linear axis 2 forward direction of linear axis 1 3
Linear axis 3 Axis number of Foward direction of linear axis 1 to Forward direction of linear axis
linear axis 3 forward direction of linear axis 2 1
If the rotation direction of the rotation axis is the reverse of what is described in the
table above, set a negative value for parameter No. 6143 or 6145.
If the direction with an agular displacement of 0 differs from what is described in
the table above, specify parameters Nos. 6150 and 6151, assuming that the angle of
the rotation axis in relation to the direction described in the table above as the
reference angle.
- 1085 -
10.TOOL FUNCTION B-63323EN-1/03
6150 Reference angle of the rotation axis in the cutter compensation for Rotary
table (first set)
6151 Reference angle of the rotation axis in the cutter compensation for Rotary
table (second set)
#
$
>,
"
%
"
& '!"!
>
)*%%%%%%"%%%+%%%%%%"%%%!
#
& "
6154 Workpiece coordinates of the origin of the table coordinate system in the
cutter compensation for Rotary table
#
$
* !
>,
"
%
"
& '!"!
>
)*%%%%%%"%%%+%%%%%%"%%%!
Set the workpiece coordinates of the origin of the table coordinate system used for
the cutter compensation for Rotary table. Specify the parameter for the three axes
specified for parameters Nos. 6140 to 6142. The intersection of two rotation axes
is assumed to be the origin of the table coordinate system.
- 1086 -
B-63323EN-1/03 10.TOOL FUNCTION
Reference item
FANUC Series OPERATORS II.14.3 CUTTER
15i/150i-MA MANUAL(PROGRAM COMPENSATION C
MING)
(B-63324EN)
- 1087 -
11.PROGRAM COMMAND B-63323EN-1/03
11 PROGRAM COMMAND
- 1088 -
B-63323EN-1/03 11.PROGRAM COMMAND
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, S
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
2400 DPI
- 1089 -
11.PROGRAM COMMAND B-63323EN-1/03
Reference item
Series15i/150i-MA Operators Manual II-8.4 Decimal point
(Programming) programming/pocket
(B-63324EN) calculator type decimal
point programming
- 1090 -
B-63323EN-1/03 11.PROGRAM COMMAND
General
A program consists of the following components:
Leader section
O0001 ;
M30 ;
% Tape end
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0000 CTV TVC
( %
# *) (
) +
%
*
#
- 1091 -
11.PROGRAM COMMAND B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
2200 NM9 NPE
#7 #6 #5 #4 #3 #2 #1 #0
7616 EXT
, .7 (
'
5
%
#
/ % '
5
%
$0#28
0
#7 #6 #5 #4 #3 #2 #1 #0
2404 SFL
9 (&: (
%
'
5
%
(
%
# (
- 1092 -
B-63323EN-1/03 11.PROGRAM COMMAND
( %
%
)
%
;22222222
( 0 ' '
5
%
/
$0#28 0#$01$0,$028$022
' '
5
%
/ %5
$#$
1$,$28$
22
$0#28 ' '
5
%
Reference item
Series15i/150i-MA Operators Manual II-12 Program configuration
(Programming)
(B-63324EN)
- 1093 -
11.PROGRAM COMMAND B-63323EN-1/03
General
Either inch or metric input can be selected by G code.
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F001 INCH
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0010 INI
( %
- (
0
#
#7 #6 #5 #4 #3 #2 #1 #0
1002 INM
# -0 (
'
0
"
# "
- 1094 -
B-63323EN-1/03 11.PROGRAM COMMAND
NOTE
After this parameter has been set, the power must be
off turned off then back on for the setting to become
effective.
#7 #6 #5 #4 #3 #2 #1 #0
1006 ROP ROS ROT
'
NOTE
After this parameter has been set, the power must be off turned off then
back on for the setting to become effective.
<! (
'
=
>
5
3'
=
>
5
'"
# 3'
=
>
5
'"
# <!( (
+ +
:
'"
# <
'"
&
'$
?
%
-#1@
$
A18$A,"
%
' ,@ %
3
-#1@
1 <! (
:
'"
# <
'"
/
$ %
,@ %
3
-9419
- 1095 -
11.PROGRAM COMMAND B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
2400 G70 F41
# &4#
& A24 "
$
#>
# #>
$ >
NOTE
It is not effective if the increment system is IS-A.
1 AB
A1 "A1#
"
# AB "AB#
"
#7 #6 #5 #4 #3 #2 #1 #0
2203 MCN
Note
NOTE
1 When the least input increment and the least
command increment systems are different, the
maximum error is half of the least command
increment. This error is not accumulated.
2 For the first G28 command after switching from inch
input to metric input or vice versa, low-speed
reference position return is performed.
3 Inch input and metric input can also be switched
using bit 0 (INI) of parameter No. 0010.
Reference item
Series15i/150i-MA Operators Manual II-8.3 Inch/metric system
(Programming) conversion
(B-63324EN)
- 1096 -
B-63323EN-1/03 11.PROGRAM COMMAND
X
A
B R2
D1 D2 R1
D1 , D2 - - - - Diameter Specification
R1 , R2 - - - - Radius Specification
Item Description
X-axis command Specified by diameter
Incremental X-axis command Specified by diameter.
B and A in the figure shown above
are specified by D1 and D2.
Coordinate system specification The X-axis coordinate is specified
(G92) with a diameter.
Radius of circular interpolation Specified with a radius
(R, I, J, K)
Feedrate in X-axis direction Change in radius per revolution
Change in radius per minute
X-axis position display Displayed by diameter
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1006 DIA
'
, 3 05
'
%
<
#
- 1097 -
11.PROGRAM COMMAND B-63323EN-1/03
Reference item
Series15i/150i-MA Operators Manual II-8.5 Diameter specification
(Programming) and radius specification
(B-63324EN)
- 1098 -
B-63323EN-1/03 11. PROGRAM COMMAND
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 ;
:
G65P9010 R50.0 L2 ; G02 X#1 Y-#1 R#1 ;
: :
: :
:
M30 ;
M99 ;
- 1099 -
11. PROGRAM COMMAND B-63323EN-1/03
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:
G65 Pp Rr A B Kk ;
P : Macro number of bolt hole circle
r : Radius
: Start angle
: Angle between circles
k : Number of circles
Signal
{ }
30
*1
Variable value #(1032+n) = 2i u | Q
u
i=0
- 1100 -
B-63323EN-1/03 11. PROGRAM COMMAND
{ }
30
*1
Variable value #(1132+n) = 2i u | Q
u
i=0
- 1101 -
11. PROGRAM COMMAND B-63323EN-1/03
Signal address
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G045 CCT
- 1102 -
B-63323EN-1/03 11. PROGRAM COMMAND
#7 #6 #5 #4 #3 #2 #1 #0
F048 UO007 UO006 UO005 UO004 UO003 UO002 UO001 UO000
- 1103 -
11. PROGRAM COMMAND B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0010 SBM SB8 SB7
#7 #6 #5 #4 #3 #2 #1 #0
0011 ND8 NE8
- 1104 -
B-63323EN-1/03 11. PROGRAM COMMAND
$ .( &
1 &
( (!!!"
#
1 &"
$# &
1 &"
2 &&
1 &- $"
#7 #6 #5 #4 #3 #2 #1 #0
2201 SB9 ND9 NE9
0
$ .!
! !!!! & &
1 &"
# &
$# .& &
NOTE
Specify 1 when you want to check programs 09000 to 09999
containing custom macro statements.
#7 #6 #5 #4 #3 #2 #1 #0
7000 PRT CLV GMP CVA MGE BCS SCS TCS
0
- 1105 -
11. PROGRAM COMMAND B-63323EN-1/03
*6/ 6& && ,
"
# * , 7 8, 699:"
$# * 7 8, 699"$:
NOTE
External operations are the same unless the ADP function is used.
- 1106 -
B-63323EN-1/03 11. PROGRAM COMMAND
#7 #6 #5 #4 #3 #2 #1 #0
7002 DPG
0
) 06 6& & &"
# "
$# ;"
#7 #6 #5 #4 #3 #2 #1 #0
7003 DSM ATN
0
#7 #6 #5 #4 #3 #2 #1 #0
7004 ISO
0
$
# 2 /;& &- ." $
."
$( & & &-
--?-@-A-B-C-
&D"
$# 2 E;5& &- ." $
." $( & & & -
--?-@-A-B-
C-&D"
- 1107 -
11. PROGRAM COMMAND B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
7010 [7 [6 [5 [4 [3 [2 [1 [0
7011 ]7 ]6 ]5 ]4 ]3 ]2 ]1 ]0
7012 #7 #6 #5 #4 #3 #2 #1 #0
7013 *7 *6 *5 *4 *3 *2 *1 *0
7014 =7 =6 =5 =4 =3 =2 =1 =0
7015 ?7 ?6 ?5 ?4 ?3 ?2 ?1 ?0
7016 @7 @6 @5 @4 @3 @2 @1 @0
7018 _7 _6 _5 _4 _3 _2 _1 _0
0
# % /;E;5& &
"
# % /;E;5& &
"
# % /;E;5& &
"
? ? # % /;E;5& &
? "
@ @ # % /;E;5& &
@ "
A A # % /;E;5& &
A "
B B# % /;E;5& &
B "
C C # % /;E;5& &
C "
D D # % /;E;5& &
D "
# ; &
"
$# ; &
$"
- 1108 -
B-63323EN-1/03 11. PROGRAM COMMAND
0
4&&
) F!!!
;
, 7) !!!:-
, & &7
&F:" 7 & :& -
70 $$9: &"
NOTE
Set 0 in both parameter No. 7036 and No. 7037 not to protect
common variables.
0
4&&
3 F'!!
;
, 73 '!!:-
, & &7
&F:" 7 & :& -
70 $$9: &"
NOTE
Set 0 in both parameter No. 7036 and No. 7037 not to protect
common variables. This parameter has no effect when the
option for 900 common variables is not selected.
- 1109 -
11. PROGRAM COMMAND B-63323EN-1/03
7050 G code used to call the custom macro of program number 9010
7051 G code used to call the custom macro of program number 9011
7052 G code used to call the custom macro of program number 9012
7053 G code used to call the custom macro of program number 9013
7054 G code used to call the custom macro of program number 9014
7055 G code used to call the custom macro of program number 9015
7056 G code used to call the custom macro of program number 9016
7057 G code used to call the custom macro of program number 9017
7058 G code used to call the custom macro of program number 9018
7059 G code used to call the custom macro of program number 9019
0
4&&
7GF!!!
!!! 1&
-)-9)-99&9:
6& &
! $
! $!" + , -
, ,
- &" G 1 -
F$$- && &6$$" 2 &
8, 699699"$& &7*6/:
." "
- 1110 -
B-63323EN-1/03 11. PROGRAM COMMAND
7060 G code with a decimal point used to call the custom macro of program
number 9040
7061 G code with a decimal point used to call the custom macro of program
number 9041
7062 G code with a decimal point used to call the custom macro of program
number 9042
7063 G code with a decimal point used to call the custom macro of program
number 9043
7064 G code with a decimal point used to call the custom macro of program
number 9044
7065 G code with a decimal point used to call the custom macro of program
number 9045
7066 G code with a decimal point used to call the custom macro of program
number 9046
7067 G code with a decimal point used to call the custom macro of program
number 9047
7068 G code with a decimal point used to call the custom macro of program
number 9048
7069 G code with a decimal point used to call the custom macro of program
number 9049
0
4&&
F!!!F!!!
Set the G codes used to call the custom macros of program numbers 9040 through
9049. However, note that when a negative value is set in this parameter, it
becomes a modal call. For example, if this parameter is set to -11, the modal call
mode is entered by G1.1. Whether the modal call is equivalent to G66 or G66.1
depends on bit 3 (MGE) of parameter No. 7000. Set G codes in the format Gm.n.
The value expressed by (m*10+n) is set in the parameter. The values m and n
must satisfy the following relationships: 0 m 99, 0 n 9.
- 1111 -
11. PROGRAM COMMAND B-63323EN-1/03
0
4&&
7G
!!!!!!!! 1&
-!(&!!:
*& &
! $
! !"
NOTE
If the same M code is set in these parameters, the younger
number is called preferentially. For example, if 100 is set in
parameter No. 7071 and 7072, and programs O9001 and O9002
both exist, O9001 is called when M100 is specified.
- 1112 -
B-63323EN-1/03 11. PROGRAM COMMAND
7080 M code used to call the custom macro of program number 9020
7081 M code used to call the custom macro of program number 9021
7082 M code used to call the custom macro of program number 9022
7083 M code used to call the custom macro of program number 9023
7084 M code used to call the custom macro of program number 9024
7085 M code used to call the custom macro of program number 9025
7086 M code used to call the custom macro of program number 9026
7087 M code used to call the custom macro of program number 9027
7088 M code used to call the custom macro of program number 9028
7089 M code used to call the custom macro of program number 9029
0
4&&
7G
!!!!!!!! 1&
-!(&!!:
Set the M codes used to call the custom macros of program numbers 9020 through
9029. The simple call mode is set.
NOTE
1. If the same M code is set in these parameters, the younger
number is called preferentially. For example, if 200 is set in
parameter No. 7081 and No. 7082, and programs O9021 and
O9022 both exist, O9021 is called when M200 is specified.
- 1113 -
11. PROGRAM COMMAND B-63323EN-1/03
0
4&&
." ! #F!!!!!!
." !$#$!!!!!!!!
." !3# 3))
Set this parameter to define multiple custom macro calls using G codes at a time.
With G codes as many as the value set in parameter No. 7092 starting with the G
code set in parameter No. 7090, the custom macros of program numbers as many as
the value set in parameter No. 7092 starting with the program number set in 7091
can be called. Set 0 in parameter No. 7092 to disable this mode of calling.
If a negative value is set in parameter No. 7090, the modal call mode is entered.
Whether the modal call is equivalent to G66 or G66.1 depends on bit 3 (MGE) of
parameter No. 7000.
Example 1:
When parameter No. 7090 = 900, parameter No. 7091 = 10000000, and
parameter No. 7092 = 100 are set, a set of 100 custom macro calls (simple calls)
is defined as follows:
G900 -> O10000000
G901 -> O10000001
G902 -> O10000002
:
G999 -> O10000099
When the setting of parameter No. 7090 is changed to -900, the same set of custom
macro calls (modal calls) is defined.
NOTE
1. When the following conditions are satisfied, all calls using these
parameters are disabled:
(1) When a value not within the specifiable range is set in
each parameter
(2) (Value of parameter No. 7091 + value of parameter No.
97092 - 1) > 99999999
2. The specification of a mixture of simple calls and modal calls is
not allowed.
3. If a range of G codes set by these parameters duplicate G codes
specified in parameter No. 7050 through No. 7059, the calls
specified by parameter No. 7050 through 7059 are made
preferentially.
- 1114 -
B-63323EN-1/03 11. PROGRAM COMMAND
7093 Start G code with a decimal point used to call a custom macro
7094 Start program number of a custom macro called by G code with a decimal point
7095 Number of G codes with a decimal point used to call custom macros
0
4&&
." !#F!!!!!!
." !'#$!!!!!!!!
." !)# 3))
Set this parameter to define multiple custom macro calls using G codes with a
decimal point at a time. With G codes with a decimal point as many as the value
set in parameter No. 7095 starting with the G code with a decimal point set in
parameter No. 7093, the custom macros of program numbers as many as the value
set in parameter No. 7095 starting with the program number set in 7094 can be
called. Set 0 in parameter No. 7095 to disable this mode of calling.
If a negative value is set in parameter No. 7093, the modal call mode is entered.
Whether the modal call is equivalent to G66 or G66.1 depends on bit 3 (MGE) of
parameter No. 7000.
Example:
When parameter No. 7093 = 900, parameter No. 7094 = 20000000, and
parameter No. 7095 = 100 are set, a set of 100 custom macro calls (simple calls)
is defined as follows:
G90.0 -> O20000000
G90.1 -> O20000001
G90.2 -> O20000002
:
G99.9 -> O20000099
When the setting of parameter No. 7093 is changed to -900, the same set of custom
macro calls (modal calls) is defined.
NOTE
1. When the following conditions are satisfied, all calls using these
parameters are disabled:
(1) When a value not within the specifiable range is set in
each parameter
(2) (Value of parameter No. 7094 + value of parameter No.
7095 - 1) > 99999999
(3) When bit 5 (DPG) of parameter No. 7002 = 0 (to disable
calls using G codes with a decimal point)
2. The specification of a mixture of simple calls and modal calls is
not allowed.
3. If a range of G codes set by these parameters duplicate G codes
specified in parameter No. 7060 through No. 7069, the calls
specified by parameter No. 7060 through 7069 are made
preferentially.
- 1115 -
11. PROGRAM COMMAND B-63323EN-1/03
0
4&&
." !9#F!!!!!!!!
." !#$F!!!!!!!!
." !(# F39
Set this parameter to define multiple subprogram calls using M codes at a time.
With M codes as many as the value set in parameter No. 7098 starting with the M
code set in parameter No. 7096, the subprograms of program numbers as many as
the value set in parameter No. 7098 starting with the program number set in 7097
can be called. Set 0 in parameter No. 7098 to disable this mode of calling.
Example 1:
When parameter No. 7096 = 80000000, parameter No. 7097 = 30000000, and
parameter No. 7098 = 100 are set, a set of 100 subprogram calls is defined as
follows:
M80000000 -> O30000000
M80000001 -> O30000001
M80000002 -> O30000002
:
M80000099 -> O30000099
NOTE
1. When the following conditions are satisfied, all calls using these
parameters are disabled:
(1) When a value not within the specifiable range is set in
each parameter
(2) (Value of parameter No. 7097 + value of parameter No.
7098 - 1) > 99999999
2. If a range of M codes set by these parameters duplicate M codes
specified in parameter No. 7071 through No. 7079, the calls
specified by parameter No. 7071 through 7079 are made
preferentially.
- 1116 -
B-63323EN-1/03 11. PROGRAM COMMAND
7101 Number of M codes used to call custom macros (number of custom macros
called by M codes)
0
4&&
." !!#F!!!!!!!!
."$ #$F!!!!!!!!
."$ $# F39
Set this parameter to define multiple custom macro calls using M codes at a time.
With M codes as many as the value set in parameter No. 7101 starting with the M
code set in parameter No. 7099, the custom macros of program numbers as many as
the value set in parameter No. 7101 starting with the program number set in 7100
can be called. Set 0 in parameter No. 7101 to disable this mode of calling.
Example:
When parameter No. 7099 = 90000000, parameter No. 7100 = 40000000, and
parameter No. 7101 = 100 are set, a set of 100 custom macro calls (simple calls) is
defined as follows:
M90000000 -> O40000000
M90000001 -> O40000001
M90000002 -> O40000002
:
M90000099 -> O40000099
NOTE
1. When the following conditions are satisfied, all calls using these
parameters are disabled:
(1) When a value not within the specifiable range is set in
each parameter
(2) (Value of parameter No. 7100 + value of parameter No.
7101 - 1) > 99999999
2. If a range of M codes set by these parameters duplicate M codes
specified in parameter No. 7080 through No. 7089, the calls
specified by parameter No. 7080 through 7089 are made
preferentially.
- 1117 -
11. PROGRAM COMMAND B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
7710 CTM
0
If CTM = 1 (condition b), setting the cumulative cutting time count request signal CCT<G045#6> to
"1" nullifies the count conditions for the cumulative cutting time parameters (Nos. 103 and 104).
- 1118 -
B-63323EN-1/03 11. PROGRAM COMMAND
- 1119 -
11. PROGRAM COMMAND B-63323EN-1/03
- 1120 -
B-63323EN-1/03 11. PROGRAM COMMAND
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
Series15i/150i-MA Operators Manual II-17 Custom macro
(Programming)
(B-63324EN)
- 1121 -
11.PROGRAM COMMAND B-63323EN-1/03
General
When a program is being executed, another program can be called by
inputting an interrupt signal (UINT) from the machine. This function is
referred to as an interruption type custom macro function. Program an
interrupt command in the following format:
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.
(1) When a tool abnormality is detected, processing to handle the
abnormality is started by an external signal.
(2) A sequence of machining operations is interrupted by another
machining operation without the cancellation of the current
operation.
(3) At regular intervals, information on current machining is read.
Listed above are examples like adaptive control applications of
the interruption type custom macro function.
M96 Pxxxxxxxx;
Interrupt signal
(UINT) O xxxxxxxx;
Interrupt signal
(UINT) *
M99 (Qxxxxxxxx) ;
Nxxxxxxxx ;
- 1122 -
B-63323EN-1/03 11.PROGRAM COMMAND
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G000 UINT
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
7002 MIN TSE MPR MSB MUS
!!"
#! $
%
%
&!"
#!
$
%
'
(
&!"
#!
%
'#
%
(
- 1123 -
11.PROGRAM COMMAND B-63323EN-1/03
) * $
$ #!
$#!
+,-+.
$
'
/.00
/.01(
0 23
$%
%%
%%
%!
$%
%%
'
% $% (
%%
1 / 4 5/5
%
34 5/5 #
% #!6# % 4 $
$
%
' (
34 5/5
#!6
$
%
# 4 $' )(
%
7!$$
%
8
0
%++++++++' 4!$%09+:$++(
; #)'*(
/.) 99
$ $
#!%-$#!%
9 $
Reference item
Series15i/150i-MA Operators Manual II-17.14 Interruption type custom
(Programming) macro
(B-63324EN)
- 1124 -
B-63323EN-1/03 11.PROGRAM COMMAND
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.
For operation in a canned cycle, refer to the operators manual. This
section explains those functions requiring spindle control.
Canned cycle
Table. 11.6 (a) Functions require spindle control for canned cycle I
G code Operation on the hole Use
bottom
G74 Spindle CW Left-hand tapping
G84 Spindle CCW Tapping
G86 Spindle stop Boring
G88 Dwell spindle stop Boring
NOTE
1 The fine boring cycle (G76) requires spindle
orientation. Since no special signals are provided for
spindle orientation, this cycle cannot be used in
canned cycle I.
2 G87 is used as an ordinary boring cycle; it is not used
as the back boring cycle that requires spindle
orientation. Therefore, spindle control is not required
in canned cycle I.
- 1125 -
11.PROGRAM COMMAND B-63323EN-1/03
- 1126 -
B-63323EN-1/03 11.PROGRAM COMMAND
X,Y
X,Y
+Z +R
Z
-R -Z
SRV
FMF
FFIN
- 1127 -
11.PROGRAM COMMAND B-63323EN-1/03
X,Y
X,Y
+Z +R
Z
-R -Z
SSP
FMF
FFIN
Stop
Spindle CW CW
rotation
Canned cycle II
X,Y
X,Y
+Z +R
Z
-R -Z
DEN
MF
FIN
FMF
X,Y
X,Y
+Z,+R
Z
-R -Z
DEN
M05 M03
M code
MF
FIN
- 1129 -
11.PROGRAM COMMAND B-63323EN-1/03
Shift Shift
X,Y Reverse shift Reverse shift
X,Y
+Z
Z
-R Initial point
DEN
MF
FIN
Shift
X,Y Reverse shift
X,Y
+Z,+R
Z
-R -Z
DEN
MF
FIN
Signal
- 1130 -
B-63323EN-1/03 11.PROGRAM COMMAND
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G005 FFIN
#7 #6 #5 #4 #3 #2 #1 #0
F008 SSP SRV FMF
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1400 TDR
#7 #6 #5 #4 #3 #2 #1 #0
6200 EXC UIL FCU SIJ DWL FXY
8<=
$
!!%4 $! >4!!
4 ! $#
%
>4!!
?4 ! $#
%
- 1131 -
11.PROGRAM COMMAND B-63323EN-1/03
1 &
% !! " !
%
% $!
%
5% 2
% # !
! " !
#7 #6 #5 #4 #3 #2 #1 #0
6201 NFM FM2 FIN NM5 FXB
- 1132 -
B-63323EN-1/03 11.PROGRAM COMMAND
%
* !
$
9'(
$
$
4
7!$$
%
+$%$'
$
$
%
#! '?((
';
9+++++++++F+++++++++(
$ $! C.0
- 1133 -
11.PROGRAM COMMAND B-63323EN-1/03
%
* !
$
9'(
$
$
4
7!$$
%
+$%$'
$
$
%
#! '?((
';
9+++++++++F+++++++++(
!
$! C:0
%
4
7!$$
%
!
4$$
$
$!
$! C:,
C:) 8
$
!!%49 !
4$$
# 4#
!%%'F
( $
- 1134 -
B-63323EN-1/03 11.PROGRAM COMMAND
Caution
CAUTION
During tapping in a tapping cycle (G84) or reverse
tapping cycle (G74), the feedrate override is ignored.
The machine does not stop even with feed hold until
return operation is complete.
Reference item
Series15i/150i-MA Operators Manual II-13.1 Canned cycle
(Programming)
(B-63324EN)
- 1135 -
11.PROGRAM COMMAND B-63323EN-1/03
General
Upon completion of positioning in each block in the program, an
external operation function signal can be output to allow the machine to
perform specific operation.
Every time positioning for the IP_ move command is completed, the
CNC sends an external operation signal to the machine. An external
operation signal is output for each positioning operation until canceled
by G80 or a group 01 G code.
- Basic procedure
1. Once positioning for a move command has been completed, the
CNC sets the external operation signal EF to 1.
2. When the EF signal is set to 1, the PMC executes drilling or
another operation. Once the operation has been completed, the
PMC sets completion signal FIN to 1.
3. The CNC resets the EF signal to 0 upon the elapse of the time
(TFIN) specified in parameter No. 3011 after the FIN signal is set
to 1.
4. When the EF signal is set to 0, the PMC resets the FIN signal to 0.
5. The CNC starts executing the next block.
The timing diagram is shown below:
G81 command
Next block
Positioning EF
Machine operation FIN
TFIN
Signal
External Operation Signal EF<F008#4>
[Classification] Output signal
[Function] Reports that the positioning of G81 has been completed in the external
motion function, and that a special external operation is required.
[Output condition] For details of the output condition and procedure, see the "basic
procedure", described previously.
- 1136 -
B-63323EN-1/03 11.PROGRAM COMMAND
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
F008 EF
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6200 EXC
Caution
CAUTION
1. When this function is used, canned cycles (G73, G74,
G76, and G82 to G89) cannot be used.
2. When the canned cycle II (bit 0 (FXB) of parameter No.
6201 is set to 1) is selected, FIN signal is used.
While, when the canned cycle I (bit 0 (FXB) of
parameter No. 6201 is set to 0) is selected, it is
decided which signal FIN or FFIN to use by setting the
bit 4 (FIN) of parameter No. 6201.
Reference item
Series15i/150i-MA Operators Manual II-13.3 External motion function
(Programming)
(B-63324EN)
- 1137 -
11.PROGRAM COMMAND B-63323EN-1/03
General
By specifying indexing positions (angles) for the indexing axis (one
rotation axis, A, B, or C), the index table of the machining center can be
indexed.
Before and after indexing, the index table is automatically unclamped
or clamped.
- Basic Procedure
The positioning angle for the index table is commanded by the numeric
following "B" in the program command, which is an independent block.
Both absolute and incremental commands are possible, but the value
after "B" is the integer times the numeric set by the parameter:
(Example) G00G90B100000; Absolute command
(Positioning angle 10 degrees)
G00G91B20.0; Incremental command
(Move distance 20 degrees)
There are two variations of the procedure (type A and type B) to set the
index table position; the difference is in the ON/OFF timing of the
position control servo. The sequence of events and the difference
between the variations are described below, followed by time charts
showing them graphically.
(1) Assume Bbbbb is ordered by the command program.
(2) The CNC turns the B axis unclamp signal BUCLP to "1". (Type B
-- When BUCLP is turned to " 1 ", the position control servo for
the B axis is turned ON.)
(3) On the PMC side, the clamp of the B axis is released; when
completed, the B axis unclamp completion signal *BEUCL turns
to "0".
(4) The CNC then turns the B axis unclamp signal BUCLP to "0", to
indicate it received the *BEUCL signal.
(5) When the PMC is notified that BUCLP has been turned to "0", the
PMC should turn *BEUCL to "1".
In type B, B-axis unclamp signal BUCLP is turned to "0", B-axis
position control is made in servo-on state, B-axis is rotated, and
the B axis is stopped at the specified position. B axis always
moves at rapid traverse.
(6) When the B axis stops at the specified position, CNC turns B-axis
clamp signal BCLP to 1. In type A, signal BCLP is set to "1" and
B-axis position control is made in servo-off state.
(7) When BCLP is turned to "1" on the PMC side, the B axis is
clamped mechanically (with a clutch or shot pin, for example).
When the clamp is completed, the B axis clamp completion signal
*BECLP is turned to "0".
(8) When *BECLP is turned to "0", the CNC then turns BCLP to "0",
informing it received the *BECLP signal. (Type B -- When BCLP
turns to "0", the B axis position control servo is turned off.)
(9) On the PMC side, when BCLP changes to "0", *BECLP is turned
to "1".
- 1138 -
B-63323EN-1/03 11.PROGRAM COMMAND
B command (independent)
Fig. 11.8 (a) Time chart for positioning index table (type A)
B command (independent)
B axis rotation
Fig. 11.8 (b) Time chart for positioning index table (type B)
The figure below shows the timing chart for type-A manual reference
position return of the B axis.
- 1139 -
11.PROGRAM COMMAND B-63323EN-1/03
B axis rotation
Fig. 11.8 (c) Manual reference position return of B axis time chart (type A)
- Absolute/incremental programming
One of the following indexing positions is used, depending on bit 3
(G90) of parameter No. 7602:
0: Value according to an absolute/incremental G code (G90/G91)
1: Absolute value at all times
An indexing position assumes a positive value for the counterclockwise
direction, and a negative value for the clockwise direction.
- 1140 -
B-63323EN-1/03 11.PROGRAM COMMAND
- Indexing direction
If a value other than 0 is set in the M code for specifying negative
direction rotation (parameter No. 7632), movement in the negative
direction is made only when a move command is specified together
with the M code. In this case, movement is performed in the negative
direction, regardless of whether absolute/incremental programming is
used.
If 0 is set in the M code for specifying negative direction rotation
(parameter No. 7632), the rotation direction in G90 mode is determined
by bit 4 (INC) of parameter No. 7602, as described below.
The rotation direction in G90 mode is
0: Not shortcut direction
1: Shortcut direction (The amount of movement is always less
than 180 degrees.)
For information about which is used, refer to the manual provided by
the machine tool builder.
- Feedrate
The table is always rotated around the indexing axis in rapid traverse
mode.
Dry run cannot be executed for the indexing axis.
- Reset
If a reset is performed in the clamp or unclamp completion wait state,
the clamp or unclamp signal is cleared, and the CNC exits from the
completion wait state.
- 1141 -
11.PROGRAM COMMAND B-63323EN-1/03
Item Explanation
Relative position display This value can be rounded by setting bit 2 (REL) of parameter No.
7602.
Absolute position display This value is rounded at all times.
Automatic return from the reference Return is impossible.
position (G29)
Second reference position return (G30)
Machine coordinate system selection No movement is allowed.
(G53)
Single direction positioning (G60) Not specifiable
Second auxiliary function Ensure that a second auxiliary function axis name does not duplicate
an indexing axis name.
Operation during index table indexing axis Unless otherwise processed by the machine, feed hold, interlock, and
movement emergency stop can be executed during index table indexing axis
movement.
Machine lock can be executed after indexing has been completed.
Servo-off signal Disable the servo-off signal for the index table indexing
axis. That is, set bit 1 (SVF) of parameter No. 1802 to 0.
Usually, the index table indexing axis is in the servo-off
state.
Incremental command for the When incremental programming is used for index table
index table indexing axis indexing (when bit 3 (G90) of parameter No. 7602 is set to
0), the workpiece origin offset of the index table axis must
always be 0. That is, there must always be a match
between the workpiece coordinate system and machine
coordinate system of an index table indexing axis.
Operation for an index table Operation in jog/step/handle mode for an index table
indexing axis indexing axis is disabled. However, manual reference
position return is possible. If the axis selection signal is
set to 0 during manual reference position return, the
movement stops immediately, and the clamp command is
not executed.
Limitation
- 1142 -
B-63323EN-1/03 11.PROGRAM COMMAND
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G019 *BECLP *BEUCL
#7 #6 #5 #4 #3 #2 #1 #0
F007 BCLP BUCLP
- 1143 -
11.PROGRAM COMMAND B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
7602 DDP INC G90 REL TYB
2=
G $ 4#! $ 4%4
?
2 ?
2
) *3&
$$ 4#! $ 4%4$!
!"
$
$
*$
0 C+
$ 4#! $ 4%4!!
#! $ -
!$
$#
$#! $
8!! #! -
!$
? $# #! $!!
1 /5
$
$
C+$ $
%" $
'
/.,0)(
$
$
D
" !
4 $
$$ !
$ 4#! $ 4%4
5" !
84 $
%
7!$$
%
44
Set the controlled axis number of an index table indexing axis.
When 0 is set, the fourth axis is assumed.
- 1144 -
B-63323EN-1/03 11.PROGRAM COMMAND
%
7!$$
%
).
2
$
$ 4#! $ 4%4$
$
# %
$$
). 2
$
$ 4#! $ 4%4
!" 2
$
%" ! "
$ $%
$
* !
$
$ %
$
$
4
7!$$
%
+$%$'
$
$
%
#! '?((
';
9+++++++++F+++++++++(
%%! '%!
$! (
$ 4
#! $ 4%4 ?%!
$!
%
!# %
!!! %
; $9%!
$! 6
$
/!$#!
$ %$
6
%
6 $
%%!
- 1145 -
11.PROGRAM COMMAND B-63323EN-1/03
Caution
CAUTION
1 While the index table is being positioned, input
signals that reset the CNC, such as emergency stop,
feed hold, and interlock are functional.
If a stop at an any position is not suitable for the
machine, appropriate processing is required on the
machine.
2 If the axis selection signal is set to 0 during manual
reference position return, movement is stopped
immediately, and the clamp command is not
executed. If this proves inconvenient, measures
must be taken on the machine side so that, after the
axis selection signal is set to 1, it is not set to 0 until
reference position return is completed.
3 If a reset is made during indexing of the index table,
a reference position return must be made before the
index table is indexed subsequently.
4 When an incremental command is used for indexing
the index table (when bit 3 (G90) of parameter No.
7602 is 0), the workpiece origin offset for the index
table axis must always be 0. This means that the
workpiece coordinate system and machine
coordinate system of the index table axis must
always match.
Note
NOTE
Dry run cannot be used for positioning the index table
indexing axis.
- 1146 -
B-63323EN-1/03 11.PROGRAM COMMAND
Reference item
Series15i/150i-MA Operators Manual II-13.6 Index table indexing
(Programming) function
(B-63324EN)
- 1147 -
11.PROGRAM COMMAND B-63323EN-1/03
General
A rotary axis is specified in the ROT bit (bit 1 of parameter 1008).
When incremental programming is specified for the rotary axis, a
specified value directly determines the travel distance. When absolute
programming is selected, either of the following two operations can be
specified by the RSR bit (bit 2 of parameter 1007).
(1) The NC unit rounds down the value specified in the absolute
command (G90) to a value indicating a full turn or less. The
difference between the rounded value and the current position is
the angular displacement. When the bit 5(INC) in parameter No.
1007 is specified, short-cut control can be executed. When the
difference between the rounded value and the current position
indicates more than a half turn, the short-cut control function
allows reverse rotation up to the specified position.
(2) The sign of the specified value indicates the direction of rotation.
(The plus sign (+) indicates counterclockwise rotation and the
minus sign (-) clockwise rotation). The absolute value of the
specified value indicates the destination.
An absolute value of a position relative to the rotary axis is represented
by an equivalent value within the amount of travel for a single
revolution as specified in parameter 1260.
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1007 INC REL G90 RSR
4
0 C+ $ $
!4
3
#!
!$$
$#C+
C+
$
?#! $
- 1148 -
B-63323EN-1/03 11.PROGRAM COMMAND
1 *3&
!4
!"
$ $! $ "!
$ $
/
$
$
D /5
4
!9 /5"
$"!
$%"!
$
# %
%
$ $ %!
$!
% 4#
$9#
"
$
H $! C+$
0: Do not turn to closest direction.
1: Turn to closest direction.
#7 #6 #5 #4 #3 #2 #1 #0
1008 ROT
4
*E2
/!!
!4
!!
!4
* !4
$
$ %
$
$
! $4
7!$$
%
" +$%$'
$
$
%#! '((
';
9F+++++++++(
Set the value of movement of one rotation of a rotary axis.
Note
NOTE
This function is effective only for a rotary axis.
Reference item
Series15i/150i-MA Operators Manual II-19.8 Multiple rotary control
(Programming) axis function
(B-63324EN)
- 1149 -
11.PROGRAM COMMAND B-63323EN-1/03
11.10 SCALING
General
A programmed figure can be magnified or reduced (scaling).
Two types of scaling are supported. One type applies the same rate of
magnification to all axes (X, Y, and Z). The other type applies a
different rate of magnification to each axis.
Unless specified in the program, the magnification rate specified in the
parameter is applied.
P4
P3
P4 P3
P0
P1 P2
P1 P2
O X
P0 : Scaling center
P1-P4 : Figures of machining program
P1-P4 : Figures after scaling
- 1150 -
B-63323EN-1/03 11.PROGRAM COMMAND
Programmed figure
p
Scaled figure
C
a X axis
- 1151 -
11.PROGRAM COMMAND B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
0012 SCL
#7 #6 #5 #4 #3 #2 #1 #0
6400 SCR
%&
$
, -"!"""!""""
& '
(.!/0""+!
1
2333333
&
! 4 5 &
&
&
(%+
&!
$
, -"!"""!""""
& '
(.!/0""+!
1
2333333
&
!
- 1152 -
B-63323EN-1/03 11.PROGRAM COMMAND
#7 #6 #5 #4 #3 #2 #1 #0
7611 XSC
Reference item
Series15i/150i-MA Operators Manual II-14.9 Scaling
(Programming)
(B-63324EN)
- 1153 -
11.PROGRAM COMMAND B-63323EN-1/03
General
A programmed shape can be rotated. By using this function it becomes
possible, for example, to modify a program using a rotation command
when a workpiece has been placed with some angle rotated from the
programmed position on the machine. Further, when there is a pattern
comprising some identical shapes in the positions rotated from a shape,
the time required for programming and the length of the program can
be reduced by preparing a subprogram of the shape and calling it after
rotation.
Angle of rotation
Center of rotation
X
O
Format
Format
G17
G18 @ @G68 _ _ R_ ; Start rotation of a coordinate system.
G19
@: Coordinate system rotation mode
@:
G69 ; Coordinate system rotation cancel command
Meaning of command
G17(G18 or G19) : Select the plane in which contains the figure to be rotated.
_ _ : Absolute command for two of the x_, y_, and Z_ axes that
correspond to the current plane selected by a command
(G17, G18, or G19). The command specifies the
coordinates of the center of rotation for the values specified
subsequent to G68.
R_ : Angular displacement with a positive value indicates counter
clockwise rotation.
- 1154 -
B-63323EN-1/03 11.PROGRAM COMMAND
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
6400 RTR RIN
%&
" '. - 5
('+ &()/7+!
"# $ - 5 & !
# & (- & ()3"+ & &
()3++!
8 '4'
&
2 & 5 ()/7+!
"# "!""""
# "!""
$
"!""
"!""""
& '4'
(.!/0""8+!
1
&29/""""
9/""""29/""""""
9/""""""
& '4'(.!/0""8+!
&! 4 5
&
& &
('+
&!
- 1155 -
11.PROGRAM COMMAND B-63323EN-1/03
Reference item
Series15i/150i-MA Operators Manual II-14.10 Coordinate system
(Programming) rotation
(B-63324EN)
- 1156 -
B-63323EN-1/03 11.PROGRAM COMMAND
General
Coordinate conversion about an axis can be carried out if the center of
rotation, direction of the axis of rotation, and angular displacement are
specified. This function is very useful in three-dimensional machining
by a die-sinking machine or similar machine. For example, if a
program specifying machining on the XY plane is converted by the
three-dimensional coordinate conversion function, the identical
machining can be executed on a desired plane in three-dimensional
space.
Z Y
- 1157 -
11.PROGRAM COMMAND B-63323EN-1/03
Z
Z
Y Y
X
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G031 M3R
#7 #6 #5 #4 #3 #2 #1 #0
G157 NOT3DM
#7 #6 #5 #4 #3 #2 #1 #0
F157 D3MI
#7 #6 #5 #4 #3 #2 #1 #0
F159 D3ROT
- 1159 -
11.PROGRAM COMMAND B-63323EN-1/03
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1200 DSC
%&
* - :
&& &5- *"/*"7"(;<%+
2 & 5 & !
0: Coordinates in the coordinate system for which coordinate conversion is not
performed (workpiece coordinate system)
1: Coordinates in the coordinate system for which coordinate conversion has been
performed (program coordinate system)
NOTE
When the skip signal position is read in a mode other than three-
dimensional coordinate conversion mode (G69 mode),
coordinates in the coordinate system for which coordinate
conversion is not performed (workpiece coordinate system) are
read.
#7 #6 #5 #4 #3 #2 #1 #0
1400 LRP
%&
- 1160 -
B-63323EN-1/03 11.PROGRAM COMMAND
#7 #6 #5 #4 #3 #2 #1 #0
1404 D3E
%&
#7 #6 #5 #4 #3 #2 #1 #0
2005 D3A
%&
0 9; 2 & 5 & &5 &
#
"# ?
&&& !
# ? 5 !
#7 #6 #5 #4 #3 #2 #1 #0
2202 DCR DTL
%&
8 4 & -
'4 5 -
& @
& !
"# 4 5 !
# 4 5 ! (4
-
& !+
=
2 & 5 -!
9 ' & -
'4 5 - & !
"# 4 5 !
# 4 5 ! (4
-
& !+
=
2 & 5 -!
- 1161 -
11.PROGRAM COMMAND B-63323EN-1/03
#7 #6 #5 #4 #3 #2 #1 #0
2204 DAK
%&
8 ;<
&
&: &-
2 & 5 & !
"#
& &!
# : &!
#7 #6 #5 #4 #3 #2 #1 #0
2208 D3D DMK
%&
* 9 2 & 5 &
&- &5
"# ;-
& &!
# ;- : &!
#7 #6 #5 #4 #3 #2 #1 #0
6400 D3M D3R RTR
%&
8 '4'
&
2 & 5 ()/7+!
"# "!""""
# "!""
- 1162 -
B-63323EN-1/03 11.PROGRAM COMMAND
* 9, -
: &
&& &
5- *"0*"/"(;?4+ 2 &
5 & !
0: Coordinates in the coordinate system for which coordinate conversion is not
performed (workpiece coordinate system)
1: Coordinates in the coordinate system for which coordinate conversion has been
performed (program coordinate system)
NOTE
When the current tool position is read in a mode other than
three-dimensional coordinate conversion mode (G69 mode),
coordinates in the coordinate system for which coordinate
conversion is not performed (workpiece coordinate system) are
read.
2052 Rapid traverse rate for a drilling cycle in the three-dimensional coordinate
conversion mode
%&
'
$
&&@&@&
@&(& +
,&&
& &
1
' &
- (+
(= & &2"!"2A80""""!"+
Specify the rapid traverse rate for a drilling cycle in the three-dimensional
coordinate conversion mode.
(1) Rapid traverse to point R
(2) Retraction to point R
(3) Rapid traverse to the initial point
When 0 is specified, a dry run feedrate is used. A cutting override is applied to
motions (1) to (3) because cutting-mode operation is performed in the three-
dimensional coordinate conversion mode.
- 1163 -
11.PROGRAM COMMAND B-63323EN-1/03
Reference item
Series15i/150i-MA Operators Manual II-13.9 Three dimensional
(Programming) coordinate conversion
(B-63324EN)
- 1164 -
B-63323EN-1/03 11.PROGRAM COMMAND
General
Machine axes along which actual movement is made by the X, Y, and Z
commands specified in memory operation, DNC operation, and MDI
operation are changed by setting data (No. 1049) or input signals
AXC4, AXC2, and AXC1.
X X
Explanation
- 1165 -
11.PROGRAM COMMAND B-63323EN-1/03
- 1166 -
B-63323EN-1/03 11.PROGRAM COMMAND
Signal
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G041 AXC4 AXC2 AXC1
Parameter
#7 #6 #5 #4 #3 #2 #1 #0
1001 RPC
" '%
()83+ & !
"# ; !
# ; !
- 1167 -
11.PROGRAM COMMAND B-63323EN-1/03
1
"2*
&- 5- ! 4 &
&- ! 4 & B
& 6C D#
- 1168 -
B-63323EN-1/03 11.PROGRAM COMMAND
Note
NOTE
1 If the same program is used with and without axis
interchange, the amount of travel and the direction
assumed with axis interchange differ from those
assumed without axis interchange, depending on
the start position and whether the command is an
incremental or absolute command.
X X
Coordinates assumed by Coordinates after
the program command axis interchange
Reference item
Series15i/150i-MA Operators Manual II-19.1 Axis interchange
(Programming)
(B-63324EN)
- 1169 -
11.PROGRAM COMMAND B-63323EN-1/03
Overview
A oiling(lubrication) signal, OIL, can be issued to the PMC during
movement from point R to point Z in hole making canned cycles (G73,
G74, G76, and G81 to G89).
Two modes, types A and B, can be used to issue the OIL signal. Type
A resets the OIL signal to "0" by specifying the lubrication time. Type
B resets the OIL signal to "0" by returning an lubrication completion
signal, OILF, from the PMC.
Which type to use can be selected using a parameter. Whether to use
the OIL signal can also be specified using a parameter.
Operation 1
Operation 2 Operation 6
Rapid traverse
Cutting feed
- - - Point R
Operation 3 Operation 5
- - - Point Z
Operation 4
- 1170 -
B-63323EN-1/03 11.PROGRAM COMMAND
Function details
Type A
The OIL signal is set to "1" simultaneously with the start of operation 3.
It is reset to "0" when the time e has elapsed. The time e is specified
using address word E.
If operation 3 ends before the time e elapses, however, the OIL signal
becomes "0" at the end of operation 3.
(Example) G81 X_ Y_ Z_ R_ Ee ;
The time e must be represented using a floating-point number (in
second units).
The time e can range from 0.0 to 9999.0 seconds.
If a value larger than 9999.0 is specified, the time e is assumed to
be 9999.0 seconds.
Operation Operation
2 3
Lubrication
Operation Operation
2 3
OIL signal
Lubrication
OILF signal
- 1171 -
11.PROGRAM COMMAND B-63323EN-1/03
NOTE
1 When the OIL signal is "1", executing a reset turns the
OIL signal to "0" regardless of the state of the OILF
signal.
2 The OIL signal is valid even if a hole making canned
cycle is specified in three-dimensional coordinate
conversion mode (G68).
3 In type A, the OIL signal is not issued if E0 is
specified.
4 If feed is put on hold in a block that will issue the OIL
signal, the machine behaves as follows:
1) OIL signal
- Type A
Even when feed is on hold, the counting of the
programmed signal issuing time continues.
Therefore, the OIL signal becomes "0" when the
specified time elapses regardless of whether feed
is on hold.
- Type B
The signal exchange is monitored even when feed
is on hold.
Therefore, the OIL signal becomes "0" when the
signal exchange is completed regardless of
whether feed is on hold.
2) Restart
Feed-hold restart will exert no influence to the OIL
signal.
The OIL signal stays in the state where it was
before restart.
5 The OIL signal is issued whenever cut-in begins in
pecking directed by G73 (high-speed peck drilling
cycle)/G83 (peck drilling cycle) or G84.2/G84.3 (rigid
tapping).
6 The OIL signal is not issued during execution of an
auxiliary function block.
7 The OIL signal is not issued at program restart.
- 1172 -
B-63323EN-1/03 11.PROGRAM COMMAND
Parameters
#7 #6 #5 #4 #3 #2 #1 #0
6400 OLT OLN
%&
NOTE
Once this parameter is re-set, switch the power off and on again.
Signals
Lubrication completion signal
OILF<G031#2>
[Classification] Input signal
[Function] After lubrication for hole-making canned cycle is directed by program,
this signal indicates when lubrication is completed.
The signal is used only in type B.
[Operation] The OIL signal is set to "1" simultaneously with the beginning of
operation 3. It is reset to "0" when the OILF signal is received from the
PMC.
The PMC resets the OILF signal to "0" when it detects that the OIL
signal has become "0".
When the OILF signal becomes "0", axis movement in operation 3
begins.
Lubrication signal
OIL<F156#3>
[Classification] Output signal
[Function] This signal indicates that lubrication during hole making canned cycle
has been directed by program.
[Operation] The signal becomes "1" when:
- The program specifies lubrication during hole making canned
cycle.
It becomes "0" when:
- A reset occurs, or
- Type A: The specified time has elapsed since the output of the
OIL signal.
- Type B: The OILF signal becomes "1".
- 1173 -
11.PROGRAM COMMAND B-63323EN-1/03
Signal address
#7 #6 #5 #4 #3 #2 #1 #0
G31 OILF
F156 OIL
- 1174 -
B-63323EN-1/03 INDEX
INDEX
NOTE
Volume 1 : Up to 614 / Volume 2 : Page 615 1174 / Volume 3 : Page 1175 or later
i-1
INDEX B-63323EN-1/03
NOTE
Volume 1 : Up to 614 / Volume 2 : Page 615 1174 / Volume 3 : Page 1175 or later
i-2
B-63323EN-1/03 INDEX
NOTE
Volume 1 : Up to 614 / Volume 2 : Page 615 1174 / Volume 3 : Page 1175 or later
i-3
INDEX B-63323EN-1/03
NOTE
Volume 1 : Up to 614 / Volume 2 : Page 615 1174 / Volume 3 : Page 1175 or later
i-4
B-63323EN-1/03 INDEX
NOTE
Volume 1 : Up to 614 / Volume 2 : Page 615 1174 / Volume 3 : Page 1175 or later
<V>
Vertical Axis Drop Prevention Function ............................ 30
VRDY OFF ALARM IGNORE SIGNAL .......................... 336
<W>
Waveform Diagnosis Display ............................................. 1184
WITHDRAWING AND RETURNING A TOOL .............. 512
Workpiece Coordinate System/Addition of Workpiece
Coordinate System Pair ...................................................... 159
WORKPIECE ORIGIN MANUAL SETTING................... 1281
i-5
Revision Record
FANUC Series 15i/150i-MODEL A CONNECTION MANUAL (FUNCTION) (B-63323EN-1)
01 Feb., 1999