Brother TC s2d Programming Manualpdf
Brother TC s2d Programming Manualpdf
TC-32B - NC
TC-22B
TC-22B - NC
TC-S2C - NC
TC-31B
TC-31B - NC
TC-32B
TC-32BN-
N- NC
TC-S2Cz- NC
TC-S2D - NC
TC-R2B - NC
PROGRAMMING
MANUAL
Please
Please read this manual carefully b efore startin g operation .
Title TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B
- INSTALLATION MANUAL
This manual describes the installation of the machine.
- PROGRAMMING MANUAL
This manual describes the programming of the machine.
INTRODUCTION
Congratulations on your purchase of the Brother CNC tapping center. Correct usage
of the machine is of most importance to assure the expected machine capabilities and
functions as well as operator's safety. Read this Manual thoroughly before starting
operation.
* All rights reserved: No part of this manual may be reproduced, stored in a retrieval system,
or transmitted in any form without prior permission of the manufacturer.
* The contents of this Manual are subject to change without notice.
* This manual are complied with utmost care. If you encounter any question or doubt,
please contact your local dealer.
dealer.
Title TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B
HOW TO USE
USE THE MANUAL
NOTE
NOTE:: This screen is only a representation
representation of t he information
displayed on the actual screen and therefore differs somewhat
from the actual screen
screen layout and screen fonts.
(5) Illustration Is a sketch, figure,
figure, view, etc. indicating dimensions,
dimensions, position or zone, given
in the points where it is necessary to provide complementary information to the text
description.
1.3 Pr ec
ec au
au ti
ti on
on s o f f ir
ir st
st 1.3.1Before starting operation
WARNING
(1)Turn off the main power breaker handle on
the control box door. Never touch the primary side
Dropping a heavy object onto
power source or the terminal of the main power
your foot may fracture your foot breaker, as these have high voltage
voltage applied.
bones. (2)Put up a signboard which says' Under Maintenance
(3)Never allow people to approach the machine,
When lifting heavy objects,
particularly moving areas.
wear safety shoes. (4)Do not place any unnecessary object around the
machine.
(5)Wear a helmet and safety shoes.
1-2 1-3
CHAPTER 3 3
PREPARATION FUNCTION
3
TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B Chapter 3 Preparation Function
Modal The G code is effective until another G code in the same group is commanded.
3
The G codes with * mark indicates the modal status when the power is turned ON.
(Note1) Details of coordinate calculation functions are described in " Chapter 6 ".
(Note2) Details of tool dia offset are described in " Chapter 4 ".
Group G cord Contents Modal
G00* Positioning
(Note2)
The example below shows linear interpolation of linear axis and rotation axis.
L
Time taken for B-axis movement:1 Tb =
f
δ
Feed rate along B axis: Fb =
Tb
α
Feed rate along X axis Fx = · f 3
L
β
Feed rate along Y axis: Fy = · f
L
γ
Feed rate along Z axis: Fz = · f
L
2 2 2 2
(L= α + β + γ + δ )
Chamfering
C: Distance from virtual corner to the chamfer start point and send point.
This can be commanded only for the selected plane surface.
eNCPR3.03.ai
Chapter 3 Preparation Function TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B
(1) The corner chamfering command block and subsequent block must contain the
interpolation command (G01-G03).
When the subsequent block does not contain an interpolation or movement command, an
alarm will occur.
(2) The inserted block belongs to the corner chamfering command block. Thus, if the feed rate
differs from the corner chamfering command block and the subsequent block , the inserted
block moves at the feed rate of the corner
chamfering command block. Further, the program does not stop before the inserted block
occurs even during single block operation. (It stops after th e inserted block occurs.)
(3) Tool diameter offset applies to the configuration after corner chamfering is performed.
(4) When the chamfering amount is longer than the chamfering command block and feeding
quantity of the subsequent block, set extended point from each blocks as "chamfer start
point" and "chamfer end point".
3 Example.1: Liner cutting
(4)
C
(7)
(3)
(2)
C
(6)
(1)
(5)
eNCPR3.04.ai
When set the programmed path to (1.2.3.4.) and the block C as (2), operate to 1-5-6-7-4.
(4)
(3)
C
(2)
(6)
C
(1)
(5)
eNCPR3.05.ai
When set the programmed path to (1.2.3.4.) and the block C as (2), operate to 1-5-6-7-4.
TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B Chapter 3 Preparation Function
Cornering
R : Radius of cornering
This can be commanded only for the selected plane surface.
3
Corner-R end point
Virtual corner
Corner-R start point intersection
X
(1) The cornering command block and the subsequent block must contain the interpolation
command (G01-G03).
When the subsequent block does not contain an interpolation or movement command, an
alarm will occur.
(2) The inserted block belongs to the cornering command block. Thus, if the feed rate differs
from the cornering command block and the subsequent block , the inserted block moves at
the feed rate of the cornering command block. Further, the program does not stop before
the inserted block occurs even during single block operation. (It stops after the inserted
block occurs.)
(3) Tool diameter offset applies to the configuration after cornering is performed.
(4) When the radius is longer than the corner R command block and the subsequent command
block, set extended point from each blocks as "chamfer start point" and "chamfer end
point".
(7)
R
(4)
(3)
(6)
(2)
(5)
(1)
eNCPR3.07.ai
When set the programmed path to (1.2.3.4.) and the block R as (2), operate to 1-5-6-7-4.
Chapter 3 Preparation Function TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B
G202 X_ Y_ I_ J F_;
Command format
G203 R_
Clockwise and counterclockwise are the rotation direction viewed from the positive
direction to the negative direction on the X axis of the Y-Z plane.
(Note 1)
In contrast to the XY arc case, an error occurs when the diameter offset command
(G41, G42) or coordinate rotation command (G68, G168) is used, and the machine
stops operation.
TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B Chapter 3 Preparation Function
The end point of the circular arc takes either the absolute value or the incremental
value according to G90 or G91. The incremental value commands the distance from the circular
arc start point to the end point.
The circular arc center is commanded by both I,J and K according to X,Y and Z axes. I,J and K
form a vector component when viewed from the circular arc start point to the center.
It is commanded by the incremental value regardless of G90 or G91.
Absolute command;
G90G03XxYyIiJjFf;
3
Incremental comma
G91G03XxYyIiJjFf;
eNCPR3.08.ai
Instead of commanding I, J and K to specify the center of arc, the radius of arc can be used.
There are two types of circular arcs (one is less th an 180° and the other is more than 180°).
When commanding a circular arc of more than 180°, put the algebraic mark "-" before the value
for the radius.
(1)G02XxYyFf
(2)G02XxYyFf
eNCPR3.09.ai
Chapter 3 Preparation Function TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B
eNCPR3.10.ai
Absolute command;
G03X-60. Y-10. I-50. J-20. F1000 ;
Incremental command;
G03X-30. Y30. I-50. J-20. F1000 ;
eNCPR3.11.ai
(1) G02X-70. Y-50. R25. F1000 ;
(2) G02X-70. Y-50. R-25. F1000 ;
Transition of radius
3
eNCPR3.15.ai
eNCPR3.14.ai
(Note 6) If the ending radius is extremely larger than that of the starting radius,
an alarm will occur.
(Note 7) The G36~G39 codes cannot be commanded in the circular arc mode.
(Note 8) If the tool radius compensation is applied to small circular
interpolation, the positional relation between start point and end point
of an arc may be reversed depending on the offset value or adjacent
commands, causing an arc to be a full circle. Check the tool path
beforehand in the dry run mode or using the drawing function.
Chapter 3 Preparation Function TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B
Y Sub program
O9000;
90 (7) (3) G00G90X60.Y60.;
G01X100.F100;
G01Y100.;
(6) (2) G03X60.Y60.I-30.J-30.;
(5) (4) (1) M99;
60
(8) Main program
50 N10 G00G90;
(9) (13)
40 N20 M98P9000;
(10)
(12)
(14)
N30 G51X50.Y50.I-1000J1000;
N40 M98P9000;
3
(11) (15) N50 G51X50.Y50.I-1000J1000;
N60 M98P9000;
10 N70 G51X50.Y50.I1000J-1000;
N80 M98P9000;
X N90 G50;
10 40 50 60 90
Do not use the first feed rate command for circular interpolation or helical screw cut interpolation
(G02, G03), after commanded by mirror image of scaling,
When use it, positioning error occurred between start point, end point and center point that cause
of distortion in the circular arc.
Mirror image is applied to scaling center coordinates and programmed path while the mirror image
(G51.1) is valid.
Chapter 3 Preparation Function TC-32BQT/32BFT/22B/S2C/31B/32BN/S2Cz/S2D/R2B
Mirror image
3
Mirror image setting can be applied simultaneously for the 1st to 3rd axes.
Set the mirror image axis. Omit this for axes about which a mirror image is not created.
Using G51.1 command is valid while setting a mirror image. It is regarded as an addition of
mirror axes or a change of the mirror axis coordinates.
Set the axis for canceling mirror image to cancel mirror image. Set the coordinates using
numerical values.
An alarm will occur when a mirror image is canceled for an axis where mirror image is not set.
Symmetric axis
Y (X=50)
(2) (1)
100
Symmetric axis
(Y=50)
60
50
40
(3) (4)
0 40 50 60 100
1) Single direction positioning is not performed for the Z-axis during a canned cycle, or the
XY-axes when they are moving for the preset amount of shift in the G76 and G87 cycles.
2) Single direction positioning is not performed for any axis that does not have the travel
amount set for the parameter.
3) Single direction positioning is performed even when 0 is specified for the travel amount.
4) An error will occur when G60 is used during tool dia offset.
8
9 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 2 2 1 1 1 1 1 1 3
G
4
9 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 2 2 1 1 1 1 1 3
G
0
9 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 2 2 1 1 1 1 3
G
0
8 0 0 1 1 1 1 1 1 1 1 2 2 2 2 1 1 1 2 2 1 1 3 3
G 1 1
3
7 0 0 1 2 2 2 2 2 1 1 2 2 2 2 1 2 1 2 2 2 1 3 3
G 1 1
9
6 1 1 1 1 1 1 1 2 2 1 2 2 2 2 1 1 1 2 2 3 3
3
G
8 8
6 6 9 2 2
1 4 1 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 2 2 3 3
G G
7
6 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3
G
6
6 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3
G
1
6 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 3
G
P
4 1 1 1 1 1 1 1 1 1 1 2 2 2 2 3 3
5
G
4
5 1 1 1 1 1 1 1 1 1 1 2 2 2 2 3 3
G
1
.
1
5 4 9
1 2 2 2 2 2 2 2 2 2 2 3 3
G
1
.
0 4 4 2 2 2 2 2 2 2 2 2 2 3 3
5
G
1
5 2 2 2 2 2 2 2 2 2 2 3 3
G
0
5 2 2 2 2 2 2 2 2 2 2 3 3
G
9
4 1 8 1 1 2 2 1 1 3 3
G
3 4
4 4 1 8 1 1 2 2 1 1 3 3
G G
1 2
4 4 1 1 6 6
2 2 2 2 3 3
G G
0
4 1 1 1 1 2 2 3 3
G
3
2 1 1 1 1 3 3
G
2
2 7 7 2 2 3 3
G
8 9
1 1 1 9 3 3
G G 1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1 1 1 1 23 1 1 1 1 1 1 1 1 1 1 1 1 1
G173 1 1 1 2 1 1 1 2 1 1 1 1 1 23 1 1 1 1 1 1 1 1 1 1 1 1 1
TC-32BQT/32BFT/22B/S2C/
31B/32BN/S2Cz/S2D/R2B Chapter 4 Preparation function (Tool offset function)
CHAPTER 4
PREPARATION FUNCTION 4
TOOL OFFSET FUNCTION
4.1 Tool dia offset (G40, G41, G42)
4.2 Tool length offset (G43, G44, G49)
TC-32BQT/32BFT/22B/S2C/
Chapter 4 Preparation function (Tool offset function) 31B/32BN/S2Cz/S2D/R2B
G41
Command format Dn;
G42
eNCPR4.01.ai
Dn : Tool offset number (n=0~99)
The offset value of D0 is always zero.
The offset value is set on the tool data setting screen.
(Note) When a command without X and Y axis travel of more than three blocks
or a command with a travel value of zero (0) is given in tool dia offset mode,
excessive cutting or insufficient cutting may occur, respectively.
Linear -Linear
It will be processed in the same procedure as above in case of Arc - Linear, Linear - Arc and
Arc - Arc.
Arc – Linear
TC-32BQT/32BFT/22B/S2C/
31B/32BN/S2Cz/S2D/R2B Chapter 4 Preparation function (Tool offset function)
Linear - Arc
4
Arc - Arc
Alarmed stop
As above figure shows, the cross point of the arcs is present if the offset value is small, but it may
be disappear if the offset value becomes large.
In this case, alarm occurs in the preceding block, and the machine stops.
TC-32BQT/32BFT/22B/S2C/
Chapter 4 Preparation function (Tool offset function) 31B/32BN/S2Cz/S2D/R2B
a) G40 is commanded.
Arc - Linear
TC-32BQT/32BFT/22B/S2C/
31B/32BN/S2Cz/S2D/R2B Chapter 4 Preparation function (Tool offset function)
N1 X_Y_D1; (D1=0)
N2 X_;
N3 Y_D2; (D2≠0)
N4 X_Y_;
N1 X_Y_;
N2 X_D1; (D1=0)
N3 X_Y_;
N4 X_Y_D2 (D2≠0)
N5 X_;
TC-32BQT/32BFT/22B/S2C/
Chapter 4 Preparation function (Tool offset function) 31B/32BN/S2Cz/S2D/R2B
When the above command is given, the tool moves to the point which is offset as much as the tool
dia as specified by the last X/Y movement command.
04L68.ai
When moving the tool by manual operation after it stopped at the block end point P2, the tool
movs from P2' to P3, then follows the corrected offset path after P3.
TC-32BQT/32BFT/22B/S2C/
31B/32BN/S2Cz/S2D/R2B Chapter 4 Preparation function (Tool offset function)
5.2
5.2 Basic Motions
Motion s in Canned Cycle
ycl e
In general, the canned cycle is composed of the following six motions.
Motion 1
Initial point
Motion 2 Motion 6
5
R point
Motion 3 Motion 5
Z point
Motion 4
eNCPR5.01.ai
The system stops upon completion of the motion 1, 2 or 6 in the single block operation.
(Note) Temporary stop range in tapping cycle (G74, G77, G78, G84, G177, G178).
5.3
5.3 General
eneral descripti
descri ption
on of canned cycl e
5.3.
5.3.1
1 Command related
related to canned cycl e mot ions
G90 Absolute command
(1) Data format
G91 Incremental command
G73 , G74
G76 ~ G78
(3) Drilling mode G80 ~ G87
G89 Refer to table 5-1(P5-2)
G177 , G178
G181 ~ G182
G185 , G186
G189
5
5.3.
5.3.2
2 Setti
Setti ng of data in absolut e/incr
e/incr emental
emental comm and
Z=0
R
R
R point Z R point
Z point Z point
eNCPR5.02.ai
TC-32BQT/32BFT/22B/S2C/
31B/32
31B/32BN/S2
BN/S2Cz/
Cz/S2D
S2D/R2
/R2B
B Chapter 5 Preparation
Preparation func tion (canned cyc le)
5.3.3
5.3.3 Types of return
retu rn point
po int (G98
(G98,, G99)
G99)
There are two types of return points - initial point level return (G98) and R point level return (G99)
- when the canned cycle motions are finished.
I ni
ni ti
ti al
al p oi nt
nt l ev
ev el r et
et u r n ( G 98) R p oi n t l ev el r et
et ur n ( G 99)
Initial point
R point R point
5
Z point Z point
eNCPR5.03.ai
(Note 1)
G98 and G99 are modal com mands. G98 is eff ective w hen the pow er is t urned ON.
(Note 2)
If there is no Z-axis
Z-axis movement even if th e tool length offset mode i s selected, the
initial point i s memorized
memorized without offset.
(Note 3)
The Z-axis machine coordinate value becomes the initial point when the canned
cycle cancel mode changes to the canned cycle mode.
5.3.
5.3.4
4 Canned
Canned cycl e moti on con dit ions
The canned cycle motions are available when the following commands are given.
(1) The drilling mode (G73, G74, G76~G78, G81~G87, G89, G177, G178, G181~G182,
G185, G186, G189) command blocks contain any of X, Y, Z, R, A, B or C.
(2) The blocks after the drilling mode command block through the canned cycle cancel block
contain any of X, Y, Z, R, A, B or C.
(Note)
If there is n o X, Y,
Y, Z, R, A, B or C in th e block duri ng th e canned cycle, and the
drilling data other than those are commanded, the drilling data only are memorized.
TC-32BQT/32BFT/22B/S2C/
Chapter 5 Preparatio
Preparatio n func tio n (canned cyc le) 31B/32BN/
31B/32BN/S2C
S2Cz/S
z/S2D/
2D/R2B
R2B
5.3.
5.3.5
5 Machin
Machin ing data of canned cycl e
Command format
G code :G73, G74, G76~G78, G81~G87, G89, G177, G178, G181~G182, G185, G186and
G189.
The G codes of the canned cycle are all modal.
X, Y, A, B :Drilling position.
The tool motion to the drilling position is done at a rapid feed.
An alarm appears if additional axis is commanded while optional additional axis is
not in use.
Z :Bottom position
When the incremental mode is selected, the distance from the R point to the bottom
5 of hole is specified.
R :R point position.
When the incremental mode is selected, the distance from
the point before the canned cycle becomes effective to the
R point is specified.
F :Cutting feedrate.
S :Spindle speed.
The programming of "X_Y_" commands the initial drilling position in incremental mode (G91).
If the absolute command (G90) is given, drilling is repeated at the same position.
(Example)
Current position
eNCPR5.04.ai
Return point
R point
5 Q
Z point
Dwelling for P sec
Rapid feed
Cutting feed
eNCPR5.05.ai
• The relief amount d is set by the parameter 1.
• If the minus value is commanded for the cutting amount Q, the algebraic mark (-) is ignored.
TC-32BQT/32BFT/22B/S2C/
31B/32BN/S2Cz/S2D/R2B Chapter 5 Preparation func tion (canned cyc le)
Return point
R point
Rapid feed
Cutting feed 5
Spindle CW
eNCPR5.06.ai
Spindle rotation stops at Z point.
After dwelling for P sec, spindle rotates CW.
• When a temporary stop is applied on the way from the R point to the Z point or the R point,
the tool stops after returning to the R point.
• If the address S exceeds the “max. tapping speed” in Machine parameter, an alarm is
generated.
TC-32BQT/32BFT/22B/S2C/
Chapter 5 Preparatio n func tio n (canned cyc le) 31B/32BN/S2Cz/S2D/R2B
(2) When the M code is commanded in the same block as the canned cycle, the M code is executed
at the same time as the initial X/Y positioning or after that.
When the repetition is specified by K code, the M code is executed only at the first time and not
executed any longer.
(3) When M00 or M01 is commanded in the same block as the canned cycle, the spindle and
coolant stop after the X/Y positioning and automatic resetting is not available.
If resetting is necessary, command it in the manual operation mode or the MDI operation mode.
(4) When G00 to G03 are commanded in the same block as that of the canned cycle, the motion
will be as below.
G00 G81 X_ Y_ Z_ R_ P_ F_ ;
In this case, the modal for G00 is updated and the canned cycle by G81 is executed.
5 G81 G00 X_ Y_ Z_ R_ P_ F_ ;
In this case, X, Y, and Z axes move in accordance with G00 and the canned cycle is not executed.
(5) M200, M201, and M120 cannot be commanded in the same block as that of the canned cycle.
TC-32BQT/32BFT/22B/S2C/
31B/32BN/S2Cz/S2D/R2B Chapter 5 Preparation func tion (canned cyc le)
(3) (4)
ATC original
position X original X ATC
position position
(4)
R point
(6) (5) 5
Z axis direction
eNCPR5.34.ai
T__ : Tool number. (1 to 99)
T1 _ _ : Pot number. (101 to 149)
T9 _ _ : Group number. (901 to 930)
A, B : Target value when moving A and B axes at in rapid feed simultaneously with tool
change motion.
X,Y : Target value of movement (6) in rapid feed.
Z : Target value of movement (7) in rapid feed.
R : Return position before tool change motion.
(Operated with tool length compensation applied)
When "R" is not commanded, operation is performed using [ATC
SYNCHRONOUS START POS] of USER PARAMETER 1 as "R" command value.
L : Specify the tool number, pot number, and group number after “L”.
The pot with the corresponding tool attached is indexed by
operation (4) after ATC. (Next tool preparation)
Operations
(1) Tool moves to the Z-axis point "R" while performing 0-degree spindle orientation.
When "T" is commanded, magazine swivels.
(2) Tool movements to the Z-axis ATC origin, to the X axis origin point and to Y axis ATC
position, A, B axes movement to the commanded value and also magazine cover opening
occur simultaneously.
(3) Tool moves to the X-axis ATC position.
(4) Arm swivels to change tool.
Tool change motion differs depending on setting on [MAGAZINE TOOL] screen.
Refer to the "Tool Change Motion" for details.
(5) Tool movements to the X axis origin point and Z axis point "R" and magazine cover closing
occur simultaneously.
(6) XY axes moves to the commanded value.
TC-32BQT/32BFT/22B/S2C/
Chapter 5 Preparatio n func tio n (canned cyc le) 31B/32BN/S2Cz/S2D/R2B
Caution
• When performing c ycle operation, tool moves in cuttin g mode between
operations (1) and (6). And tool moves in position check mode.
For XY positioning at operation (2) and (3) (from X: origin Y: ATC position to
X axis pos itioning (ATC position)), tool moves in cuttin g mode when Y axis
positio ns at the ATC position b efore X axis does.
• Machine does not stop if single block occurs between operations (1) and (6).
• For operation (5), machine goes to the next operation after closing the
magazine cover without checking i f th e magazine cover is cl osed.
• Mode cannot b e swit ched betw een operatio n (1) and (7).
5 • Al l data oth er than G100 can be omit ted. How ever, c ode " T" must be
commanded once by operator before G100 is commanded.
• When tool off set (G41 or G42) and X and Y axes mo vement are commanded t o
bloc k G100, tool of fset begi ns w hen X and Y axes movement (6) commences.
Start-up is performed in format 1, regardless of parameters.
• When tool offset is commanded to block G100, tool off set becomes valid f rom
operation (5).
• When G100 is c ommanded wh ile too l lengt h com pensation (G49) is canceled,
operation (1) is perform ed sub ject to [ATC REFERENCE TOOL L ENGTH]
selection for user parameter.
When tool offset is not commanded to block G100, operations (5) are
perform ed subj ect to [ATC REFERENCE TOOL LENGTH] selection for user
parameter.
• Al arm appears w hen c ode M other than spindle command i s c ommanded t o
bloc k G100.
Al arm appears w hen ax is A or B is commanded while opt ional A and B axes
are not in use.
• When point " R" comm and position (5) is low er than Z axis command position
(7), tool moves to Z-axis commanded position, and operation (7) is not
performed.
· Tool change from standard tool to standard tool, and large tool to large tool.
The following sequence is performed:
(1) Pot raises.
(2) Magazine swivels.
(3) Pot lowers.
(4) Arm swivels.
TC-32BQT/32BFT/22B/S2C/
Chapter 5 Preparatio
Preparatio n func tio n (canned cyc le) 31B/32BN/
31B/32BN/S2C
S2Cz/S
z/S2D/
2D/R2B
R2B
When spindle tool is standard and next tool is large, empty pot is indexed for standard tool.
When spindle tool is large and next tool is standard, empty pot is indexed for large tool.
(Note
(Note 1) If empty pot for large tool is not available
available when next tool prepara
preparation
tion
fro m a large tool t o a standard to ol is perform ed, the [NO EMPTY
EMPTY POT]
POT]
alarm appears.
(Note
(Note 2) If empty pot for standard tool is not available
available when next tool
preparation
preparation from a standard
standard to ol to a large tool is performed, the [NO
[NO
EMPTY
EMPTY POT]
POT] al arm app ears.
5
TC-32BQT/32BFT/22B/S2C/
31B/32
31B/32BN/S2
BN/S2Cz/
Cz/S2D
S2D/R2
/R2B
B Chapter 6 Preparation
Preparation func tion (coordi nate calcul ation)
CHAPTER 6
PREPARATION FUNCTION
(COORDINATE CALCULATION)
6.1
6.1 List of coordin ate calculation
calculation function
6.2
6.2 Coordin ate calculatio n parameter
parameter 6
6.3
6.3 Details
Details of coo rdin ate calculatio n fun cti on
6.4
6.4 Usage
Usage of coor dinate calculatio n fun ctio n
TC-32BQT/32BFT/22B/S2C /
Chapter 6 Preparatio
Preparatio n func tion (coordi nate calcul ation) 31B/32BN/S
31B/32BN/S2Cz
2Cz/S2
/S2D/R
D/R2B
2B
6 Coordin
oor dina
ate calcu
calcula
latio
tionn functi
fun ction
on
This function is for calculating the poin t group coordinates in one block.
Point groups are such as on a linear line, on a grid and on a circular arc.
By combining such functions as the canned cycle etc., drilling at each point group is available by
one command.
6.1
6.1 List
Lis t of Coordi nate Calculatio n Function
Functi on
Table
Table 6-1
6-1 List of c oordinate calculation functi on
G code Name Functio n
Coordinate calculation of point group on
G36 Bolt hole circle
circular arc.
Coordinate calculation of point group on linear
G37 Linear (angle)
line by angle designation.
Coordinate calculation of point group of linear
G38 Linear (X,Y)
line by coordinate designation.
G39 Grid Coordinate calculation of point group on grid.
6.2
6.2 Coord inate
in ate Calc
Calcul
ulatio
ationn Parameter
Parameter
Command format G36
·
6 ·
.
X_Y_I_J_K_P_Q_ ;
G39
Linear(X,Y) G38
● ●
Grid G39 ● ● ● ● ●
● : Be sure to specify. Otherwise, alarm occurs.
: If the command
command is omitted, it is regarded
regarded as
as 1.
Brank : It is no need to enter any data. Any data will be ignored.
TC-32BQT/32BFT/22B/S2C/
31B/32
31B/32BN/S2
BN/S2Cz/
Cz/S2D
S2D/R2
/R2B
B Chapter 6 Preparation
Preparation func tion (coordi nate calcul ation)
6.3
6.3 Details
Details of Coordin
oor din ate Calcu
Calculation
lation Functi on
6.3.
6.3.1
1 Bolt hol e cir cle
While setting the commanded coordinate value as a circular center, the coordinate value equally
dividing a circular arc from a certain point is calculated.
eNCPR6.05.ai
(Note) Coordinate values are calculated from the start point in the CCW direction.
6.3.2
6.3.2 Linear
Li near (angle)
(angl e)
With the reference point at the commanded coordinate, the coordinate values along the linear line
at the angle (θ°) formed by the X axis are calculated.
eNCPR6.01.ai
(Note 1) When K is omit ted, it is regarded as 1.
(Note 2) The reference poin t becomes the firs t machin ing poin t.
eNCPR6.02.ai
(Note 1) When K is omit ted, it is regarded as 1.
(Note 2) The reference poin t becomes the firs t machin ing poin t.
TC-32BQT/32BFT/22B/S2C/
31B/32BN/S2Cz/S2D/R2B Chapter 6 Preparation func tion (coordi nate calcul ation)
6.3.4 Grid
With the reference point at the commanded coordinate, the coordinate values of the grid
composed of points arranged at an even interval and parallel to both the X-axis and the vertical
axis are calculated.
By specifying an angle to the X axis, the total form can be inclined.
eNCPR6.03.ai
(Note 1) The reference poin t becomes the firs t machin ing poin t.
(Note 2) The coor dinate is calulated in the X direct ion from the reference poin t .
eNCPR6.04.ai
Chapter 7 Macro TC-32BQT/32BFT/22B/S2C/31B/
TC-32BQT/32BFT/ 22B/S2C/31B/32BN/S2Cz/
32BN/S2Cz/S2D/R2B
S2D/R2B
N01G90G0G54. . . . .;
N02;[WORKING PROGRAM]
Main program
N01G90G54G0Z30. ;
N02G65P0042X-100. Y-100. R50. Z-3.
W2. UO. V30. F1000;
N01 G90G0X[#24+COS[#21]*#18]
Y[#25+SIN[#21]*#18
Y[#25+SIN[#21]*#18];
];
N02 Z#23;
N03 G1Z#26F#9;
N03 G3X[#24+COS[#22]*#18]
Y[#25+SIN[#22]*#18
Y[#25+SIN[#22]*#18 R#18;
N04 G0Z#23;
N05 M99;
TC-32BQT/32BFT/22B/S2C/31B
TC-32BQT/32BFT /22B/S2C/31B/32BN/S2Cz
/32BN/S2Cz/S2D/R2B
/S2D/R2B Chapter 7 Macro
eNCPR7.01.ai
N01G90G54 …;
N02POPEN
7
N03DPRNT[#3011[80]#3012[60]]; (Current date and time are output)
・
・ Automatic workpiece
workpiece measuring
measuring program
program
・
[Example 4] #3=#2+10;
G01X#3Y10;
This formula specifies the X coordinate as the value stored in
variable 2 with 10 added to it.
(If #2 is 40, X#3 is 50.)
When a variable is used as address data as shown in example 4, however, the values
below the significant digits used
used as address data are
are rounded off.
Note that an alarm will occur if the value rounded off
off to the nearest significant
significant digit
exceeds the maximum address command value.
[Example] Assume that the G00X#1; command is used used for
for a machine with a
significant digit setting of 1/1000.
When #1 is 12.345678, the command format will be G00X12.346.
Variable cannot be quoted in address N.
[Example 6] G00X[#1+#2];
When designating the address data by a formula, put the square brackets before and
after the formula.