Index Manuals FANUC Series 16i/160i/160is-MB, Series 18i/180i/180is-MB5, Series 18i/180i/180is-MB. Operator's Manual (GFZ-63534EN/02)
|
|
|
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
D When it is exceptional
End position for the arc is not
If the end of a line leading to an arc is programmed as the end of the arc
on the arc
by mistake as illustrated below, the system assumes that cutter
compensation has been executed with respect to an imaginary circle that
has the same center as the arc and passes the specified end position. Based
on this assumption, the system creates a vector and carries out
compensation. The resulting tool center path is different from that created
by applying cutter compensation to the programmed path in which the
line leading to the arc is considered straight.
Leading of the arc End the arc
Work-
Imaginary circle
piece
Programmed path
r
r
Tool center path
S
r
C
L
L
L
Center of the arc
The same description applies to tool movement between two circular
paths.
There is no inner intersection
If the cutter compensation value is sufficiently small, the two circular tool
center paths made after compensation intersect at a position
(P).
Intersection P may not occur if an excessively large value is specified for
cutter compensation. When this is predicted, P/S alarm No.033 occurs
at the end of the previous block and the tool is stopped. In the example
shown below, tool center paths along arcs A and B intersect at P when a
sufficiently small value is specified for cutter compensation. If an
excessively large value is specified, this intersection does not occur.
Alarm(No.033)occurs and the tod stops
When the cutter compensation value
is large
When the cutter compensa-
tion value is small
Center of the arc B
Center of the arc A
r
r
Programmed path
Arc A
Arc B
P
310
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
The center of the arc is identiĆ
If the center of the arc is identical with the start position or end point, P/S
cal with the start position or
alarm (No. 038) is displayed, and the tool will stop at the end position of
the end position
the preceding block.
Alarm(No.038)is displayed and the tool
(G41)
stops
N5 G01 X100.0 ;
N6 G02 X100.0 I0 J0 ;
N7 G03 Y-100.0 J-100.0 ;
Tool center path
r
N5
N6
Programmed path
N7
D Change in the offset
The offset direction is decided by G codes (G41 and G42) for cutter radius
direction in the offset
and the sign of cutter compensation value as follows.
mode
Sign of offset amount
Gcode
+
-
G41
Left side offset
Right side offset
G42
Right side offset
Left side offset
The offset direction can be changed in the offset mode. If the offset
direction is changed in a block, a vector is generated at the intersection
of the tool center path of that block and the tool center path of a preceding
block. However, the change is not available in the start-up block and the
block following it.
311
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
Tool center path with an inter-
section
Linear→Linear
S
Workpiece
L
G42
r
r
Programmed path
L
G41
Tool center path
Workpiece
Linear→Circular
C
r
Workpiece
G41
G42
Programmed path
r
Workpiece
L
S
Tool center path
Circular→Linear
Workpiece
G42
Programmed path
r
Tool center path
C
L
S
r
G41
Workpiece
Circular→Circular
C
Workpiece
G42
r
Programmed path
r
G41
C
Tool center path
Workpiece
S
312
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
Tool center path without an in-
When changing the offset direction in block A to block B using G41 and
tersection
G42, if intersection with the offset path is not required, the vector normal
to block B is created at the start point of block B.
Linear→Linear
S
L
Workpiece
r
(G42)
(G42)
G41
A
B
Programmed path
L
r
Workpiece
Tool center path
L
G42
Programmed path
G41
Tool center path
S
L
Linear→Circular
S
L
L
Tool center path
A
(G41)
G42
B
(G41)
r
Programmed path
S
Circular→Circular
C
S
An arc whose end position
is not on the arc
r
C
G41
Programmed path
(G42)
(G42)
r
r
C
L SL
Tool center path
Center
Center
313
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
The length of tool center path Normally there is almost no possibility of generating this situation.
larger than the circumference However, when G41 and G42 are changed, or when a G40 was
of a circle
commanded with address I, J, and K this situation can occur.
In this case of the figure, the cutter compensation is not performed with
more than one circle circumference: an arc is formed from P1 to P2 as
shown. Depending on the circumstances, an alarm may be displayed due
to the ”Interference Check” described later. To execute a circle with more
than one circumference, the circle must be specified in segments.
Tool center path
Programmed path
N5
N7
P1
P2
(G42)
N5 G01 G91 X500.0 Y-700.0 ;
N6
N6 G41 G02 J-500.0 ;
N7 G42 G01 X500.0 Y700.0 ;
314
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
D Temporary cutter
If the following command is specified in the offset mode, the offset mode
compensation cancel
is temporarily canceled then automatically restored. The offset mode can
be canceled and started as described in II-15.6.2 and 15.6.4.
Specifying G28 (automatic re-
If G28 is specified in the offset mode, the offset mode is canceled at an
turn to the reference position)
intermediate position. If the vector still remains after the tool is returned
in the offset mode
to the reference position, the components of the vector are reset to zero
with respect to each axis along which reference position return has been
made.
G28
Intermediate position
S
r
G00
r
S
(G42 G00)
S
S
Reference position
Specifying G29 (automatic re-
If G29 is commanded in the offset mode, the offset will be cancelled at
turn from the reference posi-
the intermediate point, and the offset mode will be restored automatically
tion) in the offset mode
from the subsequent block.
G29 specified immediately after G28
Intermediate position
Programmed path
G28
G29
r
S
G00
r
S
S
(G42 G00)
S
Tool center path Reference position
G29 specified not immediately after G28
Intermediate position
Programmed path
G29
G29
r
S
G00
r
S
S
(G42 G00)
Tool center path
315
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
D Cutter compensation G
The offset vector can be set to form a right angle to the moving direction
code in the offset mode
in the previous block, irrespective of machining inner or outer side, by
commanding the cutter compensation G code (G41, G42) in the offset
mode, independently. If this code is specified in a circular command,
correct circular motion will not be obtained.
When the direction of offset is expected to be changed by the command
of cutter compensation G code (G41, G42), refer to Subsec.15.6.3.
Linear→Linear
G42 mode
A block specified by G42
r
L
L
Tool center path
S
Intersection
Circular→Linear
A block specified by G42
G42 mode
r
L
C
S Intersection
Programmed path
D Command cancelling the
During offset mode, if G92 (absolute zero point programming) is
offset vector temporarily
commanded,the offset vector is temporarily cancelled and thereafter
offset mode is automatically restored.
In this case, without movement of offset cancel, the tool moves directly
from the intersecting point to the commanded point where offset vector
is canceled. Also when restored to offset mode, the tool moves directly
to the intersecting point.
S
S
L
L
L
L
Tool center path
N6
S
N5
N8
Programmed path
N7
(G41)
G92 block
N5 G91 G01 X300.0 Y700.0 ;
N6 X-300.0 Y600.0 ;
N7 G92 X100.0 Y200.0 ;
N8 G90 G01 X400.0 Y800.0 ;
316
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
D A block without tool
The following blocks have no tool movement. In these blocks, the tool
movement
will not move even if cutter compensation is effected.
M05 ; .
M code output
S21 ; .
S code output
G04 X10.0 ; .
Dwell
Commands (1)
G10 L11 P01 R10.0 ;
Cutter compensation value setting
to (6) are of no
(G17) Z200.0 ; .
Move command not included
movement.
in the offset plane.
G90 ; .
G code only
G91 X0 ; .
Move distance is zero.
When a single block without tool movement is commanded in the offset
A block without tool move-
ment specified in offset mode
mode, the vector and tool center path are the same as those when the block
is not commanded. This block is executed at the single block stop point.
N6 G91 X100.0 Y100.0 ;
N7
N8
N7 G04 X100.0 ;
Programmed path
N8 X100.0 ;
N6
L
Tool center path
SS
L
Block N7 is executed here.
However, when the move distance is zero, even if the block is commanded
singly, tool motion becomes the same as that when more than one block
of without tool movement are commanded, which will be described
subsequently.
N6 G91 X100.0 Y100.0 ;
N7
N8
Programmed path
N7 X0 ;
N8 X100.0 ;
N6
L
SS
Tool center path
L
Two blocks without tool movement should not be commanded
consecutively. If commanded, a vector whose length is equal to the offset
value is produced in a normal direction to tool motion in earlier block, so
overcutting may result.
N6 G91 X100.0 Y100.0 ;
N7 N8
N9
Programmed path
N7 S21 ;
N8 G04 X10.0 ;
N9 X100.0 ;
N6
L
SSS
Tool center path
L
Blocks N7 and N8 are executed
here.
317
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
D Corner movement
When two or more vectors are produced at the end of a block, the tool
moves linearly from one vector to another. This movement is called the
corner movement.
If these vectors almost coincide with each other, the corner movement
isn’t performed and the latter vector is ignored.
nVx
Tool center path
r
nVY
r
This vector is ignored, if
∆Vxx∆V Limit, and
∆VYx∆V Limit
Programmed path
If ∆Vxx∆Vlimit and ∆Vyx∆Vlimit, the latter vector is ignored. The
∆Vlimit is set in advance by parameter (No. 5010).
If these vectors do not coincide, a move is generated to turn around the
corner. This move belongs to the latter block.
This move belongs to block N7, thus, the feedrate
is equal to that in block N7.
If the block N7 is G00 mode, the tool is moved at
S
G00 mode, while if it is G01, G02, G03, the tool is
moved at G01 mode.
N6
N7
However, if the path of the next block is semicircular or more, the above
function is not performed.
The reason for this is as follows:
318
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
N4 G41 G91 G01 X150.0 Y200.0 ;
P2 P3P4P5
N5 X150.0 Y200.0 ;
N6 G02 J-600.0 ;
N7 G01 X150.0 Y-200.0 ;
P1
N8 G40 X150.0 Y-200.0 ;
P6
N7
N5
N4
N8
Programmed path
Tool center path
N6
If the vector is not ignored, the tool path is as follows:
P1 → P2 → P3 → (Circle) → P4 → P5 → P6
But if the distance between P2 and P3 is negligible, the point P3 is
ignored. Therefore, the tool path is as follows:
P2 → P4
Namely, circle cutting by the block N6 is ignored.
D Interruption of manual
For manual operation during the cutter compensation, refer to Section
operation
III-3.5, “ Manual Absolute ON and OFF.”
319
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
14.6.4
Tool Movement in
Offset Mode Cancel
Explanations
D Tool movement around
an inside corner
Linear→Linear
(180°xα)
Workpiece
α
Programmed path
r
G40
L
S
Tool center path
L
Circular→Linear
α
r
G40
Work-
piece
S
C
L
Programmed path Tool center path
320
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
D Tool movement around
Tool path has two types, A and B; and they are selected by parameter SUP
an outside corner at an
(No. 5003#0).
obtuse angle
(90°xα<180°)
Linear→Linear
G40
α
Workpiece
L
Programmed path
r
L
S
Tool center path
Type
A
Circular→Linear
G40
α
L
Work-
piece
r
S
C
Programmed path
Tool center path
Linear→Linear
G40
α
Workpiece
L
Programmed path
r
Tool center path
L
S
Intersection
Type
B
Circular→Linear
G40
α
L
Work-
r
r
piece
S
C
L
LIntersection
Programmed path
Tool center path
321
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
D Tool movement around
Tool path has two types, A and B : and they are selected by parameter SUP
an outside corner at an
(No. 5003#0)
acute angle
(α<90°)
Linear→Linear
G40
Workpiece
L α
Programmed path
G42
r
Tool center path
L
S
Type
A
Circular→Linear
G40
L
α
r
G42
Work-
S
piece
C
Tool center path
Programmed path
Linear→Linear
L
G40
Workpiece
α
r
L
Programmed path
r
Tool center path
L
L
L
S
Type
B
Circular→Linear
L
r
α
L
r
L
Work-
S
L
piece
C
Tool center path
Programmed path
322
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
D Tool movement around
the outside linear→linear
S
Tool center path
at an acute angle less
L
than 1 degree (α<1°)
L
r
Programmed path
(G42)
1°or less
G40
Start position
D A block without tool
When a block without tool movement is commanded together with an
movement specified
offset cancel, a vector whose length is equal to the offset value is produced
together with offset
in a normal direction to tool motion in the earlier block, the vector is
cancel
cancelled in the next move command.
N6 G91 X100.0 Y100.0 ;
N7
N8
N7 G40 ;
N8 X100.0 Z0 ;
N6
L
Programmed path
SS
L
Tool center path
323
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
D Block containing G40
and I_J_K_
The previous block contains
If a G41 or G42 block precedes a block in which G40 and I_, J_, K_ are
G41 or G42
specified, the system assumes that the path is programmed as a path from
the end position determined by the former block to a vector determined
by (I,J), (I,K), or (J,K). The direction of compensation in the former block
is inherited.
N1 (G42 mode) ;
In the N1 block, the tool center moves towards X.
N2 G40 Xa Yb I_ J_ ;
In the N2 block, the tool moves towards E.
E(a, b)
(I, J)
G40
N2
X
Tool center path
S
N1
r
r
(G42) Programmed path
Workpiece
In this case, note that the CNC obtains an intersection of the tool path
irrespective of whether inner or outer side machining is specified
E
G40
X
Tool center path
S
r
Programmed path
(G42)
r
(I, J)
When an intersection is not obtainable, the tool comes to the normal
position to the previous block at the end of the previous block.
E
G40
Tool center path
X
S
r
(G42)
Programmed path
(I, J)
r
324
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
The length of the tool center In the example shown below, the tool does not trace the circle more than
path larger than the circumfer- once. It moves along the arc from P1 to P2. The interference check
ence of a circle
function described in II-15.6.5 may raise an alarm.
Tool center path
P1
P2
Programmed path
N7
N5
N6
(I, J)
(G41)
N5 G01 G91 X100.0 ;
N6 G02 J-60.0 ;
N7 G40 G01 X50.0 Y50.0 I-10.0 J-10.0 ;
To make the tool trace a circle more than once, program two or more arcs.
325
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
14.6.5
Tool overcutting is called interference. The interference check function
checks for tool overcutting in advance. However, all interference cannot
Interference Check
be checked by this function. The interference check is performed even if
overcutting does not occur.
Explanations
D Criteria for detecting
(1) The direction of the tool path is different from that of the programmed
interference
path (from 90 degrees to 270 degrees between these paths).
Tool center path
Programmed path
The directions of
these two paths are
different (180°).
Tool center path
Programmed path
The directions of
these two paths are
different (180°).
326
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
(2) In addition to the condition (1), the angle between the start point and
end point on the tool center path is quite different from that between
the start point and end point on the programmed path in circular
machining(more than 180 degrees).
r2
Tool center path
r1
N5
N6
Programmed path
N7
Center
(G41)
N5 G01 G91 X800.0 Y200.0 D1 ;
N6 G02 X320.0 Y-160.0 I-200.0 J-800.0 D2 ;
N7 G01 X200.0 Y-500.0 ;
(Tool compensation value corresponding to D1 : r1 = 200.0)
(Tool compensation value corresponding to D2 : r2 = 600.0)
In the above example, the arc in block N6 is placed in the one quadrant.
But after cutter compensation, the arc is placed in the four quadrants.
327
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
D Correction of
(1) Removal of the vector causing the interference
interference in advance
When cutter compensation is performed for blocks A, B and C and
vectors V1, V2, V3 and V4 between blocks A and B, and V5, V6, V7
and V8 between B and C are produced, the nearest vectors are checked
first. If interference occurs, they are ignored. But if the vectors to be
ignored due to interference are the last vectors at the corner, they
cannot be ignored.
Check between vectors V4 and V5
Interference --- V4 and V5 are ignored.
Check between V3 and V6
Interference --- V3 and V6 are ignored
Check between V2 and V7
Interference --- V2 and V7 are Ignored
Check between V1 and V8
Interference ----- V1 and V8 are cannot be ignored
If while checking, a vector without interference is detected,
subsequent vectors are not checked. If block B is a circular
movement, a linear movement is produced if the vectors are
interfered.
(Example 1) The tool moves linearly from V1 to V8
V7
V2
V1
V8
Tool
C
center path
V3
C
r
V6
r
Programmed
A
C
V5
V4
path
B
V4, V5 : Interference
V3, V6 : Interference
V2, V7 : Interference
V1, V8 : No Interference
O1
O2
328
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
(Example 2) The tool moves linearly from V1, V2, V7, to V8
V7
V2
V1
V8
Tool center
C
path
V6
V3
C
r
r
A
C
V5
V4
Programmed path
B
V4, V5 : Interference
V3, V6
: Interference
O1
O2
V2, V7 : No Interference
(2) If the interference occurs after correction (1), the tool is stopped with
an alarm.
If the interference occurs after correction (1) or if there are only one
pair of vectors from the beginning of checking and the vectors
interfere, the P/S alarm (No.41) is displayed and the tool is stopped
immediately after execution of the preceding block. If the block is
executed by the single block operation, the tool is stopped at the end
of the block.
Tool center
path
Stopped
Programmed path
C
A
V1
V6
V5
V2
B
After ignoring vectors V2 and V5 because of interference, interference
also occurs between vectors V1 and V6. The alarm is displayed and
the tool is stopped.
329
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
D When interference is
assumed although actual
(1) Depression which is smaller than the cutter compensation value
interference does not
occur
Programmed path Tool center path
Stopped
A
C
B
There is no actual interference, but since the direction programmed in
block B is opposite to that of the path after cutter compensation the tool
stops and an alarm is displayed.
(2) Groove which is smaller than the cutter compensation value
Programmed path Tool center path
Stopped
A
B
C
Like (1), P/S alarm is displayed because of the interference as the
direction is reverse in block B.
330
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
14.6.6
Overcutting by Cutter
Compensation
Explanations
D Machining an inside
When the radius of a corner is smaller than the cutter radius, because the
corner at a radius
inner offsetting of the cutter will result in overcuttings, an alarm is
smaller than the cutter
displayed and the CNC stops at the start of the block. In single block
radius
operation, the overcutting is generated because the tool is stopped after
the block execution.
Tool center path
An alarm is generated
and the operation
Programmed path
stops
Workpiece
An alarm is generated and
the operation stops here in
single block operation
ÇÇ
ÇÇ
If the CNC does not
stop, overcutting occurs
ÇÇ
ÇÇÇÇ
ÇÇÇ
D Machining a groove
Since the cutter compensation forces the path of the center of the tool to
smaller than the tool
move in the reverse of the programmed direction, overcutting will result.
radius
In this case an alarm is displayed and the CNC stops at the start of the
block.
An alarm is displayed and the operation
Tool center path
stops
Programmed path
Workpiece
ÇÇÇÇÇ
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ
ÇÇÇÇÇ
Overcutting if the operation would not stop
331
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
D Machining a step smaller
When machining of the step is commanded by circular machining in the
than the tool radius
case of a program containing a step smaller than the tool radius, the path
of the center of tool with the ordinary offset becomes reverse to the
programmed direction. In this case, the first vector is ignored, and the tool
moves linearly to the second vector position. The single block operation
is stopped at this point. If the machining is not in the single block mode,
the cycle operation is continued. If the step is of linear, no alarm will be
generated and cut correctly. However uncut part will remain.
Linear movement Stop position after execution of a single
block
S
Tool center path
The first vector is ignored
Ç
Ç
Ç
Programmed path
Ç
Ç
Center of the circu-
ÇÇÇÇÇÇ
lar machining
ÇÇÇÇÇ
Workpiece
ÇÇÇ
An overcutting will result if the first vector is not ignored.
However, tool moves linearly.
D Starting compensation
It is usually used such a method that the tool is moved along the Z axis
and cutting along the
after the cutter compensation is effected at some distance from the
Z-axis
workpiece at the start of the machining.
In the case above, if it is desired to divide the motion along the Z axis into
rapid traverse and cutting feed, follow the procedure below.
N1 G91 G00 G41 X500.0 Y500.0 D1 ;
N3 G01 Z-300.0 F100 ;
N6 Y1000.0 F200 ;
After compensation
Work-
piece
N6
ÊÊÊÊ
ÊÊÊÊ
N3:Move command in Z axis
ÊÊÊÊ
(500, 500)
ÊÊÊÊ
N1
Ê
In the program example above, when executing block N1, blocks N3 and
N6 are also entered into the buffer storage, and by the relationship among
them the correct compensation is performed as in the figure above.
Then, if the block N3 (move command in Z axis) is divided as follows:
As there are two move command blocks not included in the selected plane
and the block N6 cannot be entered into the buffer storage, the tool center
path is calculated by the information of N1 in the figure above. That is,
the offset vector is not calculated in start-up and the overcutting may
result.
332
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
The above example should be modified as follows:
N1 G91 G00 G41 X500.0 Y500.0 D1 ;
N3 G01 Z-250.0 ;
N5 G01 Z-50.0 F100 ;
N6 Y1000.0 F200 ;
Workpiece
After compensation
N6
ÊÊÊ
ÊÊÊÊ
ÊÊÊÊÊ
ÊÊÊÊ
N3, N5:Move command for the Z axis
N1ÊÊ(500, 500)
The move command in the same direction as that of the move command
after the motion in Z axis should be programmed.
N1 G91 G00 G41 X500.0 Y400.0 D1 ;
N2 Y100.0 ;
N3 Z-250.0 ;
N5 G01 Z-50.0 F100 ;
N6 Y1000.0 F200 ;
Workpiece
After compensation
ÊÊÊ
N6
ÊÊÊÊ
ÊÊÊÊ
N2
ÊÊÊÊ
N3, N5 : Move command for the Z
axis (2blocks)
ÊÊÊÊ
(500, 500)
N1
As the block with sequence No. N2 has the move command in the same
direction as that of the block with sequence No. N6, the correct
compensation is performed.
333
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
14.6.7
Cutter compensation C is not performed for commands input from the
MDI.
Input Command from
However, when automatic operation using the absolute commands is
MDI
temporarily stopped by the single block function, MDI operation is
performed, then automatic operation starts again, the tool path is as
follows :
In this case, the vectors at the start position of the next block are translated
and the other vectors are produced by the next two blocks. Therefore,
from next block but one, cutter compensation C is accurately performed.
VC1’
VB2
VC1
VC2
VB1
PC
PB
Command
VB2’
for MDI
PA
PD
VB1’
PB’
When position PA, PB, and PC are programmed in an absolute command,
tool is stopped by the single block function after executing the block from
PA to PB and the tool is moved by MDI operation. Vectors VB1 and VB2
are translated to VB1’ and VB2’ and offset vectors are recalculated for the
vectors VC1 and VC2 between block PB-PC and PC-PD.
However, since vector VB2 is not calculated again, compensation is
accurately performed from position PC.
334
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
14.6.8
A function has been added which performs positioning by automatically
canceling a cutter compensation vector when G53 is specified in cutter
G53, G28, G30, G30.1
compensation C mode, then automatically restoring that cutter
and G29 Commands in
compensation vector with the execution of the next move command.
Cutter Compensation C
The cutter compensation vector restoration mode is of FS16 type when
Mode
CCN (bit 2 of parameter No. 5003) is set to 0; it is of FS15 type when CCN
is set to 1.
When G28, G30, or G30.1 is specified in cutter compensation C mode,
automatic reference position return is performed by automatically
canceling a cutter compensation vector, that cutter compensation vector
automatically being restored with the execution of the next move
command. In this case, the timing and format of cutter compensation
vector cancellation/restoration, performed when CCN (bit 2 of parameter
No. 5003) is set to 1, are changed to FS15 type.
When CCN (bit 2 of parameter No. 5003) is set to 0, the conventional
specification remains applicable.
When G29 is specified in cutter compensation C mode, the cutter
compensation vector is automatically canceled/restored. In this case, the
timing and format of cutter compensation vector cancellation/restoration,
performed when CCN (bit 2 of parameter No. 5003) is set to 1, are
changed to FS15 type.
When CCN (bit 2 of parameter No. 5003) is set to 0, the conventional
specification remains applicable.
Explanations
D G53 command in cutter
When G53 is specified in cutter compensation C mode, the previous block
compensation C mode
generates a vector that is perpendicular to the move direction and which
has the same magnitude as the offset value. Then, the offset vector is
canceled when movement to a specified position is performed in the
machine coordinate system. In the next block, offset mode is
automatically resumed.
Note that cutter compensation vector restoration is started when CCN (bit
2 of parameter No. 5003) is set to 0; when CCN is set to 1, an intersection
vector is generated (FS15 type).
335
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
(1) G53 specified in offset mode
When CCN (bit 2 of parameter No.5003)=0
Oxxxx;
[Type A]
Start-up
G90G41_ _;
r
r
s
G00
G53X_Y_;
(G41G00)
s
G53
G00
s
[Type B]
Start-up
r
r
s
s
G00
G53
G00
s
When CCN (bit 2 of parameter No.5003)=1
[FS15 Type]
r
(G41G00) s
s
G00
G53
G00
s
(2) Incremental G53 specified in offset mode
When CCN (bit 2 of parameter No.5003)=0
O××××;
[Type A]
Start-up
G91G41_ _;
r
r
G53X_Y_;
s
G00
s
(G91G41G00)
G53
G90G00
[Type B]
Start-up
r
r
r
s
G00
(G91G41G00)
s
G53
G90G00
336
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
When CCN (bit2 of parameter No.5003)=1
[FS15 Type]
r
s
G00
(G91G41G00) s
G53
G90G00
(3) G53 specified in offset mode with no movement specified
When CCN (bit2 of parameter No.5003)=0
[Type A]
Oxxxx;
G90G41_ _;
r
Start-up
s
G00
G00X20.Y20. ;
G00
r
G53X20.Y20. ;
s
(G41G00)
G53
[Type B]
r
Start-up
s
G00
G00
r
s
(G41G00)
G53
When CCN (bit2 of parameter No.5003)=1
[FS15 Type]
s
G00
G00
r
s
(G41G00)
G53
337
14. COMPENSATION FUNCTION
PROGRAMMING
B-63534EN/02
WARNING
1
When cutter compensation C mode is set and all-axis machine lock is applied, the G53
command does not perform positioning along the axes to which machine lock is applied. The
vector, however, is preserved. When CCN (bit 2 of parameter No. 5003) is set to 0, the vector
is canceled.
(Note that even if the FS15 type is used, the vector is canceled when each-axis
machine lock is applied.)
Example 1:
When CCN (bit 2 of parameter No. 5003) = 0,
type A is used, and all-axis machine lock is applied
r
r
s
G00
(G41G00)
s
G00
G53
Example 2:
When CCN (bit 2 of parameter No. 5003) = 1
and all-axis machine lock is applied [FS15 type]
r
r
s
G00
(G41G00)
s
G00
G53
Example 3:
When CCN (bit 2 of parameter No. 5003) = 1
and specified-axis machine lock is applied [FS15 type]
r
r
s
G00
(G41G00)
s
G00
G53
2
When G53 is specified for a compensation axis in cutter compensation mode, the vectors along
the other axes are also canceled. (This also applies when CCN (bit 2 of parameter No.5003)
is set to 1. When the FS15 type is used, only the vector along a specified axis is canceled.
Note that the FS15 type cancellation differs from the actual FS15 specification in this point.)
Example: When CCN (bit 2 of parameter No.5003)=1[FS 15 type]
G00
s
(G41X_Z_)
G00
r
s
G53Z_
s
338
PROGRAMMING
14. COMPENSATION FUNCTION
B-63534EN/02
NOTE
1
When a G53 command specifies an axis that is not in the cutter compensation C plane, a
perpendicular vector is generated at the end point of the previous block, and the tool does not
move. In the next block, offset mode is automatically resumed (in the same way as when two
or more continuous blocks do not specify any move commands).
Example:
When CCN (bit 2 of parameter No. 5003) = 0, and type A is used
G53Z_
r
Start-up
(G41G00X_Y_)
s
r
G00
G00
s
G00
s
2
When a G53 block is specified to become a start-up block, the next block actually becomes
the start-up block. When CCN (bit 2 of parameter No. 5003) is set to 1, an intersection vector
is generated.
Example:
When CCN (bit 2 of parameter No. 5003) = 0 and type A is used
s
G00
Start-up
G41G53
G00
r
s
s
G00
339
|
|