Vous êtes sur la page 1sur 15

20.

HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–62804EN/01

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

G05P10000 ; Start HPCC mode


G05P0 ; End HPCC mode

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

I, J, K, R : I, J, K, and R specified for circular interpolation


Data for movement along axis : Data for moving the tool along the
axis set in parameter No. 1020 (any
axis selected from X, Y, Z, U, V, W, A,
B, and C)
() : Control–in and control–out commands
(comment specification)
/n : Optional block skip command (n is a number.)
Mxxxx : Auxiliary function (Note)
Sxxxx : Auxiliary function (Note)
Txxxx : Auxiliary function (Note)
Bxxxx : Auxiliary function (Note)
M98, M198, etc. : Subprogram call

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.

< Sample program >

Main program Subprogram

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

Arc end point


Programmed path

r
r S
L
Center L
L

When the offset mode is canceled temporarily


In the HPCC mode, automatic reference position return (G28) and
automatic return from the reference position (G29) cannot be
specified. Therefore, commands that must cancel the offset mode
temporarily cannot be specified.
When using cutter compensation C in the HPCC mode, note the following
points:
(1) When G05 P10000 and G05 P0, and G41/G42 and G40 are to be
specified together, G41/G42 to G40 must be nested between G05
P10000 and G05 P0. This means that HPCC mode cannot be started
or canceled in cutter compensation (G41/G42) mode. If such a
specification is made, the P/S alarm No.0178 or P/S alarm No.5013
P/S alarm is issued.

460
B–62804EN/01 PROGRAMMING 20. HIGH SPEED CUTTING FUNCTIONS

(Example of a correct program)

G05 P10000 ;

G41 X__ Y__ D01 ;


Cutter compensation
(G41) mode
G40 X__ Y__ ;
HPCC mode
G42 X__ Y__ D02 ;
Cutter compensation
(G42) mode
G40 X__ Y__ ;

G05 P0 ;

(Example of an incorrect program (1))

G41 X__ Y__ D01 ;

When the start of HPCC mode is specified


G05 P10000 ; in cutter compensation mode, the P/S
alarm No.0178 is issued.

(Example of an incorrect program (2))

G05 P10000 ;

G41 X__ Y__ D01 ;

When cancellation of HPCC mode is specified


G05 P0 ; in cutter compensation mode, the P/S alarm
No.5013 alarm is issued.

(2) When a block containing no movement operation is specified together


with the cutter compensation cancel code (G40), a vector with a length
equal to the offset value is created in a direction perpendicular to the
movement direction of the previous block. Cutter compensation mode
is canceled while this vector still remains. This vector is canceled
when the next move command is executed.

461
20. HIGH SPEED CUTTING FUNCTIONS PROGRAMMING B–62804EN/01

N7 N8
N6 G91 X100. Z100. ;
N6 N7 G40 ;
N8 X100. ;

If cutter compensation mode is canceled while a vector still remains


and HPCC mode is canceled before a move command is specified,
the P/S alarm No.5013 is issued.

N6 G91 X100. Z100. ;


N7 G40 ;
N8 G05 P0 ; The P/S alarm No. 5013 is issued.

(3) When an offset value is changed during cutter compensation C in


HPCC mode, the new offset value is not used until a block specifying
a D code appears.

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

This vector is used as the vector


N8
between N4 and N6.
O0001 ;
G92 G90 X–10. Y20. ;
G05 P10000 ;
Programmed path
N1 G01 G42 X0 D1 F1000 ;
Tool path N2 X20. ;
An incorrect offset value is N3 X40. Y0 ;
used in this range. N4 X60. Y20 ;
N5 M01 ;
N6 X80. ;
N7 X90. Y–20. ;
N8 G40 Y–50. ;
G05 P0 ;
M30

(Example 2) When the following program is executed for


machining with offset value D1 set to 10 mm, the start
point of N5 is determined by the vector created
between N3 and N4. If the simplified G00 execution
function is enabled (by setting bit 7 of parameter SG0
No. 8403 to 1), a correct vector can be obtained at the
intersection of N4 and N5.

N1 N2 N5
N3 N4

N6

This vector is used as the vector between


N7
N4 and N5, and N5 and N6.
O0001 ;
G92 G90 X–10. Y20. ;
G05 P10000 ;
N1 G01 G42 X0 D1 F1000 ;
Programmed path N2 X20. ;
Tool path N3 X40. Y0 ;
An incorrect offset value is N4 X60. Y20 ;
used in this range. N5 G00 X80. ;
N6 G01 X90. Y–20. ;
N7 G40. Y–50. ;
G05 P0 ;
M30

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

G13.1 Cancels polar coordinate interpolation.

G15 Cancels a polar coordinate command.

G40 Cancels cutter compensation (M system).

G40.1 Cancels normal direction control (for the M system only).

G50 Cancels scaling.

G50.1 Cancels the programmable mirror image function.

G64 Cutting mode

G69 Cancels coordinate conversion.

G80 Cancels canned cycles.

G94 Feed per minute

G97 Cancels constant surface speed control.

M97 Cancels interrupt type macros.

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.

Program reset A program containing G05P10000; cannot be restarted.

Custom macro No custom macros can be specified in HPCC mode.

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

20.6 By taking full advantage of high–precision contour control using a RISC


processor, this function enables high–speed high–precision machining
AI CONTOUR without the need for special hardware.
CONTROL (G05.1) The function enables look–ahead linear acceleration/deceleration before
interpolation of up to 40 blocks. This results in smooth acceleration/
deceleration over many blocks, as well as high–speed machining.

Format
G05.1 Q_ ;

Q1 : Start AI contour control mode


Q0 : End AI contour control mode

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.

Deceleration stop When a no–movement block or a one–shot G code such as G04 is


encountered in AI contour control mode, the movement is decelerated and
halted in the preceding block.

Specifications Axis control


Item Description

Controlled axes 3 to 6

Simultaneously Up to 4
controlled axes

Axis name Basic three axes: Always X, Y, and Z Other axes:


U, V, W, A, B, or C

Least input increment 0.001mm, 0.001 deg, 0.0001 inch

Input increment 1/10 0.0001mm, 0.0001 deg, 0.00001 inch

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

Tool compensation functions


Can be programmed
 Cannot be programmed
Name Description
Cutter compensation C
(G40,G41,G42)
Tool length compensation
(G43,G44,G49)

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.

Those functions marked with an asterisk (*) do not perform advanced


preview control of multiple blocks.

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

20.7 During high–speed machining, the distribution processing status is


monitored. When distribution processing terminates, P/S alarm No. 000
DISTRIBUTION and P/S alarm No. 179 are issued upon completion of the high–speed
PROCESSING machining command (according to the setting of ITPDL (bit 7 of
TERMINATION parameter No. 7501)).

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

Distribution processing Failure to perform normal distribution processing because distribution


termination processing required for high–speed machining exceeded the CNC
processing capacity, or because distribution data sent from the host was
delayed for some reason while the high–speed remote buffer A or G
function was being used

Alarm

Alarm No. Message Contents

000 PLEASE During high–speed machining, distribution pro-


TURN OFF cessing was terminated.
POWER Related parameters:
Remote buffer transfer baud rate (parameter
No. 133)
179 PARAM.
Number of controlled axes in high–speed ma-
(No. 7510)
chining (parameter No. 7510)
SETTING
High–speed axis selection during high–speed
ERROR
machining (bit 0 of parameter No. 7505)

472

Vous aimerez peut-être aussi