Académique Documents
Professionnel Documents
Culture Documents
20.5 Some machining errors are due to the CNC. Such errors include
machining errors caused by acceleration/deceleration after interpolation.
HIGH–PRECISION To eliminate these errors, the following functions are performed at high
CONTOUR CONTROL speed by an RISC processor. These functions are called high–precision
contour control functions.
(1) Function for multiple–block look–ahead acceleration/deceleration
before interpolation. This function eliminates machining errors due
to acceleration/deceleration.
(2) Automatic speed control function which enables smooth acceleration/
deceleration by considering changes in the figure and speed and
allowable acceleration for the machine. This is performed by reading
multiple blocks in advance.
For details on high–precision contour control using RISC, refer to the
relevant manual published by the machine tool builder.
Format
Explanations
HPCC mode The mode used to perform high–precision contour control using RISC is
called HPCC mode.
To start the HPCC mode in a certain block, specify G05P10000 before
that block. To end the HPCC mode, specify G05P0 at the point at which
to end the mode.
Data that can be The following data can be specified in HPCC mode:
specified G00 :
Positioning (Note)
G01 :
Linear interpolation
G02 :
Circular interpolation (CW)
G03 :
Circular interpolation (CCW)
G17 :
Plane selection (XpYp plane)
where, Xp is the X–axis or a parallel axis;
G18 : Plane selection (ZpXp plane)
where, Yp is the Y–axis or a parallel axis;
G19 : Plane selection (YpZp plane)
where, Zp is the Z–axis or a parallel axis.
G38 : Cutter compensation C with vector held
G40 : Cutter compensation cancel
G41 : Cutter compensation, left
G42 : Cutter compensation, right
G90 : Absolute command
G91 : Incremental command
Dxxx : Specifying a D code
Fxxxxx : Specifying an F code
Nxxxxx : Specifying a sequence number
G05P10000 : Setting the HPCC mode
G05P0 : Canceling the HPCC mode
458
B–62804EN/01 PROGRAMMING 20. HIGH SPEED CUTTING FUNCTIONS
NOTE
G00, auxiliary functions, and subprogram call (M98, M198) can be
specified in the HPCC mode only when bit 1 of parameter MSU No.
8403 is 1. If these codes are specified when MSU is not 1, an alarm
is issued.
When unspecifiable data In the HPCC mode, specifying unspecifiable data causes an alarm. To
is specified specify a program containing unspecifiable data, specify G05P0 to exit
from the HPCC mode before specifying the program.
O0001 ; O0002 ;
G05P10000 ; HPCC–ON G00X50.Y50. ;
G00X100.Y200. ; M11 ;
G91G01X100Y200Z300F2000 ; G02I20.F3000 ;
X200Y300Z400 ; G01X100. ;
X300Y400Z500 ; G03I80. ;
X400Y500Z600 ; G01X–50. ;
X300Y400Z500 ; G02I100.F5000 ;
M98P0002 ; SUB PROGRAM
X10. ;
G05P0 ; HPCC–OFF G01X200.Y300.F1500 ;
G90G51X0Y0Z0 ; X50.Y100.Z150. ;
X500Y400Z300 ; T24 ;
X600Y500Z400 ; M99 ;
G50 ;
G05 P10000 ; HPCC–ON
X100Y200 ;
X200Y400 ;
G05P0 ; HPCC–OFF
G04X3. ; Note) When bit 1 of parameter MSU
M30 ; No. 8403 is 1
459
20. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–62804EN/01
! Cutter compensation C When the cutter compensation C option is provided, cutter compensation
C is enabled even in HPCC mode. Operation in the offset mode is the
same as when HPCC mode is not set, except in the following cases:
When the end point for an arc does not lie on the arc
In the HPCC mode, when the end point for an arc does not lie on the
arc, the start point and end point are connected with a smooth curve;
no arc leading line is created. In this case, the system assumes an
imaginary circle to perform cutter compensation C. The center of the
imaginary circle is the same as the center of the arc, but the imaginary
circle passes through the end point. Under the assumption that cutter
compensation has been performed with respect to the imaginary circle,
the system creates a vector and performs compensation.
Imaginary circle
r
r S
L
Center L
L
460
B–62804EN/01 PROGRAMMING 20. HIGH SPEED CUTTING FUNCTIONS
G05 P10000 ;
G05 P0 ;
G05 P10000 ;
461
20. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–62804EN/01
N7 N8
N6 G91 X100. Z100. ;
N6 N7 G40 ;
N8 X100. ;
462
B–62804EN/01 PROGRAMMING 20. HIGH SPEED CUTTING FUNCTIONS
Positioning and auxiliary When bit 1 of parameter MSU No. 8403 is set to 1, G00, M, S, T, and B
functions codes can be specified even in HPCC mode. When specifying these codes
in HPCC mode, note the following:
(1) When a G00, M, S, T, or B code is specified in cutter compensation
mode, the offset vector created in the previous block is maintained.
(Example 1) When the following program is executed for
machining with offset value D1 set to 10 mm, the start
point of N6 is determined by the vector created
between N3 and N4:
N1 N2 N5 N6
N3 N4
N7
N1 N2 N5
N3 N4
N6
463
20. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–62804EN/01
(2) When G00 is specified with bit 7 of parameter SG0 No. 8403 set to 1,
the following points should be noted:
⋅Since the G00 command is replaced by the G01 command, the tool
moves at the feedrate set in parameter No. 8481 even when data is
specified for two axes.
Example) If the following is specified when parameter No. 8481 is
set to 1000 mm/min, F1000 is used instead of F1414
G00 X100. Y100. ;
Since the G00 command is replaced by the G01 command, rapid
traverse override is disabled and cutting feed override is enabled.
For acceleration/deceleration after interpolation, the time constant
used for cutting feed acceleration/deceleration after interpolation
is selected.
Linear and bell–shaped acceleration/deceleration before inter–
polation in HPCC mode is enabled.
No position check is performed.
Linear interpolation type positioning is performed.
Status display When G05P10000 is specified, “HPCC” starts blinking at the right–
bottom of the screen. While “HPCC” is blinking, the system performs
automatic operation in HPCC mode.
Display example for when the system is in HPCC mode
(Program screen on a 9–inch CRT display)
PROGRAM(MEMORY) O1234 N00010
G05 P10000 ; Executed block
N10 X10. Y10. Z10. ; Block being executed
N20 X10. Y10. Z10. ;
/ N30 X10. Y10. Z10. ;
/2 N40 X10. Y10. Z10. ;
N50 X10. Y10. Z10. ;
N60 X10. Y10. Z10. ;
N70 (FANUC Series 18) ;
N80 X10. Y10. Z10. ;
N90 X10. Y10. Z10. ;
N100 X10. Y10. Z10. ;
N110 X10. Y10. Z10. ;
G05 P0 ;
MEM STRT MTN * * * 01 : 23 : 45 HPCC
PRGRM NEXT (OPRT)
464
B–62804EN/01 PROGRAMMING 20. HIGH SPEED CUTTING FUNCTIONS
Limitations
Modes that can be Before G05P10000 can be specified, the following modal values must be
specified set. If they are not set, the P/S alarm No. 5012 is issued.
G code Meaning
Single block The G05P10000 block cannot be executed in the single block mode.
Second feedrate override The second feedrate override and optional block skip functions cannot be
and optional block skip used in HPCC mode unless these options are provided.
Invalid command Externally–requested deceleration, feed at address F with one digit, and
automatic corner override commands are ignored.
MDI operation Switching to the MDI mode cannot be performed in HPCC mode. In
addition, MDI operation is not possible.
Interlock Interlock (for each axis and in each direction) is disabled in HPCC mode.
Mirror image and In HPCC mode, never change the external mirror image signal (DI
machine lock signal), parameter–set mirror image, and each–axis machine lock.
Calculator–type input In HPCC mode, calculator type input (when bit 0 of parameter DPI No.
3401 is 1) is ignored.
465
20. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–62804EN/01
Examples
O0001 ;
G91 G01 F1000. ;
X10. Y20. Z30. ;
G05 P10000 ; Setting HPCC mode
X100. Y100. ;
G02 I10. ;
G01 X100. Y300. F1500. ;
X30. Y–10. ;
G05 P0 ;
G04 X5. ; Canceling HPCC mode
G900 G00 X100. Y300. ;
M02 ;
466
B–62804EN/01 PROGRAMMING 20. HIGH SPEED CUTTING FUNCTIONS
Format
G05.1 Q_ ;
A block for specifying G05.1 must not contain any other command.
AI contour control mode can also be canceled by a reset.
Explanations
Advanced preview To enable this function, the AI contour control function is necessary.
control When the AI contour control function is selected, the advanced preview
control command (G08 P1) can be programmed.
Dry run When the dry run signal is inverted from 0 to 1 or from 1 to 0 during
movement along an axis, the speed of the movement is increased or
decreased to the desired speed without first being reduced to zero.
Controlled axes 3 to 6
Simultaneously Up to 4
controlled axes
467
20. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–62804EN/01
Interpolation functions
Can be programmed
Cannot be programmed
Name Description
Positioning (G00) (Positioning of linear interpolation type)
Single direction positioning (G60)
Exact stop (G09)
Exact stop mode (G61)
Tapping mode (G63)
Automatic corner override (G62)
Linear interpolation (G01)
Circular interpolation (G02,G03) (Multiple quadrants allowed)
Helical interpolation (G02,G03) (Circular interpolation) + (Up to two
axes for linear interpolation)
A desired feedrate must be specified by
also taking movement along the helical
axis into consideration.
Spiral interpolation/conical inter-
polation (G02,G03)
Involute interpolation
(G02.2,G03.2)
Exponential interpolation
(G02.3,G03.3)
Dwell (G04) (For a specified number of seconds or
revolutions)
To specify a number of revolutions for
the dwell, the thread cutting/synchro-
nous feed function must be selected.
Polar coordinate interpolation
(G12.1,G13.1)
Cylindrical interpolation (G07.1)
Thread cutting/synchronous feed
(G33)
Skip function (G31) *
High–speed skip function (G31) *
Multistage skip function (G31 Px) *
Reference position return (G28) *
When the zero point is not established,
P/S alarm No. 90 is issued.
Reference position return check *
(G27)
2nd, 3rd, and 4th reference posi- *
tion return (G30)
Floating reference position return *
(G30.1)
Canned cycle (G73 to G89) *
Rigid tapping
Return to initial point in canned *
cycle (G98) /Return to R point in
canned cycle (G99)
Normal direction control
(G41.1,G42.1)
468
B–62804EN/01 PROGRAMMING 20. HIGH SPEED CUTTING FUNCTIONS
Name Description
Continuous dressing
In–feed control
Index table indexing G161)
High–speed cycle machining
Absolute command (G90)/
Incremental command (G91)
Feed functions
Can be programmed
Cannot be programmed
Name Description
Rapid traverse rate Up to 240m/min (0.001mm)
Up to 100m/min (0.0001mm)
Rapid traverse rate override F0, 25, 50, 100 %
Rapid traverse rate override in 0% to 100%
units of 1%
Feed per minute (G94)
Feed per rotation (G95)
Rapid traverse bell–shaped
acceleration/deceleration
Cutting feed linear acceleration/ (look–ahead control of up to 40
deceleration before interpolation blocks)
Feedrate override 0% to 254%
Second feedrate override
Feed by F command with one
digit
Inverse time feed (G93)
External deceleration
Program input
Can be programmed
Cannot be programmed
Name Description
Plane selection (G17,G18,G19)
Local coordinate system (G52) *
Workpiece coordinate system *
(G54–G59)
(G54.1Pxx)
Workpiece coordinate system
(G92)
469
20. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–62804EN/01
Name Description
Workpiece coordinate system *
preset (G92.1)
Interruption–type custom macro
Others
Can be programmed
Cannot be programmed
Name Description
Cycle start/Feed hold
Dry run
Single block
Interlock
Machine lock When an axis machine lock signal
(MLK1 to MLK6) is set on or off, accel-
eration/deceleration is not performed
on the axis held under the machine
lock.
Control–in/control–out command
()
Optional block skip command
(/n: n is a number)
Auxiliary function (Mxxxx) Only the function code signal and func-
tion strobe signal are output.
Spindle function (Sxxxx)
Tool function (Txxxx) Only the function code signal and func-
tion strobe signal are output.
Second auxiliary function (Bxxxx) Only the function code signal and func-
tion strobe signal are output.
Simple synchronous control Synchronous control cannot be
enabled or disabled.
Program restart
Retrace function
Tool life management
Macro executor
(execution macro)
MDI operation
Manual intervention Upon restart after manual intervention,
the position at which manual interven-
tion occurred must be restored. If the
position is not restored, P/S alarm No.
5114 is issued.
470
B–62804EN/01 PROGRAMMING 20. HIGH SPEED CUTTING FUNCTIONS
Limitations
Conditions for entering Before G05.1 Q1, the following modal codes must be specified. If this
AI contour control mode condition is not satisfied, P/S alarm No. 5111 will be issued.
G code Description
G00 Positioning
G01 Linear interpolation
G02 Circular interpolation (CW)
G03 Circular interpolation (CCW)
G13.1 Polar coordinate interpolation cancel mode
G15 Polar coordinate command cancel
G25 Spindle speed fluctuation detection off
G40 Cutter compensation cancel
G40.1 Normal direction control cancel mode
G49 Tool length compensation cancel
G50 Scaling cancel
G50.1 Programmable mirror image cancel
G64 Cutting mode
G67 Macro modal call cancel
G69 Coordinate rotation cancel
G80 Canned cycle cancel
G94 Feed per minute
G97 Constant surface speed control cancel
G160 In–feed control function cancel
Manual handle Manual handle interruption is disabled while the mode is being switched
interruption to AI contour control mode.
471
20. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–62804EN/01
MONITORING These P/S alarms can be canceled only by turning off the CNC power.
FUNCTION FOR THE
HIGH–SPEED
MACHINING
COMMAND (G05)
Explanations
High–speed machining High–speed machining using the high–speed remote buffer A function,
command high–speed remote buffer B function, and high–speed cycle function
based on the G05 command
Alarm
472