This manual is a guide for using the MITSUBISHI CNC M800/M80 Series.
Programming is described in this manual, so read this manual thoroughly before starting programming.
Thoroughly study the "Precautions for Safety" on the following page to ensure safe use of this NC unit.
Details described in this manual
The description concerning "Signals" in the main text refers to information transmission between a machine and PLC or between NC and PLC.
The method for controlling the signals (ON/OFF) differs depending on the machine. Refer to the manual issued by the machine
tool builder (MTB).
Some parameters can be used by end-users and some parameters are set by the MTB according to the specifications. Endusers may not be able to set or change some of the parameters described as "... can be set with the parameter #XXXX" in the
main text. Confirm the specifications for your machine with the manual issued by the MTB.
CAUTION
For items described as "Restrictions" or "Usable State" in this manual, the instruction manual issued by the machine tool
builder takes precedence over this manual.
Items not described in this manual must be interpreted as "not possible".
This manual is written on the assumption that all option functions are added.
Refer to the specifications issued by the machine tool builder before starting use.
Refer to the Instruction Manual issued by each machine tool builder for details on each machine tool.
Some screens and functions may differ depending on the NC system (or its version), and some functions may not be possible. Please confirm the specifications before use.
General precautions
(1) Refer to the following documents for details on handling
MITSUBISHI CNC M800/M80 Series Instruction Manual ............ IB-1501274
(2) Refer to the following documents for details on programming
MITSUBISHI CNC M800/M80 Series Programming Manual
Lathe System (1/2) .................................... IB-1501275
Lathe System (2/2) .................................... IB-1501276
Machining Center System (1/2) ................. IB-1501277
Machining Center System (2/2) ................. IB-1501278
Page 3
Page 4
Precautions for Safety
Always read the specifications issued by the machine tool builder, this manual, related manuals and attached documents before installation, operation, programming, maintenance or inspection to ensure correct use.
Understand this numerical controller, safety items and cautions before using the unit.
This manual ranks the safety precautions into "DANGER", "WARNING" and "CAUTION".
DANGER
When the user may be subject to imminent fatalities or major injuries if handling is mistaken.
WARNING
When the user may be subject to fatalities or major injuries if handling is mistaken.
CAUTION
When the user may be subject to injuries or when physical damage may occur if handling is mistaken.
Note that even items ranked as " CAUTION", may lead to major results depending on the situation. In any case, important in-
formation that must always be observed is described.
The following sings indicate prohibition and compulsory.
This sign indicates prohibited behavior (must not do).
For example, indicates "Keep fire away".
This sign indicated a thing that is pompously (must do).
For example, indicates "it must be grounded".
The meaning of each pictorial sing is as follows.
CAUTION
Prohibited
Mitsubishi CNC is designed and manufactured solely for applications to machine tools to be used for industrial purposes.
Do not use this product in any applications other than those specified above, especially those which are substantially influential
on the public interest or which are expected to have significant influence on human lives or properties.
CAUTION
rotated object
Disassembly is
prohibited
CAUTION HOT
KEEP FIRE AWAY
For Safe Use
Danger
Electric shock risk
General instruction
Danger
explosive
Earth ground
DANGER
Not applicable in this manual.
Page 5
WARNING
1. Items related to operation
If the operation start position is set in a block which is in the middle of the program and the program is started, the program
before the set block is not executed. Please confirm that G and F modal and coordinate values are appropriate. If there are
coordinate system shift commands or M, S, T and B commands before the block set as the start position, carry out the
required commands using the MDI, etc. If the program is run from the set block without carrying out these operations, there
is a danger of interference with the machine or of machine operation at an unexpected speed, which may result in breakage
of tools or machine tool or may cause damage to the operators.
Under the constant surface speed control (during G96 modal), if the axis targeted for the constant surface speed control
(normally X axis for a lathe) moves toward the spindle center, the spindle rotation speed will increase and may exceed the
allowable speed of the workpiece or chuck, etc. In this case, the workpiece, etc. may jump out during machining, which
may result in breakage of tools or machine tool or may cause damage to the operators.
CAUTION
1. Items related to product and manual
For items described as "Restrictions" or "Usable State" in this manual, the instruction manual issued by the machine tool
builder takes precedence over this manual.
Items not described in this manual must be interpreted as "not possible".
This manual is written on the assumption that all option functions are added. Refer to the specifications issued by the ma-
chine tool builder before starting use.
Refer to the Instruction Manual issued by each machine tool builder for details on each machine tool.
Some screens and functions may differ depending on the NC system (or its version), and some functions may not be pos-
sible. Please confirm the specifications before use.
2. Items related to operation
Before starting actual machining, always carry out graphic check, dry run operation and single block operation to check the
machining program, tool offset amount, workpiece compensation amount and etc.
If the workpiece coordinate system offset amount is changed during single block stop, the new setting will be valid from the
next block.
Turn the mirror image ON and OFF at the mirror image center.
If the tool offset amount is changed during automatic operation (including during single block stop), it will be validated from
the next block or blocks onwards.
Do not make the synchronized spindle rotation command OFF with one workpiece chucked by the reference spindle and
synchronized spindle during the spindle synchronization.
Failure to observe this may cause the synchronized spindle stop, and hazardous situation.
3. Items related to programming
The commands with "no value after G" will be handled as "G00".
";" "EOB" and "%" "EOR" are expressions used for explanation. The actual codes are: For ISO: "CR, LF", or "LF" and "%".
Programs created on the Edit screen are stored in the NC memory in a "CR, LF" format, but programs created with external
devices such as the FLD or RS-232C may be stored in an "LF" format.
The actual codes for EIA are: "EOB (End of Block)" and "EOR (End of Record)".
When creating the machining program, select the appropriate machining conditions, and make sure that the performance,
capacity and limits of the machine and NC are not exceeded. The examples do not consider the machining conditions.
Do not change fixed cycle programs without the prior approval of the machine tool builder.
When programming the multi-part system, take special care to the movements of the programs for other part systems.
Page 6
Disposal
(Note)This symbol mark is for EU countries only.
This symbol mark is according to the directive 2006/66/EC Article 20 Information for endusers and Annex II.
Your MITSUBISHI ELECTRIC product is designed and manufactured with high quality materials and
components which can be recycled and/or reused.
This symbol means that batteries and accumulators, at their end-of-life, should be disposed of
separately from your household waste.
If a chemical symbol is printed beneath the symbol shown above, this chemical symbol means that the
battery or accumulator contains a heavy metal at a certain concentration. This will be indicated as
follows:
Hg: mercury (0,0005%), Cd: cadmium (0,002%), Pb: lead (0,004%)
In the European Union there are separate collection systems for used batteries and accumulators.
Please, dispose of batteries and accumulators correctly at your local community waste collection/
recycling centre.
Please, help us to conserve the environment we live in!
Page 7
Page 8
Trademarks
MELDAS, MELSEC, EZSocket, EZMotion, iQ Platform, MELSOFT, GOT, CC-Link, CC-Link/LT and CC-Link
IE are either trademarks or registered trademarks of Mitsubishi Electric Corporation in Japan and/or other
countries.
Ethernet is a registered trademark of Xerox Corporation in the United States and/or other countries.
Microsoft® and Windows® are either trademarks or registered trademarks of Microsoft Corporation in the
United States and/or other countries.
SD logo and SDHC logo are either registered trademarks or trademarks of LLC.
UNIX is a registered trademark of The Open Group in the United States and/or other countries.
Intel® and Pentium® are either trademarks or registered trademarks of Intel Corporation in the United States
and/or other countries.
MODBUS® is either trademark or registered trademark of Schneider Electric USA, Inc. or the affiliated
companies in Japan and/or other countries.
Other company and product names that appear in this manual are trademarks or registered trademarks of the
respective companies.
Page 9
Page 10
本製品の取扱いについて
( 日本語 /Japanese)
本製品は工業用 ( クラス A) 電磁環境適合機器です。販売者あるいは使用者はこの点に注意し、住商業環境以外で
の使用をお願いいたします。
Handling of our product
(English)
This is a class A product. In a domestic environment this product may cause radio interference in which case the
user may be required to take adequate measures.
본 제품의 취급에 대해서
( 한국어 /Korean)
이 기기는 업무용 (A 급 ) 전자파적합기기로서 판매자 또는 사용자는 이 점을 주의하시기 바라며 가정외의 지역에
서 사용하는 것을 목적으로 합니다 .
Page 11
Page 12
Contents
Chapter 1 - 14 : Refer to Programming Manual (Machining Center System) (1/2)
Chapter 15 and later : Refer to Programming Manual (Machining Center System) (2/2)
1 Control Axes................................................................................................................................................. 1
1.1 Coordinate Words and Control Axes ........................................................................................................................ 2
1.2 Coordinate Systems and Coordinate Zero Point Symbols ....................................................................................... 3
3 Program Formats ......................................................................................................................................... 9
3.1 Program Format...................................................................................................................................................... 10
3.4 G Code ................................................................................................................................................................... 20
5 Position Commands .................................................................................................................................. 29
5.1 Position Command Methods ; G90,G91 ................................................................................................................. 30
5.3 Decimal Point Input................................................................................................................................................. 34
10.4 Spindle Position Control (Spindle/C Axis Control) .............................................................................................. 215
12.6 Tool Position Offset ; G45 to G48....................................................................................................................... 304
13.1.7 Back Boring ; G87......................................................................................................................................339
13.1.18 Acceleration/Deceleration Mode Change in Hole Drilling Cycle .............................................................. 359
13.2 Special Fixed Cycle............................................................................................................................................ 361
13.2.2 Line at Angle ; G35 .................................................................................................................................... 363
14.3 User Macro.........................................................................................................................................................382
14.4.2 Modal Call A (Movement Command Call) ; G66.......................................................................................387
14.4.3 Modal Call B (for Each Block) ; G66.1 ...................................................................................................... 389
14.4.4 G Code Macro Call.....................................................................................................................................391
14.4.5 Miscellaneous Command Macro Call (for M, S, T, B Code Macro Call).................................................... 392
14.4.6 Detailed Description for Macro Call Instruction..........................................................................................394
14.5 Variables Used in User Macros..........................................................................................................................400
14.5.1 Common Variables..................................................................................................................................... 402
14.5.2 Local Variables (#1 to #33)........................................................................................................................403
14.5.3 System Variable......................................................................................................................................... 406
14.6 User Macro Commands...................................................................................................................................... 407
14.6.2 Control Commands.................................................................................................................................... 412
15.5.2 Geometric IB (Automatic calculation of linear - arc intersection) ; G01 A_ , G02/G03 P_Q_H_................ 453
15.5.3 Geometric IB (Automatic calculation of linear - arc intersection) ; G01 A_ , G02/G03 R_H_ ................... 456
15.6 G Command Mirror Image ; G50.1,G51.1 .......................................................................................................... 458
15.7 Normal Line Control ; G40.1/G41.1/G42.1 (G150/G151/G152)..........................................................................462
15.8 Manual Arbitrary Reverse Run Prohibition ; G127.............................................................................................. 481
Page 15
15.9 Data Input by Program........................................................................................................................................ 487
15.9.1 Parameter Input by Program ; G10 L70/L100, G11 ................................................................................... 487
15.9.2 Compensation Data Input by Program ; G10 L2/L10/L11, G11 .................................................................490
15.9.3 Tool Shape Input by Program ; G10 L100, G11......................................................................................... 496
15.9.4 R-Navi Data Input by Program ; G10 L110, G11 ....................................................................................... 499
15.10 Inputting The Tool Life Management Data ; G10,G11...................................................................................... 503
15.10.1 Inputting The Tool Life Management Data by G10 L3 Command ; G10 L3,G11 ..................................... 503
15.10.2 Inputting The Tool Life Management Data by G10 L30 Command ; G10 L30,G11 ................................. 506
15.10.3 Precautions for Inputting The Tool Life Management Data...................................................................... 509
15.10.4 Tool Life Management Set Allocation to Part Systems............................................................................ 510
16 Multi-part System Control ..................................................................................................................... 513
16.1.2 Timing Synchronization Operation with Start Point Designated (Type 1) ; G115 ...................................... 517
16.1.3 Timing Synchronization Operation with Start Point Designated (Type 2) ; G116 ...................................... 520
16.1.4 Timing Synchronization Operation Function Using M codes ; M*** ...........................................................523
16.1.5 Time Synchronization when Timing Synchronization Ignore Is Set ...........................................................527
16.2 Sub Part System Control .................................................................................................................................... 530
16.2.1 Sub Part System Control I ; G122............................................................................................................. 530
17 High-speed High-accuracy Control ...................................................................................................... 545
17.1.1 High-speed Machining Mode I, II ; G05 P1, G05 P2 .................................................................................. 546
17.2 High-accuracy Control ........................................................................................................................................ 554
17.2.1 High-accuracy Control ; G61.1,G08 ........................................................................................................... 554
17.2.2 SSS Control ............................................................................................................................................... 572
18.1.1 How to Define Feature Coordinate System Using Euler Angles ................................................................ 642
18.1.2 How to Define Feature Coordinate System Using Roll-Pitch-Yaw Angles................................................. 644
18.1.3 How to Define Feature Coordinate System Using Three Points in a Plane ............................................... 646
18.1.4 How to Define Feature Coordinate System Using Two Vectors ................................................................648
18.1.5 How to Define Feature Coordinate System Using Projection Angles ........................................................ 650
18.1.6 Define by Selecting The Registered Machining Surface............................................................................ 652
18.1.7 How to Define Feature Coordinate System Using Tool Axis Direction ...................................................... 653
18.1.8 Tool Axis Direction Control; G53.1/G53.6.................................................................................................. 654
18.1.9 Details of Inclined Surface Machining Operation ....................................................................................... 660
18.1.10 Rotary Axis Basic Position Selection ....................................................................................................... 664
18.1.11 Relationship with Other Functions ........................................................................................................... 670
19 Coordinate System Setting Functions ................................................................................................. 677
19.1 Coordinate Words and Control Axes .................................................................................................................. 678
19.2 Types of Coordinate Systems............................................................................................................................. 679
19.2.1 Basic Machine, Workpiece and Local Coordinate Systems....................................................................... 679
19.2.2 Machine Zero Point and 2nd, 3rd, 4th Reference Position (Zero Point) .................................................... 680
19.2.3 Automatic Coordinate System Setting ....................................................................................................... 681
19.2.4 Coordinate System for Rotary Axis............................................................................................................ 682
Page 16
19.3 Basic Machine Coordinate System Selection ; G53 ........................................................................................... 685
19.4 Coordinate System Setting ; G92 ....................................................................................................................... 688
19.5 Local Coordinate System Setting ; G52............................................................................................................. 690
19.6 Workpiece Coordinate System Setting and Offset ; G54 to G59 (G54.1)........................................................... 694
19.7 Workpiece Coordinate System Preset ; G92.1.................................................................................................. 704
19.9 Coordinate Rotation by Program ; G68/G69....................................................................................................... 727
19.12 Reference Position (Zero Point) Return ; G28,G29 .......................................................................................... 751
19.13 2nd, 3rd, and 4th Reference Position (Zero Point) Return ; G30...................................................................... 755
19.14 Tool Change Position Return ; G30.1 - G30.6.................................................................................................. 758
19.15 Reference Position Check ; G27 ...................................................................................................................... 761
20 Protection Function ............................................................................................................................... 763
20.1 Stroke Check before Travel ; G22/G23 .............................................................................................................. 764
21 Measurement Support Functions ......................................................................................................... 767
21.2 Skip Function ; G31 ........................................................................................................................................... 772
21.3 Multi-step Skip Function 1 ; G31.n, G04............................................................................................................ 777
21.4 Multi-step Skip Function 2 ; G31 P .................................................................................................................... 779
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15Program Support Functions
15.1 Corner Chamfering I /Corner Rounding I
Function and purpose
Chamfering at any angle or corner rounding is performed automatically by adding ",C_" or ",R_" to the end of the
block to be commanded first among those command blocks which shape the corner with lines only.
15.1.1 Corner Chamfering I ; G01 X_ Y_ ,C
Function and purpose
This chamfers a corner by connecting the both side of the hypothetical corner which would appear as if chamfering
is not performed, by the amount commanded by ",C_".
Command format
N100 G01 X__ Y__ ,C__ ;
N200 G01 X__ Y__ ;
,CLength up to chamfering starting point or end point from hypothetical corner
Corner chamfering is performed at the point where N100 and N200 intersect.
Detailed description
(1) The start point of the block following the corner chamfering is the hypothetical corner intersection point.
(2) If there are multiple or duplicate corner chamfering commands in a same block, the last command will be valid.
(3) When both the corner chamfer and corner rounding commands exist in the same block, the latter command is
valid.
(4) Tool compensation is calculated for the shape which has already been subjected to corner chamfering.
(5) When the block following a command with corner chamfering does not contain a linear command, a corner cham-
fering/corner rounding II command will be executed.
(6) Program error (P383) will occur when the movement amount in the corner chamfering block is less than the
chamfering amount.
(7) Program error (P384) will occur when the movement amount in the block following the corner chamfering block
is less than the chamfering amount.
(8) Program error (P382) will occur when a movement command is not issued in the block following the corner cham-
fering I command.
IB-1501278-B
436
Page 20
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Program example
X100.0
X100.0
10.0
10.0
X
Y
Y100.0
(1)
(2)
(a)
(b)
(c)
(1) G91 G01 X100. ,C10.;
(2) X100. Y100.;
(a) Chamfering start point
(b) Hypothetical corner intersection point
(c) Chamfering end point
437
IB-1501278-B
Page 21
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.1.2 Corner Rounding I ; G01 X_ Y_ ,R_
Function and purpose
The hypothetical corner, which would exist if the corner were not to be rounded, is rounded with an arc that has a
radius commanded by ",R_" only when configured of linear lines.
Command format
N100 G01 X__ Y__ ,R__ ;
N200 G01 X__ Y__ ;
,RArc radius of corner rounding
Corner rounding is performed at the point where N100 and N200 intersect.
Detailed description
(1) The start point of the block following the corner rounding is the hypothetical corner intersection point.
(2) When both corner chamfering and corner rounding are commanded in the same block, the latter command will
be valid.
(3) Tool compensation is calculated for the shape which has already been subjected to corner rounding.
(4) When the block following a command with corner rounding does not contain a linear command, a corner cham-
fering/corner rounding II command will be executed.
(5) Program error (P383) will occur when the movement amount in the corner rounding block is less than the R value.
(6) Program error (P384) will occur when the movement amount in the block following the corner rounding block is
less than the R value.
(7) Program error (P382) will occur if a movement command is not issued in the block following the corner rounding.
IB-1501278-B
438
Page 22
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Program example
X100.0
X100.0
X
Y
Y100.0
(1)
(2)
R10.0
(a)
(b)
(c)
(1) G91 G01 X100. ,R10.;
(2) X100. Y100.;
(a) Corner rounding start point(b) Corner rounding end point(c) Hypothetical corner intersection point
439
IB-1501278-B
Page 23
M800/M80 Series Programming Manual (Machining Center System) (2/2)
Using an E command, the feedrate can be designated for the corner chamfering and corner rounding section.
In this way, the corner section can be cut into a correct shape.
Example
F200.
E100.
(G94)
G01Y70.,C30. F200.E100.;
X-110.;
F200.
F200.
E100.
(G94)
G01Y70.,R30. F200.E100.;
X-110.;
Y
X
F200.
IB-1501278-B
440
Page 24
M800/M80 Series Programming Manual (Machining Center System) (2/2)
(2)With a single block during corner chamfering or corner rounding, the tool stops after these operations are exe-
cuted.
IB-1501278-B
442
Page 26
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.2 Corner Chamfering II /Corner Rounding II
Function and purpose
Corner chamfering and corner rounding can be performed by adding ",C" or ",R" to the end of the block which is
commanded first among the block that forms a corner with continuous arbitrary angle lines or arcs.
15.2.1 Corner Chamfering II ; G01/G02/G03 X_ Y_ ,C_
Function and purpose
The corner is chamfered by commanding ",C" in the 1st block of the two continuous blocks containing an arc. For
an arc, this will be the chord length.
Command format
N100 G03 X__ Y__ I__ J__ ,C__ ;
N200 G01 X__ Y__ ;
,CLength up to chamfering starting point or end point from hypothetical corner
Corner chamfering is performed at the point where N100 and N200 intersect.
Detailed description
(1) If this function is commanded while the corner chamfer or corner rounding command is not defined in the spec-
ifications, it causes a program error (P381).
(2) The start point of the block following the corner chamfering is the hypothetical corner intersection point.
(3) If there are multiple or duplicate corner chamfering commands in a same block, the last command will be valid.
(4) When both corner chamfering and corner rounding are commanded in the same block, the latter command will
be valid.
(5) Tool compensation is calculated for the shape which has already been subjected to corner chamfering.
(6) Program error (P385) will occur when positioning or thread cutting is commanded in the corner chamfering com-
mand block or in the next block.
(7) Program error (P382) will occur when the block following corner chamfering contains a G command other than
group 01 or another command.
(8) Program error (P383) will occur when the movement amount in the block, commanding corner chamfering, is
less than the chamfering amount.
(9) Program error (P384) will occur when the movement amount is less than the chamfering amount in the block
following the block commanding corner chamfering.
(10) Even if a diameter is commanded, it will be handled as a radial command value during corner chamfering.
(11) Program error (P382) will occur when a movement command is not issued in the block following the corner
chamfering II command.
443
IB-1501278-B
Page 27
M800/M80 Series Programming Manual (Machining Center System) (2/2)
For details, refer to "Corner Chamfering I / Corner Rounding" and "Corner Chamfering Expansion / Corner Rounding
Expansion".
15.2.4 Interrupt during Corner Chamfering/Interrupt during Corner Rounding
For details, refer to "Corner Chamfering I / Corner Rounding" and "Interrupt during Corner Chamfering Interrupt during / Corner Rounding".
IB-1501278-B
446
Page 30
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.3 Linear Angle Command ; G01 X_/Y_ A_/,A_
Y
y2
y1
( x1,y1)
N1
X
N2
a1
a2
a3
( x2,y2)
Function and purpose
The end point coordinates are automatically calculated by commanding the linear angle and one of the end point
coordinate axes.
Command format
N1 G01 Xx1(Yy1) Aa1;
N2 G01 Xx2(Yy2) A-a2; (A-a2 can also be set as Aa 3. )
N1 G01 Xx1(Yy1) ,Aa1;
N2 G01 Xx2(Yy2) ,A-a2;
This designates the angle and the X or Y axis coordinates.
Select the command plane with G17 to G19.
Detailed description
(1) As seen from the + direction of the horizontal axis of the selected plane, the counterclockwise (CCW) direction
is considered to be + and the clockwise direction (CW) -.
(2) Either of the axes on the selected plane is commanded for the end point.
(3) The angle is ignored when the angle and the coordinates of both axes are commanded.
(4) When only the angle has been commanded, this is treated as a geometric command.
(5) The angle of either the start point (a1) or end point (a2) may be used.
(6) This function is valid only for the G01 command; it is not valid for other interpolation or positioning commands.
(7) The range of slope "a" is between -360.000 and 360.000.
When a value outside this range is commanded, it will be divided by 360 (degrees) and the remainder will be
commanded.
(Example) If 400 is commanded, 40° (remainder of 400/360) will become the command angle.
(8) If an address A is used for the axis name or the 2nd miscellaneous function, use ",A" as the angle.
(9) If "A" and ",A" are commanded in a same block, ",A" will be interpreted as the angle.
(Note) A program error (P33) will occur if this function is commanded during the high-speed machining mode or high-
speed high-accuracy mode.
447
IB-1501278-B
Page 31
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.4 Geometric ; G01 A_
a1
Y
X
N1
N2
a2
a3
a4
(x2,y2)
?
(C)
Function and purpose
When it is difficult to calculate the intersection point of two straight lines in a continuous linear interpolation command, the end point of the first straight line will be automatically calculated inside the CNC and the movement command will be controlled, provided that the slope of the first straight line as well as the end point coordinates and slope
of the second straight line are commanded.
(Note) If the parameter (#1082 Geomet) is set to 0, geometric I will not function.
(1) Program error (P396) will occur when the geometric command is not on the selected plane.
(2) As seen from the + direction of the horizontal axis of the selected plane, the counterclockwise (CCW) direction
is considered to be + and the clockwise direction (CW) -.
(3) The range of slope "a" is -360.000 ≤ a ≤ 360.000.
When a value outside this range is commanded, it will be divided by 360 (degrees) and the remainder will be
commanded.
(Example) If 400. is commanded, 40° (remainder of 400/360) will become the command angle.
(4) The slope of the line can be commanded on either the start or end point side. Whether the commanded slope is
on the start or end point side is identified automatically inside the NC unit.
(5) The end point coordinates of the second block should be commanded with absolute values. If incremental values
are used, program error (P393) will occur.
(6) The feedrate can be commanded for each block.
(7) When the angle where the two straight lines intersect is less than 1°, program error (P392) will occur.
(8) Program error (P396) will occur when the plane is changed in the 1st block and 2nd block.
(9) This function is ignored when address A is used for the axis name or as the 2nd miscellaneous function.
(10) Single block stop is possible at the end point of the 1st block.
(11) Program error (P394) will occur when the 1st and 2nd blocks do not contain the G01 or G33 command.
448
IB-1501278-B
Page 32
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Relation with other functions
?
N2
N1
(x2,y2)
a2
a1
c1
c1
(x1,y1)
N2
N1
(x2,y2)
a1
a2
r1
?
(x1,y1)
N2
N1
(x2,y2)
(x3,y3)
a2
a1
c1
c1
(x1,y1)
N3
?
N2
N1
(x2,y2)
(x3,y3)
a3
a2
(x1,y1
)
N3
a1
?
(1) Corner chamfering and corner rounding can be commanded after the angle command in the 1st block.
(Example 1)
N1 Aa1 ,Cc1 ;
N2 Xx2 Yy2 Aa2 ;
(Example 2)
N1 Aa1 ,Rr1 ;
N2 Xx2 Yy2 Aa2 ;
(2) The geometric command I can be issued after the corner chamfering or corner rounding command.
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.5 Geometric IB
Function and purpose
With the geometric IB function, the contact and intersection are calculated by commanding an arc center point or
linear angle in the movement commands of two continuous blocks (only blocks with arc commands), instead of commanding the first block end point.
(Note) If the parameter (#1082 Geomet) is not set to 2, geometric IB will not function.
Two-arc contact
N2
(??)
Y
X
Linear - arc (arc - linear) intersection
Y
X
Linear - arc (arc - linear) contact
Y
r2
(??)
N2
(??)
N2
r1
N1
N1
r1
N1
r1
N2
r1
(??)
N1
N2
(??)
r1
N1
X
IB-1501278-B
450
Page 34
M800/M80 Series Programming Manual (Machining Center System) (2/2)
When the contact of two continuous contacting arcs is not indicated in the drawing, it can be automatically calculated
by commanding the 1st circular center coordinate value or radius, and the 2nd arc end point absolute value and
center coordinate value or radius.
Command format
N1 G02(G03) Pp1 Qq1 Ff1;
N2 G03(G02) Xx2 Yy2 Pp2 Qq2 Ff2;
N1 G02(G03) Pp1 Qq1 Ff1;
N2 G03(G02) Xx2 Yy2 Rr2 Ff2;
N1 G02(G03) Rr1 Ff1;
N2 G03(G02) Xx2 Yy2 Pp2 Qq2 Ff2;
P,QX and Y axes circular center coordinate absolute value (diameter/radius value com-
mand)The center address for the 3rd axis is commanded with A.
RArc radius (when a (-) sign is attached, the arc is judged to be 180° or more)
* I and J (X and Y axes arc center coordinate incremental value) commands can be issued instead of P and Q.
1st block arc : Incremental amount from the start point to the center
2nd block arc : Incremental amount from the end point to the center
(p1,q1)
(x2,y2)
Y
X
r2
(p2,q2)
r1
451
IB-1501278-B
Page 35
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Detailed description
Tool path
"Arc error"
(1) Program error (P393) will occur before the 1st block if the 2nd block is not a coordinate absolute value command.
(2) Program error (P398) will occur before the 1st block if there is no geometric IB specification.
(3) Program error (P395) will occur before the 1st block if there is no R (here, the 1st block is designated with P, Q
(I, J)) or P, Q (I, J) designation in the 2nd block.
(4) Program error (P396) will occur before the 1st block if another plane selection command (G17 to G19) is issued
in the 2nd block.
(5) Program error (P397) will occur before the 1st block if two arcs that do not contact are commanded.
(6) The contact calculation accuracy is ±1μm (fractions rounded up).
(7) Single block operation stops at the 1st block.
(8) When I or J is omitted, the values are regarded as I0 and J0. P and Q cannot be omitted.
(9) The error range in which the contact is obtained is set in parameter "#1084 RadErr".
(10) For an arc block perfect circle command (arc block start point = arc block end point), the R designation arc com-
mand finishes immediately, and there is no operation. Thus, use a PQ (IJ) designation arc command.
(11) G codes of the G modal group 1 in the 1st/2nd block can be omitted.
(12) Addresses being used as axis names cannot be used as command addresses for arc center coordinates or arc
radius.
(13) When the 2nd block arc inscribes the 1st block arc and the 2nd block is an R designation arc, the R+ sign be-
comes the inward turning arc command, and the R- sign becomes the outward turning arc command.
R-
N2
R+
N1
IB-1501278-B
452
Page 36
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.5.2 Geometric IB (Automatic calculation of linear - arc intersection) ; G01 A_ , G02/G03 P_Q_H_
H=1
H=1
H=0
N2
N1
H=0
N1
a1
N2
a3
-a4
-a2
(??)
(??)
(??)
(??)
(p2,q2)
(x2,y2)
(p1,q1)
(x2,y2)
Y
X
Function and purpose
When the contact point of a shape in which contact between a line and an arc is not indicated in the drawing, it can
be automatically calculated by commanding the following program.
Command format (For G18 plane)
N1 G01 Aa1 (A-a2) Ff1;
N2 G02(G03) Xx2 Yy2 Pp2 Qq2 Hh2 Ff2 ;
N1 G02(G03) Pp1 Qq1 Hh1 (,Hh1) Ff1 ;
N2 G1 Xx2 Yy2 Aa3 (A-a4) Ff2 ;
ALinear angle (-360.000° to 360.000°)
P,QX and Y axes circular center coordinate absolute value (diameter/radius value com-
mand)The center address for the 3rd axis is commanded with A.
H (,H)Selection of linear - arc intersection
0: Intersection of the shorter line
1: Intersection of the longer line
* I and J (X and Y axes arc center coordinate incremental value) commands can be issued instead of P and Q.
1st block arc : Incremental amount from the start point to the center
2nd block arc : Incremental amount from the end point to the center
453
IB-1501278-B
Page 37
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Detailed description
Tool path
Arc error
N2 G2 Xx2 Yy2 Pp2 Qq2 Ff2 ;
N1 G1 A a1 Ff1;
N1 G1 A –a2 Ff1;
N2 G2 Xx2 Yy2 Pp2 Qq2 Ff2 ;
(p2,q2)
-a2
a1
(1) When the 2nd miscellaneous function address is A, the 2nd miscellaneous function is validated and this function
is invalidated.
(2) Program error (P393) will occur before the 1st block if the 2nd block is not a coordinate absolute value command.
(3) Program error (P398) will occur before the 1st block if there is no geometric IB specification.
(4) In case of the 2nd block arc, a program error (P395) will occur before the 1st block if there is no P, Q (I, J) des-
ignation. A program error (P395) will also occur if there is no A designation for the line.
(5) Program error (P396) will occur before the 1st block if another plane selection command (G17 to G19) is issued
in the 2nd block.
(6) Program error (P397) will occur before the 1st block if a straight line and arc that do not contact or intersect are
commanded.
(7) Single block operation stops at the 1st block.
(8) When I or J is omitted, the values are regarded as I0 and J0. P and Q cannot be omitted.
(9) When H is omitted, the value is regarded as H0.
(10) The linear - arc contact is automatically calculated by designating R instead of P, Q (I, J).
(11) The error range in which the intersect is obtained is set in parameter "#1084 RadErr".
(12) As seen from the + direction of the horizontal axis of the selected plane, the counterclockwise (CCW) direction
is considered to be + and the clockwise direction (CW) -.
(13) The slope of the line can be commanded on either the start or end point side. Whether designated slope is the
starting point or the end point will be automatically identified.
(14) When the distance to the intersection from the line and arc is same (as in the figure below), the control by ad-
dress H (short/long distance selection) is invalidated. In this case, the judgment is carried out based on the angle
of the line.
(15) The intersect calculation accuracy is ±1μm (fractions rounded up).
(16) In linear - arc intersections, the arc command can only be PQ (IJ) command. When the arc block start point and
arc block end point are the same point, the arc is a perfect circle.
IB-1501278-B
454
Page 38
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(17) G codes of the G modal group in the 1st block can be omitted.
(18) Addresses being used as axis names cannot be used as command addresses for angles, arc center coordi-
nates or intersection selections.
(19) When geometric IB is commanded, two blocks are pre-read.
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.5.3 Geometric IB (Automatic calculation of linear - arc intersection) ; G01 A_ , G02/G03 R_H_
Function and purpose
When the intersection of a shape in which a line and an arc intersect is not indicated in the drawing, it can be automatically calculated by commanding the following program.
Command format (For G18 plane)
N1 G01 Aa1 (A-a2) Ff1;
N2 G03(G02) Xx2 Yy2 Rr2 Ff2;
N1 G03(G02) Rr1 Ff1;
N2 G01 Xx2 Yy2 Aa3 (A-a4) Ff2 ;
ALinear angle (-360.000° to 360.000°)
RCircular radius
r1
(??)
-a4
N2
a3
(x2,y2)
(??)
N1
Y
a1
X
-a2
N2
r2
(x2,y2)
N1
Detailed description
(1) When the 2nd miscellaneous function address is A, the 2nd miscellaneous function is validated and this function
is invalidated.
(2) Program error (P393) will occur before the 1st block if the 2nd block is not a coordinate absolute value command.
(3) Program error (P398) will occur before the 1st block if there is no geometric IB specification.
(4) Program error (P396) will occur before the 1st block if another plane selection command (G17 to G19) is issued
in the 2nd block.
(5) A program error (P397) will occur before the 1st block if a straight line and arc that do not contact are command-
ed.
(6) In case of the 2nd block arc, a program error (P395) will occur before the 1st block if there is no R designation.
A program error (P395) will also occur if there is no A designation for the line.
(7) Single block operation stops at the 1st block.
(8) The linear - arc contact is automatically calculated by designating R instead of P, Q (I, J).
IB-1501278-B
456
Page 40
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(9) The error range in which the contact is obtained is set in parameter "#1084 RadErr".
Tool path
Arc error
X
Y
N1
N2
(10) The line slope is the angle to the positive (+) direction of its horizontal axis. Counterclockwise (CCW) is positive
(+). Clockwise (CW) is negative (-).
(11) The slope of the line can be commanded on either the start or end point side. Whether the commanded slope
is on the start or end point side is identified automatically inside the NC unit.
(12) The intersect calculation accuracy is ±1μm (fractions rounded up).
(13) In linear - arc contact, the arc command can only be an R command. Thus, when the arc block start point = arc
block end point, the arc command finishes immediately, and there will be no operation. (Perfect circle command
is impossible.)
(14) G codes of the G modal group 1 in the 1st block can be omitted.
(15) Addresses being used as axis names cannot be used as command addresses for angles or arc radius.
(16) When geometric IB is commanded, two blocks are pre-read.
Relationship with other functions
CommandTool path
Geometric IB + corner chamfering
N1 G03 R_ ;
N2 G01 X_ Y_ A_ ,C_ ;
G01 X_ Y_ ;
Geometric IB + corner rounding
N1 G03 R_ ;
N2 G01 X_ Y_ A_ ,R_ ;
G01 X_ Y_ ;
Y
N2
N1
X
457
IB-1501278-B
Page 41
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.6 G Command Mirror Image ; G50.1,G51.1
Y
X
(A)
(B)
Function and purpose
When cutting a shape that is symmetrical on the left and right, programming time can be shortened by machining
one side and then using the same program to machine the other side. The mirror image function is effective for this.
For example, when using a program as shown below to machine the shape on the left side (A), a symmetrical shape
(B) can be machined on the right side by applying mirror image and executing the program.
Mirror axis
Command format
Mirror image ON
G51.1 Xx1 Yy1 Zz1
x1, y1, z1Mirror image center coordinates (Mirror image will be applied regarding this position
as a center)
Mirror image OFF
G50.1 Xx2 Yy2 Zz2
x2, y2, z2Mirror image cancel axis (The values of x2, y2, z2 will be ignored.)
IB-1501278-B
458
Page 42
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Detailed description
(1) At G51.1, command the mirror image axis and the coordinate to be a center of mirror image with the absolute
command or incremental command.
(2) At G50.1, command the axis for which mirror image is to be turned OFF. The values of x2, y2, and z2 will be
ignored.
(3) If mirror image is applied on only one axis of the designated plane, the rotation direction and compensation di-
rection will be reversed for the arc or tool radius compensation and coordinate rotation, etc.
(4) This function is processed on the local coordinate system, so the center of the mirror image will change when
the counter is preset or when the workpiece coordinates are changed.
(5) Reference position return during mirror image If the reference position return command (G28, G30) is executed
during the mirror image, the mirror image will be valid during the movement to the intermediate point, but will not
be applied to the movement to the reference point after the intermediate point.
Path on which mirror is appliedMirror centerProgrammed path
Intermediate point when mirror is applied
Intermediate point
(6) Return from zero point during mirror image If the return command (G29) from the zero point is commanded during
the mirror image, the mirror will be applied to the intermediate point.
(7) The mirror image will not be applied to the G53 command.
459
IB-1501278-B
Page 43
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Relationship with other functions
(1) Combination with radius compensation
The mirror image (G51.1) will be processed after the radius compensation (G41, G42) is applied, so the following
type of cutting will take place.
Programmed path Path with mirror image applied
Program path
Path with only radius compensation applied
Path with only mirror image applied
Path with mirror image and radius compensation applied
IB-1501278-B
460
Page 44
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Precautions
CAUTION
Turn the mirror image ON and OFF at the mirror image center.
If mirror image is not canceled at the mirror center, the absolute value and machine position will deviate as shown
below. (This state will last until an absolute value command (positioning with G90 mode) is issued, or a reference
position return with G28 or G30 is executed.) The mirror center is set with an absolute value, so if the mirror center
is commanded again in this state, the center may be set to an unpredictable position.
Cancel the mirror at the mirror center or position with the absolute value command after canceling.
Absolute value (position commanded in program)
Machine position
When moved with the incremental command after
mirror cancel
Mirror center
Mirror cancel command
Mirror axis command
461
IB-1501278-B
Page 45
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.7 Normal Line Control ; G40.1/G41.1/G42.1 (G150/G151/G152)
Function and purpose
The C axis (rotary axis) turning will be controlled so that the tool constantly faces the normal line direction in respect
to the movement of the axes in the selected plane during program operation. At the block seams, the C axis turning
is controlled so that the tool faces the normal line direction at the next block's start point.
C axis center (rotary axis)
Tool end position
C axis turning
During arc interpolation, the rotary axis turning is controlled in synchronization with the operation of the arc interpolation.
Rotation axis center (C axis)
Tool end position
The normal line control I and II can be used according to the C axis turning direction during normal line control. Which
method is to be used depends on the MTB specifications (parameter "#1524 C_type").
Normal line control
type
Type IDirection that is 180° or
(#1524 C_type=0)
Type IIAs a principle, the command-
(#1524 C_type = 1)
Turning directionTurning speedTurning speed in arc inter-
polation
less(shortcut direction)
ed direction
Parameter speed(#1523
C_feed)
FeedrateSpeed when the tool nose
Speed when the program
path follows the F command
follows the F command
IB-1501278-B
462
Page 46
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Command format
(a)
(b)
G40.1 (G150) X__ Y__ F__ ; ... Normal line control cancel
G41.1 (G151) X__ Y__ F__ ; ... Normal line control left ON
G42.1 (G152) X__ Y__ F__ ; ... Normal line control right ON
XX axis end point coordinate
YY axis end point coordinate
FFeedrate
G41.1 Normal line control left sideG42.1 Normal line control right side
(a)
(b)
(a) Center of rotation
(b) Tool end(b) Tool end
Program path
Tool end path
The normal line control axis depends on the MTB specifications (parameter #1522 C_axis).
Normal line control is carried out in respect to the movement direction of the axis which is selecting the plane.
G17 plane X-Y axes
G18 plane Z-X axes
G19 plane Y-Z axes
Whether to cancel the normal line control at resetting depends on the MTB specifications (parameter "##1210 RstGmd/ bitE").
463
IB-1501278-B
Page 47
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Detailed description
0
K+
I+
90
180
270
0
J+
K+
90
180
270
Definition of the normal line control angle
The normal line control angle is 0° (degree) when the tool is facing the horizontal axis (+ direction) direction.
The counterclockwise direction turning is + (plus), and the clockwise direction turning is - (minus).
G17 plane (I - J axes) ... The axis angle is 0°(degree)
when the tool is facing the +I direction.
J+
90
G18 plane (K - I axes) ...The axis angle is 0°(degree)
when the tool is facing the +K direction.
G19 plane (J - K axes) ... The axis angle is 0°(degree)
when the tool is facing the +J direction.
180
I+
0
270
IB-1501278-B
464
Page 48
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Normal line control turning operation in respect to movement command
(x2,y2)
(x1,y1)
N3
N3
N1
G41.1
(x2,y2)
(x1,y1)
N2
N2
N1
G41.1
(1) Start up
After the normal line control axis turns to the right angle of the advance direction at the start point of the normal
line control command block, the axis which is selecting the plane is moves. Note that the normal line control axis
at the start up turns in the direction that is 180° or less (shortcut direction) in both the normal line control type I
and II.
:
N1 G01 Xx1 Yy1 Ff1 ;
N2 G41.1 ;... Independent block
N3 Xx2 Yy2 ;
:
N2 is fixed
:
N1 G01 Xx1 Yy1 Ff1 ;
N2 G41.1 Xx2 Yy2 ;... Same block
:
(2) During normal line control mode
(a) Block seam
No tool radius
compensation
With tool radius
compensation
After the normal line control axis is turned to be at the right angle of the plane selecting movement in
the next block, the operation moves to the next block.
Liner - Liner Liner - Arc Arc - Arc
Programmed path
Tool end path
If tool radius compensation is applied, normal line control is carried out along the path to which the tool
radius compensation is applied.
Liner - Liner Liner - Arc Arc - Arc
Programmed path
Tool radius compensation path
Tool end path
465
IB-1501278-B
Page 49
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(b) During block movement
(x2,y2)
(x1,y1)
N3
N1
G40.1
(x2,y2)
(x1,y1)
N2
N1
G40.1
The normal line control axis angle is kept unchanged during the linear command, and the normal line control
axis does not turn.
During the arc command, the normal line control axis turns in synchronization with the operation of the arc
interpolation.
(3) Cancel
The normal line control axis will not turn, and the plane selecting axis will be moved by the program command.
:
N1 G01 Xx1 Yy1 Ff1 ;
N2 G40.1 ;... Independent block
N3 Xx2 Yy2 ;
:
N2 is fixed
:
N1 G01 Xx1 Yy1 Ff1 ;
N2 G40.1 Xx2 Yy2 ;... Same block
:
IB-1501278-B
466
Page 50
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Normal line control temporary cancel
N3
N1
N2
N3
N1
N2
(a)
During normal line control, the turning operation for the normal line control axis is not carried out at the seam between a block and the next block, in which the movement amount is smaller than that set with the parameter (#1535
C_leng).
(1) For liner block;
When the movement amount of the N2 block is smaller than the parameter(#1535 C_leng), the normal line control axis is not turned at the seam between the N1 block and N2 block. It stays the same direction as the N1 block.
N2 block movement amount < Parameter(#1535 C_leng)
(2) For arc block;
When the diameter value of the N2 block is smaller than the parameter(#1535 C_leng), the normal line control
axis is not turned at the seam between the N1 block and N2 block. It stays the same direction as the N1 block.
During arc interpolation of the N2 block, the normal line control axis does not turn in synchronization with the
operation of arc interpolation.
N2 block diameter value < Parameter (#1535 C_leng)
(a) Diameter value
(Note) Since operation fractions are created by calculating the intersection point of two segments, the turning oper-
ation may or may not be carried out when the parameter (#1535 C_leng) and the segment length are equal.
467
IB-1501278-B
Page 51
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Normal line control axis turning direction at block seam
-
0180
270
90
(a)
(b)
(c)
The normal line control axis turning direction at block seam differs according to the normal line control type I or II.
The turning angle is limited by the angle ε set with the parameter (#1521 C_min).
ItemNormal line control type INormal line control type II
Normal line control axis
turning direction at block
seam
Normal line control axis
turning angle at block
seam
Direction that is 180° or less.
(shortcut direction)
When - | θ | < ε, turning is not performed.
θ : Turning angle
ε : Parameter (#1521 C_min)
- When the turning angle is 180°, the turning
direction is indefinite regardless of the command
mode.
[G41.1/G42.1 When the normal line control axis
is at 0°]
G41.1 : - direction (CW)
G42.1 : + direction (CCW)
When - | θ | < ε, turning is not performed.
θ : Turning angle
ε : Parameter (#1521 C_min)
In the following cases, an operation error
(0118) will occur.
<For G41.1>
ε <= θ < 180° - ε
<For G42.1>
180° + ε < θ <= 360° - ε
[G41.1 When the normal line control axis is at
0°]
90
180 -
(e)
0180
-
(d)
270
[G42.1 When the normal line control axis is at
(c)
(a) Normal line control axis turning (CCW)
0°]
90
(d)
(b) Normal line control axis turning (CW)
(c) No turning
0180
180 +
-
(c)
(e)
270
(c) No turning
(d) Normal line control axis turning
(e) Operation error (0118)
IB-1501278-B
468
Page 52
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(1) Normal line control type I
-
0180
270 (-90 )
90
0180
270 (- 90 )
90
Normal line control axis turning
angle at block seam: θ
1. -ε < θ <ε
G41.1G42.1
2. ε <= θ < 180°
3. 180° <= θ <= 360°- ε
90
0180
360 -
No turning
Shortcut direction
No turning
Shortcut direction
270 (-90 )
469
IB-1501278-B
Page 53
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(2)Normal line control type II
-
0180
270 (-90 )
90
0180
270 (-90 )
90
180 -
180 -
0180
270 (-90 )
90
180 +
360 -
0180
270 (-90 )
90
180 +
Normal line control axis turning
angle at block seam: θ
1. -ε < θ < ε
G41.1G42.1
2. ε <= θ < 180°- ε
3. 180°-ε <= θ <= 180°+ ε
No turning
Operation error 0118 (Note)
No turning
4. 180°+ ε < θ <= 360°- ε
(Note)If the axis turns into the command direction, it turns inside the workpiece. Therefore, an operation error will
occur.
IB-1501278-B
470
Operation error 0118 (Note)
Page 54
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Normal line control axis turning speed
Turning speed at block seam (select from type I or type II)
(1)Normal line control axis turning speed at block seam
(a) Rapid traverse
Normal line control type INormal line control type II
- Dry run OFF
The rapid traverse rate (#2001 rapid) is applied.
Normal line control axis turning speed f
= Rapid traverse rate * (Rapid traverse override) (° /min)
- Dry run ON
The manual feedrate is applied.
Normal line control axis turning speed f
= Manual feedrate * (Cutting feed override) (° /min)
(Note 1) When the manual override valid is ON, the cutting
feed override is valid.
(Note 2) If the normal line control axis turning speed exceeds
the cutting feed clamp speed (#2002 clamp), the cutting feed
clamp speed will be applied.
(Note 3) When the rapid traverse is ON, the dry run is invalid.
- Dry run OFF
Normal line control axis turning speed f
= F * 180 / (π * R) * (Rapid traverse override) (° /min)
For R=0, the following expression is applied.
Normal line control axis turning speed f
= F * (Rapid traverse override) (° /min)
F: Rapid traverse rate (#2001 rapid) (mm/min)
R: Parameter (#8041 C-rot.R) (mm)
(Length from normal line control axis center to tool nose)
(Note 1) If the normal line control axis turning speed exceeds
the rapid
traverse rate (#2001 rapid), the rapid traverse rate will be applied.
- Dry run ON
Normal line control axis turning speed f
= F * 180 / (π * R) * (Cutting feed override) (° /min)
For R=0, the following expression is applied.
Normal line control axis turning speed f
= F * (Cutting feed override) (° /min)
F: Manual feedrate (mm/min)
R: Parameter (#8041 C-rot.R) (mm)
(Length from normal line control axis center to tool nose)
(Note 1) When the manual override valid is ON, the cutting
feed override is valid.
(Note 2) If the normal line control axis turning speed exceeds
the rapid traverse rate (#2001 rapid), the rapid traverse rate
will be applied.
(Note 3) When the rapid traverse is ON, the dry run is invalid.
471
IB-1501278-B
Page 55
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(b) Cutting feed
Normal line control type INormal line control type II
- Dry run OFF
The normal line control axis turning speed set with the parameter (#1523 C_feed) is applied.
Normal line control axis turning speed f
= Parameter (#1523 C_feed) * (Cutting feed override) (° /min)
- Dry run ON (Rapid traverse ON)
The cutting feed clamp speed (#2002 clamp) is applied.
Normal line control axis turning speed f
= Cutting feed clamp speed (°/min)
- Dry run ON (Rapid traverse OFF)
The manual feedrate is applied.
Normal line control axis turning speed f
= Manual feedrate * (Cutting feed override) (° /min)
(Note 1) When the manual override valid is ON, the cutting
feed override is valid.
(Note 2) If the normal line control axis turning speed exceeds
the cutting feed clamp speed (#2002 clamp), the cutting feed
clamp speed will be applied.
The feedrate at the tool nose is the F command. The normal
line control axis turning speed is the normal line control axis
speed that follows this F command.
Normal line control axis turning speed f
= F * 180 / (π * R) * (Cutting feed override) (° /min)
For R=0, the following expression is applied.
Normal line control axis turning speed f = F (° /min)
F: Feedrate command (mm/min)
R: Parameter (#8041 C-rot.R) (mm)
(Length from normal line control axis center to tool nose)
(Note 1) If the normal line control axis turning speed exceeds
the cutting feed clamp speed (#2002 clamp), the cutting feed
clamp speed will be applied.
(Note 2) When the dry run is ON, the normal line control axis
turning speed is obtained by the same expression as the rapid traverse.
(R)
(F)
(F)
(f)
Feedrate command
f: Normal line control axis turning speed
=F*180/(*R)
(f)
F: Feedrate command
f: Normal line control axis turning speed
R: Parameter (#8041 C-rot.R)
IB-1501278-B
472
Page 56
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(2)Normal line control axis turning speed during circular interpolation
=F*180/( *(R+r))
(F)
(R)
(r)
(f)
Normal line control type INormal line control type II
The normal line control axis turning speed is the rotation
speed obtained by feedrate F.
Normal line control axis turning speed f
= F * 180 / (π * r) (° /min)
F : Feed command speed (mm/min)
r : Arc radius (mm)
(F)
The feedrate at the tool nose is the F command. The normal
line control axis turning speed is the rotation speed that follows this F command.
Normal line control axis turning speed f
= F * 180 / (π * (R + r)) (° /min)
F : Feed command speed (mm/min)
R : Parameter (#8041 C-rot. R) (mm)
Length from normal line control axis center to tool nose
r : Arc radius (mm)
(r)
(f)
=F*180/( *r)
(Note 1)If the normal line control axis turning speed exceeds the cutting feed clamp speed (#2002 clamp), the speed
will be as follows;
- Normal line control axis turning speed = Cutting feed clamp speed.
- Moving speed during arc interpolation = The speed according to the normal line control axis turning speed
473
IB-1501278-B
Page 57
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Automatic corner arc insertion function
During normal line control, an arc is automatically inserted at the corner in the axis movement of the plane selection.
This function is for the normal line control type I.
The radius of the arc to be inserted is set with the parameter (#8042 C-ins.R).
This parameter can be read and written using the macro variable #1901.
Normal line control is performed also during the interpolation for the arc to be inserted.
Parameter (#8042 C-rot. R)
<Supplements>
- The corner arc is not inserted in the following cases: linear and arc, arc and arc, linear and moveless or moveless
and linear blocks or when a line is shorter than the radius of the arc to insert.
Corner R is not inserted.
- During the radius compensation, the radius compensation is applied to the path that the corner arc is inserted.
Radius compensation path
Parameter (#8042 C-rot. R)
IB-1501278-B
474
Page 58
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
- The stop point of the single block and block start interlock is as follows.
Stop point
- The stop point of the cutting start interlock is as follows.
Stop point
475
IB-1501278-B
Page 59
M800/M80 Series Programming Manual (Machining Center System) (2/2)
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Relationship with other functions
Function nameNotes
Unidirectional positioningNormal line control is not applied.
Helical cuttingNormal line control is applied normally.
Spiral interpolationThe start point and end point are not on the same arc, so normal line control is not
applied correctly.
Exact stop checkThe operation will not decelerate and stop for the turning movement of the normal
line control axis.
Error detectError detect is not applied to the turning movement of the normal line control axis.
OVERRIDEOverride is applied to the turning movement by normal line control axis.
Coordinate rotation by pro-
gram
ScalingNormal line control is applied to the shape after scaling.
Mirror imageNormal line control is applied to the shape after mirror image.
Thread cuttingNormal line control is not applied.
Automatic reference position
return
Start position returnNormal line control is not applied to the movement to the intermediate point posi-
High-accuracy controlThis cannot be commanded during normal line control. The program error (P29)
SplineThis cannot be commanded during normal line control. The program error (P29)
High-speed High-accuracy
control I/II
Cylindrical interpolationThis cannot be commanded during normal line control. The program error (P486)
Workpiece coordinate system offset
Local coordinate system offset
Program restartThe program including the normal line control command cannot be restarted. "E98
Dry runThe feedrate is changed by the dry run signal even in respect to the turning move-
ChoppingThe axis cannot be used as the normal line control axis during the chopping com-
Graphic checkThe section turned by normal line control is not drawn. The axes subject to graphic
G00 non-interpolationNormal line control is not applied.
Normal line control is applied to the shape after coordinate rotation.
Normal line control is not applied.
tion.
If the base specification parameter "#1086 G0Intp" is OFF, normal line control is
applied to the movement from the intermediate point to a position designated in
the program.
will occur.
The normal line control command during high-accuracy control cannot be issued,
either.
The program error (P29) will occur.
will occur.
The normal line control command during spline cannot be issued, either.
The program error (P29) will occur.
This cannot be commanded during normal line control. The program error (P29)
will occur.
The normal line control command during high-speed High-accuracy control I/II
cannot be issued either.
The program error (P29) will occur.
will occur.
The normal line control command during cylindrical interpolation cannot be is-
sued, either. The program error (P481) will occur.
The workpiece coordinate system cannot be changed during normal line control.
The program error (P29) will occur. The program parameter input (G10L2) cannot
be commanded either. The program error (P29) will occur.
The local coordinate system cannot be changed during normal line control. The
program error (P29) will occur.
CAN'T RESEARCH" will occur.
ment of the normal line control axis.
mand.
check are drawn.
479
IB-1501278-B
Page 63
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Function nameNotes
Polar coordinate interpolation
This cannot be commanded during normal line control. The program error (P486)
will occur.
The normal line control command during polar coordinate interpolation cannot be
issued either. The program error (P481) will occur.
Exponential interpolationIf the normal line control axis is the same as the rotary axis of exponential interpo-
lation, a program error (P612) will occur.
If they are different, an error will not occur, but normal line control is not applied.
Plane selectionThis cannot be commanded during normal line control. The program error (P903)
will occur.
System variableThe block end coordinate (#5001 - ) for the normal line control axis during normal
line control cannot obtain a correct axis position.
Precautions
(1)During normal line control, the program coordinates are updated following the normal line control axis movement.
Thus, program the normal line control on the program coordinate system.
(2)The normal line control axis will stop at the turning start position for the single block, cutting block start interlock
and block start interlock.
(3)The C axis movement command is ignored during normal line control.
(4)During C axis normal line control (during the G41.1 and G42.1 modal), the C axis workpiece offset rewrite com-
mand (G92C_;) cannot be issued. The program error (P901) will occur if commanded.
(5)If mirror image is applied to either the 1-axis or 2-axis, the normal line control direction will be reversed.
(6)The rotary axis must be designated as the normal line control axis (parameter (#1522 C_axis)). Designate so that
the axis is not duplicated with the axis on the plane where normal line control is to be carried out. If an illegal axis
is designated, the program error (P902) will occur when the program (G40.1, G41.1, G42.1) is commanded.
The program error (P902) will also occur if the parameter "#1522 C_axis" is "0" when commanding a program.
(7)This function may not be usable, depending on the model.
(8)The movement of the normal line control axis is counted as one axis of number of simultaneous contouring control
axes.
If the number of simultaneous contouring control axes exceeds the specification range by movement of the normal line control axis, the program error (P10) will occur.
IB-1501278-B
480
Page 64
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.8 Manual Arbitrary Reverse Run Prohibition ; G127
G127
$1
$2
$3
$4
Function and purpose
The manual arbitrary reverse run function controls the feedrate, which is under automatic operation in memory or
MDI mode, in proportion to the manual feedrate by the jog or the rotation speed by the manual handle, and manually
carries out the reverse run. After the automatic operation has been stopped in a block, the reverse run can be carried
out back through the blocks (up to 20 blocks) that were executed before the block. If necessary, it is possible to
correct the program buffer and execute the fixed program after carrying out the reverse run up to the return position.
This function (G127) is available to prevent the program from backing to blocks before the commanded block when
carrying out the manual arbitrary reverse run.
The detailed setting and operation vary depending on the machine specifications. Refer to the Instruction Manual
issued by the MTB.
"Forward run" means to execute blocks in the same order as for the automatic operation.
"Reverse run" means to process the executed blocks backward.
Whether the reverse run is prohibited for each part system depends on the MTB specifications (system variable
#3004). Refer to "List of System Variables" for details.
Command format
G127 ; All part system reverse run prohibit command
This command disables the program from running reverse to blocks before G127. In part systems that do not have
this command executed, the program cannot run reverse before the timing with G127 commanded in any part system even if a block is in process.
No commands in the machining program can be backed in the reverse run mode. For some G codes, the operation
differs from the above. Refer to "Relationship with Other Functions".
The reverse run is disabled before the G127 block in the 2nd
part system.
The reverse run is canceled in the middle of a block in part systems other than the 2nd part system.
481
IB-1501278-B
Page 65
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Relationship with Other Functions
The following shows the relationship between the manual arbitrary reverse run command and G code.
Symbol in
"Reverse
run" col-
umn
○*1Block with reverse run enabled
○*2Block with restricted-reverse run enabled Refer to the Remarks for restrictions.
∆Block with reverse run ignored. This block is ignored in both the forward and reverse run modes.
×*3Block with reverse run prohibited. This is intended only for the command blocks.
×*4Block with reverse run prohibited. The reverse run is also prohibited for all blocks after the mode
has been switched by this block.
×*5Prohibits the reverse run in all part systems.
Operation
G CodeFunction nameRe-
Remarks
verse
run
G00Positioning○*1G01Linear interpolation○*1-
G02Circular interpolation CW and spiral/conical
○*1-
interpolation CW (type2)
G03Circular interpolation CCW and spiral/coni-
○*1-
cal interpolation CCW (type2)
G02.3Exponential interpolation CW×*3G03.3Exponential interpolation CCW×*3G02.43-dimensional circular interpolation× *3G03.43-dimensional circular interpolation× *3G04Dwell○*1Dwell skip is invalid.
G05High-speed high-accuracy control II/III /
× *4-
High-speed machining mode
G05.1High-speed high-accuracy control I / Spline × *4G06.2NURBS interpolation× *4G07Hypothetical axis interpolation× *3G07.1
Cylindrical interpolation×*4G107
G08High-accuracy Control×*4G09Exact stop check No. of axes○*1-
G10Program data input (Parameter / Compen-
sation input / Coordinate rotation by param-
∆The reverse run is enabled, but data is not
recovered.
eter data)
G10.6Tool retract command×*3G11Program parameter input / cancel∆The reverse run is enabled, but data is not
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
G CodeFunction nameRe-
Remarks
verse
run
G17X-Y plane selection○*2Data is recovered using the modal informa-
tion storage block.
G18Z-X plane selection○*2Data is recovered using the modal informa-
tion storage block.
G19Y-Z plane selection○*2Data is recovered using the modal informa-
tion storage block.
G20Inch command○*1Switched with the movement command just
after commanded.
G21Metric command○*1Switched with the movement command just
after commanded.
G22Stroke check before travel ON×*3G23Stroke check before travel OFF×*3G27Reference position check×*3G28Automatic reference position return×*3G29Start position return×*3G302nd, 3rd and 4th reference position return ×*3G30.1Tool change position return 1×*3G30.2Tool change position return 2×*3G30.3Tool change position return 3×*3G30.4Tool change position return 4×*3G30.5Tool change position return 5×*3G30.6Tool change position return 6×*3G31Skip/Multi-step skip function 2×*3G31.1Multi-step skip function 1-1×*3G31.2Multi-step skip function 1-2×*3G31.3Multi-step skip function 1-3×*3G33Thread cutting○*2The reverse run is enabled, but the synchro-
al tool radius compensation left
G42Tool radius compensation right / 3-dimen-
tional tool radius compensation right
G40.1
Normal line control cancel×*4-
○*2Data is recovered using the modal informa-
tion storage block.
○*2Data is recovered using the modal informa-
tion storage block.
○*2Data is recovered using the modal informa-
tion storage block.
G150
G41.1
Normal line control left ON×*4G151
G42.1
Normal line control right ON×*4G152
G43Tool length compensation (+)○*2Data is recovered using the modal informa-
tion storage block.
483
IB-1501278-B
Page 67
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
G CodeFunction nameRe-
Remarks
verse
run
G44Tool length compensation (-)○*2Data is recovered using the modal informa-
tion storage block.
G43.1Tool length compensation along the tool
×*3-
axis
G43.4Tool center point control type1 ON×*4G43.5Tool center point control type2 ON×*4G45Tool position offset (extension)○*2Data is recovered using the modal informa-
tion storage block.
G46Tool position offset (reduction)○*2Data is recovered using the modal informa-
tion storage block.
G47Tool position offset (double)○*2Data is recovered using the modal informa-
tion storage block.
G48Tool position offset (decreased by half)○*2Data is recovered using the modal informa-
tion storage block.
G49Tool length compensation cancel / Tool cen-
ter point control cancel
○*1/
×*3
If tool length compensation cancel is desig-
nated, reverse running is enabled.
G50.2Scaling cancel×*4G51.2Scaling ON×*4G50.1Mirror image by G code cancel×*3G51.1Mirror image by G code ON×*3G52Local coordinate system setting○*2Data is recovered using the modal informa-
tion storage block.
G53Machine coordinate system selection○*2Data is recovered using the modal informa-
tion storage block.
G54Workpiece coordinate system 1 selection○*2Data is recovered using the modal informa-
tion storage block.
G55Workpiece coordinate system 2 selection○*2Data is recovered using the modal informa-
tion storage block.
G56Workpiece coordinate system 3 selection○*2Data is recovered using the modal informa-
tion storage block.
G57Workpiece coordinate system 4 selection○*2Data is recovered using the modal informa-
tion storage block.
G58Workpiece coordinate system 5 selection○*2Data is recovered using the modal informa-
tion storage block.
G59Workpiece coordinate system 6 selection○*2Data is recovered using the modal informa-
tion storage block.
G54.1Workpiece coordinate system selection 48 /
G70User fixed cycle×*3G71User fixed cycle×*3G72User fixed cycle×*3G73Fixed cycle (step)○*1Data is created for each movement block in
the fixed cycle.
G74Fixed cycle (reverse tap)○*2The reverse run is enabled, but the synchro-
nous feed is invalid. Actual cutting mode
available.
G75Fixed cycle (circular cutting cycle)○*1Data is created for each movement block in
the fixed cycle.
G76Fixed cycle (Fine boring)○*1Data is created for each movement block in
the fixed cycle.
G77User fixed cycle×*3G78User fixed cycle×*3G79User fixed cycle×*3G80Fixed cycle for drilling cancel○*1-
G81Fixed cycle (drill/spot drill)○*1Data is created for each movement block in
the fixed cycle.
G82Fixed cycle (drill/counter boring)○*1Data is created for each movement block in
the fixed cycle.
G83Fixed cycle (deep drilling)○*1Data is created for each movement block in
the fixed cycle.
G84Fixed cycle (tapping)○*2The reverse run is enabled, but the synchro-
nous feed is invalid. Actual cutting mode
available.
G85Fixed cycle (boring)○*1Data is created for each movement block in
the fixed cycle.
G86Fixed cycle (boring)○*1Data is created for each movement block in
the fixed cycle.
G87Fixed cycle (back boring)○*1Data is created for each movement block in
the fixed cycle.
G88Fixed cycle (boring)○*1Data is created for each movement block in
the fixed cycle.
G89Fixed cycle (boring)○*1Data is created for each movement block in
the fixed cycle.
G90Absolute value command○*2Switched with the movement command just
after commanded.
G91Incremental value command○*2Switched with the movement command just
after commanded.
G92Coordinate system setting○*1-
G92.1Workpiece coordinate system pre-setting○*1-
G94Asynchronous feed (feed per minute )○*1-
485
IB-1501278-B
Page 69
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
G CodeFunction nameRe-
Remarks
verse
run
G95Synchronous feed (feed per revolution)○*1-
G96Constant surface speed control ON○*2Switched with the movement command just
after commanded.
G97Constant surface speed control OFF○*2Switched with the movement command just
after commanded.
(G94)Asynchronous feed (feed per minute )○*1-
(G95)Synchronous feed (feed per revolution)○*1-
G98Fixed cycle Initial level return○*1-
G99Fixed cycle R point level return○(*1-
G115Start point designation synchronization
○*1-
Type 1
G116Start point designation synchronization
○*1-
Type 2
G118.2Parameter switching (Spindle)×*3G119.2Inertia Estimation (Spindle)×*3G100 to
User macro (G code call) Max. 10○*1-
G225
M98Subprogram call○*1-
IB-1501278-B
486
Page 70
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.9 Data Input by Program
15.9.1 Parameter Input by Program ; G10 L70/L100, G11
Function and purpose
The parameters set from the setting and display unit can be changed in the machining programs.
G10 L70 ... For commanding data with decimal point, and character string data.
The data's command range conforms to the parameter setting range described in Setup Manual.
G10 L100 ... For setting/changing the tool shape for 3D solid program check.
Command format
G10 L70 ;...Data setting start command
P__ S__ A__ H□__ ; .......... Bit parameter
P__ S__ A__ D__ ; ............... Numerical value parameter
P__ S__ A__ <character string> ; ...... Character string parameter
PParameter No.
SPart system No.
AAxis No.
HData
DData
character stringData
G11 ; ... Data setting end command
(Note 1) The sequence of addresses in a block must be as shown above.
When an address is commanded two or more times, the last command will be valid.
(Note 2)The part system No. is set in the following manner. "1" for the 1st part system, "2" for 2nd part system, and
so forth.
If the address S is omitted, the part system of the executing program will be applied.
As for the parameters common to part systems, the command of part system No. will be ignored.
(Note 3)The axis No. is set in the following manner. "1" for 1st axis, "2" for 2nd axis, and so forth.
If the address A is omitted, the 1st axis will be applied.
As for the parameters common to axes, the command of axis No. will be ignored.
(Note 4)Address H is commanded with the combination of setting data (0 or 1) and the bit designation □ (0 to 7).
(Note 5)Only the decimal number can be commanded with the address D.
The value that is smaller than the input setting increment (#1003 iunit) will be round off to the nearest increment.
(Note 6)The character string must be put in angled brackets "<" and ">".
If these brackets are not provided, the program error (P33) will occur.
Up to 63 characters can be set.
(Note 7)Command G10 L70, G11 in independent blocks. A program error (P33, P421) will occur if not commanded
in independent blocks.
(Note 8)The following data cannot be changed with the G10 L70 command:
PLine No. of the tool set area 1 to 80 (Required to command) (Note 1)
TTool No. 0 to 99999999 (Required to command)
KCommand the tool type using a numerical value.
0: Default tool (3: Drill is set)
1: Ball end mill 2: Flat end mill
3: Drill 4: Bull nose end mill
5: Chamfer 6: Tap
7: Face mill
DTool diameter/radius (Decimal point input available) (Note 2)(Note 3)
HTool length (Decimal point input available) (Note 3)
ITool shape data 1 (Decimal point input available)
JTool shape data 2 (Decimal point input available)
CCommand the tool color using a numerical value.
0: Default color (2: Red is set)
1: Grey 2: Red 3: Yellow 4: Blue
5: Green 6: Light blue 7: Purple 8: Pink
(Note 1) Line No. corresponds with a line No. in the tool shape set area (tool shape set screen).
(Note 2) The setting of "#8117 OFS Diam DESIGN" determines tool diameter or tool radius.
(Note 3) The available integer range can be changed by the parameter "#11050 T-ofs digit type".
(Note 4) For details of the data, refer to the explanation of Instruction Manual "Program Check (3D)".
(Note 5) Omitted addresses cannot be set or changed.
(Note 6) When address T is set to 0, the designated line is deleted.
(Note 7) In the following cases, Program Errors (P421) occurs and the parameter in the block is not changed.
- When a block contains an address whose data are out of range
- When there is an illegal address
- When P or T is omitted
(Note 8) Command G10L100, G11 in independent blocks. The program error Program Errors (P421) will occur if not
commanded in independent blocks.
(Note 9) The parameter "#1078 Decimal point type 2" is enabled.
(Note 10) The parameter "#8044 Unit*10" is disabled.
(Note 11) The display or operation at graphic check varies depending on the model or display unit.
IB-1501278-B
488
Page 72
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Program example
(1)When G10 L70 command
G10 L70;
P6401 H71;Sets "1" to "#6401 bit7".
P8204 S1; A2 D1.234;Sets "1.234" to "#8204 of the 1st part system 2nd axis".
P8621 <X> ;Sets "X" to "#8621".
G11 ;
(2)When G10 L100 command
G10 L100;
P1 T1 K3 D5. H20. I0 J0 C2 ;Set the data of Line 1
P2 T10 D10. ;Set "10." for the tool diameter/radius of Line 2
P8 T0;Clear the data of Line 8
G11 ;
489
IB-1501278-B
Page 73
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.9.2 Compensation Data Input by Program ; G10 L2/L10/L11, G11
Function and purpose
The tool compensation and workpiece offset can be set or changed by the program using the G10 command. During
the absolute value (G90) mode, the commanded offset amount serves as the new offset, whereas during the incremental value (G91) mode, the currently set offset plus the commanded offset serves as the new offset.
Command format
Workpiece coordinate system offset input (L2)
G90 (G91) G10 L2 P_ X_ Y_ Z_ ;
P0 : External workpiece
1 : G54
2 : G55
3 : G56
4 : G57
5 : G58
6 : G59
X, Y, ZOffset amount of each axis
(Note)The compensation amount in the G91 will be an incremental amount and will be cumulated each time the pro-
gram is executed. Command G90 or G91 before the G10 as a cautionary means to prevent this type of error.
Extended workpiece coordinate system offset input (L20)
G10 L20 P_ X_ Y_ Z_ ;
P"n" number of G54.n (1 to 300)
X, Y, ZOffset amount of each axis
Offset input to the currently selected workpiece coordinate system (When the L command is omitted)
G10 P_ X_ Y_ Z_ ;
P(1) During G54 to G59 modal 0 : External workpiece offset (EXT)
1 to 6: Workpiece offset input (G54 to G59)
Other than 0 to 6: Program error (P35)
(2) During G54.n modal
1 to 300: Extended workpiece coordinate system offset amount setting (G54.n)
Other than 1 to 300: Program error (P35)
X, Y, ZOffset amount of each axis
IB-1501278-B
490
Page 74
M800/M80 Series Programming Manual (Machining Center System) (2/2)
(1) Even if this command is displayed on the screen, the offset No. and variable details will not be updated until ac-
tually executed.
(2) G10 is an unmodal command and is only valid in the commanded block.
(3) The G10 command does not contain movement, but must not be used with G commands other than G54 to G59,
G90 or G91.
(4) Do not command G10 in the same block as the fixed cycle and sub-program call command. This will cause mal-
functioning and program errors.
(5) The workpiece offset input command (L2 or L20) should not be issued in the same block as the tool compensa-
tion input command (L10).
(6) If an illegal L No. or compensation No. is commanded, program errors (P172 and P170) will occur respectively.
If the offset amount exceeds the maximum command value, the program error (P35) will occur.
(7) Decimal point inputs can be used for the offset amount.
(8) The offset amounts for the external workpiece coordinate system and the workpiece coordinate system are com-
manded as distances from the basic machine coordinate system zero point.
(9) The workpiece coordinate system updated by inputting the workpiece coordinate system will follow the previous
modal (G54 to G59) or the modal (G54 to G59) in the same block.
(10) L2/L20 can be omitted when the workpiece offset is input.
(11) When the P command is omitted for workpiece offset input, it will be handled as the currently selected work-
piece compensation input.
(12) If the G command that cannot be combined with G10 is issued in the same block, a program error (P45) will
occur.
Program example
(1) Input the compensation amount.
H10=-12.345 H05=9.8765 H30=2.468
IB-1501278-B
492
Page 76
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(2) Updating compensation amount
(a) (b1) (b2) (b3) (b4)
1000 1000 1000 1000
1000 1000 1000 1000
c1
d1
c3
d3
c2
d2
c4
d4
(Example 1) Assume that H10 = -1000 is already set.
N1 G01 G90 G43 Z-100000 H10 F100 ; (Z=-101000)
N2 G28 Z0 ;
N3 G91 G10 L10 P10 R-500 ;(The mode is the G91 mode, so -500 is added.)
N4 G01 G90 G43 Z-100000 H10 ;(Z=-101500)
(Example 2) Assume that H10 = -1000 is already set.
N4 G90 G10 L10 P10 R-200 ; ........ The H10 offset amount is updated when the N4 block is executed.
495
IB-1501278-B
Page 79
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.9.3 Tool Shape Input by Program ; G10 L100, G11
Function and purpose
This function sets tool shape data of the tool management screen by the machining program. Using this function
saves having to execute the many steps required to input the tool shape from the screen when executing 3D checks.
PData No.Designate the data number of the tool management screen. (cannot be omitted)
The maximum data number varies depending on the number of tool management
data sets.
TTool numberDesignate the tool number. (cannot be omitted)
0 to 99999999
If "0" is designated, all tool shape data of the data number designated with address P is set to "0". In this case, data other than tool shape data remains unchanged.
KTypeDesignate the tool type using a numerical value.
[Mill tool]
1: Ball end mill 2: Flat end mill
3: Drill 4: Radius end mill
5: Chamfer 6: Tapping
7: Face mill
[Turning tool]
51: Turning 52: Slotting
53: Thread cutting 54: Turning drill
55: Turning tapping
DShape data 1Designate shape data of the tool. (Decimal point input available)
HShape data 2
IShape data 3For details on the setting of each tool type, refer to "Correspondence between
JShape data 4
CTool colorDesignate the tool color.
Shape data setting details vary depending on the tool type.
Tool Types and Shape Data" shown below.
1: Gray 2: Red 3: Yellow 4: Blue
5: Green 6: Light blue 7: Purple 8: Pink
G11 ; ... Data setting end command
IB-1501278-B
496
Page 80
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
[Correspondence between tool types and shape data]
1Tool length A
2Tool length BTool length B (*1)
3Tool nose RTool nose R-Tool nose angle Pitch
4Tool nose angle Tool nose width--Root diameter
5Cut angleMaximum groove
---
depth
6Tool widthTool widthTool width--
(*1) When "#8968 Tool shape radius valid" is set to "0", enter the diameter value. When it is set to "1", enter the
radius value.
(Note 1) Omitted addresses are not set.
(Note 2) If address "P" or "T" is omitted, a program error (P422) will occur.
(Note 3) For M80 Series, tool shape data will be rewritten during graphic checks.
(Note 4) For M800W Series or M800S Series graphic checks, this change is reflected only on the graphic check
drawing. The tool shape data is not rewritten.
497
IB-1501278-B
Page 81
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Detailed description
G10 L100;
P1 T201 ...;
P3 T203 ...;
G11;
O200
(a)
(b)
(c)
T201; (Replaced with tool A.)
T202; (Replaced with tool B.)
T203; (Replaced with tool C.)
Machining programTool shape data
Tool A
Tool B
Tool C
3D check screen
Tool management screen
(Change the shape of tool A.)
(Newly register the shape of
tool C.)
Tool shape setting from program
For 3D checks, tool drawing is switched when the tool change command is issued. Create a machining program to
execute the tool shape setting command before issuing the tool change command.
(a) Draw the tool after the tool shape has been changed by the machining program.
(b) Draw the tool with the tool shape registered on the tool management screen.
(c) Draw the tool with the tool shape newly registered by the machining program.
Program example
(1) Tool shape setting from program
G10 L100;
P1 T1 K3 D5. H20. I0 J0 C2 ;Set data of data No. 1.
P2 T10 D10. ;Set "10." for the tool radius of data No. 2.
P8 T0;Set "0" for the tool shape data of data No. 8.
G11;
Precautions
(1) If the G10 or G11 command is not issued in an independent block, a program error (P422) will occur.
IB-1501278-B
(2) When a block contains an address whose data are out of range, a program error (P35) will occur.
(3) When a block contains an invalid address, a program error (P32) will occur.
(4) The parameter "#1078 Decimal pnt type 2" is valid for the position command.
Other command addresses conform to the minimum input unit ("#1015 cunit"). (Based on the MTB specifica-
tions.)
(5) The parameter "#8044 UNIT*10" is invalid.
(6) The parameter input in mm/inch units has the command unit changed with G20 or G21.
498
Page 82
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.9.4 R-Navi Data Input by Program ; G10 L110, G11
Function and purpose
The R-Navi setup parameters can be configured from a machining program. Command setting values with absolute
values.
The input unit conforms to the input setting unit of the 1st part system and the initial inch.
In either case, the input unit depends on the MTB specifications (parameters "#1003 iunit" and "#1041 I_inch").
When the workpiece shape is set to rectangular parallelepiped, designate the
marked point to set the basic coordinate system zero point.(0 to 8)
X, Y, Z,Workpiece size
When the shape is set to circular cylinder, designate the diameter with X and the
height with Y.
(0.000 to 99999.999)
I, J, KWorkpiece shift
Set the shift amount from the marked point to the basic coordinate system zero
point.
(-99999.999 to 99999.999)
- Symbols "\", "/", ",", "*", "?", """, "<", ">", "|", and " " (space) cannot be used as one-byte symbols.
If an available symbol is set, a program error (P35) will occur.
- For details on each of input data, refer to the instruction manual.
499
IB-1501278-B
Page 83
M800/M80 Series Programming Manual (Machining Center System) (2/2)
G68.2 P10 Q_ D_; Select the registered machining surface
- Command G10 and G11 in independent blocks.
A program error (P423) will occur if not commanded in independent blocks.
- Addresses P, Q, and D cannot be omitted. If omitted, a program error (P423) will occur.
- For the omitted addresses, data remains unchanged.
- For the machining surface designated with P0, set the coordinate axis direction with P1 and P2. Be sure to first
command P0.
If P1 or P2 is commanded before P0, a program error (P423) will occur.
- The machining surface cannot be registered for an undefined workpiece.
If the registration command is issued, a program error (P423) will occur.
(1) Command address to register the machining surface
PMachining surface registration
(0)
QWorkpiece registration No.
(1 to 10)
DMachining surface registration No.
(2 to 17)
< >Designate the name of the machining surface using up to 15 one-byte alphanu-
meric characters, including symbols.
(If "0" is entered, the setting value is cleared.)
X, Y, ZDesignate the coordinate system zero point (feature coordinate system zero point)
of the machining surface with the offset from the basic coordinate zero point.
In this case, designate the coordinate axis direction of the basic coordinate system.
(-99999.999 to 99999.999)
AFrom three orthogonal axes (X, Y, and Z axes), select two coordinate axes to des-
ignate the coordinate axis direction along the machining surface.
0: Z/X axis
1: Y/Z axis
2: X/Y axis
- Symbols "\", "/", ",", "*", "?", """, "<", ">", "|", and " " (space) cannot be used as one-byte symbols.
If an available symbol is set, a program error (P35) will occur.
- For details on each of input data, refer to the instruction manual.
IB-1501278-B
500
Page 84
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(2) Command address to designate the coordinate axis direction
PCoordinate axis direction axis designation
1: 1st axis
2: 2nd axis
MCoordinate axis direction designation method
Designate the method to set the coordinate axis direction along the machining surface.
0: [Method 1] On-axis point (+)
1: [Method 2] Latitude/Longitude
2: [Method 3] Latitude / Projection angle
3: [Method 4] Start point / End point
4: [Method 5] Indexing angle (Z axis direction only)
B, C, E, F, H, ICoordinate axis direction setting (Note 1)
(-99999.999 to 99999.999)
(Note 1) The setting details vary depending on the coordinate axis direction designation method (M address).
[M address: 0 (On-axis point (+))]
B, C, E: Coordinate value on X, Y, or Z axis
F to I: Vacuous
[M address: 1 (Latitude/Longitude)]
B: Longitude (θ1)
C : Latitude (θ2)
E to I: Vacuous
[M address: 2 (Latitude / Projection angle)]
B: Longitude (θ1)
C : Projection angle (θ2)
E to I: Vacuous
[M address: 3 (Start point / End point)]
B: Start point coordinate value (X)
C : Start point coordinate value (Y)
E : Start point coordinate value (Z)
F: End point coordinate value (X)
H: End point coordinate value (Y)
I: End point coordinate value (Z)
[M address: 4 (Indexing angle)]
B: 1st rotation angle (θ1)
C : 2nd rotation angle (θ2)
E to I: Vacuous
- Method 5 (indexing angle) in the coordinate axis direction designation method is only available in the Z axis direction.
If a command is issued to an axis other than the Z axis designated by the coordinate axis selection command
(P0Ax), "P423 R-Navi input error" will occur.
For P0 A0 (Z/X axis), P2 M4 setting causes an error. (Method 5 is not able to be selected on the 2nd axis.)
For P0 A1 (Y/Z axis), P1 M4 setting causes an error. (Method 5 is not able to be selected on the 1st axis.)
For P0 A2 (X/Y axis), P1 M4 or P2 M4 setting causes an error. (Method 5 is not able to be selected.)
- For details on each of input data, refer to the instruction manual.
501
IB-1501278-B
Page 85
M800/M80 Series Programming Manual (Machining Center System) (2/2)
This function enables the R-Navi setup parameters to be configured from a machining program.
After the parameters have been configured from the program, you can check the values or select the machining
surface from the setup
screen.
IB-1501278-B
502
Page 86
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.10 Inputting The Tool Life Management Data ; G10,G11
15.10.1 Inputting The Tool Life Management Data by G10 L3 Command ; G10 L3,G11
Function and purpose
Using the G10 command (unmodal command), the tool life management data can be registered, changed and added to, and preregistered groups can be deleted. There are three tool life management methods: I, II, and III. Which
method is valid depends on the MTB specifications.
Only group No. 1 can be used to register, change and add for the tool life management III.
Command format
Start of life management data registration
G10 L3;
P_ L_ Q_ ; (First group)
T_ H_ D_;
T_ H_ D_;
P_ L_ Q_ ; (Next group )
T_ H_ D_;
PGroup No.
LLife
QControl method
TTool No. The spare tools are selected in the order of the tool Nos. registered here.
HLength compensation No.
DRadius compensation No.
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Start of life management data deletion
G10 L3 P2;
P_ ; (First group)
P_ ; (Second group)
PGroup No.
End of life management data registration, change, addition or deletion
G11 ;
Detailed description
Command range
ItemCommand range
Group No.(Pn) 1 to 99999999 (Only group No. 1 can be used for the tool life management
III)
Life(Ln) 0 to 65000 times (No. of times control method)0 to 4000 minutes (time con-
trol method)
Control method(Qn)1 to 3
1: Number of mounts control
2: Time control
3: Number of cutting times control
Tool No.(Tn) 1 to 99999999
Length compensation No. (Hn) 0 to 999 (*)
Radius compensation No. (Dn) 0 to 999 (*)
(*) The setting range of the tool compensation No. differs according to the specification of the "number of tool offset
sets".
If a value exceeding each command range is issued, a program error (P35) will occur.
IB-1501278-B
504
Page 88
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Operation example
Program exampleOperation
Data registrationG10 L3;
P10 L10 Q1 ;
T10 H10 D10 ;
G11 ;
M02 ;
Group change, addition
Group deletionG10 L3 P2;
G10 L3 P1;
P10 L10 Q1 ;
T10 H10 D10 ;
G11 ;
M02 ;
P10 ;
G11 ;
M02 ;
1. After deleting all group data, the registration starts.
2. Group No. 10 is registered.
3. Tool No. 10 is registered in group No. 10.
4. The registration ends.
5. The program ends.
1. Changing and addition of the group and tool starts.
2. The change and addition operation takes place in the following
manner.
(1) When group No. 10 has not been registered.- Group No. 10 is
additionally registered.
- Tool No. 10 is registered in group No. 10.
(2) When group No. 10 has been registered, but tool No. 10 has
not been registered.
- Tool No. 10 is additionally registered in group No. 10.
(3) When group No. 10 and tool No. 10 have been both registered.- The tool No. 10 data is changed.
3. The group and tool change and addition ends.
4. The program ends.
1. The group deletion starts.
2. The group No. 10 data is deleted.
3. The group deletion ends.
4. The program ends.
505
IB-1501278-B
Page 89
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.10.2 Inputting The Tool Life Management Data by G10 L30 Command ; G10 L30,G11
Function and purpose
Using the G10 command (unmodal command), the tool life management data can be registered, changed and added to, and preregistered groups can be deleted. Only group No. 1 can be used to register, change and add for the
tool life management III.
To specify additional compensation amount or direct compensation amount by control method, the length compensation and diameter compensation can be registered/changed with the tool compensation amount format.
Command format
Start of life management data registration
G10 L30;
P_ L_ Q_ ; (First group)
T_ H_ R_ ;
T_ H_ R_ ;
P_ L_ Q_ ; (Next group )
T_ H_ R_ ;
PGroup No.
LLife
QControl method
TTool No. The spare tools are selected in the order of the tool Nos. registered here.
HLength compensation No. or length compensation amount
RRadius compensation No. or radius compensation amount
L_, Q_, H_, and R_ cannot be omitted. If omitted, a program error (P33) occurs.
Start of life management data change or addition
G10 L30 P1;
P_ L_ Q_ ; (First group)
T_ H_ R_ ;
T_ H_ R_ ;
P_ L_ Q_ ; (Next group )
T_ H_ R_ ;
PGroup No.
LLife
QLength compensation data format, radius compensation data format, control method
TTool No.
HLength compensation No. or length compensation amount
DRadius compensation No. or radius compensation amount
L_, Q_, H_, and R_ cannot be omitted. If omitted, a program error (P33) occurs.
IB-1501278-B
506
Page 90
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Start of life management data deletion
G10 L30 P2;
P_ ; (First group)
P_ ; (Second group)
PGroup No.
End of life management data registration, change, addition or deletion
G11 ;
Detailed description
Command range
ItemCommand range
Group No.(Pn) 1 to 99999999 (Only group No. 1 can be used for the tool life management III)
Tool No.(Tn) 1 to 99999999
Control method(Qabc)abc:Three integer digits
a. Tool length compensation data format
0: Compensation No.
1: Incremental value compensation amount
2: Absolute value compensation amount
b. Tool radius compensation data format
0: Compensation No.
1: Incremental value compensation amount
2: Absolute value compensation amount
c. Tool management method
0: Usage time
1: Number of mounts
2: Number of usages
Life(Ln) 0 to 4000 minutes (usage time)
0 to 65000 times (number of mounts)
0 to 65000 times (number of usages)
Length compensation
(No./amount)
Radius compensation
(No./amount)
(Hn) 0 to 999 (compensation No.) (*1)
±999.999 (incremental value compensation amount) (*2)
±999.999 (absolute value compensation amount) (*2)
(Rn) 0 to 999 (compensation No.) (*1)
±999.999 (incremental value compensation amount) (*2)
±999.999 (absolute value compensation amount) (*2)
(*1) The setting range of the tool compensation No. differs according to the specification of the "number of tool offset
sets".
(*2) Refer to (16) in "12.9.3 Precautions for Inputting the Tool Life Management Data" for the data range of compen-
sation amount.
507
IB-1501278-B
Page 91
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
Operation example
Program exampleOperation
Data registrationG10 L30;
P10 L10 Q001 ;
T10 H10 R10 ;
G11 ;
M02 ;
Group change, addition G10 L30 P1;
P10 L10 Q122 ;
T10 H0.5 R0.25 ;
G11 ;
M02 ;
Group deletionG10 L30 P2;
P10 ;
G11 ;
M02 ;
1. After deleting all group data, the registration starts.
2. Group No. 10 is registered.
Tool management method is number of mounts
Compensation No. method is applied to tool length compensation and tool radius compensation.
3. Tool No. 10 is registered in group No. 10.
4. The registration ends.
5. The program ends.
1. Changing and addition of the group and tool starts.
2. The change and addition operation takes place in the following
manner.
(1) When group No. 10 has not been registered:
(a) Group No. 10 is registered additionally.
About the change and addition tool
Tool management method is number of usages,
Tool length compensation is the incremental value compensation amount method, and
Tool radius compensation is the absolute value compensation amount method.
(b) For group No. 10, the incremental value compensation
amount "0.5" is registered for the length compensation,
and the absolute value compensation amount "0.25" is
registered for the radius compensation.
(2) When group No. 10 has been registered, but tool No. 10 has
not been registered.
- Tool No. 10 is additionally registered in group No. 10.
(3) When group No. 10 and tool No. 10 have been both registered.
- The tool No. 10 data is changed.
3. The group and tool change and addition ends.
4. The program ends.
1. The group deletion starts.
2. The group No. 10 data is deleted.
3. The group deletion ends.
4. The program ends.
IB-1501278-B
508
Page 92
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.10.3 Precautions for Inputting The Tool Life Management Data
Relationship with other functions
(1)During the following operations, the tool usage data will not be counted.
- Machine lock
- Auxiliary axis function lock
- Dry run
- Single block
- Skip
Precautions
(1) The tool life data is registered, changed, added to or deleted by executing the program in the memory or MDI
mode.
(2) The group No. and tool No. cannot be commanded in duplicate. The program error (P179) will occur.
(3) When two or more addresses are commanded in one block, the latter address will be valid.
(4) If the life data (L_) is omitted in the G10L3 command, the life data for that group will be "0".
(5) If the control method (Q_) is omitted in the G10L3 command, the control method for that group will follow the
base specification parameter "#1106 Tcount".
Note that when carrying out the No. of cutting times control method, command the method from the program.
(6) If the control method (Q_) is not designated with 3-digit by G10 L30 command, the omitted high-order are equiv-
alent to "0".
Therefore, "Q1" is equivalent to "Q001", and "Q12" is equivalent to "Q012".
(7) If the length compensation No. (H_) is omitted in the G10L3 command, the length compensation No. for that
group will be "0".
(8) If the radius compensation No. (D_) is omitted in the G10L3 command, the radius compensation No. for that
group will be "0".
(9) Programming with a sequence No. is not possible between G10 L3 or G10 L30 and G11. The program error
(P33) will occur.
(10) If the usage data count valid signal (YC8A) is ON, G10 L3 or G10 L30 cannot be commanded. The program
error (P177) will occur.
(11) The registered data is held even if the power is turned OFF.
(12) When G10 L3 or G10 L30 is commanded, the commanded group and tool will be registered after all of the reg-
istered data is erased.
(13) The change and addition conditions in the G10L3P1 or G10 L30 P1 command are as follows.
(a) Change conditions
Both the commanded group No. and tool No. are registered.
-> Change the commanded tool No. data.
(b) Additional conditions
Neither the commanded group No. nor tool No. is registered.
-> Additionally register the commanded group No. and tool No. data.
The commanded group No. is registered, but the commanded tool No. is not registered.
-> Additionally register the commanded tool No. data to the commanded group No.
(14) The setting range of the tool compensation No. depends on the MTB specifications.
(15) Only group No. 1 can be used to register, change and add for the tool life management III.
509
IB-1501278-B
Page 93
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
15.10.4 Tool Life Management Set Allocation to Part Systems
250
250
250
250
200
200
200
400
$1
$2
$3
$4
$1
$2
$3
$4
334
333
333
500
0
500
$1
$2
$3
$1
$2
$3
Function and purpose
The number of tool life management sets can be set per part system.
This function is divided into following methods and which one is used depends on the MTB specifications (parameters "#1439 Tlife-SysAssign", "#12055 Tol-lifenum").
Arbitrary allocation: Arbitrarily allocates the number of tool life management sets to each part system.
Fixed allocation: Automatically and evenly allocates the number of tool life management sets to each part system.
The arbitrary allocation enables the efficient allocation because when a certain part system needs only a small number of tool life management sets, the rest can be allocated to another part system. If an auxiliary-axis part system
does not need the tool life management sets at all, the number of tool life management sets can be set to "0" for the
auxiliary-axis part system.
Subsequent description is an example in the case where the number of tool life management sets in the system is
999 sets.
(1) Arbitrary allocation (with #1439=1)
The number of sets allocated to each part system depends on the MTB specifications (parameter "#12055 Tollifenum").
The following example shows the number of tool offset sets allocated when the lathe system is a 4-part system.
(a) When the number of tool life management sets is increased for the 1st part system ($1) of 4-part system
(b) When the number of tool life management sets is set to "0 sets" for the 3rd part system ($3) of 3-part system
to use that part system as an auxiliary-axis part system
IB-1501278-B
510
Page 94
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
(2) Automatic and even allocation (with #1439=0)
1-part system2-part system3-part system
(Lathe system only)
4-part system
(Lathe system only)
250
250
250
250
$1
999
(*1)
$1
$2
500
500
$1
$2
$3
334
(*2)
333
333
$1
$2
$3
$4
(*1)The maximum number of tool life management sets per part system is 999.
(*2) If there is any remainder, the remainder is allocated to the 1st part system.
Precautions
(1) The maximum number of tool life management sets for 1-part system is 999.
(2) For 1-part system, up to the number of tool life management sets in the system is available regardless of the
parameter setting.
(3) When the value of the parameter "#12055 Tol-lifenum" is equal to or lower than the number of tool life manage-
ment sets in the system, the remainder is not allocated to any part system even if the specification allows arbitrary allocation.
(4) When the value of the parameter "#12055 Tol-lifenum" is equal to or lower than the number of tool life manage-
ment sets in the system, system alarm (Y05) is generated even if the specification allows arbitrary allocation.
(5) Even if the specification allows arbitrary allocation, fixed allocation is applied if the parameter is "#12055 Tol-
lifenum"= "0" for all part systems.
(6) When entering data into the tool life management file, if the number of tool life management data exceeds that
of current tool life management sets, the excess tool life management data cannot be entered.
511
IB-1501278-B
Page 95
M800/M80 Series Programming Manual (Machining Center System) (2/2)
15 Program Support Functions
IB-1501278-B
512
Page 96
16
513
IB-1501278-B
Multi-part System Control
Page 97
M800/M80 Series Programming Manual (Machining Center System) (2/2)
16 Multi-part System Control
16Multi-part System Control
%
%
$1$2
16.1 Timing Synchronization
CAUTION
When programming a multi-part system, carefully observe the movements caused by other part systems' programs.
16.1.1 Timing Synchronization Operation (! code) !n (!m ...) L
Function and purpose
The multi-axis, multi-part system complex control CNC system can simultaneously run multiple machining programs
independently. The synchronization-between-part systems function is used in cases when, at some particular point
during operation, the operations of 1st and 2nd part systems are to be synchronized or in cases when the operation
of only one part system is required.
When timing synchronization is executed in the 1st part system ($1) and the 2nd part system ($2), operations will
be as follows.
Command format
Simultaneous and independent operation
Timing synchronization operation
Simultaneous and independent operation
Timing synchronization operation
2nd part system operation only
1st part system waiting
!n, !m, ...Timing synchronization operation (!) and part system No. (n:1 - number of part system
that can be used)
Follows the settings of the parameter "#19419 Timing sync system" if part system number is omitted.
L
IB-1501278-B
Timing Synchronization Operation No. 0 to 9999
514
Page 98
M800/M80 Series Programming Manual (Machining Center System) (2/2)
16 Multi-part System Control
Detailed description
!nL1 ;
!iL1;
Pi1
Pn1
Pi2
Pn2
Pi1
Pi2
Pn1
Pn2
$i
$n
$i
$n
waiting...
Simultaneously start
Timing synchronization
(1) Timing synchronization between part systems during automatic operation
If !n L__ is commanded from a part system (i), operation of the part system i program will wait until !i L_ is commanded from the part system n program.
When !i L_ is commanded, the programs for the two part systems will start simultaneously.
Timing synchronization between 2 part systems
(2) The timing synchronization operation is normally issued in a single block. However, if a movement command or
M, S or T command is issued in the same block, whether to synchronize after the movement command or M, S
or T command or to execute the movement command or M, S or T command after synchronization will depend
on the MTB specifications (#1093 Wnvfin).
#1093 Wmvfin
0 : Wait before executing movement command.
1 : Wait after executing movement command.
(3) If there is no movement command in the same block as the timing synchronization operation, when the next block
movement starts, synchronization may not be secured between the part systems. To synchronize the part systems when movement starts after waiting, issue the movement command in the same block as the timing synchronization operation.
(4)The L command is the timing synchronization identification No. The same Nos. are waited but when they are omit-
ted, the Nos. are handled as L0.
(5) "SYN" will appear in the operation status section during timing synchronization operation. The timing synchroni-
zation operation signal will be output to the PLC I/F.
(6) In a timing synchronization operation, other part system to be waited for is specified but the own part system can
be specified with the other part system.
(7) The timing synchronization operation of a specific part system can be ignored depending on the MTB specifica-
tions.
Operation will be determined by the combination of the timing synchronization operation ignore signal and parameter "#1279 ext15/bit0".
For setting combination, refer to "Time synchronization when timing synchronization ignore is set".
For the specifications of the machine you are using, see the instructions issued by the MTB.
515
IB-1501278-B
Page 99
M800/M80 Series Programming Manual (Machining Center System) (2/2)
16 Multi-part System Control
Precautions
(1) When the M code can be used, both the M code and ! code can be used.
(2) While the timing synchronization operation M code is valid, if one part system is standing by with an M code, an
alarm will occur if there is a ! code timing synchronization operation command in the other part system.
(3) While the timing synchronization operation M code is valid, if one part system is standing by with a ! code, an
alarm will occur if there is an M code timing synchronization operation command in the other part system.
(4) When macro interruption is carried out in a part system waiting, the part system can stop while waiting even if
the conditions for time synchronization are met. In this case, you will be able to continue the program, ignoring
the timing synchronization with timing synchronization operation ignore signal.
For details, contact the MTB.
IB-1501278-B
516
Page 100
M800/M80 Series Programming Manual (Machining Center System) (2/2)
16 Multi-part System Control
16.1.2 Timing Synchronization Operation with Start Point Designated (Type 1) ; G115
Function and purpose
The part system can wait for the other part system to reach the start point before starting itself. The start point can
be set in the middle of a block.
Command format
!n L__ G115 X__ Y__ Z__ ;
!nTiming synchronization operation (!) and part system No. (n:1 - number of part sys-
LTiming Synchronization Operation No. 0 to 9999
G115G command
X Y ZStart point
tem that can be used)
Part systems follow the settings of the parameter "#19419 Timing sync system" if
the number is omitted.
(It will be regarded as "L0" when omitted.)
(Command by axis and workpiece coordinate value)
517
IB-1501278-B
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.